mirror of
https://github.com/Maschell/saviine.git
synced 2024-06-01 23:18:50 +02:00
2b2f1c5004
Support for more firmwares (untested)
24 lines
457 B
C
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_
|