Merge pull request #12236 from liamwhite/cpu-refactor

core: refactor emulated cpu core activation
This commit is contained in:
Fernando S
2023-12-06 14:19:17 +01:00
committed by GitHub
47 changed files with 2982 additions and 3332 deletions

View File

@ -280,7 +280,7 @@ void Patcher::WriteSvcTrampoline(ModuleDestLabel module_dest, u32 svc_id) {
// Store SVC number to execute when we return
c.MOV(X2, svc_id);
c.STR(W2, X1, offsetof(GuestContext, svc_swi));
c.STR(W2, X1, offsetof(GuestContext, svc));
// We are calling a SVC. Clear esr_el1 and return it.
static_assert(std::is_same_v<std::underlying_type_t<HaltReason>, u64>);