Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 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 Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 7 | #ifndef _UAPI__LINUX_KVM_PARA_H |
| 8 | #define _UAPI__LINUX_KVM_PARA_H |
| 9 | #define KVM_ENOSYS 1000 |
| 10 | #define KVM_EFAULT EFAULT |
Christopher Ferris | 9ce2884 | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 11 | #define KVM_EINVAL EINVAL |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 12 | #define KVM_E2BIG E2BIG |
| 13 | #define KVM_EPERM EPERM |
Christopher Ferris | 525ce91 | 2017-07-26 13:12:53 -0700 | [diff] [blame] | 14 | #define KVM_EOPNOTSUPP 95 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 15 | #define KVM_HC_VAPIC_POLL_IRQ 1 |
| 16 | #define KVM_HC_MMU_OP 2 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 17 | #define KVM_HC_FEATURES 3 |
| 18 | #define KVM_HC_PPC_MAP_MAGIC_PAGE 4 |
Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 19 | #define KVM_HC_KICK_CPU 5 |
Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 20 | #define KVM_HC_MIPS_GET_CLOCK_FREQ 6 |
Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 21 | #define KVM_HC_MIPS_EXIT_VM 7 |
| 22 | #define KVM_HC_MIPS_CONSOLE_OUTPUT 8 |
Christopher Ferris | 525ce91 | 2017-07-26 13:12:53 -0700 | [diff] [blame] | 23 | #define KVM_HC_CLOCK_PAIRING 9 |
Christopher Ferris | 9ce2884 | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 24 | #define KVM_HC_SEND_IPI 10 |
Christopher Ferris | b8a95e2 | 2019-10-02 18:29:20 -0700 | [diff] [blame] | 25 | #define KVM_HC_SCHED_YIELD 11 |
Christopher Ferris | 3a39c0b | 2021-09-02 00:03:38 +0000 | [diff] [blame] | 26 | #define KVM_HC_MAP_GPA_RANGE 12 |
Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 27 | #include <asm/kvm_para.h> |
Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 28 | #endif |