Atomic: Remove the physmem_port and access memory directly
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 3 Apr 2012 07:50:14 +0000 (03:50 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 3 Apr 2012 07:50:14 +0000 (03:50 -0400)
commita8e6adb0b1284e89a63bcb14fe1fdace2b89e0c8
tree18965c93c0c5fad292e4a4db8c181240e1a00054
parenta7859f7e4541f2750df52ec725563d378ab7ddbb
Atomic: Remove the physmem_port and access memory directly

This patch removes the physmem_port from the Atomic CPU and instead
uses the system pointer to access the physmem when using the fastmem
option. The system already keeps track of the physmem and the valid
memory address ranges, and with this patch we merely make use of that
existing functionality. As a result of this change, the overloaded
getMasterPort in the Atomic CPU can be removed, thus unifying the CPUs.
configs/example/fs.py
configs/example/se.py
src/cpu/base.hh
src/cpu/simple/AtomicSimpleCPU.py
src/cpu/simple/atomic.cc
src/cpu/simple/atomic.hh