diff options
Diffstat (limited to 'sys/openbsd')
| -rw-r--r-- | sys/openbsd/gen/amd64.go | 13 | ||||
| -rw-r--r-- | sys/openbsd/wscons.txt | 1 | ||||
| -rw-r--r-- | sys/openbsd/wscons_amd64.const | 1 |
3 files changed, 14 insertions, 1 deletions
diff --git a/sys/openbsd/gen/amd64.go b/sys/openbsd/gen/amd64.go index d82c59ca1..77554810b 100644 --- a/sys/openbsd/gen/amd64.go +++ b/sys/openbsd/gen/amd64.go @@ -652,6 +652,11 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "screentype", TypeSize: 16}, Kind: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "emul", TypeSize: 16}, Kind: 3}, }}}, + {Key: StructKey{Name: "wsdisplay_burner"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsdisplay_burner", TypeSize: 12}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "off", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "on", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsdisplay_burner_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + }}}, {Key: StructKey{Name: "wsdisplay_burner", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsdisplay_burner", TypeSize: 12, ArgDir: 1}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "off", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "on", TypeSize: 4, ArgDir: 1}}}, @@ -1573,6 +1578,11 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3227014990}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsdisplay_font", Dir: 1}}}, }}, + {NR: 54, Name: "ioctl$WSDISPLAYIO_SBURNER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148292433}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsdisplay_burner"}}}, + }}, {NR: 54, Name: "ioctl$WSDISPLAYIO_SETSCREEN", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147768150}, @@ -2885,6 +2895,7 @@ var consts_amd64 = []ConstValue{ {Name: "WSDISPLAYIO_MODE_DUMBFB", Value: 2}, {Name: "WSDISPLAYIO_MODE_EMUL"}, {Name: "WSDISPLAYIO_MODE_MAPPED", Value: 1}, + {Name: "WSDISPLAYIO_SBURNER", Value: 2148292433}, {Name: "WSDISPLAYIO_SETSCREEN", Value: 2147768150}, {Name: "WSDISPLAYIO_SMODE", Value: 2147768140}, {Name: "WSDISPLAYIO_SVIDEO", Value: 2147768133}, @@ -2970,4 +2981,4 @@ var consts_amd64 = []ConstValue{ {Name: "__MAP_NOREPLACE", Value: 2048}, } -const revision_amd64 = "6255253f9674826c8aeacb80503607f3c81dade2" +const revision_amd64 = "7f4015fe5d4b3777d30d2d5dd379e3de766e0e8e" diff --git a/sys/openbsd/wscons.txt b/sys/openbsd/wscons.txt index 674a5b47e..5df87d21e 100644 --- a/sys/openbsd/wscons.txt +++ b/sys/openbsd/wscons.txt @@ -40,6 +40,7 @@ ioctl$WSDISPLAYIO_GMODE(fd fd_wsdisplay, cmd const[WSDISPLAYIO_GMODE], arg ptr[o ioctl$WSDISPLAYIO_GVIDEO(fd fd_wsdisplay, cmd const[WSDISPLAYIO_GVIDEO], arg ptr[out, int32]) ioctl$WSDISPLAYIO_LDFONT(fd fd_wsdisplay, cmd const[WSDISPLAYIO_LDFONT], arg ptr[in, wsdisplay_font]) ioctl$WSDISPLAYIO_LSFONT(fd fd_wsdisplay, cmd const[WSDISPLAYIO_LSFONT], arg ptr[out, wsdisplay_font]) +ioctl$WSDISPLAYIO_SBURNER(fd fd_wsdisplay, cmd const[WSDISPLAYIO_SBURNER], arg ptr[in, wsdisplay_burner]) ioctl$WSDISPLAYIO_SETSCREEN(fd fd_wsdisplay, cmd const[WSDISPLAYIO_SETSCREEN], arg ptr[in, int32]) ioctl$WSDISPLAYIO_SMODE(fd fd_wsdisplay, cmd const[WSDISPLAYIO_SMODE], arg ptr[in, wsdisplay_mode]) ioctl$WSDISPLAYIO_SVIDEO(fd fd_wsdisplay, cmd const[WSDISPLAYIO_SVIDEO], arg ptr[in, wsdisplay_svideo]) diff --git a/sys/openbsd/wscons_amd64.const b/sys/openbsd/wscons_amd64.const index 5110bb504..b390b088c 100644 --- a/sys/openbsd/wscons_amd64.const +++ b/sys/openbsd/wscons_amd64.const @@ -44,6 +44,7 @@ WSDISPLAYIO_LSFONT = 3227014990 WSDISPLAYIO_MODE_DUMBFB = 2 WSDISPLAYIO_MODE_EMUL = 0 WSDISPLAYIO_MODE_MAPPED = 1 +WSDISPLAYIO_SBURNER = 2148292433 WSDISPLAYIO_SETSCREEN = 2147768150 WSDISPLAYIO_SMODE = 2147768140 WSDISPLAYIO_SVIDEO = 2147768133 |
