A
download ppcdebug.h
Language: C
LOC: 17
Project Info
ReactOS
Server: ReactOS
Type: svn
...os\reactos\include\reactos\
   ccros.h
   config.h
   debug.h
   exeformat.h
   helper.h
   kddll.h
   ppcboot.h
   ppcdebug.h
   ppcfont.h
   probe.h
   reactos.rbuild
   resource.h
   rosldr.h
   rossym.h
   typedefs_host.h
   typedefs64.h
   version.h
   version.rc
   windbgkd.h
   winlogon.h

#ifndef _PPCDEBUG_H
#define _PPCDEBUG_H

#include "ppcboot.h"

extern struct _boot_infos_t *BootInfo;
extern void DrawNumber(struct _boot_infos_t *, unsigned long, int, int);
extern void DrawString(struct _boot_infos_t *, const char *, int, int);
#define TRACEXY(x,y) do { \
  unsigned long _x_ = (unsigned long)(x), _y_ = (unsigned long)(y); \
  __asm__("ori 0,0,0"); \
  DrawNumber(BootInfo, __LINE__, 10, 160); \
  DrawString(BootInfo, __FILE__, 100, 160); \
  DrawNumber(BootInfo, _x_, 400, 160); \
  DrawNumber(BootInfo, _y_, 490, 160); \
} while(0)
#define TRACEX(x) TRACEXY(x,0)
#define TRACE TRACEX(0)

#endif//_PPCDEBUG_H

About Koders | Resources | Downloads | Support | Black Duck | Terms of Service | DMCA | Privacy Policy | Contact Us