Source-Changes archive

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

CVS commit: [netbsd-9] src/sys/dev/nvmm/x86



Module Name:    src
Committed By:   martin
Date:           Wed Aug  5 15:18:24 UTC 2020

Modified Files:
        src/sys/dev/nvmm/x86 [netbsd-9]: nvmm_x86_svm.c nvmm_x86_vmx.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #1041):

        sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.66
        sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.50
        sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.66
        sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.46
        sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.49
        sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.55
        sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.56

pg->phys_addr > VM_PAGE_TO_PHYS(pg)

Explicitly cast pointers to uintptr_t before casting to enums. They are
not necessarily the same size. Don't cast pointers to bool, check for
NULL instead.

vmx_vmptrst(): only used when DIAGNOSTIC

Simplify, remove unnecessary #ifdef DIAGNOSTIC around KASSERTs.

Use ULL, to make it clear we are unsigned.


To generate a diff of this commit:
cvs rdiff -u -r1.46.4.6 -r1.46.4.7 src/sys/dev/nvmm/x86/nvmm_x86_svm.c
cvs rdiff -u -r1.36.2.8 -r1.36.2.9 src/sys/dev/nvmm/x86/nvmm_x86_vmx.c

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