System.py (12262:a58c0c323e4f) System.py (12272:bcc67ee98e6d)
1# Copyright (c) 2017 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license
9# terms below provided that you ensure that this notice is replicated
10# unmodified and in its entirety in all distributions of the software,
11# modified or unmodified, in source code or in binary form.
12#
1# Copyright (c) 2005-2007 The Regents of The University of Michigan
2# Copyright (c) 2011 Regents of the University of California
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 82 unchanged lines hidden (view full) ---

91 init_param = Param.UInt64(0, "numerical value to pass into simulator")
92 boot_osflags = Param.String("a", "boot flags to pass to the kernel")
93 kernel = Param.String("", "file that contains the kernel code")
94 kernel_addr_check = Param.Bool(True,
95 "whether to address check on kernel (disable for baremetal)")
96 kernel_extras = VectorParam.String([],"Additional object files to load")
97 readfile = Param.String("", "file to read startup script from")
98 symbolfile = Param.String("", "file to get the symbols from")
13# Copyright (c) 2005-2007 The Regents of The University of Michigan
14# Copyright (c) 2011 Regents of the University of California
15# All rights reserved.
16#
17# Redistribution and use in source and binary forms, with or without
18# modification, are permitted provided that the following conditions are
19# met: redistributions of source code must retain the above copyright
20# notice, this list of conditions and the following disclaimer;

--- 82 unchanged lines hidden (view full) ---

103 init_param = Param.UInt64(0, "numerical value to pass into simulator")
104 boot_osflags = Param.String("a", "boot flags to pass to the kernel")
105 kernel = Param.String("", "file that contains the kernel code")
106 kernel_addr_check = Param.Bool(True,
107 "whether to address check on kernel (disable for baremetal)")
108 kernel_extras = VectorParam.String([],"Additional object files to load")
109 readfile = Param.String("", "file to read startup script from")
110 symbolfile = Param.String("", "file to get the symbols from")
99 load_addr_mask = Param.UInt64(0xffffffffff,
100 "Address to mask loading binaries with")
111 load_addr_mask = Param.UInt64(0xffffffffffffffff,
112 "Address to mask loading binaries with, if 0, system "
113 "auto-calculates the mask to be the most restrictive, "
114 "otherwise it obeys a custom mask.")
101 load_offset = Param.UInt64(0, "Address to offset loading binaries with")
102
103 multi_thread = Param.Bool(False,
104 "Supports multi-threaded CPUs? Impacts Thread/Context IDs")
105
106 # Dynamic voltage and frequency handler for the system, disabled by default
107 # Provide list of domains that need to be controlled by the handler
108 dvfs_handler = DVFSHandler()
109
110 if buildEnv['USE_KVM']:
111 kvm_vm = Param.KvmVM(NULL, 'KVM VM (i.e., shared memory domain)')
115 load_offset = Param.UInt64(0, "Address to offset loading binaries with")
116
117 multi_thread = Param.Bool(False,
118 "Supports multi-threaded CPUs? Impacts Thread/Context IDs")
119
120 # Dynamic voltage and frequency handler for the system, disabled by default
121 # Provide list of domains that need to be controlled by the handler
122 dvfs_handler = DVFSHandler()
123
124 if buildEnv['USE_KVM']:
125 kvm_vm = Param.KvmVM(NULL, 'KVM VM (i.e., shared memory domain)')