diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-02-03 20:38:28 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-02-03 20:38:28 +0530 |
commit | 70d67f088a2131466c22f6dadbe388a3ee1d5efb (patch) | |
tree | 819f93e0295e4e6682cea25e718cc998eeaaf216 /kernel/boot/gdt/gdt.cc | |
parent | a52729a44eb1a42f10544e67eecc5cc85b9e99c2 (diff) |
libk: Start work on custom liballoc
Diffstat (limited to 'kernel/boot/gdt/gdt.cc')
-rw-r--r-- | kernel/boot/gdt/gdt.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/boot/gdt/gdt.cc b/kernel/boot/gdt/gdt.cc index e86638a..360d9b8 100644 --- a/kernel/boot/gdt/gdt.cc +++ b/kernel/boot/gdt/gdt.cc @@ -18,12 +18,11 @@ #include <boot/gdt.h> #include <kernel/io.h> -#include <stdint.h> namespace GDT { -entry_t entries[] = { +entry_t l_entries[] = { /* NULL Descriptor */ GDT_ENTRY(0, 0, 0, 0), @@ -43,7 +42,7 @@ entry_t entries[] = { /* TODO: LDT? */ }; -descriptor_t descriptor = { sizeof(entries) - 1, entries }; +descriptor_t descriptor = { sizeof(l_entries) - 1, l_entries }; void load(void) |