aboutsummaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.h
diff options
context:
space:
mode:
authormerry <git@mary.rs>2022-04-03 16:29:05 +0100
committermerry <git@mary.rs>2022-04-03 16:39:48 +0100
commitf8b8af47ad9d414ce19c4801d702a6c52ae6e82e (patch)
tree82c0d1add6ea0cb37f9cb3d4ed26cc1860611eb2 /src/core/arm/arm_interface.h
parent51a8dd49193a7270413c2f0dc447dd3430b63379 (diff)
dynarmic: Better interrupts
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r--src/core/arm/arm_interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h
index c60322442..dce2f4195 100644
--- a/src/core/arm/arm_interface.h
+++ b/src/core/arm/arm_interface.h
@@ -171,6 +171,9 @@ public:
/// Prepare core for thread reschedule (if needed to correctly handle state)
virtual void PrepareReschedule() = 0;
+ /// Signal an interrupt and ask the core to halt as soon as possible.
+ virtual void SignalInterrupt() = 0;
+
struct BacktraceEntry {
std::string module;
u64 address;