changeset 24512:4241e73020bc

the IN/OUT PORT 8/16/32 functions rely on inb/inw/inl/outb/outw/outl that are not available on alpha and powerpc architectures
author ben
date Sat, 15 Sep 2007 17:51:05 +0000
parents 263c0b282d90
children 3596519d8568
files vidix/dha.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/dha.c	Sat Sep 15 16:45:38 2007 +0000
+++ b/vidix/dha.c	Sat Sep 15 17:51:05 2007 +0000
@@ -185,6 +185,7 @@
 
 #endif /* Generic mmap (not win32, nor os2) */
 
+#if !defined(__alpha__) && !defined(__powerpc__)
 unsigned char INPORT8(unsigned idx)
 {
   return inb(idx);
@@ -214,3 +215,4 @@
 {
   outl(idx,val);
 }
+#endif