fixed the alternate device mode.
[open-ps2-loader.git] / include / system.h
blob09a65f592803e329d935b737fdd5ff7bca12fc65
1 #ifndef __SYSTEM_H
2 #define __SYSTEM_H
4 #define SYS_LOAD_MC_MODULES 0x01
5 #define SYS_LOAD_PAD_MODULES 0x02
7 void delay(int count);
8 unsigned int USBA_crc32(char *string);
9 int sysGetDiscID(char *discID);
10 void sysReset(int modload_mask);
11 void sysExecExit();
12 void sysPowerOff(void);
13 int sysPcmciaCheck(void);
14 void sysGetCDVDFSV(void **data_irx, int *size_irx);
15 #ifdef VMC
16 void sysLaunchLoaderElf(char *filename, char *mode_str, int size_cdvdman_irx, void **cdvdman_irx, int size_mcemu_irx, void **mcemu_irx, int compatflags, int alt_ee_core);
17 #else
18 void sysLaunchLoaderElf(char *filename, char *mode_str, int size_cdvdman_irx, void **cdvdman_irx, int compatflags, int alt_ee_core);
19 #endif
20 int sysExecElf(char *path, int argc, char **argv);
21 int sysPS3Detect(void);
22 int sysSetIPConfig(char* ipconfig);
23 int sysLoadModuleBuffer(void *buffer, int size, int argc, char *argv);
24 void sysApplyKernelPatches(void);
25 int sysCheckMC(void);
26 #ifdef VMC
27 int sysCheckVMC(const char* prefix, const char* sep, char* name, int createSize);
28 #endif
30 #endif