summaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r--src/core/arm/arm_interface.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h
index cb2e640e2..87a1c29cc 100644
--- a/src/core/arm/arm_interface.h
+++ b/src/core/arm/arm_interface.h
@@ -18,11 +18,13 @@ enum class VMAPermission : u8;
18 18
19namespace Core { 19namespace Core {
20class System; 20class System;
21class CPUInterruptHandler;
21 22
22/// Generic ARMv8 CPU interface 23/// Generic ARMv8 CPU interface
23class ARM_Interface : NonCopyable { 24class ARM_Interface : NonCopyable {
24public: 25public:
25 explicit ARM_Interface(System& system_) : system{system_} {} 26 explicit ARM_Interface(System& system_, CPUInterruptHandler& interrupt_handler)
27 : system{system_}, interrupt_handler{interrupt_handler} {}
26 virtual ~ARM_Interface() = default; 28 virtual ~ARM_Interface() = default;
27 29
28 struct ThreadContext32 { 30 struct ThreadContext32 {
@@ -175,6 +177,7 @@ public:
175protected: 177protected:
176 /// System context that this ARM interface is running under. 178 /// System context that this ARM interface is running under.
177 System& system; 179 System& system;
180 CPUInterruptHandler& interrupt_handler;
178}; 181};
179 182
180} // namespace Core 183} // namespace Core