vitasdk
Documentation of the vitasdk

Detailed Description

Exports for Kernel.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceDipswForDriver_stub



Functions

 VITASDK_BUILD_ASSERT_EQ (0x20, SceDipsw)
 
SceUInt32 ksceKernelGetDipswInfo (unsigned int idx)
 Get dipsw info. More...
 
int ksceKernelCheckDipsw (unsigned int bit)
 Check dipsw bit. More...
 
void ksceKernelSetDipsw (unsigned int bit)
 Set dipsw bit. More...
 
void ksceKernelClearDipsw (unsigned int bit)
 Clear dipsw bit. More...
 

Data Structure Documentation

◆ SceDipsw

struct SceDipsw
Data Fields
uint32_t cp_timestamp_1
uint16_t cp_version
uint16_t cp_build_id
uint32_t cp_timestamp_2
uint32_t aslr_seed
uint32_t sce_sdk_flags
uint32_t shell_flags
uint32_t debug_control_flags
uint32_t system_control_flags

Function Documentation

◆ VITASDK_BUILD_ASSERT_EQ()

VITASDK_BUILD_ASSERT_EQ ( 0x20  ,
SceDipsw   
)

◆ ksceKernelGetDipswInfo()

SceUInt32 ksceKernelGetDipswInfo ( unsigned int  idx)

Get dipsw info.

Parameters
[in]idx- The info index
  • 0:CP Time
  • 1:bid & version
  • 2:CP Time
  • 3:ASLR
  • 4:SDK(SCE)
  • 5:SHELL
  • 6:debug control
  • 7:system control
Returns
dipsw info.

◆ ksceKernelCheckDipsw()

int ksceKernelCheckDipsw ( unsigned int  bit)

Check dipsw bit.

Parameters
[in]bit- The dipsw bit index
Returns
zero or one.

◆ ksceKernelSetDipsw()

void ksceKernelSetDipsw ( unsigned int  bit)

Set dipsw bit.

Parameters
[in]bit- The dipsw bit index
Returns
none.

◆ ksceKernelClearDipsw()

void ksceKernelClearDipsw ( unsigned int  bit)

Clear dipsw bit.

Parameters
[in]bit- The dipsw bit index
Returns
none.