| View previous topic :: View next topic |
| Author |
Message |
NecroRomancist
Joined: 18 Sep 2007 Posts: 233
|
Posted: Fri May 08, 2009 11:04 am Post subject: mmap dependent software |
|
|
I thought i'd create a list of software we have or will have to re-test / recompile once we have mmap /mprotect.
dosbox - can use mprotect for its recompiling engine. Otherwise it will fallback to malloc which is why the recompiling engine is slower under Syllable.
SDL - uses mprotect for software scaling.
JamVM - uses mmap in a similar way to dosbox.
PostgreSQL - requires mmap.
GTK+ (indirect renderer - Cairo - ) - looks for a working mmap @ configure.
cherokee - requires mmap
gnash >= 0.8.3 - makes use of shm and mmap.Can't be compiled otherwise..
These are the ones i know of.. |
|
| Back to top |
|
 |
Vanders The Knights of Syllable
Joined: 14 Sep 2007 Posts: 830
|
Posted: Fri May 08, 2009 12:51 pm Post subject: |
|
|
| GCC 4.2+ requires mmap() |
|
| Back to top |
|
 |
Vanders The Knights of Syllable
Joined: 14 Sep 2007 Posts: 830
|
Posted: Tue May 19, 2009 10:30 am Post subject: |
|
|
Checked in a first-pass implementation of mmap() & munmap(). mprotect() is currently a stub but will be simple to implement.
I'm building GCC 4.2.3 right now to test, although some software already uses mmap() if it's available: Freetype for example (this was a surprise to me) and the system is booting, so it's working.
As a nice extra file-backed MAP_SHARED mmap() was easy to support, so we should have full mmap() support in 0.6.7. |
|
| Back to top |
|
 |
Vanders The Knights of Syllable
Joined: 14 Sep 2007 Posts: 830
|
Posted: Wed May 20, 2009 10:55 am Post subject: |
|
|
| mmap(), mprotect(), msync() & munmap() are now in CVS. |
|
| Back to top |
|
 |
|