1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_EFI_BGRT_H
3 #define _LINUX_EFI_BGRT_H
5 #include <linux/acpi.h>
7 #ifdef CONFIG_ACPI_BGRT
9 void efi_bgrt_init(struct acpi_table_header
*table
);
10 int __init
acpi_parse_bgrt(struct acpi_table_header
*table
);
12 /* The BGRT data itself; only valid if bgrt_image != NULL. */
13 extern size_t bgrt_image_size
;
14 extern struct acpi_table_bgrt bgrt_tab
;
16 #else /* !CONFIG_ACPI_BGRT */
18 static inline void efi_bgrt_init(struct acpi_table_header
*table
) {}
19 static inline int __init
acpi_parse_bgrt(struct acpi_table_header
*table
)
24 #endif /* !CONFIG_ACPI_BGRT */
26 #endif /* _LINUX_EFI_BGRT_H */