gem5/base
Ali Saidi 5936c79ba0 Add a functional port that is used to load the original binaries in FS
SE mode now has a port that goes to whatever toplevel mem object the
CPU sees that does the appropriate translation for syscall emulation

SConscript:
    translating port is a syscall emu only source
arch/alpha/system.cc:
base/loader/object_file.cc:
base/loader/object_file.hh:
    Use the new functional port to write the binaries into memory
cpu/cpu_exec_context.cc:
cpu/cpu_exec_context.hh:
cpu/simple/cpu.cc:
    We aren't always going to be writing straight to memory with syscalls
    support writing to a cache
mem/port.hh:
    Add a simple unidirectional functional port that panics on any incoming requests
mem/translating_port.hh:
    make translating port inherit from the simple port
sim/system.cc:
sim/system.hh:
    Add a functional port that is used to load the original binaries

--HG--
extra : convert_revision : 9096866d0b23e3aceea68394abb76e63c0f8fd8d
2006-03-30 18:06:00 -05:00
..
compression Many files: 2005-06-05 05:16:00 -04:00
loader Add a functional port that is used to load the original binaries in FS 2006-03-30 18:06:00 -05:00
stats better placement of database commits 2005-11-20 18:25:31 -05:00
bitfield.hh Many files: 2005-06-05 05:16:00 -04:00
callback.hh Many files: 2005-06-05 05:16:00 -04:00
chunk_generator.hh SimpleCPU compiles with merge. 2006-03-09 19:21:35 -05:00
circlebuf.cc Many files: 2005-06-05 05:16:00 -04:00
circlebuf.hh Many files: 2005-06-05 05:16:00 -04:00
cprintf.cc Many files: 2005-06-05 05:16:00 -04:00
cprintf.hh Many files: 2005-06-05 05:16:00 -04:00
cprintf_formats.hh Many files: 2005-06-05 05:16:00 -04:00
crc.cc Many files: 2005-06-05 04:21:22 -04:00
crc.hh Many files: 2005-06-05 05:16:00 -04:00
date.cc Many files: 2005-06-05 05:16:00 -04:00
dbl_list.hh Many files: 2005-06-05 05:16:00 -04:00
endian.hh Many files: 2005-06-05 05:16:00 -04:00
fast_alloc.cc Many files: 2005-06-05 05:16:00 -04:00
fast_alloc.hh Build options are set via a build_options file in the 2005-08-30 13:18:54 -04:00
fenv.hh Build options are set via a build_options file in the 2005-08-30 13:18:54 -04:00
fifo_buffer.cc Many files: 2005-06-05 05:16:00 -04:00
fifo_buffer.hh Many files: 2005-06-05 05:16:00 -04:00
hashmap.hh Many files: 2005-06-05 05:16:00 -04:00
hostinfo.cc format string did not match variable size -> stack corruption 2005-09-12 16:09:51 -04:00
hostinfo.hh Many files: 2005-06-05 05:16:00 -04:00
hybrid_pred.cc Many files: 2005-06-05 05:16:00 -04:00
hybrid_pred.hh Many files: 2005-06-05 05:16:00 -04:00
inet.cc Many files: 2005-06-05 05:16:00 -04:00
inet.hh Many files: 2005-06-05 05:16:00 -04:00
inifile.cc Many files: 2005-06-05 05:16:00 -04:00
inifile.hh Many files: 2005-06-05 05:16:00 -04:00
intmath.cc Change base/intmath.{cc,hh} to follow m5 style. 2005-12-23 13:32:31 -05:00
intmath.hh Hand merge. Stuff probably doesn't compile. 2006-03-09 18:35:28 -05:00
kgdb.h Many files: 2005-06-05 04:21:22 -04:00
match.cc Many files: 2005-06-05 05:16:00 -04:00
match.hh Many files: 2005-06-05 05:16:00 -04:00
misc.cc Many files: 2005-06-05 05:16:00 -04:00
misc.hh Many files: 2005-06-05 05:16:00 -04:00
mod_num.hh Many files: 2005-06-05 05:16:00 -04:00
mysql.cc Many files: 2005-06-05 05:16:00 -04:00
mysql.hh fixes for gcc 4.0 2005-09-12 03:01:43 -04:00
output.cc Rework the command line paramters for python output and how 2005-02-11 09:47:41 -05:00
output.hh Rework the command line paramters for python output and how 2005-02-11 09:47:41 -05:00
pollevent.cc Many files: 2005-06-05 05:16:00 -04:00
pollevent.hh fixes for gcc 4.0 2005-09-12 03:01:43 -04:00
predictor.hh Many files: 2005-06-05 05:16:00 -04:00
random.cc Update random come to always have explict min/max 2005-11-11 18:41:45 -05:00
random.hh Update random come to always have explict min/max 2005-11-11 18:41:45 -05:00
range.cc Many files: 2005-06-05 05:16:00 -04:00
range.hh Fix minor doxygen issues. 2005-06-05 08:08:29 -04:00
refcnt.hh Changed Fault from a FaultBase * to a RefCountingPtr, added "new"s where appropriate, and took away the constant examples of each fault which where for comparing to a fault to determine its type. 2006-02-24 01:51:45 -05:00
remote_gdb.cc Changed the floating point register file into a class with appropriate accessor functions. The width of the floating point register to access can be specified, and if not, it will be accessed at its "natural" width. That is, the width of each individual register. Also, the functions which access the bit representation of floating point registers can use the blahblahBits functions now instead of blahblahInt. 2006-03-14 15:55:00 -05:00
remote_gdb.hh Made Addr a global type 2006-02-21 03:38:21 -05:00
res_list.hh Many files: 2005-06-05 05:16:00 -04:00
sat_counter.cc Many files: 2005-06-05 05:16:00 -04:00
sat_counter.hh Many files: 2005-06-05 05:16:00 -04:00
sched_list.hh Replace ad-hoc or locally defined power-of-2 tests 2006-02-08 10:40:43 -05:00
socket.cc fix problems on darwin/*BSD for syscall emulation mode 2006-02-10 14:21:32 -05:00
socket.hh Many files: 2005-06-05 05:16:00 -04:00
statistics.cc Change base/intmath.{cc,hh} to follow m5 style. 2005-12-23 13:32:31 -05:00
statistics.hh Build options are set via a build_options file in the 2005-08-30 13:18:54 -04:00
str.cc Change base/intmath.{cc,hh} to follow m5 style. 2005-12-23 13:32:31 -05:00
str.hh Many files: 2005-06-05 05:16:00 -04:00
time.cc Many files: 2005-06-05 05:16:00 -04:00
time.hh Many files: 2005-06-05 05:16:00 -04:00
timebuf.hh Remove "using namespace std" from global declarations. 2006-03-29 16:05:26 -05:00
trace.cc Many files: 2005-06-05 05:16:00 -04:00
trace.hh Syscall DPRINTF and warning cleanup. 2005-11-10 21:05:31 -05:00
traceflags.py infinitesimal small baby steps toward MIPS actually working 2006-03-15 16:26:40 -05:00
userinfo.cc Many files: 2005-06-05 05:16:00 -04:00
userinfo.hh Many files: 2005-06-05 05:16:00 -04:00