diff options
-rw-r--r-- | configs/common/FSConfig.py | 4 | ||||
-rw-r--r-- | configs/common/Options.py | 2 | ||||
-rw-r--r-- | configs/example/fs.py | 3 |
3 files changed, 7 insertions, 2 deletions
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py index b1d87f26f..c08353a23 100644 --- a/configs/common/FSConfig.py +++ b/configs/common/FSConfig.py @@ -204,7 +204,7 @@ def makeSparcSystem(mem_mode, mdesc=None, cmdline=None): 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 @@ def makeArmSystem(mem_mode, machine_type, num_cpus=1, mdesc=None, " 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 052c6a8d3..ea7c75bb7 100644 --- a/configs/common/Options.py +++ b/configs/common/Options.py @@ -338,6 +338,8 @@ def addFSOptions(parser): 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 36365afa1..65079372c 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -100,7 +100,8 @@ def build_test_system(np): 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: |