Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: Version 2.3

Re: Version 2.3

From: Björn Stenberg <bjorn_at_haxx.se>
Date: Tue, 22 Apr 2003 08:42:04 +0200

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.

-- 
Björn
Received on 2003-04-22

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy