Kernel: Add better support for bootloaders loading the kernel

Before I assumed that bootloaders loaded the kernel at physical address
0, but this patch kinda allows loading to different addresses. This
still doesn't fully work as kernel bootstrap paging relies on kernel
being loaded at 0
This commit is contained in:
2024-08-22 14:20:51 +03:00
parent abc788c756
commit fb35f06cf5
10 changed files with 40 additions and 12 deletions

View File

@@ -172,3 +172,5 @@ banan_boot_info:
.long framebuffer
boot_memory_map:
.long memory_map
boot_kernel_paddr:
.long 0