Master the fundamental concepts of bios & uefi programming through this focused micro-challenge.
ACPI describes hardware configuration in memory-resident tables rooted at the RSDP (Root System Description Pointer). The BIOS or UEFI publishes the RSDP; the OS or bootloader scans for the signature "RSD PTR " in ROM or UEFI config tables. For example, from the RSDP you follow pointers to the RSDT or XSDT, then each entry names tables like FADT, MADT, and MCFG.
cLoading…
ACPI_20_TABLE_GUID or legacy search (0xE0000-0xFFFFF)Tables use 4-byte ASCII signatures and little-endian lengths. Version fields tell you whether 32-bit or 64-bit addresses are valid.
Sum every byte in the table length; ACPI requires an 8-bit checksum of zero. Compare OEM IDs in the FADT with your QEMU machine type to confirm you found the right root. UEFI exposes the RSDP through ConfigurationTable with GUID EB9D2D30-2D88-11D3-9A16-0090273FC14D for ACPI 1.0 and a different GUID for ACPI 2.0+.
You will locate the RSDP and walk at least one ACPI header to read a table signature and length. This exercise requires understanding how firmware hands off hardware metadata without legacy BIOS callbacks.
Implement ACPI table parsing in C.
Requirements:
Three hints are available for this task, revealed one at a time inside the code workspace so you can struggle productively before seeing them.
All starter code and reference implementations are available for your local setup.
View on Github