From 8fc38a3f50915b6b11b48f830f6c7b091dbb35d8 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Thu, 22 Sep 2011 23:11:03 +0000 Subject: ArmPlatformPkg: Introduce ArmPlatformGlobalVariableLib This library hides where the 'XIP' Global Variable are located in the memory. It is expected the Sec/PrePi modules define the Global Variable area through the GlobalVariable HOB. The ArmPlatformGlobalVariableLib library allows access to global variables by their offsets in this region. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12420 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/PrePeiCore/PrePeiCore.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ArmPlatformPkg/PrePeiCore/PrePeiCore.h') diff --git a/ArmPlatformPkg/PrePeiCore/PrePeiCore.h b/ArmPlatformPkg/PrePeiCore/PrePeiCore.h index 05198b8290..08c5ebd031 100644 --- a/ArmPlatformPkg/PrePeiCore/PrePeiCore.h +++ b/ArmPlatformPkg/PrePeiCore/PrePeiCore.h @@ -15,7 +15,11 @@ #ifndef __PREPEICORE_H_ #define __PREPEICORE_H_ +#include +#include +#include #include +#include #include #include @@ -31,6 +35,11 @@ SecTemporaryRamSupport ( IN UINTN CopySize ); +EFI_STATUS +PrePeiCoreGetGlobalVariableMemory ( + OUT EFI_PHYSICAL_ADDRESS *GlobalVariableBase + ); + VOID SecSwitchStack ( INTN StackDelta -- cgit v1.2.3