mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
af0283b82b
commit
916666c009
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue