From b699364b1c807d29666633523f5b5a608a07a8ee Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 23 Jul 2008 11:43:59 -0400 Subject: [PATCH] Unifdef VXWORKS. --- hw/kdrive/src/kmap.c | 6 ------ hw/kdrive/src/vga.c | 11 ----------- 2 files changed, 17 deletions(-) diff --git a/hw/kdrive/src/kmap.c b/hw/kdrive/src/kmap.c index ce1e28ae4..60e8ae134 100644 --- a/hw/kdrive/src/kmap.c +++ b/hw/kdrive/src/kmap.c @@ -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 diff --git a/hw/kdrive/src/vga.c b/hw/kdrive/src/vga.c index 862f074a2..5a0a9678c 100644 --- a/hw/kdrive/src/vga.c +++ b/hw/kdrive/src/vga.c @@ -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