Finished reversing ctrl and added export files for both syscon and display.

This commit is contained in:
_Felix_ 2012-04-30 20:34:31 +00:00
parent cb554691aa
commit 025549b67f
5 changed files with 464 additions and 33 deletions

View File

@ -28,6 +28,12 @@ typedef struct SceSysmemUIDControlBlock
SceSysmemUIDLookupFunction *func_table; // 32
} __attribute__((packed)) SceSysmemUIDControlBlock;
typedef struct
{
int size;
void (*ops[])();
} SceKernelDeci2Ops;
int sceKernelDeci2pRegisterOperations(void *op);
void *sceKernelDeci2pReferOperations();

View File

@ -11,6 +11,7 @@
*/
#include "../ctrl/ctrl.h"
#include <pspinit.h>
/* "external" defines */
@ -59,8 +60,13 @@
//PSP_CTRL_MS | PSP_CTRL_DISC | PSP_CTRL_REMOTE | PSP_CTRL_WLAN_UP | PSP_CTRL_HOLD | ?
#define CTRL_PSP_HARDWARE_IO_BUTTONS 0x3B0E0000
//syson transfer defines
#define SYSCON_CTRL_TRANSFER_DATA_DIGITAL_ONLY 7
#define SYSCON_CTRL_TRANSFER_DATA_DIGITAL_ANALOG 8
PSP_SDK_VERSION(0x06060010);
PSP_MODULE_INFO("sceController_Service", 0x1007, 1, 1);
PSP_MODULE_BOOTSTART("CtrlInit");
typedef struct _SceCtrl {
SceSysTimerId timerID; //0
@ -70,7 +76,7 @@ typedef struct _SceCtrl {
u8 unk_Byte_0; //14
u8 unk_Byte_1; //15
u8 unk_Byte_8; //16
char unk_Byte_7; //17
char sysconHwDataTransferDone; //17
u8 unk_Byte_2; //20
PspCtrlPadPollMode pollMode; //21
u16 suspendSamples; //22
@ -212,7 +218,10 @@ typedef struct _SceSysconPacket {
typedef UnknownType;
SceCtrl ctrl; //0x2890
SceKernelDeci2Ops ctrlDeci2Ops; //0x000027F8
SceKernelDeci2Ops *ctrlDeci2Ops = { 0x28, { sceCtrlGetSamplingMode, sceCtrlGetSamplingCycle, sceCtrlPeekBufferPositive,
sceCtrlPeekLatch, sceCtrlSetRapidFire, sceCtrlClearRapidFire, sceCtrlSetButtonEmulation,
sceCtrlSetAnalogEmulation, sceCtrlExtendInternalCtrlBuffers } }; //0x000027F8
_PspSysEventHandler ctrlSysEvent; //0x00002850
static SceUInt _sceCtrlDummyAlarm(void *common); //sub_00001DD8
@ -309,10 +318,10 @@ int sceCtrlInit() {
sceKernelEnableSubIntr(PSP_VBLANK_INT, 0x13); //0x00000190
//TODO: Reverse the function below.
retPtr = sceKernelDeci2pReferOperations();
retPtr = sceKernelDeci2pReferOperations(); //0x00000198
if ((retPtr != NULL) && (*retPtr == 48)) { //0x000001A0 & 0x000001AC
func = *(retPtr + 0x2C)(SceKernelDeci2Ops *); //0x000001B0
func(&ctrlDeci2Ops); //0x000001D8
func = (void (*)(SceKernelDeci2Ops *))*(retPtr + 44); //0x000001B0
func(&ctrlDeci2Ops); //0x000001D8
}
return SCE_KERNEL_ERROR_OK;
}
@ -407,10 +416,11 @@ int sceCtrlSetPollingMode(PspCtrlPadPollMode pollMode) {
* Exported in sceCtrl_driver
*/
PspCtrlPadInputMode sceCtrlGetSamplingMode(PspCtrlPadInputMode *mode) {
int oldK1 = pspShiftK1(); //0x00001330
int oldK1;
int index;
if (pspK1PtrOk(privMode)) { //0x00001348 & 0x00001350
oldK1 = pspShiftK1(); //0x00001330
if (pspK1PtrOk(mode)) { //0x00001348 & 0x00001350
*mode = ctrl.samplingMode[index]; //0x00001358 & 0x0000135C
}
pspSetK1(oldK1);
@ -447,8 +457,9 @@ PspCtrlPadInputMode sceCtrlSetSamplingMode(PspCtrlPadInputMode mode) {
* Exported in sceCtrl_driver
*/
int sceCtrlGetSamplingCycle(u32 *cycle) {
int oldK1 = pspShiftK1(); //0x00001AB8
int oldK1;
oldK1 = pspShiftK1(); //0x00001AB8
if (pspK1PtrOk(cycle)) { //0x00001ABC && 0x00001AC0
*cycle = ctrl.btnCycle; //0x00001ACC && 0x00001AD0
}
@ -464,11 +475,11 @@ int sceCtrlGetSamplingCycle(u32 *cycle) {
int sceCtrlSetSamplingCycle(u32 cycle) {
int suspendFlag;
u32 prevCycle;
int sdkVersion;
u32 nCycle;
int oldK1 = pspShiftK1(); // 0x00001378
int sdkVersion;
int oldK1;
oldK1 = pspShiftK1(); // 0x00001378
suspendFlag = sceKernelCpuSuspendIntr(); //0x00001398
if (cycle == 0) { //0x000013B0
prevCycle = ctrl.btnCycle; //0x00001460
@ -505,12 +516,12 @@ int sceCtrlSetSamplingCycle(u32 cycle) {
* Exported in sceCtrl_driver
*/
int sceCtrlGetIdleCancelThreshold(int *idleReset, int *idleBack) {
int oldK1 = pspShiftK1();
int privMode;
int oldK1;
int suspendFlag;
int tempIdleBack;
int tempIdleReset;
oldK1 = pspShiftK1();
if (!pspK1PtrOk(idleReset) || !pspK1PtrOk(idleBack)) { //0x00001734 & 0x00001740
pspSetK1(oldK1);
return SCE_ERROR_PRIV_REQUIRED; /* protect kernel addresses from user mode. */
@ -613,10 +624,11 @@ int sceCtrlExtendInternalCtrlBuffers(u8 mode, int arg2, int arg3) {
* Exported in sceCtrl_driver
*/
int sceCtrlPeekLatch(SceCtrlLatch *latch) {
int suspendFlag;
SceCtrlInternalData *latchPtr;
int suspendFlag;
int oldK1;
int oldK1 = pspShiftK1();
oldK1 = pspShiftK1();
suspendFlag = sceKernelCpuSuspendIntr(); //0x000014A8
if (!pspK1PtrOk(latch)) { //0x000014B8
@ -646,11 +658,12 @@ int sceCtrlPeekLatch(SceCtrlLatch *latch) {
* Exported in sceCtrl_driver
*/
int sceCtrlReadLatch(SceCtrlLatch *latch) {
int suspendFlag;
SceCtrlInternalData *latchPtr;
int suspendFlag;
int readLatchCount;
int oldK1;
int oldK1 = pspShiftK1();
oldK1 = pspShiftK1();
suspendFlag = sceKernelCpuSuspendIntr(); //0x00001554
if (!pspK1PtrOk(latch)) { //0x00001564 -- protect kernel address from user mode
@ -658,7 +671,7 @@ int sceCtrlReadLatch(SceCtrlLatch *latch) {
pspSetK1(oldK1); //0x0000162C
return SCE_ERROR_PRIV_REQUIRED; //0x00001634
}
if (!pspK1UserMode()) { //0x00001570
if (!pspK1IsUserMode()) { //0x00001570
latchPtr = &ctrl.kernelModeData; //0x000015E0
readLatchCount = latchPtr->readLatchCount; //0x00001614
latchPtr->readLatchCount = 0; //0x0000161C
@ -679,7 +692,7 @@ int sceCtrlReadLatch(SceCtrlLatch *latch) {
latchPtr->btnRelease = 0; //0x000015B4 & 0x00001610
sceKernelCpuResumeIntr(suspendFlag); //0x000015B8
pspSetK1(k1); //0x000015C0
pspSetK1(oldK1); //0x000015C0
return readLatchCount; //0x000015C4
}
@ -1037,10 +1050,10 @@ static int _sceCtrlVblankIntr(int subIntNm, void *arg) {
if (ctrl.pollMode != PSP_CTRL_POLL_NO_POLLING) { //0x0000047C
ctrl.unk_Byte_8 = 1; //0x000004E0
if ((ctrl.samplingMode[USER_MODE] | ctrl.samplingMode[KERNEL_MODE]) == PSP_CTRL_INPUT_DIGITAL_ONLY) { //0x000004E4
ctrl.sysPacket[0].tx_cmd = 7; //0x000004E8
ctrl.sysPacket[0].tx_cmd = SYSCON_CTRL_TRANSFER_DATA_DIGITAL_ONLY; //0x000004E8
}
else {
ctrl.sysPacket[0].tx_cmd = 8; //0x000004EC
ctrl.sysPacket[0].tx_cmd = SYSCON_CTRL_TRANSFER_DATA_DIGITAL_ANALOG; //0x000004EC
}
ctrl.sysPacket[0].tx_len = 2; //0x00000514
retVal = sceSysconCmdExecAsync(&ctrl.sysPacket[0], 1, _sceCtrlSysconCmdIntr1, 0); //0x00000510
@ -1067,21 +1080,23 @@ static int _sceCtrlVblankIntr(int subIntNm, void *arg) {
/* sub_00000528 */
static int _sceCtrlTimerIntr() {
char unk_1 = 7;
u8 sysconReqCtrlData;
int suspendFlag;
int retVal;
sysconReqCtrlData = SYSCON_CTRL_TRANSFER_DATA_DIGITAL_ONLY; /* Requested controller data transfered by syscon */
suspendFlag = sceKernelCpuSuspendIntr(); //0x0000053C
if (ctrl.btnCycle != 0) { //0x00000548 & 0x0000054C
if ((ctrl.suspendSamples == 0) && (ctrl.pollMode != CTRL_POLL_MODE_OFF)) { //0x00000558 & 0x00000564
ctrl.suspendSamples = 1; //0x000005C8
if ((ctrl.unk_Byte_8 == 0) && (ctrl.pollMode != CTRL_POLL_MODE_OFF)) { //0x00000558 & 0x00000564
ctrl.unk_Byte_8 = 1; //0x000005C8
if (ctrl.samplingMode[USER_MODE] != PSP_CTRL_INPUT_DIGITAL_ONLY) { //0x000005CC
unk_1 = 8; //0x000005D4
sysconReqCtrlData = SYSCON_CTRL_TRANSFER_DATA_DIGITAL_ANALOG; //0x000005D4
}
ctrl.sysPacket[0].tx_cmd = unk_1; //0x000005D8
ctrl.sysPacket[0].tx_cmd = sysconReqCtrlData; //0x000005D8
retVal = sceSysconCmdExecAsync(&ctrl.sysPacket[0], 1, _sceCtrlSysconCmdIntr1, 0); //0x000005F8
if (retVal < 0) { //0x00000600
ctrl.suspendSamples = 0; //0x00000604
ctrl.unk_Byte_8 = 0; //0x00000604
}
}
else {
@ -1098,9 +1113,22 @@ static int _sceCtrlTimerIntr() {
}
/* sub_00000610 */
static int _sceCtrlSysconCmdIntr1() {
static int _sceCtrlSysconCmdIntr1(int *arg0) {
u32 pureButtons;
int suspendFlag;
int res;
int unk1;
int unk2;
int unk3;
int unk4;
int unk5;
int unk6;
u32 nButtons;
u32 tmpButtons;
u8 analogX;
u8 analogY;
u8 idleVal;
u8 checkVal;
ctrl.unk_Byte_8 = 0; //0x00000644
if (ctrl.unk_1 > 0) { //0x00000640
@ -1121,8 +1149,154 @@ static int _sceCtrlSysconCmdIntr1() {
return SCE_KERNEL_ERROR_OK; //0x00000820
}
//TODO: Reversing of sceSysconCmdExecAsync to be able to continue here!
//TODO: Reverse of sceSysconCmdExecAsync to get structure members!
else {
unk1 = *(u8 *)(arg0 + 12); //0x00000658
unk2 = unk1 ^ 0x2; //0x0000065C
unk3 = unk1 ^ 0x6; //0x00000660
unk2 = (unk2 < 1); //0x00000664
unk3 = (unk3 < 1); //0x00000668
if ((unk2 | unk3) == 0) { //0x00000670
nButtons = ctrl.pureButtons; //0x00000674 & 0x000008A8
tmpButtons = nButtons; //Backup old pureButtons
if ((unk1 - 7) < 2) { //0x000008A4
unk2 = *(u8 *)(arg0 + 34); //0x000008AC
unk3 = *(u8 *)(arg0 + 33); //0x000008B0
unk4 = *(u8 *)(arg0 + 32); //0x000008B4
unk5 = *(u8 *)(arg0 + 31); //0x000008B8
unk2 = unk2 & 0x3; //0x000008BC
unk3 = unk3 & 0xBF; //0x000008C0
unk2 = unk2 << 28; //0x000008C4
unk3 = unk3 << 20; //0x000008C8
unk6 = unk4 & 0xF0; //0x000008CC
unk2 = unk2 | unk3; //0x000008D0
unk2 = unk2 | (unk6 << 12); //0x000008D4 & 0x000008DC
unk3 = (unk5 & 0xFF) << 8; //0x000008D8 & 0x000008E0
unk2 = unk2 | unk3; //0x000008E8
unk3 = (unk4 & 0x6) << 7; //0x000008E4 & 0x000008EC
unk2 = unk2 | unk3; //0x000008F4
unk3 = (unk5 & 0xF) << 4; //0x000008F0 & 0x000008F8
unk2 = unk2 | unk3; //0x000008FC
unk3 = unk2 | (unk4 & 0x9); //0x00000900 & 0x00000908
nButtons = unk3 ^ 0x20F7F3F9; //0x00000914
}
}
else {
unk1 = *(u8 *)(arg0 + 32); //0x00000678
unk2 = *(u8 *)(arg0 + 31); //0x0000067C
unk3 = unk1 & 0xF0; //0x00000684
unk4 = unk2 & 0xF0; //0x00000688
unk3 = unk3 << 12; //0x0000068C
unk4 = unk4 << 8; //0x00000690
unk4 = unk3 | unk4; //0x00000698
unk5 = (unk1 & 0x6) << 7; //0x00000694 & 0x0000069C
unk4 = unk4 | unk5; //0x000006A4
unk5 = (unk2 & 0xF) << 4; //0x000006A0 & 0x000006A8
unk4 = unk4 | unk5; //0x000006B0
unk4 = unk4 | (unk1 & 0x9); //0x000006AC & 0x000006B4
unk4 = unk4 ^ 0x7F3F9; //0x00000680 & 0x000006B8 & 0x000006C0
nButtons = unk4 | (ctrl.pureButtons & 0xFFF00000); //0x000006C8
}
unk1 = *(u8 *)(arg0 + 12); //0x00000658 -- I overwrote unk1 before so I have to restore it here
ctrl.pureButtons = nButtons; //0x000006D8
//analogPadValues passed from hw-Regs via syscon to ctrl
if (unk1 == 3) { //0x000006D4
analogY = *(u8 *)(arg0 + 32); //0x00000890
analogX = *(u8 *)(arg0 + 31); //0x00000898
}
else if (unk1 == 6) { //0x000006E0
analogY = *(u8 *)(arg0 + 34); //0x00000884
analogX = *(u8 *)(arg0 + 33); //0x0000088C
}
else if (unk1 == 8) {
analogY = *(u8 *)(arg0 + 36); //0x000006EC
analogX = *(u8 *)(arg0 + 35); //0x0000088C
}
else {
analogY = ctrl.analogY; //0x000006F0
analogX = ctrl.analogX; //0x000006F4
}
ctrl.analogX = analogX; //0x000006FC
ctrl.analogY = analogY; //0x00000708
_sceCtrlUpdateButtons(nButtons, analogX, analogY); //0x0000070C
unk1 = *(u8 *)(arg0 + 20); //0x00000714
if (unk1 == 0) { //0x00000718
tmpButtons = nButtons ^ tmpButtons; //0x0000072C
if ((nButtons & 0x20000000) == 0) { //0x00000728
unk1 = ctrl.unk_5; //0x0000086C
unk2 = ctrl.unk_6; //0x00000870
idleVal = ctrl.idleReset; //0x00000878
}
else {
unk1 = ctrl.unk_7; //0x00000730
unk2 = ctrl.unk_8; //0x00000734
idleVal = ctrl.idleBack; //0x00000738
}
unk1 = tmpButtons & unk1; //0x0000073C
unk2 = nButtons & unk2; //0x00000740
unk1 = unk1 | unk2; //0x00000744
checkVal = unk1 & ctrl.unk_4; //0x00000750
if (checkVal == 0 && ctrl.samplingMode[USER_MODE] == PSP_CTRL_INPUT_DIGITAL_ANALOG) { //0x00000754 & 0x00000760
unk1 = analogX - 128; //0x00000764
unk1 = pspMax(unk1, -unk1); //0x00000770
unk2 = analogY - 128; //0x0000076C
unk2 = pspMax(unk2, -unk2); //0x00000778 & 0x00000780
unk1 = unk1 & 0xFF; //0x00000774
unk3 = unk1 ^ 0x7F; //0x00000784
unk2 = unk2 & 0xFF; //0x00000788
unk1 = (unk3 == 0) ? 128 : unk1; //0x0000078C
unk4 = unk2 ^ 0x7F; //0x00000790
unk2 = (unk4 == 0) ? 128 : unk2; //0x0000079C
if (unk1 >= idleVal || unk2 >= idleVal) { //0x00000798 & 0x000007A4
checkVal = 1; //0x000007AC
}
}
if (checkVal != 0) { //0x000007B0
ctrl.unk_Byte_2 = 1; //0x000007BC
}
}
unk1 = ctrl.samplingMode[USER_MODE] | ctrl.samplingMode[KERNEL_MODE]; //0x000007C8
unk1 = (0 < unk1); //0x000007D4
unk2 = unk1 | 0x2; //0x000007D8
unk1 = (ctrl.unk_Byte_0 != 0) ? unk2 : unk1; //0x000007DC
if (unk1 != ctrl.unk_Byte_1) { //0x000007E0
if (ctrl.sysconHwDataTransferDone == 0) { //0x000007EC
ctrl.sysconHwDataTransferDone = 1; //0x00000834
ctrl.sysPacket[1].tx_cmd = 51; //0x0000082C & 0x00000840
ctrl.sysPacket[1].tx_len = 3; //0x00000830 & 0x0000084C
ctrl.sysPacket[1].tx_data[0] = unk1; //0x00000858
res = sceSysconCmdExecAsync(&ctrl.sysPacket[1], 0, _sceCtrlSysconCmdIntr2, 0); //0x00000854
if (res < 0) { //0x0000085C
ctrl.sysconHwDataTransferDone = 0; //0x00000860
}
}
}
sceKernelSetEventFlag(ctrl.eventFlag, 1); //0x000007FC
return SCE_KERNEL_ERROR_OK;
}
}
@ -1131,7 +1305,7 @@ static int _sceCtrlSysconCmdIntr1() {
static int _sceCtrlSysconCmdIntr2() {
ctrl.unk_Byte_0 = 0; //0x00001E5C
ctrl.unk_Byte_1 = ctrl.sysPacket[1].tx_data[0] & 0x1; //0x00001E64
ctrl.unk_Byte_7 = 0; //0x00001E6C
ctrl.sysconHwDataTransferDone = 0; //0x00001E6C
return SCE_KERNEL_ERROR_OK;
}
@ -1665,7 +1839,7 @@ static int _sceCtrlReadBuf(void *pad, u8 reqBufReads, int arg3, u8 mode) { // TO
pspSetK1(oldK1);
return SCE_ERROR_PRIV_REQUIRED;
}
if (privMode < 0) { //0x00001EFC -- user mode
if (pspK1IsUserMode()) { //0x00001EFC -- user mode
intDataPtr = &ctrl.userModeData; //0x00001F00
}
else { //kernel mode
@ -1812,7 +1986,7 @@ static int _sceCtrlReadBuf(void *pad, u8 reqBufReads, int arg3, u8 mode) { // TO
* Subroutine module_start - Address 0x00001A10
* Exported in syslib
*/
int module_start(SceSize args, void *argp) {
int CtrlInit(SceSize args, void *argp) {
sceCtrlInit();
return SCE_KERNEL_ERROR_OK;
}

View File

@ -20,6 +20,7 @@
#define CTRL_H
#include "../common/common.h"
#include <pspmodulemgr.h>
/** Custom function name. */
int sceCtrl_5A36B1C2(int arg1, SceCtrlDataExt *pad, u8 reqBufReads)__attribute__((alias("sceCtrlPeekBufferPositiveExt")));

86
src/display/exports.exp Normal file
View File

@ -0,0 +1,86 @@
# Export file automatically generated with prxtool
PSP_BEGIN_EXPORTS
PSP_EXPORT_START(syslib, 0x0000, 0x8000)
PSP_EXPORT_FUNC_HASH(module_start)
PSP_EXPORT_FUNC_HASH(module_reboot_before)
PSP_EXPORT_VAR_HASH(module_info)
PSP_EXPORT_VAR_HASH(module_sdk_version)
PSP_EXPORT_END
PSP_EXPORT_START(sceDisplay, 0x0011, 0x4001)
PSP_EXPORT_FUNC_NID(sceDisplay_0E20F177, 0x0E20F177)
PSP_EXPORT_FUNC_NID(sceDisplay_21038913, 0x21038913)
PSP_EXPORT_FUNC_NID(sceDisplay_210EAB3A, 0x210EAB3A)
PSP_EXPORT_FUNC_NID(sceDisplay_289D82FE, 0x289D82FE)
PSP_EXPORT_FUNC_NID(sceDisplay_31C4BAA8, 0x31C4BAA8)
PSP_EXPORT_FUNC_NID(sceDisplay_36CDFADE, 0x36CDFADE)
PSP_EXPORT_FUNC_NID(sceDisplay_40F1469C, 0x40F1469C)
PSP_EXPORT_FUNC_NID(sceDisplay_46F186C3, 0x46F186C3)
PSP_EXPORT_FUNC_NID(sceDisplay_4D4E10EC, 0x4D4E10EC)
PSP_EXPORT_FUNC_NID(sceDisplay_69B53541, 0x69B53541)
PSP_EXPORT_FUNC_NID(sceDisplay_773DD3A3, 0x773DD3A3)
PSP_EXPORT_FUNC_NID(sceDisplay_77ED8B3A, 0x77ED8B3A)
PSP_EXPORT_FUNC_NID(sceDisplay_7ED59BC4, 0x7ED59BC4)
PSP_EXPORT_FUNC_NID(sceDisplay_8EB9EC49, 0x8EB9EC49)
PSP_EXPORT_FUNC_NID(sceDisplay_984C27E7, 0x984C27E7)
PSP_EXPORT_FUNC_NID(sceDisplay_9C6EAAD7, 0x9C6EAAD7)
PSP_EXPORT_FUNC_NID(sceDisplay_A544C486, 0xA544C486)
PSP_EXPORT_FUNC_NID(sceDisplay_A83EF139, 0xA83EF139)
PSP_EXPORT_FUNC_NID(sceDisplay_B4F378FA, 0xB4F378FA)
PSP_EXPORT_FUNC_NID(sceDisplay_BF79F646, 0xBF79F646)
PSP_EXPORT_FUNC_NID(sceDisplay_DBA6C4C4, 0xDBA6C4C4)
PSP_EXPORT_FUNC_NID(sceDisplay_DEA197D4, 0xDEA197D4)
PSP_EXPORT_FUNC_NID(sceDisplay_EEDA2E54, 0xEEDA2E54)
PSP_EXPORT_END
PSP_EXPORT_START(sceDisplay_driver, 0x0011, 0x0001)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_0043973F, 0x0043973F)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_03F16FD4, 0x03F16FD4)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_0E20F177, 0x0E20F177)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_113958AE, 0x113958AE)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_117C3E2C, 0x117C3E2C)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_1EAA0BDC, 0x1EAA0BDC)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_1FBE8856, 0x1FBE8856)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_206276C2, 0x206276C2)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_33B620AF, 0x33B620AF)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_34516323, 0x34516323)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_3552AB11, 0x3552AB11)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_3E17FE8D, 0x3E17FE8D)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_401450A6, 0x401450A6)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_46CC2336, 0x46CC2336)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_572D7804, 0x572D7804)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_58E8680E, 0x58E8680E)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_60112E07, 0x60112E07)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_71695015, 0x71695015)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_78AF29C6, 0x78AF29C6)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_7A10289D, 0x7A10289D)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_7DF044BA, 0x7DF044BA)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_8059136A, 0x8059136A)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_8475E040, 0x8475E040)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_96CFAC38, 0x96CFAC38)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_996881D2, 0x996881D2)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_99E358F1, 0x99E358F1)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_9B18DDDD, 0x9B18DDDD)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_A38B3F89, 0xA38B3F89)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_A70066A1, 0xA70066A1)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_AF2E6CDC, 0xAF2E6CDC)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_B0942511, 0xB0942511)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_BA3ADBF0, 0xBA3ADBF0)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_CE8A328E, 0xCE8A328E)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_D81A8FF9, 0xD81A8FF9)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_D94EB277, 0xD94EB277)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_DEA197D4, 0xDEA197D4)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_E38CA615, 0xE38CA615)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_E55F0D50, 0xE55F0D50)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_E7397E7A, 0xE7397E7A)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_E97E9718, 0xE97E9718)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_EC80D435, 0xEC80D435)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_F338AAE0, 0xF338AAE0)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_F455917F, 0xF455917F)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_F84D16CC, 0xF84D16CC)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_FBB369FD, 0xFBB369FD)
PSP_EXPORT_FUNC_NID(sceDisplay_driver_FE5884EF, 0xFE5884EF)
PSP_EXPORT_END
PSP_END_EXPORTS

