|
uOFW
Reverse engineered PSP kernel 6.60.
|
#include <syscon.h>
Data Fields | |
| struct SceSysconPacket * | next |
| u32 | status |
| SceUID | semaId |
| u8 | tx [16] |
| u8 | rx [16] |
| s32(* | callback )(struct SceSysconPacket *, void *argp) |
| u32 | gp |
| void * | argp |
| u32 | time |
| u32 | delay |
| u8 | reserved [32] |
A system controller packet, used to run a syscon command.
| struct SceSysconPacket* SceSysconPacket::next |
Next packet in the list.
| u32 SceSysconPacket::status |
Status (probably only modified internally)
| SceUID SceSysconPacket::semaId |
Packet synchronization semaphore ID
| u8 SceSysconPacket::tx[16] |
Transmitted data. First byte is command number, second one is the transmitted data length, the rest is data depending on the command.
| u8 SceSysconPacket::rx[16] |
Received data. First byte is status (probably, unused), second one is the received data length, third one is response code (?), the rest is data depending on the command.
| s32(* SceSysconPacket::callback) (struct SceSysconPacket *, void *argp) |
Callback ran after a GPIO interrupt, probably after the packet has been executed.
| u32 SceSysconPacket::gp |
GP value to use in the callback.
| void* SceSysconPacket::argp |
Second argument passed to the callback.
| u32 SceSysconPacket::time |
Current time when the packet was started.
| u32 SceSysconPacket::delay |
Some kind of timeout when running the packet.
| u8 SceSysconPacket::reserved[32] |
Reserved for internal (hardware) use.