Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/sgimips/sgimips
Module Name: src
Committed By: rumble
Date: Wed Feb 21 04:27:11 UTC 2007
Modified Files:
src/sys/arch/sgimips/sgimips: arcemu.c arcemu.h machdep.c
Log Message:
Since IP12 doesn't use ARCS, we could read the console setting from the
nvram, but it may not be valid. For example, if the console is set to
graphics, but no keyboard is attached, we should not attempt to use a
graphical console.
To fix this, we extend arcemu to parse the prom's environment array, which
is the third argument to the kernel. If the console mode is graphics, but
no keyboard is found, the 'gfx' environment variable will contain 'dead'.
Note that since IP12 has no bootloader, we assume that the third parameter
is the environment table, not bootinfo.
To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/arch/sgimips/sgimips/arcemu.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/sgimips/sgimips/arcemu.h
cvs rdiff -r1.106 -r1.107 src/sys/arch/sgimips/sgimips/machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index