Added GSP services

This commit is contained in:
wheremyfoodat 2022-09-18 16:38:10 +03:00
parent 818ade660d
commit a56b67f3ba
9 changed files with 96 additions and 5 deletions

View file

@ -0,0 +1,16 @@
#pragma once
#include "helpers.hpp"
#include "kernel_types.hpp"
#include "memory.hpp"
class GPUService {
Handle handle = KernelHandles::GPU;
Memory& mem;
// Service commands
public:
GPUService(Memory& mem) : mem(mem) {}
void reset();
void handleSyncRequest(u32 messagePointer);
};