aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/boot/gdt.h
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-05-25 18:08:43 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-05-25 18:10:57 +0530
commit0276800c3fc3ec4b73f5b75a2dd075c8d731d070 (patch)
tree37264f36a32c1e8d721d65b103315cf359ddb7ad /kernel/include/boot/gdt.h
parentd19e377907ed6845b17abbaaa663a42bcaf46032 (diff)
interrupts: rename idt namespace to interrupts
Diffstat (limited to 'kernel/include/boot/gdt.h')
-rw-r--r--kernel/include/boot/gdt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/include/boot/gdt.h b/kernel/include/boot/gdt.h
index 237628c..60baab8 100644
--- a/kernel/include/boot/gdt.h
+++ b/kernel/include/boot/gdt.h
@@ -86,6 +86,9 @@
((base >> 24) & 0xff) /* base_high */ \
}
+#define GDT_KERNEL_CODE_OFFSET 0x8
+#define GDT_KERNEL_DATA_OFFSET 0x10
+
namespace GDT
{