mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:27:34 +00:00
Kernel: Fix struct layout for interrupt entries on x86_64
This commit is contained in:
parent
5afec84cc2
commit
36ce2a2b76
2 changed files with 7 additions and 3 deletions
|
@ -47,11 +47,11 @@ struct [[gnu::packed]] RegisterState {
|
|||
FlatPtr r14;
|
||||
FlatPtr r15;
|
||||
#endif
|
||||
u16 exception_code;
|
||||
u16 isr_number;
|
||||
#if ARCH(X86_64)
|
||||
u32 padding;
|
||||
#endif
|
||||
u16 exception_code;
|
||||
u16 isr_number;
|
||||
#if ARCH(I386)
|
||||
FlatPtr eip;
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue