summaryrefslogtreecommitdiff
path: root/include/xen/hvm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xen/hvm.h')
-rw-r--r--include/xen/hvm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/xen/hvm.h b/include/xen/hvm.h
index 63917a8de3b0..8da7a6747058 100644
--- a/include/xen/hvm.h
+++ b/include/xen/hvm.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/* Simple wrappers around HVM functions */
#ifndef XEN_HVM_H__
#define XEN_HVM_H__
@@ -57,4 +58,8 @@ static inline int hvm_get_parameter(int idx, uint64_t *value)
#define HVM_CALLBACK_VECTOR(x) (((uint64_t)HVM_CALLBACK_VIA_TYPE_VECTOR)<<\
HVM_CALLBACK_VIA_TYPE_SHIFT | (x))
+void xen_setup_callback_vector(void);
+
+int xen_set_upcall_vector(unsigned int cpu);
+
#endif /* XEN_HVM_H__ */