gem5/mem
Steve Reinhardt e7f442d527 Simple program runs with sendAtomic!
Ignoring returned latency for now.
Refactored loadSections in ObjectFile hierarchy.

base/loader/aout_object.cc:
base/loader/aout_object.hh:
base/loader/ecoff_object.cc:
base/loader/ecoff_object.hh:
base/loader/elf_object.cc:
base/loader/elf_object.hh:
base/loader/object_file.hh:
    Have each section record a pointer to image data.
    This allows us to move common loadSections code into ObjectFile.
base/loader/object_file.cc:
    Have each section record a pointer to image data.
    This allows us to move common loadSections code into ObjectFile.
    Also explicitly load BSS now since we need to allocate the
    translations for it in syscall emulation.
cpu/base.hh:
    Don't need memPort (just pass port in to ExecContext constructor).
cpu/exec_context.cc:
cpu/exec_context.hh:
mem/port.cc:
mem/translating_port.cc:
mem/translating_port.hh:
    Pass syscall emulation Port into constructor instead of
    getting it from BaseCPU.
cpu/simple/cpu.cc:
    Explicitly choose one of three timing models.
    Statically allocate request and packet objects when possible.
    Several more minor bug fixes.
    Works for simple program with SIMPLE_CPU_MEM_IMMEDIATE model now.
    Probably have memory leaks with SIMPLE_CPU_MEM_TIMING (if it works at all).
    Pass syscall emulation Port into constructor instead of
    getting it from BaseCPU.
cpu/simple/cpu.hh:
    Explicitly choose one of three timing models.
    Statically allocate request and packet objects when possible.
    Pass syscall emulation Port into constructor instead of
    getting it from BaseCPU.
mem/physical.cc:
    Set packet result field.

--HG--
extra : convert_revision : 359d0ebe4b4665867f4e26e7394ec0f1d17cfc26
2006-03-02 10:31:48 -05:00
..
bus.hh Rename Port address range functions... like the block size 2006-02-21 12:32:45 -05:00
mem_object.hh Many changes that make the new mem system compile. Now to convert the rest of the tree to use the new mem system. 2006-02-15 14:21:09 -05:00
packet.hh Many changes that make the new mem system compile. Now to convert the rest of the tree to use the new mem system. 2006-02-15 14:21:09 -05:00
page_table.cc Revert PageTable code back to non-asid version. 2006-02-20 20:53:38 -05:00
page_table.hh Revert PageTable code back to non-asid version. 2006-02-20 20:53:38 -05:00
physical.cc Simple program runs with sendAtomic! 2006-03-02 10:31:48 -05:00
physical.hh More progress... run a few instructions now, but die on the second 2006-03-02 01:01:03 -05:00
port.cc Simple program runs with sendAtomic! 2006-03-02 10:31:48 -05:00
port.hh Some more changes for compilation. Since memset is now part of port and not virtual, no need for memory to define them. 2006-02-21 20:04:23 -05:00
request.hh More progress toward compiling... partly by 2006-02-15 17:52:49 -05:00
translating_port.cc Simple program runs with sendAtomic! 2006-03-02 10:31:48 -05:00
translating_port.hh Simple program runs with sendAtomic! 2006-03-02 10:31:48 -05:00