xref: /linux-6.15/include/linux/efi-bgrt.h (revision abb06b99)
1 #ifndef _LINUX_EFI_BGRT_H
2 #define _LINUX_EFI_BGRT_H
3 
4 #include <linux/acpi.h>
5 
6 #ifdef CONFIG_ACPI_BGRT
7 
8 void efi_bgrt_init(struct acpi_table_header *table);
9 
10 /* The BGRT data itself; only valid if bgrt_image != NULL. */
11 extern size_t bgrt_image_size;
12 extern struct acpi_table_bgrt bgrt_tab;
13 
14 #else /* !CONFIG_ACPI_BGRT */
15 
16 static inline void efi_bgrt_init(struct acpi_table_header *table) {}
17 
18 #endif /* !CONFIG_ACPI_BGRT */
19 
20 #endif /* _LINUX_EFI_BGRT_H */
21