intel: decoder: build sorted linked lists of fields
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 2 Aug 2017 18:31:08 +0000 (19:31 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 1 Nov 2017 13:19:20 +0000 (13:19 +0000)
commit3ae5c579169a62ee11be23d1587792a45747b77f
tree0fac5fd8a01074f60ffac5575683503d0ad53f3f
parent957a6eea7a674205c9990de1a682a19a94f9b7f2
intel: decoder: build sorted linked lists of fields

The xml files don't always have fields in order. This might confuse
our parsing of the commands. Let's have the fields in order. To do
this, the easiest way it to use a linked list. It also helps a bit
with the iterator.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Scott D Phillips <scott.d.phillips@intel.com>
src/intel/common/gen_decoder.c
src/intel/common/gen_decoder.h