diff options
Diffstat (limited to 'src/core/arm/arm_interface.h')
| -rw-r--r-- | src/core/arm/arm_interface.h | 5 |
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 | ||
| 19 | namespace Core { | 19 | namespace Core { |
| 20 | class System; | 20 | class System; |
| 21 | class CPUInterruptHandler; | ||
| 21 | 22 | ||
| 22 | /// Generic ARMv8 CPU interface | 23 | /// Generic ARMv8 CPU interface |
| 23 | class ARM_Interface : NonCopyable { | 24 | class ARM_Interface : NonCopyable { |
| 24 | public: | 25 | public: |
| 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: | |||
| 175 | protected: | 177 | protected: |
| 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 |