Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2005 20:01:18 +0200
From:      "jean-marc DETREZ" <jm.detrez@cegetel.net>
To:        <wine-patches@winehq.com>, <emulation@freebsd.org>
Subject:   patch for unbreaking wine on freebsd
Message-ID:  <20050530180131.D1D9A318399@smtp.cegetel.net>

next in thread | raw e-mail | index | archive | help
Hi, 

I'm currently testing a patch I've made for unbreaking wine on FreeBSD.I'ts
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.

 

I'm use this function to Create Heap System at base address 0x80000000 , I
didn't 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 it's seems to me
that the function didn't really test the result (vec).

 

What do you think of that, if it work for all (emulation@freebsd.com: could
you test) could you insert it in the future wine release?

 

 

Don't miss to give me feedback, I've a few more patch to send.

 

Jean-marc.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050530180131.D1D9A318399>