Erik Hallnor [Thu, 6 May 2004 00:57:07 +0000 (20:57 -0400)]
Documentation fixes
--HG--
extra : convert_revision :
9f62115463e6e624a95ae83189dac21c593a2ee4
Nathan Binkert [Wed, 5 May 2004 03:44:09 +0000 (23:44 -0400)]
file used by old compile time binning which lisa's since fixed
--HG--
extra : convert_revision :
b8ae8371fdf22b601bcfd15ce7c28af6ed081dc0
Nathan Binkert [Wed, 5 May 2004 03:42:15 +0000 (23:42 -0400)]
add a bit more data to the rob dump
--HG--
extra : convert_revision :
99f76a62d1a1f057868c4303905cc269fd56aab7
Nathan Binkert [Tue, 4 May 2004 21:01:00 +0000 (17:01 -0400)]
Major stats package cleanup
Add support for generic visitors for stats and use them
to implement independent output functions.
Support for mysql output and some initial code for hacking
on mysql output with python
arch/alpha/pseudo_inst.cc:
base/hybrid_pred.cc:
base/hybrid_pred.hh:
base/sat_counter.cc:
base/sat_counter.hh:
cpu/simple_cpu/simple_cpu.cc:
kern/tru64/tru64_events.cc:
sim/main.cc:
sim/process.cc:
sim/process.hh:
sim/sim_events.cc:
sim/sim_object.cc:
sim/system.hh:
update for changes in stats package
base/statistics.cc:
move the python output code to base/stats/puthon.(cc|hh)
and reimplement it as a visitor.
move the text output code to base/stats/text.(cc|hh) and
reimplement it as a visitor.
move the database stuff into base/stats/statdb.(cc|hh) and
get rid of the class. Put everything as globals in the
Statistics::Database namespace.
allocate unique ids for all stats.
directly implement the check routine and get rid of the
various dumping routines since they're now in separate files.
make sure that no two stats have the same name
clean up some loops
base/statistics.hh:
major changes to the statistics package again
lots of code was factored out of statistics.hh into several
separate files in base/stats/ (this will continue)
There are now two Stat package types Result and Counter that
are specified to allow the user to keep the counted type
separate from the result type. They are currently both doubles
but that's an experiment. There is no more per stat ability to
set the type. Statistics::Counter is not the same as Counter!
Implement a visitor for statistics output so that new output
types can be implemented independently from the stats package
itself.
Add a unique id to each stat so that it can be used to keep
track of stats more simply. This number can also be used in
debugging problems with stats.
Tweak the bucket size stuff a bit to make it work better.
fixed VectorDist size bug
cpu/memtest/memtest.cc:
Fix up for changes in stats package
Don't use value() since it doesn't work with binning. If you
want a number as a stat, and to use it in the program itself,
you really want two separate variables, one that's a stat,
and one that's not.
cpu/memtest/memtest.hh:
Fix up for changes in stats package
test/Makefile:
Try to build stuff now that directories matter
test/stattest.cc:
test all new output types
choose which one with command line options
--HG--
extra : convert_revision :
e3a3f5f0828c67c0e2de415d936ad240adaddc89
Erik Hallnor [Tue, 4 May 2004 20:32:43 +0000 (16:32 -0400)]
Update for doxygen 1.3.6
--HG--
extra : convert_revision :
e7a1820a5651dc68e2927194aeabd23a3d852487
Nathan Binkert [Tue, 4 May 2004 16:23:57 +0000 (12:23 -0400)]
Function for getting username
--HG--
extra : convert_revision :
50c0bf7b083e780071e85fabdcd6f91a96f4b2e3
Nathan Binkert [Tue, 4 May 2004 12:20:21 +0000 (08:20 -0400)]
don't duplicate stat names
--HG--
extra : convert_revision :
2a19b12457cb19e233e4b133044ff95eb5d44e2f
Erik Hallnor [Thu, 29 Apr 2004 06:12:49 +0000 (02:12 -0400)]
Derive from SimObject so stats are registered.
--HG--
extra : convert_revision :
cbc70641235f040ebff6a98de7ff6384e06b8dbd
Erik Hallnor [Thu, 29 Apr 2004 04:52:43 +0000 (00:52 -0400)]
Change the way the DMAInterface works internally to make it easier to change things in the future.
--HG--
extra : convert_revision :
2f7275f95433918549e76b16a8903e5df2d0188c
Erik Hallnor [Wed, 28 Apr 2004 20:14:29 +0000 (16:14 -0400)]
Merge ehallnor@zizzer:/bk/m5
into zizzer.eecs.umich.edu:/y/ehallnor/work/m5
--HG--
extra : convert_revision :
f658c6d2e86a736702fcb88b0493904a72f5e47f
Erik Hallnor [Wed, 28 Apr 2004 20:12:20 +0000 (16:12 -0400)]
Little updates do the documentation.
--HG--
extra : convert_revision :
647f2bc32064b1f330513d812d59357f01adc012
Erik Hallnor [Wed, 28 Apr 2004 00:16:00 +0000 (20:16 -0400)]
Add an adaptive compression scheme.
--HG--
extra : convert_revision :
4ebf32976ba983cb3b9175cdf5f2e1359fa49c8b
Nathan Binkert [Thu, 22 Apr 2004 22:10:35 +0000 (18:10 -0400)]
Cleanup configs since bridges are now autosensing of addresses
and are bidirectional.
--HG--
extra : convert_revision :
840c940b4cee991f3a0c8e365fb60c0ef9166cf2
Erik Hallnor [Fri, 16 Apr 2004 03:47:17 +0000 (23:47 -0400)]
Fix the way write delay are sent on the data bus so that they are always sent. Also fixes the problem of sending both responses and write delays.
--HG--
extra : convert_revision :
3bb684526bf2ed5ab7b05c54d768291baf5dec02
Erik Hallnor [Wed, 14 Apr 2004 22:44:38 +0000 (18:44 -0400)]
Code cleanup and debugging for the bus.
--HG--
extra : convert_revision :
8356dbf022e1aca71ff75f2947382af6a37d65b4
Erik Hallnor [Tue, 13 Apr 2004 03:54:21 +0000 (23:54 -0400)]
Each direction in the BusBridge can now buffer max requests before blocking
--HG--
extra : convert_revision :
c411cbf0affafebbc914d92d6691729fc3125486
Erik Hallnor [Tue, 13 Apr 2004 03:52:53 +0000 (23:52 -0400)]
Delete the new store data.
--HG--
extra : convert_revision :
1a03ab0500867e9855ff0cc343e29200c109cb1f
Erik Hallnor [Tue, 13 Apr 2004 02:07:33 +0000 (22:07 -0400)]
Add data to stores to make compression results consistant across version of the code.
--HG--
extra : convert_revision :
c72f46685e31cc93b1c1ddab78b8cf30473d4ac9
Erik Hallnor [Fri, 9 Apr 2004 04:36:53 +0000 (00:36 -0400)]
Connect the bus bridge up correctly, internally.
--HG--
extra : convert_revision :
323c0a79800721e4ecd253000095eb0a7a36bb29
Steve Reinhardt [Tue, 6 Apr 2004 17:02:00 +0000 (10:02 -0700)]
Beta version of Python configuration tool. Generates .ini files from
Python script description.
arch/alpha/alpha_memory.cc:
dev/io_device.cc:
Add DEFINE_SIM_OBJECT_CLASS_NAME for intermediate SimObjects.
test/paramtest.cc:
Fix stupid spelling.
--HG--
extra : convert_revision :
dc020208cb6507c1afb1ed771a7218daba678e09
Steve Reinhardt [Mon, 5 Apr 2004 18:01:01 +0000 (11:01 -0700)]
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
--HG--
extra : convert_revision :
ca1c124e667fb6d2927959a2078dd2e28c26cd2b
Steve Reinhardt [Mon, 5 Apr 2004 18:00:48 +0000 (11:00 -0700)]
Changes to config to allow everything (including 'children'
and 'type') to be specified via instance name and not just
config class. Old code only did instance-name lookup for
SimObject parameters. This feature makes life easier for
transitioning to the Python script-based config.
sim/builder.cc:
Use ConfigNode::find to look for "type" parameter so it can
be found if set under instance name (not config class).
sim/param.cc:
Make Param<bool> accept "1" for true and "0" for false.
--HG--
extra : convert_revision :
f40d0878d0f03b2e216f0506c05d0e52db608cca
Erik Hallnor [Mon, 5 Apr 2004 05:09:46 +0000 (01:09 -0400)]
Make BusBridge bidirectional. Add a new slave and master interface to help accomplish this.
--HG--
extra : convert_revision :
41bf9ce95e2965e13f7325b0b0b3be198ca86aee
Steve Reinhardt [Sat, 3 Apr 2004 21:46:10 +0000 (13:46 -0800)]
More {Itb,Dtb} -> {ITB,DTB} renames (forgot to test build KERNEL).
Also missed renames in a bunch of config files somehow.
(See previous changeset for list of renames.)
arch/alpha/alpha_memory.cc:
arch/alpha/ev5.cc:
arch/alpha/faults.hh:
cpu/exec_context.cc:
cpu/exec_context.hh:
cpu/simple_cpu/simple_cpu.hh:
More {Itb,Dtb} -> {ITB,DTB} renames (forgot to test build KERNEL).
--HG--
extra : convert_revision :
b2c6ca0916b72b59895520fcacaf028667560a0d
Steve Reinhardt [Sat, 3 Apr 2004 07:19:08 +0000 (23:19 -0800)]
Merge
--HG--
extra : convert_revision :
dadfa2cd97908d769f1e2d5c645140f296ec6a82
Steve Reinhardt [Sat, 3 Apr 2004 06:57:08 +0000 (22:57 -0800)]
Basic cleanup pass to get rid of a few things that made the Python
configuration unnecessarily awkward. Biggest changes are:
- External and internal object names now match in all cases. The
macros still allow them to be different; the only reason I didn't
get rid of that is that the macros themselves should be going away
soon. In the few conflicting cases, I sometimes renamed the C++ object
and sometimes renamed the config object. The latter sets of substitions
are:
s/BaseBus/Bus/;
s/MemoryObject/FunctionalMemory/;
s/MemoryControl/MemoryController/;
s/FUPool/FuncUnitPool/;
- SamplingCPU is temporarily broken... we need to change the model
of how this works in the .ini file. Having it as a CPU proxy is
really awkward.
arch/alpha/alpha_memory.cc:
arch/alpha/alpha_memory.hh:
cpu/simple_cpu/simple_cpu.cc:
sim/process.cc:
Rename objects to match config name.
cpu/base_cpu.cc:
Uncomment SimObject define since SamplingCPU no longer
does this for us.
dev/ethertap.cc:
Use unsigned instead of uint16_t for params.
kern/tru64/tru64_system.cc:
Use unsigned instead of uint64_t for init_param param.
test/paramtest.cc:
Fix old SimObjectParam.
--HG--
extra : convert_revision :
378ebbc6a71ad0694501d09979a44d111a59e8dc
Erik Hallnor [Fri, 2 Apr 2004 09:13:48 +0000 (04:13 -0500)]
Add new range functions to DmaInterface as well.
--HG--
extra : convert_revision :
3a7aa3e6495de86c365128b4bd1ef41fe8ff4142
Erik Hallnor [Fri, 2 Apr 2004 08:03:30 +0000 (03:03 -0500)]
Add automatic bus bridge address range setting/resetting. You can no longer directly set a address range on a bus bridge.
--HG--
extra : convert_revision :
708fb67b82c619f340f2b5a95f4542b573004774
Steve Reinhardt [Fri, 2 Apr 2004 06:18:00 +0000 (22:18 -0800)]
Fix dependencies (broken since Nate's tree-build change).
--HG--
extra : convert_revision :
7be203a46c53ac7cf464ac3857e27259a846dcfb
Erik Hallnor [Thu, 1 Apr 2004 23:23:17 +0000 (18:23 -0500)]
Add a average references to a cache block stat.
--HG--
extra : convert_revision :
ba0ff82985a44c8e2de129194b1f755199469f8f
Nathan Binkert [Fri, 26 Mar 2004 10:43:29 +0000 (05:43 -0500)]
Get rid of the printExtraOutput stuff
--HG--
extra : convert_revision :
d82718ad4b3c5dd56a99c727e78b39917f9d4541
Nathan Binkert [Thu, 25 Mar 2004 10:46:35 +0000 (05:46 -0500)]
Merge zizzer.eecs.umich.edu:/bk/m5
into crampon.:/z/binkertn/research/m5/latest
--HG--
extra : convert_revision :
f210926c232d2999703bbb0adf08899d8c041729
Nathan Binkert [Thu, 25 Mar 2004 10:46:16 +0000 (05:46 -0500)]
Get rid of symlink hack in makefile
--HG--
extra : convert_revision :
c1bc90a1d823f8034da692afd6005456ef98831b
Steve Reinhardt [Thu, 25 Mar 2004 07:29:10 +0000 (23:29 -0800)]
Minor cleanup from building & diffing behavior
on various platforms.
base/hashmap.hh:
gcc on Alpha doesn't always define __LP64__,
even though it arguably should.
cpu/exec_context.cc:
Clear register file on non-full-system too (even though
it typically gets overwritten by the initial regs from
the Process object).
sim/process.cc:
Clear initial register copy in Process object.
Not all regs get initialized when the executable is loaded.
--HG--
extra : convert_revision :
f1fe4734a5ea81331d70994cb5284b1e9db0dceb
Nathan Binkert [Wed, 24 Mar 2004 15:25:18 +0000 (10:25 -0500)]
Don't indent namespaces because it just wastes space
--HG--
extra : convert_revision :
2236838a40bf77689a3d75df718c0da410c3fbb6
Nathan Binkert [Wed, 24 Mar 2004 15:00:29 +0000 (10:00 -0500)]
Get rid of the old VPATH stuff for getting at source files
instead, require a path for each file.
--HG--
extra : convert_revision :
9ecab85eefd10ee988edce06dd6c94e8df42ad95
Nathan Binkert [Wed, 24 Mar 2004 10:16:13 +0000 (05:16 -0500)]
Merge zizzer.eecs.umich.edu:/bk/m5
into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest
--HG--
extra : convert_revision :
b0af82ea6028d1f7f6756edf266945732c25ad52
Nathan Binkert [Wed, 24 Mar 2004 10:13:49 +0000 (05:13 -0500)]
Hacks to make the libelf stuff work in openbsd.
base/loader/elf_object.cc:
The symbol versioning stuff screws up OpenBSD. We don't need it anyway
--HG--
extra : convert_revision :
736d5c1baaf7f5727665f84cc08e3781e193b389
Erik Hallnor [Wed, 24 Mar 2004 09:41:27 +0000 (04:41 -0500)]
Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5
--HG--
extra : convert_revision :
d950120ed0f96421bb953a96db94fb4aecf2241d
Erik Hallnor [Wed, 24 Mar 2004 09:41:19 +0000 (04:41 -0500)]
A few memory system performance enhancements.
base/compression/lzss_compression.cc:
base/compression/lzss_compression.hh:
Rework for better performance
--HG--
extra : convert_revision :
b13d706e0e23cbe7122b611258354c66cf5f3c70
Nathan Binkert [Wed, 24 Mar 2004 09:39:22 +0000 (04:39 -0500)]
memory.ini:
make the default width narrower
--HG--
extra : convert_revision :
eb25a979d065e9e3aaf030417a22c581209d8630
Nathan Binkert [Wed, 24 Mar 2004 09:35:48 +0000 (04:35 -0500)]
Minor changes to Time
base/time.cc:
base/time.hh:
Don't set the current time in the constructor. Use a flag and
make the default to not set the time.
Change reset() to set(). Dunno. Just seems right.
--HG--
extra : convert_revision :
5a3b09ed30376d4863b45b2bae551ba1c3aff8e1
Nathan Binkert [Wed, 24 Mar 2004 07:59:43 +0000 (02:59 -0500)]
ULL()
--HG--
extra : convert_revision :
543313ec248457e6cb2f8315881f030545e8cf45
Erik Hallnor [Mon, 22 Mar 2004 18:59:51 +0000 (13:59 -0500)]
Fix to compile m5.fast
--HG--
extra : convert_revision :
b557975e2b03944abd5243ab9ea3e3ff6a915981
Erik Hallnor [Sun, 21 Mar 2004 06:20:19 +0000 (01:20 -0500)]
Update to store uncompressed data in the cache blocks at all times. This will allow us to simulate compression without paying the uncompress penalty on reads.
This also had the side-effect of getting copies and compression working together (collecting of code in helper function made this easier.)
--HG--
extra : convert_revision :
f81d3d7254b5a0c1cc82a7389c95a0b71ff67fc0
Erik Hallnor [Tue, 16 Mar 2004 02:24:50 +0000 (21:24 -0500)]
Pass cache block pointer when we have it.
--HG--
extra : convert_revision :
453690e0d7b53ecb7a9a3eb75a6365d13fd27573
Erik Hallnor [Thu, 11 Mar 2004 05:54:54 +0000 (00:54 -0500)]
Use the specific tag type where we can.
--HG--
extra : convert_revision :
f6a8f9630a58486df026bea61fcfe46e223dc8e8
Erik Hallnor [Sun, 7 Mar 2004 06:26:16 +0000 (01:26 -0500)]
Performance improvement for unaligned copy
--HG--
extra : convert_revision :
36a67874c119c4ef5dbd6692292dae1a5dcfded0
Lisa Hsu [Sat, 6 Mar 2004 00:18:58 +0000 (19:18 -0500)]
change the naming of MainBins. didn't check this in before because i had random debug statements i didn't want to push along with it.
kern/tru64/tru64_system.cc:
change the naming of Bins, add some DPRINTFs
--HG--
extra : convert_revision :
65eeb61caa3132adc45972feff891e4a969c06c5
Lisa Hsu [Fri, 5 Mar 2004 20:15:23 +0000 (15:15 -0500)]
fix ALPHA
cpu/exec_context.cc:
put this code between #ifdef FULL_SYSTEM
--HG--
extra : convert_revision :
b934c7085d2a4337149ab8180a7d50851fbbf170
Lisa Hsu [Fri, 5 Mar 2004 13:16:33 +0000 (08:16 -0500)]
changes that affect post checkpoint runs.
cpu/exec_context.cc:
you can't delete an element of an array that you newed. oops.
kern/tru64/tru64_events.cc:
changes to reflect .ini changes, and also b/c es_intr and ipintr can happen at ANY point, even within a current calling path being tracked.
sim/system.cc:
can't delete an element of a newed array. must new them separately.
--HG--
extra : convert_revision :
21573327b7b7f20bf9a3fcfb5854526433e17e17
Lisa Hsu [Fri, 5 Mar 2004 11:15:30 +0000 (06:15 -0500)]
bin user and kernel stats
--HG--
extra : convert_revision :
66e6181ad3e8b6567da9f2b82d87e7af49f28eaf
Lisa Hsu [Fri, 5 Mar 2004 11:14:33 +0000 (06:14 -0500)]
nother fix
cpu/exec_context.cc:
nother little bug...forgot to pop off stack as i read off it
sim/system.cc:
forgot to pop off stack as i read off it
--HG--
extra : convert_revision :
d1f691c0a9f0fa22281c717ee465d8a5f1e45c13
Lisa Hsu [Fri, 5 Mar 2004 10:54:54 +0000 (05:54 -0500)]
Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/work/bk/bincleanup
--HG--
extra : convert_revision :
e4303df381e5f397d15c37eb05377be1860f89be
Lisa Hsu [Fri, 5 Mar 2004 10:54:46 +0000 (05:54 -0500)]
forgot to check this in
--HG--
extra : convert_revision :
3090da3ab1077736bae52519143b44b08dd5ddb9
Nathan Binkert [Fri, 5 Mar 2004 10:50:33 +0000 (05:50 -0500)]
Merge zizzer.eecs.umich.edu:/bk/m5
into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest
--HG--
extra : convert_revision :
51b3fd809a77e146b8370636b2cc60ddf1075195
Nathan Binkert [Fri, 5 Mar 2004 10:50:19 +0000 (05:50 -0500)]
Don't dump an ethertrace by default
Update the system dir for the addition of parallel and dirty netperf
--HG--
extra : convert_revision :
e46efb32e0d6c21047507d444d41e7d55fbfb770
Nathan Binkert [Fri, 5 Mar 2004 10:49:49 +0000 (05:49 -0500)]
Make payload splitting accessible with a #define
--HG--
extra : convert_revision :
90b86b270a84cffaf3d13a2b83c04f33bb442e44
Nathan Binkert [Fri, 5 Mar 2004 10:48:56 +0000 (05:48 -0500)]
add a mechanism for delayed interrupts (aka. interrupt coalescing)
re-do fixed dma latency
--HG--
extra : convert_revision :
b91e6b69682f66e424782e89500d3ad47b797e25
Nathan Binkert [Fri, 5 Mar 2004 10:47:05 +0000 (05:47 -0500)]
Add support for a propagation delay on the link. The electrical
delay is more or less folded into the packet time, but an additional
delay is possible representing crossing a long haul link, or some
switches, etc.
--HG--
extra : convert_revision :
8fd689c2a7e3051e77f47a4cd5f51c6999d92c8f
Nathan Binkert [Fri, 5 Mar 2004 10:45:45 +0000 (05:45 -0500)]
constructor option to make the wrapped event autodelete
--HG--
extra : convert_revision :
8663c874c533685adf21eea968b08b40b7d7b665
Nathan Binkert [Fri, 5 Mar 2004 10:44:46 +0000 (05:44 -0500)]
use %#x so we know that it is hex
--HG--
extra : convert_revision :
7da77cd9a16ba70eeb0382c3c79b1475554a2d4c
Nathan Binkert [Fri, 5 Mar 2004 10:44:11 +0000 (05:44 -0500)]
add ticks per picosecond
--HG--
extra : convert_revision :
1585e7f89340b941e699db6b81080af58500a7c2
Lisa Hsu [Fri, 5 Mar 2004 10:38:04 +0000 (05:38 -0500)]
small bugfix, forgot to increment iter
sim/system.cc:
oops, forgot to increment iter.
--HG--
extra : convert_revision :
95fcd337d00157ccf072f0eb301b76f280480839
Lisa Hsu [Fri, 5 Mar 2004 10:09:05 +0000 (05:09 -0500)]
serialization for binning. it is WAAAAAAAY past my bedtime.
cpu/exec_context.cc:
sim/system.cc:
sim/system.hh:
serialization for binning
--HG--
extra : convert_revision :
f8417794a3a5ec7f2addc9c2da0f48e851899112
Lisa Hsu [Fri, 5 Mar 2004 02:57:17 +0000 (21:57 -0500)]
Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/work/bk/bincleanup
--HG--
extra : convert_revision :
7b5dc465231a861f0b460e3cbf9ee2ad2b2f5246
Lisa Hsu [Fri, 5 Mar 2004 02:57:09 +0000 (21:57 -0500)]
Overall gist of this is to 'dynamicize' the tracking of functions so you can choose them at the .ini stage rather than at compile time.
to do it:
in .ini file set binned_fns=foo null bar foo
what this says is, track foo when it is called by null (i.e. anything). bin bar only when it is called by foo.
essentially, if you have a path of functions to track, the 0th, 2nd, 4th fn listed are the fns to track, and the 1st, 3rd, 5th are their respective callers.
base/statistics.hh:
turn it back to FS_MEASURE since we already have a build in place
kern/tru64/tru64_events.cc:
remove FS_MEASURE #defs. add more DPRINTF's. manage an anomaly that happens when tracking idle_thread.
kern/tru64/tru64_events.hh:
remove FS_MEASURE #defs
kern/tru64/tru64_system.cc:
make DumpState print all the time, but only with DPRINTF. add a new parameter to tru64System a vector<string> binned_fns, to read in from .ini file. now all this binning stuff is dynamically generated.
kern/tru64/tru64_system.hh:
remove all static binning stuff, add support for dynamic
sim/system.cc:
change nonPath bin name to Kernel, remove FS_MEASURE
sim/system.hh:
change nonPath to Kernel
--HG--
extra : convert_revision :
9ee813c0a64273bab4125815b7bc8145c5897ec1
Erik Hallnor [Fri, 5 Mar 2004 01:03:38 +0000 (20:03 -0500)]
Reenable functioning copies.
arch/alpha/isa_desc:
Reenable copies.
--HG--
extra : convert_revision :
99259c0ff65e742e617cba1c14f5d1bf4be2fee8
Erik Hallnor [Thu, 4 Mar 2004 20:06:34 +0000 (15:06 -0500)]
Automerged
--HG--
extra : convert_revision :
7b56535ee32551f27db8d98172159f63e5099835
Erik Hallnor [Thu, 4 Mar 2004 19:57:57 +0000 (14:57 -0500)]
Copy implementations
arch/alpha/isa_desc:
Need to return fault for copy operations.
cpu/exec_context.hh:
Add temporary storage to pass source address from copy load to copy store
cpu/simple_cpu/simple_cpu.cc:
Implement copy functions.
cpu/simple_cpu/simple_cpu.hh:
Return fault
--HG--
extra : convert_revision :
98e5ce563449d6057ba45c70eece9235f1649a90
Andrew Schultz [Wed, 3 Mar 2004 03:02:33 +0000 (22:02 -0500)]
Script and ini file for new specweb images (the threaded ones)
--HG--
extra : convert_revision :
82f66462bb2607e427db40147d7f8cc705ed3853
Erik Hallnor [Tue, 2 Mar 2004 23:45:08 +0000 (18:45 -0500)]
Add some stats to track latencies of small and large DMA transactions.
--HG--
extra : convert_revision :
1792d396f00bd24e9577f7883461b389e96ef803
Ron Dreslinski [Tue, 2 Mar 2004 20:13:01 +0000 (15:13 -0500)]
Reduce redundant code, fix so that if the dma request is only as big as
the header, and fix so that it doesn't keep requesting the payload bus
if the sendRequest was unsuccesful.
--HG--
extra : convert_revision :
7fda85ccf38ea99a457ae0d6902704cb2ba053cd
Ron Dreslinski [Tue, 2 Mar 2004 17:59:24 +0000 (12:59 -0500)]
Make sure to arbitrate for the payload bus in the header splitting case,
and to free up the header bus by returning false. If there is no
header splitting it will work normally.
--HG--
extra : convert_revision :
4f6dd07e33e510502806256b1b8089d85d600233
Ron Dreslinski [Tue, 2 Mar 2004 07:49:19 +0000 (02:49 -0500)]
Add more statistics about dma requests, shorten names for easier readability
of stats
--HG--
extra : convert_revision :
052a03c3e7a6b4b4ee000f291332bdec59c94f96
Ron Dreslinski [Tue, 2 Mar 2004 07:21:15 +0000 (02:21 -0500)]
Add a name parameter so the statistics work properly
--HG--
extra : convert_revision :
5ea9d5c5f0a0e19afe6956e004113d87d347d698
Ron Dreslinski [Tue, 2 Mar 2004 06:04:12 +0000 (01:04 -0500)]
Add statistics to calculate average round-trip delay for DMA
--HG--
extra : convert_revision :
1aa436e4dc2981444b4aab102c24c99f5b3280cd
Ron Dreslinski [Tue, 2 Mar 2004 02:38:33 +0000 (21:38 -0500)]
Change ini again because I messed up the resolve
--HG--
extra : convert_revision :
f46902ec51e0db3f4dcfedc4937c8f9504074463
Ron Dreslinski [Tue, 2 Mar 2004 02:26:21 +0000 (21:26 -0500)]
Auto merged
--HG--
extra : convert_revision :
607177f165a6057de8befd554d31478bbda55239
Ron Dreslinski [Tue, 2 Mar 2004 02:17:28 +0000 (21:17 -0500)]
Add support for two buses to the DMA, allows header splitting
The two busses are labeled header/payload. The header_size
designates the number of cache blocks to send on the header bus.
--HG--
extra : convert_revision :
930411052d2183311f9be7a10087c77552a35b37
Nathan Binkert [Mon, 1 Mar 2004 21:22:51 +0000 (16:22 -0500)]
Initial cut at adding support to make the state machine
take time
--HG--
extra : convert_revision :
f30ab2f00dd6f00ad8020912e709d057a2875526
Nathan Binkert [Mon, 1 Mar 2004 21:22:09 +0000 (16:22 -0500)]
Use #define CPU_10GHZ and CPU_4GHZ. This should get fixed when
we switch over to making ticks represent time directly.
--HG--
extra : convert_revision :
29e76e909a184e1ba005a98dd80ca5da1d345f3e
Nathan Binkert [Mon, 1 Mar 2004 21:19:12 +0000 (16:19 -0500)]
Support several memory configurations for hooking up devices
to memory in different configurations
--HG--
extra : convert_revision :
9e31c2fa96eeb42160cc0b892e10e6db58fe786b
Nathan Binkert [Mon, 1 Mar 2004 21:18:02 +0000 (16:18 -0500)]
add support for averaging
--HG--
extra : convert_revision :
f0b5f622f96795a5d2160eeb2b52ecfd83170b67
Nathan Binkert [Mon, 1 Mar 2004 21:17:18 +0000 (16:17 -0500)]
Only need an execution context if we're doing data
--HG--
extra : convert_revision :
389a02fbf2f266e0c5e8ae07fd28138f7ebfc80c
Erik Hallnor [Mon, 1 Mar 2004 04:13:27 +0000 (23:13 -0500)]
Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5
--HG--
extra : convert_revision :
a9b6e6592e9c0f7e5cba45e148005647ea3539c4
Erik Hallnor [Mon, 1 Mar 2004 04:13:04 +0000 (23:13 -0500)]
Fix an assert, only need the ExecContext if we are doing data,
--HG--
extra : convert_revision :
07f674613cb39ffe77dd66c2c9a77ed73b9d75b6
Nathan Binkert [Mon, 1 Mar 2004 03:56:59 +0000 (22:56 -0500)]
Merge zizzer.eecs.umich.edu:/bk/m5
into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest
--HG--
extra : convert_revision :
ba093baca9abfe311621e9589fcec0a892e9f9d1
Nathan Binkert [Mon, 1 Mar 2004 03:56:42 +0000 (22:56 -0500)]
Fix the swichover code. It's only for FULL_SYSTEM
cpu/base_cpu.cc:
#ifdef FULL_SYSTEM
--HG--
extra : convert_revision :
427ee93d545596da00d6c4688a7e32d584054948
Erik Hallnor [Mon, 1 Mar 2004 03:41:11 +0000 (22:41 -0500)]
Remove copys from isa_desc, and implement a store and forward bus bridge
arch/alpha/isa_desc:
Just to make sure, remove the new copy instructions until everything works.
--HG--
extra : convert_revision :
cdd3d4c8fa415175aaee04f4a99340dcf82dbc3a
Nathan Binkert [Mon, 1 Mar 2004 02:35:12 +0000 (21:35 -0500)]
unused function name
--HG--
extra : convert_revision :
ef2994f2d18a36580994b4fa7005e6dceb072b31
Nathan Binkert [Mon, 1 Mar 2004 02:34:25 +0000 (21:34 -0500)]
make it so that we can prevent descriptor DMAs or
data DMAs from touching the memory system. They can
still have a latency though if configured.
--HG--
extra : convert_revision :
d372205643bd46f7fb7d50a20569ac74ae37ce38
Nathan Binkert [Mon, 1 Mar 2004 01:38:25 +0000 (20:38 -0500)]
mark the request satisfied since well, it is.
--HG--
extra : convert_revision :
667c477b0b5ca45d63eaecabcf5119701584599f
Nathan Binkert [Mon, 1 Mar 2004 01:35:55 +0000 (20:35 -0500)]
Avoid more bogus addresses
--HG--
extra : convert_revision :
25bc2adb78e2f96fb28b352a73401c3fa52eab03
Nathan Binkert [Mon, 1 Mar 2004 01:32:30 +0000 (20:32 -0500)]
fix switchover WRT interrupts
cpu/base_cpu.cc:
gah! copy the interrupt status on switchover
--HG--
extra : convert_revision :
d3199a7409a494b7687354c43ffca697f37e8456
Nathan Binkert [Mon, 1 Mar 2004 01:25:52 +0000 (20:25 -0500)]
Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/.automount/ziff/z/binkertn/research/m5/latest
--HG--
extra : convert_revision :
b3fd8bcfbaf1e9d09bac8c1403944df36dde671e
Nathan Binkert [Mon, 1 Mar 2004 01:22:32 +0000 (20:22 -0500)]
Initial cleanup pass of lisa's function call tracking
code.
base/statistics.hh:
We're getting rid of FS_MEASURE, but for now, we're going
to still use a compile time flag to turn on and off binning
of statistics. (The flag is STATS_BINNING)
cpu/exec_context.cc:
cpu/exec_context.hh:
kern/tru64/tru64_system.cc:
get rid of FS_MEASURE
cpu/simple_cpu/simple_cpu.cc:
yank the function call tracking code out of the cpu and move
it into the software context class itself.
kern/tru64/tru64_system.hh:
get rid of FS_MEASURE
move all of the tacking stuff to the same place.
sim/system.hh:
cleanup
--HG--
extra : convert_revision :
73d3843afe1b3ba0d5445421c39c1148d3f4e7c0
Nathan Binkert [Mon, 1 Mar 2004 00:31:58 +0000 (19:31 -0500)]
Merge zizzer.eecs.umich.edu:/bk/m5
into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest
--HG--
extra : convert_revision :
48e5262fc37a5774b10a83e4c36a89c0ef2c8f15
Nathan Binkert [Mon, 1 Mar 2004 00:29:30 +0000 (19:29 -0500)]
more debugging support
base/trace.cc:
code to set/clear/print trace flags from the debugger.
--HG--
extra : convert_revision :
f2a549e9af05c4a177186b9f1792a0493ce15c95
Nathan Binkert [Sun, 29 Feb 2004 23:49:44 +0000 (18:49 -0500)]
Make the progress event work even after restoring from a checkpoint
--HG--
extra : convert_revision :
80e31eb26250700ebe3ce5848e570068cc76ef47