hbc-FIX94/channel/channelapp/stub/system.h

25 lines
670 B
C
Raw Permalink Normal View History

2016-11-23 06:35:12 +01:00
// this code was taken from libogc, see http://www.devkitpro.org/
#ifndef __SYSTEM_H__
#define __SYSTEM_H__
#include <gctypes.h>
void ICInvalidateRange(void *startaddress,u32 len);
void DCInvalidateRange(void *startaddress,u32 len);
void DCFlushRange(void *startaddress,u32 len);
void DCFlushRangeNoSync(void *startaddress,u32 len);
void dol_relocstart(void *dolstart);
void* memmove(void *dst0,const void *src0,register int length);
extern void _memset(void *,int,int);
//void *memset(void *ptr, int c, int size);
#define memset _memset
void *memcpy(void *ptr, const void *src, int size);
int strlen(const char *ptr);
extern void __exception_closeall();
#endif