Move read/writeBlob functions to Port class;

clean up implementation a little.

SConscript:
    Add mem/port.cc
cpu/simple/cpu.cc:
cpu/simple/cpu.hh:
    Move read/writeBlob functions to base Port class.
mem/port.hh:
    Implement read/writeBlob functions.
    No need for them to be virtual since the proxy
    object (now called TranslatingPort) is not a
    subclass of Port.
mem/port.cc:
    Implement read/writeBlob functions.

--HG--
extra : convert_revision : a3660eaa43a7c286aca962f17fa32fbd42bf1fa6
This commit is contained in:
Steve Reinhardt
2006-02-21 11:27:53 -05:00
parent 00be4e8510
commit 8a753f6ae2
5 changed files with 77 additions and 62 deletions

View File

@@ -93,6 +93,7 @@ base_sources = Split('''
mem/memory.cc
mem/page_table.cc
mem/physical.cc
mem/port.cc
mem/translating_port.cc
python/pyconfig.cc