SceRtc

Real time clock.

Reading the current time and date involves the Syscon scratchpad and a Syscon command (0x11) that returns 2 * the number of seconds the Syscon has been running. The scratchpad value contains the timestamp when syscon "started" running, so if you add those together you obtain the current time. In pseudocode:

sceRtcGetCurrentNetworkTickForDriver
If the current NetworkTick is less than 2015/01/01, the system will ignore the registry setting and update the NetworkTick from the internet.

sceRtcGetCurrentSecureTickForDriver
If the current SecureTick is less than 2015/01/01, it sets 0xDDDEF8B3A14000(1980/01/01 00:00:00 UTC) to the Secure Tick and returns error code 0x80251002.

SceRtcForDriver_42A0DFCB
Gets some info from a secure tick.

Used with the result of sceRtcGetCurrentSecureTickForDriver. Used by SceCoredump, SceSblGcAuthMgr.

SceRtcForDriver_A2D280B4
Initializes SceRtc internal flags.

SceRtcForDriver_ABA035B7
Reset all SceRtc internal flags to 0.

Returns 0.

sceRtcGetCurrentToolSecureTickForDriver
This is a guessed name.

Used on Tool only. Used when checking DevKit activation license expire date.

Creates a tick using SceKernelThreadMgr.

SceRtcForDriver_9C8AF264
Adds time (in second) to a time structure (in nanosecond).

SceRtcForDriver_CE51C2A1
Adds time (in microseconds) to a time structure (in nanosecond).

SceRtcForDriver_0CB72FAF
Used by SceCompat.