cvs commit: src/sys/amd64/amd64 cpu_switch.S genassym.c src/sys/amd64/ia32 ia32_signal.c src/sys/amd64/include pcb.h src/sys/amd64/linux32 linux32_machdep.c

Konstantin Belousov kib at FreeBSD.org
Wed Jul 30 18:19:37 UTC 2008


kib         2008-07-30 11:30:55 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      cpu_switch.S genassym.c 
    sys/amd64/ia32       ia32_signal.c 
    sys/amd64/include    pcb.h 
    sys/amd64/linux32    linux32_machdep.c 
  Log:
  SVN rev 180992 on 2008-07-30 11:30:55Z by kib
  
  Bring back the save/restore of the %ds, %es, %fs and %gs registers for
  the 32bit images on amd64.
  
  Change the semantic of the PCB_32BIT pcb flag to request the context
  switch code to operate on the segment registers. Its previous meaning
  of saving or restoring the %gs base offset is assigned to the new
  PCB_GS32BIT flag.
  
  FreeBSD 32bit image activator sets the PCB_32BIT flag, while Linux 32bit
  emulation sets PCB_32BIT | PCB_GS32BIT.
  
  Reviewed by:    peter
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.162     +29 -18    src/sys/amd64/amd64/cpu_switch.S
  1.169     +1 -0      src/sys/amd64/amd64/genassym.c
  1.18      +1 -1      src/sys/amd64/ia32/ia32_signal.c
  1.65      +1 -0      src/sys/amd64/include/pcb.h
  1.47      +1 -1      src/sys/amd64/linux32/linux32_machdep.c


More information about the cvs-all mailing list