hbc/channel/channelapp/stub/system.h
2016-11-23 14:35:12 +09:00

25 lines
670 B
C

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