!i386 testing needed for loader fix
Brooks Davis
brooks at one-eyed-alien.net
Fri Oct 29 02:34:36 PDT 2004
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
@@ -40,6 +40,7 @@ variable promptwidth
variable bootkey
variable bootacpikey
+variable bootusbkey
variable bootsafekey
variable bootverbosekey
variable bootsinglekey
@@ -155,6 +156,11 @@ at-xy ." `--{__________) [0m" 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 !
@@ -221,6 +227,10 @@ set-current
s" YES" s" acpi_load" setenv
s" 0" s" hint.acpi.0.disabled" setenv
then
+ 0 boot
+ then
+ dup bootusbkey @ = if
+ s" 0x1" s" hint.atkbd.0.flags" setenv
0 boot
then
dup bootsafekey @ = 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041029/0934a41a/attachment.bin
More information about the freebsd-current
mailing list