diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2011-05-04 20:38:27 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2011-05-04 20:38:27 -0500 |
commit | 5f73d4ac9741f58fd00ccd03eac92c0c60817658 (patch) | |
tree | e9cf90cd9f490b38090a85e0628ff79d51b971eb /src/dev/arm/RealView.py | |
parent | afd08879d726dbbefa3ff6018088cd6d89b53bbb (diff) | |
download | gem5-5f73d4ac9741f58fd00ccd03eac92c0c60817658.tar.xz |
ARM: Add snoop control unit device.
Diffstat (limited to 'src/dev/arm/RealView.py')
-rw-r--r-- | src/dev/arm/RealView.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py index 8a43c5b8d..dd694cd45 100644 --- a/src/dev/arm/RealView.py +++ b/src/dev/arm/RealView.py @@ -70,6 +70,9 @@ class AmbaDmaDevice(DmaDevice): int_num = Param.UInt32("Interrupt number that connects to GIC") amba_id = Param.UInt32("ID of AMBA device for kernel detection") +class A9SCU(BasicPioDevice): + type = 'A9SCU' + class RealViewCtrl(BasicPioDevice): type = 'RealViewCtrl' proc_id = Param.UInt32(0x0C000000, "Platform ID") @@ -132,6 +135,7 @@ class RealViewPBX(RealView): clcd = Pl111(pio_addr=0x10020000, int_num=55) kmi0 = Pl050(pio_addr=0x10006000, int_num=52) kmi1 = Pl050(pio_addr=0x10007000, int_num=53, is_mouse=True) + a9scu = A9SCU(pio_addr=0x1f000000) cf_ctrl = IdeController(disks=[], pci_func=0, pci_dev=0, pci_bus=0, io_shift = 1, ctrl_offset = 2, Command = 0x1, BAR0 = 0x18000000, BAR0Size = '16B', @@ -162,6 +166,7 @@ class RealViewPBX(RealView): def attachOnChipIO(self, bus): self.gic.pio = bus.port self.l2x0_fake.pio = bus.port + self.a9scu.pio = bus.port # Attach I/O devices to specified bus object. Can't do this # earlier, since the bus object itself is typically defined at the |