From 2a490a1bbc448eaba3d9b4de0e103d24397215f3 Mon Sep 17 00:00:00 2001 From: "Justin C. Miller" Date: Mon, 18 Jan 2021 13:41:00 -0800 Subject: [PATCH] [kernel] Add BGRT ACPI table struct --- src/kernel/acpi_tables.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/kernel/acpi_tables.h b/src/kernel/acpi_tables.h index c990968..100e9b3 100644 --- a/src/kernel/acpi_tables.h +++ b/src/kernel/acpi_tables.h @@ -198,3 +198,14 @@ struct acpi_hpet uint8_t attributes; } __attribute__ ((packed)); +struct acpi_bgrt +{ + TABLE_HEADER('BGRT'); + uint16_t version; + uint8_t status; + uint8_t type; + uintptr_t address; + uint32_t offset_x; + uint32_t offset_y; +} __attribute__ ((packed)); +