[acpi] Make acpi_find_rsdt() a per-platform method

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2017-05-22 19:27:30 +01:00
parent ee9897fe64
commit 933e6dadc0
11 changed files with 265 additions and 103 deletions

View File

@@ -0,0 +1,14 @@
#ifndef _BITS_ACPI_H
#define _BITS_ACPI_H
/** @file
*
* x86-specific ACPI API implementations
*
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <ipxe/rsdp.h>
#endif /* _BITS_ACPI_H */

View File

@@ -0,0 +1,18 @@
#ifndef _IPXE_RSDP_H
#define _IPXE_RSDP_H
/** @file
*
* Standard PC-BIOS ACPI RSDP interface
*
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#ifdef ACPI_RSDP
#define ACPI_PREFIX_rsdp
#else
#define ACPI_PREFIX_rsdp __rsdp_
#endif
#endif /* _IPXE_RSDP_H */