ArmSystem.py (8997:f07639e4b676) ArmSystem.py (9050:ed4378739b6e)
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

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

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)
56 # 0x0 Revision
57 midr_regval = Param.UInt32(0x350fc000, "MIDR value")
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

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

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)
56 # 0x0 Revision
57 midr_regval = Param.UInt32(0x350fc000, "MIDR value")
58 multi_proc = Param.Bool(True, "Multiprocessor system?")
58 boot_loader = Param.String("", "File that contains the boot loader code if any")
59 gic_cpu_addr = Param.Addr(0, "Addres of the GIC CPU interface")
60 flags_addr = Param.Addr(0, "Address of the flags register for MP booting")
61
62class LinuxArmSystem(ArmSystem):
63 type = 'LinuxArmSystem'
64 load_addr_mask = 0x0fffffff
65 machine_type = Param.ArmMachineType('RealView_PBX',
66 "Machine id from http://www.arm.linux.org.uk/developer/machines/")
67 atags_addr = Param.Addr(0x100, "Address where default atags structure should be written")
68 early_kernel_symbols = Param.Bool(False, "enable early kernel symbol tables before MMU")
59 boot_loader = Param.String("", "File that contains the boot loader code if any")
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/")
68 atags_addr = Param.Addr(0x100, "Address where default atags structure should be written")
69 early_kernel_symbols = Param.Bool(False, "enable early kernel symbol tables before MMU")