Unifdef VXWORKS.

This commit is contained in:
Adam Jackson 2008-07-23 11:43:59 -04:00
parent 2e3c43d306
commit b699364b1c
2 changed files with 0 additions and 17 deletions

View File

@ -75,9 +75,6 @@ KdMapDevice (CARD32 addr, CARD32 size)
strerror (errno));
return a;
#endif
#ifdef VXWORKS
return (void *) addr;
#endif
}
void
@ -90,9 +87,6 @@ KdUnmapDevice (void *addr, CARD32 size)
#ifdef linux
munmap (addr, size);
#endif
#ifdef VXWORKS
;
#endif
}
#ifdef HAVE_ASM_MTRR_H

View File

@ -43,17 +43,6 @@
#define _VgaBytePort(a) (a)
#endif
#ifdef VXWORKS
#define _VgaInb(r) 0
#define _VgaOutb(v,r) 0
#define _VgaByteAddr(a) ((VGAVOL8 *) ((VGA32) (a) ^ 3))
#define _VgaBytePort(a) 0
#undef stderr
#define stderr stdout
#endif
#undef VGA_DEBUG_REGISTERS
#ifdef VGA_DEBUG_REGISTERS