summaryrefslogtreecommitdiff
path: root/src/pc80/udelay_io.c
blob: 870af079cf4be635c1e062630ab8a9de9d4b5ee9 (plain)
1
2
3
4
5
6
7
8
9
#include <arch/io.h>

void udelay(int usecs)
{
	int i;
	for(i = 0; i < usecs; i++)
		outb(i&0xff, 0x80);
}