Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 1996 21:15:57 -0800 (PST)
From:      Bruce Evans <bde>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/i386/boot/biosboot asm.S table.c
Message-ID:  <199603080515.VAA11487@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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" <a00303@cc.hc.keio.ac.jp> (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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603080515.VAA11487>