RealView.py (11421:74c1e6513bd0) RealView.py (11595:5c6e658fd90c)
1# Copyright (c) 2009-2015 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

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

754 # Three memory regions are specified totalling 512GB
755 _mem_regions = [(Addr('2GB'), Addr('2GB')), (Addr('34GB'), Addr('30GB')),
756 (Addr('512GB'), Addr('480GB'))]
757 pci_host = GenericPciHost(
758 conf_base=0x30000000, conf_size='256MB', conf_device_bits=12,
759 pci_pio_base=0x2f000000)
760
761 def setupBootLoader(self, mem_bus, cur_sys, loc):
1# Copyright (c) 2009-2015 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

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

754 # Three memory regions are specified totalling 512GB
755 _mem_regions = [(Addr('2GB'), Addr('2GB')), (Addr('34GB'), Addr('30GB')),
756 (Addr('512GB'), Addr('480GB'))]
757 pci_host = GenericPciHost(
758 conf_base=0x30000000, conf_size='256MB', conf_device_bits=12,
759 pci_pio_base=0x2f000000)
760
761 def setupBootLoader(self, mem_bus, cur_sys, loc):
762 self.nvmem = SimpleMemory(range = AddrRange(0, size = '64MB'))
762 self.nvmem = SimpleMemory(range=AddrRange(0, size='64MB'),
763 conf_table_reported=False)
763 self.nvmem.port = mem_bus.master
764 cur_sys.boot_loader = loc('boot_emm.arm64')
765 cur_sys.atags_addr = 0x8000000
766 cur_sys.load_addr_mask = 0xfffffff
767 cur_sys.load_offset = 0x80000000
768
769
770class VExpress_GEM5_V1(RealView):

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

923 ]
924
925 def attachPciDevice(self, device, bus):
926 device.host = self.pci_host
927 device.pio = bus.master
928 device.dma = bus.slave
929
930 def setupBootLoader(self, mem_bus, cur_sys, loc):
764 self.nvmem.port = mem_bus.master
765 cur_sys.boot_loader = loc('boot_emm.arm64')
766 cur_sys.atags_addr = 0x8000000
767 cur_sys.load_addr_mask = 0xfffffff
768 cur_sys.load_offset = 0x80000000
769
770
771class VExpress_GEM5_V1(RealView):

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

924 ]
925
926 def attachPciDevice(self, device, bus):
927 device.host = self.pci_host
928 device.pio = bus.master
929 device.dma = bus.slave
930
931 def setupBootLoader(self, mem_bus, cur_sys, loc):
931 self.nvmem = SimpleMemory(range=AddrRange(0, size='64MB'))
932 self.nvmem = SimpleMemory(range=AddrRange(0, size='64MB'),
933 conf_table_reported=False)
932 self.nvmem.port = mem_bus.master
933 cur_sys.boot_loader = [ loc('boot_emm.arm64'), loc('boot_emm.arm') ]
934 cur_sys.atags_addr = 0x8000000
935 cur_sys.load_addr_mask = 0xfffffff
936 cur_sys.load_offset = 0x80000000
934 self.nvmem.port = mem_bus.master
935 cur_sys.boot_loader = [ loc('boot_emm.arm64'), loc('boot_emm.arm') ]
936 cur_sys.atags_addr = 0x8000000
937 cur_sys.load_addr_mask = 0xfffffff
938 cur_sys.load_offset = 0x80000000