Fix InterruptFrames for aarch64

This commit is contained in:
EnderIce2 2024-02-20 18:07:02 +02:00
parent 495e75c649
commit 8fd29ff0a9
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -301,7 +301,7 @@ namespace Interrupts
#elif defined(a32) #elif defined(a32)
InterruptFrames[0] = (void *)Frame->eip; InterruptFrames[0] = (void *)Frame->eip;
#elif defined(aa64) #elif defined(aa64)
InterruptFrames[0] = (void *)Frame->elr_el1; InterruptFrames[0] = (void *)Frame->pc;
#endif #endif
CPUData *CoreData = GetCurrentCPU(); CPUData *CoreData = GetCurrentCPU();