blob: a952a2c84b8b586ecb35c468e842f58bc6c62619 [file] [log] [blame]
Oleksandr Andrushchenko2280d332020-08-06 12:42:48 +03001/* SPDX-License-Identifier: GPL-2.0
2 *
3 * (C) 2020, EPAM Systems Inc.
4 */
5#ifndef __XEN_H__
6#define __XEN_H__
7
8/**
9 * xen_init() - Xen initialization
10 *
Oleksandr Andrushchenko3cc1dcc2020-08-06 12:42:54 +030011 * Map Xen memory pages, initialize event handler and xenbus,
12 * setup the grant table.
Oleksandr Andrushchenko2280d332020-08-06 12:42:48 +030013 */
14void xen_init(void);
15
Oleksandr Andrushchenko10fa5362020-08-06 12:43:00 +030016/**
17 * xen_fini() - Board cleanup before Linux kernel start
18 *
19 * Unmap Xen memory pages the specified guest's pseudophysical
20 * address space and unbind all event channels.
21 */
22void xen_fini(void);
23
Oleksandr Andrushchenko2280d332020-08-06 12:42:48 +030024#endif /* __XEN_H__ */