cvs commit: src/sys/amd64/amd64 cpu_switch.S machdep.c src/sys/amd64/ia32 ia32_signal.c

Konstantin Belousov kib at FreeBSD.org
Thu Sep 4 13:51:28 UTC 2008


kib         2008-09-04 13:51:08 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/amd64/amd64      cpu_switch.S machdep.c 
    sys/amd64/ia32       ia32_signal.c 
  Log:
  SVN rev 182755 on 2008-09-04 13:51:08Z by kib
  
  MFC r182684:
  
  - When executing FreeBSD/amd64 binaries from FreeBSD/i386 or Linux/i386
    processes, clear PCB_32BIT and PCB_GS32BIT bits.
  
  - Reread the fs and gs bases from the msr unconditionally, not believing
    the values in pcb_fsbase and pcb_gsbase, since usermode may reload
    segment registers, invalidating the cache.
  
  Approved by:    re (kensmith)
  
  Revision   Changes    Path
  1.160.2.2  +18 -2     src/sys/amd64/amd64/cpu_switch.S
  1.675.2.8  +1 -0      src/sys/amd64/amd64/machdep.c
  1.15.2.3   +1 -0      src/sys/amd64/ia32/ia32_signal.c


More information about the cvs-src mailing list