def attachOnChipIO(self, bus, bridge=None, dma_ports=[]):
    self.gic.pio = bus.master
    self.l2x0_fake.pio = bus.master
    if bridge:
        bridge.ranges = [AddrRange(self.realview_io.pio_addr, (self.gic.cpu_addr - 1)), AddrRange(self.flash_fake.pio_addr, Addr.max)]
def attachOnChipIO(self, bus, bridge=None, dma_ports=[]):
    self.gic.pio = bus.master
    self.l2x0_fake.pio = bus.master
    if bridge:
        bridge.ranges = [AddrRange(self.realview_io.pio_addr, (self.gic.cpu_addr - 1)), AddrRange(self.flash_fake.pio_addr, Addr.max)]