vitasdk
Documentation of the vitasdk

Exports for User. More...

Functions

int sceSblPmMgrAuthEtoI (void)
 Perform the EtoI jig-authentication exchange through pm_sm_sd.self.
 
int sceSblPmMgrGetCurrentMode (int *result)
 Get the cached current-mode value.
 
int sceSblPmMgrGetProductModeForUser (int *result)
 Get the KBL product-mode value.
 
int sceSblPmMgrGetProductModeFromNVS (SceUInt8 *product_mode)
 Read the product-mode byte from NVS.
 
int sceSblPmMgrSetProductModeOffForUser (void)
 Leave manufacturing mode and disable SD mode.
 

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceSblPmMgr_stub



Function Documentation

◆ sceSblPmMgrAuthEtoI()

int sceSblPmMgrAuthEtoI ( void  )

Perform the EtoI jig-authentication exchange through pm_sm_sd.self.

This operation is restricted to system programs.

Returns
SCE_OK on success, < 0 on error.

◆ sceSblPmMgrGetCurrentMode()

int sceSblPmMgrGetCurrentMode ( int *  result)

Get the cached current-mode value.

This operation is restricted to system programs.

Parameters
[out]result- Only one byte is written through this int pointer. The byte is a SceSblProductMode value.
Returns
SCE_OK on success, < 0 on error.

◆ sceSblPmMgrGetProductModeForUser()

int sceSblPmMgrGetProductModeForUser ( int *  result)

Get the KBL product-mode value.

This operation is restricted to system programs.

Parameters
[out]result- Only one byte is written through this int pointer. The byte is a SceSblProductMode value.
Returns
SCE_OK on success, < 0 on error.

◆ sceSblPmMgrGetProductModeFromNVS()

int sceSblPmMgrGetProductModeFromNVS ( SceUInt8 *  product_mode)

Read the product-mode byte from NVS.

This operation is restricted to system programs.

Parameters
[out]product_mode- Receives the raw NVS byte. The FW 3.60 product-mode operations write SceSblProductMode values.
Returns
SCE_OK on success, < 0 on error.

◆ sceSblPmMgrSetProductModeOffForUser()

int sceSblPmMgrSetProductModeOffForUser ( void  )

Leave manufacturing mode and disable SD mode.

This operation is restricted to system programs. sceSblPmMgrGetCurrentMode continues to report the value cached at boot until the system restarts.

Returns
SCE_OK on success, < 0 on error.