0b665a3c15870175bccf64fc0af566be8159f77b
6 extern struct _boot_infos_t
*BootInfo
;
7 extern void DrawNumber(struct _boot_infos_t
*, unsigned long, int, int);
8 extern void DrawString(struct _boot_infos_t
*, const char *, int, int);
9 #define TRACEXY(x,y) do { \
10 unsigned long _x_ = (unsigned long)(x), _y_ = (unsigned long)(y); \
11 __asm__("ori 0,0,0"); \
12 DrawNumber(BootInfo, __LINE__, 10, 160); \
13 DrawString(BootInfo, __FILE__, 100, 160); \
14 DrawNumber(BootInfo, _x_, 400, 160); \
15 DrawNumber(BootInfo, _y_, 490, 160); \
17 #define TRACEX(x) TRACEXY(x,0)
18 #define TRACE TRACEX(0)