2020-08-06 09:42:48 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0
|
|
|
|
*
|
|
|
|
* (C) 2020, EPAM Systems Inc.
|
|
|
|
*/
|
|
|
|
#ifndef __XEN_H__
|
|
|
|
#define __XEN_H__
|
|
|
|
|
|
|
|
/**
|
|
|
|
* xen_init() - Xen initialization
|
|
|
|
*
|
2020-08-06 09:42:54 +00:00
|
|
|
* Map Xen memory pages, initialize event handler and xenbus,
|
|
|
|
* setup the grant table.
|
2020-08-06 09:42:48 +00:00
|
|
|
*/
|
|
|
|
void xen_init(void);
|
|
|
|
|
2020-08-06 09:43:00 +00:00
|
|
|
/**
|
|
|
|
* 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);
|
|
|
|
|
2020-08-06 09:42:48 +00:00
|
|
|
#endif /* __XEN_H__ */
|