[Mplayer-cvslog] CVS: main/libdha/sysdep AsmMacros_x86.h,1.3,1.4 libdha_win32.c,1.1,1.2

Sascha Sommer CVS faust3 at mplayerhq.hu
Thu Oct 2 16:48:21 CEST 2003


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

Modified Files:
	AsmMacros_x86.h libdha_win32.c 
Log Message:
port libdha to mingw

Index: AsmMacros_x86.h
===================================================================
RCS file: /cvsroot/mplayer/main/libdha/sysdep/AsmMacros_x86.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- AsmMacros_x86.h	20 Dec 2002 21:07:27 -0000	1.3
+++ AsmMacros_x86.h	2 Oct 2003 14:48:17 -0000	1.4
@@ -7,9 +7,9 @@
 #ifndef __ASM_MACROS_X86_H
 #define __ASM_MACROS_X86_H
 
-#if defined (WINNT)
-#error This stuff is not ported on your system
-#else
+//#if defined (WINNT)
+//#error This stuff is not ported on your system
+//#else
 
 #include "config.h"
 
@@ -280,4 +280,4 @@
 
 #endif
 
-#endif
+//#endif

Index: libdha_win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/libdha/sysdep/libdha_win32.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libdha_win32.c	15 Jan 2002 08:31:53 -0000	1.1
+++ libdha_win32.c	2 Oct 2003 14:48:17 -0000	1.2
@@ -5,7 +5,6 @@
 */
 
 #include <windows.h>
-
 /*
   This is the request structure that applications use
   to request services from the MAPDEV VxD.
@@ -34,7 +33,7 @@
     ((DeviceType)<<16) | ((Access)<<14) | ((Function)<<2) | (Method) )
 
 /* Memory Map a piece of Real Memory */
-void *map_phys_mem(unsigned base, unsigned size) {
+void *map_phys_mem(unsigned long base, unsigned long size) {
 
   HANDLE hDevice ;
   PVOID inBuf[1] ;		/* buffer for struct pointer to VxD */
@@ -66,5 +65,4 @@
   return (void*)req.mdr_LinearAddress ;
 }
 
-void unmap_phys_mem(void *ptr, unsigned size) { }
-
+void unmap_phys_mem(void *ptr, unsigned long size) { }



More information about the MPlayer-cvslog mailing list