]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/Library/ArmSmcPsciResetSystemLib/AArch64/Reset.S
ArmPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / ArmPkg / Library / ArmSmcPsciResetSystemLib / AArch64 / Reset.S
CommitLineData
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 <AsmMacroIoLibV8.h>
11
12ASM_FUNC(DisableMmuAndReenterPei)
13 stp x29, x30, [sp, #-16]!
14 mov x29, sp
15
16 bl ArmDisableMmu
17
18 // no memory accesses after MMU and caches have been disabled
19
20 MOV64 (x0, FixedPcdGet64 (PcdFvBaseAddress))
21 blr x0
22
23 // never returns
24 nop