mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-22 21:24:35 +02:00
SysCall/AARCH64: Increased probability of QEMU's normal work.
This commit is contained in:
parent
8439ad67b4
commit
19f1211cd5
@ -107,6 +107,9 @@ ASM_FUNC(ArmCallRing3)
|
|||||||
ASM_FUNC(ReturnToCore)
|
ASM_FUNC(ReturnToCore)
|
||||||
// Zero Exception Syndrome Register to prevent QEMU from random crashing.
|
// Zero Exception Syndrome Register to prevent QEMU from random crashing.
|
||||||
msr esr_el1, xzr
|
msr esr_el1, xzr
|
||||||
|
msr spsr_el1, xzr
|
||||||
|
msr elr_el1, xzr
|
||||||
|
msr far_el1, xzr
|
||||||
// Switch to Core Stack.
|
// Switch to Core Stack.
|
||||||
mov sp, x1
|
mov sp, x1
|
||||||
// Restore Stack.
|
// Restore Stack.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user