1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:27:45 +00:00

Kernel/aarch64: Embed disk image into kernel binary

This allows us to actually boot to userspace in the next commit! :^)
This commit is contained in:
Timon Kruiper 2023-01-30 14:07:37 +01:00 committed by Linus Groh
parent da89cd948f
commit 3b65fd64fc
4 changed files with 18 additions and 3 deletions

View file

@ -80,6 +80,11 @@ SECTIONS
page_tables_phys_end = .;
end_of_kernel_image = .;
disk_image ALIGN(4K) : AT (ADDR(disk_image) - KERNEL_MAPPING_BASE)
{
*(disk_image)
}
}
size_of_bss_divided_by_8 = (end_of_bss - start_of_bss + 7) / 8;