diff options
| author | 2019-06-07 20:41:06 -0400 | |
|---|---|---|
| committer | 2019-07-05 15:49:14 -0400 | |
| commit | 8942047d419f6d2d0c56adad689fbf3bcd4d2961 (patch) | |
| tree | aa2dd5b6aeef25c9fd5543a2a4ef267a7152b052 /src/core/core.h | |
| parent | nv_services: Implement NvQueryEvent, NvCtrlEventWait, NvEventRegister, NvEven... (diff) | |
| download | yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.tar.gz yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.tar.xz yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.zip | |
Gpu: Implement Hardware Interrupt Manager and manage GPU interrupts
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index 70adb7af9..53e6fdb7b 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -66,6 +66,10 @@ namespace Core::Timing { | |||
| 66 | class CoreTiming; | 66 | class CoreTiming; |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | namespace Core::Hardware { | ||
| 70 | class InterruptManager; | ||
| 71 | } | ||
| 72 | |||
| 69 | namespace Core { | 73 | namespace Core { |
| 70 | 74 | ||
| 71 | class ARM_Interface; | 75 | class ARM_Interface; |
| @@ -230,6 +234,12 @@ public: | |||
| 230 | /// Provides a constant reference to the core timing instance. | 234 | /// Provides a constant reference to the core timing instance. |
| 231 | const Timing::CoreTiming& CoreTiming() const; | 235 | const Timing::CoreTiming& CoreTiming() const; |
| 232 | 236 | ||
| 237 | /// Provides a reference to the interrupt manager instance. | ||
| 238 | Core::Hardware::InterruptManager& InterruptManager(); | ||
| 239 | |||
| 240 | /// Provides a constant reference to the interrupt manager instance. | ||
| 241 | const Core::Hardware::InterruptManager& InterruptManager() const; | ||
| 242 | |||
| 233 | /// Provides a reference to the kernel instance. | 243 | /// Provides a reference to the kernel instance. |
| 234 | Kernel::KernelCore& Kernel(); | 244 | Kernel::KernelCore& Kernel(); |
| 235 | 245 | ||