This commit is contained in:
boreddevnl
2026-02-27 16:19:11 +01:00
parent f9d84d434e
commit 8c6d751254
25 changed files with 237 additions and 166 deletions

View File

@@ -11,9 +11,9 @@ static volatile struct limine_kernel_address_request kernel_addr_request __attri
.revision = 0,
.response = NULL
};
static uint64_t hhdm_offset = 0;
static uint64_t kernel_phys_base = 0;
static uint64_t kernel_virt_base = 0;
uint64_t hhdm_offset = 0;
uint64_t kernel_phys_base = 0;
uint64_t kernel_virt_base = 0;
void platform_init(void) {
if (hhdm_request.response) { hhdm_offset = hhdm_request.response->offset; }
if (kernel_addr_request.response) {