Add some kernel-related HLE stubs for reporting.

This commit is contained in:
Unknown W. Brackets 2013-08-22 23:04:16 -07:00
parent cfbc64f50e
commit fca0af8e70
2 changed files with 37 additions and 0 deletions

View File

@ -128,14 +128,40 @@ const HLEFunction IoFileMgrForKernel[] =
{0xe3eb004c, 0, "sceIoDread"},
{0xeb092469, 0, "sceIoDclose"},
{0x109f50bc, 0, "sceIoOpen"},
{0x6a638d83, 0, "sceIoRead"},
{0x42ec03ac, 0, "sceIoWrite"},
{0x68963324, 0, "sceIoLseek32"},
{0x27eb27b8, 0, "sceIoLseek"},
{0x810c4bc3, 0, "sceIoClose"},
{0x779103a0, 0, "sceIoRename"},
{0xf27a9c51, 0, "sceIoRemove"},
{0x55f4717d, 0, "sceIoChdir"},
{0x06a70004, 0, "sceIoMkdir"},
{0x1117c65f, 0, "sceIoRmdir"},
{0x54f5fb11, 0, "sceIoDevctl"},
{0x63632449, 0, "sceIoIoctl"},
{0xab96437f, 0, "sceIoSync"},
{0xb2a628c1, 0, "sceIoAssign"},
{0x6d08a871, 0, "sceIoUnassign"},
{0xace946e8, 0, "sceIoGetstat"},
{0xb8a740f4, 0, "sceIoChstat"},
{0xa0b5a7c2, 0, "sceIoReadAsync"},
{0x3251ea56, 0, "sceIoPollAsync"},
{0xe23eec33, 0, "sceIoWaitAsync"},
{0x35dbd746, 0, "sceIoWaitAsyncCB"},
{0xbd17474f, 0, "IoFileMgrForKernel_BD17474F"},
{0x76da16e3, 0, "IoFileMgrForKernel_76DA16E3"},
};
const HLEFunction StdioForKernel[] =
{
{0x98220F3E, 0, "sceKernelStdoutReopen"},
{0xFB5380C5, 0, "sceKernelStderrReopen"},
{0xcab439df, 0, "printf"},
{0x2CCF071A, 0, "fdprintf"},
{0xd97c8cb9, 0, "puts"},
{0x172D316E, 0, "sceKernelStdin"},
{0xA6BAB2E9, 0, "sceKernelStdout"},
{0xF78BA90A, 0, "sceKernelStderr"},
};
const HLEFunction LoadCoreForKernel[] =
{
@ -169,6 +195,7 @@ const HLEFunction LoadCoreForKernel[] =
{0x82CE54ED, 0, "sceKernelModuleCount"},
{0xC0584F0C, 0, "sceKernelGetModuleList"},
{0xCF8A41B1, WrapU_C<sceKernelFindModuleByName>,"sceKernelFindModuleByName"},
{0xb95fa50d, 0, "LoadCoreForKernel_B95FA50D"},
};

View File

@ -866,11 +866,21 @@ const HLEFunction UtilsForKernel[] = {
{0x78934841, 0, "sceKernelGzipDecompress"},
{0xe8db3ce6, 0, "sceKernelDeflateDecompress"},
{0x840259f1, 0, "sceKernelUtilsSha1Digest"},
{0x9e5c5086, 0, "sceKernelUtilsMd5BlockInit"},
{0x61e1e525, 0, "sceKernelUtilsMd5BlockUpdate"},
{0xb8d24e78, 0, "sceKernelUtilsMd5BlockResult"},
{0xc8186a58, 0, "sceKernelUtilsMd5Digest"},
{0x6c6887ee, 0, "UtilsForKernel_6C6887EE"},
{0x91e4f6a7, 0, "sceKernelLibcClock"},
{0x27cc57f0, 0, "sceKernelLibcTime"},
{0x79d1c3fa, 0, "sceKernelDcacheWritebackAll"},
{0x3ee30821, 0, "sceKernelDcacheWritebackRange"},
{0x34b9fa9e, 0, "sceKernelDcacheWritebackInvalidateRange"},
{0xb435dec5, 0, "sceKernelDcacheWritebackInvalidateAll"},
{0xbfa98062, 0, "sceKernelDcacheInvalidateRange"},
{0x920f104a, 0, "sceKernelIcacheInvalidateAll"},
{0xe860e75e, 0, "sceKernelUtilsMt19937Init"},
{0x06fb8a63, 0, "sceKernelUtilsMt19937UInt"},
};