mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-04 16:40:32 +00:00
1.8 KiB
1.8 KiB
libkernel
change [vm.loadavg]
- vm.loadavg (libkernel) -
sysctl{CTL_VM,VM_LOADAVG},sysctlbynameandsysctlnametomibserve FreeBSD 11.4's 24-byte read-onlystruct loadavg, as itssysctl_vm_loadavgdoes: three 32-bit fixed-point averages over anfscaleof 2048 (FSHIFT11). The averages are the host's 1, 5 and 15 minute loads fromgetloadavg; on Windows they are 0 and the call succeeds. A PS5 Pro payload process (firmware 13.60) gets -1 withENOENTfor the name, the MIB andsysctlnametomib; a title process was not measured. A write returnsEPERMand a short bufferENOMEM. ProsperoCraft (PPSA99874) reads it at start-up through its Java 25 runtime's owngetloadavg.
change [sceKernelGettimezone]
- sceKernelGettimezone (libkernel) reports the host zone until a timezone has been stored with
sceRtcSetConf, and the stored{tz_minuteswest, tz_dsttime}afterwards; the host zone is not the console's time zone setting:tz_minuteswestholds the standard offset in minutes east of UTC, despite its name, andtz_dsttimethe zone's daylight saving amount in minutes, found as for the last argument ofsceKernelConvertLocaltimeToUtc. A PS5 on firmware 13.40 set to US Eastern returned -300 and 60 (measured 2026-10-19, in summer time), and a PS5 Pro on firmware 13.60 set to Moscow returned 180 and 0 - a zone without daylight saving. A null output pointer returns 0 on a PS5 payload process (firmware 11.60, 2026-11-07), as here; a title process was not measured. The Windows limits of the entry above apply.