856c856
< class VExpress_GEM5_V1_Base(RealView):
---
> class VExpress_GEM5_Base(RealView):
970,977d969
< gic = kvm_gicv2_class(dist_addr=0x2c001000, cpu_addr=0x2c002000,
< it_lines=512)
< vgic = VGic(vcpu_addr=0x2c006000, hv_addr=0x2c004000, ppint=25)
< gicv2m = Gicv2m()
< gicv2m.frames = [
< Gicv2mFrame(spi_base=256, spi_len=64, addr=0x2c1c0000),
< ]
<
985d976
< self.gic, self.vgic, self.gicv2m,
1052c1043
< dt = list(super(VExpress_GEM5_V1_Base, self).generateDeviceTree(state))
---
> dt = list(super(VExpress_GEM5_Base, self).generateDeviceTree(state))
1063a1055,1062
> class VExpress_GEM5_V1_Base(VExpress_GEM5_Base):
> gic = kvm_gicv2_class(dist_addr=0x2c001000, cpu_addr=0x2c002000,
> it_lines=512)
> vgic = VGic(vcpu_addr=0x2c006000, hv_addr=0x2c004000, ppint=25)
> gicv2m = Gicv2m()
> gicv2m.frames = [
> Gicv2mFrame(spi_base=256, spi_len=64, addr=0x2c1c0000),
> ]
1064a1064,1068
> def _on_chip_devices(self):
> return super(VExpress_GEM5_V1_Base,self)._on_chip_devices() + [
> self.gic, self.vgic, self.gicv2m,
> ]
>
1072a1077,1098
>
> class VExpress_GEM5_V2_Base(VExpress_GEM5_Base):
> gic = Gicv3()
>
> def _on_chip_devices(self):
> return super(VExpress_GEM5_V2_Base,self)._on_chip_devices() + [
> self.gic,
> ]
>
> def setupBootLoader(self, mem_bus, cur_sys, loc):
> cur_sys.boot_loader = [ loc('boot_emm_v2.arm64') ]
> super(VExpress_GEM5_V2_Base,self).setupBootLoader(mem_bus,
> cur_sys, loc)
>
> class VExpress_GEM5_V2(VExpress_GEM5_V2_Base):
> hdlcd = HDLcd(pxl_clk=VExpress_GEM5_V2_Base.dcc.osc_pxl,
> pio_addr=0x2b000000, int_num=95)
>
> def _on_chip_devices(self):
> return super(VExpress_GEM5_V2,self)._on_chip_devices() + [
> self.hdlcd,
> ]