Gedare Bloom has submitted this change and it was merged. (
https://gem5-review.googlesource.com/3264 )
Change subject: configs, arm: add option to enable security extensions
......................................................................
configs, arm: add option to enable security extensions
Change-Id: I0c839bb649a5d2d73080b7e718da3c9b5839cf8c
Signed-off-by: Gedare Bloom <[email protected]>
Reviewed-on: https://gem5-review.googlesource.com/3264
Reviewed-by: Andreas Sandberg <[email protected]>
Reviewed-by: Jason Lowe-Power <[email protected]>
Maintainer: Jason Lowe-Power <[email protected]>
---
M configs/common/FSConfig.py
M configs/common/Options.py
M configs/example/fs.py
3 files changed, 7 insertions(+), 2 deletions(-)
Approvals:
Jason Lowe-Power: Looks good to me, approved; Looks good to me, approved
Andreas Sandberg: Looks good to me, approved
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py
index b1d87f2..c08353a 100644
--- a/configs/common/FSConfig.py
+++ b/configs/common/FSConfig.py
@@ -204,7 +204,7 @@
def makeArmSystem(mem_mode, machine_type, num_cpus=1, mdesc=None,
dtb_filename=None, bare_metal=False, cmdline=None,
- external_memory="", ruby=False):
+ external_memory="", ruby=False, security=False):
assert machine_type
default_dtbs = {
@@ -296,6 +296,8 @@
" the amount of DRAM you've selected. Please try" \
" another platform")
+ self.have_security = security
+
if bare_metal:
# EOT character on UART will end the simulation
self.realview.uart.end_on_eot = True
diff --git a/configs/common/Options.py b/configs/common/Options.py
index 052c6a8..ea7c75b 100644
--- a/configs/common/Options.py
+++ b/configs/common/Options.py
@@ -338,6 +338,8 @@
parser.add_option("--dtb-filename", action="store", type="string",
help="Specifies device tree blob file to use with
device-tree-"\
"enabled kernels")
+ parser.add_option("--enable-security-extensions",
action="store_true",
+ help="Turn on the ARM Security Extensions")
parser.add_option("--enable-context-switch-stats-dump", \
action="store_true", help="Enable stats dump at context "\
"switches and dump tasks file (required for Streamline)")
diff --git a/configs/example/fs.py b/configs/example/fs.py
index 36365af..6507937 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -100,7 +100,8 @@
bare_metal=options.bare_metal,
cmdline=cmdline,
external_memory=options.external_memory_system,
- ruby=options.ruby)
+ ruby=options.ruby,
+
security=options.enable_security_extensions)
if options.enable_context_switch_stats_dump:
test_sys.enable_context_switch_stats_dump = True
else:
--
To view, visit https://gem5-review.googlesource.com/3264
To unsubscribe, visit https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0c839bb649a5d2d73080b7e718da3c9b5839cf8c
Gerrit-Change-Number: 3264
Gerrit-PatchSet: 8
Gerrit-Owner: Gedare Bloom <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Gedare Bloom <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev