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

62 lines
1.2 KiB
Plaintext

# AUTOGENERATED FILE
EVIOCGABS0 = 2149074240
EVIOCGABS20 = 2149074272
EVIOCGABS2F = 2149074287
EVIOCGABS3F = 2149074303
EVIOCGBITKEY64 = 2151695649
EVIOCGBITSND64 = 2151695666
EVIOCGBITSW64 = 2151695653
EVIOCGEFFECTS = 2147763588
EVIOCGID = 2148025602
EVIOCGKEY64 = 2151695640
EVIOCGKEYCODE = 2148025604
EVIOCGKEYCODE_V2 = 2150122756
EVIOCGLED64 = 2151695641
EVIOCGMASK = 2148550034
EVIOCGMTSLOTS64 = 2151695626
EVIOCGNAME64 = 2151695622
EVIOCGPHYS64 = 2151695623
EVIOCGPROP64 = 2151695625
EVIOCGRAB = 1074021776
EVIOCGREP = 2148025603
EVIOCGSND64 = 2151695642
EVIOCGSW64 = 2151695643
EVIOCGUNIQ64 = 2151695624
EVIOCGVERSION = 2147763457
EVIOCREVOKE = 1074021777
EVIOCRMFF = 1074021761
EVIOCSABS0 = 1075332544
EVIOCSABS20 = 1075332576
EVIOCSABS2F = 1075332591
EVIOCSABS3F = 1075332607
EVIOCSCLOCKID = 1074021792
EVIOCSFF = 1076905344
EVIOCSKEYCODE = 1074283780
EVIOCSKEYCODE_V2 = 1076380932
EVIOCSMASK = 1074808211
EVIOCSREP = 1074283779
EV_ABS = 3
EV_FF = 21
EV_KEY = 1
EV_LED = 17
EV_MSC = 4
EV_REL = 2
EV_SND = 18
EV_SW = 5
EV_SYN = 0
FF_CONSTANT = 82
FF_CUSTOM = 93
FF_DAMPER = 85
FF_FRICTION = 84
FF_INERTIA = 86
FF_PERIODIC = 81
FF_RAMP = 87
FF_SAW_DOWN = 92
FF_SAW_UP = 91
FF_SINE = 90
FF_SPRING = 83
FF_SQUARE = 88
FF_TRIANGLE = 89
__NR_ioctl = 16
__NR_write = 1