diff options
| author | Michael Brown | 2021-09-08 14:50:20 +0200 |
|---|---|---|
| committer | Michael Brown | 2021-09-09 13:18:00 +0200 |
| commit | 0cc4c42f0af716bc5a363ad699160926e91a4d35 (patch) | |
| tree | 9493e4661b5124f4fb330d35a72cd937906fd2be /src/include/ipxe/efi/Protocol/SimpleFileSystem.h | |
| parent | [acpi] Generalise DSDT/SSDT data extraction logic (diff) | |
| download | ipxe-0cc4c42f0af716bc5a363ad699160926e91a4d35.tar.gz ipxe-0cc4c42f0af716bc5a363ad699160926e91a4d35.tar.xz ipxe-0cc4c42f0af716bc5a363ad699160926e91a4d35.zip | |
[acpi] Allow for extraction of a MAC address from the DSDT/SSDT
Some vendors provide a "system MAC address" within the DSDT/SSDT, to
be used to override the MAC address for a USB docking station.
A full implementation would require an ACPI bytecode interpreter,
since at least one OEM allows the MAC address to be constructed by
executable ACPI bytecode (rather than a fixed data structure).
We instead attempt to extract a plausible-looking "_AUXMAC_#.....#"
string that appears shortly after an "AMAC" or "MACA" signature. This
should work for most implementations encountered in practice.
Debugged-by: Andreas Hammarskjöld <junior@2PintSoftware.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/Protocol/SimpleFileSystem.h')
0 files changed, 0 insertions, 0 deletions
