KBL Param

The sysroot buffer is a  sized buffer passed to the secure kernel bootloader in the scratch space and contains all sorts of flags and system parameters. This buffer is copied to the secure kernel, the non-secure kernel loader, and the non-secure kernel and is used by many functions to check for features that are enabled for the system.

DIP Switches
To convert the bit number to the offset and bit: ,

CP Information
Bits  is a 32-bit integer of the current time on the devkit CP clock. This is duplicated in bits. Bits  is a 16-bit integer of the CP version and bits   is a 16-bit integer of the CP build ID. All integers are little-endian. On non-devkits, these fields are zero. Bits  are also usable as general purpose switches exposed with ,  , and   but they do not change anything in hardware (only cached values are overwritten).

User Flags
Bits  does not seem to be used in the kernel.

SDK Flags
Bits  are used to store devkit flags. It does not appear to be used in other models.

Shell Flags
Bits  are used for SceShell flags.

Debug Flags
Bits  are for various debugging options.

System Flags
Bits  are used for various system options.