StuBS
acpi.h File Reference

Structs and methods related to the Advanced Configuration and Power Interface (ACPI). More...

#include "types.h"
Include dependency graph for acpi.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  ACPI::MADS::LAPIC_Address_Override.__unnamed12__.__unnamed14__
 

Namespaces

namespace  ACPI
 Abstracts the ACPI standard that provides interfaces for hardware detection, device configuration, and energy management.
 
namespace  ACPI::MADS
 

Enumerations

enum class  ACPI::AddressSpace : uint8_t {
  ACPI::MEMORY = 0x0 ,
  ACPI::IO = 0x1
}
 
enum  ACPI::MADS::Type {
  ACPI::MADS::Type_LAPIC = 0 ,
  ACPI::MADS::Type_IOAPIC = 1 ,
  ACPI::MADS::Type_Interrupt_Source_Override = 2 ,
  ACPI::MADS::Type_LAPIC_Address_Override = 5
}
 

Functions

bool ACPI::init ()
 Initialize the ACPI description table.
 
unsigned ACPI::count ()
 Number of entries in the description table.
 
SDTHACPI::get (unsigned num)
 Get entry of description table by index.
 
SDTHACPI::get (char a, char b, char c, char d)
 Get entry of description table by four character identifier.
 
int ACPI::revision ()
 Retrieve the revision from the Root System Description Pointer (RSDP)
 

Detailed Description

Structs and methods related to the Advanced Configuration and Power Interface (ACPI).