diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-13 11:45:31 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-13 11:45:31 -0400 |
| commit | 24136157aae8c88f9397903157adf8f6237d73c0 (patch) | |
| tree | 97555b8bd455ebfe13e3a08b96d3c370b7021d15 /boot/limine/uacpi.c | |
| parent | 53fa3cd2bfdb122d773024612d8c1d71f0dd8188 (diff) | |
| download | jove-kernel-24136157aae8c88f9397903157adf8f6237d73c0.tar.gz jove-kernel-24136157aae8c88f9397903157adf8f6237d73c0.tar.bz2 jove-kernel-24136157aae8c88f9397903157adf8f6237d73c0.zip | |
add barebones uacpi support. just gets tables
Diffstat (limited to 'boot/limine/uacpi.c')
| -rw-r--r-- | boot/limine/uacpi.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/boot/limine/uacpi.c b/boot/limine/uacpi.c new file mode 100644 index 0000000..93b4fd1 --- /dev/null +++ b/boot/limine/uacpi.c @@ -0,0 +1,10 @@ +#include "uacpi/kernel_api.h" +#include "limine.h" + +extern struct limine_rsdp_response *_limine_rsdp_resp; + +uacpi_status uacpi_kernel_get_rsdp(uacpi_phys_addr *out_rsdp_address) +{ + *out_rsdp_address = (uintptr_t)_limine_rsdp_resp->address; + return UACPI_STATUS_OK; +} |
