00001 /* 00002 * PSP Software Development Kit - http://www.pspdev.org 00003 * ----------------------------------------------------------------------- 00004 * Licensed under the BSD license, see LICENSE in PSPSDK root for details. 00005 * 00006 * psputilsforkernel.h - Include file for UtilsForKernel 00007 * 00008 * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca> 00009 * Copyright (c) 2005 adresd 00010 * 00011 * $Id: psputilsforkernel.h 2339 2007-12-06 19:41:18Z raphael $ 00012 */ 00013 00014 #ifndef __PSPUTILSFORKERNEL_H__ 00015 #define __PSPUTILSFORKERNEL_H__ 00016 00017 #ifdef __cplusplus 00018 extern "C" { 00019 #endif 00020 00030 int sceKernelGzipDecompress(u8 *dest, u32 destSize, const u8 *src, u32 unknown); 00031 00041 int sceKernelDeflateDecompress(u8 *dest, u32 destSize, const u8 *src, u32 unknown); 00042 00046 void sceKernelDcacheInvalidateAll(void); 00047 00054 int sceKernelDcacheProbe(void *addr); 00055 00059 void sceKernelIcacheInvalidateAll(void); 00060 00066 void sceKernelIcacheInvalidateRange(const void *addr, unsigned int size); 00067 00074 int sceKernelIcacheProbe(const void *addr); 00075 00076 #ifdef __cplusplus 00077 } 00078 #endif 00079 00080 #endif
1.7.1