/* $OpenBSD: delay.c,v 1.3 2003/09/07 21:35:35 miod Exp $ */ /* * bug routines -- assumes that the necessary sections of memory * are preserved. */ #include #include #include "prom.h" /* BUG - timing routine */ void mvmeprom_delay(msec) int msec; { asm volatile ("or r2,r0,%0": : "r" (msec)); MVMEPROM_CALL(MVMEPROM_DELAY); }