Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2005 11:32:30 +0530
From:      Joseph Koshy <joseph.koshy@gmail.com>
To:        Freebsd Enthu <freebsdenthu@yahoo.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: How do I control the load address in Elf header
Message-ID:  <84dead720511172202x3f45b7f3j64273dac7f64f211@mail.gmail.com>
In-Reply-To: <20051118014519.21083.qmail@web36415.mail.mud.yahoo.com>
References:  <20051118014519.21083.qmail@web36415.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I am one of the firmware guys that is writing a Secondary Boot  Loader th=
at 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead720511172202x3f45b7f3j64273dac7f64f211>