How do I control the load address in Elf header
joseph.koshy at gmail.com
Fri Nov 18 06:02:32 GMT 2005
> I am one of the firmware guys that is writing a Secondary Boot Loader that boots
> FreeBSD kernel. From what I see in the ELF header for FreeBSD kernel, the load
> address seems to have a value of 0x80200000 which seems to be a Virtual address
> for me. If I want to put the Physical address where I want the FreeBSD to go,
> what are the FreeeBSD files I need to change?
See loader(8) ... /usr/src/sys/boot/*
AFAIR we switch to protected mode in the loader itself.
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy
More information about the freebsd-hackers