fix general purpose reg order in cpu_state

This commit is contained in:
Mathieu Maret 2020-05-03 23:11:14 +02:00
parent 4b3f928f67
commit a96fded645
1 changed files with 7 additions and 7 deletions

View File

@ -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;