From owner-cvs-sys Thu Mar 7 21:16:09 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA11561 for cvs-sys-outgoing; Thu, 7 Mar 1996 21:16:09 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA11487 Thu, 7 Mar 1996 21:15:57 -0800 (PST) Date: Thu, 7 Mar 1996 21:15:57 -0800 (PST) From: Bruce Evans Message-Id: <199603080515.VAA11487@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot asm.S table.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 96/03/07 21:15:56 Modified: sys/i386/boot/biosboot asm.S table.c Log: Fixed restoring segment descriptors in prot_to_real(). The descriptors must have limit 0xffff and attribute G = 0 (byte granularity) as well as other properties that they already had (see e.g., the Intel i486 manual section 22.5). Not restoring them broke Ctrl-Alt-Del in the bootstrap for my ASUS P55TP4XE system, probably because the Award BIOS does anti-tracing stuff involving inaccessible %esp's. asm.S: Don't use lret in prot_to_real(). This reduces the risk of using an incompletely intialized stack segment and saves space. Submitted by: "K.Higashino" (on 13 Jan 1995!) reworked by me Revision Changes Path 1.7 +11 -10 src/sys/i386/boot/biosboot/asm.S 1.9 +2 -2 src/sys/i386/boot/biosboot/table.c