1 /*****************************************************************************/
3 * \file input/lib/src/emul_time.c
4 * \brief L4INPUT: Linux time emulation
7 * \author Christian Helmuth <ch12@os.inf.tu-dresden.de>
8 * \author Frank Mehnert <fm3@os.inf.tu-dresden.de>
12 * (c) 2007-2009 Technische Universität Dresden
13 * This file is part of TUD:OS and distributed under the terms of the
14 * GNU General Public License 2.
15 * Please see the COPYING-GPL-2 file for details.
20 #include <l4/util/rdtsc.h> /* XXX x86 specific */
22 #include <l4/util/util.h>
25 #include <asm/delay.h>
28 void udelay(unsigned long usecs)
31 l4_sleep(usecs/1000); // XXX
33 l4_busy_wait_us(usecs);