aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/public/xen.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-06-09 07:51:31 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-06-09 07:51:31 +0100
commit84e364f2eda22ab08c8765945d7910f54ed54c66 (patch)
treec4f73cd0a714bed53479e0cf0f8b8dacab43fc0a /xen/include/public/xen.h
parent741367e77d6c895e51c9cd5fc0ca202ed0416c1b (diff)
downloadxen-84e364f2eda22ab08c8765945d7910f54ed54c66.tar.gz
xen-84e364f2eda22ab08c8765945d7910f54ed54c66.tar.bz2
xen-84e364f2eda22ab08c8765945d7910f54ed54c66.zip
x86: add CMCI software injection interface
A new command is added. User can set the target CPU map, since the CMCI can be triggered on some specific CPUs. Please be noticed that the xenctl_cpumap structure is moved from domctl.h to xen.h. Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
Diffstat (limited to 'xen/include/public/xen.h')
-rw-r--r--xen/include/public/xen.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h
index 8136b2eaf8..6c783412cf 100644
--- a/xen/include/public/xen.h
+++ b/xen/include/public/xen.h
@@ -690,14 +690,23 @@ __DEFINE_XEN_GUEST_HANDLE(uint64, uint64_t);
/* Default definitions for macros used by domctl/sysctl. */
#if defined(__XEN__) || defined(__XEN_TOOLS__)
+
#ifndef uint64_aligned_t
#define uint64_aligned_t uint64_t
#endif
#ifndef XEN_GUEST_HANDLE_64
#define XEN_GUEST_HANDLE_64(name) XEN_GUEST_HANDLE(name)
#endif
+
+#ifndef __ASSEMBLY__
+struct xenctl_cpumap {
+ XEN_GUEST_HANDLE_64(uint8) bitmap;
+ uint32_t nr_cpus;
+};
#endif
+#endif /* defined(__XEN__) || defined(__XEN_TOOLS__) */
+
#endif /* __XEN_PUBLIC_XEN_H__ */
/*