forked from Bananymous/banan-os
Kernel: Rework scheduler/processor stacks.
This commit is contained in:
@@ -14,6 +14,7 @@ namespace Kernel
|
||||
uintptr_t ss;
|
||||
};
|
||||
|
||||
#if ARCH(x86_64)
|
||||
struct InterruptRegisters
|
||||
{
|
||||
uintptr_t r15;
|
||||
@@ -33,5 +34,18 @@ namespace Kernel
|
||||
uintptr_t rcx;
|
||||
uintptr_t rax;
|
||||
};
|
||||
#elif ARCH(i686)
|
||||
struct InterruptRegisters
|
||||
{
|
||||
uintptr_t edi;
|
||||
uintptr_t esi;
|
||||
uintptr_t ebp;
|
||||
uintptr_t unused;
|
||||
uintptr_t ebx;
|
||||
uintptr_t edx;
|
||||
uintptr_t ecx;
|
||||
uintptr_t eax;
|
||||
};
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user