diff options
author | Corvin Köhne <corvink@freebsd.org> | 2023-06-21 09:31:11 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-06-23 17:26:37 +0000 |
commit | 8f63f4143de4e58c7efe616407862edb890d96e5 (patch) | |
tree | 9673dbca4d2a509334eda79cd3f786652ab478ed | |
parent | 6ee981c858daeb08c8ab6d357a55c131875aae3a (diff) | |
download | edk2-8f63f4143de4e58c7efe616407862edb890d96e5.tar.gz |
OvmfPkg/Library: fix definition of GetAcpiRsdpFromMemory
The definition and declaration of GetAcpiRsdpFromMemory doesn't match.
We don't get a compile error yet because UINTN is the same as UINT64 on
64bit machines. As the function works on memory addresses, UINTN is the
correct type of the input parameters.
Signed-off-by: Corvin Köhne <corvink@FreeBSD.org>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Peter Grehan <grehan@freebsd.org>
-rw-r--r-- | OvmfPkg/Include/Library/AcpiPlatformLib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OvmfPkg/Include/Library/AcpiPlatformLib.h b/OvmfPkg/Include/Library/AcpiPlatformLib.h index 73a1706360..78d5010e91 100644 --- a/OvmfPkg/Include/Library/AcpiPlatformLib.h +++ b/OvmfPkg/Include/Library/AcpiPlatformLib.h @@ -20,8 +20,8 @@ EFI_STATUS
EFIAPI
GetAcpiRsdpFromMemory (
- IN UINT64 StartAddress,
- IN UINT64 EndAddress,
+ IN UINTN StartAddress,
+ IN UINTN EndAddress,
OUT EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER **RsdpPtr
);
|