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