diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-01-18 13:03:35 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-01-18 21:02:24 +0100 |
| commit | 132dcea0af0f14166783f0fd4b0df32bfb91f24a (patch) | |
| tree | 7ce03b31268188f9e858e74b3d2adfbe2b773709 /sys/linux | |
| parent | d2f8d5ab46fe67b2f03387be9e6f38ffe5f227ba (diff) | |
pkg/compiler: generate const[0] for flags w/o values
Generate const[0] for flags without values and for flags
with a single value which is 0.
This is the intention in all existing cases (e.g. an enum with types
of something, but there is really only 1 type exists).
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/gen/386.go | 16 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 16 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 22 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 24 | ||||
| -rw-r--r-- | sys/linux/gen/mips64le.go | 20 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 20 |
6 files changed, 59 insertions, 59 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 4db12be90..6f4ec87ac 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -2646,7 +2646,7 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, @@ -12542,7 +12542,7 @@ var structDescs_386 = []*KeyedStruct{ }}}, {Key: StructKey{Name: "kvm_setup_opt_feature"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_feature", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "typ", TypeSize: 8}}, Val: 1}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_vcpu_features_arm64", FldName: "val", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_vcpu_features_arm64", FldName: "val", TypeSize: 8}}}, }}}, {Key: StructKey{Name: "kvm_setup_opt_flags"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_flags", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "typ", TypeSize: 8}}, Val: 3}, @@ -13225,7 +13225,7 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cqe_size", TypeSize: 4, ArgDir: 2}}, Val: 64}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cqe_comp_en", TypeSize: 1, ArgDir: 2}}, Kind: 1, RangeEnd: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_comp_cqe_res_format", FldName: "cqe_comp_res_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}}, }}}, {Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_dv_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, @@ -13328,7 +13328,7 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, @@ -41937,15 +41937,15 @@ var structDescs_386 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "raw_data", TypeSize: 64, ArgDir: 2}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }}}, {Key: StructKey{Name: "v4l2_dv_timings", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings", TypeSize: 132, ArgDir: 1}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 1}}}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_union", Dir: 1}, FldName: "union"}, }}}, {Key: StructKey{Name: "v4l2_dv_timings", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings", TypeSize: 132, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_union", Dir: 2}, FldName: "union"}, }}}, {Key: StructKey{Name: "v4l2_dv_timings_cap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_cap", TypeSize: 144, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_cap_u", Dir: 2}, FldName: "u"}, @@ -72848,4 +72848,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "ec77feb1d3dcbd9e65779f1445480bccfdbffc07" +const revision_386 = "42d30e8f3b8c4fdfe9910fd6ae74492ec5e9b100" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 29a24f526..9ee939357 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -2683,7 +2683,7 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, @@ -12703,7 +12703,7 @@ var structDescs_amd64 = []*KeyedStruct{ }}}, {Key: StructKey{Name: "kvm_setup_opt_feature"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_feature", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "typ", TypeSize: 8}}, Val: 1}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_vcpu_features_arm64", FldName: "val", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_vcpu_features_arm64", FldName: "val", TypeSize: 8}}}, }}}, {Key: StructKey{Name: "kvm_setup_opt_flags"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_flags", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "typ", TypeSize: 8}}, Val: 3}, @@ -13391,7 +13391,7 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cqe_size", TypeSize: 4, ArgDir: 2}}, Val: 64}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cqe_comp_en", TypeSize: 1, ArgDir: 2}}, Kind: 1, RangeEnd: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_comp_cqe_res_format", FldName: "cqe_comp_res_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}}, }}}, {Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_dv_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, @@ -13495,7 +13495,7 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, @@ -42663,15 +42663,15 @@ var structDescs_amd64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "raw_data", TypeSize: 64, ArgDir: 2}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }}}, {Key: StructKey{Name: "v4l2_dv_timings", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings", TypeSize: 132, ArgDir: 1}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 1}}}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_union", Dir: 1}, FldName: "union"}, }}}, {Key: StructKey{Name: "v4l2_dv_timings", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings", TypeSize: 132, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_union", Dir: 2}, FldName: "union"}, }}}, {Key: StructKey{Name: "v4l2_dv_timings_cap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_cap", TypeSize: 144, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_cap_u", Dir: 2}, FldName: "u"}, @@ -73753,4 +73753,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "b1385c2034cc0bcfde8a1cd1e08575f9d1e51071" +const revision_amd64 = "1c236e48879762fd8b99cc37ad8f10be76f5e996" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 07e099d1e..91565f8f0 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -2666,7 +2666,7 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, @@ -12272,12 +12272,12 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aid", TypeSize: 4}}}, }}}, {Key: StructKey{Name: "kvm_irqchip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 520}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}}, &UnionType{Key: StructKey{Name: "kvm_irq_chip"}, FldName: "chip"}, }}}, {Key: StructKey{Name: "kvm_irqchip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 520, ArgDir: 1}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4, ArgDir: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 1}}}, &UnionType{Key: StructKey{Name: "kvm_irq_chip", Dir: 1}, FldName: "chip"}, }}}, @@ -12610,7 +12610,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "exception_payload", TypeSize: 8, ArgDir: 1}}}, }}}, {Key: StructKey{Name: "kvm_vcpu_init"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_vcpu_init", TypeSize: 32}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_vcpu_target", FldName: "target", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_vcpu_target", FldName: "target", TypeSize: 4}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_vcpu_features_arm64", FldName: "feature", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, }}}, @@ -13080,7 +13080,7 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cqe_size", TypeSize: 4, ArgDir: 2}}, Val: 64}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cqe_comp_en", TypeSize: 1, ArgDir: 2}}, Kind: 1, RangeEnd: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_comp_cqe_res_format", FldName: "cqe_comp_res_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, {Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_dv_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ @@ -13184,7 +13184,7 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, @@ -19985,7 +19985,7 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "nlattr_t[const[CTA_EXPECT_FLAGS, int16], flags[conntrack_exp_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CTA_EXPECT_FLAGS, int16], flags[conntrack_exp_flags, int32be]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "conntrack_exp_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "conntrack_exp_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[CTA_EXPECT_FN, int16], string[conntrack_exp_func]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CTA_EXPECT_FN, int16], string[conntrack_exp_func]]", IsVarlen: true}, Fields: []Type{ @@ -41800,15 +41800,15 @@ var structDescs_arm = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "raw_data", TypeSize: 64, ArgDir: 2}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }}}, {Key: StructKey{Name: "v4l2_dv_timings", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings", TypeSize: 132, ArgDir: 1}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 1}}}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_union", Dir: 1}, FldName: "union"}, }}}, {Key: StructKey{Name: "v4l2_dv_timings", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings", TypeSize: 132, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_union", Dir: 2}, FldName: "union"}, }}}, {Key: StructKey{Name: "v4l2_dv_timings_cap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_cap", TypeSize: 144, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_cap_u", Dir: 2}, FldName: "u"}, @@ -72497,4 +72497,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "526885416d71d34566bca7e8b2f804e047d51211" +const revision_arm = "fd273b4bcd9d490359b0a1cd053bc74e181aff01" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index c12991cb0..a985cf256 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -2683,7 +2683,7 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, @@ -12389,12 +12389,12 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aid", TypeSize: 4}}}, }}}, {Key: StructKey{Name: "kvm_irqchip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 520}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}}, &UnionType{Key: StructKey{Name: "kvm_irq_chip"}, FldName: "chip"}, }}}, {Key: StructKey{Name: "kvm_irqchip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 520, ArgDir: 1}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4, ArgDir: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 1}}}, &UnionType{Key: StructKey{Name: "kvm_irq_chip", Dir: 1}, FldName: "chip"}, }}}, @@ -13200,7 +13200,7 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cqe_size", TypeSize: 4, ArgDir: 2}}, Val: 64}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cqe_comp_en", TypeSize: 1, ArgDir: 2}}, Kind: 1, RangeEnd: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_comp_cqe_res_format", FldName: "cqe_comp_res_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}}, }}}, {Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_dv_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, @@ -13304,7 +13304,7 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, @@ -13567,7 +13567,7 @@ var structDescs_arm64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "receiver", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", TypeSize: 8}, ArgFormat: 1}}, Kind: 1, RangeEnd: 1}, }}}, {Key: StructKey{Name: "mptcp_generic_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mptcp_generic_option", IsVarlen: true}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mptcp_sub_types", FldName: "type", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mptcp_sub_types", FldName: "type", TypeSize: 1}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 1}}, Path: []string{"parent"}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 16}, }}}, @@ -42447,15 +42447,15 @@ var structDescs_arm64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "raw_data", TypeSize: 64, ArgDir: 2}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }}}, {Key: StructKey{Name: "v4l2_dv_timings", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings", TypeSize: 132, ArgDir: 1}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 1}}}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_union", Dir: 1}, FldName: "union"}, }}}, {Key: StructKey{Name: "v4l2_dv_timings", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings", TypeSize: 132, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_union", Dir: 2}, FldName: "union"}, }}}, {Key: StructKey{Name: "v4l2_dv_timings_cap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_cap", TypeSize: 144, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_cap_u", Dir: 2}, FldName: "u"}, @@ -57130,7 +57130,7 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, }}, {NR: 117, Name: "ptrace$getregs", CallName: "ptrace", Args: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_getregs", FldName: "req", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_getregs", FldName: "req", TypeSize: 8}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -57182,7 +57182,7 @@ var syscalls_arm64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_options", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1048576, 8, 16, 64, 2, 1, 4, 32}, BitMask: true}, }}, {NR: 117, Name: "ptrace$setregs", CallName: "ptrace", Args: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_setregs", FldName: "req", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_setregs", FldName: "req", TypeSize: 8}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, @@ -73098,4 +73098,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "dc1820e508ddffb82516c6b54564f74f57770860" +const revision_arm64 = "f48212c9629650b56d4214d5a336aa9fe16e9337" diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go index 6f61fbc89..5df807ae3 100644 --- a/sys/linux/gen/mips64le.go +++ b/sys/linux/gen/mips64le.go @@ -2680,7 +2680,7 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, @@ -5212,7 +5212,7 @@ var structDescs_mips64le = []*KeyedStruct{ &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}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_colorspace", FldName: "colorspace", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_colorspace", FldName: "colorspace", TypeSize: 4}}}, &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{ @@ -12386,12 +12386,12 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aid", TypeSize: 4}}}, }}}, {Key: StructKey{Name: "kvm_irqchip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 520}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}}, &UnionType{Key: StructKey{Name: "kvm_irq_chip"}, FldName: "chip"}, }}}, {Key: StructKey{Name: "kvm_irqchip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 520, ArgDir: 1}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4, ArgDir: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 1}}}, &UnionType{Key: StructKey{Name: "kvm_irq_chip", Dir: 1}, FldName: "chip"}, }}}, @@ -12552,7 +12552,7 @@ var structDescs_mips64le = []*KeyedStruct{ }}}, {Key: StructKey{Name: "kvm_setup_opt_feature"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_feature", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "typ", TypeSize: 8}}, Val: 1}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_vcpu_features_arm64", FldName: "val", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_vcpu_features_arm64", FldName: "val", TypeSize: 8}}}, }}}, {Key: StructKey{Name: "kvm_setup_opt_flags"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_flags", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "typ", TypeSize: 8}}, Val: 3}, @@ -13144,7 +13144,7 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cqe_size", TypeSize: 4, ArgDir: 2}}, Val: 64}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cqe_comp_en", TypeSize: 1, ArgDir: 2}}, Kind: 1, RangeEnd: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_comp_cqe_res_format", FldName: "cqe_comp_res_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}}, }}}, {Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_dv_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, @@ -13248,7 +13248,7 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, @@ -13511,7 +13511,7 @@ var structDescs_mips64le = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "receiver", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", TypeSize: 8}, ArgFormat: 1}}, Kind: 1, RangeEnd: 1}, }}}, {Key: StructKey{Name: "mptcp_generic_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mptcp_generic_option", IsVarlen: true}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mptcp_sub_types", FldName: "type", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mptcp_sub_types", FldName: "type", TypeSize: 1}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 1}}, Path: []string{"parent"}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 16}, }}}, @@ -20501,7 +20501,7 @@ var structDescs_mips64le = []*KeyedStruct{ {Key: StructKey{Name: "nlattr_t[const[CTA_EXPECT_FLAGS, int16], flags[conntrack_exp_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CTA_EXPECT_FLAGS, int16], flags[conntrack_exp_flags, int32be]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "conntrack_exp_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "conntrack_exp_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[CTA_EXPECT_FN, int16], string[conntrack_exp_func]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CTA_EXPECT_FN, int16], string[conntrack_exp_func]]", IsVarlen: true}, Fields: []Type{ @@ -70721,4 +70721,4 @@ var consts_mips64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_mips64le = "efdf986a8a3d197d1890c19138e06a837eda3bc6" +const revision_mips64le = "70a9e0b32307019588436fd8241c919850471176" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index ca79b95d4..ce4fd9784 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -2682,7 +2682,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, @@ -12388,12 +12388,12 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aid", TypeSize: 4}}}, }}}, {Key: StructKey{Name: "kvm_irqchip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 520}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4}}}, &UnionType{Key: StructKey{Name: "kvm_irq_chip"}, FldName: "chip"}, }}}, {Key: StructKey{Name: "kvm_irqchip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_irqchip", TypeSize: 520, ArgDir: 1}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_chip_id", FldName: "chipid", TypeSize: 4, ArgDir: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 1}}}, &UnionType{Key: StructKey{Name: "kvm_irq_chip", Dir: 1}, FldName: "chip"}, }}}, @@ -12554,7 +12554,7 @@ var structDescs_ppc64le = []*KeyedStruct{ }}}, {Key: StructKey{Name: "kvm_setup_opt_feature"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_feature", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "typ", TypeSize: 8}}, Val: 1}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_vcpu_features_arm64", FldName: "val", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_vcpu_features_arm64", FldName: "val", TypeSize: 8}}}, }}}, {Key: StructKey{Name: "kvm_setup_opt_flags"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_flags", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "typ", TypeSize: 8}}, Val: 3}, @@ -13146,7 +13146,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cqe_size", TypeSize: 4, ArgDir: 2}}, Val: 64}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cqe_comp_en", TypeSize: 1, ArgDir: 2}}, Kind: 1, RangeEnd: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_comp_cqe_res_format", FldName: "cqe_comp_res_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}}, }}}, {Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_dv_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, @@ -13250,7 +13250,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, @@ -42336,15 +42336,15 @@ var structDescs_ppc64le = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "raw_data", TypeSize: 64, ArgDir: 2}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }}}, {Key: StructKey{Name: "v4l2_dv_timings", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings", TypeSize: 132, ArgDir: 1}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 1}}}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_union", Dir: 1}, FldName: "union"}, }}}, {Key: StructKey{Name: "v4l2_dv_timings", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings", TypeSize: 132, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_union", Dir: 2}, FldName: "union"}, }}}, {Key: StructKey{Name: "v4l2_dv_timings_cap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_cap", TypeSize: 144, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "v4l2_dv_timings_type", FldName: "type", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 4, ArgDir: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 8, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, &UnionType{Key: StructKey{Name: "v4l2_dv_timings_cap_u", Dir: 2}, FldName: "u"}, @@ -73057,4 +73057,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "aa8b4f9e6fa5dcf7d163cd95bf18412a6edf7a12" +const revision_ppc64le = "6eff9193ef6a0b4d293ea70a9795de53c2efc74a" |
