Module Name: src Committed By: bouyer Date: Thu May 9 17:09:51 UTC 2019
Modified Files: src/sys/arch/x86/include: cpufunc.h src/sys/arch/xen/include: xen.h xenfunc.h src/sys/arch/xen/x86: hypervisor_machdep.c xen_intr.c src/sys/arch/xen/xen: evtchn.c Log Message: sti/cli are not allowed on Xen, we have to clear/set a bit in the shared page. Revert x86_disable_intr/x86_enable_intr to plain function calls on XENPV. While there, clean up unused functions and macros, and change cli()/sti() macros to x86_disable_intr/x86_enable_intr. Makes Xen domU boot again (http://www-soc.lip6.fr/~bouyer/NetBSD-tests/xen/HEAD/) To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/arch/x86/include/cpufunc.h cvs rdiff -u -r1.43 -r1.44 src/sys/arch/xen/include/xen.h cvs rdiff -u -r1.17 -r1.18 src/sys/arch/xen/include/xenfunc.h cvs rdiff -u -r1.35 -r1.36 src/sys/arch/xen/x86/hypervisor_machdep.c cvs rdiff -u -r1.15 -r1.16 src/sys/arch/xen/x86/xen_intr.c cvs rdiff -u -r1.85 -r1.86 src/sys/arch/xen/xen/evtchn.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.