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>
This commit is contained in:
committed by
mergify[bot]
parent
6ee981c858
commit
8f63f4143d
@@ -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
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user