Subject: re: CVS commit: syssrc/sys/arch
To: None <port-sparc@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: source-changes
Date: 04/15/2002 15:57:58
> To: gmcgarry@netbsd.org
> Cc: source-changes@netbsd.org
> subject: re: CVS commit: syssrc/sys/arch
> Date: Sun, 14 Apr 2002 21:42:45 +1000
> From: matthew green <mrg@eterna.com.au>
>
> > Log Message:
> > Add commented-out USERCONF option. Mainly useful for install media
> > and can be optionally enabled based on miniroot and ramdisk size
> > requirements.
>
> i note that sparc doesn't seem to use <sys/boot_flag.h>'s BOOT_FLAGS()
> so it won't be able to "boot -c". someone should probably fix
> sys/arch/sparc/stand/boot/boot.c to use <sys/boot_flag.h>, and then
> it has a chance of working.
Actually, sparc kernel parses boot arguments and sets "boothowto" itself and
it does it in bootpath_build(), i.e. in cpu_configure(), i.e. *after*
configure() tests for RB_USERCONF.
yes, i know. it doesn't use BOOT_FLAGS() like (nearly?) every
other port does. it should, however, because there are like
7 or 8 default handled flags in BOOT_FLAGS() and sparc only does
3 (-s, -d and -a.)
.mrg.