summaryrefslogtreecommitdiff
path: root/mem
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2006-01-31 14:39:41 -0500
committerRon Dreslinski <rdreslin@umich.edu>2006-01-31 14:39:41 -0500
commit2f644efafaa6df54f4e9b8f2710aa6f3647b6940 (patch)
tree211de75061ebca25d6552bb7ee3d3e3131b97cb9 /mem
parentfccd113e2f628e829e83dfab9288b8967a9bd539 (diff)
downloadgem5-2f644efafaa6df54f4e9b8f2710aa6f3647b6940.tar.xz
Fixed some void functions with returns, first stab at cpu ports.
cpu/simple/cpu.hh: Adding port definitions to simple cpu, still needs work. mem/bus.hh: no return for void functions --HG-- extra : convert_revision : 42e5bc16af187d3a46eb25a15b600a8a11b88cc5
Diffstat (limited to 'mem')
-rw-r--r--mem/bus.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mem/bus.hh b/mem/bus.hh
index 0fd450c4f..e1b29bac6 100644
--- a/mem/bus.hh
+++ b/mem/bus.hh
@@ -92,7 +92,7 @@ class Bus : public MemObject
/** When reciving a Functional requestfrom the peer port (at id),
pass it to the bus. */
virtual void recvFunctional(Packet &pkt)
- { return bus->recvFunctional(pkt, id); }
+ { bus->recvFunctional(pkt, id); }
/** When reciving a status changefrom the peer port (at id),
pass it to the bus. */