provide outb for when not optimising

This commit is contained in:
Bill Currie 2001-06-07 16:12:21 +00:00
parent 8cbf3b2b62
commit e9c01870b3

View file

@ -672,3 +672,11 @@ VID_SetGamma (double gamma)
{
return false; //FIXME
}
#ifdef i386
void
outb (unsigned char val, unsigned short port)
{
asm ("outb %b0, %w1" : :"a"(val), "d"(port));
}
#endif