saviine/src/kernel/syscalls.h
Maschell 2b2f1c5004 Made it compatible with the HBL
Support for more firmwares (untested)
2016-04-02 20:14:59 +02:00

24 lines
457 B
C

#ifndef __SYSCALLS_H_
#define __SYSCALLS_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <gctypes.h>
#include "common/kernel_defs.h"
void KernelSetupSyscalls(void);
void KernelRestoreInstructions(void);
void SC0x25_KernelCopyData(unsigned int addr, unsigned int src, unsigned int len);
void SC0x36_KernelReadDBATs(bat_table_t * table);
void SC0x37_KernelWriteDBATs(bat_table_t * table);
#ifdef __cplusplus
}
#endif
#endif // __KERNEL_FUNCTIONS_H_