gem5.git
21 years agoGlobal whitespace fixes
Nathan Binkert [Wed, 15 Oct 2003 20:39:37 +0000 (16:39 -0400)]
Global whitespace fixes
Mainly removing whitespace at the end of lines.
This will reduce future diffs/conflicts.
Also adding a space after if, while, and for

This was all accomplished with:
#!/usr/bin/perl -pi~
s/[  ]+$//;           # there is a space and a tab in the brackets
s/if\(/if (/g;
s/for\(/for (/g;
s/while\(/while (/g;

arch/alpha/alpha_memory.cc:
arch/alpha/alpha_memory.hh:
arch/alpha/arguments.hh:
arch/alpha/ev5.cc:
arch/alpha/fake_syscall.cc:
arch/alpha/isa_traits.hh:
arch/alpha/vtophys.cc:
base/cprintf.cc:
base/cprintf.hh:
base/cprintf_formats.hh:
base/dbl_list.hh:
base/fast_alloc.cc:
base/fast_alloc.hh:
base/hybrid_pred.cc:
base/hybrid_pred.hh:
base/inet.cc:
base/inifile.cc:
base/intmath.cc:
base/intmath.hh:
base/misc.cc:
base/mod_num.hh:
base/pollevent.cc:
base/random.cc:
base/random.hh:
base/range.hh:
base/refcnt.hh:
base/remote_gdb.cc:
base/remote_gdb.hh:
base/res_list.hh:
base/sat_counter.cc:
base/sat_counter.hh:
base/sched_list.hh:
base/compression/lzss_compression.cc:
base/compression/lzss_compression.hh:
base/compression/null_compression.hh:
base/loader/coff_sym.h:
base/loader/coff_symconst.h:
base/loader/ecoff_object.cc:
base/loader/object_file.cc:
base/loader/object_file.hh:
base/loader/symtab.cc:
base/loader/symtab.hh:
base/socket.cc:
base/statistics.cc:
base/statistics.hh:
base/str.cc:
base/str.hh:
base/trace.cc:
base/trace.hh:
cpu/base_cpu.cc:
cpu/base_cpu.hh:
cpu/exec_context.hh:
cpu/exetrace.cc:
cpu/intr_control.hh:
cpu/pc_event.cc:
cpu/pc_event.hh:
cpu/static_inst.hh:
cpu/full_cpu/op_class.hh:
cpu/full_cpu/smt.hh:
cpu/memtest/memtest.cc:
cpu/memtest/memtest.hh:
cpu/simple_cpu/simple_cpu.cc:
cpu/simple_cpu/simple_cpu.hh:
dev/alpha_access.h:
dev/alpha_console.cc:
dev/alpha_console.hh:
dev/console.cc:
dev/console.hh:
dev/disk_image.cc:
dev/disk_image.hh:
dev/etherbus.cc:
dev/etherdump.cc:
dev/etherint.cc:
dev/etherlink.cc:
dev/etherlink.hh:
dev/ethertap.cc:
dev/pcireg.h:
docs/stl.hh:
kern/tru64/dump_mbuf.cc:
kern/tru64/printf.cc:
kern/tru64/tru64_events.cc:
kern/tru64/tru64_system.cc:
kern/tru64/tru64_system.hh:
sim/debug.cc:
sim/eventq.cc:
sim/eventq.hh:
sim/host.hh:
sim/main.cc:
sim/param.cc:
sim/param.hh:
sim/prog.cc:
sim/serialize.cc:
sim/serialize.hh:
sim/sim_events.cc:
sim/sim_object.cc:
sim/sim_time.cc:
sim/sim_time.hh:
sim/system.cc:
test/bitvectest.cc:
test/circletest.cc:
test/initest.cc:
test/lru_test.cc:
test/nmtest.cc:
test/offtest.cc:
test/sized_test.cc:
test/stattest.cc:
test/symtest.cc:
util/tap/tap.cc:
util/term/term.c:
    formatting fixes

--HG--
extra : convert_revision : 01e6dbc9615c5d0e923502b8410a416c0434cdf6

21 years agoFix up the targetarch target so that things build a little
Nathan Binkert [Wed, 15 Oct 2003 20:22:50 +0000 (16:22 -0400)]
Fix up the targetarch target so that things build a little
better.  This changes how the setup script works, but
you don't need to re-run setup.

--HG--
extra : convert_revision : 764d7440561d0ee73f554d45a4ef8533fd35734b

21 years agoMerge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5
Nathan Binkert [Tue, 14 Oct 2003 22:04:28 +0000 (18:04 -0400)]
Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5
into zans.eecs.umich.edu:/z/binkertn/research/m5/latest

--HG--
extra : convert_revision : d5ba96b559be93774e82692099675b6d1f525221

21 years agotry to get everything to compile correctly again
Nathan Binkert [Tue, 14 Oct 2003 22:04:20 +0000 (18:04 -0400)]
try to get everything to compile correctly again

base/intmath.hh:
    Don't return -1 in FloorLog2.  That's wierd.  Assert instead.
    If you care about this, you should check for zero yourself.
    Create seprate versions for uint32_t, uint64_t, int32_t, and
    int64_t.  signed vs unsigned so that error checking can be done
    correctly.  32 vs 64 for speed.
    Finally, fix a little bug in CeilLog2 that will make it return
    the correct result for 1.
kern/tru64/tru64_events.cc:
    fix #includes

--HG--
extra : convert_revision : c47915fc417fdc194a5561949a5366ffb266e693

21 years agoMerge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5
Steve Raasch [Tue, 14 Oct 2003 21:06:05 +0000 (17:06 -0400)]
Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/y/sraasch/m5

--HG--
extra : convert_revision : 022364d1e5bf2f3b004ba75164580c1a821b16a5

21 years agoFixes for the new stats in SegmentedIQ
Steve Raasch [Tue, 14 Oct 2003 21:05:42 +0000 (17:05 -0400)]
Fixes for the new stats in SegmentedIQ

base/statistics.hh:
    Put a commented-out #define for STAT_DEBUG

--HG--
extra : convert_revision : 7c2decc9dac7c3c9d867461d2e0f1970f3ca0733

21 years agoMerge
Nathan Binkert [Tue, 14 Oct 2003 20:53:52 +0000 (16:53 -0400)]
Merge

cpu/pc_event.cc:
    SCCS merged

--HG--
extra : convert_revision : f7046f2bf6053be9b00150390fabe3d4f82b0981

21 years agoFix to test change. Will update tests once KERNEL compiles again. The only
Erik Hallnor [Tue, 14 Oct 2003 19:01:28 +0000 (15:01 -0400)]
Fix to test change. Will update tests once KERNEL compiles again. The only
test change that is real is SIM:cycle is now gone.

--HG--
extra : convert_revision : 7b5c25c35c11eb44e10e9c49324a93c8ed3e12bb

21 years agoMerge ehallnor@zizzer:/bk/m5
Erik Hallnor [Tue, 14 Oct 2003 17:29:20 +0000 (13:29 -0400)]
Merge ehallnor@zizzer:/bk/m5
into zizzer.eecs.umich.edu:/y/ehallnor/work/m5

--HG--
extra : convert_revision : 25b46c6ff1be6ea339dcaccce2f2987e4ea0f484

21 years agohostinfo.cc:
Erik Hallnor [Tue, 14 Oct 2003 17:29:12 +0000 (13:29 -0400)]
hostinfo.cc:
Trial fix, uint64_T > long

base/hostinfo.cc:
    Trial fix, uint64_T > long

--HG--
extra : convert_revision : cc039420980f1bf29074a20ccea3b9a3afe99f22

21 years agoUse common trigger script for email.
Steve Reinhardt [Tue, 14 Oct 2003 16:55:49 +0000 (12:55 -0400)]
Use common trigger script for email.

--HG--
extra : convert_revision : fa5537304bd5e574807df5954f166ce884bb45d5

21 years agoRemove all of the Tru64 specific stuff from the base System object
Nathan Binkert [Tue, 14 Oct 2003 16:19:59 +0000 (12:19 -0400)]
Remove all of the Tru64 specific stuff from the base System object
into its own Tru64System object.  Also remove the System builder
stuff and create a Tru64System builder.  This makes it much
simpler to support more operating systems.

arch/alpha/ev5.cc:
    Each system provides its own mechanism for doing a breakpoint.
base/remote_gdb.hh:
    #include <map>
cpu/pc_event.cc:
cpu/pc_event.hh:
    Separate out System specific PCEvents
cpu/simple_cpu/simple_cpu.cc:
    each system provides its own init script
kern/tru64/dump_mbuf.cc:
kern/tru64/printf.cc:
    Stick this in a namespace

--HG--
extra : convert_revision : 9f74527ed2ff8010431d9aff34357aaecc1fb3f6

21 years agoconfig:
Steve Reinhardt [Tue, 14 Oct 2003 15:37:30 +0000 (11:37 -0400)]
config:
Make /m5/latest read-only as well.

--HG--
extra : convert_revision : 3b6fc63dfe32e564d77f428dad90d7467af0e67f

21 years agosmall fixes
Nathan Binkert [Tue, 14 Oct 2003 12:57:54 +0000 (08:57 -0400)]
small fixes

base/hostinfo.cc:
    Since we're talking about a u_int64, use %lld.
    Maybe this should be converted using toNumber in the future.

--HG--
extra : convert_revision : f2ae97585d3009c380553313129dfdd212d6716b

21 years agoFix trigger-happy triggers.
Steve Reinhardt [Tue, 14 Oct 2003 05:47:40 +0000 (01:47 -0400)]
Fix trigger-happy triggers.

--HG--
extra : convert_revision : 6b562514124f81aada18272a4b5d7ac53bb6bd7a

21 years agogeneric:
Steve Reinhardt [Tue, 14 Oct 2003 05:36:59 +0000 (01:36 -0400)]
generic:
Only run on incoming pushes

--HG--
extra : convert_revision : bd2ecfbd1048432c17b0a87ca371a739a833b934

21 years agoMerge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt [Tue, 14 Oct 2003 05:22:20 +0000 (22:22 -0700)]
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5

--HG--
extra : convert_revision : 097e1f2a0ba706dd65ecbaf0e2047a04e916e5d1

21 years agoFix for cpu.cc -> full_cpu.cc rename.
Steve Reinhardt [Tue, 14 Oct 2003 05:21:49 +0000 (22:21 -0700)]
Fix for cpu.cc -> full_cpu.cc rename.

--HG--
extra : convert_revision : 2404b91b9c7f0185af13d43b2b8155c1b75d4062

21 years agoRename CPU object to FullCPU
Steve Reinhardt [Tue, 14 Oct 2003 05:21:19 +0000 (22:21 -0700)]
Rename CPU object to FullCPU

arch/alpha/isa_desc:
arch/alpha/isa_traits.hh:
cpu/static_inst.hh:
    CPU -> FullCPU

--HG--
extra : convert_revision : 2bed1ed9372ca9e33f7e391a1aa47bbc02675691

21 years agoSince I seem to be bug compatible with the head I'm going to commit.
Erik Hallnor [Tue, 14 Oct 2003 05:20:26 +0000 (01:20 -0400)]
Since I seem to be bug compatible with the head I'm going to commit.
There is still one documentation warning in the stat code, probably a
doxygen error.

base/statistics.cc:
    Added documentation to SubData and StatData.
base/statistics.hh:
    Documented most of the basic stats (storage, implemenation) and all of the
    visible stats. There is more to be documented, but I'm going crazy now.

    Also fixed the DistStor::zero() function to meet the semantics of the other ones.

--HG--
extra : convert_revision : f80b3075a3298cbded059be8125b7fc7b77020a9

21 years agoUpdate generated files. We need to fix the permissions issues here.
Steve Reinhardt [Tue, 14 Oct 2003 04:55:43 +0000 (21:55 -0700)]
Update generated files.  We need to fix the permissions issues here.

--HG--
extra : convert_revision : d04fe428088c986c993cfd39ff9852f16aee8f99

21 years agoAnother case where we need to fix an include path for a generated file in the script...
Steve Reinhardt [Tue, 14 Oct 2003 04:52:42 +0000 (21:52 -0700)]
Another case where we need to fix an include path for a generated file in the script that generates it.

--HG--
extra : convert_revision : 85d399aa6acb7a200b9bdce42a5fdecbd88d6ef0

21 years agoRename full_cpu/cpu.cc,hh to full_cpu.cc,hh.
Steve Reinhardt [Tue, 14 Oct 2003 04:51:34 +0000 (21:51 -0700)]
Rename full_cpu/cpu.cc,hh to full_cpu.cc,hh.

arch/alpha/isa_desc:
    Fix include: cpu.hh renamed to full_cpu.hh
cpu/pc_event.cc:
    Didn't need cpu.hh, just base_cpu.hh.
sim/sim_events.cc:
    Didn't need cpu.hh, just param.hh.

--HG--
extra : convert_revision : 2e3fd36476c639af950ba2113f67e8ea24c22be8

21 years agoFix up decoder.cc generation... this got broken at the directory reorg.
Steve Reinhardt [Tue, 14 Oct 2003 04:47:27 +0000 (21:47 -0700)]
Fix up decoder.cc generation... this got broken at the directory reorg.

arch/isa_parser.py:
    Fix include path (bitfield.hh -> base/bitfield.hh).

--HG--
extra : convert_revision : 2ce02d0a5986694a6a6ebcab1e5e0a306d6e5a49

21 years agoMerge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt [Tue, 14 Oct 2003 04:00:52 +0000 (21:00 -0700)]
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5

--HG--
extra : convert_revision : 2652475597b88075ec3531c1f2e3c866654f9b05

21 years agoRead-only checkout in root repository.
Steve Reinhardt [Tue, 14 Oct 2003 03:52:57 +0000 (23:52 -0400)]
Read-only checkout in root repository.

--HG--
extra : convert_revision : be9af2d9a4c8e7d6f1a025307b08c58105018cd6

21 years agoCommit trigger files
Steve Reinhardt [Tue, 14 Oct 2003 03:29:46 +0000 (23:29 -0400)]
Commit trigger files

--HG--
extra : convert_revision : 4c8cdcb4a11f038221e2e9693ffb1ee4c386d30f

21 years agoMerge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt [Tue, 14 Oct 2003 02:54:11 +0000 (19:54 -0700)]
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5

--HG--
extra : convert_revision : 8bfe9a5cb1f127b52e4f189eb1193f7d1c93e580

21 years agoSmall optimization
Nathan Binkert [Tue, 14 Oct 2003 02:19:43 +0000 (22:19 -0400)]
Small optimization

cpu/pc_event.cc:
cpu/pc_event.hh:
    Do a quick check to see if there is anything to service
    before the function is called

--HG--
extra : convert_revision : 16e9b6284ece8b7a53ccf0ca200fab9ba780c50c

21 years agoSplit up kernel.cc into separate files for dump_mbuf and printf
Nathan Binkert [Mon, 13 Oct 2003 21:24:27 +0000 (17:24 -0400)]
Split up kernel.cc into separate files for dump_mbuf and printf

cpu/exec_context.hh:
dev/alpha_console.cc:
sim/system.cc:
sim/system.hh:
    Convert from fixed array to a vector
arch/alpha/arguments.hh:
    now that CopyData and CopyString are in vtophys.hh, this
    include is not necessary
arch/alpha/vtophys.hh:
    Include isa_traits.hh for Addr
cpu/pc_event.cc:
    Temporarily get this working while we're changing things

--HG--
extra : convert_revision : 9a7597b7bd5d050819766f8edf7a02f28447b9ca

21 years agocleanup
Nathan Binkert [Mon, 13 Oct 2003 20:14:28 +0000 (16:14 -0400)]
cleanup

arch/alpha/arguments.hh:
arch/alpha/arguments.cc:
    sort #includes

--HG--
extra : convert_revision : f152f2fa1479649e7376e2a24107da642c7da5aa

21 years agoCopyData and CopyString moved from kernel.cc to vtophys.cc
Nathan Binkert [Mon, 13 Oct 2003 20:09:33 +0000 (16:09 -0400)]
CopyData and CopyString moved from kernel.cc to vtophys.cc
kernel.cc and kernel.hh moved to kern/tru64

--HG--
extra : convert_revision : 1b9123af03960b602a2d52dfa7b714280f9995aa

21 years agoAdd m5 emacs style file.
Steve Reinhardt [Mon, 13 Oct 2003 15:04:38 +0000 (08:04 -0700)]
Add m5 emacs style file.

--HG--
extra : convert_revision : bccc866984c98d974c1745f125293d781d6d0b1e

21 years agoTry to get the correct license on various files
Nathan Binkert [Mon, 13 Oct 2003 06:00:47 +0000 (02:00 -0400)]
Try to get the correct license on various files
remove stuff that is ambiguous
Clean up code a bit

arch/alpha/aout_machdep.h:
    Add M5 License
docs/stl.hh:
    M5 license
base/remote_gdb.cc:
    Most of this is mine, so stick in the m5 license
dev/console.hh:
    Clean up comments
    merge simple() and out() into one function.
dev/console.hh:
dev/console.cc:
    m5 license
dev/console.cc:
    merge simple and out.
    remove dead code
dev/console.cc:
    Remove comments that weren't mine.
    Clean up code
dev/console.hh:
    update names
dev/alpha_console.cc:
    use new interface

--HG--
extra : convert_revision : 3cd2357e1525db43c2ef9e89a9b47a47861d6af9

21 years agoPisa is way out of date. Whack it for now. Hopefully
Nathan Binkert [Mon, 13 Oct 2003 02:22:29 +0000 (22:22 -0400)]
Pisa is way out of date.  Whack it for now.  Hopefully
someone will resurrect it some day.

--HG--
extra : convert_revision : 2e28ef2b2a4f3d8ca395d9e2bb167aacdf30e755

21 years agoGet rid of obsolete sim/cache directory.
Steve Reinhardt [Sun, 12 Oct 2003 04:51:14 +0000 (21:51 -0700)]
Get rid of obsolete sim/cache directory.

--HG--
extra : convert_revision : 2654df50023352b2b8d8442f7f0248253de44991

21 years agoget rid of implicit rules
Nathan Binkert [Sat, 11 Oct 2003 04:35:06 +0000 (00:35 -0400)]
get rid of implicit rules

--HG--
extra : convert_revision : ee5cd45d28c511f7a40f2d438a8a31c208c48547

21 years agoMerge ehallnor@zizzer:/bk/m5
Erik Hallnor [Sat, 11 Oct 2003 03:23:44 +0000 (23:23 -0400)]
Merge ehallnor@zizzer:/bk/m5
into zizzer.eecs.umich.edu:/y/ehallnor/work/m5

--HG--
extra : convert_revision : 84ba90689683c41988ef89a8bb787e9a6620b668

21 years agoFully Document Statistics::Detail::Stat. More to follow.
Erik Hallnor [Sat, 11 Oct 2003 03:23:30 +0000 (23:23 -0400)]
Fully Document Statistics::Detail::Stat. More to follow.

--HG--
extra : convert_revision : 29983a074ab367a88995f0aa231019ff0a7c644e

21 years agoMake things work on OpenBSD again
Nathan Binkert [Sat, 11 Oct 2003 02:59:51 +0000 (22:59 -0400)]
Make things work on OpenBSD again

sim/sim_time.cc:
    make this work in OpenBSD
sim/sim_time.hh:
    timeval is defined in sys/time.h
base/remote_gdb.cc:
    need to include <cstdio> for sprintf

--HG--
extra : convert_revision : a230aa691bb798c37243fe4253399b2e40a2d12d

21 years agofix includes
Nathan Binkert [Sat, 11 Oct 2003 01:17:06 +0000 (21:17 -0400)]
fix includes

base/statistics.hh:
    need to use explicit path for #includes

--HG--
extra : convert_revision : da51315ee283746636957f5f506d7715ed52764d

21 years agoMerge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/bk/m5
Lisa Hsu [Fri, 10 Oct 2003 19:59:51 +0000 (15:59 -0400)]
Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/bk/m5

--HG--
extra : convert_revision : d1be5fea671fa3befc286139eca5c0def6fe245c

21 years agostatistics.hh:
Lisa Hsu [Fri, 10 Oct 2003 19:58:56 +0000 (15:58 -0400)]
statistics.hh:
Grouped the Visible Stats Types and commented them.

base/statistics.hh:
    Grouped the Visible Stats Types and commented them.

--HG--
extra : convert_revision : b5ef457a8c3f26ce5d614e3517bb0a5a4e063202

21 years agoThis is a utility.
Nathan Binkert [Fri, 10 Oct 2003 19:09:25 +0000 (15:09 -0400)]
This is a utility.

--HG--
extra : convert_revision : b9ec17d8f3a11f75872001351119c398adffc98d

21 years agoold is not needed anymore
Nathan Binkert [Fri, 10 Oct 2003 18:47:12 +0000 (14:47 -0400)]
old is not needed anymore

--HG--
extra : convert_revision : 60f25a78c9b34c46fce813768f1a288bb85f6918

21 years agoGet rid of all of the Attic Directories.
Nathan Binkert [Fri, 10 Oct 2003 18:45:26 +0000 (14:45 -0400)]
Get rid of all of the Attic Directories.
They are still under revision control though.

--HG--
extra : convert_revision : 218a1a23be6c9ab1f8dbfd8ad159220546d2f379

21 years agoNew perl script to find all the files you might care about (so people can stop
Steve Reinhardt [Fri, 10 Oct 2003 18:12:11 +0000 (11:12 -0700)]
New perl script to find all the files you might care about (so people can stop
complaining about extra bk dirs).  Feel free to request features (or better yet
add them yourself).

--HG--
extra : convert_revision : 744bb0f5311fc665098273e2cb6e3c8d0c867e06

21 years agoGet rid of this one too (should have been in last changeset).
Steve Reinhardt [Fri, 10 Oct 2003 18:11:24 +0000 (11:11 -0700)]
Get rid of this one too (should have been in last changeset).

--HG--
extra : convert_revision : 242bb82ad83aac4028fe54093ebea683fff796d7

21 years agoGet rid of support files/scripts from directory re-org. Hopefully we won't do this...
Steve Reinhardt [Fri, 10 Oct 2003 18:10:36 +0000 (11:10 -0700)]
Get rid of support files/scripts from directory re-org.  Hopefully we won't do this again;
if so we can resurrect from archive.

--HG--
extra : convert_revision : 689ef6a1573eff2551894b47d36b67b933b8e2ae

21 years agoMake include paths explicit and update makefile accordingly.
Steve Reinhardt [Fri, 10 Oct 2003 18:09:00 +0000 (11:09 -0700)]
Make include paths explicit and update makefile accordingly.

arch/alpha/alpha_memory.cc:
arch/alpha/alpha_memory.hh:
arch/alpha/arguments.cc:
arch/alpha/arguments.hh:
arch/alpha/ev5.cc:
arch/alpha/ev5.hh:
arch/alpha/fake_syscall.cc:
arch/alpha/faults.cc:
arch/alpha/isa_desc:
arch/alpha/isa_traits.hh:
arch/alpha/osfpal.cc:
arch/alpha/vtophys.cc:
arch/alpha/vtophys.hh:
base/circlebuf.cc:
base/compression/lzss_compression.cc:
base/compression/lzss_compression.hh:
base/cprintf.cc:
base/cprintf.hh:
base/fast_alloc.cc:
base/fifo_buffer.cc:
base/fifo_buffer.hh:
base/hashmap.hh:
base/hostinfo.cc:
base/hostinfo.hh:
base/hybrid_pred.cc:
base/hybrid_pred.hh:
base/inet.cc:
base/inet.hh:
base/inifile.cc:
base/inifile.hh:
base/intmath.cc:
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/exec_aout.h:
base/loader/exec_ecoff.h:
base/loader/object_file.cc:
base/loader/object_file.hh:
base/loader/symtab.cc:
base/loader/symtab.hh:
base/misc.cc:
base/misc.hh:
base/pollevent.cc:
base/pollevent.hh:
base/random.cc:
base/random.hh:
base/range.hh:
base/remote_gdb.cc:
base/remote_gdb.hh:
base/res_list.hh:
base/sat_counter.cc:
base/sat_counter.hh:
base/sched_list.hh:
base/socket.cc:
base/statistics.cc:
base/statistics.hh:
base/str.cc:
base/trace.cc:
base/trace.hh:
cpu/base_cpu.cc:
cpu/base_cpu.hh:
cpu/exec_context.cc:
cpu/exec_context.hh:
cpu/exetrace.cc:
cpu/exetrace.hh:
cpu/intr_control.cc:
cpu/intr_control.hh:
cpu/memtest/memtest.cc:
cpu/memtest/memtest.hh:
cpu/pc_event.cc:
cpu/pc_event.hh:
cpu/simple_cpu/simple_cpu.cc:
cpu/simple_cpu/simple_cpu.hh:
cpu/static_inst.cc:
cpu/static_inst.hh:
dev/alpha_console.cc:
dev/alpha_console.hh:
dev/console.cc:
dev/console.hh:
dev/disk_image.cc:
dev/disk_image.hh:
dev/etherbus.cc:
dev/etherbus.hh:
dev/etherdump.cc:
dev/etherdump.hh:
dev/etherint.cc:
dev/etherint.hh:
dev/etherlink.cc:
dev/etherlink.hh:
dev/etherpkt.hh:
dev/ethertap.cc:
dev/ethertap.hh:
dev/simple_disk.cc:
dev/simple_disk.hh:
kern/tru64/tru64_syscalls.cc:
kern/tru64/tru64_syscalls.hh:
sim/debug.cc:
sim/eventq.cc:
sim/eventq.hh:
sim/main.cc:
sim/param.cc:
sim/param.hh:
sim/prog.cc:
sim/prog.hh:
sim/serialize.cc:
sim/serialize.hh:
sim/sim_events.cc:
sim/sim_events.hh:
sim/sim_object.cc:
sim/sim_object.hh:
sim/sim_time.cc:
sim/system.cc:
sim/system.hh:
sim/universe.cc:
test/circletest.cc:
test/cprintftest.cc:
test/initest.cc:
test/nmtest.cc:
test/offtest.cc:
test/paramtest.cc:
test/rangetest.cc:
test/stattest.cc:
test/strnumtest.cc:
test/symtest.cc:
test/tokentest.cc:
test/tracetest.cc:
util/tap/tap.cc:
    Make include paths explicit.

--HG--
extra : convert_revision : 941cbdc591fd4d3d1d9f095cd58fc23dd2d73840

21 years agoFile moves for the reorg. Tree is in broken state until I commit the makefile and
Steve Reinhardt [Fri, 10 Oct 2003 16:57:26 +0000 (09:57 -0700)]
File moves for the reorg.  Tree is in broken state until I commit the makefile and
#include changes.

--HG--
rename : sim/cache/lzss_compression.cc => base/compression/lzss_compression.cc
rename : sim/cache/lzss_compression.hh => base/compression/lzss_compression.hh
rename : sim/cache/null_compression.hh => base/compression/null_compression.hh
rename : sim/hybrid_pred.cc => base/hybrid_pred.cc
rename : sim/hybrid_pred.hh => base/hybrid_pred.hh
rename : base/aout_object.cc => base/loader/aout_object.cc
rename : base/aout_object.hh => base/loader/aout_object.hh
rename : base/coff_sym.h => base/loader/coff_sym.h
rename : base/coff_symconst.h => base/loader/coff_symconst.h
rename : base/ecoff_object.cc => base/loader/ecoff_object.cc
rename : base/ecoff_object.hh => base/loader/ecoff_object.hh
rename : base/elf_object.cc => base/loader/elf_object.cc
rename : base/elf_object.hh => base/loader/elf_object.hh
rename : base/exec_aout.h => base/loader/exec_aout.h
rename : base/exec_ecoff.h => base/loader/exec_ecoff.h
rename : base/object_file.cc => base/loader/object_file.cc
rename : base/object_file.hh => base/loader/object_file.hh
rename : base/symtab.cc => base/loader/symtab.cc
rename : base/symtab.hh => base/loader/symtab.hh
rename : sim/predictor.hh => base/predictor.hh
rename : sim/sat_counter.cc => base/sat_counter.cc
rename : sim/sat_counter.hh => base/sat_counter.hh
rename : sim/base_cpu.cc => cpu/base_cpu.cc
rename : sim/base_cpu.hh => cpu/base_cpu.hh
rename : sim/exec_context.cc => cpu/exec_context.cc
rename : sim/exec_context.hh => cpu/exec_context.hh
rename : sim/exetrace.cc => cpu/exetrace.cc
rename : sim/exetrace.hh => cpu/exetrace.hh
rename : sim/op_class.hh => cpu/full_cpu/op_class.hh
rename : sim/smt.hh => cpu/full_cpu/smt.hh
rename : sim/inst_seq.hh => cpu/inst_seq.hh
rename : sim/intr_control.cc => cpu/intr_control.cc
rename : sim/intr_control.hh => cpu/intr_control.hh
rename : sim/memtest.cc => cpu/memtest/memtest.cc
rename : sim/memtest.hh => cpu/memtest/memtest.hh
rename : sim/pc_event.cc => cpu/pc_event.cc
rename : sim/pc_event.hh => cpu/pc_event.hh
rename : sim/simple_cpu.cc => cpu/simple_cpu/simple_cpu.cc
rename : sim/simple_cpu.hh => cpu/simple_cpu/simple_cpu.hh
rename : sim/static_inst.cc => cpu/static_inst.cc
rename : sim/static_inst.hh => cpu/static_inst.hh
extra : convert_revision : 05bd41acb2a424f1a38609fd4ac6df681bb479d6

21 years agomakefile:
Nathan Binkert [Fri, 10 Oct 2003 16:51:46 +0000 (12:51 -0400)]
makefile:
don't need -lpthread anymore

--HG--
extra : convert_revision : 00b4a929765ed9fc46a76f8c958d809ffe280401

21 years agoRemove a ton of old simplescalar crap that we no longer need.
Nathan Binkert [Fri, 10 Oct 2003 14:38:28 +0000 (10:38 -0400)]
Remove a ton of old simplescalar crap that we no longer need.

sim/base_cpu.cc:
sim/exec_context.hh:
sim/hybrid_pred.cc:
sim/main.cc:
sim/prog.hh:
sim/sat_counter.cc:
sim/sim_object.cc:
sim/sim_object.hh:
sim/simple_cpu.cc:
    old stats begone!

--HG--
extra : convert_revision : b0173f13744466b6d9607797b57f7f9bc9bc769f

21 years agoStop using omisc.h and move relevant functions to better places
Nathan Binkert [Fri, 10 Oct 2003 13:53:16 +0000 (09:53 -0400)]
Stop using omisc.h and move relevant functions to better places
while converting them to C++

base/intmath.hh:
    Add some functions that were previously defined elsewhere in C
base/misc.cc:
    Use the C++ version of memUsage, and sort #includes
sim/prog.cc:
    Stop using the old macro versions of various functions and use
    the new ones defined in intmath.hh
sim/sim_events.cc:
    Stop using the old C versions of various functions and use
    the new ones defined in hostinfo.hh

--HG--
extra : convert_revision : 15d1f24d2aff4254c745eea6070cb230dd37b8d2

21 years agoAdd cleandepend and depend as make targets
Nathan Binkert [Fri, 10 Oct 2003 13:46:18 +0000 (09:46 -0400)]
Add cleandepend and depend as make targets

--HG--
extra : convert_revision : e18df5ae8374e39f926746e8999a3a04ffef62ff

21 years agoRename intmath.h to intmath.hh
Nathan Binkert [Fri, 10 Oct 2003 13:44:49 +0000 (09:44 -0400)]
Rename intmath.h to intmath.hh
clean up the formatting
make things use templates since this is C++ now.

base/circlebuf.cc:
base/intmath.cc:
base/intmath.hh:
base/range.hh:
base/remote_gdb.cc:
base/statistics.cc:
base/str.cc:
    intmath.h -> intmath.hh
base/intmath.hh:
    Make this more like C++ by templatizing these functions

--HG--
rename : base/intmath.h => base/intmath.hh
extra : convert_revision : 8f9b14de9db751b1bd78588c51613d77afd96989

21 years agoAdded new tag in use stat.
Erik Hallnor [Fri, 10 Oct 2003 04:24:14 +0000 (00:24 -0400)]
Added new tag in use stat.

--HG--
extra : convert_revision : 10316d7714818f46249179614fa45ad90391760e

21 years agoCleanup, initalize some variables properly and remove unused variables
Ron Dreslinski [Thu, 9 Oct 2003 22:24:40 +0000 (18:24 -0400)]
Cleanup, initalize some variables properly and remove unused variables

--HG--
extra : convert_revision : e7db52821b4305ff8305307e65063614ae1201f7

21 years agoLets really remove it.
Erik Hallnor [Thu, 9 Oct 2003 21:02:12 +0000 (17:02 -0400)]
Lets really remove it.

--HG--
extra : convert_revision : a8aecf60a624df515c7af5988666c48a1a3d9505

21 years agoRemove Attic from build directory since it is ignored anyway
Erik Hallnor [Thu, 9 Oct 2003 21:00:51 +0000 (17:00 -0400)]
Remove Attic from build directory since it is ignored anyway

--HG--
extra : convert_revision : fd39c91a251746037fb70f8be11c0d37808b1691

21 years agoRename COPY_IN_SERVICE
Erik Hallnor [Thu, 9 Oct 2003 20:58:19 +0000 (16:58 -0400)]
Rename COPY_IN_SERVICE

--HG--
extra : convert_revision : 530715d1a6496a86bf141a5878f1c0d187c0d026

21 years agoAdd a Blocking cache implementation. Used when 1 MSHR is specified, or when the maste...
Erik Hallnor [Thu, 9 Oct 2003 20:56:48 +0000 (16:56 -0400)]
Add a Blocking cache implementation. Used when 1 MSHR is specified, or when the master bus is in non event mode.

--HG--
extra : convert_revision : 88b2304fd9e296c6eb17838382ad99de4d4f90dc

21 years agoAdd blocking buffer class. Still need to instantiate it.
Erik Hallnor [Thu, 9 Oct 2003 17:33:07 +0000 (13:33 -0400)]
Add blocking buffer class. Still need to instantiate it.

--HG--
extra : convert_revision : 86cde2cd83d94610d9ffaff4f4bded2d867ad138

21 years agoMerge ehallnor@zizzer:/bk/m5
Erik Hallnor [Thu, 9 Oct 2003 15:51:10 +0000 (11:51 -0400)]
Merge ehallnor@zizzer:/bk/m5
into zizzer.eecs.umich.edu:/y/ehallnor/work/m5

--HG--
extra : convert_revision : 63ca038244266df51811b71c97be1a24d8636951

21 years agofile-moves:
Erik Hallnor [Thu, 9 Oct 2003 15:51:02 +0000 (11:51 -0400)]
file-moves:
Add blocking_buffer.cc/hh to file-moves

--HG--
extra : convert_revision : 695b602361888fa1dd597ccc735edd61b2c325a2

21 years agoFinish explicit-includes.pl script.
Steve Reinhardt [Thu, 9 Oct 2003 15:03:34 +0000 (08:03 -0700)]
Finish explicit-includes.pl script.

--HG--
extra : convert_revision : 92088c5e10108562d18f142e106590fe03363d97

21 years agoFirst cut at scripts to process file-moves.
Steve Reinhardt [Thu, 9 Oct 2003 13:58:03 +0000 (06:58 -0700)]
First cut at scripts to process file-moves.

--HG--
extra : convert_revision : c677031aa957867edc49bcc31503ac8edbcb8b0b

21 years agoAnother pass on file-moves.
Steve Reinhardt [Thu, 9 Oct 2003 05:37:04 +0000 (22:37 -0700)]
Another pass on file-moves.

--HG--
extra : convert_revision : 78d940ab0a668f30e42239f725a42e1722b80c1c

21 years agoRename std_types.hh to the much more descriptive inst_seq.hh
Steve Reinhardt [Thu, 9 Oct 2003 05:29:27 +0000 (22:29 -0700)]
Rename std_types.hh to the much more descriptive inst_seq.hh

base/res_list.hh:
    Don't need to include std_types.hh
sim/exetrace.hh:
    Rename std_types.hh to inst_seq.hh

--HG--
rename : sim/std_types.hh => sim/inst_seq.hh
extra : convert_revision : 23698c9a83f1c19a6df8fa6f266ff4d8949a6cd9

21 years agoReally only need one set of fifo_buffer.hh,cc files (not two!). Merge the best of...
Steve Reinhardt [Thu, 9 Oct 2003 05:12:01 +0000 (22:12 -0700)]
Really only need one set of fifo_buffer.hh,cc files (not two!).  Merge the best of both.

base/fifo_buffer.cc:
base/fifo_buffer.hh:
    style

--HG--
extra : convert_revision : 829a36362dd8ba9ae92ca5e3f7381eb5b300c964

21 years agoDelete some more unneeded files.
Steve Reinhardt [Thu, 9 Oct 2003 05:04:59 +0000 (22:04 -0700)]
Delete some more unneeded files.

--HG--
extra : convert_revision : 1671391b9a7783196eabfdbd85ef9f46d40b56e9

21 years agoGet rid of a couple more obsolete loader files.
Steve Reinhardt [Thu, 9 Oct 2003 04:19:36 +0000 (21:19 -0700)]
Get rid of a couple more obsolete loader files.

--HG--
extra : convert_revision : 8f2caad5b5cbcb1ca46d139788dcf8c5e77f5950

21 years agoMerge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt [Thu, 9 Oct 2003 04:08:37 +0000 (21:08 -0700)]
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5

--HG--
extra : convert_revision : c74ab2e50ca5fa739c3ca1baabeb50df7f2368d7

21 years agotesting behavior of decoder.cc file
Steve Raasch [Thu, 9 Oct 2003 03:09:50 +0000 (23:09 -0400)]
testing behavior of decoder.cc file

arch/alpha/alpha_memory.cc:
    append a blank line

--HG--
extra : convert_revision : 482388741a3000b0c745733c9882300ff9ecf529

21 years agoMerge ehallnor@zizzer:/bk/m5
Erik Hallnor [Wed, 8 Oct 2003 23:10:19 +0000 (19:10 -0400)]
Merge ehallnor@zizzer:/bk/m5
into zizzer.eecs.umich.edu:/y/ehallnor/work/m5

--HG--
extra : convert_revision : 459fc18d099c7e8e1e062cdc02dcc38ff3852071

21 years agofile-moves:
Erik Hallnor [Wed, 8 Oct 2003 23:08:48 +0000 (19:08 -0400)]
file-moves:
Memory hierarchy again
.psrc:
Don't know why this comes up as changed

--HG--
extra : convert_revision : ec98a475dcddc1ee552fe93b6c8210a3dc654f11

21 years agotesting check-in after fixing file ownership in root repo
Steve Raasch [Wed, 8 Oct 2003 23:06:01 +0000 (19:06 -0400)]
testing check-in after fixing file ownership in root repo

--HG--
extra : convert_revision : 56b38fea82c96ca41eb4e4e77dfb7804f4f964d5

21 years agochmod
Steve Raasch [Wed, 8 Oct 2003 23:01:00 +0000 (19:01 -0400)]
chmod

--HG--
extra : convert_revision : 5dd7cbd675214a5937772206e8c15cd640c3b57d

21 years agoMerge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt [Wed, 8 Oct 2003 22:38:00 +0000 (15:38 -0700)]
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5

--HG--
extra : convert_revision : 60521a1e6c6d2e89ded7af2980bed6faba2770bb

21 years agoMerge isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt [Wed, 8 Oct 2003 22:37:27 +0000 (15:37 -0700)]
Merge isabel.reinhardt.house:/z/stever/bk/m5
into isabel.reinhardt.house:/z/stever/bk3/m5

--HG--
extra : convert_revision : 1633cf786798cdf4dd276a3fa711c932ab72b6f0

21 years agoFix typo
Steve Reinhardt [Wed, 8 Oct 2003 22:37:18 +0000 (15:37 -0700)]
Fix typo

--HG--
extra : convert_revision : ada1876052e2804fc7f037653cb88639875c8c20

21 years agoadded a blank line for erik
Steve Raasch [Wed, 8 Oct 2003 22:35:23 +0000 (18:35 -0400)]
added a blank line for erik

--HG--
extra : convert_revision : 0abcdd03344a3178f9a2cccf9595f37246c5bf2a

21 years agoBaby steps
Erik Hallnor [Wed, 8 Oct 2003 22:24:00 +0000 (18:24 -0400)]
Baby steps

--HG--
extra : convert_revision : 47bd0a26e6757684b1bc965b7960de0e7cce7af6

21 years agoignore:
Erik Hallnor [Wed, 8 Oct 2003 22:18:57 +0000 (18:18 -0400)]
ignore:
Ignore doxygen directory.

--HG--
extra : convert_revision : cb1ba84f8821f5e882e2fc46057b451e053b4f55

21 years agoMerge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt [Wed, 8 Oct 2003 20:14:45 +0000 (13:14 -0700)]
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5

--HG--
extra : convert_revision : ae6f7ed578c08a70ac06c7fedc67dfd6f351edbb

21 years agoAdd SS license to machine_exo.h files.
Steve Reinhardt [Wed, 8 Oct 2003 20:13:01 +0000 (13:13 -0700)]
Add SS license to machine_exo.h files.

--HG--
extra : convert_revision : 5573b2061327b563f4aa7975f459fe7487ab178e

21 years agoDelete pointless file.
Steve Reinhardt [Wed, 8 Oct 2003 20:05:39 +0000 (13:05 -0700)]
Delete pointless file.

--HG--
extra : convert_revision : 278de206d92d72f53aebc9231c8bd56a461eb948

21 years agoAdd in a missed documentation. Update the file moves for memory files. Ignore doxygen...
Erik Hallnor [Wed, 8 Oct 2003 18:17:24 +0000 (14:17 -0400)]
Add in a missed documentation. Update the file moves for memory files. Ignore doxygen output.

--HG--
extra : convert_revision : d0a955a3ec1221c40eda5936877ff50eef870a89

21 years agoFix attribution for decoder.cc.
Steve Reinhardt [Wed, 8 Oct 2003 06:36:02 +0000 (23:36 -0700)]
Fix attribution for decoder.cc.

arch/isa_parser.py:
    Add attribution to license generated into decoder.cc

--HG--
extra : convert_revision : dc309fc0035e5a1f2d7216d3feda8e3c1225f917

21 years agoUpdate ignore file.
Steve Reinhardt [Wed, 8 Oct 2003 06:33:49 +0000 (23:33 -0700)]
Update ignore file.

--HG--
extra : convert_revision : f810d2b39d2a447980657406f8dad74927ec4039

21 years agoMerge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt [Wed, 8 Oct 2003 06:15:47 +0000 (23:15 -0700)]
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5

--HG--
extra : convert_revision : a0f7a0793b4c413b8c004633707b1a992f79e8d1

21 years agoNew loader structure. Expand Nate's ObjectFile to automatically detect file formats
Steve Reinhardt [Wed, 8 Oct 2003 06:13:01 +0000 (23:13 -0700)]
New loader structure.  Expand Nate's ObjectFile to automatically detect file formats
and generate an appropriate child object, which knows how to load its text & data into memory
(and symbols, for ecoff only at this point).  Ecoff format supports Tru64 binaries, kernel, and
console.  A.out format is used by PAL code.  Elf support is there and appears to work for
Alpha/Linux binaries, but awaits a Linux syscall emulation layer before further testing.

arch/alpha/ecoff_machdep.h:
base/coff_sym.h:
base/coff_symconst.h:
base/exec_ecoff.h:
    Add Id string & provenance comment, clean up types
base/object_file.cc:
base/object_file.hh:
    Add auto format detection and text/data loading.
sim/prog.cc:
    Moved binary loading & stack setup here (was in arch/alpha/loader.cc).  Some of this is
    platform-dependent, but I think most of it is not.  We'll factor out the platform-dependent
    parts when the need arises.
sim/prog.hh:
    Get rid of unused environ_base field.
sim/system.cc:
    Use new ObjectFile loader structure for console, kernel, & palcode.

--HG--
extra : convert_revision : 8eae509bf71cf204bc3ec78c68699cfd01baed97

21 years agoisa_parser.py:
Nathan Binkert [Tue, 7 Oct 2003 20:54:21 +0000 (16:54 -0400)]
isa_parser.py:
Change mode to -rwxrwxr-x

--HG--
extra : convert_revision : da836f2f901c9f80563f9022a057315836d50482

21 years agoAdd dummy definitions of STL classes for documentation purposes.
Erik Hallnor [Tue, 7 Oct 2003 20:22:59 +0000 (16:22 -0400)]
Add dummy definitions of STL classes for documentation purposes.

--HG--
extra : convert_revision : fef2697d9df511abdac2b225bb0a7634fac9adbc

21 years agoAdd file to describe proposed hierarchy reorganization
Steve Reinhardt [Tue, 7 Oct 2003 19:26:47 +0000 (12:26 -0700)]
Add file to describe proposed hierarchy reorganization

--HG--
extra : convert_revision : 787ae31fd19494fd7b9246e7daff22c03c758aa0

21 years agoMerge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt [Tue, 7 Oct 2003 19:24:45 +0000 (12:24 -0700)]
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5

--HG--
extra : convert_revision : f275c5c07fbc2c50dd28ef0551c96ca35841ff36

21 years agoupdate bk ignore file
Steve Reinhardt [Tue, 7 Oct 2003 19:23:23 +0000 (12:23 -0700)]
update bk ignore file

--HG--
extra : convert_revision : 9f648627de7b82a3e1cf52992853ce0702057223

21 years agoMerge ehallnor@zizzer:/bk/m5
Erik Hallnor [Tue, 7 Oct 2003 18:57:01 +0000 (14:57 -0400)]
Merge ehallnor@zizzer:/bk/m5
into zizzer.eecs.umich.edu:/y/ehallnor/work/m5

--HG--
extra : convert_revision : 067e4f60497f8d8e21178493205bd6797e55ec4a

21 years agoMove documentation pages from html into doxygen. Update Doxyfile to support BitKeeper
Erik Hallnor [Tue, 7 Oct 2003 18:54:10 +0000 (14:54 -0400)]
Move documentation pages from html into doxygen. Update Doxyfile to support BitKeeper

Doxyfile:
    Update this to ignore the BitKeeper directories. Add a custom footer.

--HG--
extra : convert_revision : c884d0f65b4c23ab7dd6a59eb6d4a83f398815c5

21 years agoadded another line
Steve Raasch [Tue, 7 Oct 2003 18:03:34 +0000 (14:03 -0400)]
added another line

--HG--
extra : convert_revision : 7db95c1f9594c6c4f6cc9056e54ab17725db4a3b