Subject: Re: Adding bootverbose
To: =?ISO-8859-1?Q?Jarom=EDr_Dole=E8ek?= <email@example.com>
From: Ben Harris <firstname.lastname@example.org>
Date: 07/06/2000 17:32:43
On Thu, 6 Jul 2000, Jarom=EDr Dole=E8ek wrote:
> Ben Harris wrote:
> > In article <200007061206.e66C6MY03203@saruman.ics.muni.cz> you write:
> > >Couple of issues: amigappc,arm26,mac68k don't seem to pass/recognize
> > >any boot flags. Is the info passed other way ?
> > arm26 passes a binary structure from the bootloader to the kernel. Loo=
> > sys/arch/arm26/include/boot.h.
> Ah, I should have grepped for 'howto' even for arm26 :) Would following
> be right for arm26 ?
Seems fine to me, yes.
> > Well, in sys/arch/vax/vax/subr.s, the VAX seems to get its boothowto fr=
> > R11 on old bootloaders:
> > movl r11,_boothowto # Howto boot (single et=
> > On later bootloaders, it's passed in the RPB (in rpb_bootr5) (see locor=
> > boothowto =3D prpb->rpb_bootr5;
> Well, I did found this, just couldn't find where either r11 or prpb->rpb_=
> is initialized, i.e. if there is way for user to specify boot flags
> similar way to i386's : boot FILE -s
> Okay, I'll look a bit further :)
Well, vax/boot/boot/boot.c sets bootr5 based on options it gets
interactively. vax/boot/xxboot/bootxx.c seems to initialise it from the
environment, presumably so you can type "B/3" at MicroVAX etc consoles.
Ben Harris <bjh21@netbsd.=
Portmaster, NetBSD/arm26 <URL:http://www.netbsd.org/Ports/arm=