[PATCH] acpi: move acpi_get_rsdp_addr() to acpi/acpi_table.h

Tom Rini trini at konsulko.com
Thu Nov 9 20:24:19 CET 2023


On Thu, Nov 09, 2023 at 09:23:02AM -0800, Heinrich Schuchardt wrote:

> Function acpi_get_rsdp_addr() is needed on all architectures which
> write ACPI tables. Move the definition from the x86 include to an
> architecture independent one.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  arch/x86/include/asm/acpi_table.h | 9 ---------
>  drivers/misc/qfw.c                | 1 +
>  include/acpi/acpi_table.h         | 9 +++++++++
>  3 files changed, 10 insertions(+), 9 deletions(-)

My question here is, does this work right on non-x86? I know you can
have ACPI without UEFI on x86, but elsewhere doesn't the location have
to be provided in some manner by UEFI? I know I'm thinking that's the
case with SMBIOS (with a few exception).

I'm assuming you're doing something here with qemu and its qfw interface
and risc-v.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231109/e81790e0/attachment.sig>


More information about the U-Boot mailing list