Gpu: Implement Hardware Interrupt Manager and manage GPU interrupts

This commit is contained in:
Fernando Sahmkow 2019-06-07 20:41:06 -04:00 committed by FernandoS27
parent e0027eba85
commit 8942047d41
13 changed files with 90 additions and 13 deletions

View file

@ -238,9 +238,7 @@ public:
virtual void FlushAndInvalidateRegion(CacheAddr addr, u64 size) = 0;
protected:
virtual void TriggerCpuInterrupt(const u32 event_id) const {
// Todo implement this
}
virtual void TriggerCpuInterrupt(const u32 event_id) const = 0;
private:
void ProcessBindMethod(const MethodCall& method_call);
@ -260,6 +258,7 @@ private:
protected:
std::unique_ptr<Tegra::DmaPusher> dma_pusher;
VideoCore::RendererBase& renderer;
Core::System& system;
private:
std::unique_ptr<Tegra::MemoryManager> memory_manager;