mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
Kernel: Add an x86 include check+error in x86/DescriptorTable.h
This commit is contained in:
parent
db1fbdabf9
commit
62d86afee9
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@
|
|||
#include <AK/Types.h>
|
||||
#include <Kernel/VirtualAddress.h>
|
||||
|
||||
#include <AK/Platform.h>
|
||||
VALIDATE_IS_X86()
|
||||
|
||||
#if ARCH(I386)
|
||||
# define GDT_SELECTOR_CODE0 0x08
|
||||
# define GDT_SELECTOR_DATA0 0x10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue