Module Name: src Committed By: snj Date: Mon Sep 4 20:41:28 UTC 2017
Modified Files: src/sys/arch/amd64/amd64 [netbsd-8]: copy.S locore.S machdep.c src/sys/compat/linux/arch/amd64 [netbsd-8]: linux_machdep.c Log Message: Pull up following revision(s) (requested by maxv in ticket #257): sys/compat/linux/arch/amd64/linux_machdep.c: 1.52 sys/arch/amd64/amd64/copy.S: 1.21-1.24 sys/arch/amd64/amd64/locore.S: 1.125 sys/arch/amd64/amd64/machdep.c: 1.256 Fix a bug in ucas_32 and ucas_64. There is a branch where they don't initialize %rax. -- style, reduces an incoming diff 00 Split comment, otherwise it is misleading. kcopy operates on kernel memory, and must *not* be used with userland pages. -- Move incq outside of the copy section. No functional change, reduces my smap diff. -- Remove dumb debug code and outdated comment. -- Don't forget to clean l_md.md_flags, otherwise there may be MDL_COMPAT32, in which case the kernel would always use iret (slower). To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.20.10.1 src/sys/arch/amd64/amd64/copy.S cvs rdiff -u -r1.123.6.1 -r1.123.6.2 src/sys/arch/amd64/amd64/locore.S cvs rdiff -u -r1.255 -r1.255.6.1 src/sys/arch/amd64/amd64/machdep.c cvs rdiff -u -r1.51 -r1.51.6.1 \ src/sys/compat/linux/arch/amd64/linux_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.