diff options
author | dzwdz | 2021-07-18 17:06:32 +0200 |
---|---|---|
committer | dzwdz | 2021-07-18 17:06:32 +0200 |
commit | 185c7c44c0da51b5442abf4fd3fb549f99c5bab8 (patch) | |
tree | cc3e73fed5b322a312bdcd55dd4ee6e97f135a15 /src/kernel/arch/i386/gdt | |
parent | ca5ce39490d4df893f8285f940602dc140b29247 (diff) |
clean up the linker script, remove duplicate labels
Diffstat (limited to 'src/kernel/arch/i386/gdt')
-rw-r--r-- | src/kernel/arch/i386/gdt/gdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/i386/gdt/gdt.c b/src/kernel/arch/i386/gdt/gdt.c index 2935e6e..e4cd3ef 100644 --- a/src/kernel/arch/i386/gdt/gdt.c +++ b/src/kernel/arch/i386/gdt/gdt.c @@ -80,7 +80,7 @@ static void gdt_prepare() { // tss memset(&TSS, 0, sizeof(TSS)); TSS.ss0 = SEG_r0data << 3; // kernel data segment - TSS.esp0 = (uintptr_t) &stack_top; + TSS.esp0 = (uintptr_t) &_bss_end; GDT[SEG_TSS] = (struct gdt_entry) { .limit_low = sizeof(TSS), |