Review Board 2.0.15


cpu: Remove CpuPort and use MasterPort in the CPU classes

Review Request #1767 - Created March 14, 2013 and submitted

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 9586:e053f062246c
---------------------------
cpu: Remove CpuPort and use MasterPort in the CPU classes

This patch changes the port in the CPU classes to use MasterPort
instead of the derived CpuPort. The functions of the CpuPort are now
distributed across the relevant subclasses. The port accessor
functions (getInstPort and getDataPort) now return a MasterPort
instead of a CpuPort. This simplifies creating derivative CPUs that do
not use the CpuPort.
All regressions pass
Review request changed
Updated (March 26, 2013, 4:43 a.m.)

Status: Closed (submitted)