mirror of
https://github.com/Dasharo/amd-register-interface-extractor.git
synced 2026-06-13 19:16:18 -07:00
Add HOSTLEGACY support.
This commit is contained in:
@@ -81,6 +81,9 @@ phase3_io_ficaa.svd: phase2_result.py phase3.py hexcalculator.py unroller.py rwo
|
||||
phase3_io_abindex.svd: phase2_result.py phase3.py hexcalculator.py unroller.py rwops.py settings.py
|
||||
./phase3.py -a -m IO -d FCH::AB::ABIndex $< > $@.new && mv $@.new $@
|
||||
|
||||
phase3_hostlegacy.svd: phase2_result.py phase3.py hexcalculator.py unroller.py rwops.py settings.py
|
||||
./phase3.py -a -m HOSTLEGACY $< > $@.new && mv $@.new $@
|
||||
|
||||
phase3_msr.svd: phase2_result.py phase3.py hexcalculator.py unroller.py rwops.py settings.py
|
||||
./phase3.py -m MSR $< > $@.new && mv $@.new $@
|
||||
|
||||
|
||||
@@ -107,8 +107,10 @@ elif selected_access_method == "SMN":
|
||||
memory_map = []
|
||||
elif selected_access_method == "SMNCCD":
|
||||
_, memory_map = getattr(phase2_result, "Memory_Map___SMNCCD_Physical_Mnemonic_Namespace", ("", []))
|
||||
elif selected_access_method == "IO":
|
||||
memory_map = [] # TODO: fake all the IO things
|
||||
elif selected_access_method == "IO" or selected_access_method == "HOSTLEGACY":
|
||||
memory_map = [] # TODO: hard-code all the IO namespaces
|
||||
elif selected_access_method == "HOSTLEGACY":
|
||||
memory_map = []
|
||||
|
||||
assert memory_map is not None, "Memory map for access_method={!r}, data_port_write={!r}".format(selected_access_method, selected_data_port_write)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user