summaryrefslogtreecommitdiff
path: root/kernel/include/comus/drivers/acpi.h
blob: bb1186025bdaa5840373396f6e1ceb77cf2016b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * @file acpi.h
 *
 * @author Freya Murphy <freya@freyacat.org>
 *
 * ACPI definitions
 */

/**
 * Loads the ACPI tables
 * https://en.wikipedia.org/wiki/ACPI
 * @param rsdp - pointer to the Root System Description Pointer
 * usually passed from the bootloader
 */
void acpi_init(void *rsdp);

/**
 * Shutdowns down the system
 */
__attribute__((noreturn)) void acpi_shutdown(void);