PatchworkOS
Loading...
Searching...
No Matches
devices.h File Reference
#include <stdint.h>
#include <sys/io.h>

Go to the source code of this file.

Macros

#define ACPI_STA_FLAGS_DEFAULT   (ACPI_STA_PRESENT | ACPI_STA_ENABLED | ACPI_STA_SHOW_IN_UI | ACPI_STA_FUNCTIONAL)
 Default _STA flags if the _STA method does not exist.
 

Enumerations

enum  acpi_sta_flags_t {
  ACPI_STA_PRESENT = 1 << 0 ,
  ACPI_STA_ENABLED = 1 << 1 ,
  ACPI_STA_SHOW_IN_UI = 1 << 2 ,
  ACPI_STA_FUNCTIONAL ,
  ACPI_STA_BATTERY_PRESENT = 1 << 4
}
 Flags for the _STA method. More...
 

Functions

void acpi_devices_init (void)
 Enumerate and configure ACPI devices.