arch: all: Remove not used struct _caller_saved

The struct _caller_saved is not used. Most architectures put
automatically the registers onto stack, in others architectures the
exception code does it.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2019-04-17 14:54:15 -07:00 committed by Andrew Boie
commit 4f99a38b06
12 changed files with 1 additions and 123 deletions

View file

@ -12,8 +12,7 @@
*
* struct _thread_arch
* struct _callee_saved
* struct _caller_saved
*
*
* necessary to instantiate instances of struct k_thread.
*/
@ -23,26 +22,6 @@
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
struct _caller_saved {
/*
* Unused for Cortex-M, which automatically saves the necessary
* registers in its exception stack frame.
*
* For Cortex-A, this may be:
*
* u32_t a1; r0
* u32_t a2; r1
* u32_t a3; r2
* u32_t a4; r3
* u32_t ip; r12
* u32_t lr; r14
* u32_t pc; r15
* u32_t xpsr;
*/
};
typedef struct _caller_saved _caller_saved_t;
struct _callee_saved {
u32_t v1; /* r4 */
u32_t v2; /* r5 */