Go to the documentation of this file.
4 #include "../unix/fb_private_console.h"
6 int fb_hIn(
unsigned short port )
8 #if defined HOST_X86 || defined HOST_X86_64
12 __asm__
volatile (
"inb %1, %0" :
"=a" (value) :
"d" (port));
19 int fb_hOut(
unsigned short port,
unsigned char value )
21 #if defined HOST_X86 || defined HOST_X86_64
24 __asm__
volatile (
"outb %0, %1" : :
"a" (value),
"d" (port));