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

103 lines
2.8 KiB
Plaintext

# AUTOGENERATED FILE
DRM_ADD_COMMAND = 0
DRM_DISPLAY_MODE_LEN = 32
DRM_INST_HANDLER = 2
DRM_IOCTL_ADD_BUFS = 3223348246
DRM_IOCTL_ADD_CTX = 3221775392
DRM_IOCTL_ADD_MAP = 3223872533
DRM_IOCTL_AGP_ACQUIRE = 25648
DRM_IOCTL_AGP_ALLOC = 3223348276
DRM_IOCTL_AGP_BIND = 1074816054
DRM_IOCTL_AGP_ENABLE = 1074291762
DRM_IOCTL_AGP_FREE = 1075864629
DRM_IOCTL_AGP_INFO = 2151179315
DRM_IOCTL_AGP_RELEASE = 25649
DRM_IOCTL_AGP_UNBIND = 1074816055
DRM_IOCTL_AUTH_MAGIC = 1074029585
DRM_IOCTL_CONTROL = 1074291732
DRM_IOCTL_DMA = 3225445417
DRM_IOCTL_DROP_MASTER = 25631
DRM_IOCTL_FREE_BUFS = 1074816026
DRM_IOCTL_GEM_CLOSE = 1074291721
DRM_IOCTL_GEM_FLINK = 3221775370
DRM_IOCTL_GEM_OPEN = 3222299659
DRM_IOCTL_GET_CAP = 3222299660
DRM_IOCTL_GET_CLIENT = 3223872517
DRM_IOCTL_GET_CTX = 3221775395
DRM_IOCTL_GET_MAGIC = 2147771394
DRM_IOCTL_GET_MAP = 3223872516
DRM_IOCTL_GET_SAREA_CTX = 3222299677
DRM_IOCTL_GET_STATS = 2163762182
DRM_IOCTL_GET_UNIQUE = 3222299649
DRM_IOCTL_INFO_BUFS = 3222299672
DRM_IOCTL_IRQ_BUSID = 3222299651
DRM_IOCTL_LOCK = 1074291754
DRM_IOCTL_MAP_BUFS = 3222823961
DRM_IOCTL_MARK_BUFS = 1075864599
DRM_IOCTL_MODESET_CTL = 1074291720
DRM_IOCTL_MODE_GETCRTC = 3228066977
DRM_IOCTL_MODE_GETPLANERESOURCES = 3222299829
DRM_IOCTL_MODE_GETRESOURCES = 3225445536
DRM_IOCTL_MODE_SETCRTC = 3228066978
DRM_IOCTL_NEW_CTX = 1074291749
DRM_IOCTL_PRIME_FD_TO_HANDLE = 3222037550
DRM_IOCTL_PRIME_HANDLE_TO_FD = 3222037549
DRM_IOCTL_RES_CTX = 3222299686
DRM_IOCTL_RM_CTX = 3221775393
DRM_IOCTL_RM_MAP = 1076388891
DRM_IOCTL_SET_CLIENT_CAP = 1074816013
DRM_IOCTL_SET_MASTER = 25630
DRM_IOCTL_SET_SAREA_CTX = 1074816028
DRM_IOCTL_SET_UNIQUE = 1074816016
DRM_IOCTL_SET_VERSION = 3222299655
DRM_IOCTL_SG_ALLOC = 3222299704
DRM_IOCTL_SG_FREE = 1074816057
DRM_IOCTL_SWITCH_CTX = 1074291748
DRM_IOCTL_UNLOCK = 1074291755
DRM_IOCTL_VERSION = 3225445376
DRM_IOCTL_WAIT_VBLANK = 3222823994
DRM_RM_COMMAND = 1
DRM_UNINST_HANDLER = 3
_DRM_AGP = 3
_DRM_AGP_BUFFER = 2
_DRM_CONSISTENT = 5
_DRM_CONTAINS_LOCK = 32
_DRM_CONTEXT_2DONLY = 2
_DRM_CONTEXT_PRESERVED = 1
_DRM_DMA_BLOCK = 1
_DRM_DMA_LARGER_OK = 64
_DRM_DMA_PRIORITY = 4
_DRM_DMA_SMALLER_OK = 32
_DRM_DMA_WAIT = 16
_DRM_DMA_WHILE_LOCKED = 2
_DRM_DRIVER = 128
_DRM_FB_BUFFER = 8
_DRM_FRAME_BUFFER = 0
_DRM_HALT_ALL_QUEUES = 16
_DRM_HALT_CUR_QUEUES = 32
_DRM_KERNEL = 8
_DRM_LOCKED = 4
_DRM_LOCK_FLUSH = 4
_DRM_LOCK_FLUSH_ALL = 8
_DRM_LOCK_QUIESCENT = 2
_DRM_LOCK_READY = 1
_DRM_PAGE_ALIGN = 1
_DRM_PCI_BUFFER_RO = 16
_DRM_READ_ONLY = 2
_DRM_REGISTERS = 1
_DRM_REMOVABLE = 64
_DRM_RESTRICTED = 1
_DRM_SCATTER_GATHER = 4
_DRM_SG_BUFFER = 4
_DRM_SHM = 2
_DRM_VBLANK_ABSOLUTE = 0
_DRM_VBLANK_EVENT = 67108864
_DRM_VBLANK_FLIP = 134217728
_DRM_VBLANK_HIGH_CRTC_MASK = 62
_DRM_VBLANK_NEXTONMISS = 268435456
_DRM_VBLANK_RELATIVE = 1
_DRM_VBLANK_SECONDARY = 536870912
_DRM_VBLANK_SIGNAL = 1073741824
_DRM_WRITE_COMBINING = 16
__NR_ioctl = 29