add outb for when optimisations are turned off

This commit is contained in:
Bill Currie 2000-08-27 22:03:46 +00:00
parent 738cd437b5
commit ab1ac381ea

View file

@ -1020,3 +1020,7 @@ char *VID_ModeInfo (int modenum)
} }
} }
void outb(unsigned char value, unsigned short port)
{
__asm__ __volatile__ ("outb %b0,%w1" : : "a" (value) , "Nd" (port));
}