vitasdk
Documentation of the vitasdk

Exports for User. More...

Functions

int sceSblRtcMgrSetCpActivationKey (void)
 Set the CP activation key from the activation data managed by the service.
 
int sceSblRtcMgrSetCpRtcPhysicalAndKey (int rtc)
 Set the 32-bit CP physical RTC value and corresponding key.
 
int sceSblRtcMgrGetCpSerialId (void *serial_id)
 Get the CP serial identifier.
 
int sceSblRtcMgrSetCpRtcPhysicalForUser (int rtc)
 Set the 32-bit CP physical RTC value.
 
int sceSblRtcMgrGetCpRtcPhysicalForUser (int *rtc)
 Get the 32-bit CP physical RTC value.
 
int sceSblRtcMgrSetCpRtcLogical (int rtc)
 Request a new 32-bit CP logical RTC value.
 
int sceSblRtcMgrGetCpRtcLogical (int *rtc)
 Get the 32-bit CP logical RTC value.
 

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceSblRtcMgr_stub



Function Documentation

◆ sceSblRtcMgrSetCpActivationKey()

int sceSblRtcMgrSetCpActivationKey ( void  )

Set the CP activation key from the activation data managed by the service.

The calling process must be a system program.

Returns
SCE_OK on success, < 0 on error.

◆ sceSblRtcMgrSetCpRtcPhysicalAndKey()

int sceSblRtcMgrSetCpRtcPhysicalAndKey ( int  rtc)

Set the 32-bit CP physical RTC value and corresponding key.

The calling process must be a system program, and manufacturing mode is required. FW 3.60 accepts values from 1262314800 through 2145927600 inclusive.

Parameters
[in]rtc- New physical RTC value.
Returns
SCE_OK on success, < 0 on error.

◆ sceSblRtcMgrGetCpSerialId()

int sceSblRtcMgrGetCpSerialId ( void *  serial_id)

Get the CP serial identifier.

The calling process must be a system program, and manufacturing mode is required.

Parameters
[out]serial_id- Receives exactly 0x80 bytes.
Returns
SCE_OK on success, < 0 on error.

◆ sceSblRtcMgrSetCpRtcPhysicalForUser()

int sceSblRtcMgrSetCpRtcPhysicalForUser ( int  rtc)

Set the 32-bit CP physical RTC value.

The calling process must be a system program, and manufacturing mode is required. FW 3.60 accepts values from 1262314800 through 2145927600 inclusive.

Parameters
[in]rtc- New physical RTC value.
Returns
SCE_OK on success, < 0 on error.

◆ sceSblRtcMgrGetCpRtcPhysicalForUser()

int sceSblRtcMgrGetCpRtcPhysicalForUser ( int *  rtc)

Get the 32-bit CP physical RTC value.

The calling process must be a system program, and manufacturing mode is required.

Parameters
[out]rtc- Receives the physical RTC value.
Returns
SCE_OK on success, < 0 on error.

◆ sceSblRtcMgrSetCpRtcLogical()

int sceSblRtcMgrSetCpRtcLogical ( int  rtc)

Request a new 32-bit CP logical RTC value.

The calling process must be a system program. FW 3.60 treats rtc as an unsigned 32-bit value and checks that it is from 946652400 through

  1. It does not change the RTC, even when the value is valid.
Parameters
[in]rtc- Requested logical RTC value.
Returns
0x800F1025 for a valid value on FW 3.60.

◆ sceSblRtcMgrGetCpRtcLogical()

int sceSblRtcMgrGetCpRtcLogical ( int *  rtc)

Get the 32-bit CP logical RTC value.

The calling process must be a system program.

Parameters
[out]rtc- Receives the logical RTC value.
Returns
SCE_OK on success, < 0 on error.