diff --git a/hw/xfree86/os-support/misc/SlowBcopy.c b/hw/xfree86/os-support/misc/SlowBcopy.c index 9d82c71bf..d40bbd7c7 100644 --- a/hw/xfree86/os-support/misc/SlowBcopy.c +++ b/hw/xfree86/os-support/misc/SlowBcopy.c @@ -22,35 +22,10 @@ #include "xf86_OSlib.h" #include "compiler.h" -static int really_slow_bcopy; - -void -xf86SetReallySlowBcopy(void) -{ - really_slow_bcopy = 1; -} - -#if defined(__i386__) || defined(__amd64__) -static void -xf86_really_slow_bcopy(unsigned char *src, unsigned char *dst, int len) -{ - while (len--) { - *dst++ = *src++; - outb(0x80, 0x00); - } -} -#endif - /* The outb() isn't needed on my machine, but who knows ... -- ost */ void xf86SlowBcopy(unsigned char *src, unsigned char *dst, int len) { -#if defined(__i386__) || defined(__amd64__) - if (really_slow_bcopy) { - xf86_really_slow_bcopy(src, dst, len); - return; - } -#endif while (len--) *dst++ = *src++; } diff --git a/hw/xfree86/os-support/xf86_OSproc.h b/hw/xfree86/os-support/xf86_OSproc.h index 8d61d8208..d6fc6ab83 100644 --- a/hw/xfree86/os-support/xf86_OSproc.h +++ b/hw/xfree86/os-support/xf86_OSproc.h @@ -119,7 +119,6 @@ extern _X_EXPORT void xf86SetTVOut(int); extern _X_EXPORT void xf86SetRGBOut(void); #endif extern _X_EXPORT void xf86OSRingBell(int, int, int); -extern _X_EXPORT void xf86SetReallySlowBcopy(void); extern _X_EXPORT void xf86SlowBcopy(unsigned char *, unsigned char *, int); extern _X_EXPORT int xf86OpenSerial(XF86OptionPtr options); extern _X_EXPORT int xf86SetSerial(int fd, XF86OptionPtr options);