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:

Classes

struct  ACPI::RSDP
 Root System Description Pointer (RSDP) More...
 
struct  ACPI::SDTH
 System Description Table Header (SDTH) More...
 
struct  ACPI::RSDT
 Root System Description Table (RSDT) More...
 
struct  ACPI::XSDT
 Extended System Description Table (XSDT) More...
 
struct  ACPI::SubHeader
 Helper structure. More...
 
struct  ACPI::MADT
 Multiple APIC Description Table (MADT) More...
 
struct  ACPI::Address
 ACPI address format. More...
 
struct  ACPI::MADS::LAPIC
 Processor Local APIC (LAPIC) Structure. More...
 
struct  ACPI::MADS::IOAPIC
 I/O APIC Structure. More...
 
struct  ACPI::MADS::Interrupt_Source_Override
 Interrupt Source Override Structure. More...
 
struct  ACPI::MADS::LAPIC_Address_Override
 Local APIC Address Override Structure. More...
 

Namespaces

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

Functions

bool ACPI::init ()
 Initialize the ACPI description table.
 
unsigned ACPI::count ()
 Number of entries in the description table.
 
SDTH * ACPI::get (unsigned num)
 Get entry of description table by index.
 
SDTH * ACPI::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)".