Re: FreeBSD and wine mmap

From: Julian Elischer <julian_at_elischer.org>
Date: Wed, 04 Aug 2004 15:46:42 -0700
John Birrell wrote:

>On Wed, Aug 04, 2004 at 06:28:02PM -0400, Anish Mistry wrote:
>  
>
>>Ok, so we need something like vm_map_findspace(), but for process address 
>>mapping?  ie. pmap_findspace() that will return an address to a large enough 
>>free chunk?
>>    
>>
>
>That's a good start, just to get something to work with. How this fits in
>with the vm code and whether it is ultimately suitable in the long run is
>probably up to Alan Cox. For now, just get something that (a) doesn't break
>anything else; and (b) lets Wine behave the way it needs to.
>

/proc/curproc/map
can give you a quick temporary solution..
julian_at_ref3:cat /proc/curproc/map
0x8048000 0x808b000 67 0 0xc1040ad4 r-x 30 15 0x4 COW NC vnode /bin/csh
0x808b000 0x808e000 3 0 0xc1b8239c rw- 1 0 0x2180 COW NNC vnode /bin/csh
0x808e000 0x80bb000 16 0 0xc1cdd630 rw- 1 0 0x2180 COW NNC default -
0x80bb000 0x80ca000 15 0 0xc1e904a4 rwx 1 0 0x2180 COW NNC default -
0x80ca000 0x8107000 61 0 0xc1ed5ce4 rwx 1 0 0x2180 NCOW NNC default -
0x2808b000 0x280a7000 23 0 0xc103f738 r-x 103 45 0x4 COW NC vnode 
/libexec/ld-el
f.so.1
0x280a7000 0x280a8000 1 0 0xc2096840 rw- 1 0 0x2180 COW NC vnode 
/libexec/ld-elf
.so.1
0x280a8000 0x280ad000 5 0 0xc1d55ef4 rw- 1 0 0x2180 COW NNC default -
0x280ad000 0x280b5000 7 0 0xc1abd7bc rwx 1 0 0x2180 COW NNC default -
0x280b5000 0x280e8000 49 0 0xc103fb58 r-x 48 32 0x4 COW NC vnode 
/lib/libncurses
.so.5
0x280e8000 0x280e9000 1 0 0xc1f1d5ac r-x 1 0 0x2180 COW NC vnode 
/lib/libncurses
.so.5
0x280e9000 0x280f1000 8 0 0xc1a95ad4 rwx 1 0 0x2180 COW NNC vnode 
/lib/libncurse
s.so.5
0x280f1000 0x280f2000 1 0 0xc1a02ef4 rwx 1 0 0x2180 NCOW NNC default -
0x280f2000 0x280f7000 5 0 0xc183c5ac r-x 84 44 0x4 COW NC vnode 
/lib/libcrypt.so
.2
0x280f7000 0x280f8000 1 0 0xc1cddd68 r-x 1 0 0x2180 COW NC vnode 
/lib/libcrypt.s
o.2
0x280f8000 0x280f9000 1 0 0xc22d16b4 rwx 1 0 0x2180 COW NC vnode 
/lib/libcrypt.s
o.2
0x280f9000 0x2810a000 0 0 0 rwx 0 0 0x0 NCOW NNC none -
0x2810a000 0x281bf000 123 0 0xc26a818c r-x 1 0 0x2180 COW NC vnode 
/lib/libc.so.
5
0x281bf000 0x281c0000 1 0 0xc1db58c4 r-x 1 0 0x2180 COW NC vnode 
/lib/libc.so.5
0x281c0000 0x281c6000 6 0 0xc27938c4 rwx 1 0 0x2180 COW NNC vnode 
/lib/libc.so.5
0x281c6000 0x281da000 12 0 0xc258f5ac rwx 1 0 0x2180 COW NNC default -
0xbfbe0000 0xbfc00000 15 0 0xc1fd35ac rwx 1 0 0x2180 COW NNC default -


>
>AFAIK, there are still pthread issues with Wine, but those can't be addressed
>until the mmap issue has a work-around.
>
>  
>
Received on Wed Aug 04 2004 - 20:46:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC