diff options
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/core/core.h b/src/core/core.h index 0ce3b1d60..7843cc8ad 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -74,6 +74,9 @@ class TimeManager; | |||
| 74 | namespace Tegra { | 74 | namespace Tegra { |
| 75 | class DebugContext; | 75 | class DebugContext; |
| 76 | class GPU; | 76 | class GPU; |
| 77 | namespace Host1x { | ||
| 78 | class Host1x; | ||
| 79 | } // namespace Host1x | ||
| 77 | } // namespace Tegra | 80 | } // namespace Tegra |
| 78 | 81 | ||
| 79 | namespace VideoCore { | 82 | namespace VideoCore { |
| @@ -88,10 +91,6 @@ namespace Core::Timing { | |||
| 88 | class CoreTiming; | 91 | class CoreTiming; |
| 89 | } | 92 | } |
| 90 | 93 | ||
| 91 | namespace Core::Hardware { | ||
| 92 | class InterruptManager; | ||
| 93 | } | ||
| 94 | |||
| 95 | namespace Core::HID { | 94 | namespace Core::HID { |
| 96 | class HIDCore; | 95 | class HIDCore; |
| 97 | } | 96 | } |
| @@ -260,6 +259,12 @@ public: | |||
| 260 | /// Gets an immutable reference to the GPU interface. | 259 | /// Gets an immutable reference to the GPU interface. |
| 261 | [[nodiscard]] const Tegra::GPU& GPU() const; | 260 | [[nodiscard]] const Tegra::GPU& GPU() const; |
| 262 | 261 | ||
| 262 | /// Gets a mutable reference to the Host1x interface | ||
| 263 | [[nodiscard]] Tegra::Host1x::Host1x& Host1x(); | ||
| 264 | |||
| 265 | /// Gets an immutable reference to the Host1x interface. | ||
| 266 | [[nodiscard]] const Tegra::Host1x::Host1x& Host1x() const; | ||
| 267 | |||
| 263 | /// Gets a mutable reference to the renderer. | 268 | /// Gets a mutable reference to the renderer. |
| 264 | [[nodiscard]] VideoCore::RendererBase& Renderer(); | 269 | [[nodiscard]] VideoCore::RendererBase& Renderer(); |
| 265 | 270 | ||
| @@ -296,12 +301,6 @@ public: | |||
| 296 | /// Provides a constant reference to the core timing instance. | 301 | /// Provides a constant reference to the core timing instance. |
| 297 | [[nodiscard]] const Timing::CoreTiming& CoreTiming() const; | 302 | [[nodiscard]] const Timing::CoreTiming& CoreTiming() const; |
| 298 | 303 | ||
| 299 | /// Provides a reference to the interrupt manager instance. | ||
| 300 | [[nodiscard]] Core::Hardware::InterruptManager& InterruptManager(); | ||
| 301 | |||
| 302 | /// Provides a constant reference to the interrupt manager instance. | ||
| 303 | [[nodiscard]] const Core::Hardware::InterruptManager& InterruptManager() const; | ||
| 304 | |||
| 305 | /// Provides a reference to the kernel instance. | 304 | /// Provides a reference to the kernel instance. |
| 306 | [[nodiscard]] Kernel::KernelCore& Kernel(); | 305 | [[nodiscard]] Kernel::KernelCore& Kernel(); |
| 307 | 306 | ||