vitasdk
Documentation of the vitasdk
pss.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2_PSS_H_
8 #define _PSP2_PSS_H_
9 
10 #include <vitasdk/build_utils.h>
11 #include <psp2/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 typedef struct ScePssCryptoHandle {
19  uint32_t unk1;
21  uint32_t unk3;
24 
25 int pss_crypto_open(ScePssCryptoHandle *handle, char *path);
26 char *pss_crypto_read(ScePssCryptoHandle *handle, int *mode);
29 void pss_code_mem_flush_icache(const void *, SceSize);
30 void pss_code_mem_lock(void);
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif /* _PSP2_PSS_H_ */
38 
VITASDK_BUILD_ASSERT_EQ(0x10, ScePssCryptoHandle)
void pss_code_mem_flush_icache(const void *, SceSize)
int pss_crypto_open(ScePssCryptoHandle *handle, char *path)
SceUID fd
Definition: pss.h:18
SceSize size
Definition: pss.h:20
int pss_crypto_close(ScePssCryptoHandle *handle)
uint32_t unk3
Definition: pss.h:21
uint32_t unk1
Definition: pss.h:19
void pss_code_mem_lock(void)
void pss_code_mem_unlock(void)
char * pss_crypto_read(ScePssCryptoHandle *handle, int *mode)
void * pss_code_mem_alloc(SceSize *)
Definition: pss.h:17
unsigned int SceSize
Definition: types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90