Additional NIDs for sysmem + update rtc stub file

This commit is contained in:
Arthur Blot 2021-03-22 23:06:58 +01:00
parent 60966d6a2c
commit a486de3d36
5 changed files with 39 additions and 39 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -244,7 +244,7 @@ PSP_EXPORT_END
PSP_EXPORT_START(UtilsForUser, 0x0011, 0x4001)
PSP_EXPORT_FUNC_NID(sceKernelL1DcacheWritebackRange, 0x004D4DEE)
PSP_EXPORT_FUNC_NID(sceKernelUtilsMt19937UInt, 0x06FB8A63)
PSP_EXPORT_FUNC_NID(UtilsForUser_0939D45C, 0x0939D45C)
PSP_EXPORT_FUNC_NID(sceKernelL2cacheWritebackAll, 0x0939D45C)
PSP_EXPORT_FUNC_NID(sceKernelL1DcacheInvalidateRangeForUser, 0x157A383A)
# sceKernelDcacheReadTag
PSP_EXPORT_FUNC_NID(sceKernelDcacheReadTagForUser, 0x16641D70)
@ -257,14 +257,14 @@ PSP_EXPORT_FUNC_NID(sceKernelGetPTRIG, 0x39F49610)
PSP_EXPORT_FUNC_NID(sceKernelDcacheWritebackRange, 0x3EE30821)
PSP_EXPORT_FUNC_NID(sceKernelL1DcacheWritebackAll, 0x3FD3D324)
PSP_EXPORT_FUNC_NID(sceKernelL1IcacheInvalidateRangeForUser, 0x43C9A8DB)
PSP_EXPORT_FUNC_NID(UtilsForUser_485E430A, 0x485E430A)
PSP_EXPORT_FUNC_NID(sceKernelL2cacheWritebackInvalidateAll, 0x485E430A)
PSP_EXPORT_FUNC_NID(sceKernelIcacheProbe, 0x4FD31C9D)
# sceKernelL1DcacheReadTag
PSP_EXPORT_FUNC_NID(sceKernelDcacheReadTagForUser, 0x515B4FAF)
PSP_EXPORT_FUNC_NID(sceKernelUtilsSha1BlockResult, 0x585F1C09)
# sceKernelL1IcacheReadTag
PSP_EXPORT_FUNC_NID(sceKernelIcacheReadTagForUser, 0x5C7F2B1A)
PSP_EXPORT_FUNC_NID(UtilsForUser_601E43E6, 0x601E43E6)
PSP_EXPORT_FUNC_NID(sceKernelL2cacheWritebackRange, 0x601E43E6)
PSP_EXPORT_FUNC_NID(sceKernelUtilsMd5BlockUpdate, 0x61E1E525)
PSP_EXPORT_FUNC_NID(sceKernelSetPTRIG, 0x6231A71D)
PSP_EXPORT_FUNC_NID(sceKernelSetGPO, 0x6AD345D7)
@ -273,7 +273,7 @@ PSP_EXPORT_FUNC_NID(sceKernelL1IcacheInvalidateAll, 0x7333E539)
PSP_EXPORT_FUNC_NID(sceKernelL1DcacheProbe, 0x740DF7F0)
PSP_EXPORT_FUNC_NID(sceKernelDcacheProbeRange, 0x77DFF087)
PSP_EXPORT_FUNC_NID(sceKernelDcacheWritebackAll, 0x79D1C3FA)
PSP_EXPORT_FUNC_NID(UtilsForUser_7C5DC253, 0x7C5DC253)
PSP_EXPORT_FUNC_NID(sceKernelL2cacheWritebackInvalidateRange, 0x7C5DC253)
PSP_EXPORT_FUNC_NID(sceKernelDcacheProbe, 0x80001C4C)
PSP_EXPORT_FUNC_NID(sceKernelUtilsSha1Digest, 0x840259F1)
PSP_EXPORT_FUNC_NID(sceKernelPutUserLog, 0x87E81561)
@ -303,7 +303,7 @@ PSP_EXPORT_END
PSP_EXPORT_START(UtilsForKernel, 0x0011, 0x0009)
PSP_EXPORT_FUNC_NID(sceKernelL1DcacheWritebackRange, 0x004D4DEE)
PSP_EXPORT_FUNC_NID(sceKernelUtilsMt19937UInt, 0x06FB8A63)
PSP_EXPORT_FUNC_NID(UtilsForUser_0939D45C, 0x0939D45C)
PSP_EXPORT_FUNC_NID(sceKernelL2cacheWritebackAll, 0x0939D45C)
PSP_EXPORT_FUNC_NID(sceKernelSetPTRIGMask, 0x136F2419)
PSP_EXPORT_FUNC_NID(sceKernelL1DcacheInvalidateRange, 0x157A383A)
PSP_EXPORT_FUNC_NID(sceKernelDcacheReadTag, 0x16641D70)
@ -312,7 +312,7 @@ PSP_EXPORT_FUNC_NID(sceKernelL1DcacheWritebackInvalidateRange, 0x1B0592A3)
PSP_EXPORT_FUNC_NID(sceKernelRegisterRtcFunc, 0x23A0C5BA)
PSP_EXPORT_FUNC_NID(sceKernelGzipGetCompressedData, 0x23FFC828)
PSP_EXPORT_FUNC_NID(sceKernelLibcTime, 0x27CC57F0)
PSP_EXPORT_FUNC_NID(UtilsForKernel_2F80288E, 0x2F80288E)
PSP_EXPORT_FUNC_NID(sceKernelL2cacheProbeRange, 0x2F80288E)
PSP_EXPORT_FUNC_NID(sceKernelUtilsSha1BlockUpdate, 0x346F6DA8)
PSP_EXPORT_FUNC_NID(sceKernelDcacheWritebackInvalidateRange, 0x34B9FA9E)
PSP_EXPORT_FUNC_NID(sceKernelGetGPI, 0x37FB5C42)
@ -322,14 +322,14 @@ PSP_EXPORT_FUNC_NID(sceKernelDcacheWritebackRange, 0x3EE30821)
PSP_EXPORT_FUNC_NID(sceKernelL1DcacheWritebackAll, 0x3FD3D324)
PSP_EXPORT_FUNC_NID(sceKernelReleaseRtcFunc, 0x41887EF4)
PSP_EXPORT_FUNC_NID(sceKernelL1IcacheInvalidateRange, 0x43C9A8DB)
PSP_EXPORT_FUNC_NID(UtilsForUser_485E430A, 0x485E430A)
PSP_EXPORT_FUNC_NID(sceKernelL2cacheWritebackInvalidateAll, 0x485E430A)
PSP_EXPORT_FUNC_NID(sceKernelIcacheProbe, 0x4FD31C9D)
# sceKernelL1DcacheReadTag
PSP_EXPORT_FUNC_NID(sceKernelDcacheReadTag, 0x515B4FAF)
PSP_EXPORT_FUNC_NID(sceKernelUtilsSha1BlockResult, 0x585F1C09)
# sceKernelL1IcacheReadTag
PSP_EXPORT_FUNC_NID(sceKernelIcacheReadTag, 0x5C7F2B1A)
PSP_EXPORT_FUNC_NID(UtilsForUser_601E43E6, 0x601E43E6)
PSP_EXPORT_FUNC_NID(sceKernelL2cacheWritebackRange, 0x601E43E6)
PSP_EXPORT_FUNC_NID(sceKernelUtilsMd5BlockUpdate, 0x61E1E525)
PSP_EXPORT_FUNC_NID(sceKernelSetPTRIG, 0x6231A71D)
PSP_EXPORT_FUNC_NID(UtilsForKernel_66463BEC, 0x66463BEC)
@ -341,7 +341,7 @@ PSP_EXPORT_FUNC_NID(sceKernelL1DcacheProbe, 0x740DF7F0)
PSP_EXPORT_FUNC_NID(sceKernelDcacheProbeRange, 0x77DFF087)
PSP_EXPORT_FUNC_NID(sceKernelGzipDecompress, 0x78934841)
PSP_EXPORT_FUNC_NID(sceKernelDcacheWritebackAll, 0x79D1C3FA)
PSP_EXPORT_FUNC_NID(UtilsForUser_7C5DC253, 0x7C5DC253)
PSP_EXPORT_FUNC_NID(sceKernelL2cacheWritebackInvalidateRange, 0x7C5DC253)
PSP_EXPORT_FUNC_NID(sceKernelDcacheProbe, 0x80001C4C)
PSP_EXPORT_FUNC_NID(sceKernelUtilsSha1Digest, 0x840259F1)
PSP_EXPORT_FUNC_NID(sceKernelDcacheInvalidateAll, 0x864A9D72)
@ -356,7 +356,7 @@ PSP_EXPORT_FUNC_NID(sceKernelDcachePurgeRange, 0x99134C3F)
PSP_EXPORT_FUNC_NID(sceKernelUtilsMd5BlockInit, 0x9E5C5086)
PSP_EXPORT_FUNC_NID(UtilsForKernel_A6B0A6B8, 0xA6B0A6B8)
PSP_EXPORT_FUNC_NID(sceKernelL1DcacheInvalidateAll, 0xAA9AF5CF)
PSP_EXPORT_FUNC_NID(UtilsForKernel_AF0C0173, 0xAF0C0173)
PSP_EXPORT_FUNC_NID(sceKernelL2cacheInvalidateAll, 0xAF0C0173)
PSP_EXPORT_FUNC_NID(sceKernelGetGPO, 0xAF3616C0)
PSP_EXPORT_FUNC_NID(sceKernelL1DcacheWritebackInvalidateAll, 0xAF3766BB)
PSP_EXPORT_FUNC_NID(sceKernelGzipGetInfo, 0xB0E9C31F)
@ -372,9 +372,9 @@ PSP_EXPORT_FUNC_NID(sceKernelGzipIsValid, 0xE0CE3E29)
PSP_EXPORT_FUNC_NID(sceKernelGzipGetName, 0xE0E6BA96)
PSP_EXPORT_FUNC_NID(sceKernelUtilsMt19937Init, 0xE860E75E)
PSP_EXPORT_FUNC_NID(sceKernelDeflateDecompress, 0xE8DB3CE6)
PSP_EXPORT_FUNC_NID(UtilsForKernel_EC86074D, 0xEC86074D)
PSP_EXPORT_FUNC_NID(sceKernelL2cacheProbe, 0xEC86074D)
PSP_EXPORT_FUNC_NID(sceKernelL1IcacheProbe, 0xF0155BCA)
PSP_EXPORT_FUNC_NID(UtilsForKernel_F192F2EC, 0xF192F2EC)
PSP_EXPORT_FUNC_NID(sceKernelL2cacheInvalidateRange, 0xF192F2EC)
PSP_EXPORT_FUNC_NID(sceKernelUtilsSha1BlockInit, 0xF8FCD5BA)
PSP_EXPORT_FUNC_NID(sceKernelIcacheReadTag, 0xFB05FAD0)
PSP_EXPORT_END

