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
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11FILE_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 */
26static inline __attribute__ (( always_inline )) const struct acpi_header *
27ACPI_INLINE ( efi, acpi_find ) ( uint32_t signature, unsigned int index ) {
28
30}
31
32#endif /* _IPXE_EFI_ACPI_H */
u8 signature
CPU signature.
Definition CIB_PRM.h:7
const struct acpi_header * acpi_find_via_rsdt(uint32_t signature, unsigned int index)
Locate ACPI table via RSDT.
Definition acpi.c:106
unsigned int uint32_t
Definition stdint.h:12
long index
Definition bigint.h:65
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
#define __attribute__(x)
Definition compiler.h:10
#define ACPI_INLINE(_subsys, _api_func)
Calculate static inline ACPI API function name.
Definition acpi.h:353
static acpi_find(uint32_t signature, unsigned int index)
Locate ACPI table.
Definition rsdp.h:27
An ACPI description header.
Definition acpi.h:180