mirror of https://github.com/ipxe/ipxe.git
26 lines
451 B
C
26 lines
451 B
C
#ifndef _IPXE_NULL_ACPI_H
|
|
#define _IPXE_NULL_ACPI_H
|
|
|
|
/** @file
|
|
*
|
|
* Standard do-nothing ACPI interface
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
|
|
|
#ifdef ACPI_NULL
|
|
#define ACPI_PREFIX_null
|
|
#else
|
|
#define ACPI_PREFIX_null __null_
|
|
#endif
|
|
|
|
static inline __attribute__ (( always_inline )) userptr_t
|
|
ACPI_INLINE ( null, acpi_find ) ( uint32_t signature __unused,
|
|
unsigned int index __unused ) {
|
|
|
|
return UNULL;
|
|
}
|
|
|
|
#endif /* _IPXE_NULL_ACPI_H */
|