summaryrefslogtreecommitdiff
path: root/kernel/include/comus/drivers/acpi.h
blob: f4948f74d4007a828565a19bbb7b88a8396578d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
 * @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);

/**
 * Report ACPI tables
 */
void acpi_report(void);

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