diff options
author | Dam Sunwoo <dam.sunwoo@arm.com> | 2014-08-13 06:57:35 -0400 |
---|---|---|
committer | Dam Sunwoo <dam.sunwoo@arm.com> | 2014-08-13 06:57:35 -0400 |
commit | 74a4926fe0a92502ca98ca7656dca478d88eb2f1 (patch) | |
tree | a6a98f34d41aa121fe20f0d57c73da3f4967a79c /src/sim/System.py | |
parent | 41d069ef6a46dddf118a7e480d27e70cc47d029d (diff) | |
download | gem5-74a4926fe0a92502ca98ca7656dca478d88eb2f1.tar.xz |
sim: remove kernel mapping check for baremetal workloads
Baremetal workloads are specified using the "kernel" parameter, but
don't always have the correct address mappings. This patch adds a
boolean flag to the system and bypasses the kernel addr mapping checks
when running in baremetal mode.
Diffstat (limited to 'src/sim/System.py')
-rw-r--r-- | src/sim/System.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sim/System.py b/src/sim/System.py index b8f15c209..630cd2a84 100644 --- a/src/sim/System.py +++ b/src/sim/System.py @@ -84,6 +84,8 @@ class System(MemObject): init_param = Param.UInt64(0, "numerical value to pass into simulator") boot_osflags = Param.String("a", "boot flags to pass to the kernel") kernel = Param.String("", "file that contains the kernel code") + kernel_addr_check = Param.Bool(True, + "whether to address check on kernel (disable for baremetal)") readfile = Param.String("", "file to read startup script from") symbolfile = Param.String("", "file to get the symbols from") load_addr_mask = Param.UInt64(0xffffffffff, |