aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/gen
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-12-07 18:45:45 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-12-07 18:45:45 +0100
commit1508f45368a309a3b1196a342b3d64ce7be4cc43 (patch)
tree338a9ccc4e9ef28883d15256f8835cd0e0916e3a /sys/linux/gen
parent43c501b98320947b3f6a89d601001589cb403072 (diff)
sys/linux: refine few framebuffer/kbd ioctls
Diffstat (limited to 'sys/linux/gen')
-rw-r--r--sys/linux/gen/386.go148
-rw-r--r--sys/linux/gen/amd64.go146
-rw-r--r--sys/linux/gen/arm.go146
-rw-r--r--sys/linux/gen/arm64.go146
-rw-r--r--sys/linux/gen/ppc64le.go146
5 files changed, 536 insertions, 196 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index dfb0b1406..47aad86f0 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -4840,27 +4840,27 @@ var structDescs_386 = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "transp", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2, ArgDir: 1}}}}},
}}},
{Key: StructKey{Name: "fb_con2fbmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fb_con2fbmap", TypeSize: 8}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "console", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framebuffer", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "console", TypeSize: 4}}, Kind: 1, RangeEnd: 63},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framebuffer", TypeSize: 4}}, Kind: 1, RangeEnd: 2},
}}},
{Key: StructKey{Name: "fb_var_screeninfo"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fb_var_screeninfo", TypeSize: 160}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xres", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yres", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xres_virtual", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yres_virtual", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_xres", FldName: "xres", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 96, 128, 160, 240, 320, 400, 480, 640, 768, 800, 854, 960, 1024, 1280, 1360, 1366, 1400, 1600, 1680, 1920, 2048, 2560, 3200, 3840, 4096, 8192, 15360}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_yres", FldName: "yres", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 128, 120, 160, 240, 320, 480, 576, 600, 640, 768, 800, 864, 900, 1024, 1152, 1200, 1536, 1600, 2048, 2400, 4096, 8192}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_xres", FldName: "xres_virtual", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 96, 128, 160, 240, 320, 400, 480, 640, 768, 800, 854, 960, 1024, 1280, 1360, 1366, 1400, 1600, 1680, 1920, 2048, 2560, 3200, 3840, 4096, 8192, 15360}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_yres", FldName: "yres_virtual", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 128, 120, 160, 240, 320, 480, 576, 600, 640, 768, 800, 864, 900, 1024, 1152, 1200, 1536, 1600, 2048, 2400, 4096, 8192}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xoffset", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yoffset", TypeSize: 4}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_bpp", FldName: "bits_per_pixel", TypeSize: 4}}, Vals: []uint64{1, 2, 8, 15, 16, 24, 32}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "grayscale", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_bpp", FldName: "bits_per_pixel", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 8, 15, 16, 24, 32}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "grayscale", TypeSize: 4}}, Kind: 1, RangeEnd: 2},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "red"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "green"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "blue"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "transp"},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nonstd", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_nonstd", FldName: "nonstd", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_activate", FldName: "activate", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 16, 64, 128, 256}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "accel_flags", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_accel_flags", FldName: "accel_flags", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pixclock", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "left_margin", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "right_margin", TypeSize: 4}}},
@@ -4868,10 +4868,10 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower_margin", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "hsync_len", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vsync_len", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sync", TypeSize: 4}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_mode", FldName: "vmode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4}, BitMask: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rotate", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "colorspace", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_sync", FldName: "sync", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 8, 16, 32}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_mode", FldName: "vmode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 256, 512, 512}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_rotate", FldName: "rotate", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_colorspace", FldName: "colorspace", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
}}},
{Key: StructKey{Name: "fd_set", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fd_set", TypeSize: 64, ArgDir: 2}, Fields: []Type{
@@ -10319,6 +10319,10 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "scan", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "key", TypeSize: 4}}},
}}},
+ {Key: StructKey{Name: "kbsentry"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kbsentry", TypeSize: 513}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "kb_func", TypeSize: 1}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "kb_string", TypeSize: 512}, Kind: 1, RangeBegin: 512, RangeEnd: 512},
+ }}},
{Key: StructKey{Name: "kcm_attach"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kcm_attach", TypeSize: 8}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "bpf_fd", TypeSize: 4}},
@@ -11248,9 +11252,8 @@ var structDescs_386 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "protocol_id", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}},
}}},
- {Key: StructKey{Name: "loadlut"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "loadlut", TypeSize: 40}, Fields: []Type{
+ {Key: StructKey{Name: "loadlut"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "loadlut", TypeSize: 33}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "submode", TypeSize: 1}}, Val: 5},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab0", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab1", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab2", TypeSize: 8}}},
@@ -26091,23 +26094,23 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "stuff24", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "stuff25", TypeSize: 4}}},
}}},
- {Key: StructKey{Name: "tiocl_report_mouse"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_report_mouse", TypeSize: 2}, Fields: []Type{
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 7},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
- }}},
- {Key: StructKey{Name: "tiocl_selection"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_selection", TypeSize: 12}, Fields: []Type{
+ {Key: StructKey{Name: "tiocl_selection"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_selection", TypeSize: 11}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 2},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xs", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ys", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xe", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ye", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tiocl_selection_mode", FldName: "mode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 16, 15}},
}}},
{Key: StructKey{Name: "tiocl_shift_state"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", TypeSize: 2}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 6},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "tioctl_scroll_console"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tioctl_scroll_console", TypeSize: 8}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 13},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lines", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "tipc_address_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12}, Fields: []Type{
&StructType{Key: StructKey{Name: "tipc_service_addr"}, FldName: "name"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4}}, Kind: 1, RangeEnd: 4},
@@ -36965,7 +36968,7 @@ var syscalls_386 = []*Syscall{
{NR: 54, Name: "ioctl$KDGKBSENT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19272},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "kbentry"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "kbsentry"}}},
}},
{NR: 54, Name: "ioctl$KDGKBTYPE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -36990,13 +36993,18 @@ var syscalls_386 = []*Syscall{
{NR: 54, Name: "ioctl$KDSETMODE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19258},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 1},
}},
{NR: 54, Name: "ioctl$KDSIGACCEPT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19278},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 65},
}},
+ {NR: 54, Name: "ioctl$KDSKBENT", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19271},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "kbentry"}}},
+ }},
{NR: 54, Name: "ioctl$KDSKBLED", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19301},
@@ -37005,17 +37013,17 @@ var syscalls_386 = []*Syscall{
{NR: 54, Name: "ioctl$KDSKBMETA", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19299},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}, Kind: 1, RangeBegin: 3, RangeEnd: 4}},
}},
{NR: 54, Name: "ioctl$KDSKBMODE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19269},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}, Kind: 1, RangeEnd: 4}},
}},
{NR: 54, Name: "ioctl$KDSKBSENT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19273},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "kbsentry"}}},
}},
{NR: 54, Name: "ioctl$KIOCSOUND", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -39352,35 +39360,55 @@ var syscalls_386 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21523},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "winsize", Dir: 1}}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX2", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_BLANKSCREEN", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tiocl_selection"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 14}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX3", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_GETKMSGREDIRECT", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 17}},
+ }},
+ {NR: 54, Name: "ioctl$TIOCL_GETMOUSEREPORTING", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 7}},
+ }},
+ {NR: 54, Name: "ioctl$TIOCL_GETSHIFTSTATE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tiocl_shift_state"}}},
+ }},
+ {NR: 54, Name: "ioctl$TIOCL_PASTESEL", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 3}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX4", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_SCROLLCONSOLE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tioctl_scroll_console"}}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX5", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_SELLOADLUT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "loadlut"}}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX6", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_SETSEL", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tiocl_shift_state"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tiocl_selection"}}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX7", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_SETVESABLANK", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tiocl_report_mouse"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 10}},
+ }},
+ {NR: 54, Name: "ioctl$TIOCL_UNBLANKSCREEN", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 4}},
}},
{NR: 54, Name: "ioctl$TIOCMBIC", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -50130,6 +50158,7 @@ var consts_386 = []ConstValue{
{Name: "FBIOPUT_CON2FBMAP", Value: 17936},
{Name: "FBIOPUT_VSCREENINFO", Value: 17921},
{Name: "FBIO_WAITFORVSYNC", Value: 1074021920},
+ {Name: "FB_ACCELF_TEXT", Value: 1},
{Name: "FB_ACTIVATE_ALL", Value: 64},
{Name: "FB_ACTIVATE_FORCE", Value: 128},
{Name: "FB_ACTIVATE_INV_MODE", Value: 256},
@@ -50140,11 +50169,26 @@ var consts_386 = []ConstValue{
{Name: "FB_BLANK_POWERDOWN", Value: 4},
{Name: "FB_BLANK_UNBLANK"},
{Name: "FB_FIX_SCREENINFO_SIZE", Value: 68},
+ {Name: "FB_NONSTD_HAM", Value: 1},
+ {Name: "FB_NONSTD_REV_PIX_IN_B", Value: 2},
+ {Name: "FB_ROTATE_CCW", Value: 3},
+ {Name: "FB_ROTATE_CW", Value: 1},
+ {Name: "FB_ROTATE_UD", Value: 2},
+ {Name: "FB_ROTATE_UR"},
+ {Name: "FB_SYNC_BROADCAST", Value: 16},
+ {Name: "FB_SYNC_COMP_HIGH_ACT", Value: 8},
+ {Name: "FB_SYNC_EXT", Value: 4},
+ {Name: "FB_SYNC_HOR_HIGH_ACT", Value: 1},
+ {Name: "FB_SYNC_ON_GREEN", Value: 32},
+ {Name: "FB_SYNC_VERT_HIGH_ACT", Value: 2},
{Name: "FB_VAR_SCREENINFO_SIZE", Value: 160},
+ {Name: "FB_VMODE_CONUPDATE", Value: 512},
{Name: "FB_VMODE_DOUBLE", Value: 2},
{Name: "FB_VMODE_INTERLACED", Value: 1},
{Name: "FB_VMODE_NONINTERLACED"},
{Name: "FB_VMODE_ODD_FLD_FIRST", Value: 4},
+ {Name: "FB_VMODE_SMOOTH_XPAN", Value: 512},
+ {Name: "FB_VMODE_YWRAP", Value: 256},
{Name: "FDCLRPRM", Value: 577},
{Name: "FDDEFPRM", Value: 1075577411},
{Name: "FDEJECT", Value: 602},
@@ -51540,7 +51584,7 @@ var consts_386 = []ConstValue{
{Name: "KCOV_DISABLE", Value: 25445},
{Name: "KCOV_ENABLE", Value: 25444},
{Name: "KCOV_INIT_TRACE", Value: 2147771137},
- {Name: "KCOV_REMOTE_ENABLE", Value: 1075077990},
+ {Name: "KCOV_REMOTE_ENABLE", Value: 1075340134},
{Name: "KCOV_TRACE_CMP", Value: 1},
{Name: "KCOV_TRACE_PC"},
{Name: "KDADDIO", Value: 19252},
@@ -51563,6 +51607,7 @@ var consts_386 = []ConstValue{
{Name: "KDSETLED", Value: 19250},
{Name: "KDSETMODE", Value: 19258},
{Name: "KDSIGACCEPT", Value: 19278},
+ {Name: "KDSKBENT", Value: 19271},
{Name: "KDSKBLED", Value: 19301},
{Name: "KDSKBMETA", Value: 19299},
{Name: "KDSKBMODE", Value: 19269},
@@ -51571,6 +51616,8 @@ var consts_386 = []ConstValue{
{Name: "KD_FONT_OP_GET", Value: 1},
{Name: "KD_FONT_OP_SET"},
{Name: "KD_FONT_OP_SET_DEFAULT", Value: 2},
+ {Name: "KD_GRAPHICS", Value: 1},
+ {Name: "KD_TEXT"},
{Name: "KERNEL_CLIENT", Value: 2},
{Name: "KEXEC_ARCH_386", Value: 196608},
{Name: "KEXEC_ARCH_ARM", Value: 2621440},
@@ -51825,6 +51872,10 @@ var consts_386 = []ConstValue{
{Name: "KVM_X86_SETUP_MCE", Value: 1074310812},
{Name: "KVM_X86_SET_MCE", Value: 1077980830},
{Name: "KVM_XEN_HVM_CONFIG", Value: 1077456506},
+ {Name: "K_ESCPREFIX", Value: 4},
+ {Name: "K_METABIT", Value: 3},
+ {Name: "K_OFF", Value: 4},
+ {Name: "K_RAW"},
{Name: "L2CAP_CONNINFO", Value: 2},
{Name: "L2CAP_LM", Value: 3},
{Name: "L2CAP_LM_AUTH", Value: 2},
@@ -54855,6 +54906,23 @@ var consts_386 = []ConstValue{
{Name: "TIOCGWINSZ", Value: 21523},
{Name: "TIOCINQ", Value: 21531},
{Name: "TIOCLINUX", Value: 21532},
+ {Name: "TIOCL_BLANKSCREEN", Value: 14},
+ {Name: "TIOCL_GETKMSGREDIRECT", Value: 17},
+ {Name: "TIOCL_GETMOUSEREPORTING", Value: 7},
+ {Name: "TIOCL_GETSHIFTSTATE", Value: 6},
+ {Name: "TIOCL_PASTESEL", Value: 3},
+ {Name: "TIOCL_SCROLLCONSOLE", Value: 13},
+ {Name: "TIOCL_SELBUTTONMASK", Value: 15},
+ {Name: "TIOCL_SELCHAR"},
+ {Name: "TIOCL_SELCLEAR", Value: 4},
+ {Name: "TIOCL_SELLINE", Value: 2},
+ {Name: "TIOCL_SELLOADLUT", Value: 5},
+ {Name: "TIOCL_SELMOUSEREPORT", Value: 16},
+ {Name: "TIOCL_SELPOINTER", Value: 3},
+ {Name: "TIOCL_SELWORD", Value: 1},
+ {Name: "TIOCL_SETSEL", Value: 2},
+ {Name: "TIOCL_SETVESABLANK", Value: 10},
+ {Name: "TIOCL_UNBLANKSCREEN", Value: 4},
{Name: "TIOCMBIC", Value: 21527},
{Name: "TIOCMBIS", Value: 21526},
{Name: "TIOCMGET", Value: 21525},
@@ -57263,4 +57331,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "dda59ab4ab2f3601d7f484f899228e2bab48760b"
+const revision_386 = "1a905a0a608a1c703c5b4835919e504cd2e35675"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index 255bedb5e..05b82e42d 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -4930,27 +4930,27 @@ var structDescs_amd64 = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "transp", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2, ArgDir: 1}}}}},
}}},
{Key: StructKey{Name: "fb_con2fbmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fb_con2fbmap", TypeSize: 8}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "console", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framebuffer", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "console", TypeSize: 4}}, Kind: 1, RangeEnd: 63},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framebuffer", TypeSize: 4}}, Kind: 1, RangeEnd: 2},
}}},
{Key: StructKey{Name: "fb_var_screeninfo"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fb_var_screeninfo", TypeSize: 160}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xres", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yres", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xres_virtual", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yres_virtual", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_xres", FldName: "xres", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 96, 128, 160, 240, 320, 400, 480, 640, 768, 800, 854, 960, 1024, 1280, 1360, 1366, 1400, 1600, 1680, 1920, 2048, 2560, 3200, 3840, 4096, 8192, 15360}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_yres", FldName: "yres", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 128, 120, 160, 240, 320, 480, 576, 600, 640, 768, 800, 864, 900, 1024, 1152, 1200, 1536, 1600, 2048, 2400, 4096, 8192}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_xres", FldName: "xres_virtual", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 96, 128, 160, 240, 320, 400, 480, 640, 768, 800, 854, 960, 1024, 1280, 1360, 1366, 1400, 1600, 1680, 1920, 2048, 2560, 3200, 3840, 4096, 8192, 15360}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_yres", FldName: "yres_virtual", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 128, 120, 160, 240, 320, 480, 576, 600, 640, 768, 800, 864, 900, 1024, 1152, 1200, 1536, 1600, 2048, 2400, 4096, 8192}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xoffset", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yoffset", TypeSize: 4}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_bpp", FldName: "bits_per_pixel", TypeSize: 4}}, Vals: []uint64{1, 2, 8, 15, 16, 24, 32}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "grayscale", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_bpp", FldName: "bits_per_pixel", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 8, 15, 16, 24, 32}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "grayscale", TypeSize: 4}}, Kind: 1, RangeEnd: 2},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "red"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "green"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "blue"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "transp"},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nonstd", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_nonstd", FldName: "nonstd", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_activate", FldName: "activate", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 16, 64, 128, 256}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "accel_flags", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_accel_flags", FldName: "accel_flags", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pixclock", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "left_margin", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "right_margin", TypeSize: 4}}},
@@ -4958,10 +4958,10 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower_margin", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "hsync_len", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vsync_len", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sync", TypeSize: 4}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_mode", FldName: "vmode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4}, BitMask: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rotate", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "colorspace", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_sync", FldName: "sync", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 8, 16, 32}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_mode", FldName: "vmode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 256, 512, 512}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_rotate", FldName: "rotate", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_colorspace", FldName: "colorspace", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
}}},
{Key: StructKey{Name: "fd_set", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fd_set", TypeSize: 64, ArgDir: 2}, Fields: []Type{
@@ -10436,6 +10436,10 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "scan", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "key", TypeSize: 4}}},
}}},
+ {Key: StructKey{Name: "kbsentry"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kbsentry", TypeSize: 513}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "kb_func", TypeSize: 1}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "kb_string", TypeSize: 512}, Kind: 1, RangeBegin: 512, RangeEnd: 512},
+ }}},
{Key: StructKey{Name: "kcm_attach"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kcm_attach", TypeSize: 8}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "bpf_fd", TypeSize: 4}},
@@ -11365,9 +11369,8 @@ var structDescs_amd64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "protocol_id", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}},
}}},
- {Key: StructKey{Name: "loadlut"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "loadlut", TypeSize: 40}, Fields: []Type{
+ {Key: StructKey{Name: "loadlut"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "loadlut", TypeSize: 33}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "submode", TypeSize: 1}}, Val: 5},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab0", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab1", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab2", TypeSize: 8}}},
@@ -26484,23 +26487,23 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "stuff24", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "stuff25", TypeSize: 8}}},
}}},
- {Key: StructKey{Name: "tiocl_report_mouse"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_report_mouse", TypeSize: 2}, Fields: []Type{
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 7},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
- }}},
- {Key: StructKey{Name: "tiocl_selection"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_selection", TypeSize: 12}, Fields: []Type{
+ {Key: StructKey{Name: "tiocl_selection"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_selection", TypeSize: 11}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 2},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xs", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ys", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xe", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ye", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tiocl_selection_mode", FldName: "mode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 16, 15}},
}}},
{Key: StructKey{Name: "tiocl_shift_state"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", TypeSize: 2}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 6},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "tioctl_scroll_console"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tioctl_scroll_console", TypeSize: 8}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 13},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lines", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "tipc_address_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12}, Fields: []Type{
&StructType{Key: StructKey{Name: "tipc_service_addr"}, FldName: "name"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4}}, Kind: 1, RangeEnd: 4},
@@ -37490,7 +37493,7 @@ var syscalls_amd64 = []*Syscall{
{NR: 16, Name: "ioctl$KDGKBSENT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19272},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kbentry"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kbsentry"}}},
}},
{NR: 16, Name: "ioctl$KDGKBTYPE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -37515,13 +37518,18 @@ var syscalls_amd64 = []*Syscall{
{NR: 16, Name: "ioctl$KDSETMODE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19258},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1},
}},
{NR: 16, Name: "ioctl$KDSIGACCEPT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19278},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 65},
}},
+ {NR: 16, Name: "ioctl$KDSKBENT", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19271},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kbentry"}}},
+ }},
{NR: 16, Name: "ioctl$KDSKBLED", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19301},
@@ -37530,17 +37538,17 @@ var syscalls_amd64 = []*Syscall{
{NR: 16, Name: "ioctl$KDSKBMETA", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19299},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}, Kind: 1, RangeBegin: 3, RangeEnd: 4}},
}},
{NR: 16, Name: "ioctl$KDSKBMODE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19269},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}, Kind: 1, RangeEnd: 4}},
}},
{NR: 16, Name: "ioctl$KDSKBSENT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19273},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kbsentry"}}},
}},
{NR: 16, Name: "ioctl$KIOCSOUND", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -39897,35 +39905,55 @@ var syscalls_amd64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21523},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "winsize", Dir: 1}}},
}},
- {NR: 16, Name: "ioctl$TIOCLINUX2", CallName: "ioctl", Args: []Type{
+ {NR: 16, Name: "ioctl$TIOCL_BLANKSCREEN", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_selection"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 14}},
}},
- {NR: 16, Name: "ioctl$TIOCLINUX3", CallName: "ioctl", Args: []Type{
+ {NR: 16, Name: "ioctl$TIOCL_GETKMSGREDIRECT", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 17}},
+ }},
+ {NR: 16, Name: "ioctl$TIOCL_GETMOUSEREPORTING", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 7}},
+ }},
+ {NR: 16, Name: "ioctl$TIOCL_GETSHIFTSTATE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_shift_state"}}},
+ }},
+ {NR: 16, Name: "ioctl$TIOCL_PASTESEL", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 3}},
}},
- {NR: 16, Name: "ioctl$TIOCLINUX4", CallName: "ioctl", Args: []Type{
+ {NR: 16, Name: "ioctl$TIOCL_SCROLLCONSOLE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tioctl_scroll_console"}}},
}},
- {NR: 16, Name: "ioctl$TIOCLINUX5", CallName: "ioctl", Args: []Type{
+ {NR: 16, Name: "ioctl$TIOCL_SELLOADLUT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "loadlut"}}},
}},
- {NR: 16, Name: "ioctl$TIOCLINUX6", CallName: "ioctl", Args: []Type{
+ {NR: 16, Name: "ioctl$TIOCL_SETSEL", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_shift_state"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_selection"}}},
}},
- {NR: 16, Name: "ioctl$TIOCLINUX7", CallName: "ioctl", Args: []Type{
+ {NR: 16, Name: "ioctl$TIOCL_SETVESABLANK", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_report_mouse"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 10}},
+ }},
+ {NR: 16, Name: "ioctl$TIOCL_UNBLANKSCREEN", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 4}},
}},
{NR: 16, Name: "ioctl$TIOCMBIC", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -50680,6 +50708,7 @@ var consts_amd64 = []ConstValue{
{Name: "FBIOPUT_CON2FBMAP", Value: 17936},
{Name: "FBIOPUT_VSCREENINFO", Value: 17921},
{Name: "FBIO_WAITFORVSYNC", Value: 1074021920},
+ {Name: "FB_ACCELF_TEXT", Value: 1},
{Name: "FB_ACTIVATE_ALL", Value: 64},
{Name: "FB_ACTIVATE_FORCE", Value: 128},
{Name: "FB_ACTIVATE_INV_MODE", Value: 256},
@@ -50690,11 +50719,26 @@ var consts_amd64 = []ConstValue{
{Name: "FB_BLANK_POWERDOWN", Value: 4},
{Name: "FB_BLANK_UNBLANK"},
{Name: "FB_FIX_SCREENINFO_SIZE", Value: 80},
+ {Name: "FB_NONSTD_HAM", Value: 1},
+ {Name: "FB_NONSTD_REV_PIX_IN_B", Value: 2},
+ {Name: "FB_ROTATE_CCW", Value: 3},
+ {Name: "FB_ROTATE_CW", Value: 1},
+ {Name: "FB_ROTATE_UD", Value: 2},
+ {Name: "FB_ROTATE_UR"},
+ {Name: "FB_SYNC_BROADCAST", Value: 16},
+ {Name: "FB_SYNC_COMP_HIGH_ACT", Value: 8},
+ {Name: "FB_SYNC_EXT", Value: 4},
+ {Name: "FB_SYNC_HOR_HIGH_ACT", Value: 1},
+ {Name: "FB_SYNC_ON_GREEN", Value: 32},
+ {Name: "FB_SYNC_VERT_HIGH_ACT", Value: 2},
{Name: "FB_VAR_SCREENINFO_SIZE", Value: 160},
+ {Name: "FB_VMODE_CONUPDATE", Value: 512},
{Name: "FB_VMODE_DOUBLE", Value: 2},
{Name: "FB_VMODE_INTERLACED", Value: 1},
{Name: "FB_VMODE_NONINTERLACED"},
{Name: "FB_VMODE_ODD_FLD_FIRST", Value: 4},
+ {Name: "FB_VMODE_SMOOTH_XPAN", Value: 512},
+ {Name: "FB_VMODE_YWRAP", Value: 256},
{Name: "FDCLRPRM", Value: 577},
{Name: "FDDEFPRM", Value: 1075839555},
{Name: "FDEJECT", Value: 602},
@@ -52113,6 +52157,7 @@ var consts_amd64 = []ConstValue{
{Name: "KDSETLED", Value: 19250},
{Name: "KDSETMODE", Value: 19258},
{Name: "KDSIGACCEPT", Value: 19278},
+ {Name: "KDSKBENT", Value: 19271},
{Name: "KDSKBLED", Value: 19301},
{Name: "KDSKBMETA", Value: 19299},
{Name: "KDSKBMODE", Value: 19269},
@@ -52121,6 +52166,8 @@ var consts_amd64 = []ConstValue{
{Name: "KD_FONT_OP_GET", Value: 1},
{Name: "KD_FONT_OP_SET"},
{Name: "KD_FONT_OP_SET_DEFAULT", Value: 2},
+ {Name: "KD_GRAPHICS", Value: 1},
+ {Name: "KD_TEXT"},
{Name: "KERNEL_CLIENT", Value: 2},
{Name: "KEXEC_ARCH_386", Value: 196608},
{Name: "KEXEC_ARCH_ARM", Value: 2621440},
@@ -52375,6 +52422,10 @@ var consts_amd64 = []ConstValue{
{Name: "KVM_X86_SETUP_MCE", Value: 1074310812},
{Name: "KVM_X86_SET_MCE", Value: 1077980830},
{Name: "KVM_XEN_HVM_CONFIG", Value: 1077456506},
+ {Name: "K_ESCPREFIX", Value: 4},
+ {Name: "K_METABIT", Value: 3},
+ {Name: "K_OFF", Value: 4},
+ {Name: "K_RAW"},
{Name: "L2CAP_CONNINFO", Value: 2},
{Name: "L2CAP_LM", Value: 3},
{Name: "L2CAP_LM_AUTH", Value: 2},
@@ -55419,6 +55470,23 @@ var consts_amd64 = []ConstValue{
{Name: "TIOCGWINSZ", Value: 21523},
{Name: "TIOCINQ", Value: 21531},
{Name: "TIOCLINUX", Value: 21532},
+ {Name: "TIOCL_BLANKSCREEN", Value: 14},
+ {Name: "TIOCL_GETKMSGREDIRECT", Value: 17},
+ {Name: "TIOCL_GETMOUSEREPORTING", Value: 7},
+ {Name: "TIOCL_GETSHIFTSTATE", Value: 6},
+ {Name: "TIOCL_PASTESEL", Value: 3},
+ {Name: "TIOCL_SCROLLCONSOLE", Value: 13},
+ {Name: "TIOCL_SELBUTTONMASK", Value: 15},
+ {Name: "TIOCL_SELCHAR"},
+ {Name: "TIOCL_SELCLEAR", Value: 4},
+ {Name: "TIOCL_SELLINE", Value: 2},
+ {Name: "TIOCL_SELLOADLUT", Value: 5},
+ {Name: "TIOCL_SELMOUSEREPORT", Value: 16},
+ {Name: "TIOCL_SELPOINTER", Value: 3},
+ {Name: "TIOCL_SELWORD", Value: 1},
+ {Name: "TIOCL_SETSEL", Value: 2},
+ {Name: "TIOCL_SETVESABLANK", Value: 10},
+ {Name: "TIOCL_UNBLANKSCREEN", Value: 4},
{Name: "TIOCMBIC", Value: 21527},
{Name: "TIOCMBIS", Value: 21526},
{Name: "TIOCMGET", Value: 21525},
@@ -57828,4 +57896,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "489918ee4cccee63854b73ddcaf026f5457f9d49"
+const revision_amd64 = "12fd85c5ed7ba166e02657faae7d73526aecc497"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 10a24a8fb..b34e1fc15 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -4840,27 +4840,27 @@ var structDescs_arm = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "transp", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2, ArgDir: 1}}}}},
}}},
{Key: StructKey{Name: "fb_con2fbmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fb_con2fbmap", TypeSize: 8}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "console", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framebuffer", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "console", TypeSize: 4}}, Kind: 1, RangeEnd: 63},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framebuffer", TypeSize: 4}}, Kind: 1, RangeEnd: 2},
}}},
{Key: StructKey{Name: "fb_var_screeninfo"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fb_var_screeninfo", TypeSize: 160}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xres", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yres", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xres_virtual", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yres_virtual", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_xres", FldName: "xres", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 96, 128, 160, 240, 320, 400, 480, 640, 768, 800, 854, 960, 1024, 1280, 1360, 1366, 1400, 1600, 1680, 1920, 2048, 2560, 3200, 3840, 4096, 8192, 15360}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_yres", FldName: "yres", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 128, 120, 160, 240, 320, 480, 576, 600, 640, 768, 800, 864, 900, 1024, 1152, 1200, 1536, 1600, 2048, 2400, 4096, 8192}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_xres", FldName: "xres_virtual", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 96, 128, 160, 240, 320, 400, 480, 640, 768, 800, 854, 960, 1024, 1280, 1360, 1366, 1400, 1600, 1680, 1920, 2048, 2560, 3200, 3840, 4096, 8192, 15360}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_yres", FldName: "yres_virtual", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 128, 120, 160, 240, 320, 480, 576, 600, 640, 768, 800, 864, 900, 1024, 1152, 1200, 1536, 1600, 2048, 2400, 4096, 8192}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xoffset", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yoffset", TypeSize: 4}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_bpp", FldName: "bits_per_pixel", TypeSize: 4}}, Vals: []uint64{1, 2, 8, 15, 16, 24, 32}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "grayscale", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_bpp", FldName: "bits_per_pixel", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 8, 15, 16, 24, 32}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "grayscale", TypeSize: 4}}, Kind: 1, RangeEnd: 2},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "red"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "green"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "blue"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "transp"},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nonstd", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_nonstd", FldName: "nonstd", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_activate", FldName: "activate", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 16, 64, 128, 256}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "accel_flags", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_accel_flags", FldName: "accel_flags", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pixclock", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "left_margin", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "right_margin", TypeSize: 4}}},
@@ -4868,10 +4868,10 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower_margin", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "hsync_len", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vsync_len", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sync", TypeSize: 4}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_mode", FldName: "vmode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4}, BitMask: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rotate", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "colorspace", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_sync", FldName: "sync", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 8, 16, 32}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_mode", FldName: "vmode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 256, 512, 512}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_rotate", FldName: "rotate", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_colorspace", FldName: "colorspace", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
}}},
{Key: StructKey{Name: "fd_set", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fd_set", TypeSize: 64, ArgDir: 2}, Fields: []Type{
@@ -10319,6 +10319,10 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "scan", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "key", TypeSize: 4}}},
}}},
+ {Key: StructKey{Name: "kbsentry"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kbsentry", TypeSize: 513}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "kb_func", TypeSize: 1}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "kb_string", TypeSize: 512}, Kind: 1, RangeBegin: 512, RangeEnd: 512},
+ }}},
{Key: StructKey{Name: "kcm_attach"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kcm_attach", TypeSize: 8}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "bpf_fd", TypeSize: 4}},
@@ -11065,9 +11069,8 @@ var structDescs_arm = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "protocol_id", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}},
}}},
- {Key: StructKey{Name: "loadlut"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "loadlut", TypeSize: 40}, Fields: []Type{
+ {Key: StructKey{Name: "loadlut"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "loadlut", TypeSize: 33}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "submode", TypeSize: 1}}, Val: 5},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab0", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab1", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab2", TypeSize: 8}}},
@@ -25913,23 +25916,23 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "stuff24", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "stuff25", TypeSize: 4}}},
}}},
- {Key: StructKey{Name: "tiocl_report_mouse"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_report_mouse", TypeSize: 2}, Fields: []Type{
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 7},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
- }}},
- {Key: StructKey{Name: "tiocl_selection"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_selection", TypeSize: 12}, Fields: []Type{
+ {Key: StructKey{Name: "tiocl_selection"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_selection", TypeSize: 11}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 2},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xs", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ys", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xe", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ye", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tiocl_selection_mode", FldName: "mode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 16, 15}},
}}},
{Key: StructKey{Name: "tiocl_shift_state"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", TypeSize: 2}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 6},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "tioctl_scroll_console"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tioctl_scroll_console", TypeSize: 8}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 13},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lines", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "tipc_address_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12}, Fields: []Type{
&StructType{Key: StructKey{Name: "tipc_service_addr"}, FldName: "name"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4}}, Kind: 1, RangeEnd: 4},
@@ -36769,7 +36772,7 @@ var syscalls_arm = []*Syscall{
{NR: 54, Name: "ioctl$KDGKBSENT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19272},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "kbentry"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "kbsentry"}}},
}},
{NR: 54, Name: "ioctl$KDGKBTYPE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -36794,13 +36797,18 @@ var syscalls_arm = []*Syscall{
{NR: 54, Name: "ioctl$KDSETMODE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19258},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 1},
}},
{NR: 54, Name: "ioctl$KDSIGACCEPT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19278},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 65},
}},
+ {NR: 54, Name: "ioctl$KDSKBENT", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19271},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "kbentry"}}},
+ }},
{NR: 54, Name: "ioctl$KDSKBLED", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19301},
@@ -36809,17 +36817,17 @@ var syscalls_arm = []*Syscall{
{NR: 54, Name: "ioctl$KDSKBMETA", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19299},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}, Kind: 1, RangeBegin: 3, RangeEnd: 4}},
}},
{NR: 54, Name: "ioctl$KDSKBMODE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19269},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}, Kind: 1, RangeEnd: 4}},
}},
{NR: 54, Name: "ioctl$KDSKBSENT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19273},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "kbsentry"}}},
}},
{NR: 54, Name: "ioctl$KIOCSOUND", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -39041,35 +39049,55 @@ var syscalls_arm = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21523},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "winsize", Dir: 1}}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX2", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_BLANKSCREEN", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tiocl_selection"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 14}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX3", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_GETKMSGREDIRECT", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 17}},
+ }},
+ {NR: 54, Name: "ioctl$TIOCL_GETMOUSEREPORTING", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 7}},
+ }},
+ {NR: 54, Name: "ioctl$TIOCL_GETSHIFTSTATE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tiocl_shift_state"}}},
+ }},
+ {NR: 54, Name: "ioctl$TIOCL_PASTESEL", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 3}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX4", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_SCROLLCONSOLE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tioctl_scroll_console"}}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX5", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_SELLOADLUT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "loadlut"}}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX6", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_SETSEL", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tiocl_shift_state"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tiocl_selection"}}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX7", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_SETVESABLANK", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tiocl_report_mouse"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 10}},
+ }},
+ {NR: 54, Name: "ioctl$TIOCL_UNBLANKSCREEN", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 4}},
}},
{NR: 54, Name: "ioctl$TIOCMBIC", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -49770,6 +49798,7 @@ var consts_arm = []ConstValue{
{Name: "FBIOPUT_CON2FBMAP", Value: 17936},
{Name: "FBIOPUT_VSCREENINFO", Value: 17921},
{Name: "FBIO_WAITFORVSYNC", Value: 1074021920},
+ {Name: "FB_ACCELF_TEXT", Value: 1},
{Name: "FB_ACTIVATE_ALL", Value: 64},
{Name: "FB_ACTIVATE_FORCE", Value: 128},
{Name: "FB_ACTIVATE_INV_MODE", Value: 256},
@@ -49780,11 +49809,26 @@ var consts_arm = []ConstValue{
{Name: "FB_BLANK_POWERDOWN", Value: 4},
{Name: "FB_BLANK_UNBLANK"},
{Name: "FB_FIX_SCREENINFO_SIZE", Value: 68},
+ {Name: "FB_NONSTD_HAM", Value: 1},
+ {Name: "FB_NONSTD_REV_PIX_IN_B", Value: 2},
+ {Name: "FB_ROTATE_CCW", Value: 3},
+ {Name: "FB_ROTATE_CW", Value: 1},
+ {Name: "FB_ROTATE_UD", Value: 2},
+ {Name: "FB_ROTATE_UR"},
+ {Name: "FB_SYNC_BROADCAST", Value: 16},
+ {Name: "FB_SYNC_COMP_HIGH_ACT", Value: 8},
+ {Name: "FB_SYNC_EXT", Value: 4},
+ {Name: "FB_SYNC_HOR_HIGH_ACT", Value: 1},
+ {Name: "FB_SYNC_ON_GREEN", Value: 32},
+ {Name: "FB_SYNC_VERT_HIGH_ACT", Value: 2},
{Name: "FB_VAR_SCREENINFO_SIZE", Value: 160},
+ {Name: "FB_VMODE_CONUPDATE", Value: 512},
{Name: "FB_VMODE_DOUBLE", Value: 2},
{Name: "FB_VMODE_INTERLACED", Value: 1},
{Name: "FB_VMODE_NONINTERLACED"},
{Name: "FB_VMODE_ODD_FLD_FIRST", Value: 4},
+ {Name: "FB_VMODE_SMOOTH_XPAN", Value: 512},
+ {Name: "FB_VMODE_YWRAP", Value: 256},
{Name: "FDCLRPRM", Value: 577},
{Name: "FDDEFPRM", Value: 1075577411},
{Name: "FDEJECT", Value: 602},
@@ -51202,6 +51246,7 @@ var consts_arm = []ConstValue{
{Name: "KDSETLED", Value: 19250},
{Name: "KDSETMODE", Value: 19258},
{Name: "KDSIGACCEPT", Value: 19278},
+ {Name: "KDSKBENT", Value: 19271},
{Name: "KDSKBLED", Value: 19301},
{Name: "KDSKBMETA", Value: 19299},
{Name: "KDSKBMODE", Value: 19269},
@@ -51210,6 +51255,8 @@ var consts_arm = []ConstValue{
{Name: "KD_FONT_OP_GET", Value: 1},
{Name: "KD_FONT_OP_SET"},
{Name: "KD_FONT_OP_SET_DEFAULT", Value: 2},
+ {Name: "KD_GRAPHICS", Value: 1},
+ {Name: "KD_TEXT"},
{Name: "KERNEL_CLIENT", Value: 2},
{Name: "KEXEC_ARCH_386", Value: 196608},
{Name: "KEXEC_ARCH_ARM", Value: 2621440},
@@ -51427,6 +51474,10 @@ var consts_arm = []ConstValue{
{Name: "KVM_UNREGISTER_COALESCED_MMIO", Value: 1074835048},
{Name: "KVM_X86_GET_MCE_CAP_SUPPORTED", Value: 2148052637},
{Name: "KVM_X86_SETUP_MCE", Value: 1074310812},
+ {Name: "K_ESCPREFIX", Value: 4},
+ {Name: "K_METABIT", Value: 3},
+ {Name: "K_OFF", Value: 4},
+ {Name: "K_RAW"},
{Name: "L2CAP_CONNINFO", Value: 2},
{Name: "L2CAP_LM", Value: 3},
{Name: "L2CAP_LM_AUTH", Value: 2},
@@ -54442,6 +54493,23 @@ var consts_arm = []ConstValue{
{Name: "TIOCGWINSZ", Value: 21523},
{Name: "TIOCINQ", Value: 21531},
{Name: "TIOCLINUX", Value: 21532},
+ {Name: "TIOCL_BLANKSCREEN", Value: 14},
+ {Name: "TIOCL_GETKMSGREDIRECT", Value: 17},
+ {Name: "TIOCL_GETMOUSEREPORTING", Value: 7},
+ {Name: "TIOCL_GETSHIFTSTATE", Value: 6},
+ {Name: "TIOCL_PASTESEL", Value: 3},
+ {Name: "TIOCL_SCROLLCONSOLE", Value: 13},
+ {Name: "TIOCL_SELBUTTONMASK", Value: 15},
+ {Name: "TIOCL_SELCHAR"},
+ {Name: "TIOCL_SELCLEAR", Value: 4},
+ {Name: "TIOCL_SELLINE", Value: 2},
+ {Name: "TIOCL_SELLOADLUT", Value: 5},
+ {Name: "TIOCL_SELMOUSEREPORT", Value: 16},
+ {Name: "TIOCL_SELPOINTER", Value: 3},
+ {Name: "TIOCL_SELWORD", Value: 1},
+ {Name: "TIOCL_SETSEL", Value: 2},
+ {Name: "TIOCL_SETVESABLANK", Value: 10},
+ {Name: "TIOCL_UNBLANKSCREEN", Value: 4},
{Name: "TIOCMBIC", Value: 21527},
{Name: "TIOCMBIS", Value: 21526},
{Name: "TIOCMGET", Value: 21525},
@@ -56840,4 +56908,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "e44eed1463f9a652ee1e88a453fbd165fba94568"
+const revision_arm = "1b31f8bb521785ad0c0758db766ad87c34b283da"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index f1721a3cd..da7a24710 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -4930,27 +4930,27 @@ var structDescs_arm64 = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "transp", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2, ArgDir: 1}}}}},
}}},
{Key: StructKey{Name: "fb_con2fbmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fb_con2fbmap", TypeSize: 8}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "console", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framebuffer", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "console", TypeSize: 4}}, Kind: 1, RangeEnd: 63},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framebuffer", TypeSize: 4}}, Kind: 1, RangeEnd: 2},
}}},
{Key: StructKey{Name: "fb_var_screeninfo"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fb_var_screeninfo", TypeSize: 160}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xres", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yres", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xres_virtual", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yres_virtual", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_xres", FldName: "xres", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 96, 128, 160, 240, 320, 400, 480, 640, 768, 800, 854, 960, 1024, 1280, 1360, 1366, 1400, 1600, 1680, 1920, 2048, 2560, 3200, 3840, 4096, 8192, 15360}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_yres", FldName: "yres", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 128, 120, 160, 240, 320, 480, 576, 600, 640, 768, 800, 864, 900, 1024, 1152, 1200, 1536, 1600, 2048, 2400, 4096, 8192}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_xres", FldName: "xres_virtual", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 96, 128, 160, 240, 320, 400, 480, 640, 768, 800, 854, 960, 1024, 1280, 1360, 1366, 1400, 1600, 1680, 1920, 2048, 2560, 3200, 3840, 4096, 8192, 15360}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_yres", FldName: "yres_virtual", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 128, 120, 160, 240, 320, 480, 576, 600, 640, 768, 800, 864, 900, 1024, 1152, 1200, 1536, 1600, 2048, 2400, 4096, 8192}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xoffset", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yoffset", TypeSize: 4}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_bpp", FldName: "bits_per_pixel", TypeSize: 4}}, Vals: []uint64{1, 2, 8, 15, 16, 24, 32}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "grayscale", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_bpp", FldName: "bits_per_pixel", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 8, 15, 16, 24, 32}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "grayscale", TypeSize: 4}}, Kind: 1, RangeEnd: 2},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "red"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "green"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "blue"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "transp"},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nonstd", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_nonstd", FldName: "nonstd", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_activate", FldName: "activate", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 16, 64, 128, 256}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "accel_flags", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_accel_flags", FldName: "accel_flags", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pixclock", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "left_margin", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "right_margin", TypeSize: 4}}},
@@ -4958,10 +4958,10 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower_margin", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "hsync_len", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vsync_len", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sync", TypeSize: 4}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_mode", FldName: "vmode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4}, BitMask: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rotate", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "colorspace", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_sync", FldName: "sync", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 8, 16, 32}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_mode", FldName: "vmode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 256, 512, 512}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_rotate", FldName: "rotate", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_colorspace", FldName: "colorspace", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
}}},
{Key: StructKey{Name: "fd_set", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fd_set", TypeSize: 64, ArgDir: 2}, Fields: []Type{
@@ -10436,6 +10436,10 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "scan", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "key", TypeSize: 4}}},
}}},
+ {Key: StructKey{Name: "kbsentry"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kbsentry", TypeSize: 513}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "kb_func", TypeSize: 1}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "kb_string", TypeSize: 512}, Kind: 1, RangeBegin: 512, RangeEnd: 512},
+ }}},
{Key: StructKey{Name: "kcm_attach"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kcm_attach", TypeSize: 8}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "bpf_fd", TypeSize: 4}},
@@ -11182,9 +11186,8 @@ var structDescs_arm64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "protocol_id", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}},
}}},
- {Key: StructKey{Name: "loadlut"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "loadlut", TypeSize: 40}, Fields: []Type{
+ {Key: StructKey{Name: "loadlut"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "loadlut", TypeSize: 33}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "submode", TypeSize: 1}}, Val: 5},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab0", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab1", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab2", TypeSize: 8}}},
@@ -26301,23 +26304,23 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "stuff24", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "stuff25", TypeSize: 8}}},
}}},
- {Key: StructKey{Name: "tiocl_report_mouse"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_report_mouse", TypeSize: 2}, Fields: []Type{
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 7},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
- }}},
- {Key: StructKey{Name: "tiocl_selection"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_selection", TypeSize: 12}, Fields: []Type{
+ {Key: StructKey{Name: "tiocl_selection"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_selection", TypeSize: 11}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 2},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xs", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ys", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xe", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ye", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tiocl_selection_mode", FldName: "mode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 16, 15}},
}}},
{Key: StructKey{Name: "tiocl_shift_state"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", TypeSize: 2}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 6},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "tioctl_scroll_console"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tioctl_scroll_console", TypeSize: 8}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 13},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lines", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "tipc_address_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12}, Fields: []Type{
&StructType{Key: StructKey{Name: "tipc_service_addr"}, FldName: "name"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4}}, Kind: 1, RangeEnd: 4},
@@ -37202,7 +37205,7 @@ var syscalls_arm64 = []*Syscall{
{NR: 29, Name: "ioctl$KDGKBSENT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19272},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kbentry"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kbsentry"}}},
}},
{NR: 29, Name: "ioctl$KDGKBTYPE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -37227,13 +37230,18 @@ var syscalls_arm64 = []*Syscall{
{NR: 29, Name: "ioctl$KDSETMODE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19258},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1},
}},
{NR: 29, Name: "ioctl$KDSIGACCEPT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19278},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 65},
}},
+ {NR: 29, Name: "ioctl$KDSKBENT", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19271},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kbentry"}}},
+ }},
{NR: 29, Name: "ioctl$KDSKBLED", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19301},
@@ -37242,17 +37250,17 @@ var syscalls_arm64 = []*Syscall{
{NR: 29, Name: "ioctl$KDSKBMETA", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19299},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}, Kind: 1, RangeBegin: 3, RangeEnd: 4}},
}},
{NR: 29, Name: "ioctl$KDSKBMODE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19269},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}, Kind: 1, RangeEnd: 4}},
}},
{NR: 29, Name: "ioctl$KDSKBSENT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19273},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kbsentry"}}},
}},
{NR: 29, Name: "ioctl$KIOCSOUND", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -39494,35 +39502,55 @@ var syscalls_arm64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21523},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "winsize", Dir: 1}}},
}},
- {NR: 29, Name: "ioctl$TIOCLINUX2", CallName: "ioctl", Args: []Type{
+ {NR: 29, Name: "ioctl$TIOCL_BLANKSCREEN", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_selection"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 14}},
}},
- {NR: 29, Name: "ioctl$TIOCLINUX3", CallName: "ioctl", Args: []Type{
+ {NR: 29, Name: "ioctl$TIOCL_GETKMSGREDIRECT", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 17}},
+ }},
+ {NR: 29, Name: "ioctl$TIOCL_GETMOUSEREPORTING", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 7}},
+ }},
+ {NR: 29, Name: "ioctl$TIOCL_GETSHIFTSTATE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_shift_state"}}},
+ }},
+ {NR: 29, Name: "ioctl$TIOCL_PASTESEL", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 3}},
}},
- {NR: 29, Name: "ioctl$TIOCLINUX4", CallName: "ioctl", Args: []Type{
+ {NR: 29, Name: "ioctl$TIOCL_SCROLLCONSOLE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tioctl_scroll_console"}}},
}},
- {NR: 29, Name: "ioctl$TIOCLINUX5", CallName: "ioctl", Args: []Type{
+ {NR: 29, Name: "ioctl$TIOCL_SELLOADLUT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "loadlut"}}},
}},
- {NR: 29, Name: "ioctl$TIOCLINUX6", CallName: "ioctl", Args: []Type{
+ {NR: 29, Name: "ioctl$TIOCL_SETSEL", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_shift_state"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_selection"}}},
}},
- {NR: 29, Name: "ioctl$TIOCLINUX7", CallName: "ioctl", Args: []Type{
+ {NR: 29, Name: "ioctl$TIOCL_SETVESABLANK", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_report_mouse"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 10}},
+ }},
+ {NR: 29, Name: "ioctl$TIOCL_UNBLANKSCREEN", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 4}},
}},
{NR: 29, Name: "ioctl$TIOCMBIC", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -50126,6 +50154,7 @@ var consts_arm64 = []ConstValue{
{Name: "FBIOPUT_CON2FBMAP", Value: 17936},
{Name: "FBIOPUT_VSCREENINFO", Value: 17921},
{Name: "FBIO_WAITFORVSYNC", Value: 1074021920},
+ {Name: "FB_ACCELF_TEXT", Value: 1},
{Name: "FB_ACTIVATE_ALL", Value: 64},
{Name: "FB_ACTIVATE_FORCE", Value: 128},
{Name: "FB_ACTIVATE_INV_MODE", Value: 256},
@@ -50136,11 +50165,26 @@ var consts_arm64 = []ConstValue{
{Name: "FB_BLANK_POWERDOWN", Value: 4},
{Name: "FB_BLANK_UNBLANK"},
{Name: "FB_FIX_SCREENINFO_SIZE", Value: 80},
+ {Name: "FB_NONSTD_HAM", Value: 1},
+ {Name: "FB_NONSTD_REV_PIX_IN_B", Value: 2},
+ {Name: "FB_ROTATE_CCW", Value: 3},
+ {Name: "FB_ROTATE_CW", Value: 1},
+ {Name: "FB_ROTATE_UD", Value: 2},
+ {Name: "FB_ROTATE_UR"},
+ {Name: "FB_SYNC_BROADCAST", Value: 16},
+ {Name: "FB_SYNC_COMP_HIGH_ACT", Value: 8},
+ {Name: "FB_SYNC_EXT", Value: 4},
+ {Name: "FB_SYNC_HOR_HIGH_ACT", Value: 1},
+ {Name: "FB_SYNC_ON_GREEN", Value: 32},
+ {Name: "FB_SYNC_VERT_HIGH_ACT", Value: 2},
{Name: "FB_VAR_SCREENINFO_SIZE", Value: 160},
+ {Name: "FB_VMODE_CONUPDATE", Value: 512},
{Name: "FB_VMODE_DOUBLE", Value: 2},
{Name: "FB_VMODE_INTERLACED", Value: 1},
{Name: "FB_VMODE_NONINTERLACED"},
{Name: "FB_VMODE_ODD_FLD_FIRST", Value: 4},
+ {Name: "FB_VMODE_SMOOTH_XPAN", Value: 512},
+ {Name: "FB_VMODE_YWRAP", Value: 256},
{Name: "FDCLRPRM", Value: 577},
{Name: "FDDEFPRM", Value: 1075839555},
{Name: "FDEJECT", Value: 602},
@@ -51559,6 +51603,7 @@ var consts_arm64 = []ConstValue{
{Name: "KDSETLED", Value: 19250},
{Name: "KDSETMODE", Value: 19258},
{Name: "KDSIGACCEPT", Value: 19278},
+ {Name: "KDSKBENT", Value: 19271},
{Name: "KDSKBLED", Value: 19301},
{Name: "KDSKBMETA", Value: 19299},
{Name: "KDSKBMODE", Value: 19269},
@@ -51567,6 +51612,8 @@ var consts_arm64 = []ConstValue{
{Name: "KD_FONT_OP_GET", Value: 1},
{Name: "KD_FONT_OP_SET"},
{Name: "KD_FONT_OP_SET_DEFAULT", Value: 2},
+ {Name: "KD_GRAPHICS", Value: 1},
+ {Name: "KD_TEXT"},
{Name: "KERNEL_CLIENT", Value: 2},
{Name: "KEXEC_ARCH_386", Value: 196608},
{Name: "KEXEC_ARCH_ARM", Value: 2621440},
@@ -51793,6 +51840,10 @@ var consts_arm64 = []ConstValue{
{Name: "KVM_UNREGISTER_COALESCED_MMIO", Value: 1074835048},
{Name: "KVM_X86_GET_MCE_CAP_SUPPORTED", Value: 2148052637},
{Name: "KVM_X86_SETUP_MCE", Value: 1074310812},
+ {Name: "K_ESCPREFIX", Value: 4},
+ {Name: "K_METABIT", Value: 3},
+ {Name: "K_OFF", Value: 4},
+ {Name: "K_RAW"},
{Name: "L2CAP_CONNINFO", Value: 2},
{Name: "L2CAP_LM", Value: 3},
{Name: "L2CAP_LM_AUTH", Value: 2},
@@ -54812,6 +54863,23 @@ var consts_arm64 = []ConstValue{
{Name: "TIOCGWINSZ", Value: 21523},
{Name: "TIOCINQ", Value: 21531},
{Name: "TIOCLINUX", Value: 21532},
+ {Name: "TIOCL_BLANKSCREEN", Value: 14},
+ {Name: "TIOCL_GETKMSGREDIRECT", Value: 17},
+ {Name: "TIOCL_GETMOUSEREPORTING", Value: 7},
+ {Name: "TIOCL_GETSHIFTSTATE", Value: 6},
+ {Name: "TIOCL_PASTESEL", Value: 3},
+ {Name: "TIOCL_SCROLLCONSOLE", Value: 13},
+ {Name: "TIOCL_SELBUTTONMASK", Value: 15},
+ {Name: "TIOCL_SELCHAR"},
+ {Name: "TIOCL_SELCLEAR", Value: 4},
+ {Name: "TIOCL_SELLINE", Value: 2},
+ {Name: "TIOCL_SELLOADLUT", Value: 5},
+ {Name: "TIOCL_SELMOUSEREPORT", Value: 16},
+ {Name: "TIOCL_SELPOINTER", Value: 3},
+ {Name: "TIOCL_SELWORD", Value: 1},
+ {Name: "TIOCL_SETSEL", Value: 2},
+ {Name: "TIOCL_SETVESABLANK", Value: 10},
+ {Name: "TIOCL_UNBLANKSCREEN", Value: 4},
{Name: "TIOCMBIC", Value: 21527},
{Name: "TIOCMBIS", Value: 21526},
{Name: "TIOCMGET", Value: 21525},
@@ -57180,4 +57248,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "7192113a6295c1ff425b8c3eb1230983f78b2241"
+const revision_arm64 = "b4851cff27cefb8315237c6c3daa6f9992d33220"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index 0a3d661a2..00a351b2e 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -4929,27 +4929,27 @@ var structDescs_ppc64le = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "transp", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2, ArgDir: 1}}}}},
}}},
{Key: StructKey{Name: "fb_con2fbmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fb_con2fbmap", TypeSize: 8}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "console", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framebuffer", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "console", TypeSize: 4}}, Kind: 1, RangeEnd: 63},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "framebuffer", TypeSize: 4}}, Kind: 1, RangeEnd: 2},
}}},
{Key: StructKey{Name: "fb_var_screeninfo"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fb_var_screeninfo", TypeSize: 160}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xres", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yres", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xres_virtual", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yres_virtual", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_xres", FldName: "xres", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 96, 128, 160, 240, 320, 400, 480, 640, 768, 800, 854, 960, 1024, 1280, 1360, 1366, 1400, 1600, 1680, 1920, 2048, 2560, 3200, 3840, 4096, 8192, 15360}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_yres", FldName: "yres", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 128, 120, 160, 240, 320, 480, 576, 600, 640, 768, 800, 864, 900, 1024, 1152, 1200, 1536, 1600, 2048, 2400, 4096, 8192}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_xres", FldName: "xres_virtual", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 96, 128, 160, 240, 320, 400, 480, 640, 768, 800, 854, 960, 1024, 1280, 1360, 1366, 1400, 1600, 1680, 1920, 2048, 2560, 3200, 3840, 4096, 8192, 15360}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_yres", FldName: "yres_virtual", TypeSize: 4}}, Vals: []uint64{16, 32, 48, 64, 128, 120, 160, 240, 320, 480, 576, 600, 640, 768, 800, 864, 900, 1024, 1152, 1200, 1536, 1600, 2048, 2400, 4096, 8192}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "xoffset", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "yoffset", TypeSize: 4}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_bpp", FldName: "bits_per_pixel", TypeSize: 4}}, Vals: []uint64{1, 2, 8, 15, 16, 24, 32}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "grayscale", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_bpp", FldName: "bits_per_pixel", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 8, 15, 16, 24, 32}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "grayscale", TypeSize: 4}}, Kind: 1, RangeEnd: 2},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "red"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "green"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "blue"},
&StructType{Key: StructKey{Name: "fb_bitfield"}, FldName: "transp"},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nonstd", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_nonstd", FldName: "nonstd", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_activate", FldName: "activate", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 16, 64, 128, 256}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "accel_flags", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_accel_flags", FldName: "accel_flags", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pixclock", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "left_margin", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "right_margin", TypeSize: 4}}},
@@ -4957,10 +4957,10 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower_margin", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "hsync_len", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vsync_len", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sync", TypeSize: 4}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_mode", FldName: "vmode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4}, BitMask: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rotate", TypeSize: 4}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "colorspace", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_sync", FldName: "sync", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 8, 16, 32}, BitMask: true},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_mode", FldName: "vmode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4, 256, 512, 512}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fb_rotate", FldName: "rotate", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_colorspace", FldName: "colorspace", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
}}},
{Key: StructKey{Name: "fd_set", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fd_set", TypeSize: 64, ArgDir: 2}, Fields: []Type{
@@ -10435,6 +10435,10 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "scan", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "key", TypeSize: 4}}},
}}},
+ {Key: StructKey{Name: "kbsentry"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kbsentry", TypeSize: 513}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "kb_func", TypeSize: 1}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "kb_string", TypeSize: 512}, Kind: 1, RangeBegin: 512, RangeEnd: 512},
+ }}},
{Key: StructKey{Name: "kcm_attach"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kcm_attach", TypeSize: 8}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "bpf_fd", TypeSize: 4}},
@@ -11134,9 +11138,8 @@ var structDescs_ppc64le = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "protocol_id", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}},
}}},
- {Key: StructKey{Name: "loadlut"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "loadlut", TypeSize: 40}, Fields: []Type{
+ {Key: StructKey{Name: "loadlut"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "loadlut", TypeSize: 33}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "submode", TypeSize: 1}}, Val: 5},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab0", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab1", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "tab2", TypeSize: 8}}},
@@ -26171,23 +26174,23 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "stuff24", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "stuff25", TypeSize: 8}}},
}}},
- {Key: StructKey{Name: "tiocl_report_mouse"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_report_mouse", TypeSize: 2}, Fields: []Type{
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 7},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
- }}},
- {Key: StructKey{Name: "tiocl_selection"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_selection", TypeSize: 12}, Fields: []Type{
+ {Key: StructKey{Name: "tiocl_selection"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_selection", TypeSize: 11}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 2},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xs", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ys", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xe", TypeSize: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ye", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tiocl_selection_mode", FldName: "mode", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 16, 15}},
}}},
{Key: StructKey{Name: "tiocl_shift_state"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", TypeSize: 2}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 6},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "tioctl_scroll_console"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tioctl_scroll_console", TypeSize: 8}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 13},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lines", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "tipc_address_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12}, Fields: []Type{
&StructType{Key: StructKey{Name: "tipc_service_addr"}, FldName: "name"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4}}, Kind: 1, RangeEnd: 4},
@@ -37138,7 +37141,7 @@ var syscalls_ppc64le = []*Syscall{
{NR: 54, Name: "ioctl$KDGKBSENT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19272},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kbentry"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kbsentry"}}},
}},
{NR: 54, Name: "ioctl$KDGKBTYPE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -37163,13 +37166,18 @@ var syscalls_ppc64le = []*Syscall{
{NR: 54, Name: "ioctl$KDSETMODE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19258},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1},
}},
{NR: 54, Name: "ioctl$KDSIGACCEPT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19278},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 65},
}},
+ {NR: 54, Name: "ioctl$KDSKBENT", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19271},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kbentry"}}},
+ }},
{NR: 54, Name: "ioctl$KDSKBLED", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19301},
@@ -37178,17 +37186,17 @@ var syscalls_ppc64le = []*Syscall{
{NR: 54, Name: "ioctl$KDSKBMETA", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19299},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}, Kind: 1, RangeBegin: 3, RangeEnd: 4}},
}},
{NR: 54, Name: "ioctl$KDSKBMODE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19269},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}, Kind: 1, RangeEnd: 4}},
}},
{NR: 54, Name: "ioctl$KDSKBSENT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19273},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "kbsentry"}}},
}},
{NR: 54, Name: "ioctl$KIOCSOUND", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -39365,35 +39373,55 @@ var syscalls_ppc64le = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074295912},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "winsize", Dir: 1}}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX2", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_BLANKSCREEN", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_selection"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 14}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX3", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_GETKMSGREDIRECT", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 17}},
+ }},
+ {NR: 54, Name: "ioctl$TIOCL_GETMOUSEREPORTING", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 7}},
+ }},
+ {NR: 54, Name: "ioctl$TIOCL_GETSHIFTSTATE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_shift_state"}}},
+ }},
+ {NR: 54, Name: "ioctl$TIOCL_PASTESEL", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 3}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX4", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_SCROLLCONSOLE", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tioctl_scroll_console"}}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX5", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_SELLOADLUT", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "loadlut"}}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX6", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_SETSEL", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_shift_state"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_selection"}}},
}},
- {NR: 54, Name: "ioctl$TIOCLINUX7", CallName: "ioctl", Args: []Type{
+ {NR: 54, Name: "ioctl$TIOCL_SETVESABLANK", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tiocl_report_mouse"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 10}},
+ }},
+ {NR: 54, Name: "ioctl$TIOCL_UNBLANKSCREEN", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21532},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 4}},
}},
{NR: 54, Name: "ioctl$TIOCMBIC", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}},
@@ -50120,6 +50148,7 @@ var consts_ppc64le = []ConstValue{
{Name: "FBIOPUT_CON2FBMAP", Value: 17936},
{Name: "FBIOPUT_VSCREENINFO", Value: 17921},
{Name: "FBIO_WAITFORVSYNC", Value: 2147763744},
+ {Name: "FB_ACCELF_TEXT", Value: 1},
{Name: "FB_ACTIVATE_ALL", Value: 64},
{Name: "FB_ACTIVATE_FORCE", Value: 128},
{Name: "FB_ACTIVATE_INV_MODE", Value: 256},
@@ -50130,11 +50159,26 @@ var consts_ppc64le = []ConstValue{
{Name: "FB_BLANK_POWERDOWN", Value: 4},
{Name: "FB_BLANK_UNBLANK"},
{Name: "FB_FIX_SCREENINFO_SIZE", Value: 80},
+ {Name: "FB_NONSTD_HAM", Value: 1},
+ {Name: "FB_NONSTD_REV_PIX_IN_B", Value: 2},
+ {Name: "FB_ROTATE_CCW", Value: 3},
+ {Name: "FB_ROTATE_CW", Value: 1},
+ {Name: "FB_ROTATE_UD", Value: 2},
+ {Name: "FB_ROTATE_UR"},
+ {Name: "FB_SYNC_BROADCAST", Value: 16},
+ {Name: "FB_SYNC_COMP_HIGH_ACT", Value: 8},
+ {Name: "FB_SYNC_EXT", Value: 4},
+ {Name: "FB_SYNC_HOR_HIGH_ACT", Value: 1},
+ {Name: "FB_SYNC_ON_GREEN", Value: 32},
+ {Name: "FB_SYNC_VERT_HIGH_ACT", Value: 2},
{Name: "FB_VAR_SCREENINFO_SIZE", Value: 160},
+ {Name: "FB_VMODE_CONUPDATE", Value: 512},
{Name: "FB_VMODE_DOUBLE", Value: 2},
{Name: "FB_VMODE_INTERLACED", Value: 1},
{Name: "FB_VMODE_NONINTERLACED"},
{Name: "FB_VMODE_ODD_FLD_FIRST", Value: 4},
+ {Name: "FB_VMODE_SMOOTH_XPAN", Value: 512},
+ {Name: "FB_VMODE_YWRAP", Value: 256},
{Name: "FDCLRPRM", Value: 536871489},
{Name: "FDDEFPRM", Value: 2149581379},
{Name: "FDEJECT", Value: 536871514},
@@ -51552,6 +51596,7 @@ var consts_ppc64le = []ConstValue{
{Name: "KDSETLED", Value: 19250},
{Name: "KDSETMODE", Value: 19258},
{Name: "KDSIGACCEPT", Value: 19278},
+ {Name: "KDSKBENT", Value: 19271},
{Name: "KDSKBLED", Value: 19301},
{Name: "KDSKBMETA", Value: 19299},
{Name: "KDSKBMODE", Value: 19269},
@@ -51560,6 +51605,8 @@ var consts_ppc64le = []ConstValue{
{Name: "KD_FONT_OP_GET", Value: 1},
{Name: "KD_FONT_OP_SET"},
{Name: "KD_FONT_OP_SET_DEFAULT", Value: 2},
+ {Name: "KD_GRAPHICS", Value: 1},
+ {Name: "KD_TEXT"},
{Name: "KERNEL_CLIENT", Value: 2},
{Name: "KEXEC_ARCH_386", Value: 196608},
{Name: "KEXEC_ARCH_ARM", Value: 2621440},
@@ -51774,6 +51821,10 @@ var consts_ppc64le = []ConstValue{
{Name: "KVM_UNREGISTER_COALESCED_MMIO", Value: 2148576872},
{Name: "KVM_X86_GET_MCE_CAP_SUPPORTED", Value: 1074310813},
{Name: "KVM_X86_SETUP_MCE", Value: 2148052636},
+ {Name: "K_ESCPREFIX", Value: 4},
+ {Name: "K_METABIT", Value: 3},
+ {Name: "K_OFF", Value: 4},
+ {Name: "K_RAW"},
{Name: "L2CAP_CONNINFO", Value: 2},
{Name: "L2CAP_LM", Value: 3},
{Name: "L2CAP_LM_AUTH", Value: 2},
@@ -54785,6 +54836,23 @@ var consts_ppc64le = []ConstValue{
{Name: "TIOCGWINSZ", Value: 1074295912},
{Name: "TIOCINQ", Value: 1074030207},
{Name: "TIOCLINUX", Value: 21532},
+ {Name: "TIOCL_BLANKSCREEN", Value: 14},
+ {Name: "TIOCL_GETKMSGREDIRECT", Value: 17},
+ {Name: "TIOCL_GETMOUSEREPORTING", Value: 7},
+ {Name: "TIOCL_GETSHIFTSTATE", Value: 6},
+ {Name: "TIOCL_PASTESEL", Value: 3},
+ {Name: "TIOCL_SCROLLCONSOLE", Value: 13},
+ {Name: "TIOCL_SELBUTTONMASK", Value: 15},
+ {Name: "TIOCL_SELCHAR"},
+ {Name: "TIOCL_SELCLEAR", Value: 4},
+ {Name: "TIOCL_SELLINE", Value: 2},
+ {Name: "TIOCL_SELLOADLUT", Value: 5},
+ {Name: "TIOCL_SELMOUSEREPORT", Value: 16},
+ {Name: "TIOCL_SELPOINTER", Value: 3},
+ {Name: "TIOCL_SELWORD", Value: 1},
+ {Name: "TIOCL_SETSEL", Value: 2},
+ {Name: "TIOCL_SETVESABLANK", Value: 10},
+ {Name: "TIOCL_UNBLANKSCREEN", Value: 4},
{Name: "TIOCMBIC", Value: 21527},
{Name: "TIOCMBIS", Value: 21526},
{Name: "TIOCMGET", Value: 21525},
@@ -57145,4 +57213,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "db3675b7e69c10016f4663a54044fd76b8004f80"
+const revision_ppc64le = "132c39d9ab103dc09fd86155be902eebc69f4324"