!i386 testing needed for loader fix

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Fri, 29 Oct 2004 02:35:05 -0700
I need some !i386 testing for a minor change to the loader.  It should
be a no-op, but I don't have appropriate access to test it at the
moment.  On i386 the test will allow boot with USB keyboards when no
PS/2 keyboard is available by selecting an option in the loader menu.
It is based on PR 73223.

-- Brooks

Index: beastie.4th
===================================================================
RCS file: /home/ncvs/src/sys/boot/forth/beastie.4th,v
retrieving revision 1.8
diff -u -p -r1.8 beastie.4th
--- beastie.4th	9 Jan 2004 19:20:47 -0000	1.8
+++ beastie.4th	29 Oct 2004 09:26:00 -0000
_at__at_ -40,6 +40,7 _at__at_ variable promptwidth
 
 variable bootkey
 variable bootacpikey
+variable bootusbkey
 variable bootsafekey
 variable bootverbosekey
 variable bootsinglekey
_at__at_ -155,6 +156,11 _at__at_ at-xy ."         `--{__________) " 1
 	else
 		-2 bootacpikey !
 	then
+	s" arch-i386" environment? if
+		printmenuitem ."  Boot FreeBSD with USB keyboard" bootusbkey !
+	else
+		-2 bootacpikey !
+	then
 	printmenuitem ."  Boot FreeBSD in Safe Mode" bootsafekey !
 	printmenuitem ."  Boot FreeBSD in single user mode" bootsinglekey !
 	printmenuitem ."  Boot FreeBSD with verbose logging" bootverbosekey !
_at__at_ -221,6 +227,10 _at__at_ set-current
 				s" YES" s" acpi_load" setenv
 				s" 0" s" hint.acpi.0.disabled" setenv
 			then
+			0 boot
+		then
+		dup bootusbkey _at_ = if
+			s" 0x1" s" hint.atkbd.0.flags" setenv
 			0 boot
 		then
 		dup bootsafekey _at_ = if

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

Received on Fri Oct 29 2004 - 07:34:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:20 UTC