gem5/base
Steve Reinhardt 7976794aad Restructuring of LiveProcess etc. to support multiple emulated OS syscall
interfaces, and specific support for Alpha Linux.  Split syscall emulation
functions into several groups, based on whether they depend on the specific
OS and/or architecture (and all combinations of above), including the use of
template functions to support syscalls with slightly different constants
or interface structs.

arch/alpha/alpha_tru64_process.cc:
    Incorporate full Tru64 object definition here, including structure and constant definitions.
    This way we can wrap all of the functions inside the object, and not worry about namespace
    conflicts because no one outside this file will ever see it.
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.cc:
base/loader/object_file.hh:
    Add enums to ObjectFile to indicate the object's architecture and operating system.
cpu/exec_context.cc:
    prog.hh is now process.hh
cpu/exec_context.hh:
    prog.hh is now process.hh
    move architecture-specific syscall arg accessors into ExecContext
cpu/simple_cpu/simple_cpu.cc:
    No need to include prog.hh (which has been renamed)
sim/process.cc:
sim/process.hh:
    LiveProcess is now effectively an abstract base class.
    New LiveProcess::create() function takes an object file and dynamically picks the
    appropriate subclass of LiveProcess to handle the syscall interface that file expects
    (currently Tru64 or Linux).

--HG--
rename : arch/alpha/fake_syscall.cc => arch/alpha/alpha_tru64_process.cc
rename : sim/prog.cc => sim/process.cc
rename : sim/prog.hh => sim/process.hh
extra : convert_revision : 4a03ca7d94a34177cb672931f8aae83a6bad179a
2003-12-01 19:34:38 -08:00
..
compression Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
loader Restructuring of LiveProcess etc. to support multiple emulated OS syscall 2003-12-01 19:34:38 -08:00
bitfield.hh Import changeset 2003-10-07 10:41:54 -04:00
callback.hh Clean up callbacks 2003-10-20 21:38:32 -04:00
circlebuf.cc A little bit of code here and there to get more access to 2003-11-04 17:43:41 -05:00
circlebuf.hh A little bit of code here and there to get more access to 2003-11-04 17:43:41 -05:00
cprintf.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
cprintf.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
cprintf_formats.hh Import changeset 2003-10-07 10:41:54 -04:00
date.cc Import changeset 2003-10-07 10:41:54 -04:00
dbl_list.hh Import changeset 2003-10-07 10:41:54 -04:00
endian.hh Import changeset 2003-10-07 10:41:54 -04:00
fast_alloc.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
fast_alloc.hh Import changeset 2003-10-07 10:41:54 -04:00
fifo_buffer.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
fifo_buffer.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
hashmap.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
hostinfo.cc Merge ehallnor@zizzer:/bk/m5 2003-10-14 13:29:20 -04:00
hostinfo.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
hybrid_pred.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
hybrid_pred.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
inet.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
inet.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
inifile.cc Print a warning rather than failing if we're unserializing and there's an 2003-11-02 21:49:15 -08:00
inifile.hh Print a warning rather than failing if we're unserializing and there's an 2003-11-02 21:49:15 -08:00
intmath.cc Global whitespace fixes 2003-10-15 16:39:37 -04:00
intmath.hh Need to cast to avoid infinite recursion. 2003-10-15 17:36:10 -04:00
kgdb.h Import changeset 2003-10-07 10:41:54 -04:00
misc.cc Make error messages more informative on a non-full-system fault. 2003-11-01 10:59:06 -08:00
misc.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
mod_num.hh Import changeset 2003-10-07 10:41:54 -04:00
pollevent.cc Add support for serialization 2003-10-30 15:15:27 -05:00
pollevent.hh Add support for serialization 2003-10-30 15:15:27 -05:00
predictor.hh Get rid of lots of obsolete mentions of stat_sdb_t. 2003-10-29 22:22:03 -08:00
random.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
random.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
range.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
refcnt.hh Import changeset 2003-10-07 10:41:54 -04:00
remote_gdb.cc Try to get the correct license on various files 2003-10-13 02:00:47 -04:00
remote_gdb.hh Initial support for CPU switching. New SamplingCPU object encompasses a set 2003-10-23 19:07:52 -07:00
res_list.hh Global whitespace fixes 2003-10-15 16:39:37 -04:00
sat_counter.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
sat_counter.hh Get rid of lots of obsolete mentions of stat_sdb_t. 2003-10-29 22:22:03 -08:00
sched_list.hh Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
socket.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
socket.hh Import changeset 2003-10-07 10:41:54 -04:00
statistics.cc It's important that there be white-space between each element 2003-11-07 08:35:55 -05:00
statistics.hh Nat's fix for compile bug 2003-11-06 12:57:06 -05:00
str.cc Make the to_number function work better. 2003-10-31 18:27:17 -05:00
str.hh Import changeset 2003-10-07 10:41:54 -04:00
trace.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
trace.hh Global whitespace fixes 2003-10-15 16:39:37 -04:00