2012-09-29 00:57:05 +00:00
|
|
|
#ifndef _LINUX_EFI_BGRT_H
|
|
|
|
#define _LINUX_EFI_BGRT_H
|
|
|
|
|
|
|
|
#include <linux/acpi.h>
|
|
|
|
|
2017-01-31 13:21:40 +00:00
|
|
|
#ifdef CONFIG_ACPI_BGRT
|
|
|
|
|
|
|
|
void efi_bgrt_init(struct acpi_table_header *table);
|
2012-09-29 00:57:05 +00:00
|
|
|
|
|
|
|
/* The BGRT data itself; only valid if bgrt_image != NULL. */
|
|
|
|
extern size_t bgrt_image_size;
|
2017-01-31 13:21:40 +00:00
|
|
|
extern struct acpi_table_bgrt bgrt_tab;
|
2012-09-29 00:57:05 +00:00
|
|
|
|
|
|
|
#else /* !CONFIG_ACPI_BGRT */
|
|
|
|
|
2017-01-31 13:21:40 +00:00
|
|
|
static inline void efi_bgrt_init(struct acpi_table_header *table) {}
|
2012-09-29 00:57:05 +00:00
|
|
|
|
|
|
|
#endif /* !CONFIG_ACPI_BGRT */
|
|
|
|
|
|
|
|
#endif /* _LINUX_EFI_BGRT_H */
|