summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Drivers/CpuDxe/CpuDxe.h
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2013-07-18 06:20:33 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2013-07-18 06:20:33 +0000
commit591fb3781aa5947ab05332463a22d3f660714fec (patch)
treedb2090148fb354bb10fae4e05e7ad8bacd1f4487 /ArmPkg/Drivers/CpuDxe/CpuDxe.h
parent04a3cfa78a3a0305296c9d5172fff4b1e14bd545 (diff)
downloadedk2-591fb3781aa5947ab05332463a22d3f660714fec.tar.gz
edk2-591fb3781aa5947ab05332463a22d3f660714fec.tar.bz2
edk2-591fb3781aa5947ab05332463a22d3f660714fec.zip
ArmPkg/CpuDxe: Moved memory mapping functions that are not architecture specific to 'CpuMmuCommon.c'
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14482 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Drivers/CpuDxe/CpuDxe.h')
-rw-r--r--ArmPkg/Drivers/CpuDxe/CpuDxe.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/ArmPkg/Drivers/CpuDxe/CpuDxe.h b/ArmPkg/Drivers/CpuDxe/CpuDxe.h
index 6349d8087f..7f59ca653c 100644
--- a/ArmPkg/Drivers/CpuDxe/CpuDxe.h
+++ b/ArmPkg/Drivers/CpuDxe/CpuDxe.h
@@ -1,6 +1,7 @@
/** @file
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
+ Copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -139,6 +140,23 @@ PublishArmProcessorTable(
VOID
);
+EFI_STATUS
+SetMemoryAttributes (
+ IN EFI_PHYSICAL_ADDRESS BaseAddress,
+ IN UINT64 Length,
+ IN UINT64 Attributes,
+ IN EFI_PHYSICAL_ADDRESS VirtualMask
+ );
+
+EFI_STATUS
+SetGcdMemorySpaceAttributes (
+ IN EFI_GCD_MEMORY_SPACE_DESCRIPTOR *MemorySpaceMap,
+ IN UINTN NumberOfDescriptors,
+ IN EFI_PHYSICAL_ADDRESS BaseAddress,
+ IN UINT64 Length,
+ IN UINT64 Attributes
+ );
+
extern VIRTUAL_UNCACHED_PAGES_PROTOCOL gVirtualUncachedPages;
#endif // __CPU_DXE_ARM_EXCEPTION_H__