[K42-discussion] patch for kernel module loader

Andrew Baumann andrewb at cse.unsw.edu.au
Tue Sep 26 15:35:44 EST 2006


Hi,

This patch fixes a number of issues with the kernel module loader:

1. It adds a workaround for a problem in the standard k42 toolchain where 
symbols that are function descriptors are labeled as STT_NOTYPE rather than 
STT_FUNC.

2. It moves the generation and install rules for the boot_image.map file from 
bin/moduleloader/Makefile to os/arch/powerpc/Make.arch. This fixes (for me) 
the problem where the commands to build the file were run too early on 
parallel make. Because parallel builds now work, I've reenabled the 
moduleloader subdirectory in bin/Makefile.

3. It adds a -v command-line flag to enable debug output at runtime. Without 
it, the module loader operates silently.

4. It changes the path used to locate the boot_image.map file, so the module 
loader doesn't need to be run from a specific working directory.

Any comments?

Cheers,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moduleloader.diff
Type: text/x-diff
Size: 12417 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/k42-discussion/attachments/20060926/70391825/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/k42-discussion/attachments/20060926/70391825/attachment.pgp 


More information about the K42-discussion mailing list