diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-02-29 17:22:11 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-02-29 17:22:11 +0000 |
commit | 916666c009ebd50500f8c3ed025e688dfb9be05e (patch) | |
tree | 3b968982e83658a61c7385f7a42f98f2df877643 /ArmPkg | |
parent | af0283b82bddc9976759f1ae7dc2ea15ef8e1b14 (diff) | |
download | edk2-platforms-916666c009ebd50500f8c3ed025e688dfb9be05e.tar.xz |
ArmPkg/ArmLib: Replaced 'UINTN' type by architecture agnostic types (EFI_PHYSICAL_ADDRESS & EFI_VIRTUAL_ADDRESS) to describe memory addresses
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13073 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg')
-rw-r--r-- | ArmPkg/Include/Library/ArmLib.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ArmPkg/Include/Library/ArmLib.h b/ArmPkg/Include/Library/ArmLib.h index cacd25d756..c8f0d94cad 100644 --- a/ArmPkg/Include/Library/ArmLib.h +++ b/ArmPkg/Include/Library/ArmLib.h @@ -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; |