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

void udelay(unsigned usecs)
{
	int i;
	for(i = 0; i < usecs; i++)
		inb(0x80);
}