From 74c4c84482b9659805ef3d796fba81815e70ed28 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Sat, 15 Oct 2016 00:16:25 +0100 Subject: intel: aubinator: load fields values from xml data Signed-off-by: Lionel Landwerlin Reviewed-by: Sirisha Gandikota --- src/intel/tools/decoder.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/intel/tools/decoder.h') diff --git a/src/intel/tools/decoder.h b/src/intel/tools/decoder.h index 9a677beab50..ecc9ff116b7 100644 --- a/src/intel/tools/decoder.h +++ b/src/intel/tools/decoder.h @@ -99,6 +99,15 @@ struct gen_field { struct gen_type type; bool has_default; uint32_t default_value; + + struct gen_value **values; + uint32_t n_values; + uint32_t n_allocated_values; +}; + +struct gen_value { + char *name; + uint64_t value; }; void gen_field_iterator_init(struct gen_field_iterator *iter, -- cgit v1.2.3