aarch64: Remove redundant init_stack_frame
The init_stack_frame is the same as the the ESF. No need to have two separate structs. Consolidate everything into one single struct and make register entries explicit. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
a7d94b003e
commit
daa94e5e59
3 changed files with 38 additions and 60 deletions
|
@ -25,11 +25,28 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
struct __esf {
|
||||
struct __basic_sf {
|
||||
uint64_t spsr;
|
||||
uint64_t elr;
|
||||
uint64_t regs[20];
|
||||
} basic;
|
||||
uint64_t spsr;
|
||||
uint64_t elr;
|
||||
uint64_t x18;
|
||||
uint64_t x30;
|
||||
uint64_t x16;
|
||||
uint64_t x17;
|
||||
uint64_t x14;
|
||||
uint64_t x15;
|
||||
uint64_t x12;
|
||||
uint64_t x13;
|
||||
uint64_t x10;
|
||||
uint64_t x11;
|
||||
uint64_t x8;
|
||||
uint64_t x9;
|
||||
uint64_t x6;
|
||||
uint64_t x7;
|
||||
uint64_t x4;
|
||||
uint64_t x5;
|
||||
uint64_t x2;
|
||||
uint64_t x3;
|
||||
uint64_t x0;
|
||||
uint64_t x1;
|
||||
};
|
||||
|
||||
typedef struct __esf z_arch_esf_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue