u-boot-brain/include/xen.h
Ovidiu Panait eb2825b79d common: board_r: Drop initr_xen wrapper
Add a return value to xen_init and use it directly in the
post-relocation init sequence, rather than using a wrapper stub.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2021-01-15 14:36:12 -05:00

25 lines
489 B
C

/* 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.
*/
int 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__ */