Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys

Module Name:    src
Committed By:   dsl
Date:           Sun Jul 15 15:17:57 UTC 2012

Modified Files:
        src/sys/arch/amd64/amd64: locore.S machdep.c
            netbsd32_machdep.c trap.c
        src/sys/arch/amd64/include: frameasm.h proc.h
        src/sys/arch/x86/include: cpu.h
        src/sys/arch/x86/x86: vm_machdep.c
        src/sys/compat/linux32/arch/amd64: linux32_machdep.c

Log Message:
Rename MDP_IRET to MDL_IRET since it is an lwp flag, not a proc one.
Add an MDL_COMPAT32 flag to the lwp's md_flags, set it for 32bit lwps
  and use it to force 'return to user' with iret (as is done when
  MDL_IRET is set).
Split the iret/sysret code paths much later.
Remove all the replicated code for 32bit system calls - which was only
  needed so that iret was always used.
frameasm.h for XEN contains '#define swapgs', while XEN probable never
  needs swapgs, this is likely to be confusing.
Add a SWAPGS which is a nop on XEN and swapgs otherwise.
(I've not yet checked all the swapgs in files that include frameasm.h)
Simple x86 programs still work.
Hijack 6.99.9 kernel bump (needed for compat32 modules)

To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/amd64/amd64/
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -u -r1.188 -r1.189 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/amd64/amd64/trap.c
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/amd64/include/frameasm.h
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/amd64/include/proc.h
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/x86/include/cpu.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x86/x86/vm_machdep.c
cvs rdiff -u -r1.30 -r1.31 \

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index