2019-06-08 02:41:06 +02:00
|
|
|
#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;
|
|
|
|
|
2019-06-12 13:52:49 +02:00
|
|
|
void GPUInterruptSyncpt(const u32 syncpoint_id, const u32 value);
|
2019-06-08 02:41:06 +02:00
|
|
|
|
|
|
|
private:
|
|
|
|
Core::System& system;
|
|
|
|
Core::Timing::EventType* gpu_interrupt_event{};
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Core::Hardware
|