diff options
author | Adam Jackson <ajax@redhat.com> | 2008-07-23 11:43:59 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-07-23 11:44:07 -0400 |
commit | b699364b1c807d29666633523f5b5a608a07a8ee (patch) | |
tree | fb88a5b247ef70ce39ba1f6a75a100ec84ce9dd5 | |
parent | 2e3c43d306616f8accdeaffec9c108ba88324805 (diff) |
Unifdef VXWORKS.
-rw-r--r-- | hw/kdrive/src/kmap.c | 6 | ||||
-rw-r--r-- | hw/kdrive/src/vga.c | 11 |
2 files changed, 0 insertions, 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 |