1# Copyright (c) 2009-2018 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 --- 1071 unchanged lines hidden (view full) --- 1080 def _on_chip_devices(self): 1081 return super(VExpress_GEM5_V1,self)._on_chip_devices() + [ 1082 self.hdlcd, 1083 ] 1084 1085class VExpress_GEM5_V2_Base(VExpress_GEM5_Base): 1086 gic = Gicv3(maint_int=ArmPPI(num=25)) 1087 |
1088 # Limiting to 128 since it will otherwise overlap with PCI space 1089 gic.cpu_max = 128 1090 |
1091 def _on_chip_devices(self): 1092 return super(VExpress_GEM5_V2_Base,self)._on_chip_devices() + [ 1093 self.gic, 1094 ] 1095 1096 def setupBootLoader(self, mem_bus, cur_sys, loc): 1097 cur_sys.boot_loader = [ loc('boot_emm_v2.arm64') ] 1098 super(VExpress_GEM5_V2_Base,self).setupBootLoader(mem_bus, 1099 cur_sys, loc) 1100 1101class VExpress_GEM5_V2(VExpress_GEM5_V2_Base): 1102 hdlcd = HDLcd(pxl_clk=VExpress_GEM5_V2_Base.dcc.osc_pxl, 1103 pio_addr=0x2b000000, int_num=95) 1104 1105 def _on_chip_devices(self): 1106 return super(VExpress_GEM5_V2,self)._on_chip_devices() + [ 1107 self.hdlcd, 1108 ] |