diff options
author | Ali Saidi <Ali.Saidi@arm.com> | 2010-08-23 11:18:40 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@arm.com> | 2010-08-23 11:18:40 -0500 |
commit | bb5377899a2213be2ecaab25fa4858fae81d0a12 (patch) | |
tree | fd8445171c770c6cf7f4869e7d4bca0f0fe79d67 /src/arch/arm/ArmSystem.py | |
parent | 8ed4f0a02cd936f717f5af0c15b64fedddd5af54 (diff) | |
download | gem5-bb5377899a2213be2ecaab25fa4858fae81d0a12.tar.xz |
ARM: Add system for ARM/Linux and bootstrapping
Diffstat (limited to 'src/arch/arm/ArmSystem.py')
-rw-r--r-- | src/arch/arm/ArmSystem.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/arch/arm/ArmSystem.py b/src/arch/arm/ArmSystem.py index a93730867..14eba9f07 100644 --- a/src/arch/arm/ArmSystem.py +++ b/src/arch/arm/ArmSystem.py @@ -1,6 +1,15 @@ # Copyright (c) 2009 ARM Limited # All rights reserved. # +# The license below extends only to copyright in the software and shall +# not be construed as granting a license to any other intellectual +# property including but not limited to intellectual property relating +# to a hardware implementation of the functionality of the software +# licensed hereunder. You may use the software subject to the license +# terms below provided that you ensure that this notice is replicated +# unmodified and in its entirety in all distributions of the software, +# modified or unmodified, in source code or in binary form. +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above copyright @@ -30,7 +39,16 @@ from m5.params import * from System import System +class ArmMachineType(Enum): + map = {'RealView_EB' : 827, + 'RealView_PBX' : 1901 } + class ArmSystem(System): type = 'ArmSystem' load_addr_mask = 0xffffffff +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/") |