e60a4c58ee
Fix a few bugs in the receive state machine. In doing back to tracking whether or not the state machine is enabled rather than tracking the specific instance of trying to halt the state machine.
Nathan Binkert
2004-07-30 11:29:45 -04:00
8f87a57e70
make all ethernet dma use the new interface
Nathan Binkert
2004-07-30 11:17:20 -04:00
4ad33d3eff
Improve the debuggability of FunctionalMemory objects by allowing the user to choose which objects will break (so you can have only the client system break for example.) Add features to differentiate between breaking on reads and writes and break when an address gets a specific data value.
Nathan Binkert
2004-07-30 10:59:59 -04:00
3711ea7347
Move all of the object matching code to a shared file so it can be more easily re-used. This currently uses some cooked up matching function that I wrote a while ago, but should probably be changed to use regular expressions in the future. add doDebugBreak to control breakpoints on a per SimObject basis
Nathan Binkert
2004-07-30 10:47:53 -04:00
41988a86b5
Make the DDUMP tracing feature output the cycle number and the object name on every line. This makes grep a bit more effective.
Nathan Binkert
2004-07-30 10:18:04 -04:00
b1fa4e9f0a
Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/tmp/m5
Ali Saidi
2004-07-28 17:56:42 -04:00
df61a1d3ef
updated readme to reflect linux/scons changes Put correct date in copyright headers based on bk changesets
Ali Saidi
2004-07-28 17:56:36 -04:00
ac61adef91
Move the query function to the cc file and make trace stuff work
Nathan Binkert
2004-07-26 13:03:27 -04:00
a5b541150c
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5 into ziff.eecs.umich.edu:/z/binkertn/research/m5/current
Nathan Binkert
2004-07-23 16:30:35 -04:00
095851dbb2
add a trace mechanism to trace sql stuff
Nathan Binkert
2004-07-23 15:52:28 -04:00
e8faa32ca8
use the linux 2.6 kernel Make it so the two system config can have one system with a cache hier and the other without
Nathan Binkert
2004-07-23 12:44:55 -04:00
0650e4a43f
When a packet has finished transmitting, kick the state machine too. The fifo may have been full and we want to get another packet into it if we can.
Nathan Binkert
2004-07-23 12:19:27 -04:00
75a2b149ee
sim ticks should be the number of elapsed ticks, not curTick
Nathan Binkert
2004-07-23 00:24:24 -04:00
4f8612e0cf
a little bit more info when dumping the event queue. add a function that can be called from the debugger to dump the event queue
Nathan Binkert
2004-07-23 00:15:52 -04:00
8844eadcdf
notify the transmitter when the packet has finished transmitting.
Nathan Binkert
2004-07-23 00:05:29 -04:00
1987dd82d1
Stats database fixes to avoid naming conflicts in the database and to do proper dumping of non-binned stats.
Nathan Binkert
2004-07-22 23:59:12 -04:00
c9e6a15196
Add support to store less than the full packet in an etherdump and actually default to only storing a max of 96 bytes per packet since that should be plenty to fit all of the headers in.
Nathan Binkert
2004-07-22 23:54:24 -04:00
552b954180
more initial checking of stats
Nathan Binkert
2004-07-22 21:31:35 -04:00
2f973954ca
one more fix to the ini files
Ali Saidi
2004-07-21 18:48:13 -04:00
eb15e8ba0b
Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/tmp/m5
Ali Saidi
2004-07-21 16:26:51 -04:00
2497bb5990
updated config files to fix what was broken in paper rush
Ali Saidi
2004-07-21 16:26:43 -04:00
5b1da825d8
Wrap tracing stuff in #if TRACING_ON to avoid compile error in m5.fast
Nathan Binkert
2004-07-21 15:44:57 -04:00
e76c98e6be
Add python-file-to-c-string utility for compiling python into the simulator (for later piping to a forked interpreter, unless we go crazy and embed it).
Steve Reinhardt
2004-07-18 23:03:17 -07:00
a7a7d6ff71
add some new stats and make one more change to the way the split lifo works.
Lisa Hsu
2004-07-18 00:03:07 -04:00
24821f7166
split_lifo.cc: oops, also need to move a newly replaced blk to tail, if not there already.
Lisa Hsu
2004-07-16 23:29:33 -04:00
09067d4c29
Merge zizzer.eecs.umich.edu:/bk/m5 into shizzle.(none):/home/hsul/work/linux-clean
Lisa Hsu
2004-07-16 21:04:25 -04:00
f03793fe19
split_lifo.cc: clear the isUsed flag for a block when it is replace in the 2Q scheme
Lisa Hsu
2004-07-16 21:01:49 -04:00
0bbf9a4791
Merge zizzer.eecs.umich.edu:/bk/m5 into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest
Nathan Binkert
2004-07-14 23:02:11 -04:00
bc5c52335c
Add a clock multiplier for simple CPU so that it is possible to do multiple instructions per cycle.
Nathan Binkert
2004-07-14 23:01:54 -04:00
a6939573ce
Fix serialization when a tx interrupt isn't scheduled
Erik Hallnor
2004-07-14 21:34:51 -04:00
374e12c2de
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5 into zizzer.eecs.umich.edu:/z/stever/bk/m5
Steve Reinhardt
2004-07-14 15:48:19 -04:00
842da6a9bb
SConscript: Make decoder.cc/hh depend on isa_parser.py.
Steve Reinhardt
2004-07-14 15:48:11 -04:00
5c20353129
adjust latencies so that they more closely match numbers seen in the real world. re-work kernel ini files for more flexibility
Nathan Binkert
2004-07-14 09:44:31 -04:00
7739f32758
fix paths for changes in disk image layout
Nathan Binkert
2004-07-14 09:06:56 -04:00
6f43d2b8d8
Fix infinite loop in ns_gige stat machine argh!
Nathan Binkert
2004-07-14 09:02:15 -04:00
961805c73a
remove a panic in split.cc:regernateBlkAddr that shouldnt' be there.
Lisa Hsu
2004-07-13 11:05:43 -04:00
195768d476
put the formatting fixes back into devtime
Nathan Binkert
2004-07-12 23:01:53 -04:00
13f8dc981f
make the cache access latency a parameter that is based on bus ticks for the most commonly accessed devices.
Nathan Binkert
2004-07-12 22:58:22 -04:00
c2e5caf360
modified devtime to print out raw data
Ali Saidi
2004-07-12 22:51:20 -04:00
3a8e5599b5
modified ccdrv to print out raw data.
Ali Saidi
2004-07-12 22:47:46 -04:00
f857bd9dff
make tx/rx fifo size a param, also fix the empty dma problem by adjusting the state machine.
Lisa Hsu
2004-07-12 16:09:52 -04:00
537e840cc3
Fix a couple of bugs in lisa's cache partitioning code.
Nathan Binkert
2004-07-11 15:35:11 -04:00
9dc9523a1c
the changeset of partitioned caches. this changeset creates Split tagstore class that makes either an LRU/LRU cache or a LRU/LIFO cache, it is also able to make just a LIFO cache.
Lisa Hsu
2004-07-10 21:57:59 -04:00
4f4252fa89
Remove second pciToDma translation on current PRD address pointer b/c second translation (which is superfluous) doesn't work properly when system memory is higher than 128MB
Andrew Schultz
2004-07-09 22:32:27 -04:00
539da68156
Defer registration only if we're sampling
Nathan Binkert
2004-07-09 15:08:42 -04:00
bbbfebd885
Merge zizzer.eecs.umich.edu:/bk/m5 into shizzle.(none):/home/hsul/work/m5clean
Lisa Hsu
2004-07-09 11:50:40 -04:00
7b2691d537
when you add caches, dma commands within the state machine are delayed and cause the state machine to exit until the dma comes back. thus, all relevant code must be executed BEFORE going to do the dma code.
Lisa Hsu
2004-07-09 11:50:27 -04:00
10446ec4ae
fix compile problem in floss_reasons.cc
Nathan Binkert
2004-07-08 23:36:09 -04:00
778c675079
- fix bad merge - pass in sample name to mysql
Nathan Binkert
2004-07-08 18:16:30 -04:00
6999918dd4
Clean up some mysql stuff to make things work again and hopefully improve performance a tad.
Nathan Binkert
2004-07-08 17:48:13 -04:00
ec5dfbccff
Clean up floss statistics names to avoid duplicate names
Nathan Binkert
2004-07-08 17:44:08 -04:00
ea376e5c42
unify all system boot ini files into a single one. To run different experiments, use --<foo>.system:readfile=<script> to change the experiment
Nathan Binkert
2004-07-08 17:37:22 -04:00
a8a7ffce6b
Tick is signed, so make Event start be large and positive, not negative
Nathan Binkert
2004-07-08 16:02:37 -04:00
989eb88576
Scripts that can be used with server.readfile and client.readfile to run the netperf benchmark
Nathan Binkert
2004-07-08 16:01:13 -04:00
7c2084dcfe
store the checkpoint to the proper directory
Nathan Binkert
2004-07-08 15:59:46 -04:00
7b2535d7bc
Change mount command for mounting disk images
Andrew Schultz
2004-07-08 15:22:41 -04:00
32df4eccb4
Fix the cache's address range. **warning** this is still a hack. The caches need to figure this out on their own!
Nathan Binkert
2004-07-08 14:23:49 -04:00
9dba9e462f
fix the failing regression. the sconscript ("makefile") was missing the etherbus.cc src file.
Lisa Hsu
2004-07-08 09:05:26 -04:00
02dfbe92fc
fixed a bad merge from linux<->tru64
Ali Saidi
2004-07-08 00:28:02 -04:00
014f451d1f
Merge zizzer.eecs.umich.edu:/bk/m5 into shizzle.(none):/home/hsul/work/linux-clean
Lisa Hsu
2004-07-06 20:04:17 -04:00
8d6fb1e9b5
disable the binned_fn stuff cpu0 -> cpu since we're not all set up for MP in the ini files just yet.
Nathan Binkert
2004-07-06 19:27:33 -04:00
2fecc3c785
Make binning work with stuff other than FS_MEASURE
Nathan Binkert
2004-07-06 19:22:39 -04:00
347166d908
Fix some ini stuff.
Nathan Binkert
2004-07-06 19:21:47 -04:00
19fd3439c7
tag each mem_req as coming from the nic if it is DMA'd from the NIC. the NIC tells the DMA interface, which in turn sets a new nic_req flag in the MemReq it makes.
Lisa Hsu
2004-07-06 17:55:16 -04:00
151bb42173
Merge zizzer.eecs.umich.edu:/bk/m5 into shizzle.(none):/home/hsul/work/linux-clean
Lisa Hsu
2004-07-06 17:42:58 -04:00
4869ba881e
Remove duplicate stat
Erik Hallnor
2004-07-06 11:29:23 -04:00
fe3a86e2ef
updated to work on all platforms (actually map sure that the physical address we are trying to access is mapped before accessing it.)
Ali Saidi
2004-07-05 16:49:56 -04:00
3512904c74
Added code to read any location in memory a repetative number of and average the results.
Ali Saidi
2004-07-05 15:49:42 -04:00
5bbd57917f
these changes are an undo from my last changeset. these are meant for later.
Lisa Hsu
2004-07-05 11:20:53 -04:00
7ca7b343ff
almost forgot to do this - hope it doesn't mess up schedule.
Lisa Hsu
2004-07-04 16:47:07 -04:00
aab5f629ac
fix some broken .ini's
Lisa Hsu
2004-07-04 12:08:54 -04:00
a55cb1d28b
fix makefile to work with traceflags.py change
Nathan Binkert
2004-07-03 10:10:43 -04:00
f1d268e99f
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt
2004-07-02 21:17:51 -07:00
b13e28afbb
Initial SCons-based build system. See www.scons.org. 'cd build; scons' will build ALPHA/m5.debug. Use e.g. 'scons KERNEL/m5.opt' to build other binaries. Read the comments in build/SConstruct for more details.
Steve Reinhardt
2004-07-02 21:16:38 -07:00
0e575e9f26
Need to #include <unistd.h> to build with pread
Nathan Binkert
2004-07-02 12:30:06 -04:00
6083c8280b
implement the readfile pseudo instruction that will read a realworld file.
Nathan Binkert
2004-07-01 18:03:05 -04:00
671cff5937
rename CopyData to CopyOut and implement CopyIn to copy data from the simulator into the simulatee
Nathan Binkert
2004-07-01 18:00:18 -04:00
12e8ab2b64
sort out common files into configs/kernel fix up includes get stuff from the proper directories
Nathan Binkert
2004-07-01 14:02:23 -04:00
6428133e15
Add documentation for linux-dist system and make some small formatting changes
Andrew Schultz
2004-07-01 12:08:52 -04:00
bf32875fc4
Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5
Ali Saidi
2004-06-30 16:06:50 -04:00
1506e4a580
Update MAX ASN in kernel to 127 since that's what the ev5 supports
Ali Saidi
2004-06-30 16:06:47 -04:00
16f53a7899
fix the -I flag stuff for CPP so it actually works right. What was I smoking?
Nathan Binkert
2004-06-30 14:53:26 -04:00