vitasdk
Documentation of the vitasdk
dipsw.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2KERN_KERNEL_DIPSW_H_
7 #define _PSP2KERN_KERNEL_DIPSW_H_
8 
9 #include <vitasdk/build_utils.h>
10 #include <psp2kern/types.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef struct SceDipsw {
17  uint32_t cp_timestamp_1;
18  uint16_t cp_version;
19  uint16_t cp_build_id;
20  uint32_t cp_timestamp_2;
21  uint32_t aslr_seed;
22  uint32_t sce_sdk_flags;
23  uint32_t shell_flags;
26 } SceDipsw;
28 
45 
53 int ksceKernelCheckDipsw(unsigned int bit);
54 
62 void ksceKernelSetDipsw(unsigned int bit);
63 
71 void ksceKernelClearDipsw(unsigned int bit);
72 
73 #ifdef __cplusplus
74 }
75 #endif
76 
77 #endif /* _PSP2KERN_KERNEL_DIPSW_H_ */
SceUInt32 ksceKernelGetDipswInfo(unsigned int idx)
Get dipsw info.
uint32_t shell_flags
Definition: dipsw.h:23
void ksceKernelClearDipsw(unsigned int bit)
Clear dipsw bit.
uint32_t system_control_flags
Definition: dipsw.h:25
uint32_t sce_sdk_flags
Definition: dipsw.h:22
uint16_t cp_version
Definition: dipsw.h:18
VITASDK_BUILD_ASSERT_EQ(0x20, SceDipsw)
void ksceKernelSetDipsw(unsigned int bit)
Set dipsw bit.
uint32_t aslr_seed
Definition: dipsw.h:21
uint32_t cp_timestamp_1
Definition: dipsw.h:17
uint32_t debug_control_flags
Definition: dipsw.h:24
uint16_t cp_build_id
Definition: dipsw.h:19
uint32_t cp_timestamp_2
Definition: dipsw.h:20
int ksceKernelCheckDipsw(unsigned int bit)
Check dipsw bit.
Definition: dipsw.h:16
uint32_t SceUInt32
Definition: types.h:45