Kernel: Syscalls now get the interrupt stack
This commit is contained in:
17
kernel/include/kernel/InterruptStack.h
Normal file
17
kernel/include/kernel/InterruptStack.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace Kernel
|
||||
{
|
||||
|
||||
struct InterruptStack
|
||||
{
|
||||
uint64_t rip;
|
||||
uint64_t cs;
|
||||
uint64_t flags;
|
||||
uint64_t rsp;
|
||||
uint64_t ss;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user