]>
Commit | Line | Data |
---|---|---|
6556224e AB |
1 | ;/** @file |
2 | ; ResetSystemLib implementation using PSCI calls | |
3 | ; | |
4 | ; Copyright (c) 2018, Linaro Ltd. All rights reserved.<BR> | |
5 | ; | |
4059386c | 6 | ; SPDX-License-Identifier: BSD-2-Clause-Patent |
6556224e AB |
7 | ; |
8 | ;**/ | |
9 | ||
10 | INCLUDE AsmMacroExport.inc | |
11 | PRESERVE8 | |
12 | ||
13 | IMPORT ArmDisableMmu | |
14 | ||
15 | RVCT_ASM_EXPORT DisableMmuAndReenterPei | |
16 | push {lr} | |
17 | ||
18 | bl ArmDisableMmu | |
19 | ||
20 | ; no memory accesses after MMU and caches have been disabled | |
21 | ||
22 | mov32 r0, FixedPcdGet64 (PcdFvBaseAddress) | |
23 | blx r0 | |
24 | ||
25 | ; never returns | |
26 | nop | |
27 | ||
28 | END |