X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=misc%2Ftest_vm%2Fsrc%2Fgeekos%2Fio.c;h=70b9f505f00485ef30ee7e963eac657abbe88659;hb=5e83847991f155d6aabffc2b71f5a9224a5fbd59;hp=313273305b367b7951310edc34c57fec7eb8f1a6;hpb=0893919c04fa1186a70039b739a6dcec0a2189ba;p=palacios.git diff --git a/misc/test_vm/src/geekos/io.c b/misc/test_vm/src/geekos/io.c index 3132733..70b9f50 100644 --- a/misc/test_vm/src/geekos/io.c +++ b/misc/test_vm/src/geekos/io.c @@ -1,7 +1,7 @@ /* * x86 port IO routines * Copyright (c) 2001, David H. Hovemeyer - * $Revision: 1.1 $ + * $Revision: 1.2 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". @@ -21,11 +21,14 @@ void Out_Byte(ushort_t port, uchar_t value) ); } +extern uchar_t InByteLL(ushort_t port); + /* * Read a byte from an I/O port. */ uchar_t In_Byte(ushort_t port) { + /* uchar_t value; __asm__ __volatile__ ( @@ -35,6 +38,9 @@ uchar_t In_Byte(ushort_t port) ); return value; + */ + + return InByteLL(port); } /*