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

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 = 536892578
SNDRV_TIMER_IOCTL_GINFO = 3237499907
SNDRV_TIMER_IOCTL_GPARAMS = 2152223748
SNDRV_TIMER_IOCTL_GSTATUS = 3226489861
SNDRV_TIMER_IOCTL_INFO = 1088967697
SNDRV_TIMER_IOCTL_NEXT_DEVICE = 3222557697
SNDRV_TIMER_IOCTL_PARAMS = 2152748050
SNDRV_TIMER_IOCTL_PAUSE = 536892579
SNDRV_TIMER_IOCTL_PVERSION = 1074025472
SNDRV_TIMER_IOCTL_SELECT = 2150913040
SNDRV_TIMER_IOCTL_START = 536892576
SNDRV_TIMER_IOCTL_STATUS = 1080054804
SNDRV_TIMER_IOCTL_STOP = 536892577
SNDRV_TIMER_IOCTL_TREAD = 2147767298
SNDRV_TIMER_PSFLG_AUTO = 1
SNDRV_TIMER_PSFLG_EARLY_EVENT = 4
SNDRV_TIMER_PSFLG_EXCLUSIVE = 2
__NR_ioctl = 54