summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg/Include
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-22 23:02:13 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-22 23:02:13 +0000
commit44e272fd6ab9d7b859588eeffc02b8cd78d3c76b (patch)
tree15902212232da6b49e36cbf5888d21b1efe03c9f /ArmPlatformPkg/Include
parent0787bc6184631f20f8bf3b4abd61630a4a9bc672 (diff)
downloadedk2-platforms-44e272fd6ab9d7b859588eeffc02b8cd78d3c76b.tar.xz
ArmPlatformPkg/ArmPlatformLib: Introduce ArmPlatformSecBootAction function
This function is called at the initial stage of the Secure boot process to allow platform vendors to add early actions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12413 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/Include')
-rw-r--r--ArmPlatformPkg/Include/Library/ArmPlatformLib.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h
index 4ea640f0d2..b2667416e1 100644
--- a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h
+++ b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h
@@ -83,6 +83,20 @@ ArmPlatformGetBootMode (
);
/**
+ Call at the beginning of the platform boot up
+
+ This function allows the firmware platform to do extra actions at the early
+ stage of the platform power up.
+
+ Note: This function must be implemented in assembler as there is no stack set up yet
+
+**/
+VOID
+ArmPlatformSecBootAction (
+ VOID
+ );
+
+/**
Initialize controllers that must setup at the early stage
Some peripherals must be initialized in Secure World.