|
|
Rockbox mail archiveSubject: Re: Version 2.3From: Björn Stenberg (bjorn_at_haxx.se) Date: 2003-04-21
Greg Haerr wrote:
Because we still don't want to have a dynamic memory allocation (and code relocation) system. All plugins will be compiled and linked for a hard coded position in ram.
> Dynamic loading with several
This is still possible, although only one plugin will be loaded at any one time. Since plugins intended to be "UI grabbing" functions, it also makes little point having two of them loaded at one. Why have both Sokoban and Tetris in memory, for instance?
> I presume
Even simpler, I want no relocation at all. At least in the first versions.
> What about calling inbound, should
My current plan is to have a single inbound call, which passes the function pointer struct and then is used by the plugin as the execution thread. When that call exits, the plugin is unloaded and control returns to the core Rockbox GUI.
-- Björn
Page was last modified "Jan 10 2012" The Rockbox Crew |