mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 04:18:51 +09:00
![Oleksandr Andrushchenko](/assets/img/avatar_default.png)
Free resources used by Xen board before jumping to Linux kernel. Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko@epam.com> Reviewed-by: Simon Glass <sjg@chromium.org>
25 lines
490 B
C
25 lines
490 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.
|
|
*/
|
|
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__ */
|