mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
770a8eef3e
Introduce a minimal Xen guest board running as a virtual machine under Xen Project's hypervisor [1], [2]. Part of the code is ported from Xen mini-os and also uses work initially done by different authors from NXP: please see relevant files for their copyrights. [1] https://xenbits.xen.org [2] https://wiki.xenproject.org/ Signed-off-by: Andrii Anisov <andrii_anisov@epam.com> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko@epam.com>
22 lines
703 B
C
22 lines
703 B
C
/* SPDX-License-Identifier: GPL-2.0
|
|
*
|
|
* hypercall.h
|
|
*
|
|
* Linux-specific hypervisor handling.
|
|
*
|
|
* Stefano Stabellini <stefano.stabellini@eu.citrix.com>, Citrix, 2012
|
|
*/
|
|
|
|
#ifndef _ASM_ARM_XEN_HYPERCALL_H
|
|
#define _ASM_ARM_XEN_HYPERCALL_H
|
|
|
|
#include <xen/interface/xen.h>
|
|
|
|
int HYPERVISOR_xen_version(int cmd, void *arg);
|
|
int HYPERVISOR_console_io(int cmd, int count, char *str);
|
|
int HYPERVISOR_grant_table_op(unsigned int cmd, void *uop, unsigned int count);
|
|
int HYPERVISOR_sched_op(int cmd, void *arg);
|
|
int HYPERVISOR_event_channel_op(int cmd, void *arg);
|
|
unsigned long HYPERVISOR_hvm_op(int op, void *arg);
|
|
int HYPERVISOR_memory_op(unsigned int cmd, void *arg);
|
|
#endif /* _ASM_ARM_XEN_HYPERCALL_H */
|