Module rstubs::arch::acpi

source ยท
Expand description

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

Structsยง

  • ACPI is the successor to APM (Advanced Power Management), aiming to give the operating system more control over the hardware.
  • Rsdp ๐Ÿ”’
    The first structure found in ACPI. It just tells us where the RSDT is.
  • Header of an ACPI table

Enumsยง

  • Error indicating why the ACPI tables could not be loaded correctly.

Constantsยง

  • The earliest (lowest) memory address an EBDA (Extended Bios Data Area) can start
  • EBDA_END ๐Ÿ”’
    The end of the EBDA (Extended Bios Data Area)
  • EBDA_START_PTR ๐Ÿ”’
    This (usually!) contains the base address of the EBDA (Extended Bios Data Area), shifted right by 4
  • RSDP_BIOS_AREA_END ๐Ÿ”’
    The end of the main BIOS area below 1mb in which to search for the RSDP (Root System Description Pointer)
  • The start of the main BIOS area below 1mb in which to search for the RSDP (Root System Description Pointer)
  • RSDP_SIGNATURE ๐Ÿ”’
    The RSDP (Root System Description Pointer)โ€™s signature (trailing space!)

Traitsยง

  • Simple marker trait for the other ACPI table types

Functionsยง