Only add "cpu PC <opensbi_base>" if opensbi is present
This commit is contained in:
parent
a12703b4ee
commit
8d33dc364f
|
@ -889,8 +889,9 @@ showAnalyzer sysbus.uart Antmicro.Renode.Analyzers.LoggingUartAnalyzer
|
|||
sysbus LoadBinary @{} {}
|
||||
""".format(args.bios_binary, hex(opensbi_base))
|
||||
|
||||
for cpu_id in range(0, number_of_cores):
|
||||
result += f"cpu{cpu_id} PC {hex(opensbi_base)}\n"
|
||||
if opensbi_base:
|
||||
for cpu_id in range(0, number_of_cores):
|
||||
result += f"cpu{cpu_id} PC {hex(opensbi_base)}\n"
|
||||
|
||||
if args.tftp_ip:
|
||||
result += """
|
||||
|
|
Loading…
Reference in New Issue