blob: d40bc5cf4cfeae1f4952fa56e6b8bd6c70b9013b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef _PSP2_PSS_H_
#define _PSP2_PSS_H_
#include <psp2/types.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct ScePssCryptoHandle {
uint32_t unk0;
uint32_t unk1;
SceSize size;
uint32_t unk3;
} ScePssCryptoHandle;
int pss_crypto_open_p(ScePssCryptoHandle *handle, char *path);
char *pss_crypto_read_p(ScePssCryptoHandle *handle, int *mode);
void *pss_code_mem_alloc(SceSize *);
void pss_code_mem_flush_icache(const void *, SceSize);
void pss_code_mem_lock(void);
void pss_code_mem_unlock(void);
#ifdef __cplusplus
}
#endif
#endif /* _PSP2_PSS_H_ */
|