offset + 4 * dword, iter->p[dword], dword);
}
-static bool
-is_header_field(struct gen_group *group, struct gen_field *field)
+bool
+gen_group_header_is_header(struct gen_group *group, struct gen_field *field)
{
uint32_t bits;
print_dword_header(outfile, &iter, offset, i);
last_dword = iter.dword;
}
- if (!is_header_field(group, iter.field)) {
+ if (!gen_group_header_is_header(group, iter.field)) {
fprintf(outfile, " %s: %s\n", iter.name, iter.value);
if (iter.struct_desc) {
uint64_t struct_offset = offset + 4 * iter.dword;
const char *gen_group_get_name(struct gen_group *group);
uint32_t gen_group_get_opcode(struct gen_group *group);
struct gen_enum *gen_spec_find_enum(struct gen_spec *spec, const char *name);
+bool gen_group_header_is_header(struct gen_group *group, struct gen_field *field);
struct gen_field_iterator {
struct gen_group *group;