aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/gen
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-08-10 18:44:31 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-08-10 18:44:31 +0200
commit1be453f07bb52417650d9d617d41a834ecf1a0ab (patch)
tree6e418821c70297ba425205938cdcab02a4e7425e /sys/linux/gen
parent44944d8c80f3d6ed10d9e19a6aec586b54d4995c (diff)
sys/linux: fix invalid cdrom description
Diffstat (limited to 'sys/linux/gen')
-rw-r--r--sys/linux/gen/386.go5
-rw-r--r--sys/linux/gen/amd64.go5
-rw-r--r--sys/linux/gen/arm.go5
-rw-r--r--sys/linux/gen/arm64.go5
-rw-r--r--sys/linux/gen/ppc64le.go5
5 files changed, 15 insertions, 10 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index 82bb7aa81..99fdb5081 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -1196,7 +1196,7 @@ var structDescs_386 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cdrom_format", FldName: "addr_format", TypeSize: 1}}, Vals: []uint64{2, 1}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "nframes", TypeSize: 4}}, BitSize: 8, Buf: "buf"},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Kind: 1, RangeBegin: 1, RangeEnd: 75}},
}}},
{Key: StructKey{Name: "cdrom_subchnl", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cdrom_subchnl", TypeSize: 16, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cdrom_format", FldName: "cdsc_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{2, 1}, BitMask: true},
@@ -33654,6 +33654,7 @@ var consts_386 = []ConstValue{
{Name: "CDROM_SELECT_SPEED", Value: 21282},
{Name: "CDROM_SEND_PACKET", Value: 21395},
{Name: "CDROM_SET_OPTIONS", Value: 21280},
+ {Name: "CD_FRAMES", Value: 75},
{Name: "CD_FRAMESIZE_RAWER", Value: 2646},
{Name: "CGC_DATA_NONE", Value: 3},
{Name: "CGC_DATA_READ", Value: 2},
@@ -39513,4 +39514,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "c026c82f557e0fb27209b060f233071e8ba38eab"
+const revision_386 = "b26fcee92ef41b52573692eff1d9659ea4227d8a"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index c2747f266..42713dcde 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -1206,7 +1206,7 @@ var structDescs_amd64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "nframes", TypeSize: 4}}, BitSize: 8, Buf: "buf"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Kind: 1, RangeBegin: 1, RangeEnd: 75}},
}}},
{Key: StructKey{Name: "cdrom_subchnl", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cdrom_subchnl", TypeSize: 16, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cdrom_format", FldName: "cdsc_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{2, 1}, BitMask: true},
@@ -34316,6 +34316,7 @@ var consts_amd64 = []ConstValue{
{Name: "CDROM_SELECT_SPEED", Value: 21282},
{Name: "CDROM_SEND_PACKET", Value: 21395},
{Name: "CDROM_SET_OPTIONS", Value: 21280},
+ {Name: "CD_FRAMES", Value: 75},
{Name: "CD_FRAMESIZE_RAWER", Value: 2646},
{Name: "CGC_DATA_NONE", Value: 3},
{Name: "CGC_DATA_READ", Value: 2},
@@ -40200,4 +40201,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "c06fc3bdc53ae8ee708128ddd51d14a679aa12f0"
+const revision_amd64 = "0ba80d9ba601ddeb08b4291fd2ea0947f3481935"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 8192e252a..33c79d5b7 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -1201,7 +1201,7 @@ var structDescs_arm = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cdrom_format", FldName: "addr_format", TypeSize: 1}}, Vals: []uint64{2, 1}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "nframes", TypeSize: 4}}, BitSize: 8, Buf: "buf"},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Kind: 1, RangeBegin: 1, RangeEnd: 75}},
}}},
{Key: StructKey{Name: "cdrom_subchnl", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cdrom_subchnl", TypeSize: 16, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cdrom_format", FldName: "cdsc_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{2, 1}, BitMask: true},
@@ -33562,6 +33562,7 @@ var consts_arm = []ConstValue{
{Name: "CDROM_SELECT_SPEED", Value: 21282},
{Name: "CDROM_SEND_PACKET", Value: 21395},
{Name: "CDROM_SET_OPTIONS", Value: 21280},
+ {Name: "CD_FRAMES", Value: 75},
{Name: "CD_FRAMESIZE_RAWER", Value: 2646},
{Name: "CGC_DATA_NONE", Value: 3},
{Name: "CGC_DATA_READ", Value: 2},
@@ -39371,4 +39372,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "b4f6cbe7c414a45bfaf3dcccf7f1040502de3980"
+const revision_arm = "1c1202d4c55abb8f20332853410053d44b041249"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index d783efc8b..264d433c7 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -1206,7 +1206,7 @@ var structDescs_arm64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "nframes", TypeSize: 4}}, BitSize: 8, Buf: "buf"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Kind: 1, RangeBegin: 1, RangeEnd: 75}},
}}},
{Key: StructKey{Name: "cdrom_subchnl", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cdrom_subchnl", TypeSize: 16, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cdrom_format", FldName: "cdsc_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{2, 1}, BitMask: true},
@@ -33766,6 +33766,7 @@ var consts_arm64 = []ConstValue{
{Name: "CDROM_SELECT_SPEED", Value: 21282},
{Name: "CDROM_SEND_PACKET", Value: 21395},
{Name: "CDROM_SET_OPTIONS", Value: 21280},
+ {Name: "CD_FRAMES", Value: 75},
{Name: "CD_FRAMESIZE_RAWER", Value: 2646},
{Name: "CGC_DATA_NONE", Value: 3},
{Name: "CGC_DATA_READ", Value: 2},
@@ -39565,4 +39566,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "70ff2aa900dc3911170ab814adc6a362bb014580"
+const revision_arm64 = "85bbade39af42c5619bd476cc4aac056eba83f78"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index 8ffa0b43f..c649932ab 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -1197,7 +1197,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "nframes", TypeSize: 4}}, BitSize: 8, Buf: "buf"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Kind: 1, RangeBegin: 1, RangeEnd: 75}},
}}},
{Key: StructKey{Name: "cdrom_subchnl", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cdrom_subchnl", TypeSize: 16, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cdrom_format", FldName: "cdsc_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{2, 1}, BitMask: true},
@@ -32233,6 +32233,7 @@ var consts_ppc64le = []ConstValue{
{Name: "CDROM_SELECT_SPEED", Value: 21282},
{Name: "CDROM_SEND_PACKET", Value: 21395},
{Name: "CDROM_SET_OPTIONS", Value: 21280},
+ {Name: "CD_FRAMES", Value: 75},
{Name: "CD_FRAMESIZE_RAWER", Value: 2646},
{Name: "CGC_DATA_NONE", Value: 3},
{Name: "CGC_DATA_READ", Value: 2},
@@ -36996,4 +36997,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "be0af9fd447e9ac157423f3260f414d60066f653"
+const revision_ppc64le = "1df40f737ea94b5cf2ce66eca4cb47e3ed30c781"