]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg/ArmLib: Replaced 'UINTN' type by architecture agnostic types (EFI_PHYSICAL_ADD...
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 29 Feb 2012 17:22:11 +0000 (17:22 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 29 Feb 2012 17:22:11 +0000 (17:22 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13073 6f19259b-4bc3-4df7-8a09-765794883524

ArmPkg/Include/Library/ArmLib.h

index cacd25d756601bbabe7196dde4926cea2e7671bb..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,8 +61,8 @@ typedef enum {
 #define IS_ARM_MEMORY_REGION_ATTRIBUTES_SECURE(attr) ((UINT32)(attr) & 1)
 
 typedef struct {
-  UINTN                         PhysicalBase;
-  UINTN                         VirtualBase;
+  EFI_PHYSICAL_ADDRESS          PhysicalBase;
+  EFI_VIRTUAL_ADDRESS           VirtualBase;
   UINTN                         Length;
   ARM_MEMORY_REGION_ATTRIBUTES  Attributes;
 } ARM_MEMORY_REGION_DESCRIPTOR;