diff options
Diffstat (limited to 'include/xen.h')
-rw-r--r-- | include/xen.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/xen.h b/include/xen.h new file mode 100644 index 00000000000..a952a2c84b8 --- /dev/null +++ b/include/xen.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: GPL-2.0 + * + * (C) 2020, EPAM Systems Inc. + */ +#ifndef __XEN_H__ +#define __XEN_H__ + +/** + * xen_init() - Xen initialization + * + * Map Xen memory pages, initialize event handler and xenbus, + * setup the grant table. + */ +void xen_init(void); + +/** + * xen_fini() - Board cleanup before Linux kernel start + * + * Unmap Xen memory pages the specified guest's pseudophysical + * address space and unbind all event channels. + */ +void xen_fini(void); + +#endif /* __XEN_H__ */ |