blob: 2fd3993c370b273c9ae8c0f58604a1280527f832 [file] [log] [blame]
Josh Triplett2223af32012-09-28 17:57:05 -07001#ifndef _LINUX_EFI_BGRT_H
2#define _LINUX_EFI_BGRT_H
3
Josh Triplett2223af32012-09-28 17:57:05 -07004#include <linux/acpi.h>
5
Dave Young7b0a9112017-01-31 13:21:40 +00006#ifdef CONFIG_ACPI_BGRT
7
8void efi_bgrt_init(struct acpi_table_header *table);
Josh Triplett2223af32012-09-28 17:57:05 -07009
10/* The BGRT data itself; only valid if bgrt_image != NULL. */
Josh Triplett2223af32012-09-28 17:57:05 -070011extern size_t bgrt_image_size;
Dave Young7b0a9112017-01-31 13:21:40 +000012extern struct acpi_table_bgrt bgrt_tab;
Josh Triplett2223af32012-09-28 17:57:05 -070013
14#else /* !CONFIG_ACPI_BGRT */
15
Dave Young7b0a9112017-01-31 13:21:40 +000016static inline void efi_bgrt_init(struct acpi_table_header *table) {}
Josh Triplett2223af32012-09-28 17:57:05 -070017
18#endif /* !CONFIG_ACPI_BGRT */
19
20#endif /* _LINUX_EFI_BGRT_H */