Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/amd64
Module Name: src
Committed By: fvdl
Date: Fri May 11 14:01:46 UTC 2007
Modified Files:
src/sys/arch/amd64/amd64: locore.S machdep.c netbsd32_machdep.c pmap.c
src/sys/arch/amd64/include: cpu.h cpufunc.h frameasm.h
Log Message:
Don't save/restore %fs and %gs in trapframe. The kernel won't touch them.
Instead, save/restore them on context switch. For 32bit processes, save/restore
the selector values only, for 64bit processes, save/restore the appropriate
MSRs. Iff the defaults have been changed.
To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -r1.53 -r1.54 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -r1.39 -r1.40 src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -r1.33 -r1.34 src/sys/arch/amd64/amd64/pmap.c
cvs rdiff -r1.21 -r1.22 src/sys/arch/amd64/include/cpu.h
cvs rdiff -r1.15 -r1.16 src/sys/arch/amd64/include/cpufunc.h
cvs rdiff -r1.2 -r1.3 src/sys/arch/amd64/include/frameasm.h
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