Steve Reinhardt [Fri, 17 Oct 2003 14:41:25 +0000 (07:41 -0700)]
Updates to doxygen config files.
Doxyfile:
Make doxygen ignore BitKeeper files
--HG--
extra : convert_revision :
3e277037958675682b1ba674bd57df94af4d6373
Erik Hallnor [Thu, 16 Oct 2003 21:56:16 +0000 (17:56 -0400)]
Clear up the last of the Doxygen warnings
base/statistics.hh:
Document the friend class because doxygen can't handle the template instantiation.
kern/tru64/dump_mbuf.cc:
kern/tru64/dump_mbuf.hh:
kern/tru64/printf.cc:
kern/tru64/printf.hh:
kern/tru64/tru64_events.cc:
Change namespace from Tru64 to tru64 (There is a class Tru64, and it was confusing doxygen).
--HG--
extra : convert_revision :
9644b1324814952cb6a2d98fd2ab4d07f0860b45
Erik Hallnor [Thu, 16 Oct 2003 21:04:25 +0000 (17:04 -0400)]
Merge ehallnor@zizzer:/bk/m5
into zizzer.eecs.umich.edu:/y/ehallnor/work/m5
--HG--
extra : convert_revision :
2979dcbf516446b45c7fb94454e4c4f013f480e4
Erik Hallnor [Thu, 16 Oct 2003 21:04:18 +0000 (17:04 -0400)]
Add a commited loads event queue similar to the one for commited instructions.
Two new parameters for the CPU models, max_loads_any_thread and max_loads_all_threads.
cpu/memtest/memtest.cc:
cpu/memtest/memtest.hh:
Swap out maxReads for the new commited loads model.
--HG--
extra : convert_revision :
35031329bbc476122b2203104537a9f8b46addfa
Erik Hallnor [Thu, 16 Oct 2003 21:02:14 +0000 (17:02 -0400)]
Added to new doxygen configs (posting internally and externally).
Changed the default to not use dot to speed testing of documentation for warnings.
We probably don't want to release postint and postext since there is
information about absolute file locations in them.
Doxyfile:
Turn of DOT for local testing.
--HG--
extra : convert_revision :
04df481c7a238e7745e90a011e43f8c533888567
Steve Reinhardt [Thu, 16 Oct 2003 19:41:50 +0000 (12:41 -0700)]
Merge stever@zizzer:/bk/m5 into vm1.vmnet.nat:/z/stever/bk/m5
--HG--
extra : convert_revision :
0262799031839bc27f08e207e6a6dfcc97c50ac5
Steve Reinhardt [Thu, 16 Oct 2003 19:41:35 +0000 (12:41 -0700)]
Minor documentation tweaks.
arch/alpha/aout_machdep.h:
Comment aout_exechdr fields to make doxygen happy.
--HG--
extra : convert_revision :
23fe88cb7ee511ccd83d2779024daf015133c9ce
Lisa Hsu [Thu, 16 Oct 2003 19:28:40 +0000 (15:28 -0400)]
post-incoming.regression:
dirname in this repo too
--HG--
extra : convert_revision :
c099dbd2e247d327cce6c2cfa744fea0a6cf9b3d
Lisa Hsu [Thu, 16 Oct 2003 13:39:08 +0000 (09:39 -0400)]
post-incoming.regression:
added log info
--HG--
extra : convert_revision :
a8c2c75d59c3cadb03597bc1923099ff650ab298
Lisa Hsu [Thu, 16 Oct 2003 13:23:48 +0000 (09:23 -0400)]
post-incoming.regression:
finally, the right one. so simple, yet path so heinous.
--HG--
extra : convert_revision :
7eeece20d36bed9d868771dc0eaf865eeee8dda3
Nathan Binkert [Thu, 16 Oct 2003 04:06:29 +0000 (00:06 -0400)]
Don't chmod generated source files because bitkeeper
just complains too much.
--HG--
extra : convert_revision :
cf7eaf89f5a0b65d7ed54b697cb3f2a65742358e
Nathan Binkert [Thu, 16 Oct 2003 03:56:13 +0000 (23:56 -0400)]
disable the post-incoming.regression for now
--HG--
extra : convert_revision :
da6710c255ff4e4c46048f09bc2106f9ef8f0311
Nathan Binkert [Thu, 16 Oct 2003 03:51:43 +0000 (23:51 -0400)]
fix another bug
--HG--
extra : convert_revision :
8c250f65b1a56b732c328e5f7599e269def2241b
Nathan Binkert [Thu, 16 Oct 2003 03:48:41 +0000 (23:48 -0400)]
remove a newline
--HG--
extra : convert_revision :
e7662de4cac06bd95d33fc1ba47fd2b6ab4ef864
Erik Hallnor [Thu, 16 Oct 2003 03:08:52 +0000 (23:08 -0400)]
Merge ehallnor@zizzer:/bk/m5
into zizzer.eecs.umich.edu:/y/ehallnor/work/m5
--HG--
extra : convert_revision :
98e87516378744d70eae8536344d0484a0fc9042
Erik Hallnor [Thu, 16 Oct 2003 03:07:32 +0000 (23:07 -0400)]
Set the default number of write buffers to 8, add write_buffer param to cache
to specify it.
--HG--
extra : convert_revision :
c18a008a4b00465e9764f0ba07d4d0d8209f3305
Nathan Binkert [Thu, 16 Oct 2003 02:12:56 +0000 (22:12 -0400)]
post-incoming.regression:
use the correct operator
--HG--
extra : convert_revision :
1ed4e5c0ea56db1e39e43b700b8d250ecff8a596
Lisa Hsu [Thu, 16 Oct 2003 00:49:12 +0000 (20:49 -0400)]
footer.html:
removed blank line
docs/footer.html:
removed blank line
--HG--
extra : convert_revision :
6bccc4e3b5c01e2ccffd69e2127df651512d4670
Lisa Hsu [Thu, 16 Oct 2003 00:47:51 +0000 (20:47 -0400)]
post-incoming.regression:
lost an i, hehe, in cut and paste
--HG--
extra : convert_revision :
4826b74b20802f4e8a946b2fe320b7f947b0dd7d
Lisa Hsu [Thu, 16 Oct 2003 00:45:11 +0000 (20:45 -0400)]
footer.html:
added blank space
docs/footer.html:
added blank space
--HG--
extra : convert_revision :
7366ca4d4ce27498b629bb697c674d8ede82c750
Lisa Hsu [Thu, 16 Oct 2003 00:41:55 +0000 (20:41 -0400)]
post-incoming.regression:
new file
--HG--
extra : convert_revision :
19052541e73693dc090f588d8283bf8560ad5563
Erik Hallnor [Wed, 15 Oct 2003 21:36:10 +0000 (17:36 -0400)]
Need to cast to avoid infinite recursion.
--HG--
extra : convert_revision :
1c2faba65e1112f0972bae330cbde4a563429b73
Erik Hallnor [Wed, 15 Oct 2003 21:17:19 +0000 (17:17 -0400)]
Remove conflicts
--HG--
extra : convert_revision :
c680884d3e758fab5ce3a258ec277f1a22f87ea1
Erik Hallnor [Wed, 15 Oct 2003 21:11:46 +0000 (17:11 -0400)]
Add a stat to track the cycle when the cache has all blocks touched (if ever).
--HG--
extra : convert_revision :
5bc15c55eddd58336625997817f583e0d43225c6
Nathan Binkert [Wed, 15 Oct 2003 20:42:53 +0000 (16:42 -0400)]
Fix the default target for the makefile
--HG--
extra : convert_revision :
32f2018fbe761121a848f0a7a980523514fc7710
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
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
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
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
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
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
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
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
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
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
Steve Reinhardt [Tue, 14 Oct 2003 16:55:49 +0000 (12:55 -0400)]
Use common trigger script for email.
--HG--
extra : convert_revision :
fa5537304bd5e574807df5954f166ce884bb45d5
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
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
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
Steve Reinhardt [Tue, 14 Oct 2003 05:47:40 +0000 (01:47 -0400)]
Fix trigger-happy triggers.
--HG--
extra : convert_revision :
6b562514124f81aada18272a4b5d7ac53bb6bd7a
Steve Reinhardt [Tue, 14 Oct 2003 05:36:59 +0000 (01:36 -0400)]
generic:
Only run on incoming pushes
--HG--
extra : convert_revision :
bd2ecfbd1048432c17b0a87ca371a739a833b934
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
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
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
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
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
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
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
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
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
Steve Reinhardt [Tue, 14 Oct 2003 03:52:57 +0000 (23:52 -0400)]
Read-only checkout in root repository.
--HG--
extra : convert_revision :
be9af2d9a4c8e7d6f1a025307b08c58105018cd6
Steve Reinhardt [Tue, 14 Oct 2003 03:29:46 +0000 (23:29 -0400)]
Commit trigger files
--HG--
extra : convert_revision :
4c8cdcb4a11f038221e2e9693ffb1ee4c386d30f
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
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
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
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
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
Steve Reinhardt [Mon, 13 Oct 2003 15:04:38 +0000 (08:04 -0700)]
Add m5 emacs style file.
--HG--
extra : convert_revision :
bccc866984c98d974c1745f125293d781d6d0b1e
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
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
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
Nathan Binkert [Sat, 11 Oct 2003 04:35:06 +0000 (00:35 -0400)]
get rid of implicit rules
--HG--
extra : convert_revision :
ee5cd45d28c511f7a40f2d438a8a31c208c48547
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
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
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
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
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
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
Nathan Binkert [Fri, 10 Oct 2003 19:09:25 +0000 (15:09 -0400)]
This is a utility.
--HG--
extra : convert_revision :
b9ec17d8f3a11f75872001351119c398adffc98d
Nathan Binkert [Fri, 10 Oct 2003 18:47:12 +0000 (14:47 -0400)]
old is not needed anymore
--HG--
extra : convert_revision :
60f25a78c9b34c46fce813768f1a288bb85f6918
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
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
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
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
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
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
Nathan Binkert [Fri, 10 Oct 2003 16:51:46 +0000 (12:51 -0400)]
makefile:
don't need -lpthread anymore
--HG--
extra : convert_revision :
00b4a929765ed9fc46a76f8c958d809ffe280401
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
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
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
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
Erik Hallnor [Fri, 10 Oct 2003 04:24:14 +0000 (00:24 -0400)]
Added new tag in use stat.
--HG--
extra : convert_revision :
10316d7714818f46249179614fa45ad90391760e
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
Erik Hallnor [Thu, 9 Oct 2003 21:02:12 +0000 (17:02 -0400)]
Lets really remove it.
--HG--
extra : convert_revision :
a8aecf60a624df515c7af5988666c48a1a3d9505
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
Erik Hallnor [Thu, 9 Oct 2003 20:58:19 +0000 (16:58 -0400)]
Rename COPY_IN_SERVICE
--HG--
extra : convert_revision :
530715d1a6496a86bf141a5878f1c0d187c0d026
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
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
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
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
Steve Reinhardt [Thu, 9 Oct 2003 15:03:34 +0000 (08:03 -0700)]
Finish explicit-includes.pl script.
--HG--
extra : convert_revision :
92088c5e10108562d18f142e106590fe03363d97
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
Steve Reinhardt [Thu, 9 Oct 2003 05:37:04 +0000 (22:37 -0700)]
Another pass on file-moves.
--HG--
extra : convert_revision :
78d940ab0a668f30e42239f725a42e1722b80c1c
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
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
Steve Reinhardt [Thu, 9 Oct 2003 05:04:59 +0000 (22:04 -0700)]
Delete some more unneeded files.
--HG--
extra : convert_revision :
1671391b9a7783196eabfdbd85ef9f46d40b56e9
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
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
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
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