syzkaller/sys/kvm_ppc64le.const
Dmitry Vyukov 0d0fbbe73f overhaul syscall description generation process
This splits generation process into two phases:
1. Extract values of constants from linux kernel sources.
2. Generate Go code.

Constant values are checked in.
The advantage is that the second phase is now completely independent
from linux source files, kernel version, presence of headers for
particular drivers, etc. This allows to change what Go code we generate
any time without access to all kernel headers (which in future won't be
limited to only upstream headers).

Constant extraction process does require proper kernel sources,
but this can be done only once by the person who added the driver
and has access to the required sources. Then the constant values
are checked in for others to use.
Consant extraction process is per-file/per-arch. That is,
if I am adding a driver that is not present upstream and that
works only on a single arch, I will check in constants only for
that driver and for that arch.
2016-08-26 07:09:25 +02:00

100 lines
2.8 KiB
Plaintext

# AUTOGENERATED FILE
AT_FDCWD = 18446744073709551516
KVM_ASSIGN_DEV_IRQ = 2151722608
KVM_ASSIGN_PCI_DEVICE = 1077980777
KVM_ASSIGN_SET_INTX_MASK = 2151722660
KVM_ASSIGN_SET_MSIX_ENTRY = 2148576884
KVM_ASSIGN_SET_MSIX_NR = 2148052595
KVM_CHECK_EXTENSION = 536915459
KVM_CREATE_DEVICE = 3222056672
KVM_CREATE_IRQCHIP = 536915552
KVM_CREATE_PIT2 = 2151722615
KVM_CREATE_VCPU = 536915521
KVM_CREATE_VM = 536915457
KVM_DEASSIGN_DEV_IRQ = 2151722613
KVM_DEASSIGN_PCI_DEVICE = 2151722610
KVM_DEV_IRQ_GUEST_INTX = 256
KVM_DEV_IRQ_GUEST_MSI = 512
KVM_DEV_IRQ_GUEST_MSIX = 1024
KVM_DEV_IRQ_HOST_INTX = 1
KVM_DEV_IRQ_HOST_MSI = 2
KVM_DEV_IRQ_HOST_MSIX = 4
KVM_DEV_TYPE_FSL_MPIC_20 = 1
KVM_DEV_TYPE_FSL_MPIC_42 = 2
KVM_DEV_TYPE_VFIO = 4
KVM_DEV_TYPE_XICS = 3
KVM_DIRTY_TLB = 2148576938
KVM_ENABLE_CAP = 2154344099
KVM_GET_CLOCK = 1076932220
KVM_GET_DEVICE_ATTR = 2149101282
KVM_GET_DIRTY_LOG = 2148576834
KVM_GET_FPU = 1090563724
KVM_GET_IRQCHIP = 3255348834
KVM_GET_MP_STATE = 1074048664
KVM_GET_ONE_REG = 2148576939
KVM_GET_REGS = 1099476609
KVM_GET_REG_LIST = 3221794480
KVM_GET_SREGS = 1154526851
KVM_GET_TSC_KHZ = 536915619
KVM_GET_VCPU_MMAP_SIZE = 536915460
KVM_GUESTDBG_ENABLE = 1
KVM_GUESTDBG_SINGLESTEP = 2
KVM_GUESTDBG_USE_HW_BP = 131072
KVM_GUESTDBG_USE_SW_BP = 65536
KVM_HAS_DEVICE_ATTR = 2149101283
KVM_INTERRUPT = 2147790470
KVM_IOEVENTFD = 2151722617
KVM_IOEVENTFD_FLAG_DATAMATCH = 1
KVM_IOEVENTFD_FLAG_DEASSIGN = 4
KVM_IOEVENTFD_FLAG_PIO = 2
KVM_IOEVENTFD_FLAG_VIRTIO_CCW_NOTIFY = 8
KVM_IRQFD = 2149625462
KVM_IRQ_LINE = 2148052577
KVM_IRQ_ROUTING_IRQCHIP = 1
KVM_IRQ_ROUTING_MSI = 2
KVM_KVMCLOCK_CTRL = 536915629
KVM_MEMSLOT_INCOHERENT = 131072
KVM_MEMSLOT_INVALID = 65536
KVM_MEM_LOG_DIRTY_PAGES = 1
KVM_MEM_READONLY = 2
KVM_MP_STATE_CHECK_STOP = 6
KVM_MP_STATE_HALTED = 3
KVM_MP_STATE_INIT_RECEIVED = 2
KVM_MP_STATE_LOAD = 8
KVM_MP_STATE_OPERATING = 7
KVM_MP_STATE_RUNNABLE = 0
KVM_MP_STATE_SIPI_RECEIVED = 4
KVM_MP_STATE_STOPPED = 5
KVM_MP_STATE_UNINITIALIZED = 1
KVM_NMI = 536915610
KVM_PPC_ALLOCATE_HTAB = 3221532327
KVM_PPC_GET_PVINFO = 2155916961
KVM_PPC_GET_SMMU_INFO = 1112583846
KVM_RUN = 536915584
KVM_S390_INTERRUPT = 2148576916
KVM_S390_UCAS_MAP = 2149101136
KVM_S390_UCAS_UNMAP = 2149101137
KVM_S390_VCPU_FAULT = 2148052562
KVM_SET_BOOT_CPU_ID = 536915576
KVM_SET_CLOCK = 2150674043
KVM_SET_DEVICE_ATTR = 2149101281
KVM_SET_FPU = 2164305549
KVM_SET_GSI_ROUTING = 2148052586
KVM_SET_GUEST_DEBUG = 2164829851
KVM_SET_IDENTITY_MAP_ADDR = 2148052552
KVM_SET_IRQCHIP = 1107865187
KVM_SET_MEMORY_REGION = 2149101120
KVM_SET_MP_STATE = 2147790489
KVM_SET_ONE_REG = 2148576940
KVM_SET_REGS = 2173218434
KVM_SET_SIGNAL_MASK = 2147790475
KVM_SET_SREGS = 2228268676
KVM_SET_TSC_KHZ = 536915618
KVM_SET_TSS_ADDR = 536915527
KVM_SET_USER_MEMORY_REGION = 2149625414
KVM_SIGNAL_MSI = 2149625509
KVM_SMI = 536915639
KVM_TRANSLATE = 3222843013
__NR_ioctl = 54
__NR_openat = 286