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