mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-07 19:45:07 +02:00
SysCall: Fixed random crashes of QEMU.
This commit is contained in:
parent
c8ed0dc0c1
commit
8af0fd53c1
@ -112,6 +112,9 @@ ASM_FUNC(ArmCallRing3)
|
||||
ASM_FUNC(ReturnToCore)
|
||||
// Switch to Core Stack.
|
||||
mov sp, x1
|
||||
// Zero Exception Syndrome Register to prevent QEMU from random crashing.
|
||||
mov x1, #0
|
||||
msr esr_el1, x1
|
||||
// Restore Stack.
|
||||
ldp x29, x30, [sp]
|
||||
add sp, sp, #0x10
|
||||
|
Loading…
x
Reference in New Issue
Block a user