grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] load FreeBSD ELF modules


From: Vladimir 'phcoder' Serbinenko
Subject: Re: [PATCH] load FreeBSD ELF modules
Date: Sat, 13 Jun 2009 12:23:43 +0200

Hello

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
>
I figured 32-bit modules out. It required loading additional elements
like _DYNAMIC for both kernel and modules.
> --
> Regards
> Vladimir 'phcoder' Serbinenko
>



-- 
Regards
Vladimir 'phcoder' Serbinenko

Attachment: bsdelf.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]