mirror of
https://github.com/ran-j/PS2Recomp.git
synced 2026-10-05 11:38:24 -04:00
93e221feaa
* feat: remove memory and pad from stub section * feat: add support for resume entry targets in CodeGenerator (this allow jumps in address outside function) feat: refactor entry point discovery one more try to reduce big generated file * feat: optmizations for release build * feat: remove unused file * feat: added some test cases for code gen * feat: added log macro and remove win specific code * feat: refactor runtime folder structure feat: added reset sound driver RPC state and compatibility layout feat: rename and added new test feat: update RPC calls to use defined constants feat: added more PSMC(16, 32) feat: change cd read to try find the asset ignoring case sensitive fix: fix some render problems feat: add logs on pad feat: added more RPC handles * feat: added game override for code veronica * feat: apply vita patch * feat: flags to disable build * feat: fix merges feat: break a lot of tests * feat: better throw error on empty cd path feat: remove recompiler unusde function feat: apply missing patch * feat: gamedp is now part of lib feat: missing file * feat: small cleanup * feat: missing vita changes * feat: fix more merge * feat: fix tests * feat: last missing feature * feat: added missing import * feat: rename test local functions * feat: init syscall on ps2 list * feat: added DMA helpers * feat: faster builds feat: more implement for darkcloud * feat: back missing file * feat: added missing includes * feat: remove test * feat: missing include * feat: read register funtion * feat: build fix * feat: force exit on detach thread
58 lines
4.1 KiB
C++
58 lines
4.1 KiB
C++
#pragma once
|
|
|
|
#include "ps2_stubs.h"
|
|
|
|
namespace ps2_stubs
|
|
{
|
|
void sceSifCmdIntrHdlr(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifLoadModule(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifSendCmd(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void resetSifState();
|
|
void sceSifAddCmdHandler(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifAllocIopHeap(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifAllocSysMemory(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifBindRpc(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifCheckStatRpc(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifDmaStat(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifExecRequest(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifExitCmd(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifExitRpc(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifFreeIopHeap(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifFreeSysMemory(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifGetDataTable(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifGetIopAddr(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifGetNextRequest(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifGetOtherData(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifGetReg(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifGetSreg(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifInitCmd(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifInitIopHeap(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifInitRpc(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifIsAliveIop(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifLoadElf(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifLoadElfPart(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifLoadFileReset(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifLoadIopHeap(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifLoadModuleBuffer(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifRebootIop(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifRegisterRpc(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifRemoveCmdHandler(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifRemoveRpc(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifRemoveRpcQueue(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifResetIop(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifRpcLoop(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifSetCmdBuffer(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void isceSifSetDChain(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void isceSifSetDma(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifSetDChain(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifSetDma(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifSetIopAddr(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifSetReg(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifSetRpcQueue(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifSetSreg(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifSetSysCmdBuffer(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifStopDma(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifSyncIop(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
void sceSifWriteBackDCache(uint8_t *rdram, R5900Context *ctx, PS2Runtime *runtime);
|
|
}
|