mirror of
https://github.com/joel16/uofw.git
synced 2024-11-26 21:10:38 +00:00
idstorage: create missing prototypes
This commit is contained in:
parent
41bb9ec100
commit
ac648c0116
@ -58,4 +58,4 @@ s32 sceSysregPllGetFrequency(void);
|
||||
s32 sceSysregSpiClkSelect(s32, s32);
|
||||
s32 sceSysregSpiClkEnable(s32);
|
||||
s32 sceSysregSpiIoEnable(s32);
|
||||
|
||||
s32 sceSysregGetFuseId(void);
|
||||
|
@ -22,6 +22,7 @@ int UtilsForKernel_43C9A8DB(const void *p, u32 size);
|
||||
int sceKernelRtcGetTick(u64 *tick);
|
||||
|
||||
int sceKernelUtilsMd5Digest(u8 *data, u32 size, u8 *digest);
|
||||
int sceKernelUtilsSha1Digest(u8 *data, u32 size, u8 *digest);
|
||||
|
||||
int sceKernelGzipDecompress(u8 *dest, u32 destSize, const void *src, u32 *unk);
|
||||
|
||||
|
@ -38,6 +38,7 @@ int sceKernelWaitThreadEnd(SceUID thid, SceUInt *timeout);
|
||||
int sceKernelWaitThreadEndCB(SceUID thid, SceUInt *timeout);
|
||||
int sceKernelReleaseWaitThread(SceUID thid);
|
||||
int sceKernelSuspendAllUserThreads(void);
|
||||
int sceKernelExtendKernelStack(u32, s32(void*), void*);
|
||||
|
||||
unsigned int sceKernelGetSystemTimeLow(void);
|
||||
int sceKernelGetUserLevel(void);
|
||||
|
@ -13,6 +13,8 @@
|
||||
#include <sysmem_sysevent.h>
|
||||
#include <sysmem_sysclib.h>
|
||||
#include <sysmem_kdebug.h>
|
||||
#include <sysmem_utils_kernel.h>
|
||||
#include <sysmem_suspend_kernel.h>
|
||||
#include <threadman_kernel.h>
|
||||
#include <usersystemlib_kernel.h>
|
||||
#include <modulemgr.h>
|
||||
@ -95,7 +97,7 @@ s32 sceIdStorageInit(void)
|
||||
magic[1] = fuse >> 32;
|
||||
magic[2] = fuse << 1;
|
||||
magic[3] = 0xD41D8CD9;
|
||||
sceKernelUtilsSha1Digest(magic, sizeof(magic), digest);
|
||||
sceKernelUtilsSha1Digest((u8*)magic, sizeof(magic), (u8*)digest);
|
||||
|
||||
if (sceSysregGetTachyonVersion() > 0x004FFFFF) {
|
||||
/* PSP Slim and greater */
|
||||
|
Loading…
Reference in New Issue
Block a user