Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kernel: Actually set physical base pointer correctly in prekernel stage
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); ```
- Loading branch information