aboutsummaryrefslogtreecommitdiff
path: root/backends/plugins/elf/memory-manager.cpp
AgeCommit message (Collapse)Author
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-12-22PLUGINS: replace all size_t's with uint32's and add #include <malloc.h> to ↵Yotam Barnoy
memory manager uint32 is all we need since we only handle ELF32 anyway. svn-id: r55012
2010-12-22PLUGINS: Only enable ELFMemoryManager when dynamic plugins and the ELF ↵Johannes Schickel
loader is enabled. This should fix compilation on desktop systems, where for example memalign is not present. svn-id: r55011
2010-12-22PLUGINS: add ELF memory manager to solve fragmentationYotam Barnoy
Following lordhoto's suggestion, I implemented a simple allocator that grabs the size of the biggest available plugin in memory. This is an elegant solution to the fragmentation problem, with the caveat that memory is wasted. As such, it's not suited for the DS, so I added a #define to disable it there. svn-id: r55009