RealView.py (13880:856d3436a90d) | RealView.py (13996:8a567118e670) |
---|---|
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 --- 1070 unchanged lines hidden (view full) --- 1079 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(dist_addr=0x2c000000, redist_addr=0x2c010000, | 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 --- 1070 unchanged lines hidden (view full) --- 1079 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(dist_addr=0x2c000000, redist_addr=0x2c010000, |
1087 maint_int=ArmPPI(num=25)) | 1087 maint_int=ArmPPI(num=25), 1088 its=Gicv3Its(pio_addr=0x2c120000)) |
1088 1089 # Limiting to 128 since it will otherwise overlap with PCI space 1090 gic.cpu_max = 128 1091 1092 def _on_chip_devices(self): 1093 return super(VExpress_GEM5_V2_Base,self)._on_chip_devices() + [ | 1089 1090 # Limiting to 128 since it will otherwise overlap with PCI space 1091 gic.cpu_max = 128 1092 1093 def _on_chip_devices(self): 1094 return super(VExpress_GEM5_V2_Base,self)._on_chip_devices() + [ |
1094 self.gic, | 1095 self.gic, self.gic.its |
1095 ] 1096 1097 def setupBootLoader(self, mem_bus, cur_sys, loc): 1098 cur_sys.boot_loader = [ loc('boot_emm_v2.arm64') ] 1099 super(VExpress_GEM5_V2_Base,self).setupBootLoader(mem_bus, 1100 cur_sys, loc) 1101 1102class VExpress_GEM5_V2(VExpress_GEM5_V2_Base): 1103 hdlcd = HDLcd(pxl_clk=VExpress_GEM5_V2_Base.dcc.osc_pxl, 1104 pio_addr=0x2b000000, int_num=95) 1105 1106 def _on_chip_devices(self): 1107 return super(VExpress_GEM5_V2,self)._on_chip_devices() + [ 1108 self.hdlcd, 1109 ] | 1096 ] 1097 1098 def setupBootLoader(self, mem_bus, cur_sys, loc): 1099 cur_sys.boot_loader = [ loc('boot_emm_v2.arm64') ] 1100 super(VExpress_GEM5_V2_Base,self).setupBootLoader(mem_bus, 1101 cur_sys, loc) 1102 1103class VExpress_GEM5_V2(VExpress_GEM5_V2_Base): 1104 hdlcd = HDLcd(pxl_clk=VExpress_GEM5_V2_Base.dcc.osc_pxl, 1105 pio_addr=0x2b000000, int_num=95) 1106 1107 def _on_chip_devices(self): 1108 return super(VExpress_GEM5_V2,self)._on_chip_devices() + [ 1109 self.hdlcd, 1110 ] |