summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/libbug/m88k/delay.c
blob: 68b1db12106ee6fc912484fa4383a8d6a46ac0e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * bug routines -- assumes that the necessary sections of memory
 * are preserved.
 */
#include <sys/types.h>
#include <machine/prom.h>

/* BUG - timing routine */
void
mvmeprom_delay(msec)
	int msec;
{
	asm volatile ("or r2,r0,%0": : "r" (msec));
	MVMEPROM_CALL(MVMEPROM_DELAY);
}