CVS: winex/miscemu main.c,1.8,1.9

[email protected] 31 Jul 2007 20:06:01 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/miscemu main.c,1.8,1.9Update of /var/lib/cvsd/cvsroot/winex/miscemu
In directory agravaine:/tmp/cvs-serv3324/miscemu

Modified Files:
	main.c 
Log Message:
Refactor SHM server to handle both POSIX and SYSV IPC.
Add support for SHM server on Mac OS X.


Index: main.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/miscemu/main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- main.c	30 Mar 2007 18:33:53 -0000	1.8
+++ main.c	31 Jul 2007 20:05:59 -0000	1.9
@@ -30,15 +30,12 @@
 small magic in the linker line for the main wine executable to create the reserved area at load time */
 asm("\t.zerofill WINE, WINE_RESERVED, _wine_reserved_area,  0x10000000\n");
 
-#define SHMSERVER_ADDR 0xB0000000
-#define SHMSERVER_SIZE (1024 * 1024 * 10)
-
 static struct wine_preload_info preload_info[] =
 {
     { (void *)0x00000000, 0x00110000, 0 },  /* DOS area */
     { (void *)0x80000000, 0x01000000, 0 },  /* shared heap */
     { (void *)0x00110000, 0x0fef0000, 0 },  /* default PE exe range (note, WINEPRELOADRESERVE env var not supported on the Mac) */
-    { (void *)SHMSERVER_ADDR, SHMSERVER_SIZE, PRELOAD_INFO_SERVERADDR }, /* shared memory server */
+    { (void *)0x0, 0, PRELOAD_INFO_SERVERADDR }, /* shared memory server */
     { 0, 0, PRELOAD_INFO_NULL }                             /* end of list */
 };
 const struct wine_preload_info *wine_main_preload_info = preload_info;