I did a mistake and set the kernel_physical_base value to be just on the actual linked kernel ELF start offset, while this value should represent together with KERNEL_MAPPING_BASE the actual higher-half load address. By changing this value, we resolve a bug in which disabling KASLR doesn't work and will cause the prekernel to hang on this statement: ```c++ VERIFY(kernel_load_base >= kernel_mapping_base + 0x200000); ``` |
||
|---|---|---|
| .. | ||
| boot.S | ||
| CMakeLists.txt | ||
| init.cpp | ||
| linker.ld | ||
| multiboot.S | ||
| Prekernel.h | ||
| UBSanitizer.cpp | ||