mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-14 16:05:48 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a9b95c2f20 |
@@ -369,8 +369,8 @@ void ArmNce::SetContext(const Kernel::Svc::ThreadContext& ctx) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ArmNce::SignalInterrupt(Kernel::KThread* thread) {
|
void ArmNce::SignalInterrupt(Kernel::KThread* thread) {
|
||||||
// Add break loop condition.
|
constexpr u64 break_loop = static_cast<u64>(HaltReason::BreakLoop);
|
||||||
m_guest_ctx.esr_el1.fetch_or(static_cast<u64>(HaltReason::BreakLoop));
|
if ((m_guest_ctx.esr_el1.fetch_or(break_loop) & break_loop) != 0) return;
|
||||||
|
|
||||||
auto* params = &thread->GetNativeExecutionParameters();
|
auto* params = &thread->GetNativeExecutionParameters();
|
||||||
LockThreadParameters(params);
|
LockThreadParameters(params);
|
||||||
|
|||||||
Reference in New Issue
Block a user