Unifdef VXWORKS.
This commit is contained in:
parent
2e3c43d306
commit
b699364b1c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user