From 24136157aae8c88f9397903157adf8f6237d73c0 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sun, 13 Sep 2026 11:45:31 -0400 Subject: add barebones uacpi support. just gets tables --- boot/limine/start.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'boot/limine/start.c') diff --git a/boot/limine/start.c b/boot/limine/start.c index b371f92..9fffb0b 100644 --- a/boot/limine/start.c +++ b/boot/limine/start.c @@ -2,7 +2,6 @@ #include #include "boot/cmdline.h" -#include "hal/framebuffer.h" #include "limine.h" void _start(void); @@ -52,6 +51,12 @@ static volatile struct limine_framebuffer_request framebuffer_request = { .revision = 0, .response = NULL }; +LIMINE_REQUEST_SECTION +static volatile struct limine_rsdp_request rsdp_request = { + .id = LIMINE_RSDP_REQUEST_ID, + .revision = 0, .response = NULL +}; + LIMINE_REQUEST_SECTION static volatile uint64_t limine_requests_end_marker[] = LIMINE_REQUESTS_END_MARKER; @@ -59,6 +64,7 @@ void *_kernel_physptr = NULL; void *_initrd_module = NULL; struct limine_framebuffer_response *_limine_framebuffers; struct limine_memmap_response *_limine_memmap_resp = NULL; +struct limine_rsdp_response *_limine_rsdp_resp = NULL; __attribute__((noreturn)) void @@ -67,6 +73,7 @@ _start(void) _kernel_physptr = (void*)executable_address_req.response->physical_base; _limine_memmap_resp = memmap_req.response; _limine_framebuffers = framebuffer_request.response; + _limine_rsdp_resp = rsdp_request.response; if(module_req.response->module_count > 0) { _initrd_module = module_req.response->modules[0]->address; -- cgit v1.2.3