diff options
author | yokota <yokota@FreeBSD.org> | 1997-11-21 11:37:07 +0000 |
---|---|---|
committer | yokota <yokota@FreeBSD.org> | 1997-11-21 11:37:07 +0000 |
commit | 60fadeeab4fe79ffac175341f33e5d1b4d016f37 (patch) | |
tree | d4b9da18a8c4a055e1fa378a238962a79b40fa13 /sys/dev/syscons/syscons.h | |
parent | c98d25ed0e19f9fbee298e0e3ff7a34de69c603e (diff) | |
download | FreeBSD-src-60fadeeab4fe79ffac175341f33e5d1b4d016f37.zip FreeBSD-src-60fadeeab4fe79ffac175341f33e5d1b4d016f37.tar.gz |
Make comp_vgaregs() less strict about VGA register values when
checking the BIOS video mode paramter table. Now syscons uses the
parameter table even if some bits in the table are different from the
current VGA register settings.
Even if comp_vgaregs() finds that the BIOS video parameter table looks
totally unfamiliar to it, syscons allows the user to change the
current video mode to some modes which are based on the VGA 80x25
mode. They are VGA 80x30, VGA 80x50, VGA 80x60. In this case the user
will be warned, during boot, that video mode switching is only
paritally supported on his machine.
PR: bin/4477
Diffstat (limited to 'sys/dev/syscons/syscons.h')
-rw-r--r-- | sys/dev/syscons/syscons.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.h b/sys/dev/syscons/syscons.h index ccddf83..1e01769 100644 --- a/sys/dev/syscons/syscons.h +++ b/sys/dev/syscons/syscons.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.h,v 1.34 1997/10/01 20:46:29 sos Exp $ + * $Id: syscons.h,v 1.35 1997/10/23 03:23:50 yokota Exp $ */ #ifndef _I386_ISA_SYSCONS_H_ @@ -173,6 +173,7 @@ typedef struct scr_stat { u_short bell_duration; u_short bell_pitch; u_char border; /* border color */ + u_char initial_mode; /* initial mode */ u_char mode; /* mode */ pid_t pid; /* pid of controlling proc */ struct proc *proc; /* proc* of controlling proc */ |