diff options
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/dev_fb.txt | 35 | ||||
| -rw-r--r-- | sys/linux/dev_fb_386.const | 16 | ||||
| -rw-r--r-- | sys/linux/dev_fb_amd64.const | 16 | ||||
| -rw-r--r-- | sys/linux/dev_fb_arm.const | 16 | ||||
| -rw-r--r-- | sys/linux/dev_fb_arm64.const | 16 | ||||
| -rw-r--r-- | sys/linux/dev_fb_ppc64le.const | 16 | ||||
| -rw-r--r-- | sys/linux/dev_ptmx.txt | 61 | ||||
| -rw-r--r-- | sys/linux/dev_ptmx_386.const | 24 | ||||
| -rw-r--r-- | sys/linux/dev_ptmx_amd64.const | 24 | ||||
| -rw-r--r-- | sys/linux/dev_ptmx_arm.const | 24 | ||||
| -rw-r--r-- | sys/linux/dev_ptmx_arm64.const | 24 | ||||
| -rw-r--r-- | sys/linux/dev_ptmx_ppc64le.const | 24 | ||||
| -rw-r--r-- | sys/linux/gen/386.go | 148 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 146 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 146 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 146 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 146 | ||||
| -rw-r--r-- | sys/linux/sys_386.const | 2 |
18 files changed, 796 insertions, 234 deletions
diff --git a/sys/linux/dev_fb.txt b/sys/linux/dev_fb.txt index d395f4bc1..a63bb05b5 100644 --- a/sys/linux/dev_fb.txt +++ b/sys/linux/dev_fb.txt @@ -4,6 +4,7 @@ include <uapi/asm/ioctl.h> include <uapi/linux/fcntl.h> include <uapi/linux/fb.h> +include <uapi/linux/videodev2.h> resource fd_fb[fd] @@ -26,23 +27,23 @@ ioctl$FBIOBLANK(fd fd_fb, cmd const[FBIOBLANK], arg intptr[FB_BLANK_UNBLANK:FB_B ioctl$FBIO_WAITFORVSYNC(fd fd_fb, cmd const[FBIO_WAITFORVSYNC], arg const[0]) fb_var_screeninfo { - xres int32 - yres int32 - xres_virtual int32 - yres_virtual int32 + xres flags[fb_xres, int32] + yres flags[fb_yres, int32] + xres_virtual flags[fb_xres, int32] + yres_virtual flags[fb_yres, int32] xoffset int32 yoffset int32 bits_per_pixel flags[fb_bpp, int32] - grayscale int32 + grayscale int32[0:2] red fb_bitfield green fb_bitfield blue fb_bitfield transp fb_bitfield - nonstd int32 + nonstd flags[fb_nonstd, int32] activate flags[fb_activate, int32] height int32 width int32 - accel_flags int32 + accel_flags flags[fb_accel_flags, int32] pixclock int32 left_margin int32 right_margin int32 @@ -50,16 +51,22 @@ fb_var_screeninfo { lower_margin int32 hsync_len int32 vsync_len int32 - sync int32 + sync flags[fb_sync, int32] vmode flags[fb_mode, int32] - rotate int32 - colorspace int32 + rotate flags[fb_rotate, int32] + colorspace flags[v4l2_colorspace, int32] reserved array[const[0, int32], 4] } fb_activate = FB_ACTIVATE_NOW, FB_ACTIVATE_NXTOPEN, FB_ACTIVATE_TEST, FB_ACTIVATE_VBL, FB_ACTIVATE_ALL, FB_ACTIVATE_FORCE, FB_ACTIVATE_INV_MODE -fb_mode = FB_VMODE_NONINTERLACED, FB_VMODE_INTERLACED, FB_VMODE_DOUBLE, FB_VMODE_ODD_FLD_FIRST -fb_bpp = 1, 2, 8, 15, 16, 24, 32 +fb_mode = FB_VMODE_NONINTERLACED, FB_VMODE_INTERLACED, FB_VMODE_DOUBLE, FB_VMODE_ODD_FLD_FIRST, FB_VMODE_YWRAP, FB_VMODE_SMOOTH_XPAN, FB_VMODE_CONUPDATE +fb_bpp = 0, 1, 2, 4, 8, 15, 16, 24, 32 +fb_nonstd = 0, FB_NONSTD_HAM, FB_NONSTD_REV_PIX_IN_B +fb_sync = 0, FB_SYNC_HOR_HIGH_ACT, FB_SYNC_VERT_HIGH_ACT, FB_SYNC_EXT, FB_SYNC_COMP_HIGH_ACT, FB_SYNC_BROADCAST, FB_SYNC_ON_GREEN +fb_rotate = FB_ROTATE_UR, FB_ROTATE_CW, FB_ROTATE_UD, FB_ROTATE_CCW +fb_accel_flags = 0, FB_ACCELF_TEXT +fb_xres = 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 +fb_yres = 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 type fb_cmap_user[DIR] { start int32 @@ -78,8 +85,8 @@ fb_bitfield { } fb_con2fbmap { - console int32 - framebuffer int32 + console int32[0:63] + framebuffer int32[0:2] } define FB_VAR_SCREENINFO_SIZE sizeof(struct fb_var_screeninfo) diff --git a/sys/linux/dev_fb_386.const b/sys/linux/dev_fb_386.const index 16703ec92..888c6176b 100644 --- a/sys/linux/dev_fb_386.const +++ b/sys/linux/dev_fb_386.const @@ -10,6 +10,7 @@ FBIOPUTCMAP = 17925 FBIOPUT_CON2FBMAP = 17936 FBIOPUT_VSCREENINFO = 17921 FBIO_WAITFORVSYNC = 1074021920 +FB_ACCELF_TEXT = 1 FB_ACTIVATE_ALL = 64 FB_ACTIVATE_FORCE = 128 FB_ACTIVATE_INV_MODE = 256 @@ -20,11 +21,26 @@ FB_ACTIVATE_VBL = 16 FB_BLANK_POWERDOWN = 4 FB_BLANK_UNBLANK = 0 FB_FIX_SCREENINFO_SIZE = 68 +FB_NONSTD_HAM = 1 +FB_NONSTD_REV_PIX_IN_B = 2 +FB_ROTATE_CCW = 3 +FB_ROTATE_CW = 1 +FB_ROTATE_UD = 2 +FB_ROTATE_UR = 0 +FB_SYNC_BROADCAST = 16 +FB_SYNC_COMP_HIGH_ACT = 8 +FB_SYNC_EXT = 4 +FB_SYNC_HOR_HIGH_ACT = 1 +FB_SYNC_ON_GREEN = 32 +FB_SYNC_VERT_HIGH_ACT = 2 FB_VAR_SCREENINFO_SIZE = 160 +FB_VMODE_CONUPDATE = 512 FB_VMODE_DOUBLE = 2 FB_VMODE_INTERLACED = 1 FB_VMODE_NONINTERLACED = 0 FB_VMODE_ODD_FLD_FIRST = 4 +FB_VMODE_SMOOTH_XPAN = 512 +FB_VMODE_YWRAP = 256 __NR_ioctl = 54 __NR_mmap = 192 __NR_mmap2 = 192 diff --git a/sys/linux/dev_fb_amd64.const b/sys/linux/dev_fb_amd64.const index 90a4994c7..50bf72646 100644 --- a/sys/linux/dev_fb_amd64.const +++ b/sys/linux/dev_fb_amd64.const @@ -10,6 +10,7 @@ FBIOPUTCMAP = 17925 FBIOPUT_CON2FBMAP = 17936 FBIOPUT_VSCREENINFO = 17921 FBIO_WAITFORVSYNC = 1074021920 +FB_ACCELF_TEXT = 1 FB_ACTIVATE_ALL = 64 FB_ACTIVATE_FORCE = 128 FB_ACTIVATE_INV_MODE = 256 @@ -20,11 +21,26 @@ FB_ACTIVATE_VBL = 16 FB_BLANK_POWERDOWN = 4 FB_BLANK_UNBLANK = 0 FB_FIX_SCREENINFO_SIZE = 80 +FB_NONSTD_HAM = 1 +FB_NONSTD_REV_PIX_IN_B = 2 +FB_ROTATE_CCW = 3 +FB_ROTATE_CW = 1 +FB_ROTATE_UD = 2 +FB_ROTATE_UR = 0 +FB_SYNC_BROADCAST = 16 +FB_SYNC_COMP_HIGH_ACT = 8 +FB_SYNC_EXT = 4 +FB_SYNC_HOR_HIGH_ACT = 1 +FB_SYNC_ON_GREEN = 32 +FB_SYNC_VERT_HIGH_ACT = 2 FB_VAR_SCREENINFO_SIZE = 160 +FB_VMODE_CONUPDATE = 512 FB_VMODE_DOUBLE = 2 FB_VMODE_INTERLACED = 1 FB_VMODE_NONINTERLACED = 0 FB_VMODE_ODD_FLD_FIRST = 4 +FB_VMODE_SMOOTH_XPAN = 512 +FB_VMODE_YWRAP = 256 __NR_ioctl = 16 __NR_mmap = 9 # __NR_mmap2 is not set diff --git a/sys/linux/dev_fb_arm.const b/sys/linux/dev_fb_arm.const index cc81c4842..e6f061a0c 100644 --- a/sys/linux/dev_fb_arm.const +++ b/sys/linux/dev_fb_arm.const @@ -10,6 +10,7 @@ FBIOPUTCMAP = 17925 FBIOPUT_CON2FBMAP = 17936 FBIOPUT_VSCREENINFO = 17921 FBIO_WAITFORVSYNC = 1074021920 +FB_ACCELF_TEXT = 1 FB_ACTIVATE_ALL = 64 FB_ACTIVATE_FORCE = 128 FB_ACTIVATE_INV_MODE = 256 @@ -20,11 +21,26 @@ FB_ACTIVATE_VBL = 16 FB_BLANK_POWERDOWN = 4 FB_BLANK_UNBLANK = 0 FB_FIX_SCREENINFO_SIZE = 68 +FB_NONSTD_HAM = 1 +FB_NONSTD_REV_PIX_IN_B = 2 +FB_ROTATE_CCW = 3 +FB_ROTATE_CW = 1 +FB_ROTATE_UD = 2 +FB_ROTATE_UR = 0 +FB_SYNC_BROADCAST = 16 +FB_SYNC_COMP_HIGH_ACT = 8 +FB_SYNC_EXT = 4 +FB_SYNC_HOR_HIGH_ACT = 1 +FB_SYNC_ON_GREEN = 32 +FB_SYNC_VERT_HIGH_ACT = 2 FB_VAR_SCREENINFO_SIZE = 160 +FB_VMODE_CONUPDATE = 512 FB_VMODE_DOUBLE = 2 FB_VMODE_INTERLACED = 1 FB_VMODE_NONINTERLACED = 0 FB_VMODE_ODD_FLD_FIRST = 4 +FB_VMODE_SMOOTH_XPAN = 512 +FB_VMODE_YWRAP = 256 __NR_ioctl = 54 __NR_mmap = 192 __NR_mmap2 = 192 diff --git a/sys/linux/dev_fb_arm64.const b/sys/linux/dev_fb_arm64.const index 5a4899762..86364b7c3 100644 --- a/sys/linux/dev_fb_arm64.const +++ b/sys/linux/dev_fb_arm64.const @@ -10,6 +10,7 @@ FBIOPUTCMAP = 17925 FBIOPUT_CON2FBMAP = 17936 FBIOPUT_VSCREENINFO = 17921 FBIO_WAITFORVSYNC = 1074021920 +FB_ACCELF_TEXT = 1 FB_ACTIVATE_ALL = 64 FB_ACTIVATE_FORCE = 128 FB_ACTIVATE_INV_MODE = 256 @@ -20,11 +21,26 @@ FB_ACTIVATE_VBL = 16 FB_BLANK_POWERDOWN = 4 FB_BLANK_UNBLANK = 0 FB_FIX_SCREENINFO_SIZE = 80 +FB_NONSTD_HAM = 1 +FB_NONSTD_REV_PIX_IN_B = 2 +FB_ROTATE_CCW = 3 +FB_ROTATE_CW = 1 +FB_ROTATE_UD = 2 +FB_ROTATE_UR = 0 +FB_SYNC_BROADCAST = 16 +FB_SYNC_COMP_HIGH_ACT = 8 +FB_SYNC_EXT = 4 +FB_SYNC_HOR_HIGH_ACT = 1 +FB_SYNC_ON_GREEN = 32 +FB_SYNC_VERT_HIGH_ACT = 2 FB_VAR_SCREENINFO_SIZE = 160 +FB_VMODE_CONUPDATE = 512 FB_VMODE_DOUBLE = 2 FB_VMODE_INTERLACED = 1 FB_VMODE_NONINTERLACED = 0 FB_VMODE_ODD_FLD_FIRST = 4 +FB_VMODE_SMOOTH_XPAN = 512 +FB_VMODE_YWRAP = 256 __NR_ioctl = 29 __NR_mmap = 222 # __NR_mmap2 is not set diff --git a/sys/linux/dev_fb_ppc64le.const b/sys/linux/dev_fb_ppc64le.const index 2219b078c..b8503dba8 100644 --- a/sys/linux/dev_fb_ppc64le.const +++ b/sys/linux/dev_fb_ppc64le.const @@ -10,6 +10,7 @@ FBIOPUTCMAP = 17925 FBIOPUT_CON2FBMAP = 17936 FBIOPUT_VSCREENINFO = 17921 FBIO_WAITFORVSYNC = 2147763744 +FB_ACCELF_TEXT = 1 FB_ACTIVATE_ALL = 64 FB_ACTIVATE_FORCE = 128 FB_ACTIVATE_INV_MODE = 256 @@ -20,11 +21,26 @@ FB_ACTIVATE_VBL = 16 FB_BLANK_POWERDOWN = 4 FB_BLANK_UNBLANK = 0 FB_FIX_SCREENINFO_SIZE = 80 +FB_NONSTD_HAM = 1 +FB_NONSTD_REV_PIX_IN_B = 2 +FB_ROTATE_CCW = 3 +FB_ROTATE_CW = 1 +FB_ROTATE_UD = 2 +FB_ROTATE_UR = 0 +FB_SYNC_BROADCAST = 16 +FB_SYNC_COMP_HIGH_ACT = 8 +FB_SYNC_EXT = 4 +FB_SYNC_HOR_HIGH_ACT = 1 +FB_SYNC_ON_GREEN = 32 +FB_SYNC_VERT_HIGH_ACT = 2 FB_VAR_SCREENINFO_SIZE = 160 +FB_VMODE_CONUPDATE = 512 FB_VMODE_DOUBLE = 2 FB_VMODE_INTERLACED = 1 FB_VMODE_NONINTERLACED = 0 FB_VMODE_ODD_FLD_FIRST = 4 +FB_VMODE_SMOOTH_XPAN = 512 +FB_VMODE_YWRAP = 256 __NR_ioctl = 54 __NR_mmap = 90 # __NR_mmap2 is not set diff --git a/sys/linux/dev_ptmx.txt b/sys/linux/dev_ptmx.txt index b71beaaaa..90ea15007 100644 --- a/sys/linux/dev_ptmx.txt +++ b/sys/linux/dev_ptmx.txt @@ -8,6 +8,7 @@ include <uapi/linux/fcntl.h> include <uapi/linux/tty.h> include <uapi/linux/serial.h> include <uapi/linux/termios.h> +include <uapi/linux/tiocl.h> resource fd_tty[fd] @@ -68,8 +69,6 @@ ioctl$TIOCMBIS(fd fd_tty, cmd const[TIOCMBIS], arg ptr[in, int32]) ioctl$TIOCGSOFTCAR(fd fd_tty, cmd const[TIOCGSOFTCAR], arg ptr[out, int32]) ioctl$TIOCSSOFTCAR(fd fd_tty, cmd const[TIOCSSOFTCAR], arg ptr[in, int32]) -# For the TIOCLINUX ioctl, see console_ioctl(4). - ioctl$KDGETLED(fd fd_tty, cmd const[KDGETLED], arg ptr[out, int8]) ioctl$KDSETLED(fd fd_tty, cmd const[KDSETLED], arg intptr) ioctl$KDGKBLED(fd fd_tty, cmd const[KDGKBLED], arg ptr[out, int8]) @@ -79,7 +78,7 @@ ioctl$KDADDIO(fd fd_tty, cmd const[KDADDIO], arg intptr) ioctl$KDDELIO(fd fd_tty, cmd const[KDDELIO], arg intptr) ioctl$KDENABIO(fd fd_tty, cmd const[KDENABIO]) ioctl$KDDISABIO(fd fd_tty, cmd const[KDDISABIO]) -ioctl$KDSETMODE(fd fd_tty, cmd const[KDSETMODE], arg intptr) +ioctl$KDSETMODE(fd fd_tty, cmd const[KDSETMODE], arg intptr[KD_TEXT:KD_GRAPHICS]) ioctl$KDGETMODE(fd fd_tty, cmd const[KDGETMODE], arg ptr[out, intptr]) ioctl$KDMKTONE(fd fd_tty, cmd const[KDMKTONE], arg intptr) ioctl$KIOCSOUND(fd fd_tty, cmd const[KIOCSOUND], arg intptr) @@ -102,12 +101,13 @@ ioctl$GIO_UNIMAP(fd fd_tty, cmd const[GIO_UNIMAP], arg ptr[in, unimapdesc_out]) ioctl$PIO_UNIMAP(fd fd_tty, cmd const[PIO_UNIMAP], arg ptr[in, unimapdesc_in]) ioctl$PIO_UNIMAPCLR(fd fd_tty, cmd const[PIO_UNIMAPCLR], arg ptr[in, unimapinit]) ioctl$KDGKBMODE(fd fd_tty, cmd const[KDGKBMODE], arg ptr[out, intptr]) -ioctl$KDSKBMODE(fd fd_tty, cmd const[KDSKBMODE], arg ptr[in, intptr]) +ioctl$KDSKBMODE(fd fd_tty, cmd const[KDSKBMODE], arg ptr[in, intptr[K_RAW:K_OFF]]) ioctl$KDGKBMETA(fd fd_tty, cmd const[KDGKBMETA], arg ptr[out, intptr]) -ioctl$KDSKBMETA(fd fd_tty, cmd const[KDSKBMETA], arg ptr[in, intptr]) +ioctl$KDSKBMETA(fd fd_tty, cmd const[KDSKBMETA], arg ptr[in, intptr[K_METABIT:K_ESCPREFIX]]) ioctl$KDGKBENT(fd fd_tty, cmd const[KDGKBENT], arg ptr[in, kbentry]) -ioctl$KDGKBSENT(fd fd_tty, cmd const[KDGKBSENT], arg ptr[in, kbentry]) -ioctl$KDSKBSENT(fd fd_tty, cmd const[KDSKBSENT], arg buffer[in]) +ioctl$KDSKBENT(fd fd_tty, cmd const[KDSKBENT], arg ptr[in, kbentry]) +ioctl$KDGKBSENT(fd fd_tty, cmd const[KDGKBSENT], arg ptr[in, kbsentry]) +ioctl$KDSKBSENT(fd fd_tty, cmd const[KDSKBSENT], arg ptr[in, kbsentry]) ioctl$KDGKBDIACR(fd fd_tty, cmd const[KDGKBDIACR], arg buffer[out]) ioctl$KDGETKEYCODE(fd fd_tty, cmd const[KDGETKEYCODE], arg ptr[in, kbkeycode]) ioctl$KDSETKEYCODE(fd fd_tty, cmd const[KDSETKEYCODE], arg ptr[in, kbkeycode]) @@ -122,12 +122,20 @@ ioctl$VT_WAITACTIVE(fd fd_tty, cmd const[VT_WAITACTIVE]) ioctl$VT_DISALLOCATE(fd fd_tty, cmd const[VT_DISALLOCATE]) ioctl$VT_RESIZE(fd fd_tty, cmd const[VT_RESIZE], arg ptr[in, vt_sizes]) ioctl$VT_RESIZEX(fd fd_tty, cmd const[VT_RESIZEX], arg ptr[in, vt_consize]) -ioctl$TIOCLINUX2(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, tiocl_selection]) -ioctl$TIOCLINUX3(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, const[3, int8]]) -ioctl$TIOCLINUX4(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, const[4, int8]]) -ioctl$TIOCLINUX5(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, loadlut]) -ioctl$TIOCLINUX6(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, tiocl_shift_state]) -ioctl$TIOCLINUX7(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, tiocl_report_mouse]) + +# For the TIOCLINUX ioctl, see console_ioctl(4). +ioctl$TIOCL_SETSEL(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, tiocl_selection]) +ioctl$TIOCL_PASTESEL(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, const[TIOCL_PASTESEL, int8]]) +ioctl$TIOCL_UNBLANKSCREEN(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, const[TIOCL_UNBLANKSCREEN, int8]]) +ioctl$TIOCL_SELLOADLUT(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, loadlut]) +ioctl$TIOCL_GETSHIFTSTATE(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, tiocl_shift_state]) +ioctl$TIOCL_GETMOUSEREPORTING(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, const[TIOCL_GETMOUSEREPORTING, int8]]) +ioctl$TIOCL_SETVESABLANK(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, const[TIOCL_SETVESABLANK, int8]]) + +ioctl$TIOCL_GETKMSGREDIRECT(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, const[TIOCL_GETKMSGREDIRECT, int8]]) +ioctl$TIOCL_SCROLLCONSOLE(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, tioctl_scroll_console]) +ioctl$TIOCL_BLANKSCREEN(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, const[TIOCL_BLANKSCREEN, int8]]) + ioctl$TIOCGSERIAL(fd fd_tty, cmd const[TIOCGSERIAL], arg ptr[out, serial_struct]) ioctl$TIOCSSERIAL(fd fd_tty, cmd const[TIOCSSERIAL], arg ptr[in, serial_struct]) ioctl$TCGETS2(fd fd_tty, cmd const[TCGETS2], arg ptr[out, termios2]) @@ -239,6 +247,11 @@ kbentry { value int16 } +kbsentry { + kb_func int8 + kb_string array[int8, 512] +} + kbkeycode { scan int32 key int32 @@ -274,30 +287,32 @@ vt_consize { } tiocl_selection { - subcode const[2, int8] + subcode const[TIOCL_SETSEL, int8] xs int16 ys int16 xe int16 ye int16 - mode int16 -} + mode flags[tiocl_selection_mode, int16] +} [packed] + +tiocl_selection_mode = TIOCL_SELCHAR, TIOCL_SELWORD, TIOCL_SELLINE, TIOCL_SELPOINTER, TIOCL_SELCLEAR, TIOCL_SELMOUSEREPORT, TIOCL_SELBUTTONMASK loadlut { - submode const[5, int8] + submode const[TIOCL_SELLOADLUT, int8] tab0 int64 tab1 int64 tab2 int64 tab3 int64 -} +} [packed] tiocl_shift_state { - subcode const[6, int8] + subcode const[TIOCL_GETSHIFTSTATE, int8] shift int8 -} +} [packed] -tiocl_report_mouse { - subcode const[7, int8] - shift int8 +tioctl_scroll_console { + subcode const[TIOCL_SCROLLCONSOLE, int8] + lines int32 } serial_struct { diff --git a/sys/linux/dev_ptmx_386.const b/sys/linux/dev_ptmx_386.const index 5234f3c5d..a8b42bdcd 100644 --- a/sys/linux/dev_ptmx_386.const +++ b/sys/linux/dev_ptmx_386.const @@ -27,6 +27,7 @@ KDSETKEYCODE = 19277 KDSETLED = 19250 KDSETMODE = 19258 KDSIGACCEPT = 19278 +KDSKBENT = 19271 KDSKBLED = 19301 KDSKBMETA = 19299 KDSKBMODE = 19269 @@ -35,7 +36,13 @@ KD_FONT_OP_COPY = 3 KD_FONT_OP_GET = 1 KD_FONT_OP_SET = 0 KD_FONT_OP_SET_DEFAULT = 2 +KD_GRAPHICS = 1 +KD_TEXT = 0 KIOCSOUND = 19247 +K_ESCPREFIX = 4 +K_METABIT = 3 +K_OFF = 4 +K_RAW = 0 NCCS = 19 NFF = 5 N_NULL = 27 @@ -86,6 +93,23 @@ TIOCGSID = 21545 TIOCGSOFTCAR = 21529 TIOCGWINSZ = 21523 TIOCLINUX = 21532 +TIOCL_BLANKSCREEN = 14 +TIOCL_GETKMSGREDIRECT = 17 +TIOCL_GETMOUSEREPORTING = 7 +TIOCL_GETSHIFTSTATE = 6 +TIOCL_PASTESEL = 3 +TIOCL_SCROLLCONSOLE = 13 +TIOCL_SELBUTTONMASK = 15 +TIOCL_SELCHAR = 0 +TIOCL_SELCLEAR = 4 +TIOCL_SELLINE = 2 +TIOCL_SELLOADLUT = 5 +TIOCL_SELMOUSEREPORT = 16 +TIOCL_SELPOINTER = 3 +TIOCL_SELWORD = 1 +TIOCL_SETSEL = 2 +TIOCL_SETVESABLANK = 10 +TIOCL_UNBLANKSCREEN = 4 TIOCMBIC = 21527 TIOCMBIS = 21526 TIOCMGET = 21525 diff --git a/sys/linux/dev_ptmx_amd64.const b/sys/linux/dev_ptmx_amd64.const index 12e00b2eb..006d11a8b 100644 --- a/sys/linux/dev_ptmx_amd64.const +++ b/sys/linux/dev_ptmx_amd64.const @@ -27,6 +27,7 @@ KDSETKEYCODE = 19277 KDSETLED = 19250 KDSETMODE = 19258 KDSIGACCEPT = 19278 +KDSKBENT = 19271 KDSKBLED = 19301 KDSKBMETA = 19299 KDSKBMODE = 19269 @@ -35,7 +36,13 @@ KD_FONT_OP_COPY = 3 KD_FONT_OP_GET = 1 KD_FONT_OP_SET = 0 KD_FONT_OP_SET_DEFAULT = 2 +KD_GRAPHICS = 1 +KD_TEXT = 0 KIOCSOUND = 19247 +K_ESCPREFIX = 4 +K_METABIT = 3 +K_OFF = 4 +K_RAW = 0 NCCS = 19 NFF = 5 N_NULL = 27 @@ -86,6 +93,23 @@ TIOCGSID = 21545 TIOCGSOFTCAR = 21529 TIOCGWINSZ = 21523 TIOCLINUX = 21532 +TIOCL_BLANKSCREEN = 14 +TIOCL_GETKMSGREDIRECT = 17 +TIOCL_GETMOUSEREPORTING = 7 +TIOCL_GETSHIFTSTATE = 6 +TIOCL_PASTESEL = 3 +TIOCL_SCROLLCONSOLE = 13 +TIOCL_SELBUTTONMASK = 15 +TIOCL_SELCHAR = 0 +TIOCL_SELCLEAR = 4 +TIOCL_SELLINE = 2 +TIOCL_SELLOADLUT = 5 +TIOCL_SELMOUSEREPORT = 16 +TIOCL_SELPOINTER = 3 +TIOCL_SELWORD = 1 +TIOCL_SETSEL = 2 +TIOCL_SETVESABLANK = 10 +TIOCL_UNBLANKSCREEN = 4 TIOCMBIC = 21527 TIOCMBIS = 21526 TIOCMGET = 21525 diff --git a/sys/linux/dev_ptmx_arm.const b/sys/linux/dev_ptmx_arm.const index cd76c698f..321803716 100644 --- a/sys/linux/dev_ptmx_arm.const +++ b/sys/linux/dev_ptmx_arm.const @@ -27,6 +27,7 @@ KDSETKEYCODE = 19277 KDSETLED = 19250 KDSETMODE = 19258 KDSIGACCEPT = 19278 +KDSKBENT = 19271 KDSKBLED = 19301 KDSKBMETA = 19299 KDSKBMODE = 19269 @@ -35,7 +36,13 @@ KD_FONT_OP_COPY = 3 KD_FONT_OP_GET = 1 KD_FONT_OP_SET = 0 KD_FONT_OP_SET_DEFAULT = 2 +KD_GRAPHICS = 1 +KD_TEXT = 0 KIOCSOUND = 19247 +K_ESCPREFIX = 4 +K_METABIT = 3 +K_OFF = 4 +K_RAW = 0 NCCS = 19 NFF = 5 N_NULL = 27 @@ -86,6 +93,23 @@ TIOCGSID = 21545 TIOCGSOFTCAR = 21529 TIOCGWINSZ = 21523 TIOCLINUX = 21532 +TIOCL_BLANKSCREEN = 14 +TIOCL_GETKMSGREDIRECT = 17 +TIOCL_GETMOUSEREPORTING = 7 +TIOCL_GETSHIFTSTATE = 6 +TIOCL_PASTESEL = 3 +TIOCL_SCROLLCONSOLE = 13 +TIOCL_SELBUTTONMASK = 15 +TIOCL_SELCHAR = 0 +TIOCL_SELCLEAR = 4 +TIOCL_SELLINE = 2 +TIOCL_SELLOADLUT = 5 +TIOCL_SELMOUSEREPORT = 16 +TIOCL_SELPOINTER = 3 +TIOCL_SELWORD = 1 +TIOCL_SETSEL = 2 +TIOCL_SETVESABLANK = 10 +TIOCL_UNBLANKSCREEN = 4 TIOCMBIC = 21527 TIOCMBIS = 21526 TIOCMGET = 21525 diff --git a/sys/linux/dev_ptmx_arm64.const b/sys/linux/dev_ptmx_arm64.const index 7d73007dc..cc9426fb0 100644 --- a/sys/linux/dev_ptmx_arm64.const +++ b/sys/linux/dev_ptmx_arm64.const @@ -27,6 +27,7 @@ KDSETKEYCODE = 19277 KDSETLED = 19250 KDSETMODE = 19258 KDSIGACCEPT = 19278 +KDSKBENT = 19271 KDSKBLED = 19301 KDSKBMETA = 19299 KDSKBMODE = 19269 @@ -35,7 +36,13 @@ KD_FONT_OP_COPY = 3 KD_FONT_OP_GET = 1 KD_FONT_OP_SET = 0 KD_FONT_OP_SET_DEFAULT = 2 +KD_GRAPHICS = 1 +KD_TEXT = 0 KIOCSOUND = 19247 +K_ESCPREFIX = 4 +K_METABIT = 3 +K_OFF = 4 +K_RAW = 0 NCCS = 19 NFF = 5 N_NULL = 27 @@ -86,6 +93,23 @@ TIOCGSID = 21545 TIOCGSOFTCAR = 21529 TIOCGWINSZ = 21523 TIOCLINUX = 21532 +TIOCL_BLANKSCREEN = 14 +TIOCL_GETKMSGREDIRECT = 17 +TIOCL_GETMOUSEREPORTING = 7 +TIOCL_GETSHIFTSTATE = 6 +TIOCL_PASTESEL = 3 +TIOCL_SCROLLCONSOLE = 13 +TIOCL_SELBUTTONMASK = 15 +TIOCL_SELCHAR = 0 +TIOCL_SELCLEAR = 4 +TIOCL_SELLINE = 2 +TIOCL_SELLOADLUT = 5 +TIOCL_SELMOUSEREPORT = 16 +TIOCL_SELPOINTER = 3 +TIOCL_SELWORD = 1 +TIOCL_SETSEL = 2 +TIOCL_SETVESABLANK = 10 +TIOCL_UNBLANKSCREEN = 4 TIOCMBIC = 21527 TIOCMBIS = 21526 TIOCMGET = 21525 diff --git a/sys/linux/dev_ptmx_ppc64le.const b/sys/linux/dev_ptmx_ppc64le.const index 66b60fb7f..3da5ad347 100644 --- a/sys/linux/dev_ptmx_ppc64le.const +++ b/sys/linux/dev_ptmx_ppc64le.const @@ -27,6 +27,7 @@ KDSETKEYCODE = 19277 KDSETLED = 19250 KDSETMODE = 19258 KDSIGACCEPT = 19278 +KDSKBENT = 19271 KDSKBLED = 19301 KDSKBMETA = 19299 KDSKBMODE = 19269 @@ -35,7 +36,13 @@ KD_FONT_OP_COPY = 3 KD_FONT_OP_GET = 1 KD_FONT_OP_SET = 0 KD_FONT_OP_SET_DEFAULT = 2 +KD_GRAPHICS = 1 +KD_TEXT = 0 KIOCSOUND = 19247 +K_ESCPREFIX = 4 +K_METABIT = 3 +K_OFF = 4 +K_RAW = 0 NCCS = 19 NFF = 5 N_NULL = 27 @@ -86,6 +93,23 @@ TIOCGSID = 21545 TIOCGSOFTCAR = 21529 TIOCGWINSZ = 1074295912 TIOCLINUX = 21532 +TIOCL_BLANKSCREEN = 14 +TIOCL_GETKMSGREDIRECT = 17 +TIOCL_GETMOUSEREPORTING = 7 +TIOCL_GETSHIFTSTATE = 6 +TIOCL_PASTESEL = 3 +TIOCL_SCROLLCONSOLE = 13 +TIOCL_SELBUTTONMASK = 15 +TIOCL_SELCHAR = 0 +TIOCL_SELCLEAR = 4 +TIOCL_SELLINE = 2 +TIOCL_SELLOADLUT = 5 +TIOCL_SELMOUSEREPORT = 16 +TIOCL_SELPOINTER = 3 +TIOCL_SELWORD = 1 +TIOCL_SETSEL = 2 +TIOCL_SETVESABLANK = 10 +TIOCL_UNBLANKSCREEN = 4 TIOCMBIC = 21527 TIOCMBIS = 21526 TIOCMGET = 21525 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" diff --git a/sys/linux/sys_386.const b/sys/linux/sys_386.const index c9142c8b1..51ba26ff2 100644 --- a/sys/linux/sys_386.const +++ b/sys/linux/sys_386.const @@ -174,7 +174,7 @@ KCMP_VM = 1 KCOV_DISABLE = 25445 KCOV_ENABLE = 25444 KCOV_INIT_TRACE = 2147771137 -KCOV_REMOTE_ENABLE = 1075077990 +KCOV_REMOTE_ENABLE = 1075340134 KCOV_TRACE_CMP = 1 KCOV_TRACE_PC = 0 KEXEC_ARCH_386 = 196608 |
