summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/null_acpi.h
blob: cedb02839eb06f785b3c5debf0ae9de875192b5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#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 */