164
src/syscon/exports.exp Normal file
View File

@ -0,0 +1,164 @@
# Export file automatically generated with prxtool
PSP_BEGIN_EXPORTS
PSP_EXPORT_START(syslib, 0x0000, 0x8000)
PSP_EXPORT_FUNC_HASH(module_start)
PSP_EXPORT_FUNC_HASH(module_reboot_before)
PSP_EXPORT_VAR_HASH(module_info)
PSP_EXPORT_VAR_HASH(module_sdk_version)
PSP_EXPORT_END
PSP_EXPORT_START(sceSyscon_driver, 0x0011, 0x0001)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_011AC062, 0x011AC062)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_01792223, 0x01792223)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_031CCDD7, 0x031CCDD7)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_040982CD, 0x040982CD)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_05734D21, 0x05734D21)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_081826B4, 0x081826B4)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_08234E6D, 0x08234E6D)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_09076E54, 0x09076E54)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_0A771482, 0x0A771482)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_0B51E34D, 0x0B51E34D)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_0E4FC766, 0x0E4FC766)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_0E5FA7EA, 0x0E5FA7EA)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_1083C71D, 0x1083C71D)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_1088ABA8, 0x1088ABA8)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_12518439, 0x12518439)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_138747DE, 0x138747DE)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_1602ED0D, 0x1602ED0D)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_1605847F, 0x1605847F)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_17E7753D, 0x17E7753D)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_18BFBE65, 0x18BFBE65)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_1C5D4229, 0x1C5D4229)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_204F23FF, 0x204F23FF)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_21AC8621, 0x21AC8621)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_22240B41, 0x22240B41)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_248335CD, 0x248335CD)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_26307D84, 0x26307D84)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_27F94EE6, 0x27F94EE6)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_28363C97, 0x28363C97)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_28F7032E, 0x28F7032E)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_294A7ED9, 0x294A7ED9)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_2B6BA4AB, 0x2B6BA4AB)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_2B7A0D32, 0x2B7A0D32)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_2BE8EBC2, 0x2BE8EBC2)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_2D510164, 0x2D510164)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_2D6F2728, 0x2D6F2728)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_2EE82492, 0x2EE82492)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_3032943A, 0x3032943A)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_327A82F2, 0x327A82F2)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_374373A8, 0x374373A8)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_38CBE06E, 0x38CBE06E)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_38DA2411, 0x38DA2411)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_3932315D, 0x3932315D)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_39456DE1, 0x39456DE1)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_399708EB, 0x399708EB)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_3AC3D2A4, 0x3AC3D2A4)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_3DE38336, 0x3DE38336)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_3E0C521B, 0x3E0C521B)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_3E16A759, 0x3E16A759)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_3E4BD909, 0x3E4BD909)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_3FA9F842, 0x3FA9F842)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_3FB3FD08, 0x3FB3FD08)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_457D8D7C, 0x457D8D7C)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_47378317, 0x47378317)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_47C04A04, 0x47C04A04)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_483088B0, 0x483088B0)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_48448373, 0x48448373)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_4C871BEA, 0x4C871BEA)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_4D5A19BB, 0x4D5A19BB)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_50446BE5, 0x50446BE5)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_56931095, 0x56931095)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_577C5771, 0x577C5771)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_579A30EA, 0x579A30EA)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_599EB8A0, 0x599EB8A0)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_5B9ACC97, 0x5B9ACC97)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_5C4C1130, 0x5C4C1130)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_5EDEDED6, 0x5EDEDED6)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_5EE92F3C, 0x5EE92F3C)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_64257B5C, 0x64257B5C)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_657DCEF7, 0x657DCEF7)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_65EB6096, 0x65EB6096)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_672B79E8, 0x672B79E8)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_67B66898, 0x67B66898)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_68AF19F1, 0x68AF19F1)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_6C388E02, 0x6C388E02)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_7216917F, 0x7216917F)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_755CF72B, 0x755CF72B)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_765775EB, 0x765775EB)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_7672103B, 0x7672103B)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_7686E7A7, 0x7686E7A7)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_7BCC5EAE, 0x7BCC5EAE)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_7E3A82AF, 0x7E3A82AF)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_7EC5A957, 0x7EC5A957)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_806D4D6C, 0x806D4D6C)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_80711575, 0x80711575)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_82D9F1BB, 0x82D9F1BB)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_833017E5, 0x833017E5)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_85F5F601, 0x85F5F601)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_862A93DE, 0x862A93DE)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_86D4CAD8, 0x86D4CAD8)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_88EAAB07, 0x88EAAB07)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_89A2024D, 0x89A2024D)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_8A4519F5, 0x8A4519F5)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_8CBC7987, 0x8CBC7987)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_8DD190A1, 0x8DD190A1)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_8E54A128, 0x8E54A128)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_8F4AD2CA, 0x8F4AD2CA)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_90EAEA2B, 0x90EAEA2B)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_92D16FC7, 0x92D16FC7)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_93A3B23E, 0x93A3B23E)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_9497E906, 0x9497E906)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_97765E27, 0x97765E27)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_992C22C2, 0x992C22C2)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_9BC5E33B, 0x9BC5E33B)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_9D88A8DE, 0x9D88A8DE)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_9E82A08C, 0x9E82A08C)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_9F39BDC8, 0x9F39BDC8)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_9FB6B045, 0x9FB6B045)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_A0FA8CF7, 0xA0FA8CF7)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_A2DAACB4, 0xA2DAACB4)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_A3406117, 0xA3406117)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_A7DB34BB, 0xA7DB34BB)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_AA1B32D4, 0xAA1B32D4)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_B5B06B81, 0xB5B06B81)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_B5FA7580, 0xB5FA7580)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_B72DDFD2, 0xB72DDFD2)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_B761D385, 0xB761D385)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_BADF1260, 0xBADF1260)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_BB7260C8, 0xBB7260C8)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_C56D0B5A, 0xC56D0B5A)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_C8DB7B74, 0xC8DB7B74)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_CE8B6633, 0xCE8B6633)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_D06FA2C6, 0xD06FA2C6)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_D1216838, 0xD1216838)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_D1B501E8, 0xD1B501E8)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_D2C053E7, 0xD2C053E7)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_D38A3708, 0xD38A3708)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_D6C2FD5F, 0xD6C2FD5F)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_D76A105E, 0xD76A105E)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_D8471760, 0xD8471760)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_DEB91FF2, 0xDEB91FF2)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_DF20C984, 0xDF20C984)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_E19BC2DF, 0xE19BC2DF)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_E58B9388, 0xE58B9388)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_E6B74CB9, 0xE6B74CB9)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_E7E87741, 0xE7E87741)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_E8C20DB5, 0xE8C20DB5)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_EB11E9DE, 0xEB11E9DE)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_EB277C88, 0xEB277C88)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_EDD3AB8B, 0xEDD3AB8B)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_EF31EF4E, 0xEF31EF4E)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_F0D1443F, 0xF0D1443F)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_F2AE6D5E, 0xF2AE6D5E)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_F33E1B14, 0xF33E1B14)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_F350F666, 0xF350F666)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_F436BB12, 0xF436BB12)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_F7BCD2A6, 0xF7BCD2A6)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_F87A1D11, 0xF87A1D11)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_F8F6E1F4, 0xF8F6E1F4)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_FB148FB6, 0xFB148FB6)
PSP_EXPORT_FUNC_NID(sceSyscon_driver_FD5C58CB, 0xFD5C58CB)
PSP_EXPORT_END
PSP_END_EXPORTS