diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-08 02:41:06 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-07-05 21:49:14 +0200 |
commit | 8942047d419f6d2d0c56adad689fbf3bcd4d2961 (patch) | |
tree | aa2dd5b6aeef25c9fd5543a2a4ef267a7152b052 /src/core/hardware_interrupt_manager.h | |
parent | nv_services: Implement NvQueryEvent, NvCtrlEventWait, NvEventRegister, NvEventUnregister (diff) | |
download | yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.tar yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.tar.gz yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.tar.bz2 yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.tar.lz yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.tar.xz yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.tar.zst yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.zip |
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 @@ +#pragma once + +#include "common/common_types.h" +#include "core/core_timing.h" + +namespace Core { +class System; +} + +namespace Core::Hardware { + +class InterruptManager { +public: + InterruptManager(Core::System& system); + ~InterruptManager() = default; + + void InterruptGPU(const u32 event_index); + +private: + Core::System& system; + Core::Timing::EventType* gpu_interrupt_event{}; +}; + +} // namespace Core::Hardware |