Module Name:    src
Committed By:   maxv
Date:           Thu Feb 22 09:41:06 UTC 2018

Modified Files:
        src/sys/arch/amd64/amd64: machdep.c
        src/sys/arch/amd64/include: pmap.h
        src/sys/arch/x86/include: cpufunc.h
        src/sys/arch/x86/x86: patch.c svs.c x86_machdep.c

Log Message:
Improve the SVS initialization.

Declare x86_patch_window_open() and x86_patch_window_close(), and globalify

Introduce svs_enable() in x86/svs.c, that does the SVS hotpatching.

Change svs_init() to take a bool. This function gets called twice; early
when the system just booted (and nothing is initialized), lately when at
least pmap_kernel has been initialized.

To generate a diff of this commit:
cvs rdiff -u -r1.298 -r1.299 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/amd64/include/pmap.h
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/x86/include/cpufunc.h
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/x86/x86/patch.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x86/x86/svs.c
cvs rdiff -u -r1.104 -r1.105 src/sys/arch/x86/x86/x86_machdep.c

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

Reply via email to