summaryrefslogtreecommitdiff
path: root/include/acpi.h
blob: 4c5c7b1d2bed551c75f4aab5c4e80e185020b632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

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

/**
 * Shutdowns down the system
 * @returns ACPI_FAILURE on failure
 */
int acpi_shutdown(void);