diff options
author | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2018-02-12 15:53:47 +0000 |
---|---|---|
committer | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2018-03-20 21:41:45 +0000 |
commit | 68af229490fc811aebddf68b3e2e09e63a5fa475 (patch) | |
tree | 2a9a9cf0c94c2f490e78b30c2498460e535f3a39 /configs/example | |
parent | fe187de9bd1aa479ab6cd198522bfd118d0d50ec (diff) | |
download | gem5-68af229490fc811aebddf68b3e2e09e63a5fa475.tar.xz |
arch-arm, configs: Treat the bootloader rom as cacheable memory
Prior to this changeset the bootloader rom (instantiated as a
SimpleMemory) in ruby Arm systems was treated as an IO device and it
was fronted by a DMA controller. This changeset moves the bootloader
rom and adds it to the system as another memory with a dedicated
directory controller.
Change-Id: I094fed031cdef7f77a939d94f948d967b349b7e0
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/8741
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'configs/example')
-rw-r--r-- | configs/example/fs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py index 0f87e2b3a..4031fd05e 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -152,8 +152,9 @@ def build_test_system(np): test_sys.kvm_vm = KvmVM() if options.ruby: + bootmem = getattr(test_sys, 'bootmem', None) Ruby.create_system(options, True, test_sys, test_sys.iobus, - test_sys._dma_ports) + test_sys._dma_ports, bootmem) # Create a seperate clock domain for Ruby test_sys.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock, |