summaryrefslogtreecommitdiffstats
path: root/src/core/hardware_interrupt_manager.h
blob: 590392f75f24ab91b0dcffa33ced2207f35d54ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 GPUInterruptSyncpt(const u32 syncpoint_id, const u32 value);

private:
    Core::System& system;
    Core::Timing::EventType* gpu_interrupt_event{};
};

} // namespace Core::Hardware