[Mplayer-cvslog] CVS: main/libdha AsmMacros.h,1.1,1.2

Nick Kurshev nick at mplayer.dev.hu
Sat Jan 12 10:40:18 CET 2002


Update of /cvsroot/mplayer/main/libdha
In directory mplayer:/var/tmp.root/cvs-serv13763/main/libdha

Modified Files:
	AsmMacros.h 
Log Message:
Sync with XFree86-4.1.99.5+

Index: AsmMacros.h
===================================================================
RCS file: /cvsroot/mplayer/main/libdha/AsmMacros.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AsmMacros.h	4 Jan 2002 10:32:26 -0000	1.1
+++ AsmMacros.h	12 Jan 2002 09:40:07 -0000	1.2
@@ -57,13 +57,16 @@
  *
  */
 
-
-
-
-/* $XFree86: xc/programs/Xserver/hw/xfree86/SuperProbe/AsmMacros.h,v 3.13 1999/03/28 15:32:21 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/chips/util/AsmMacros.h,v 1.1 2001/11/16 21:13:34 tsi Exp $ */
 
 #if defined(__GNUC__)
-#if defined(linux) && defined(__alpha__)
+#if defined(linux) && (defined(__alpha__) || defined(__ia64__))
+#undef	inb
+#undef	inw
+#undef	inl
+#undef	outb
+#undef	outw
+#undef	outl
 #define inb _inb
 #define inw _inw
 #define inl _inl
@@ -251,6 +254,18 @@
 }
 
 #else
+#if defined(__FreeBSD__) && defined(__alpha__)
+
+#include <sys/types.h>
+
+extern void outb(u_int32_t port, u_int8_t val);
+extern void outw(u_int32_t port, u_int16_t val);
+extern void outl(u_int32_t port, u_int32_t val);
+extern u_int8_t inb(u_int32_t port);
+extern u_int16_t inw(u_int32_t port);
+extern u_int32_t inl(u_int32_t port);
+
+#else
 #ifdef GCCUSESGAS
 static __inline__ void
 outb(port, val)
@@ -373,6 +388,7 @@
 #endif /* arm32 */
 #endif /* linux && __sparc__ */
 #endif /* linux && __alpha__ */
+#endif /* __FreeBSD__ && __alpha__ */
 
 #if defined(linux) || defined(__arm32__) || (defined(Lynx) && defined(__powerpc__))
 




More information about the MPlayer-cvslog mailing list