mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-21 22:23:05 +00:00
exception: Fix EL1 exception return path
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
94a6b50684
commit
8a122f86c4
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ void exc_sync(u64 *regs)
|
|||
// Short-circuit the hypercall and handle the EL1 exception
|
||||
el12 = 1;
|
||||
msr(SPSR_EL2, mrs(SPSR_EL12));
|
||||
msr(ELR_EL2, mrs(ELR_EL12));
|
||||
elr = mrs(ELR_EL12);
|
||||
break;
|
||||
default:
|
||||
printf("Unknown HVC: 0x%x\n", imm);
|
||||
|
|
Loading…
Reference in a new issue