blob: 9a4dd29e5a828a8b253e69da4bdd629a0124f3ba [file] [log] [blame]
Nick Kralevicha67e4de2013-01-14 11:28:26 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
Ben Cheng655a7c02013-10-16 16:09:24 -070019#ifndef _UAPI__LINUX_KVM_PARA_H
20#define _UAPI__LINUX_KVM_PARA_H
21#define KVM_ENOSYS 1000
22#define KVM_EFAULT EFAULT
Christopher Ferris9ce28842018-10-25 12:11:39 -070023#define KVM_EINVAL EINVAL
Ben Cheng655a7c02013-10-16 16:09:24 -070024#define KVM_E2BIG E2BIG
25#define KVM_EPERM EPERM
Christopher Ferris525ce912017-07-26 13:12:53 -070026#define KVM_EOPNOTSUPP 95
Ben Cheng655a7c02013-10-16 16:09:24 -070027#define KVM_HC_VAPIC_POLL_IRQ 1
28#define KVM_HC_MMU_OP 2
Ben Cheng655a7c02013-10-16 16:09:24 -070029#define KVM_HC_FEATURES 3
30#define KVM_HC_PPC_MAP_MAGIC_PAGE 4
Christopher Ferris38062f92014-07-09 15:33:25 -070031#define KVM_HC_KICK_CPU 5
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070032#define KVM_HC_MIPS_GET_CLOCK_FREQ 6
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070033#define KVM_HC_MIPS_EXIT_VM 7
34#define KVM_HC_MIPS_CONSOLE_OUTPUT 8
Christopher Ferris525ce912017-07-26 13:12:53 -070035#define KVM_HC_CLOCK_PAIRING 9
Christopher Ferris9ce28842018-10-25 12:11:39 -070036#define KVM_HC_SEND_IPI 10
Christopher Ferrisb8a95e22019-10-02 18:29:20 -070037#define KVM_HC_SCHED_YIELD 11
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070038#include <asm/kvm_para.h>
Christopher Ferris38062f92014-07-09 15:33:25 -070039#endif