[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] load FreeBSD ELF modules
From: |
Vladimir 'phcoder' Serbinenko |
Subject: |
[PATCH] load FreeBSD ELF modules |
Date: |
Fri, 12 Jun 2009 20:14:34 +0200 |
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
--
Regards
Vladimir 'phcoder' Serbinenko
bsdelf.diff
Description: Text Data
- [PATCH] load FreeBSD ELF modules,
Vladimir 'phcoder' Serbinenko <=