Date: Thu, 26 Oct 2006 23:18:20 +0400 From: Ruslan Ermilov <ru@freebsd.org> To: John Baldwin <jhb@freebsd.org> Cc: freebsd-stable@freebsd.org, Stefan Bethke <stb@lassitu.de>, Bruce Evans <bde@zeta.org.au>, Bruce Evans <bde@freebsd.org> Subject: Re: Still possible to directly boot without loader? Message-ID: <20061026191820.GB2420@rambler-co.ru> In-Reply-To: <200610261138.24939.jhb@freebsd.org> References: <3A8131D4-881E-4873-A682-543A1A88C063@lassitu.de> <200610261028.10680.jhb@freebsd.org> <20061026144240.GB1219@rambler-co.ru> <200610261138.24939.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--aVD9QWMuhilNxW9f Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 26, 2006 at 11:38:24AM -0400, John Baldwin wrote: > On Thursday 26 October 2006 10:42, Ruslan Ermilov wrote: > > On Thu, Oct 26, 2006 at 10:28:09AM -0400, John Baldwin wrote: > > > boot2 should do whatever loader does. > > >=20 > > But this would be a regression, since loader(8) does the following, > > in the ELF32 case: > >=20 > > : 0 edoofus:ttyp2:/sys/boot/i386/libi386 >grep -w entry elf32_freebsd.c > > : vm_offset_t entry, bootinfop, modulep, kernend; > > : entry =3D ehdr->e_entry & 0xffffff; > > : printf("Start @ 0x%lx ...\n", entry); > > : __exec((void *)entry, boothowto, bootdev, 0, 0, 0, bootinfop, mod= ulep, kernend); >=20 > Ah, ok. Make them both just mask the top 8 bits then. :) >=20 OK, I backed out your change to boot2.c. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --aVD9QWMuhilNxW9f Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFQQn8qRfpzJluFF4RApv6AKCUc34UZb04FYdQmPx9d/3/+w+2YQCfRUok EWYZ3gFj0kiiOiBAqlsUd9k= =Jp8D -----END PGP SIGNATURE----- --aVD9QWMuhilNxW9f--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061026191820.GB2420>