Home
last modified time | relevance | path

Searched hist:"278 e79707e0b2f22fb52df40feb45bf11a44ef0f" (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Dsubr_module.cdiff 278e79707e0b2f22fb52df40feb45bf11a44ef0f Wed Feb 09 20:08:21 CET 2011 Marcel Moolenaar <marcel@FreeBSD.org> Provide convenience function for obtaining MODINFO_ADDR and MODINFO_SIZE
attributes for preloaded modules/images. In particular, MODINFO_ADDR has
the added complexity of not always being relocated properly. Rather than
kluging this in the various components that are affected, we handle it
in a centralized place (preload_fetch_addr()). To that end, expose a new
variable, preload_addr_relocate, that MD initialization code can set and
that turns the address attribute into a valid kernel VA.

Architectures that need the relocation: arm & powerpc (at least).
Components that can utilize this: acpi(4), md(4), fb(4), pci(4), ZFS, geli.

Sponsored by: Juniper Networks
/freebsd/sys/sys/
H A Dlinker.hdiff 278e79707e0b2f22fb52df40feb45bf11a44ef0f Wed Feb 09 20:08:21 CET 2011 Marcel Moolenaar <marcel@FreeBSD.org> Provide convenience function for obtaining MODINFO_ADDR and MODINFO_SIZE
attributes for preloaded modules/images. In particular, MODINFO_ADDR has
the added complexity of not always being relocated properly. Rather than
kluging this in the various components that are affected, we handle it
in a centralized place (preload_fetch_addr()). To that end, expose a new
variable, preload_addr_relocate, that MD initialization code can set and
that turns the address attribute into a valid kernel VA.

Architectures that need the relocation: arm & powerpc (at least).
Components that can utilize this: acpi(4), md(4), fb(4), pci(4), ZFS, geli.

Sponsored by: Juniper Networks