syzkaller/sys/sndcontrol_amd64.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

34 lines
1.2 KiB
Plaintext

# AUTOGENERATED FILE
SNDRV_CTL_ELEM_IFACE_CARD = 0
SNDRV_CTL_ELEM_IFACE_HWDEP = 1
SNDRV_CTL_ELEM_IFACE_MIXER = 2
SNDRV_CTL_ELEM_IFACE_PCM = 3
SNDRV_CTL_ELEM_IFACE_RAWMIDI = 4
SNDRV_CTL_ELEM_IFACE_SEQUENCER = 6
SNDRV_CTL_ELEM_IFACE_TIMER = 5
SNDRV_CTL_IOCTL_CARD_INFO = 2172146945
SNDRV_CTL_IOCTL_ELEM_ADD = 3239073047
SNDRV_CTL_IOCTL_ELEM_INFO = 3239073041
SNDRV_CTL_IOCTL_ELEM_LIST = 3226490128
SNDRV_CTL_IOCTL_ELEM_LOCK = 1077957908
SNDRV_CTL_IOCTL_ELEM_READ = 3301463314
SNDRV_CTL_IOCTL_ELEM_REMOVE = 3225441561
SNDRV_CTL_IOCTL_ELEM_REPLACE = 3239073048
SNDRV_CTL_IOCTL_ELEM_UNLOCK = 1077957909
SNDRV_CTL_IOCTL_ELEM_WRITE = 3301463315
SNDRV_CTL_IOCTL_HWDEP_INFO = 2161923361
SNDRV_CTL_IOCTL_HWDEP_NEXT_DEVICE = 3221509408
SNDRV_CTL_IOCTL_PCM_INFO = 3240121649
SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE = 2147767600
SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE = 1074025778
SNDRV_CTL_IOCTL_POWER_STATE = 2147767761
SNDRV_CTL_IOCTL_PVERSION = 2147767552
SNDRV_CTL_IOCTL_RAWMIDI_INFO = 3238810945
SNDRV_CTL_IOCTL_RAWMIDI_NEXT_DEVICE = 3221509440
SNDRV_CTL_IOCTL_RAWMIDI_PREFER_SUBDEVICE = 1074025794
SNDRV_CTL_IOCTL_SUBSCRIBE_EVENTS = 3221509398
SNDRV_CTL_IOCTL_TLV_COMMAND = 3221771548
SNDRV_CTL_IOCTL_TLV_READ = 3221771546
SNDRV_CTL_IOCTL_TLV_WRITE = 3221771547
__NR_ioctl = 16