[MPlayer-cvslog] r24532 - trunk/vidix/dha.c

ben subversion at mplayerhq.hu
Sat Sep 15 19:51:06 CEST 2007


Author: ben
Date: Sat Sep 15 19:51:05 2007
New Revision: 24532

Log:
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

Modified:
   trunk/vidix/dha.c

Modified: trunk/vidix/dha.c
==============================================================================
--- trunk/vidix/dha.c	(original)
+++ trunk/vidix/dha.c	Sat Sep 15 19:51:05 2007
@@ -185,6 +185,7 @@ void unmap_phys_mem(void *ptr, unsigned 
 
 #endif /* Generic mmap (not win32, nor os2) */
 
+#if !defined(__alpha__) && !defined(__powerpc__)
 unsigned char INPORT8(unsigned idx)
 {
   return inb(idx);
@@ -214,3 +215,4 @@ void OUTPORT32(unsigned idx,unsigned val
 {
   outl(idx,val);
 }
+#endif



More information about the MPlayer-cvslog mailing list