mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 08:04:07 +02:00
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__
|
#ifndef __ARM_LIB__
|
||||||
#define __ARM_LIB__
|
#define __ARM_LIB__
|
||||||
|
|
||||||
|
#include <Uefi/UefiBaseType.h>
|
||||||
|
|
||||||
#ifdef ARM_CPU_ARMv6
|
#ifdef ARM_CPU_ARMv6
|
||||||
#include <Chipset/ARM1176JZ-S.h>
|
#include <Chipset/ARM1176JZ-S.h>
|
||||||
#else
|
#else
|
||||||
@ -59,8 +61,8 @@ typedef enum {
|
|||||||
#define IS_ARM_MEMORY_REGION_ATTRIBUTES_SECURE(attr) ((UINT32)(attr) & 1)
|
#define IS_ARM_MEMORY_REGION_ATTRIBUTES_SECURE(attr) ((UINT32)(attr) & 1)
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
UINTN PhysicalBase;
|
EFI_PHYSICAL_ADDRESS PhysicalBase;
|
||||||
UINTN VirtualBase;
|
EFI_VIRTUAL_ADDRESS VirtualBase;
|
||||||
UINTN Length;
|
UINTN Length;
|
||||||
ARM_MEMORY_REGION_ATTRIBUTES Attributes;
|
ARM_MEMORY_REGION_ATTRIBUTES Attributes;
|
||||||
} ARM_MEMORY_REGION_DESCRIPTOR;
|
} ARM_MEMORY_REGION_DESCRIPTOR;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user