Move vmm fully into hal
This commit is contained in:
@ -13,11 +13,7 @@ BootInfo BOOT_INFO;
|
||||
static volatile struct limine_paging_mode_request paging_req = {
|
||||
.id = LIMINE_PAGING_MODE_REQUEST,
|
||||
.revision = 0,
|
||||
#if defined(__x86_64__)
|
||||
.mode = LIMINE_PAGING_MODE_X86_64_4LVL,
|
||||
#else
|
||||
# error "Paging mode is unknown for this architecture"
|
||||
#endif
|
||||
};
|
||||
|
||||
DEFINE_REQ(kernel_address, KERNEL_ADDRESS);
|
||||
@ -38,9 +34,7 @@ void bootinfo_init(void) {
|
||||
BOOT_INFO.modules = modulesres;
|
||||
|
||||
struct limine_paging_mode_response *pagingres = paging_req.response;
|
||||
#if defined(__x86_64__)
|
||||
if (pagingres->mode != LIMINE_PAGING_MODE_X86_64_4LVL) {
|
||||
#endif
|
||||
hal_hang();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user