git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
chore: fix almost *ALL* warnings.
[lunaix-os.git]
/
lunaix-os
/
includes
/
arch
/
x86
/
gdt.h
diff --git
a/lunaix-os/includes/arch/x86/gdt.h
b/lunaix-os/includes/arch/x86/gdt.h
index bb2fa27cca915440b7f256520888844c67c51235..f3121669facdae462d320e936c9ce0a195a6da9b 100644
(file)
--- a/
lunaix-os/includes/arch/x86/gdt.h
+++ b/
lunaix-os/includes/arch/x86/gdt.h
@@
-48,6
+48,8
@@
#define SEG_R3_DATA SD_TYPE(SEG_DATA_RDWR) | SD_CODE_DATA(1) | SD_DPL(3) | \
SD_PRESENT(1) | SD_AVL(0) | SD_64BITS(0) | SD_32BITS(1) | \
SD_4K_GRAN(1)
+
+#define SEG_TSS SD_TYPE(9) | SD_DPL(0) | SD_PRESENT(1)
void