Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2009 13:09:26 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/acpica acpi_switch.S src/sys/amd64/amd64 apic_vector.S cpu_switch.S db_interface.c db_trace.c exception.S genassym.c machdep.c mp_machdep.c sys_machdep.c trap.c vm_machdep.c src/sys/amd64/ia32 ia32_exception.S ia32_misc.c ...
Message-ID:  <200904011309.n31D9rXT037775@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2009-04-01 13:09:26 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/acpica     acpi_switch.S 
    sys/amd64/amd64      apic_vector.S cpu_switch.S db_interface.c 
                         db_trace.c exception.S genassym.c 
                         machdep.c mp_machdep.c sys_machdep.c 
                         trap.c vm_machdep.c 
    sys/amd64/ia32       ia32_exception.S ia32_reg.c ia32_signal.c 
                         ia32_sigtramp.S 
    sys/amd64/include    asmacros.h frame.h md_var.h pcb.h pcpu.h 
                         proc.h segments.h sysarch.h 
    sys/amd64/linux32    linux32_locore.s linux32_machdep.c 
                         linux32_sysvec.c 
    sys/conf             files.amd64 
  Added files:
    sys/amd64/ia32       ia32_misc.c 
  Log:
  SVN rev 190620 on 2009-04-01 13:09:26Z by kib
  
  Save and restore segment registers on amd64 when entering and leaving
  the kernel on amd64. Fill and read segment registers for mcontext and
  signals. Handle traps caused by restoration of the
  invalidated selectors.
  
  Implement user-mode creation and manipulation of the process-specific
  LDT descriptors for amd64, see sysarch(2).
  
  Implement support for TSS i/o port access permission bitmap for amd64.
  
  Context-switch LDT and TSS. Do not save and restore segment registers on
  the context switch, that is handled by kernel enter/leave trampolines
  now. Remove segment restore code from the signal trampolines for
  freebsd/amd64, freebsd/ia32 and linux/i386 for the same reason.
  
  Implement amd64-specific compat shims for sysarch.
  
  Linuxolator (temporary ?) switched to use gsbase for thread_area pointer.
  
  TODO:
  Currently, gdb is not adapted to show segment registers from struct reg.
  Also, no machine-depended ptrace command is added to set segment
  registers for debugged process.
  
  In collaboration with:  pho
  Discussed with: peter
  Reviewed by:    jhb
  Linuxolator tested by:  dchagin
  
  Revision  Changes    Path
  1.2       +11 -6     src/sys/amd64/acpica/acpi_switch.S
  1.112     +2 -5      src/sys/amd64/amd64/apic_vector.S
  1.168     +60 -95    src/sys/amd64/amd64/cpu_switch.S
  1.82      +7 -3      src/sys/amd64/amd64/db_interface.c
  1.85      +2 -4      src/sys/amd64/amd64/db_trace.c
  1.138     +147 -50   src/sys/amd64/amd64/exception.S
  1.173     +19 -4     src/sys/amd64/amd64/genassym.c
  1.698     +89 -24    src/sys/amd64/amd64/machdep.c
  1.302     +13 -7     src/sys/amd64/amd64/mp_machdep.c
  1.91      +561 -20   src/sys/amd64/amd64/sys_machdep.c
  1.331     +95 -0     src/sys/amd64/amd64/trap.c
  1.263     +76 -20    src/sys/amd64/amd64/vm_machdep.c
  1.6       +5 -0      src/sys/amd64/ia32/ia32_exception.S
  1.13      +71 -0     src/sys/amd64/ia32/ia32_misc.c (new)
  1.4       +18 -17    src/sys/amd64/ia32/ia32_reg.c
  1.22      +45 -42    src/sys/amd64/ia32/ia32_signal.c
  1.5       +0 -4      src/sys/amd64/ia32/ia32_sigtramp.S
  1.34      +6 -1      src/sys/amd64/include/asmacros.h
  1.31      +9 -2      src/sys/amd64/include/frame.h
  1.85      +13 -0     src/sys/amd64/include/md_var.h
  1.70      +2 -4      src/sys/amd64/include/pcb.h
  1.53      +10 -2     src/sys/amd64/include/pcpu.h
  1.26      +21 -0     src/sys/amd64/include/proc.h
  1.43      +3 -0      src/sys/amd64/include/segments.h
  1.26      +9 -0      src/sys/amd64/include/sysarch.h
  1.5       +0 -4      src/sys/amd64/linux32/linux32_locore.s
  1.53      +3 -6      src/sys/amd64/linux32/linux32_machdep.c
  1.45      +38 -32    src/sys/amd64/linux32/linux32_sysvec.c
  1.137     +1 -0      src/sys/conf/files.amd64



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