You've already forked amd-register-interface-extractor
mirror of
https://github.com/Dasharo/amd-register-interface-extractor.git
synced 2026-06-13 19:16:18 -07:00
25 lines
998 B
Plaintext
25 lines
998 B
Plaintext
* Maybe use <displayName> more (svd2rust issue?)
|
|
* Check that absolute <addressOffset>s in phase3 are unique; grep '<addressOffset>' phase3_host.svd |sort |uniq -d |wc -l: Stats:
|
|
Rome:
|
|
phase3_host: 4148 are not unique
|
|
phase3_host_ficaa: 5 are not unique
|
|
phase3_smn: 18 are not unique
|
|
Others are unique
|
|
* Maybe also generate CPUID accessors (easy to add)
|
|
Right now, we get:
|
|
ERROR:root:Could not calculate addresses of register ApmInfoEcx: SyntaxError: CPUID_Fn80000007_ECX[_x...].
|
|
since we do not have a scheme to convert from CPUID register numbers and contents to addresses yet
|
|
* Array inference
|
|
<cluster>
|
|
<dim>6</dim>
|
|
<dimIncrement>4</dimIncrement>
|
|
<dimIndex>A,B,C,D,E,Z</dimIndex>
|
|
<name>GPIO_%s_CTRL</name>
|
|
</cluster>
|
|
Compare enum-generating construct:
|
|
<dimArrayIndex>
|
|
<headerEnumName>...</headerEnumName>
|
|
<enumeratedValue><name>X</name><description>foo</description><value>0</value></enumeratedValue>
|
|
<enumeratedValue>...</enumeratedValue>
|
|
</dimArrayIndex>
|