mirror of
https://github.com/ipxe/ipxe
synced 2026-01-13 17:43:49 +03:00
[acpi] Make acpi_find_rsdt() a per-platform method
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
14
src/arch/x86/include/bits/acpi.h
Normal file
14
src/arch/x86/include/bits/acpi.h
Normal 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 */
|
||||
18
src/arch/x86/include/ipxe/rsdp.h
Normal file
18
src/arch/x86/include/ipxe/rsdp.h
Normal 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 */
|
||||
Reference in New Issue
Block a user