ArmSystem.py (8525:5f3fe76e7950) | ArmSystem.py (8870:f95c4042f2d0) |
---|---|
1# Copyright (c) 2009 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 --- 29 unchanged lines hidden (view full) --- 38from m5.params import * 39 40from System import System 41 42class ArmMachineType(Enum): 43 map = {'RealView_EB' : 827, 44 'RealView_PBX' : 1901, 45 'VExpress_ELT' : 2272, | 1# Copyright (c) 2009 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 --- 29 unchanged lines hidden (view full) --- 38from m5.params import * 39 40from System import System 41 42class ArmMachineType(Enum): 43 map = {'RealView_EB' : 827, 44 'RealView_PBX' : 1901, 45 'VExpress_ELT' : 2272, |
46 'VExpress_CA9' : 2272} | 46 'VExpress_CA9' : 2272, 47 'VExpress_EMM' : 2272} |
47 48class ArmSystem(System): 49 type = 'ArmSystem' 50 load_addr_mask = 0xffffffff 51 # 0x35 Implementor is '5' from "M5" 52 # 0x0 Variant 53 # 0xf Architecture from CPUID scheme 54 # 0xc00 Primary part number ("c" or higher implies ARM v7) --- 5 unchanged lines hidden (view full) --- 60 gic_cpu_addr = Param.Addr(0, "Addres of the GIC CPU interface") 61 flags_addr = Param.Addr(0, "Address of the flags register for MP booting") 62 63class LinuxArmSystem(ArmSystem): 64 type = 'LinuxArmSystem' 65 load_addr_mask = 0x0fffffff 66 machine_type = Param.ArmMachineType('RealView_PBX', 67 "Machine id from http://www.arm.linux.org.uk/developer/machines/") | 48 49class ArmSystem(System): 50 type = 'ArmSystem' 51 load_addr_mask = 0xffffffff 52 # 0x35 Implementor is '5' from "M5" 53 # 0x0 Variant 54 # 0xf Architecture from CPUID scheme 55 # 0xc00 Primary part number ("c" or higher implies ARM v7) --- 5 unchanged lines hidden (view full) --- 61 gic_cpu_addr = Param.Addr(0, "Addres of the GIC CPU interface") 62 flags_addr = Param.Addr(0, "Address of the flags register for MP booting") 63 64class LinuxArmSystem(ArmSystem): 65 type = 'LinuxArmSystem' 66 load_addr_mask = 0x0fffffff 67 machine_type = Param.ArmMachineType('RealView_PBX', 68 "Machine id from http://www.arm.linux.org.uk/developer/machines/") |
69 atags_addr = Param.Addr(0x100, "Address where default atags structure should be written") |
|
68 69 | 70 71 |