vitasdk
Documentation of the vitasdk
vshbridge.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2_VSHBRIDGE_H_
7 #define _PSP2_VSHBRIDGE_H_
8 
10 #include <psp2/types.h>
11 #include <psp2/kernel/modulemgr.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
23 
32 
33 int _vshSblAimgrGetConsoleId(char CID[32]);
34 
43 SceUID _vshKernelSearchModuleByName(const char *module_name, const void *buffer);
44 
53 int _vshIoMount(int id, const char *path, int permission, void *buf);
54 
55 
64 int vshIoUmount(int id, int force, int unk2, int unk3);
65 
69 
76 int vshIdStorageReadLeaf(SceSize leafnum, void *buf);
77 
86 int vshIdStorageWriteLeaf(SceSize leafnum, const void *buf);
87 
97 int _vshNpDrmEbootSigVerify(const char *eboot_pbp_path, const char *eboot_signature, char** eboot_signature_header);
98 
108 int _vshNpDrmPspEbootVerify(const char *eboot_pbp_path, const char *eboot_signature, char** eboot_signature_header);
109 
119 int _vshNpDrmPspEbootSigGen(const char *eboot_pbp_path, const void *eboot_sha256, void *eboot_signature);
120 
130 int _vshNpDrmEbootSigConvert(const char *eboot_pbp_path, const void* old_eboot_signature, void* new_eboot_signature);
131 
132 
143 int _vshNpDrmEbootSigGenPsp(const char *eboot_pbp_path, const void* eboot_sha256, void *eboot_signature, int *sw_version);
144 
145 
156 int _vshNpDrmEbootSigGenPs1(const char *eboot_pbp_path, const void *eboot_sha256, void *eboot_signature, int *sw_version);
157 
168 int _vshNpDrmEbootSigGenMultiDisc(const char *eboot_pbp_path, const void *sce_discinfo, void *eboot_signature, int *sw_version);
169 
179 
181 
186 
189 
192 
195 
197 
198 #ifdef __cplusplus
199 }
200 #endif
201 
202 #endif /* _PSP2_VSHBRIDGE_H_ */
void * buffer
Definition: bt.h:6
Definition: modulemgr.h:108
Definition: msif.h:16
unsigned int SceSize
Definition: types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90
uint32_t SceUInt32
Definition: types.h:45
int vshSblAimgrIsDEX(void)
int vshRemovableMemoryGetCardInsertState(void)
int _vshNpDrmPspEbootVerify(const char *eboot_pbp_path, const char *eboot_signature, char **eboot_signature_header)
Verify an older 0x100 byte eboot.pbp signature "__sce_ebootpbp" from firmware <2.00.
int vshIdStorageWriteLeaf(SceSize leafnum, const void *buf)
int _vshSblGetSystemSwVersion(SceKernelFwInfo *data)
Gets real system firmware information.
int vshSblSsIsDevelopmentMode(void)
int vshIdStorageIsFormatted(void)
int vshIdStorageIsReadOnly(void)
int _vshNpDrmEbootSigConvert(const char *eboot_pbp_path, const void *old_eboot_signature, void *new_eboot_signature)
Convert an older 0x100 byte eboot.pbp signature "__sce_ebootpbp" to a 0x200 byte one used in firmware...
int _vshNpDrmEbootSigVerify(const char *eboot_pbp_path, const char *eboot_signature, char **eboot_signature_header)
Verify a eboot.pbp signature "__sce_ebootpbp".
int _vshNpDrmEbootSigGenPs1(const char *eboot_pbp_path, const void *eboot_sha256, void *eboot_signature, int *sw_version)
Generate eboot.pbp signature "__sce_ebootpbp" for a single-disc PS1 game.
int vshSysconIsIduMode(void)
int vshSysconHasWWAN(void)
int _vshSblAimgrGetSMI(SceUInt32 *info)
Get service/manufacturing information (factory/minimum firmware).
int _vshNpDrmEbootSigGenPsp(const char *eboot_pbp_path, const void *eboot_sha256, void *eboot_signature, int *sw_version)
Generate eboot.pbp signature "__sce_ebootpbp" for a PSP game.
int vshSysconIsDownLoaderMode(void)
int vshSysconIsShowMode(void)
int vshSblAimgrIsCEX(void)
int vshSblAimgrIsVITA(void)
int vshSblAimgrIsDolce(void)
int vshIdStorageReadLeaf(SceSize leafnum, void *buf)
int vshSysconIsMCEmuCapable(void)
int vshSblAimgrIsGenuineVITA(void)
int _vshSblAimgrGetConsoleId(char CID[32])
int vshSysconShowModeClear(void)
int vshSblAimgrIsTool(void)
SceUID _vshKernelSearchModuleByName(const char *module_name, const void *buffer)
Check if a module is loaded.
int _vshNpDrmEbootSigGenMultiDisc(const char *eboot_pbp_path, const void *sce_discinfo, void *eboot_signature, int *sw_version)
Generate eboot.pbp signature "__sce_discinfo" for a multi-disc PS1 game.
int vshMsifGetMsInfo(SceMsInfo *info)
int vshSblAimgrIsGenuineDolce(void)
int vshSysconIduModeSet(void)
int vshIoUmount(int id, int force, int unk2, int unk3)
int _vshIoMount(int id, const char *path, int permission, void *buf)
int vshMemoryCardGetCardInsertState(void)
int vshSblAimgrIsTest(void)
int vshSysconShowModeSet(void)
int vshIdStorageIsDirty(void)
int vshSysconIduModeClear(void)
int _vshNpDrmPspEbootSigGen(const char *eboot_pbp_path, const void *eboot_sha256, void *eboot_signature)
Generate an older 0x100 byte eboot.pbp signature "__sce_ebootpbp" for a PSP game - this is unused in ...