diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-03-21 16:53:07 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-03-21 16:53:07 +0200 |
commit | e9232199bdd97233dabd59f07c63607c93c0c59c (patch) | |
tree | 66aff19650079c9fc990f75d2ed390dd674cfdaa /linker.ld | |
parent | Add allocator (diff) | |
download | kernel.cpp-e9232199bdd97233dabd59f07c63607c93c0c59c.tar.xz |
Check multiboot2 header length, and if needed map the next page as well
Diffstat (limited to 'linker.ld')
-rw-r--r-- | linker.ld | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,7 +11,8 @@ SECTIONS */ . = 0; .multiboot : { - *(.multiboot.header) + . = ALIGN(8); + KEEP(*(.multiboot.header)) } /* Begin putting sections at 4 MiB */ |