diff options
author | Ian.Campbell@xensource.com <Ian.Campbell@xensource.com> | 2006-01-11 15:51:56 +0000 |
---|---|---|
committer | Ian.Campbell@xensource.com <Ian.Campbell@xensource.com> | 2006-01-11 15:51:56 +0000 |
commit | f071016a5c42f407493ffd5172cdbc9ffa177db0 (patch) | |
tree | e6ee9cdd64f6162f406dd4b6e1fc1ee4ed2bbcb1 /xen/include/asm-x86/nmi.h | |
parent | 1582d1175001a99133810c158622c53d1e3dc9ee (diff) | |
download | xen-f071016a5c42f407493ffd5172cdbc9ffa177db0.tar.gz xen-f071016a5c42f407493ffd5172cdbc9ffa177db0.tar.bz2 xen-f071016a5c42f407493ffd5172cdbc9ffa177db0.zip |
Pass NMIs to DOM0 via a dedicated callback, core Xen support.
This patch adds core and generic x86 support code to enable Xen to
pass NMI's to a dedicated NMI callback in DOM0 instead of raising a
VIRQ.
Introduces the nmi_op hypercall to allow DOM0 to (un)register the NMI
handler.
Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
Diffstat (limited to 'xen/include/asm-x86/nmi.h')
-rw-r--r-- | xen/include/asm-x86/nmi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/nmi.h b/xen/include/asm-x86/nmi.h index 1529bbb8c7..d79b823ee2 100644 --- a/xen/include/asm-x86/nmi.h +++ b/xen/include/asm-x86/nmi.h @@ -2,6 +2,8 @@ #ifndef ASM_NMI_H #define ASM_NMI_H +#include <public/nmi.h> + struct cpu_user_regs; typedef int (*nmi_callback_t)(struct cpu_user_regs *regs, int cpu); |