]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: add ACPI fields to global data
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 19 Dec 2023 15:04:03 +0000 (16:04 +0100)
committerSimon Glass <sjg@chromium.org>
Sun, 7 Jan 2024 20:49:15 +0000 (13:49 -0700)
Add fields for the location of ACPI tables to the global data.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/riscv/include/asm/global_data.h

index d00247ad95367c3003b43a39ca0891cc39a8a64b..593d9276d35affa3d9d55c61b7a676c6a67b3841 100644 (file)
@@ -33,6 +33,12 @@ struct arch_global_data {
        ulong available_harts;
 #endif
 #endif
+#if CONFIG_IS_ENABLED(ACPI)
+       ulong table_start;              /* Start address of ACPI tables */
+       ulong table_end;                /* End address of ACPI tables */
+       ulong table_start_high;         /* Start address of high ACPI tables */
+       ulong table_end_high;           /* End address of high ACPI tables */
+#endif
 #ifdef CONFIG_SMBIOS
        ulong smbios_start;             /* Start address of SMBIOS table */
 #endif