mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-05 00:50:52 +00:00
1.7 KiB
1.7 KiB
libkernel
change [sceKernelAllocateToolMemory, sceKernelAvailableToolMemorySize, sceKernelMapToolMemory, sceKernelReleaseToolMemory, sceKernelGetToolMemoryRange and sceKernelSetProcessProperty]
- sceKernelSetProcessProperty (libkernel and libkernel_sys) - a throwing import-resolution declaration; firmware 4.03 copies a 32-byte record the caller points at plus four further 64-bit values into a syscall record headed by the constant
0x4ffffffff, and rejects a null record pointer withSCE_KERNEL_ERROR_EINVAL(PPSA31544'sfakelib/libSceAgcDriver.sprxpasses theSce.Debug:GnmandSceGnmDumpAreakeys). What the property controls and which fields the kernel validates are unmeasured
add Functional
- sceKernelGetToolMemoryRange, sceKernelAllocateToolMemory, sceKernelAvailableToolMemorySize, sceKernelMapToolMemory and sceKernelReleaseToolMemory (libkernel and libkernel_sys) - the tool-memory tier of the direct-memory allocator, from firmware 4.03's
libkernel.sprx: the range query is dmem ioctl0xC018801D; allocate is0xC0288001with the selector where direct allocation writes zero; the rest carry the direct-memory parameter lists. The selector reaches the ioctl unvalidated, so any value routes to the one tracked pool and every selector reports[0, sceKernelGetDirectMemorySize()); the console kernel's partition set and per-partition ranges are unmeasured. Firmware's map also ORs0x2400and defaults a null base to0x50000000000, neither reproduced.sceKernelQueryToolMemoryandsceKernelGetDefaultToolMemorySizestay unimplemented