217ad63b4d
New tracediff script for invoking rundiff on two copies of the simulator.
Steve Reinhardt
2003-10-30 07:01:46 -08:00
2f8d858e13
Get rid of lots of obsolete mentions of stat_sdb_t.
Steve Reinhardt
2003-10-29 22:22:03 -08:00
735b187a06
Merge Steve & Erik's etherdev & scsi changes with mine (specifically new arg type for unserialize()).
Steve Reinhardt
2003-10-29 22:13:16 -08:00
9a88c8e17d
Merge.
Steve Reinhardt
2003-10-29 21:50:28 -08:00
5a1eb9049d
Support for Serializable non-SimObject things like events. Can now serialize & unserialize DmaRequestEvents and DmaTransferEvents. Also support serialize/unserialize of pointers to SimObjects and other Serializable objects.
Steve Reinhardt
2003-10-29 21:45:39 -08:00
a984404691
scsi_disk.cc: Serialize data as an array, more compact
Erik Hallnor
2003-10-30 00:03:31 -05:00
93a60eb9a7
Serialization and documentation.
Erik Hallnor
2003-10-29 23:30:19 -05:00
8835aae3e3
Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5 into zizzer.eecs.umich.edu:/y/sraasch/serialize
Steve Raasch
2003-10-29 20:25:03 -05:00
dcc0197caa
Add serialization for etherdev These changes don't seem to break anything, and may even be correct.
Steve Raasch
2003-10-29 20:24:47 -05:00
976429121c
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/ser/m5
Steve Reinhardt
2003-10-29 14:46:12 -08:00
ec32c6d4fd
Add license to new isa_traits.cc file.
Steve Reinhardt
2003-10-29 14:43:04 -08:00
37b48c1d89
bus.cc: don't need to clear these stats runAddrLast and runDataLast in the bus constructor, since stats are automatically cleared on creation.
Lisa Hsu
2003-10-29 17:29:37 -05:00
aca5cd7109
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/ser/m5
Steve Reinhardt
2003-10-29 14:25:17 -08:00
13ecb4932a
Use the correct definition of the max DMA pages
Erik Hallnor
2003-10-29 17:18:33 -05:00
71c11d0631
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/ser/m5
Steve Reinhardt
2003-10-29 13:35:18 -08:00
af5277a678
Serialization support for Alpha TLBs, PhysicalMemory, and SimpleCPU.
Steve Reinhardt
2003-10-29 13:35:07 -08:00
b45a0808aa
Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5
Erik Hallnor
2003-10-29 16:25:23 -05:00
5c8423b5dd
Clear up doxygen warnings and serialize ScsiCtrl. We probably shouldn't decfine functions using type defs ala "RegFile" instead of "AlphaISA::RegFile".
Erik Hallnor
2003-10-29 16:25:08 -05:00
31342830ff
Checkpointing support for all the tlaser_* files and Turbolaser
Andrew Schultz
2003-10-29 14:37:34 -05:00
034babf0fa
Merge zizzer.eecs.umich.edu:/bk/m5 into zans.eecs.umich.edu:/z/binkertn/research/m5/latest
Nathan Binkert
2003-10-29 13:06:34 -05:00
33cccccc98
Make the ethernet device use only 32bit and 64bit accesses This change requires an update of the es device driver in the kernel as well.
Nathan Binkert
2003-10-29 12:46:31 -05:00
8da9fcdd75
Flesh out ExecContext serialize/unserialize (including RegFile). Add support for serializing enums.
Steve Reinhardt
2003-10-29 08:50:25 -08:00
aa12cac9fd
Rename SERIALIZE_MEMBER to SERIALIZE_SCALAR.
Steve Reinhardt
2003-10-29 00:46:26 -08:00
1511370d09
More progress on checkpointing... we can now write out a checkpoint and read it back in, though most objects don't actually serialize any data.
Steve Reinhardt
2003-10-29 00:41:24 -08:00
a0f3ee7e17
Add a few configuration DPRINTFs. Fix handling of chars (uint8_ts) in serialization. Minor cleanup.
Steve Reinhardt
2003-10-28 23:24:40 -08:00
3761bcf076
Get new serialization code to link.
Steve Reinhardt
2003-10-28 17:48:10 -08:00
e12e64a071
Merge zizzer:bk/m5 into isabel.reinhardt.house:/z/stever/ser/m5
Steve Reinhardt
2003-10-28 12:56:17 -08:00
b90f810575
Revamp serialization to make it easier.
Steve Reinhardt
2003-10-28 12:55:12 -08:00
1820520697
Clean up a few spots where we weren't handling of misspeculation correctly.
Steve Reinhardt
2003-10-28 09:09:45 -08:00
cec7f73abf
emulate callpal halt for non FULL_SYSTEM in the process make m5_exit more generic
Nathan Binkert
2003-10-28 10:05:58 -05:00
5cf0b0541b
Merge zizzer.eecs.umich.edu:/bk/m5 into zans.eecs.umich.edu:/z/binkertn/research/m5/latest
Nathan Binkert
2003-10-27 19:58:37 -05:00
a3260cbd21
Added init_param line to specweb.ini
Andrew Schultz
2003-10-27 14:43:05 -05:00
3cad93b5cf
Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5
Erik Hallnor
2003-10-27 14:29:42 -05:00
bdf1110c02
Add an exit condition for a set number of misses in any cache. Add writebacks into the overall cache statistics.
Erik Hallnor
2003-10-27 14:29:09 -05:00
57c1cc9e6e
Merge zizzer.eecs.umich.edu:/bk/m5 into zans.eecs.umich.edu:/z/binkertn/research/m5/latest
Nathan Binkert
2003-10-27 13:01:25 -05:00
d5766946a0
Add a strip target that will create m5.strip (a stripped version of m5.opt)
Nathan Binkert
2003-10-27 12:58:47 -05:00
1c2930b1e1
Merge stever@zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-10-26 23:03:51 -08:00
1164494a58
specweb.ini: fix system name
Nathan Binkert
2003-10-27 02:02:37 -05:00
167928f12b
Minor serialization tweaks.
Steve Reinhardt
2003-10-26 22:38:53 -08:00
ced22d81a6
Fix some problems with stats reset & floss counters.
Steve Reinhardt
2003-10-26 22:37:14 -08:00
bac3f9a1aa
Clean up kernel .ini files. Factor out common stuff and use #include to do stuff.
Nathan Binkert
2003-10-26 23:04:17 -05:00
13bcf233f1
Add an append= keyword that works in a somewhat similar way to default=. In the append= case, when looking up an entry, it also looks in the section named by the append= for something to append to the entry
Nathan Binkert
2003-10-26 22:42:45 -05:00
91293e02d2
Make the tap work work again
Nathan Binkert
2003-10-26 22:40:03 -05:00
34adf92749
only send data to a peer if the peer exists
Nathan Binkert
2003-10-26 22:38:26 -05:00
5e0b617283
More tweaking of find-files script. FYI, I now have this hard-wired into my 'grc' command under emacs.
Steve Reinhardt
2003-10-26 08:21:11 -08:00
54643598f6
Initialize startTick to 1 instead of 0. Fixes floss-check failure in debug mode.
Steve Reinhardt
2003-10-26 08:18:59 -08:00
b27009fcbe
Merge stever@zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-10-25 21:19:54 -07:00
3ab5b35fbb
Merge isabel.reinhardt.house:/z/stever/bk/m5 into isabel.reinhardt.house:/z/stever/bk2/m5
Steve Reinhardt
2003-10-25 21:19:14 -07:00
a08271f955
New rundiff script.
Steve Reinhardt
2003-10-25 20:49:08 -07:00
ff7b6892bc
Add the directory where the ini file was found into the #include search path
Nathan Binkert
2003-10-25 18:19:32 -04:00
2eec285391
Don't schedule tickEvent if it's already been scheduled.
Steve Reinhardt
2003-10-25 00:47:51 -07:00
9508bf0a87
Merge stever@zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-10-24 23:37:28 -07:00
2622601b83
Make util/find-files work from anywhere in the source tree (assuming you name the root of your tree 'm5').
Steve Reinhardt
2003-10-24 23:22:35 -07:00
02d80c96b7
Move some common full-system CPU initialization from the SimpleCPU & FullCPU constructors to AlphaISA::initCPU().
Steve Reinhardt
2003-10-24 23:20:27 -07:00
91cb532f9f
Make FullCPU schedule its TickEvent when one of its contexts becomes active. This fixes detailed-mpboot, which was broken as of my last change. Also clean up some of the ExecContext status initialization.
Steve Reinhardt
2003-10-24 23:02:36 -07:00
47399b6c5e
Added m5func "resetstats" to allow scriptable reset of statistics inside sim
Andrew Schultz
2003-10-24 16:28:04 -04:00
df3487c3aa
Added new ini file for specwebssl
Andrew Schultz
2003-10-24 14:57:24 -04:00
cd6b6df581
A few minor fixes to sampling... seems to work now for the base case of two CPUs and one switch-over event. Still some stats glitches though.
Steve Reinhardt
2003-10-23 21:52:46 -07:00
cc9a838f4c
Merge stever@zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-10-23 19:09:18 -07:00
6e2fc8ce76
If things go really wrong, panic() instead of fatal() so gdb gets control.
Steve Reinhardt
2003-10-23 19:09:02 -07:00
f5da73b688
Initial support for CPU switching. New SamplingCPU object encompasses a set of CPUs that get switched round-robin (though currently we're only shooting for two CPUs and one switch event, and even that doesn't quite work yet). Registration of ExecContexts with System/Process object factored out so we can create two CPUs but only register one of them at a time. Also worked at making behavior and naming in System and Process objects more consistent.
Steve Reinhardt
2003-10-23 19:07:52 -07:00
73b050a541
Minor stats fix.
Steve Reinhardt
2003-10-23 18:53:16 -07:00
21c7ee1e3e
Print error message when we can't parse a .ini assignment line.
Steve Reinhardt
2003-10-23 18:51:12 -07:00
320540829d
Move to non-architecture specific MemReq
Erik Hallnor
2003-10-23 16:40:08 -04:00
b361dc12bf
New kernel-specweb.ini file for the new specweb99 setup.
Andrew Schultz
2003-10-23 15:54:01 -04:00
98fd66ed0c
Changed the init_param to a uint64_t from int
Andrew Schultz
2003-10-22 18:50:54 -04:00
35a0764307
Merge stever@zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-10-22 07:10:34 -07:00
37a99b3090
Canonicalize bus name capitalization: bus to Foo is toFooBus.
Steve Reinhardt
2003-10-22 07:10:12 -07:00
da62ad294e
statistics.cc: change printf to be printed only when something is binned so regression doesn't freak out.
Lisa Hsu
2003-10-22 09:45:39 -04:00
b525eb5bbe
Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/bk/m5
Lisa Hsu
2003-10-22 02:02:12 -04:00
8a49c33064
statistics.hh: forgot to doxygen comment binned()
Lisa Hsu
2003-10-22 02:02:00 -04:00
8052c39ee3
Merge stever@zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-10-21 22:39:08 -07:00
89eabdea70
Similar refactoring of SimpleCPU-based .ini files. Add simple-events.ini for busses w/do_events=true, as this is all that seems to work at this point.
Steve Reinhardt
2003-10-21 22:38:40 -07:00
faa490f96c
Merge ehallnor@zizzer:/bk/m5 into zizzer.eecs.umich.edu:/y/ehallnor/work/m5
Erik Hallnor
2003-10-22 01:18:35 -04:00
a4b9c11539
bus.cc: Update an assert to reflect the current state of the hierarchy
Erik Hallnor
2003-10-22 01:18:27 -04:00
afc6fbd32c
Restructure uni-*.ini configs as a single base config (uni-hier.ini) with a bunch of variants that include this and then just do deltas. Note how much shorter the files are! It's much easier to see what's going on, too. For example, is it intentional that uni-hier-compressed does not set do_data on the L2 (though it does on the L1 & L3)? Also got rid of a couple of old broken ones (uni-default and uni-perfect-L2).
Steve Reinhardt
2003-10-21 22:07:21 -07:00
c6cc6f892c
Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/bk/m5
Lisa Hsu
2003-10-22 01:05:00 -04:00
df3130d2ed
Merge stever@zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2003-10-21 21:33:34 -07:00
de29fec658
Don't need to include sim/param.hh in sim_object.hh anymore. Add explicit include of sim/param.hh to .cc files as needed.
Steve Reinhardt
2003-10-21 21:32:15 -07:00
ffd083b8da
Automerge
Lisa Hsu
2003-10-22 00:30:04 -04:00
a2c87bfdf2
nate's reset stuff merged with my work on bin printing.
Lisa Hsu
2003-10-22 00:29:45 -04:00
5159241db7
New ini-file feature: += appends RHS to LHS. Added doxygen comments to inifile.hh. Updated initest. Some other minor cleanup.
Steve Reinhardt
2003-10-21 21:24:34 -07:00
4709c41d74
Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5
Erik Hallnor
2003-10-22 00:23:24 -04:00
26ababf2f2
Probe is now in. You currently can't probe uncacheable (of course it doesn't make much sense either. Also, probe doesn't currently support compressed data, but will as soon as I encapsulate the calls more.
Erik Hallnor
2003-10-22 00:22:25 -04:00
66f115a2df
statistics.hh: same - bin printing statistics.cc: printing of bins! now all the nice binning functionality is actually useful cuz you can see the data it so nicely took. this prints out only the individual bin values. totals to come. statistics.hh: add a binned() function to each stat so that at print time, we can know if it's binned in order to print it right.
Lisa Hsu
2003-10-21 23:56:31 -04:00
a7c88ad2ae
Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/bk/clean
Lisa Hsu
2003-10-21 23:18:07 -04:00
ede195161b
statistics.hh: fix up some very ambiguous doxygen comments about Formulas
Lisa Hsu
2003-10-21 23:17:55 -04:00
c0162074c6
Since we don't hand off writebacks anymore, need to actually copy the request when buffering it.
Erik Hallnor
2003-10-21 21:04:22 -04:00
adc99b427d
I'll fix this screwup with the next change set
Erik Hallnor
2003-10-21 19:22:09 -04:00
da1116a11a
mem_debug.hh: Add debug callout for cache probes. miss_queue.hh, miss_queue.cc, blocking_buffer.hh: Add support for snooping the write buffer. cache.cc: Snoop the Write buffer for writebacks on probes.
Erik Hallnor
2003-10-21 19:19:37 -04:00
6bc700e1ad
Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/clean
Erik Hallnor
2003-10-21 19:15:03 -04:00
67f6771721
When the Bus blocks now it lets the sender know it was a failed transmission. The request stays buffered in the sender, not on the bus like it used to be.
Erik Hallnor
2003-10-21 19:14:54 -04:00
f600cff5c2
Created new M5 instruction to allow an integer parameter (init_param) to be specified in the INI and then read inside the simulator.
Andrew Schultz
2003-10-21 17:18:17 -04:00
ae232a883a
Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/bk/clean
Lisa Hsu
2003-10-21 15:45:56 -04:00
f600ac613e
statistics.hh: change VectorDistProxy name to DistProxy - to be more consistent with other proxy namings.
Lisa Hsu
2003-10-21 15:45:48 -04:00
f3d6ac18e8
Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5
Erik Hallnor
2003-10-21 01:53:41 -04:00
456b9af0c8
memtest.cc: Add probe calls to test update probe path.
Erik Hallnor
2003-10-21 01:53:27 -04:00
e99c0f901c
Add the probe path to the hierarchy. Two flavors, one updates the location of the block in memory, the other just reads the most up to date data/writes data wherever it is found.
Erik Hallnor
2003-10-21 01:51:59 -04:00
02bacb2dfd
Implement reset for stats.
Nathan Binkert
2003-10-20 23:08:27 -04:00