Review Board 2.0.15


Ruby: Use MasterPort base-class pointers where possible

Review Request #1124 - Created April 4, 2012 and submitted

Information
Andreas Hansson
gem5
default
Reviewers
Default
Ruby: Use MasterPort base-class pointers where possible

This patch simplifies future patches by changing the pointer type used
in a number of the Ruby testers to use MasterPort instead of using a
derived CpuPort class. There is no reason for using the more
specialised pointers, and there is no longer a need to do any casting.

With the latest changes to the tester, organising ports as readers and
writes, things got a bit more complicated, and the "type" now had to
be removed to be able to fall back to using MasterPort rather than
CpuPort.
util/regress all passing (disregarding t1000 and eio)

Issue Summary

1 0 0 1
Description From Last Updated Status
Review request changed
Updated (April 13, 2012, 7:55 p.m.)

Status: Closed (submitted)