1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:57:44 +00:00

Kernel: Implement entry code for x86_64 interrupts

With this fixed we can now properly handle interrupts (e.g. timer
interrupts) on x86_64.
This commit is contained in:
Gunnar Beutner 2021-06-27 17:23:38 +02:00 committed by Andreas Kling
parent 328d44e227
commit 076692b1ef
2 changed files with 31 additions and 3 deletions

View file

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