Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 1997 21:36:11 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/i386/include md_var.h pcb.h reg.h src/sys/i386/i386 genassym.c machdep.c swtch.s trap.c
Message-ID:  <199706070436.VAA21703@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         1997/06/06 21:36:11 PDT

  Modified files:
    sys/i386/include     md_var.h pcb.h reg.h 
    sys/i386/i386        genassym.c machdep.c swtch.s trap.c 
  Log:
  Preserve %fs and %gs across context switches.  This has a relatively low
  cost since it is only done in cpu_switch(), not for every exception.
  The extra state is kept in the pcb, and handled much like the npx state,
  with similar deficiencies (the state is not preserved across signal
  handlers, and error handling loses state).
  
  Revision  Changes    Path
  1.14      +3 -1      src/sys/i386/include/md_var.h
  1.22      +4 -2      src/sys/i386/include/pcb.h
  1.15      +13 -1     src/sys/i386/include/reg.h
  1.47      +3 -1      src/sys/i386/i386/genassym.c
  1.247     +9 -1      src/sys/i386/i386/machdep.c
  1.52      +13 -1     src/sys/i386/i386/swtch.s
  1.99      +20 -1     src/sys/i386/i386/trap.c



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