idstorage: create missing prototypes

This commit is contained in:
Clément G 2014-04-30 21:34:44 +02:00
parent 41bb9ec100
commit ac648c0116
4 changed files with 6 additions and 2 deletions

View File

@ -58,4 +58,4 @@ s32 sceSysregPllGetFrequency(void);
s32 sceSysregSpiClkSelect(s32, s32);
s32 sceSysregSpiClkEnable(s32);
s32 sceSysregSpiIoEnable(s32);
s32 sceSysregGetFuseId(void);

View File

@ -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);

View File

@ -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);

View File

@ -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 */