Syllable Forum Index Syllable
Syllable Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mmap dependent software

 
Post new topic   Reply to topic    Syllable Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
NecroRomancist



Joined: 18 Sep 2007
Posts: 272

PostPosted: Fri May 08, 2009 11:04 am    Post subject: mmap dependent software Reply with quote

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
View user's profile Send private message
Vanders
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 849

PostPosted: Fri May 08, 2009 12:51 pm    Post subject: Reply with quote

GCC 4.2+ requires mmap()
Back to top
View user's profile Send private message Send e-mail
Vanders
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 849

PostPosted: Tue May 19, 2009 10:30 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Vanders
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 849

PostPosted: Wed May 20, 2009 10:55 am    Post subject: Reply with quote

mmap(), mprotect(), msync() & munmap() are now in CVS.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Syllable Forum Index -> Bugs All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group