efi-bgrt.h 455 字节
Newer Older
1 2 3 4 5
#ifndef _LINUX_EFI_BGRT_H
#define _LINUX_EFI_BGRT_H

#include <linux/acpi.h>

6 7 8
#ifdef CONFIG_ACPI_BGRT

void efi_bgrt_init(struct acpi_table_header *table);
9 10 11

/* The BGRT data itself; only valid if bgrt_image != NULL. */
extern size_t bgrt_image_size;
12
extern struct acpi_table_bgrt bgrt_tab;
13 14 15

#else /* !CONFIG_ACPI_BGRT */

16
static inline void efi_bgrt_init(struct acpi_table_header *table) {}
17 18 19 20

#endif /* !CONFIG_ACPI_BGRT */

#endif /* _LINUX_EFI_BGRT_H */