Skip to content

Commit

Permalink
increasing boot kernel stack size to 4k
Browse files Browse the repository at this point in the history
  • Loading branch information
diodesign committed Dec 7, 2015
1 parent eead39d commit 1e2bd73
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions platform/x86/asm/start32.s
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ boot_early_error:
hlt

; -----------------------------------------------------------------------------
; reserve a tiny stack while bringing up the system,
; reserve a single-page stack while bringing up the system,
; page tables, and variables for writing to the screen
section .bss

Expand All @@ -363,13 +363,13 @@ boot_pdp_table:
boot_pd_table:
resb 4096 ; reserve 4KB for page directory aka level 2 page table

boot_video_line_nr:
resb 1

boot_stack_bottom:
resb 1024
resb 4096
boot_stack_top:

boot_video_line_nr:
resb 1

; -----------------------------------------------------------------------------
; define our 64-bit GDT
section .rodata
Expand Down

0 comments on commit 1e2bd73

Please sign in to comment.