Skip to content

Commit

Permalink
feat(kernel): align end of kernel code onto a page
Browse files Browse the repository at this point in the history
This makes mapping things relative to this location just easier.
  • Loading branch information
d4ilyrun committed May 8, 2024
1 parent 2d9e70c commit a792ba2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/linker.ld
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ SECTIONS
*(.kernel_symbols)
}

. = ALIGN(4K);
_kernel_code_end = .;

/DISCARD/ :
Expand Down

0 comments on commit a792ba2

Please sign in to comment.