]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Include/Library/ArmLib.h
ArmPkg/ArmLib: Replaced 'UINTN' type by architecture agnostic types (EFI_PHYSICAL_ADD...
[mirror_edk2.git] / ArmPkg / Include / Library / ArmLib.h
index 32886aaf498e37153617c4ab56a824f260b91627..c8f0d94cad55cb666027ae058e57b2528653bfa8 100644 (file)
@@ -15,6 +15,8 @@
 #ifndef __ARM_LIB__
 #define __ARM_LIB__
 
+#include <Uefi/UefiBaseType.h>
+
 #ifdef ARM_CPU_ARMv6
 #include <Chipset/ARM1176JZ-S.h>
 #else
@@ -59,9 +61,9 @@ typedef enum {
 #define IS_ARM_MEMORY_REGION_ATTRIBUTES_SECURE(attr) ((UINT32)(attr) & 1)
 
 typedef struct {
-  UINT32                        PhysicalBase;
-  UINT32                        VirtualBase;
-  UINT32                        Length;
+  EFI_PHYSICAL_ADDRESS          PhysicalBase;
+  EFI_VIRTUAL_ADDRESS           VirtualBase;
+  UINT                        Length;
   ARM_MEMORY_REGION_ATTRIBUTES  Attributes;
 } ARM_MEMORY_REGION_DESCRIPTOR;