Module Name: src Committed By: cherry Date: Tue Feb 12 08:04:53 UTC 2019
Modified Files: src/sys/arch/xen/include: xenfunc.h src/sys/arch/xen/x86: xen_intr.c Log Message: Move xen event related code which interfaces with the NetBSD interrupt subsystem into a separate namespace where it can co-exist with the native equivalent in PVHVM mode. On PV, we alias and export the native symbols - this means that although the namespace is different, the semantics must be identical. Eg: xen_intr_establish_xname() vs. intr_establish_xname(). The specific functions we need in PVHVM are: - spllower, xen_spllower (for native as well as XEN event spl despatch/defer) - xen_disable_intr()/xen_enable_intr() , x86_disable_intr()/x86_enable_intr() - xen_read_psl()/xen_write_psl(), x86_read_psl()/x86_write_psl() - intr_establish() et. al, xen_intr_establish() et. al. This gives us the ability to manage Paravirtualised drivers such as xbd(4) as well as fully emulated ones such as wd(4)., for eg To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/xen/include/xenfunc.h cvs rdiff -u -r1.13 -r1.14 src/sys/arch/xen/x86/xen_intr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.