Skip to content

Commit

Permalink
move gdt64 into the data section
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamos82 committed Oct 17, 2023
1 parent 8b231ac commit c2e19ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/asm/boot.s
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,7 @@ stack:
resb 16384
.top:

section .rodata

section .data
; gdt table needs at least 3 entries:
; the first entry is always null
; the other two are data segment and code segment.
Expand Down

0 comments on commit c2e19ab

Please sign in to comment.