iPXE
efi_acpi.h
Go to the documentation of this file.
1 #ifndef _IPXE_EFI_ACPI_H
2 #define _IPXE_EFI_ACPI_H
3 
4 /** @file
5  *
6  * iPXE ACPI API for EFI
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 FILE_SECBOOT ( PERMITTED );
12 
13 #ifdef ACPI_EFI
14 #define ACPI_PREFIX_efi
15 #else
16 #define ACPI_PREFIX_efi __efi_
17 #endif
18 
19 /**
20  * Locate ACPI table
21  *
22  * @v signature Requested table signature
23  * @v index Requested index of table with this signature
24  * @ret table Table, or NULL if not found
25  */
26 static inline __attribute__ (( always_inline )) const struct acpi_header *
27 ACPI_INLINE ( efi, acpi_find ) ( uint32_t signature, unsigned int index ) {
28 
30 }
31 
32 #endif /* _IPXE_EFI_ACPI_H */
const struct acpi_header * acpi_find_via_rsdt(uint32_t signature, unsigned int index)
Locate ACPI table via RSDT.
Definition: acpi.c:106
long index
Definition: bigint.h:65
FILE_SECBOOT(PERMITTED)
static __attribute__((always_inline)) const struct acpi_header *ACPI_INLINE(efi
Locate ACPI table.
static acpi_find(uint32_t signature, unsigned int index)
Locate ACPI table.
Definition: efi_acpi.h:27
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
An ACPI description header.
Definition: acpi.h:180
unsigned int uint32_t
Definition: stdint.h:12
#define ACPI_INLINE(_subsys, _api_func)
Calculate static inline ACPI API function name.
Definition: acpi.h:353
u8 signature
CPU signature.
Definition: CIB_PRM.h:35