14b4119aaf
Changed elf_object.* to use libelf for reading elf files. The makefile and setup filed had to be modified to build libelf. The ext repository MUST exist in the directory below m5!
Ali Saidi
2004-01-07 19:46:45 -05:00
9dcfdce732
Improve python output support fix some bugs
Nathan Binkert
2003-12-28 12:48:13 -05:00
85d75e6dfc
Add a uni-directional bus bridge
Erik Hallnor
2003-12-28 00:41:47 -05:00
55d94ba2e8
Add python output support to the statistics package!
Nathan Binkert
2003-12-24 03:25:36 -05:00
3f5ca9e5e8
initial basic hooks into the stats package to output python code python dumping takes a name for the output data
Nathan Binkert
2003-12-24 02:35:33 -05:00
4bdf46c819
Random cleanup
Nathan Binkert
2003-12-24 02:25:26 -05:00
2b2c8388a2
formatting for consistency
Nathan Binkert
2003-12-24 02:22:43 -05:00
263886bc83
more readable formatting
Nathan Binkert
2003-12-24 02:17:20 -05:00
fad8b13add
Random cleanup to make things work a bit better
Nathan Binkert
2003-12-24 01:45:56 -05:00
9908987f15
never print the cdf or pdf or the overflow bucket if we're simplescalr
Nathan Binkert
2003-12-24 00:22:02 -05:00
a95d8e95cb
- change the FormatFlags into more general StatFlags - make init and print StatFlags - default_mode -> DefaultMode - the display mode is no longer needed as part of the stat pass it into the display functions so the mode can be determined from dump to dump - get rid of old simplescalar bug and make the distribution min_val work correctly - get rid of the DisplayMode parameter to distribution updates since it is no longer needed
Nathan Binkert
2003-12-23 23:53:43 -05:00
8f912297ab
- Allow the stats package user to determine in which mode to dump - Factor out the formatted output into a display function - Make the stats package support tracing - Clean up output of binned data
Nathan Binkert
2003-12-23 21:45:48 -05:00
42621e497d
Make it so you can override CC and CXX
Nathan Binkert
2003-12-23 20:59:30 -05:00
ce0396c19e
Make this compile with NDEBUG defined
Nathan Binkert
2003-12-23 14:54:12 -05:00
318e0c93ed
add support for simple character input via the system console
Nathan Binkert
2003-12-22 17:51:14 -05:00
c3ba166e65
Fix binary path in configs/kernel/base.ini.
Steve Reinhardt
2003-12-22 08:47:55 -08:00
ecd3ecb4f5
Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5
Erik Hallnor
2003-12-21 22:47:33 -05:00
e249a54e4c
Add fully functional snooping to the hierarchy.
Erik Hallnor
2003-12-21 22:43:48 -05:00
918c5d27ab
Fix last patch to RTC initialization. It's still the case that the default is to use a fixed time, which was the main point of the last changeset.
Steve Reinhardt
2003-12-20 23:59:13 -08:00
3fdeebac24
Default RTC behavior is to set to Jan 1 2010 (midnight GMT), not current wall-clock time.
Steve Reinhardt
2003-12-20 20:17:18 -08:00
126d810d13
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-12-20 19:56:31 -08:00
51286f22b1
we don't actually want to refer to the stable symlink because we want to keep revision control of which system we're referring to
Nathan Binkert
2003-12-20 19:18:34 -05:00
2a720ee99d
update to reflect changes in the directory structure
Nathan Binkert
2003-12-20 19:14:17 -05:00
520442b01a
Fix a bunch of memory leak type bugs, and add some better checking in places to make sure stuff is behaving properly.
Nathan Binkert
2003-12-20 16:25:48 -05:00
f182f7a2ee
Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5
Erik Hallnor
2003-12-19 18:33:54 -05:00
573236a7fb
Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5
Erik Hallnor
2003-12-19 12:10:06 -05:00
7d8366ac49
Fix non-determinism on misspeculated uncached store conditionals.
Steve Reinhardt
2003-12-19 08:10:53 -08:00
4f8acd2709
Minor cleanup of trace/output stuff (leftover from EINTR bug fix).
Steve Reinhardt
2003-12-19 08:04:40 -08:00
255ac8372d
Make stuff build on openbsd
Nathan Binkert
2003-12-19 00:02:20 -05:00
1154c4de7b
Okay, FULL_SYSTEM uses cpu_num
Erik Hallnor
2003-12-17 23:43:19 -05:00
df9a435b8f
Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5
Erik Hallnor
2003-12-17 22:55:55 -05:00
27cb54e92d
Initial probe checkin. Still need to write the snoopProbe functions for coherence to work properly.
Erik Hallnor
2003-12-17 22:55:45 -05:00
888ea0dfd9
Re-add code to handle following multitple chains that got removed when chain stuff moved into dispatch
Steve Raasch
2003-12-17 15:31:51 -05:00
96fddedb9c
Add parameters to Segmented IQ
Steve Raasch
2003-12-17 15:30:15 -05:00
41f38e2646
Be careful what you put inside an assert() !!!
Steve Raasch
2003-12-17 15:27:23 -05:00
d5a187dd5a
Miscellaneous minor fixes/improvements. Most notable is that the rundiff trace-output lossage is fixed!
Steve Reinhardt
2003-12-17 09:43:03 -08:00
16021aa436
Fix previously committed call_pal fix... the main problem was in the makefile, such that decoder.cc was not getting rebuilt. Also add -fno-strict-aliasing to fix all the bizarre problems I've been having with g++ 3.3.x.
Steve Reinhardt
2003-12-16 11:46:52 -08:00
f47dcadfd8
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-12-15 21:07:04 -08:00
2cd5e980d2
Fixes for full-system call_pal instruction.
Steve Reinhardt
2003-12-15 21:06:09 -08:00
d0feece6e0
Minor enhancements to rundiff.
Steve Reinhardt
2003-12-15 20:58:18 -08:00
eb1cfea1aa
Another fix for gcc 3.3.x.
Steve Reinhardt
2003-12-15 20:56:47 -08:00
e537fb3fd6
Add #define parameter and corresponding build option to disable FastAlloc. Gcc 3.3.x appears to have a bug that breaks FastAlloc when compiled with optimization.
Steve Reinhardt
2003-12-15 20:55:10 -08:00
ce4aba3e54
Add support for getting the hostname
Nathan Binkert
2003-12-15 18:24:02 -05:00
ef659565ff
Clean up time handling code
Nathan Binkert
2003-12-15 18:23:48 -05:00
3c6fc7c269
- Add a new target m5.fast (or just fast for short) - make stuff compile with NDEBUG - remove the TRACE setup option since it isn't useful anymore
Nathan Binkert
2003-12-11 19:22:03 -05:00
1cb7159966
Make memtest compile again.
Steve Reinhardt
2003-12-11 08:46:21 -08:00
45d0a46080
Minor util/find-files fix.
Steve Reinhardt
2003-12-11 08:30:35 -08:00
7c708c8d1b
- Switch events to use a priority enum instead of integers. This lets us centralize priorities so we can see what's going on. - Shift serialize & cpu-switch events to happen before CPU ticks (to be consistent with starting new CPU on same cycle instead of next cycle). - Get rid of unnecessary bus stats reset callback.
Steve Reinhardt
2003-12-11 08:29:52 -08:00
777c1ebfab
Stats & serialization tweaks & cleanup. Unserializing from a checkpoint now gives identical results to running from scratch and doing at switchover at the same cycle! - CPUs start at cycle 0 again, not cycle 1. - curTick is now serialized & unserialized. - Stats get reset in main (before event loop). Since this is done after curTick is unserialized, simTicks gets set correctly for running from a checkpoint. - Simplify serialization to happen in a single pass. - s/Serializeable/Serializable/
Steve Reinhardt
2003-12-11 00:16:46 -08:00
7e6dcd812c
Rename RegResetCallback to registerResetCallback(). Add reset callback for bus (to fix idle cycles computation).
Steve Reinhardt
2003-12-10 17:49:41 -08:00
4ce6118fda
Factor ExecContext::setStatus(), BaseCPU::execCtxStatusChange(), and SimpleCPU::setStatus() into separate functions. For example, setStatus(Active) is now activate().
Steve Reinhardt
2003-12-10 17:47:28 -08:00
db6038937d
Minor fixes. Somehow do-tests.pl suddenly started failing on test5 because of a wrong exit code; fixed that.
Steve Reinhardt
2003-12-09 20:25:52 -08:00
3d8cd20467
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-12-09 16:43:54 -08:00
06aafccce7
Make the simulator compile on an Itanium.
Nathan Binkert
2003-12-09 17:41:08 -05:00
a1dcdeb3d8
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-12-09 14:21:46 -08:00
5e360051cf
Minor tweaks to make a switchover at tick N match restarting from a checkpoint at tick N.
Steve Reinhardt
2003-12-09 14:21:38 -08:00
f13509e968
Generate a fault when a privileged PAL call is executed in non-privileged (non-PAL) mode.
Steve Reinhardt
2003-12-09 14:19:35 -08:00
368de4109f
Sweeping change in the stats package....again...
Nathan Binkert
2003-12-09 13:05:43 -05:00
f8b78a81b9
Remove mostly-broken binning stuff from "get" Add parser debugging command-line option
Steve Raasch
2003-12-08 17:34:14 -05:00
9511bc025d
Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5 into zizzer.eecs.umich.edu:/y/sraasch/m5
Steve Raasch
2003-12-08 17:13:18 -05:00
ac51f420c7
Fetch-loss now uses the stats package
Steve Raasch
2003-12-08 17:12:45 -05:00
1d7c11af7d
Instead of keeping track of the fraction of time that we're idle, keep track of the fraction of time we're not idle. This works better because the default processor state is idle, and the default stat value is 0. Keep the stat as idleFraction which is a formula that is equal to 1 - notIdleFraction
Nathan Binkert
2003-12-08 14:01:48 -05:00
0ff2457bfa
move setStatus into the .cc file
Nathan Binkert
2003-12-08 13:15:18 -05:00
37a718e45e
Various cleanup. Mostly forcing initialization of some fields... I noticed that checkpoints dumped from m5.debug and m5.opt had differences, which is no longer the case (other than addresses encoded in names).
Steve Reinhardt
2003-12-06 09:57:59 -08:00
b6c77fe6f8
remote_gdb.cc: fix remote gdb
Lisa Hsu
2003-12-04 19:26:31 -05:00
a229495400
Minor fixes to the Segmented and Seznec IQ models
Steve Raasch
2003-12-03 12:48:57 -05:00
9984b2bd6c
Formatting & doxygen docs for new syscall emulation code.
Steve Reinhardt
2003-12-01 22:39:27 -08:00
745f0044cd
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-12-01 19:34:51 -08:00
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.
Steve Reinhardt
2003-12-01 19:34:38 -08:00
5b24b5a5c5
Change the way writebacks are handled to make probing easier. Minor fixes to get coherence-test to work again.
Erik Hallnor
2003-11-25 18:11:48 -05:00
6f1fa02f51
Extract documentation for all classes.
Erik Hallnor
2003-11-24 15:46:39 -05:00
c02fc7e99f
get rid of the errors from simple-test1 and test1-6
Lisa Hsu
2003-11-23 12:57:16 -05:00
55a7490a11
Go Blue!!!!
Nathan Binkert
2003-11-22 15:12:56 -05:00
713e2b12e4
Merge zizzer.eecs.umich.edu:/bk/m5 into zans.eecs.umich.edu:/z/binkertn/research/m5/stats
Nathan Binkert
2003-11-22 15:09:30 -05:00
d1e12b57ce
We only need to choose that we do want binning, or we don't. no need for multiple bin classes. If multiple bins are needed, we can always do it with ini type config instead.
Nathan Binkert
2003-11-22 15:07:53 -05:00
d760ca18ab
Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5
Erik Hallnor
2003-11-20 23:03:42 -05:00
e5eb961274
full_cpu.cc: change name of numTicks to "numTicks" instead of "number of ticks" (which screws up scripts).
Lisa Hsu
2003-11-20 08:06:33 -05:00
3e57b99ad6
Pass all the related information (the memreq) to the findBlock call. Working towards not caring about block addresses anymore.
Erik Hallnor
2003-11-19 16:41:41 -05:00
24061d5bff
Pass MemReqPtr by reference.
Erik Hallnor
2003-11-19 16:40:05 -05:00
65ea19b6f5
Move some MSHR typedefs into the class, transition from MSHRblah to MSHR::blah.
Erik Hallnor
2003-11-19 15:26:14 -05:00
92348c503c
make the name consistent with what it does.
Nathan Binkert
2003-11-15 12:32:36 -05:00
123d0294b5
Make it so that we create a directory for each checkpoint so that there aren't so many files littering your directory
Nathan Binkert
2003-11-14 01:19:16 -05:00
0bd909277d
statistics.cc: Only reactivate the original bin if it actually exists.
Nathan Binkert
2003-11-12 15:23:31 -05:00
74aaf2401c
in the case where we don't have any bins, we don't want to panic
Nathan Binkert
2003-11-12 14:59:58 -05:00
94f98b43b3
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-11-12 10:36:12 -08:00
166bb3fff4
Change setup scheme to split base configurations from configuration options. Completely backward compatible except for setup file locations. See comment in setup script for more details.
Steve Reinhardt
2003-11-12 10:35:48 -08:00
790d1da2fa
Merge ehallnor@zizzer:/bk/m5 into zizzer.eecs.umich.edu:/y/ehallnor/work/m5
Erik Hallnor
2003-11-12 11:59:04 -05:00
d41cf8bd24
Create a compressed cache if there is a compressed bus or data should be stored compressed
Erik Hallnor
2003-11-12 11:58:56 -05:00
bfed4de8f4
Add config for simple purely functional simulation (no caches).
Steve Reinhardt
2003-11-12 08:41:09 -08:00
0a7f82da7d
Rewrite getdirentries to replace SS-derived version.
Steve Reinhardt
2003-11-12 08:40:32 -08:00
7651e19cd1
Minor enhancements to rundiff script.
Steve Reinhardt
2003-11-09 20:36:54 -08:00
ebaecd1b6c
Setup to build with gcc 3.3.2.
Steve Reinhardt
2003-11-09 10:39:44 -08:00
ba0672a2e2
ISCA hack is for FULL_SYSTEM only.
Steve Reinhardt
2003-11-09 10:03:33 -08:00
e8a682c3c4
Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5 into zizzer.eecs.umich.edu:/y/sraasch/new_head
Steve Raasch
2003-11-07 17:49:50 -05:00
4ff3843027
updates for the new stats format
Steve Raasch
2003-11-07 17:45:59 -05:00
541598bc6f
It's important that there be white-space between each element of a printed statistics line.
Steve Raasch
2003-11-07 08:35:55 -05:00
7f7dcf4e1f
add a couple of hacks to get thigns going for ISCA
Nathan Binkert
2003-11-07 05:06:22 -05:00
22679d3da8
Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/bk/m5
Lisa Hsu
2003-11-07 01:39:17 -05:00
40820042f1
save and restore the current bin during reset since we should continue in whatever bin we were in.
Nathan Binkert
2003-11-07 01:24:49 -05:00