void cellPad_init() { REG_FUNC(sys_io, cellPadInit); REG_FUNC(sys_io, cellPadEnd); REG_FUNC(sys_io, cellPadClearBuf); REG_FUNC(sys_io, cellPadGetData); REG_FUNC(sys_io, cellPadGetRawData); // REG_FUNC(sys_io, cellPadGetDataExtra); REG_FUNC(sys_io, cellPadSetActDirect); REG_FUNC(sys_io, cellPadGetInfo); // REG_FUNC(sys_io, cellPadGetInfo2); REG_FUNC(sys_io, cellPadPeriphGetInfo); REG_FUNC(sys_io, cellPadPeriphGetData); REG_FUNC(sys_io, cellPadSetPortSetting); REG_FUNC(sys_io, cellPadInfoPressMode); // REG_FUNC(sys_io, cellPadInfoSensorMode); // REG_FUNC(sys_io, cellPadSetPressMode); // REG_FUNC(sys_io, cellPadSetSensorMode); // REG_FUNC(sys_io, cellPadGetCapabilityInfo); // REG_FUNC(sys_io, cellPadLddRegisterController); REG_FUNC(sys_io, cellPadLddDataInsert); REG_FUNC(sys_io, cellPadLddGetPortNo); REG_FUNC(sys_io, cellPadLddUnregisterController); REG_FNID(sys_io, 0x3733EA3C, sys_io_3733EA3C); }
#include "stdafx.h" #include "Emu/System.h" #include "Emu/Cell/PPUModule.h" #include "Emu/Cell/PPUOpcodes.h" namespace vm { using namespace ps3; } logs::channel sys_libc("sys_libc"); void sys_libc_memcpy(vm::ptr<void> dst, vm::cptr<void> src, u32 size) { sys_libc.trace("memcpy(dst=*0x%x, src=*0x%x, size=0x%x)", dst, src, size); ::memcpy(dst.get_ptr(), src.get_ptr(), size); } DECLARE(ppu_module_manager::sys_libc)("sys_libc", []() { REG_FNID(sys_libc, "memcpy", sys_libc_memcpy); });
REG_FUNC(cellSysutil, _ZN4cxml8Document13CreateElementEPKciPNS_7ElementE); REG_FUNC(cellSysutil, _ZN4cxml8Document14SetHeaderMagicEPKc); REG_FUNC(cellSysutil, _ZN4cxml8Document16CreateFromBufferEPKvjb); REG_FUNC(cellSysutil, _ZN4cxml8Document18GetDocumentElementEv); REG_FUNC(cellSysutil, _ZNK4cxml4File7GetAddrEv); REG_FUNC(cellSysutil, _ZNK4cxml7Element12GetAttributeEPKcPNS_9AttributeE); REG_FUNC(cellSysutil, _ZNK4cxml7Element13GetFirstChildEv); REG_FUNC(cellSysutil, _ZNK4cxml7Element14GetNextSiblingEv); REG_FUNC(cellSysutil, _ZNK4cxml9Attribute6GetIntEPi); REG_FUNC(cellSysutil, _ZNK4cxml9Attribute7GetFileEPNS_4FileE); REG_FUNC(cellSysutil, _ZN8cxmlutil6SetIntERKN4cxml7ElementEPKci); REG_FUNC(cellSysutil, _ZN8cxmlutil6GetIntERKN4cxml7ElementEPKcPi); REG_FUNC(cellSysutil, _ZN8cxmlutil7SetFileERKN4cxml7ElementEPKcRKNS0_4FileE); REG_FUNC(cellSysutil, _ZN8cxmlutil8GetFloatERKN4cxml7ElementEPKcPf); REG_FUNC(cellSysutil, _ZN8cxmlutil9GetStringERKN4cxml7ElementEPKcPS5_Pj); REG_FUNC(cellSysutil, _ZN8cxmlutil9SetStringERKN4cxml7ElementEPKcS5_); REG_FUNC(cellSysutil, _ZN8cxmlutil16CheckElementNameERKN4cxml7ElementEPKc); REG_FUNC(cellSysutil, _ZN8cxmlutil16FindChildElementERKN4cxml7ElementEPKcS5_S5_); REG_FUNC(cellSysutil, _ZN8cxmlutil7GetFileERKN4cxml7ElementEPKcPNS0_4FileE); REG_FUNC(cellSysutil, _ZN16sysutil_cxmlutil11FixedMemory3EndEi); REG_FUNC(cellSysutil, _ZN16sysutil_cxmlutil11FixedMemory5BeginEi); REG_FUNC(cellSysutil, _ZN16sysutil_cxmlutil11FixedMemory8AllocateEN4cxml14AllocationTypeEPvS3_jPS3_Pj); REG_FUNC(cellSysutil, _ZN16sysutil_cxmlutil12PacketWriter5WriteEPKvjPv); REG_FUNC(cellSysutil, _ZN16sysutil_cxmlutil12PacketWriterC1EiiRN4cxml8DocumentE); REG_FNID(cellSysutil, 0xE1EC7B6A, cellSysutil_E1EC7B6A); });
UNIMPLEMENTED_FUNC(cellSysmodule); return CELL_OK; } s32 cellSysmodule_D9B8C0EE() { UNIMPLEMENTED_FUNC(cellSysmodule); return CELL_OK; } s32 cellSysmodule_1A267F98() { UNIMPLEMENTED_FUNC(cellSysmodule); return CELL_OK; } DECLARE(ppu_module_manager::cellSysmodule)("cellSysmodule", []() { REG_FUNC(cellSysmodule, cellSysmoduleInitialize); REG_FUNC(cellSysmodule, cellSysmoduleFinalize); REG_FUNC(cellSysmodule, cellSysmoduleSetMemcontainer); REG_FUNC(cellSysmodule, cellSysmoduleLoadModule); REG_FUNC(cellSysmodule, cellSysmoduleUnloadModule); REG_FUNC(cellSysmodule, cellSysmoduleIsLoaded); REG_FUNC(cellSysmodule, cellSysmoduleGetImagesize); REG_FUNC(cellSysmodule, cellSysmoduleFetchImage); REG_FNID(cellSysmodule, 0xB498BF77, cellSysmodule_B498BF77); REG_FNID(cellSysmodule, 0xD9B8C0EE, cellSysmodule_D9B8C0EE); REG_FNID(cellSysmodule, 0x1A267F98, cellSysmodule_1A267F98); });
extern void sysPrxForUser_sys_ppu_thread_init(); extern void sysPrxForUser_sys_prx_init(); extern void sysPrxForUser_sys_heap_init(); extern void sysPrxForUser_sys_spinlock_init(); extern void sysPrxForUser_sys_mmapper_init(); extern void sysPrxForUser_sys_mempool_init(); extern void sysPrxForUser_sys_spu_init(); extern void sysPrxForUser_sys_game_init(); extern void sysPrxForUser_sys_libc_init(); extern void sysPrxForUser_sys_rsxaudio_init(); DECLARE(ppu_module_manager::sysPrxForUser)("sysPrxForUser", []() { static ppu_static_module cellGamePs1Emu("cellGamePs1Emu", []() { REG_FNID(cellGamePs1Emu, 0x61CE2BCD, cellGamePs1Emu_61CE2BCD); }); static ppu_static_module cellSysconfPs1emu("cellSysconfPs1emu", []() { REG_FNID(cellSysconfPs1emu, 0x639ABBDE, cellSysconfPs1emu_639ABBDE); REG_FNID(cellSysconfPs1emu, 0x6A12D11F, cellSysconfPs1emu_6A12D11F); REG_FNID(cellSysconfPs1emu, 0x83E79A23, cellSysconfPs1emu_83E79A23); REG_FNID(cellSysconfPs1emu, 0xEFDDAF6C, cellSysconfPs1emu_EFDDAF6C); }); static ppu_static_module sys_lv2coredump("sys_lv2coredump", []() { REG_FNID(sys_lv2coredump, 0xD725F320, sys_lv2coredump_D725F320); });