summaryrefslogtreecommitdiffstats
path: root/src/tests/acpi_test.c
Commit message (Collapse)AuthorAgeFilesLines
* [acpi] Remove userptr_t from ACPI table parsingMichael Brown2025-04-221-5/+7
| | | | | | | Simplify the ACPI table parsing code by assuming that all table content is fully accessible via pointer dereferences. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [acpi] Support the "_RTXMAC_" format for ACPI-based MAC addressesMichael Brown2022-03-251-0/+19
| | | | | | | | | | | | | Some newer HP products expose the host-based MAC (HBMAC) address using an ACPI method named "RTMA" returning a part-binary string of the form "_RTXMAC_#<mac>#", where "<mac>" comprises the raw MAC address bytes. Extend the existing support to handle this format alongside the older "_AUXMAC_" format (which uses a base16-encoded MAC address). Reported-by: Andreas Hammarskjöld <junior@2PintSoftware.com> Tested-by: Andreas Hammarskjöld <junior@2PintSoftware.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [acpi] Add MAC address extraction self-testsMichael Brown2022-03-241-0/+238
Signed-off-by: Michael Brown <mcb30@ipxe.org>