StuBS
acpi.cc File Reference
#include "machine/acpi.h"
#include "debug/output.h"
Include dependency graph for acpi.cc:

Namespaces

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

Functions

static int ACPI::checksum (const void *pos, unsigned len)
 
static const RSDPACPI::findRSDP (const void *pos, unsigned len)
 
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)
 

Constants

static RSDPACPI::rsdp = 0
 
static RSDTACPI::rsdt = 0
 
static XSDTACPI::xsdt = 0
 
const char * ACPI::RSDP_SIGNATURE = "RSD PTR "