]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/RTSMBoot.S
ArmPkg/ArmGicLib: Replaced 'ArmGicAcknowledgeSgiFrom' by 'ArmGicAcknowledgeInterrupt'
[mirror_edk2.git] / ArmPlatformPkg / ArmVExpressPkg / Library / ArmVExpressLibRTSM / RTSMBoot.S
CommitLineData
1ddb209e 1//\r
2// Copyright (c) 2011, ARM Limited. All rights reserved.\r
3//\r
4// This program and the accompanying materials\r
5// are licensed and made available under the terms and conditions of the BSD License\r
6// which accompanies this distribution. The full text of the license may be found at\r
7// http://opensource.org/licenses/bsd-license.php\r
8//\r
9// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11//\r
12//\r
13\r
14#include <AsmMacroIoLib.h>\r
15#include <Base.h>\r
16#include <Library/ArmPlatformLib.h>\r
17#include <AutoGen.h>\r
18#include <ArmPlatform.h>\r
19\r
20.text\r
21.align 3\r
22\r
23GCC_ASM_EXPORT(ArmPlatformSecBootAction)\r
24GCC_ASM_EXPORT(ArmPlatformInitializeBootMemory)\r
25\r
26/**\r
27 Call at the beginning of the platform boot up\r
28\r
29 This function allows the firmware platform to do extra actions at the early\r
30 stage of the platform power up.\r
31\r
32 Note: This function must be implemented in assembler as there is no stack set up yet\r
33\r
34**/\r
35ASM_PFX(ArmPlatformSecBootAction):\r
36 bx lr\r
37\r
38/**\r
39 Initialize the memory where the initial stacks will reside\r
40\r
41 This memory can contain the initial stacks (Secure and Secure Monitor stacks).\r
42 In some platform, this region is already initialized and the implementation of this function can\r
43 do nothing. This memory can also represent the Secure RAM.\r
44 This function is called before the satck has been set up. Its implementation must ensure the stack\r
45 pointer is not used (probably required to use assembly language)\r
46\r
47**/\r
48ASM_PFX(ArmPlatformInitializeBootMemory):\r
49 // The SMC does not need to be initialized for RTSM\r
50 bx lr\r