gem5: use --param to automate aarch64 baremetal BS, oh yeah

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-10-28 00:00:00 +00:00
parent 0edf7575cd
commit ceb64ab8e1
3 changed files with 16 additions and 28 deletions

View File

@@ -1,12 +0,0 @@
diff --git a/configs/example/fs.py b/configs/example/fs.py
index 3997ed76c..c3259825d 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -376,5 +376,7 @@ if buildEnv['TARGET_ISA'] == "arm" and options.generate_dtb:
sys = getattr(root, sysname)
sys.dtb_filename = create_dtb_for_system(sys, '%s.dtb' % sysname)
+test_sys.highest_el_is_64 = True
+test_sys.auto_reset_addr_64 = True
Simulation.setWorkCountOptions(test_sys, options)
Simulation.run(options, root, test_sys, FutureClass)