]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbBoot.asm
ArmPlatformPkg: Fix builds
[mirror_edk2.git] / ArmPlatformPkg / ArmRealViewEbPkg / Library / ArmRealViewEbLibRTSM / ArmRealViewEbBoot.asm
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 <AsmMacroIoLib.h>
15 #include <Base.h>
16 #include <Library/ArmPlatformLib.h>
17 #include <ArmPlatform.h>
18 #include <AutoGen.h>
19
20 INCLUDE AsmMacroIoLib.inc
21
22 EXPORT ArmPlatformInitializeBootMemory
23
24 PRESERVE8
25 AREA CTA9x4BootMode, CODE, READONLY
26
27 /**
28 Initialize the memory where the initial stacks will reside
29
30 This memory can contain the initial stacks (Secure and Secure Monitor stacks).
31 In some platform, this region is already initialized and the implementation of this function can
32 do nothing. This memory can also represent the Secure RAM.
33 This function is called before the satck has been set up. Its implementation must ensure the stack
34 pointer is not used (probably required to use assembly language)
35
36 **/
37 ArmPlatformInitializeBootMemory
38 // The SMC does not need to be initialized for RTSM
39 bx lr