patch for unbreaking wine on freebsd
jean-marc DETREZ
jm.detrez at cegetel.net
Mon May 30 11:11:19 PDT 2005
_____
De : jean-marc DETREZ [mailto:jm.detrez at cegetel.net]
Envoyé : lundi 30 mai 2005 20:04
À : 'wine-patches at winehq.com'; 'emulation at freebsd.org'
Cc : 'Gerald Pfeifer'
Objet : patch for unbreaking wine on freebsd (with the patch!!!!)
Hi,
Im currently testing a patch Ive made for unbreaking wine on FreeBSD.
Its seems that like other OS a call to mmap() return not always the desired
address range.
For NetBSD it appears that a special function was compiled try_mmap_fixed
who call mmap with MAP_FIXED after verifying that the memory address is
free.
Im use this function to Create Heap System at base address 0x80000000 , I
didnt always use that function for all calls to mmap because it seems that
cause performance issues.
I made a little correction of try_mmap_fixed because its seems to me
that the function didnt really test the result (vec).
What do you think of that, if it work for all (emulation at freebsd.com: could
you test) could you insert it in the future wine release?
Dont miss to give me feedback, Ive a few more patch to send.
Jean-marc.
The patch is for libs/wine/mmap.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmap.patch
Type: application/octet-stream
Size: 2363 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20050530/4d07a74e/mmap.obj
More information about the freebsd-emulation
mailing list