fix general purpose reg order in cpu_state
This commit is contained in:
parent
4b3f928f67
commit
a96fded645
@ -35,14 +35,14 @@ struct cpu_state {
|
||||
Kernel context (CPL0) of the interrupted
|
||||
thread, even for a user thread */
|
||||
uint16_t alignment_padding; /* unused */
|
||||
uint32_t eax;
|
||||
uint32_t ecx;
|
||||
uint32_t edx;
|
||||
uint32_t ebx;
|
||||
uint32_t ebp;
|
||||
uint32_t esp;
|
||||
uint32_t esi;
|
||||
uint32_t edi;
|
||||
uint32_t esi;
|
||||
uint32_t esp;
|
||||
uint32_t ebp;
|
||||
uint32_t ebx;
|
||||
uint32_t edx;
|
||||
uint32_t ecx;
|
||||
uint32_t eax;
|
||||
|
||||
/* MUST NEVER CHANGE (dependent on the IA32 iret instruction) */
|
||||
uint32_t error_code;
|
||||
|
Loading…
Reference in New Issue
Block a user