dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Version 2.3
From: Björn Stenberg (
Date: 2003-04-22

Greg Haerr wrote:
> So basically the module will be compiled with -fPIC,
> loaded for a set memory address, with a known file offset
> to the binary function pointer struct. When the module
> is desired to be loaded, it's read from disk into a specific
> memory address, then the function struct (likely at offset
> 0 at the loaded address) function pointers are filled in by
> rockbox, then a call is made to the module entry point.
> The module will callback functions only through the
> function struct.
> On return, the module is unloaded (marked as "free").
> Correct?

Yes, except for the -fPIC part. I intend to simply link all plugins to the same hard coded address so no relocation will be needed.

However, I haven't actually started to work on this yet so I may have to change some details in my plan if they turn out impractical.


Page was last modified "Jan 10 2012" The Rockbox Crew