More proper handling of the ports.
authorKevin Lim <ktlim@umich.edu>
Thu, 2 Nov 2006 19:58:31 +0000 (14:58 -0500)
committerKevin Lim <ktlim@umich.edu>
Thu, 2 Nov 2006 19:58:31 +0000 (14:58 -0500)
commitdd5e2cd959e61b8af094137f337e999048317ec3
tree76ad1a4fb55e939493ff304bc395699a87b2bab2
parent64f8cd12c6a613205196bbe9dbc0fab98c4ca735
More proper handling of the ports.

src/cpu/simple_thread.cc:
    Fix up port handling to share code.
src/cpu/thread_state.cc:
    Separate code off into a function.
src/cpu/thread_state.hh:
    Make a separate function that will get the CPU's memory's functional port.

--HG--
extra : convert_revision : 96a9bb3c5e4b9ba5511678c0fd17f0017c8cd312
src/cpu/simple_thread.cc
src/cpu/thread_state.cc
src/cpu/thread_state.hh