Dokumentation

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

Constants

static RSDP * ACPI::rsdp = 0
 
static RSDT * ACPI::rsdt = 0
 
static XSDT * ACPI::xsdt = 0
 
const char * ACPI::RSDP_SIGNATURE = "RSD PTR "