diff options
Diffstat (limited to 'kernel/boot.s')
| -rw-r--r-- | kernel/boot.s | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/boot.s b/kernel/boot.s index 80f8be9..9d948cf 100644 --- a/kernel/boot.s +++ b/kernel/boot.s @@ -22,6 +22,8 @@ section .text kboot: cli ; put the stack pointer near the end of conventional memory + ; WARNING: don't change this without changing the corresponding + ; entry in the TSS mov esp, 0x80000 ; setup descriptor tables call flush_gdt @@ -37,7 +39,7 @@ kboot: tss: dd 0 - dd 0 ; kernel stack pointer + dd 0x80000 ; kernel stack pointer dd 0x10 ; kernel stack segment times 60 db 0 dd 0x13 ; ES segment |
