2 Copyright 2009-2010, Ifcaro, jimmikaelkael & Polo
3 Copyright 2006-2008 Polo
4 Licenced under Academic Free License version 3.0
5 Review OpenUsbLd README & LICENSE files for further details.
7 Some parts of the code are taken from HD Project by Polo
19 #include <sbv_patches.h>
25 #define DPRINTF(args...) sio_printf(args)
26 #define DINIT() sio_init(38400, 0, 0, 0, 0)
28 #define DPRINTF(args...) do { } while(0)
29 #define DINIT() do { } while(0)
34 extern int set_reg_hook
;
35 extern int set_reg_disabled
;
36 extern int iop_reboot_count
;
38 extern int padOpen_hooked
;
40 #define IPCONFIG_MAX_LEN 64
41 char g_ipconfig
[IPCONFIG_MAX_LEN
] __attribute__((aligned(64)));
44 char g_ps2_netmask
[16];
45 char g_ps2_gateway
[16];
48 #define COMPAT_MODE_1 0x01
49 #define COMPAT_MODE_2 0x02
50 #define COMPAT_MODE_3 0x04
51 #define COMPAT_MODE_4 0x08
52 #define COMPAT_MODE_5 0x10
53 #define COMPAT_MODE_6 0x20
54 #define COMPAT_MODE_7 0x40
55 #define COMPAT_MODE_8 0x80
68 #define GS_BGCOLOUR *((volatile unsigned long int*)0x120000E0)
70 extern void (*InitializeTLB
)(void);