RealView.py (13814:90cdf66cca54) RealView.py (13826:34a9929c35eb)
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

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

1078 pio_addr=0x2b000000, int_num=95)
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):
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

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

1078 pio_addr=0x2b000000, int_num=95)
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()
1086 gic = Gicv3(maint_int=ArmPPI(num=25))
1087
1088 def _on_chip_devices(self):
1089 return super(VExpress_GEM5_V2_Base,self)._on_chip_devices() + [
1090 self.gic,
1091 ]
1092
1093 def setupBootLoader(self, mem_bus, cur_sys, loc):
1094 cur_sys.boot_loader = [ loc('boot_emm_v2.arm64') ]
1095 super(VExpress_GEM5_V2_Base,self).setupBootLoader(mem_bus,
1096 cur_sys, loc)
1097
1098class VExpress_GEM5_V2(VExpress_GEM5_V2_Base):
1099 hdlcd = HDLcd(pxl_clk=VExpress_GEM5_V2_Base.dcc.osc_pxl,
1100 pio_addr=0x2b000000, int_num=95)
1101
1102 def _on_chip_devices(self):
1103 return super(VExpress_GEM5_V2,self)._on_chip_devices() + [
1104 self.hdlcd,
1105 ]
1087
1088 def _on_chip_devices(self):
1089 return super(VExpress_GEM5_V2_Base,self)._on_chip_devices() + [
1090 self.gic,
1091 ]
1092
1093 def setupBootLoader(self, mem_bus, cur_sys, loc):
1094 cur_sys.boot_loader = [ loc('boot_emm_v2.arm64') ]
1095 super(VExpress_GEM5_V2_Base,self).setupBootLoader(mem_bus,
1096 cur_sys, loc)
1097
1098class VExpress_GEM5_V2(VExpress_GEM5_V2_Base):
1099 hdlcd = HDLcd(pxl_clk=VExpress_GEM5_V2_Base.dcc.osc_pxl,
1100 pio_addr=0x2b000000, int_num=95)
1101
1102 def _on_chip_devices(self):
1103 return super(VExpress_GEM5_V2,self)._on_chip_devices() + [
1104 self.hdlcd,
1105 ]