14 lines
303 B
C
14 lines
303 B
C
#include <zinnia/acpi.h>
|
|
#include <zinnia/print.h>
|
|
#include <zinnia/types.h>
|
|
|
|
phys_t acpi_rsdp_addr = 0;
|
|
|
|
void acpi_init(struct boot_info* info) {
|
|
if (!info->rsdp) {
|
|
log("acpi: No RSDP was passed, unable to start ACPI subsystem!\n");
|
|
return;
|
|
}
|
|
acpi_rsdp_addr = info->rsdp;
|
|
}
|