Annotation of sys/arch/mvme88k/stand/libbug/delay.c, Revision 1.1.1.1
1.1 nbrk 1: /* $OpenBSD: delay.c,v 1.3 2003/09/07 21:35:35 miod Exp $ */
2:
3: /*
4: * bug routines -- assumes that the necessary sections of memory
5: * are preserved.
6: */
7: #include <sys/types.h>
8: #include <machine/prom.h>
9: #include "prom.h"
10:
11: /* BUG - timing routine */
12: void
13: mvmeprom_delay(msec)
14: int msec;
15: {
16: asm volatile ("or r2,r0,%0": : "r" (msec));
17: MVMEPROM_CALL(MVMEPROM_DELAY);
18: }
CVSweb