mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-25 12:29:43 +00:00
0d0fbbe73f
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.
86 lines
3.0 KiB
Plaintext
86 lines
3.0 KiB
Plaintext
# AUTOGENERATED FILE
|
|
KERNEL_CLIENT = 2
|
|
NO_CLIENT = 0
|
|
SNDRV_SEQ_FILTER_BOUNCE = 4
|
|
SNDRV_SEQ_FILTER_BROADCAST = 1
|
|
SNDRV_SEQ_FILTER_MULTICAST = 2
|
|
SNDRV_SEQ_FILTER_USE_EVENT = 18446744071562067968
|
|
SNDRV_SEQ_IOCTL_CLIENT_ID = 2147767041
|
|
SNDRV_SEQ_IOCTL_CREATE_PORT = 3232256800
|
|
SNDRV_SEQ_IOCTL_CREATE_QUEUE = 3230421810
|
|
SNDRV_SEQ_IOCTL_DELETE_PORT = 1084773153
|
|
SNDRV_SEQ_IOCTL_DELETE_QUEUE = 1082938163
|
|
SNDRV_SEQ_IOCTL_GET_CLIENT_INFO = 3233567504
|
|
SNDRV_SEQ_IOCTL_GET_CLIENT_POOL = 3227013963
|
|
SNDRV_SEQ_IOCTL_GET_NAMED_QUEUE = 3230421814
|
|
SNDRV_SEQ_IOCTL_GET_PORT_INFO = 3232256802
|
|
SNDRV_SEQ_IOCTL_GET_QUEUE_CLIENT = 3226227529
|
|
SNDRV_SEQ_IOCTL_GET_QUEUE_INFO = 3230421812
|
|
SNDRV_SEQ_IOCTL_GET_QUEUE_STATUS = 3227276096
|
|
SNDRV_SEQ_IOCTL_GET_QUEUE_TEMPO = 3224130369
|
|
SNDRV_SEQ_IOCTL_GET_QUEUE_TIMER = 3227538245
|
|
SNDRV_SEQ_IOCTL_GET_SUBSCRIPTION = 3226489680
|
|
SNDRV_SEQ_IOCTL_PVERSION = 2147767040
|
|
SNDRV_SEQ_IOCTL_QUERY_NEXT_CLIENT = 3233567569
|
|
SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT = 3232256850
|
|
SNDRV_SEQ_IOCTL_QUERY_SUBS = 3227013967
|
|
SNDRV_SEQ_IOCTL_REMOVE_EVENTS = 1077957454
|
|
SNDRV_SEQ_IOCTL_RUNNING_MODE = 3222295299
|
|
SNDRV_SEQ_IOCTL_SET_CLIENT_INFO = 1086083857
|
|
SNDRV_SEQ_IOCTL_SET_CLIENT_POOL = 1079530316
|
|
SNDRV_SEQ_IOCTL_SET_PORT_INFO = 1084773155
|
|
SNDRV_SEQ_IOCTL_SET_QUEUE_CLIENT = 1078743882
|
|
SNDRV_SEQ_IOCTL_SET_QUEUE_INFO = 3230421813
|
|
SNDRV_SEQ_IOCTL_SET_QUEUE_TEMPO = 1076646722
|
|
SNDRV_SEQ_IOCTL_SET_QUEUE_TIMER = 1080054598
|
|
SNDRV_SEQ_IOCTL_SUBSCRIBE_PORT = 1079006000
|
|
SNDRV_SEQ_IOCTL_SYSTEM_INFO = 3224392450
|
|
SNDRV_SEQ_IOCTL_UNSUBSCRIBE_PORT = 1079006001
|
|
SNDRV_SEQ_PORT_CAP_DUPLEX = 16
|
|
SNDRV_SEQ_PORT_CAP_NO_EXPORT = 128
|
|
SNDRV_SEQ_PORT_CAP_READ = 1
|
|
SNDRV_SEQ_PORT_CAP_SUBS_READ = 32
|
|
SNDRV_SEQ_PORT_CAP_SUBS_WRITE = 64
|
|
SNDRV_SEQ_PORT_CAP_SYNC_READ = 4
|
|
SNDRV_SEQ_PORT_CAP_SYNC_WRITE = 8
|
|
SNDRV_SEQ_PORT_CAP_WRITE = 2
|
|
SNDRV_SEQ_PORT_FLG_GIVEN_PORT = 1
|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