syzkaller/sys/sndtimer_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

35 lines
1.1 KiB
Plaintext

# AUTOGENERATED FILE
SNDRV_TIMER_EVENT_CONTINUE = 4
SNDRV_TIMER_EVENT_EARLY = 6
SNDRV_TIMER_EVENT_MCONTINUE = 14
SNDRV_TIMER_EVENT_MPAUSE = 15
SNDRV_TIMER_EVENT_MRESUME = 18
SNDRV_TIMER_EVENT_MSTART = 12
SNDRV_TIMER_EVENT_MSTOP = 13
SNDRV_TIMER_EVENT_MSUSPEND = 17
SNDRV_TIMER_EVENT_PAUSE = 5
SNDRV_TIMER_EVENT_RESOLUTION = 0
SNDRV_TIMER_EVENT_RESUME = 8
SNDRV_TIMER_EVENT_START = 2
SNDRV_TIMER_EVENT_STOP = 3
SNDRV_TIMER_EVENT_SUSPEND = 7
SNDRV_TIMER_EVENT_TICK = 1
SNDRV_TIMER_IOCTL_CONTINUE = 21666
SNDRV_TIMER_IOCTL_GINFO = 3237499907
SNDRV_TIMER_IOCTL_GPARAMS = 1078481924
SNDRV_TIMER_IOCTL_GSTATUS = 3226489861
SNDRV_TIMER_IOCTL_INFO = 2162709521
SNDRV_TIMER_IOCTL_NEXT_DEVICE = 3222557697
SNDRV_TIMER_IOCTL_PARAMS = 1079006226
SNDRV_TIMER_IOCTL_PAUSE = 21667
SNDRV_TIMER_IOCTL_PVERSION = 2147767296
SNDRV_TIMER_IOCTL_SELECT = 1077171216
SNDRV_TIMER_IOCTL_START = 21664
SNDRV_TIMER_IOCTL_STATUS = 2153796628
SNDRV_TIMER_IOCTL_STOP = 21665
SNDRV_TIMER_IOCTL_TREAD = 1074025474
SNDRV_TIMER_PSFLG_AUTO = 1
SNDRV_TIMER_PSFLG_EARLY_EVENT = 4
SNDRV_TIMER_PSFLG_EXCLUSIVE = 2
__NR_ioctl = 16