summaryrefslogtreecommitdiff
path: root/src/arch/arm/ArmSystem.py
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2011-05-04 20:38:28 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2011-05-04 20:38:28 -0500
commit42e788885573d2294877c73f83dbf539e4bac10f (patch)
treeb0014c8ed48e9b1b6e07cf008a8379c1aca113a4 /src/arch/arm/ArmSystem.py
parent1b505f529142882fa191f1be23e17ee37b6885c9 (diff)
downloadgem5-42e788885573d2294877c73f83dbf539e4bac10f.tar.xz
ARM: Add support for loading the a bootloader and configuring parameters for it
Diffstat (limited to 'src/arch/arm/ArmSystem.py')
-rw-r--r--src/arch/arm/ArmSystem.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/arm/ArmSystem.py b/src/arch/arm/ArmSystem.py
index 14eba9f07..e23ffd5a0 100644
--- a/src/arch/arm/ArmSystem.py
+++ b/src/arch/arm/ArmSystem.py
@@ -46,9 +46,16 @@ class ArmMachineType(Enum):
class ArmSystem(System):
type = 'ArmSystem'
load_addr_mask = 0xffffffff
+ boot_loader = Param.String("", "File that contains the boot loader code if any")
+ boot_loader_mem = Param.PhysicalMemory(NULL,
+ "Memory object that boot loader is to be loaded into")
+ gic_cpu_addr = Param.Addr(0, "Addres of the GIC CPU interface")
+ flags_addr = Param.Addr(0, "Address of the flags register for MP booting")
class LinuxArmSystem(ArmSystem):
type = 'LinuxArmSystem'
load_addr_mask = 0x0fffffff
machine_type = Param.ArmMachineType('RealView_PBX',
"Machine id from http://www.arm.linux.org.uk/developer/machines/")
+
+