coreboot-kgpe-d16/src/pc80/udelay_io.c

11 lines
123 B
C
Raw Normal View History

#include <arch/io.h>
#include <delay.h>
void udelay(unsigned usecs)
{
int i;
for(i = 0; i < usecs; i++)
inb(0x80);
}