[OpenBIOS] Tidying up the modules subdirectory

Blue Swirl blauwirbel at gmail.com
Sun Mar 7 17:20:50 CET 2010


On 3/7/10, Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk> wrote:
> Hi everyone,
>
>  In looking at the modules/ subdirectory, it seems to me that it is actually
> serving multiple purposes. Not only does it contain C implementations for
> Forth words defined within various extension packages, but also various
> random library routines.
>
>  I'd like to propose creating a new directory called common/ and moving any
> files that don't contain C implementations of package words into this new
> directory. With this in place, I think it will be possible to share more
> files between the various architectures; in particular I think it will be
> possible to use one set of code for each of the different *-loaders, rather
> than requiring separate implementations for each architecture (e.g.
> arch/*/elfload.c).

Good plan, though "common" does not describe the directory contents
well. I don't have a better name in hand (misc: vague, arch/common:
same problem, loaders: could be something else, core: not so core
stuff, kernel: already taken).



More information about the OpenBIOS mailing list