mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-02-07 08:14:39 +01:00
24 lines
562 B
C++
24 lines
562 B
C++
#pragma once
|
|
|
|
namespace vm { using namespace ps3; }
|
|
|
|
class PPUThread;
|
|
|
|
struct lv2_int_handler_t
|
|
{
|
|
std::shared_ptr<CPUThread> handler;
|
|
|
|
lv2_int_handler_t(const std::shared_ptr<CPUThread>& handler)
|
|
: handler(handler)
|
|
{
|
|
}
|
|
};
|
|
|
|
REG_ID_TYPE(lv2_int_handler_t, 0x0B); // SYS_INTR_SERVICE_HANDLE_OBJECT
|
|
|
|
// SysCalls
|
|
s32 sys_interrupt_tag_destroy(u32 intrtag);
|
|
s32 sys_interrupt_thread_establish(vm::ptr<u32> ih, u32 intrtag, u64 intrthread, u64 arg);
|
|
s32 _sys_interrupt_thread_disestablish(u32 ih, vm::ptr<u64> r13);
|
|
void sys_interrupt_thread_eoi(PPUThread& CPU);
|