2003-11-14 17:48:57 +01:00
|
|
|
|
|
|
|
/* $XConsortium: IODelay.c /main/1 1996/05/07 17:13:43 kaleb $ */
|
|
|
|
/*******************************************************************************
|
|
|
|
Stub for Alpha Linux
|
|
|
|
*******************************************************************************/
|
|
|
|
|
2005-04-20 14:25:48 +02:00
|
|
|
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/misc/IODelay.c,v 1.1.2.1 1998/06/04 17:35:59 dawes Exp $ */
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2005-07-03 09:02:09 +02:00
|
|
|
#ifdef HAVE_XORG_CONFIG_H
|
|
|
|
#include <xorg-config.h>
|
|
|
|
#endif
|
|
|
|
|
2005-04-20 14:25:48 +02:00
|
|
|
#include <X11/X.h>
|
2003-11-14 17:48:57 +01:00
|
|
|
#include "xf86.h"
|
|
|
|
#include "xf86Priv.h"
|
|
|
|
#include "xf86_OSlib.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* All we really need is a delay of about 40ns for I/O recovery for just
|
|
|
|
* about any occasion, but we'll be more conservative here: On a
|
|
|
|
* 100-MHz CPU, produce at least a delay of 1,000ns.
|
|
|
|
*/
|
2006-03-25 20:52:05 +01:00
|
|
|
_X_EXPORT void
|
2003-11-14 17:48:57 +01:00
|
|
|
xf86IODelay()
|
|
|
|
{
|
|
|
|
xf86UDelay(1);
|
|
|
|
}
|
|
|
|
|