blob: 762bd9cb8b366a74873f57eff2e4b5a2b1b488f9 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _UAPI__LINUX_KVM_PARA_H
8#define _UAPI__LINUX_KVM_PARA_H
9#define KVM_ENOSYS 1000
10#define KVM_EFAULT EFAULT
Christopher Ferris9ce28842018-10-25 12:11:39 -070011#define KVM_EINVAL EINVAL
Ben Cheng655a7c02013-10-16 16:09:24 -070012#define KVM_E2BIG E2BIG
13#define KVM_EPERM EPERM
Christopher Ferris525ce912017-07-26 13:12:53 -070014#define KVM_EOPNOTSUPP 95
Ben Cheng655a7c02013-10-16 16:09:24 -070015#define KVM_HC_VAPIC_POLL_IRQ 1
16#define KVM_HC_MMU_OP 2
Ben Cheng655a7c02013-10-16 16:09:24 -070017#define KVM_HC_FEATURES 3
18#define KVM_HC_PPC_MAP_MAGIC_PAGE 4
Christopher Ferris38062f92014-07-09 15:33:25 -070019#define KVM_HC_KICK_CPU 5
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070020#define KVM_HC_MIPS_GET_CLOCK_FREQ 6
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070021#define KVM_HC_MIPS_EXIT_VM 7
22#define KVM_HC_MIPS_CONSOLE_OUTPUT 8
Christopher Ferris525ce912017-07-26 13:12:53 -070023#define KVM_HC_CLOCK_PAIRING 9
Christopher Ferris9ce28842018-10-25 12:11:39 -070024#define KVM_HC_SEND_IPI 10
Christopher Ferrisb8a95e22019-10-02 18:29:20 -070025#define KVM_HC_SCHED_YIELD 11
Christopher Ferris3a39c0b2021-09-02 00:03:38 +000026#define KVM_HC_MAP_GPA_RANGE 12
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070027#include <asm/kvm_para.h>
Christopher Ferris38062f92014-07-09 15:33:25 -070028#endif