diff options
author | Kenneth Graunke <[email protected]> | 2017-05-19 15:41:31 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-06-01 11:49:46 -0700 |
commit | 12303bd390b24b567505b3af5bd467a0636a2f2a (patch) | |
tree | 794bad54caea89aa1a5fb7f7d05615d2620e3c52 /include/pci_ids | |
parent | 73c21e69d0c132a6d837b40b6a863bdd406085d4 (diff) |
genxml: Fix decoder to print the array element on field members.
Previously we'd print things like:
0xfffbb568: 0x00010000 : Dword 1
ReadLength: 0
ReadLength: 1
0xfffbb568: 0x00000001 : Dword 1
ReadLength: 1
ReadLength: 0
instead of the more obvious:
0xfffbb568: 0x00010000 : Dword 1
ReadLength[0]: 0
ReadLength[1]: 1
0xfffbb568: 0x00000001 : Dword 1
ReadLength[2]: 1
ReadLength[3]: 0
(Yes, the ralloc context here is bogus - the decoder leaks just about
everything. We need to use proper ralloc contexts someday...)
Acked-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'include/pci_ids')
0 files changed, 0 insertions, 0 deletions