amd/registers: scripts for processing register descriptions in JSON
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 6 May 2019 08:31:19 +0000 (10:31 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 4 Jun 2019 00:05:20 +0000 (20:05 -0400)
commite6184b089240b76942650e847b8a4879821caaa6
tree24669f30d91f287b96e1532ad6e3e5b3b6eaf4eb
parentd4e70be7396b5330fca5b5ece2327a3e1c42b6e7
amd/registers: scripts for processing register descriptions in JSON

We will derive both the debugging tables and (the majority of) the
register headers from descriptions in JSON, instead of deriving the
debugging tables from an awkward parsing of the register headers.

Some of the scripts are useful for maintaining the register database
itself. The scripts are designed to output reasonably readable JSON
by default.
src/amd/registers/canonicalize.py [new file with mode: 0644]
src/amd/registers/makeregheader.py [new file with mode: 0644]
src/amd/registers/mergedbs.py [new file with mode: 0644]
src/amd/registers/parseheader.py [new file with mode: 0644]
src/amd/registers/regdb.py [new file with mode: 0644]