diff options
author | Ian.Campbell@xensource.com <Ian.Campbell@xensource.com> | 2006-04-21 17:19:22 +0100 |
---|---|---|
committer | Ian.Campbell@xensource.com <Ian.Campbell@xensource.com> | 2006-04-21 17:19:22 +0100 |
commit | 8c18405bb315412b8af78b8d90819430a5555f61 (patch) | |
tree | 8207d28032c5098a2494eff17c2e4287c9b9fa68 /xen/include/xen/nmi.h | |
parent | 77d02076f98b7d29f24ca1eea68e8df8bbb3bea3 (diff) | |
download | xen-8c18405bb315412b8af78b8d90819430a5555f61.tar.gz xen-8c18405bb315412b8af78b8d90819430a5555f61.tar.bz2 xen-8c18405bb315412b8af78b8d90819430a5555f61.zip |
Merge nmi_op functionality with the callback_op hypercall.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Diffstat (limited to 'xen/include/xen/nmi.h')
-rw-r--r-- | xen/include/xen/nmi.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/xen/include/xen/nmi.h b/xen/include/xen/nmi.h index e526b6ab6f..a13e797273 100644 --- a/xen/include/xen/nmi.h +++ b/xen/include/xen/nmi.h @@ -11,4 +11,19 @@ #include <asm/nmi.h> +/** + * register_guest_nmi_callback + * + * The default NMI handler passes the NMI to a guest callback. This + * function registers the address of that callback. + */ +extern long register_guest_nmi_callback(unsigned long address); + +/** + * unregister_guest_nmi_callback + * + * Unregister a guest NMI handler. + */ +extern long unregister_guest_nmi_callback(void); + #endif /* __XEN_NMI_H__ */ |