View File

@ -486,7 +486,7 @@ loc_000006F0:
loc_00000714:
jal sceKernelL1DcacheWritebackAll
nop
j UtilsForUser_0939D45C
j sceKernelL2cacheWritebackAll
move $ra, $at
# ?
@ -528,7 +528,7 @@ loc_00000768:
loc_00000784:
jal sceKernelL1DcacheWritebackInvalidateAll
nop
j UtilsForUser_485E430A
j sceKernelL2cacheWritebackInvalidateAll
move $ra, $at
# ?
@ -574,7 +574,7 @@ loc_000007E8:
loc_00000804:
jal sceKernelL1DcacheInvalidateAll
nop
j UtilsForKernel_AF0C0173
j sceKernelL2cacheInvalidateAll
move $ra, $at
# ?
@ -663,7 +663,7 @@ loc_000008F0:
bltz $v0, loc_00000870
move $ra, $at
move $a0, $t6
j UtilsForUser_601E43E6
j sceKernelL2cacheWritebackRange
move $a1, $t7
# ?
@ -752,7 +752,7 @@ loc_000009EC:
bltz $v0, loc_0000096C
move $ra, $at
move $a0, $t6
j UtilsForUser_7C5DC253
j sceKernelL2cacheWritebackInvalidateRange
move $a1, $t7
# ?
@ -840,7 +840,7 @@ loc_00000ADC:
bltz $v0, loc_00000A70
move $ra, $at
move $a0, $t6
j UtilsForKernel_F192F2EC
j sceKernelL2cacheInvalidateRange
move $a1, $t7
# ?
@ -992,7 +992,7 @@ sceKernelL1DcacheProbe:
loc_00000CD0:
jal sceKernelL1DcacheProbe
nop
jal UtilsForKernel_EC86074D
jal sceKernelL2cacheProbe
move $v1, $v0
move $ra, $at
jr $ra
@ -1123,7 +1123,7 @@ loc_00000E50:
move $t7, $a1
move $a0, $t6
move $a1, $t7
jal UtilsForKernel_2F80288E
jal sceKernelL2cacheProbeRange
move $v1, $v0
move $ra, $at
jr $ra
@ -1170,7 +1170,7 @@ loc_00000ECC:
move $v0, $zr
loc_00000EE8:
jal UtilsForUser_485E430A
jal sceKernelL2cacheWritebackInvalidateAll
nop
j sceKernelL1IcacheInvalidateAll
move $ra, $at
@ -1263,7 +1263,7 @@ loc_00000FD8:
loc_00000FF8:
move $a2, $a0
jal UtilsForUser_7C5DC253
jal sceKernelL2cacheWritebackInvalidateRange
move $a3, $a1
move $a0, $a2
move $a1, $a3
@ -1316,7 +1316,7 @@ sceKernelL1IcacheProbe:
loc_00001098:
jal sceKernelL1IcacheProbe
nop
jal UtilsForKernel_EC86074D
jal sceKernelL2cacheProbe
move $v1, $v0
move $ra, $at
jr $ra
@ -1366,8 +1366,8 @@ sub_1120:
lui $ra, %hi(sub_1594)
addiu $ra, $ra, %lo(sub_1594)
.globl UtilsForUser_0939D45C # sceKernel??DcacheWritebackAll
UtilsForUser_0939D45C:
.globl sceKernelL2cacheWritebackAll
sceKernelL2cacheWritebackAll:
lui $t0, 0xA7F0
lui $t1, 0xA000
ori $t1, $t1, 0x3F
@ -1417,8 +1417,8 @@ loc_000011A0:
lui $ra, %hi(sub_1594)
addiu $ra, $ra, %lo(sub_1594)
.globl UtilsForUser_485E430A # sceKernel??DcacheWritebackInvalidateAll
UtilsForUser_485E430A:
.globl sceKernelL2cacheWritebackInvalidateAll
sceKernelL2cacheWritebackInvalidateAll:
lui $t0, 0xA7F0
lui $t1, 0xB000
ori $t1, $t1, 0x3F
@ -1468,8 +1468,8 @@ loc_00001240:
lui $ra, %hi(sub_1594)
addiu $ra, $ra, %lo(sub_1594)
.globl UtilsForKernel_AF0C0173 # sceKernel??DcacheInvalidateAll
UtilsForKernel_AF0C0173:
.globl sceKernelL2cacheInvalidateAll
sceKernelL2cacheInvalidateAll:
lui $t0, 0xA7F0
lui $t1, 0x5000
ori $t1, $t1, 0x3F
@ -1498,8 +1498,8 @@ loc_0000129C:
lui $ra, %hi(sub_1594)
addiu $ra, $ra, %lo(sub_1594)
.globl UtilsForUser_601E43E6 # sceKernel??DcacheWritebackRange
UtilsForUser_601E43E6:
.globl sceKernelL2cacheWritebackRange
sceKernelL2cacheWritebackRange:
lui $v0, 0x2000
lui $v1, 0xA000
j loc_00001334
@ -1510,8 +1510,8 @@ UtilsForUser_601E43E6:
lui $ra, %hi(sub_1594)
addiu $ra, $ra, %lo(sub_1594)
.globl UtilsForUser_7C5DC253 # sceKernel??DcacheWritebackInvalidateRange
UtilsForUser_7C5DC253:
.globl sceKernelL2cacheWritebackInvalidateRange
sceKernelL2cacheWritebackInvalidateRange:
lui $v0, 0x3000
lui $v1, 0xB000
j loc_00001334
@ -1522,8 +1522,8 @@ UtilsForUser_7C5DC253:
lui $ra, %hi(sub_1594)
addiu $ra, $ra, %lo(sub_1594)
.globl UtilsForKernel_F192F2EC # sceKernel??DcacheInvalidateRange
UtilsForKernel_F192F2EC:
.globl sceKernelL2cacheInvalidateRange
sceKernelL2cacheInvalidateRange:
or $t0, $a0, $a1
andi $t0, $t0, 0x3F
bnez $t0, loc_00001328
@ -1636,8 +1636,8 @@ loc_00001458:
lui $ra, %hi(sub_1594)
addiu $ra, $ra, %lo(sub_1594)
.globl UtilsForKernel_EC86074D # sceKernel??I/DcacheProbe
UtilsForKernel_EC86074D:
.globl sceKernelL2cacheProbe
sceKernelL2cacheProbe:
li $t0, 19532
lui $t1, 0x4C
ori $t1, $t1, 0x4C
@ -1682,8 +1682,8 @@ loc_000014E0:
lui $ra, %hi(sub_1594)
addiu $ra, $ra, %lo(sub_1594)
.globl UtilsForKernel_2F80288E # sceKernel??DcacheProbeRange
UtilsForKernel_2F80288E:
.globl sceKernelL2cacheProbeRange
sceKernelL2cacheProbeRange:
li $t0, 19532
lui $t1, 0x4C
ori $t1, $t1, 0x4C