On Fri, Jun 12, 2009 at 8:14 PM, Vladimir 'phcoder'
Serbinenko<
address@hidden> wrote:
> Hello. Unlike some other types of modules (mfsroot, splash, ..)
> FreeBSD relies on ELF modules being partially parsed by booter. So I
> added new function freebsd_module_elf specifically for loading elf
> modules. I also factorised freebsd_module_add_meta to do only parts
> common to all types of modules and moved module-specific parts to
> corresponding functions. I tested it only with 64-bit kernel. It works
> for 64-bit kernels but doesn't work for 32-bit ones. Dumps show that
> 32-bit loader uses quite different format. I'll investigate the issue
>