mirror of
https://github.com/fail0verflow/hbc.git
synced 2024-11-18 07:39:24 +01:00
25 lines
670 B
C
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
|