psputilsforkernel.h File Reference

Go to the source code of this file.

Functions

int sceKernelGzipDecompress (u8 *dest, u32 destSize, const u8 *src, u32 unknown)
 Decompress gzip'd data (requires kernel mode).
void sceKernelDcacheInvalidateAll (void)
 Invalidate the entire data cache.
int sceKernelDcacheProbe (void *addr)
 Check whether the specified address is in the data cache.
void sceKernelIcacheInvalidateAll (void)
 Invalidate the entire instruction cache.
void sceKernelIcacheInvalidateRange (const void *addr, unsigned int size)
 Invalidate a instruction cache range.
int sceKernelIcacheProbe (const void *addr)
 Check whether the specified address is in the instruction cache.


Function Documentation

void sceKernelDcacheInvalidateAll ( void   ) 

Invalidate the entire data cache.

int sceKernelDcacheProbe ( void *  addr  ) 

Check whether the specified address is in the data cache.

Parameters:
addr - The address to check
Returns:
0 = not cached, 1 = cache

int sceKernelGzipDecompress ( u8 dest,
u32  destSize,
const u8 src,
u32  unknown 
)

Decompress gzip'd data (requires kernel mode).

Parameters:
dest - pointer to destination buffer
destSize - size of destination buffer
src - pointer to source (compressed) data
unknown - unknown, pass NULL
Returns:
size decompressed on success, < 0 on error

void sceKernelIcacheInvalidateAll ( void   ) 

Invalidate the entire instruction cache.

void sceKernelIcacheInvalidateRange ( const void *  addr,
unsigned int  size 
)

Invalidate a instruction cache range.

Parameters:
addr - The start address of the range.
size - The size in bytes

int sceKernelIcacheProbe ( const void *  addr  ) 

Check whether the specified address is in the instruction cache.

Parameters:
addr - The address to check
Returns:
0 = not cached, 1 = cache


Generated on Tue Jul 24 15:21:24 2007 for PSPSDK-Rev2272 by  doxygen 1.5.2