mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
ps5: collect type of process and firmware
add initial gc and dce ioctls implementation
This commit is contained in:
parent
ffe2837915
commit
b6556e83ee
11 changed files with 297 additions and 41 deletions
|
|
@ -44,6 +44,12 @@ struct NamedMemoryRange {
|
|||
}
|
||||
};
|
||||
|
||||
enum class ProcessType : std::uint8_t {
|
||||
FreeBsd,
|
||||
Ps4,
|
||||
Ps5,
|
||||
};
|
||||
|
||||
struct Process final {
|
||||
KernelContext *context = nullptr;
|
||||
pid_t pid = -1;
|
||||
|
|
@ -54,6 +60,7 @@ struct Process final {
|
|||
Process *parentProcess = nullptr;
|
||||
shared_mutex mtx;
|
||||
int vmId = -1;
|
||||
ProcessType type = ProcessType::FreeBsd;
|
||||
void (*onSysEnter)(Thread *thread, int id, uint64_t *args,
|
||||
int argsCount) = nullptr;
|
||||
void (*onSysExit)(Thread *thread, int id, uint64_t *args, int argsCount,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue