diff options
Diffstat (limited to 'ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S')
-rw-r--r-- | ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S b/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S index a81709d5d1..2069161b95 100644 --- a/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S +++ b/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S @@ -109,6 +109,9 @@ _PrepareArguments: // Ensure we're jumping to FV version of the code (not boot remapped alias)
ldr x4, =ASM_PFX(CEntryPoint)
+ // Set the frame pointer to NULL so any backtraces terminate here
+ mov x29, xzr
+
// Jump to PrePiCore C code
// x0 = MpId
// x1 = UefiMemoryBase
|