diff options
Diffstat (limited to 'src/core/hardware_interrupt_manager.h')
| -rw-r--r-- | src/core/hardware_interrupt_manager.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/core/hardware_interrupt_manager.h b/src/core/hardware_interrupt_manager.h new file mode 100644 index 000000000..fc565c88b --- /dev/null +++ b/src/core/hardware_interrupt_manager.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "common/common_types.h" | ||
| 4 | #include "core/core_timing.h" | ||
| 5 | |||
| 6 | namespace Core { | ||
| 7 | class System; | ||
| 8 | } | ||
| 9 | |||
| 10 | namespace Core::Hardware { | ||
| 11 | |||
| 12 | class InterruptManager { | ||
| 13 | public: | ||
| 14 | InterruptManager(Core::System& system); | ||
| 15 | ~InterruptManager() = default; | ||
| 16 | |||
| 17 | void InterruptGPU(const u32 event_index); | ||
| 18 | |||
| 19 | private: | ||
| 20 | Core::System& system; | ||
| 21 | Core::Timing::EventType* gpu_interrupt_event{}; | ||
| 22 | }; | ||
| 23 | |||
| 24 | } // namespace Core::Hardware | ||