gem5.git
19 years agooops, i changed m5term.doxygen when kev had a lock on it, just use his version
Lisa Hsu [Sun, 5 Jun 2005 06:44:42 +0000 (02:44 -0400)]
oops, i changed m5term.doxygen when kev had a lock on it, just use his version

--HG--
extra : convert_revision : f0b507334b219968a6c6319d2c39bbac3bf4901a

19 years agojust make a minor commenting change reflecting the new way to set up command line...
Lisa Hsu [Sun, 5 Jun 2005 06:38:39 +0000 (02:38 -0400)]
just make a minor commenting change reflecting the new way to set up command line arguments.

--HG--
extra : convert_revision : 95cbda86d1a2cab431269bf8d4501ef2b3a40885

19 years agoupdate documentation
Lisa Hsu [Sun, 5 Jun 2005 06:36:42 +0000 (02:36 -0400)]
update documentation

--HG--
extra : convert_revision : 83446340f3b27d04fda0509bd34f84e12f9852a3

19 years agoMerge zizzer:/bk/m5 into vm1.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt [Sun, 5 Jun 2005 06:26:17 +0000 (02:26 -0400)]
Merge zizzer:/bk/m5 into vm1.reinhardt.house:/z/stever/bk/m5

--HG--
extra : convert_revision : 6f1e9b2650ec9f9a396ee7826e9abffab24848b8

19 years agoGet rid of a bunch of obsolete utilities.
Steve Reinhardt [Sun, 5 Jun 2005 06:26:06 +0000 (02:26 -0400)]
Get rid of a bunch of obsolete utilities.

--HG--
extra : convert_revision : 6ffe39211b6c9cc55f2decd2f1fbdba9ea0fabcd

19 years agoDefualt only build LRU cache, speed compile
Ron Dreslinski [Sun, 5 Jun 2005 06:24:26 +0000 (02:24 -0400)]
Defualt only build LRU cache, speed compile

--HG--
extra : convert_revision : 871d5b79de2cd3da1fb618ff09063aa4a00c39ac

19 years agoActually commit new doxygen stats doc.
Steve Reinhardt [Sun, 5 Jun 2005 06:01:36 +0000 (02:01 -0400)]
Actually commit new doxygen stats doc.

--HG--
extra : convert_revision : 8397036847797c116ce1bcbdb30636e70326c6d6

19 years agoAdd licenses in python dir.
Steve Reinhardt [Sun, 5 Jun 2005 05:57:57 +0000 (01:57 -0400)]
Add licenses in python dir.

python/m5/__init__.py:
python/m5/convert.py:
python/m5/multidict.py:
python/m5/smartdict.py:
    Add license.

--HG--
extra : convert_revision : 825dcad94e13b18aadc7188053ad1999a0219eae

19 years agoUpdate for ISCA release.
Kevin Lim [Sun, 5 Jun 2005 05:50:35 +0000 (01:50 -0400)]
Update for ISCA release.

--HG--
extra : convert_revision : 5c3fd17ba0a5173b22d2977b278013ef50d78a68

19 years agoMerge zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/m5
Ron Dreslinski [Sun, 5 Jun 2005 05:36:12 +0000 (01:36 -0400)]
Merge zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/m5

--HG--
extra : convert_revision : 21175b3a16c1da736cf7f6fba1c327a809f5ef79

19 years agoupdate for ISCA release
Ron Dreslinski [Sun, 5 Jun 2005 05:35:55 +0000 (01:35 -0400)]
update for ISCA release

--HG--
extra : convert_revision : ab97c34b76c253267d48479bd043963be8b7fe4b

19 years agoMerge zizzer.eecs.umich.edu:/bk/m5
Nathan Binkert [Sun, 5 Jun 2005 05:24:16 +0000 (01:24 -0400)]
Merge zizzer.eecs.umich.edu:/bk/m5
into crampon.my.domain:/z/binkertn/research/m5/head

--HG--
extra : convert_revision : cf1b2ab4544492aced52c0012c3a67fee188b683

19 years agomoved uart8530 to encumbered directory
Ali Saidi [Sun, 5 Jun 2005 05:24:15 +0000 (01:24 -0400)]
moved uart8530 to encumbered directory

--HG--
extra : convert_revision : 353e5591df9bbe5a915d226068fb2e406441d3b5

19 years agoMerge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5-clean
Ali Saidi [Sun, 5 Jun 2005 05:22:33 +0000 (01:22 -0400)]
Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5-clean

--HG--
extra : convert_revision : 0c339eb7574f59665690f7e8457eff0b21e3c4c9

19 years agosplit uart into urt8250 and uart8530
Ali Saidi [Sun, 5 Jun 2005 05:22:21 +0000 (01:22 -0400)]
split uart into urt8250 and uart8530
fix some doxygen comments

SConscript:
    Added split uart files
dev/ns_gige.cc:
dev/ns_gige.hh:
dev/ns_gige_reg.h:
dev/tsunami.cc:
dev/tsunami_cchip.cc:
dev/tsunami_io.cc:
dev/tsunami_pchip.cc:
dev/tsunamireg.h:
    fix doxgyen file comment
dev/uart.cc:
dev/uart.hh:
python/m5/objects/Uart.py:
    split uart into urt8250 and uart8530

--HG--
extra : convert_revision : 2e70aad892a37620d7909017648bca6d7d69d678

19 years agoMerge zizzer:/bk/m5 into vm1.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt [Sun, 5 Jun 2005 05:18:18 +0000 (01:18 -0400)]
Merge zizzer:/bk/m5 into vm1.reinhardt.house:/z/stever/bk/m5

--HG--
extra : convert_revision : 2ed9e6c9875903a2cde296155b7d1bee10fea3de

19 years agoImport stats document from html.
Steve Reinhardt [Sun, 5 Jun 2005 05:17:29 +0000 (01:17 -0400)]
Import stats document from html.

--HG--
extra : convert_revision : 0117ca5b2095b18fd079153a4f0847c9158acd9d

19 years agoinsn_fifo isn't used
Nathan Binkert [Sun, 5 Jun 2005 04:45:11 +0000 (00:45 -0400)]
insn_fifo isn't used

--HG--
extra : convert_revision : 2a0c72a4d65a5160ce1317968e565704093291a2

19 years agoMerge zizzer.eecs.umich.edu:/bk/m5
Nathan Binkert [Sun, 5 Jun 2005 04:45:10 +0000 (00:45 -0400)]
Merge zizzer.eecs.umich.edu:/bk/m5
into crampon.my.domain:/z/binkertn/research/m5/head

--HG--
extra : convert_revision : b0c9b044b44a1bfc4cded2ebfa240b799dd4a5a0

19 years agoMinor format tweaks on config file documentation.
Steve Reinhardt [Sun, 5 Jun 2005 04:45:09 +0000 (00:45 -0400)]
Minor format tweaks on config file documentation.

--HG--
extra : convert_revision : ab88d823d6420e3cc3fc37d0b634947df384b631

19 years agoRewrite config file documentation for Python config.
Steve Reinhardt [Sun, 5 Jun 2005 04:08:03 +0000 (00:08 -0400)]
Rewrite config file documentation for Python config.

--HG--
extra : convert_revision : 24525d1f6e119e30943c036ffafae14c5ea25f2d

19 years agoFix doxgyen comments
Ali Saidi [Sun, 5 Jun 2005 03:56:53 +0000 (23:56 -0400)]
Fix doxgyen comments
Use openbsd ide/atapi header files

dev/alpha_console.cc:
dev/alpha_console.hh:
dev/baddev.cc:
dev/baddev.hh:
dev/disk_image.cc:
dev/disk_image.hh:
dev/tsunami_cchip.hh:
dev/tsunami_io.hh:
dev/tsunami_pchip.hh:
    Fix Doxygen comments
dev/ide_disk.cc:
    Use BSD atapi/ide header files
dev/ide_disk.hh:
    use ide/atapi header files

--HG--
extra : convert_revision : a15e40c7d7cc52af6867821e9574ba5c47021721

19 years agoMerge zizzer:/bk/m5 into zed.eecs.umich.edu:/z/hsul/work/m5/clean
Lisa Hsu [Sun, 5 Jun 2005 03:36:11 +0000 (23:36 -0400)]
Merge zizzer:/bk/m5 into zed.eecs.umich.edu:/z/hsul/work/m5/clean

--HG--
extra : convert_revision : e3646dfd2f0844e4be7f5369032f9932eb378fdb

19 years agoget rid of bad panic.
Lisa Hsu [Sun, 5 Jun 2005 03:36:00 +0000 (23:36 -0400)]
get rid of bad panic.

--HG--
extra : convert_revision : e4e6ab8f163b3c93ac7c29ab8ac50f369b190dbb

19 years agoGet rid of broken "long help" option.
Steve Reinhardt [Sun, 5 Jun 2005 03:13:09 +0000 (23:13 -0400)]
Get rid of broken "long help" option.

--HG--
extra : convert_revision : 8b7c646ce416d2a2a4919acbb87c0b6d65920d42

19 years agoMerge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
Steve Reinhardt [Sun, 5 Jun 2005 03:08:49 +0000 (23:08 -0400)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5

--HG--
extra : convert_revision : f12cecd1359770061b52e9f57f2aaa809e61115c

19 years agoClean up to work with recent python config changes.
Steve Reinhardt [Sun, 5 Jun 2005 03:08:26 +0000 (23:08 -0400)]
Clean up to work with recent python config changes.

configs/splash2/run.py:
    parent is now Parent.
    Need to explicitly instantiate classes.

--HG--
extra : convert_revision : c260fad00ca82cb1032e73af2e5caa2ad013067d

19 years agoshuffle files around for new directory structure
Nathan Binkert [Sun, 5 Jun 2005 00:50:10 +0000 (20:50 -0400)]
shuffle files around for new directory structure

--HG--
rename : cpu/base_cpu.cc => cpu/base.cc
rename : cpu/base_cpu.hh => cpu/base.hh
rename : cpu/beta_cpu/2bit_local_pred.cc => cpu/o3/2bit_local_pred.cc
rename : cpu/beta_cpu/2bit_local_pred.hh => cpu/o3/2bit_local_pred.hh
rename : cpu/beta_cpu/alpha_full_cpu.cc => cpu/o3/alpha_cpu.cc
rename : cpu/beta_cpu/alpha_full_cpu.hh => cpu/o3/alpha_cpu.hh
rename : cpu/beta_cpu/alpha_full_cpu_builder.cc => cpu/o3/alpha_cpu_builder.cc
rename : cpu/beta_cpu/alpha_full_cpu_impl.hh => cpu/o3/alpha_cpu_impl.hh
rename : cpu/beta_cpu/alpha_dyn_inst.cc => cpu/o3/alpha_dyn_inst.cc
rename : cpu/beta_cpu/alpha_dyn_inst.hh => cpu/o3/alpha_dyn_inst.hh
rename : cpu/beta_cpu/alpha_dyn_inst_impl.hh => cpu/o3/alpha_dyn_inst_impl.hh
rename : cpu/beta_cpu/alpha_impl.hh => cpu/o3/alpha_impl.hh
rename : cpu/beta_cpu/alpha_params.hh => cpu/o3/alpha_params.hh
rename : cpu/beta_cpu/bpred_unit.cc => cpu/o3/bpred_unit.cc
rename : cpu/beta_cpu/bpred_unit.hh => cpu/o3/bpred_unit.hh
rename : cpu/beta_cpu/bpred_unit_impl.hh => cpu/o3/bpred_unit_impl.hh
rename : cpu/beta_cpu/btb.cc => cpu/o3/btb.cc
rename : cpu/beta_cpu/btb.hh => cpu/o3/btb.hh
rename : cpu/beta_cpu/comm.hh => cpu/o3/comm.hh
rename : cpu/beta_cpu/commit.cc => cpu/o3/commit.cc
rename : cpu/beta_cpu/commit.hh => cpu/o3/commit.hh
rename : cpu/beta_cpu/commit_impl.hh => cpu/o3/commit_impl.hh
rename : cpu/beta_cpu/full_cpu.cc => cpu/o3/cpu.cc
rename : cpu/beta_cpu/full_cpu.hh => cpu/o3/cpu.hh
rename : cpu/beta_cpu/cpu_policy.hh => cpu/o3/cpu_policy.hh
rename : cpu/beta_cpu/decode.cc => cpu/o3/decode.cc
rename : cpu/beta_cpu/decode.hh => cpu/o3/decode.hh
rename : cpu/beta_cpu/decode_impl.hh => cpu/o3/decode_impl.hh
rename : cpu/beta_cpu/fetch.cc => cpu/o3/fetch.cc
rename : cpu/beta_cpu/fetch.hh => cpu/o3/fetch.hh
rename : cpu/beta_cpu/fetch_impl.hh => cpu/o3/fetch_impl.hh
rename : cpu/beta_cpu/free_list.cc => cpu/o3/free_list.cc
rename : cpu/beta_cpu/free_list.hh => cpu/o3/free_list.hh
rename : cpu/beta_cpu/iew.cc => cpu/o3/iew.cc
rename : cpu/beta_cpu/iew.hh => cpu/o3/iew.hh
rename : cpu/beta_cpu/iew_impl.hh => cpu/o3/iew_impl.hh
rename : cpu/beta_cpu/inst_queue.cc => cpu/o3/inst_queue.cc
rename : cpu/beta_cpu/inst_queue.hh => cpu/o3/inst_queue.hh
rename : cpu/beta_cpu/inst_queue_impl.hh => cpu/o3/inst_queue_impl.hh
rename : cpu/beta_cpu/mem_dep_unit.cc => cpu/o3/mem_dep_unit.cc
rename : cpu/beta_cpu/mem_dep_unit.hh => cpu/o3/mem_dep_unit.hh
rename : cpu/beta_cpu/mem_dep_unit_impl.hh => cpu/o3/mem_dep_unit_impl.hh
rename : cpu/beta_cpu/ras.cc => cpu/o3/ras.cc
rename : cpu/beta_cpu/ras.hh => cpu/o3/ras.hh
rename : cpu/beta_cpu/regfile.hh => cpu/o3/regfile.hh
rename : cpu/beta_cpu/rename.cc => cpu/o3/rename.cc
rename : cpu/beta_cpu/rename.hh => cpu/o3/rename.hh
rename : cpu/beta_cpu/rename_impl.hh => cpu/o3/rename_impl.hh
rename : cpu/beta_cpu/rename_map.cc => cpu/o3/rename_map.cc
rename : cpu/beta_cpu/rename_map.hh => cpu/o3/rename_map.hh
rename : cpu/beta_cpu/rob.cc => cpu/o3/rob.cc
rename : cpu/beta_cpu/rob.hh => cpu/o3/rob.hh
rename : cpu/beta_cpu/rob_impl.hh => cpu/o3/rob_impl.hh
rename : cpu/beta_cpu/sat_counter.cc => cpu/o3/sat_counter.cc
rename : cpu/beta_cpu/sat_counter.hh => cpu/o3/sat_counter.hh
rename : cpu/beta_cpu/store_set.cc => cpu/o3/store_set.cc
rename : cpu/beta_cpu/store_set.hh => cpu/o3/store_set.hh
rename : cpu/beta_cpu/tournament_pred.cc => cpu/o3/tournament_pred.cc
rename : cpu/beta_cpu/tournament_pred.hh => cpu/o3/tournament_pred.hh
rename : cpu/ooo_cpu/ooo_cpu.cc => cpu/ozone/cpu.cc
rename : cpu/ooo_cpu/ooo_cpu.hh => cpu/ozone/cpu.hh
rename : cpu/ooo_cpu/ooo_impl.hh => cpu/ozone/cpu_impl.hh
rename : cpu/ooo_cpu/ea_list.cc => cpu/ozone/ea_list.cc
rename : cpu/ooo_cpu/ea_list.hh => cpu/ozone/ea_list.hh
rename : cpu/simple_cpu/simple_cpu.cc => cpu/simple/cpu.cc
rename : cpu/simple_cpu/simple_cpu.hh => cpu/simple/cpu.hh
rename : cpu/full_cpu/smt.hh => cpu/smt.hh
rename : cpu/full_cpu/op_class.hh => encumbered/cpu/full/op_class.hh
extra : convert_revision : c4a891d8d6d3e0e9e5ea56be47d851da44d8c032

19 years agoMerge zizzer.eecs.umich.edu:/bk/m5
Nathan Binkert [Sat, 4 Jun 2005 23:02:53 +0000 (19:02 -0400)]
Merge zizzer.eecs.umich.edu:/bk/m5
into crampon.my.domain:/z/binkertn/research/m5/head

--HG--
extra : convert_revision : 7e9a7c1abf90cc1545d63caf5d6a06351ece36b5

19 years agoMerge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5-clean
Ali Saidi [Sat, 4 Jun 2005 23:02:52 +0000 (19:02 -0400)]
Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5-clean

--HG--
extra : convert_revision : cce752079ba1ae9d4043df959dc448d815e598b1

19 years agoFix monet configuration
Ali Saidi [Sat, 4 Jun 2005 23:00:32 +0000 (19:00 -0400)]
Fix monet configuration

--HG--
extra : convert_revision : fe053d8fe69cc8731161a875cbf8b78cda48e4b1

19 years agoRemove the inorder CPU
Nathan Binkert [Sat, 4 Jun 2005 22:41:44 +0000 (18:41 -0400)]
Remove the inorder CPU

--HG--
extra : convert_revision : 626aad449df9370383becb8e14f4cbf406b5b376

19 years agoGet rid of vestiges of .mpy file handling.
Steve Reinhardt [Sat, 4 Jun 2005 22:41:43 +0000 (18:41 -0400)]
Get rid of vestiges of .mpy file handling.

--HG--
extra : convert_revision : 309b051be3473e2d42d3200c1af84227d01b5900

19 years agoBaseSystem -> System
Nathan Binkert [Sat, 4 Jun 2005 18:19:05 +0000 (14:19 -0400)]
BaseSystem -> System
Make System an object that can be instantiated.  For operating
systems that don't need any OS specific hacks.

python/m5/objects/AlphaConsole.py:
python/m5/objects/BaseCPU.py:
python/m5/objects/Tsunami.py:
    BaseSystem -> System

--HG--
rename : python/m5/objects/BaseSystem.py => python/m5/objects/System.py
extra : convert_revision : e5d12db02abef1b0eda720b50dd2c09cb1ac5232

19 years agomore portable
Nathan Binkert [Sat, 4 Jun 2005 18:16:04 +0000 (14:16 -0400)]
more portable

arch/alpha/alpha_tru64_process.cc:
    Sort #includes
    Make code more portable. g++ doesn't seem to always like
    struct ::stat (and others). So, we typedef stat outside of
    the namespace as something else and use the typedef
base/hostinfo.cc:
    use snprintf to quell warning
base/inifile.cc:
    use strncpy to quell warning
base/stats/events.cc:
    don't use strcpy
cpu/beta_cpu/btb.cc:
    use FloorLog2 instead of log2
cpu/beta_cpu/comm.hh:
cpu/beta_cpu/inst_queue.hh:
cpu/beta_cpu/sat_counter.hh:
    use sim/host.hh instead of stdint.h

--HG--
extra : convert_revision : 59bd9235dda74e72a8b6a70b3f3a981840384f3f

19 years agoMake m5.fast work
Nathan Binkert [Sat, 4 Jun 2005 01:47:30 +0000 (21:47 -0400)]
Make m5.fast work

base/loader/elf_object.cc:
    elf_version is an odd function.  Don't use assert since it
    has a necessary side effect.

--HG--
extra : convert_revision : 8c48f91afe6c7ff5030ac1a534dcda7e2e0c5c57

19 years agoBug fix & cleanup in config code.
Steve Reinhardt [Fri, 3 Jun 2005 20:21:37 +0000 (16:21 -0400)]
Bug fix & cleanup in config code.

python/m5/config.py:
    Bug fix: code was silently converting between
    incompatible SimObject types as an unintended
    side-effect of the object cloning support.

--HG--
extra : convert_revision : 236f4fe5370f2eddf8af8fab68e2b83dccc34305

19 years agoAdditions/fixes for Tru64 syscall emulation.
Steve Reinhardt [Fri, 3 Jun 2005 20:19:34 +0000 (16:19 -0400)]
Additions/fixes for Tru64 syscall emulation.
We can now run the SimpleScalar wupwise binary
to completion on the test input.
Didn't have time to do more testing, but I fixed
a major problem w/getdirentries that should help
a lot more programs run.

arch/alpha/alpha_tru64_process.cc:
    Add truncate, ftruncate, statfs, and fstatfs.
    Add v4.x (pre-F64) stat, fstat, and lstat.
    Add setsysinfo (though all it does is provide more
    specific warning messages).
    Fix subtle but major bug in getdirentries.
sim/syscall_emul.cc:
sim/syscall_emul.hh:
    Add truncate, ftruncate, statfs, and fstatfs.

--HG--
extra : convert_revision : 9037393d00dc49b0074a41603ea647587f5a9ec7

19 years agoMake m5.fast work when there are no Trace.flags
Nathan Binkert [Fri, 3 Jun 2005 14:07:27 +0000 (10:07 -0400)]
Make m5.fast work when there are no Trace.flags

--HG--
extra : convert_revision : 05eda14b86311013d3c32ee56f9f52ae94126fb4

19 years agoRename builds more descriptively:
Steve Reinhardt [Thu, 2 Jun 2005 20:15:43 +0000 (16:15 -0400)]
Rename builds more descriptively:
ALPHA -> ALPHA_SE (for Syscall Emulation)
KERNEL -> ALPHA_FS
KERN_TLASER -> ALPHA_FS_TL
Also renamed configs/kernel dir to configs/fullsys.

README:
build/SConstruct:
    Rename builds more descriptively.

--HG--
extra : convert_revision : f2bffb3ad0fc5068cc7fa20661ed9e4e7bc5b202

19 years agoclean up command line stuff
Nathan Binkert [Thu, 2 Jun 2005 15:20:31 +0000 (11:20 -0400)]
clean up command line stuff

sim/main.cc:
    Clean uo usage output and print usage when no options are given
    Don't accept mpy files anymore since we don't use them.

--HG--
extra : convert_revision : c3b16f602f301d2de12547285334c0037d829998

19 years agoFix-up some config issues
Nathan Binkert [Thu, 2 Jun 2005 15:19:01 +0000 (11:19 -0400)]
Fix-up some config issues

python/m5/config.py:
    Make NetworkBandwidth and MemoryBandwidth work
python/m5/objects/Ethernet.py:
    Make 1Gbps default for ethernet

--HG--
extra : convert_revision : 59e62f7e62624356ae8d7304598617f60667f040

19 years agoupdate copyrights that are spit out on the console.
Nathan Binkert [Thu, 2 Jun 2005 15:17:45 +0000 (11:17 -0400)]
update copyrights that are spit out on the console.

--HG--
extra : convert_revision : e927fd48d2cc82d20478baeb05f58dce07a800e7

19 years agoMore de-SimpleScalarization of cache code.
Steve Reinhardt [Thu, 2 Jun 2005 05:03:17 +0000 (01:03 -0400)]
More de-SimpleScalarization of cache code.

--HG--
extra : convert_revision : b310a0e8a02487302d4861cfa08543b6047a0ff7

19 years agoMerge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
Steve Reinhardt [Thu, 2 Jun 2005 04:08:09 +0000 (00:08 -0400)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5

--HG--
extra : convert_revision : 71d4611b6d9496d3237c4d0cd46912a108ec8653

19 years agoChange lru/iic parameter checks for licensing.
Erik Hallnor [Thu, 2 Jun 2005 03:14:10 +0000 (23:14 -0400)]
Change lru/iic parameter checks for licensing.

--HG--
extra : convert_revision : 5d5ae086d5e7981d49c68a2283ad2c08e27b4399

19 years agoGet rid of unused sim/int_stats.* files.
Steve Reinhardt [Thu, 2 Jun 2005 02:09:22 +0000 (22:09 -0400)]
Get rid of unused sim/int_stats.* files.

--HG--
extra : convert_revision : 6b86e97fbadbd6f00c0bc52f0ab07fd7741f9818

19 years agoRename sim/universe.{cc,hh} to root.{cc,hh} (since the
Steve Reinhardt [Thu, 2 Jun 2005 01:59:27 +0000 (21:59 -0400)]
Rename sim/universe.{cc,hh} to root.{cc,hh} (since the
object defined there was renamed Root long ago).

SConscript:
arch/alpha/alpha_linux_process.cc:
arch/alpha/alpha_tru64_process.cc:
base/misc.cc:
base/pollevent.cc:
base/pollevent.hh:
base/stats/events.cc:
base/trace.hh:
cpu/beta_cpu/fetch_impl.hh:
cpu/beta_cpu/full_cpu.cc:
cpu/beta_cpu/inst_queue_impl.hh:
cpu/pc_event.cc:
cpu/static_inst.cc:
dev/etherbus.cc:
dev/etherdump.cc:
dev/etherlink.cc:
dev/ide_disk.cc:
dev/pcidev.cc:
sim/builder.cc:
sim/eventq.cc:
sim/main.cc:
sim/root.cc:
sim/stat_control.cc:
    Rename sim/universe.{cc,hh} to root.{cc,hh}.

--HG--
rename : sim/universe.cc => sim/root.cc
extra : convert_revision : b8699e81e285253d66da75412e7bb2c251c0389a

19 years agoStandardize clock parameter names to 'clock'.
Steve Reinhardt [Thu, 2 Jun 2005 01:44:00 +0000 (21:44 -0400)]
Standardize clock parameter names to 'clock'.
Fix description for Bus clock_ratio (no longer a ratio).
Add Clock param type (generic Frequency or Latency).

cpu/base_cpu.cc:
cpu/base_cpu.hh:
cpu/beta_cpu/alpha_full_cpu_builder.cc:
cpu/simple_cpu/simple_cpu.cc:
dev/ide_ctrl.cc:
dev/ns_gige.cc:
dev/ns_gige.hh:
dev/pciconfigall.cc:
dev/sinic.cc:
dev/tsunami_cchip.cc:
dev/tsunami_io.cc:
dev/tsunami_pchip.cc:
dev/uart.cc:
python/m5/objects/BaseCPU.py:
python/m5/objects/BaseCache.py:
python/m5/objects/BaseSystem.py:
python/m5/objects/Bus.py:
python/m5/objects/Ethernet.py:
python/m5/objects/Root.py:
sim/universe.cc:
    Standardize clock parameter names to 'clock'.
    Fix description for Bus clock_ratio (no longer a ratio).
python/m5/config.py:
    Minor tweaks on Frequency/Latency:
    - added new Clock param type to avoid ambiguities
    - factored out init code into getLatency()
    - made RootFrequency *not* a subclass of Frequency so it
    can't be directly assigned to a Frequency paremeter

--HG--
extra : convert_revision : fc4bb8562df171b454bbf696314cda57e1ec8506

19 years agoGet rid of obsolete simobj/SConscript
Steve Reinhardt [Wed, 1 Jun 2005 21:14:42 +0000 (17:14 -0400)]
Get rid of obsolete simobj/SConscript

--HG--
extra : convert_revision : 2f2a5e1702a5ad09d80362e25a895e6181b2117c

19 years agoA few more config updates. Works with regression now.
Steve Reinhardt [Wed, 1 Jun 2005 21:08:45 +0000 (17:08 -0400)]
A few more config updates.  Works with regression now.

configs/splash2/run.py:
    Update file for new config changes.
python/m5/config.py:
    - isParamContext() not defined any more
    - fix bug with re-assigning vectors over scalars
    and vice versa

--HG--
rename : configs/splash2/run.mpy => configs/splash2/run.py
extra : convert_revision : 2eb28a92f8de327f6dfddd01467c61e759275f6b

19 years agoMajor cleanup of python config code.
Steve Reinhardt [Sun, 29 May 2005 05:14:50 +0000 (01:14 -0400)]
Major cleanup of python config code.
Special mpy importer is gone; everything is just plain
Python now (funky, but straight-up).
May not completely work yet... generates identical ini
files for many configs/kernel settings, but I have yet
to run it against regressions.  This commit is for my
own convenience and won't be pushed until more testing
is done.

python/m5/__init__.py:
    Get rid of mpy_importer and param_types.
python/m5/config.py:
    Major cleanup.  We now have separate classes and
    instances for SimObjects.  Proxy handling and param
    conversion significantly reorganized.  No explicit
    instantiation step anymore; we can dump an ini file
    straight from the original tree.
    Still needs more/better/truer comments.
test/genini.py:
    Replace LoadMpyFile() with built-in execfile().
    Export __main__.m5_build_env.
python/m5/objects/AlphaConsole.py:
python/m5/objects/AlphaFullCPU.py:
python/m5/objects/AlphaTLB.py:
python/m5/objects/BadDevice.py:
python/m5/objects/BaseCPU.py:
python/m5/objects/BaseCache.py:
python/m5/objects/BaseSystem.py:
python/m5/objects/Bus.py:
python/m5/objects/CoherenceProtocol.py:
python/m5/objects/Device.py:
python/m5/objects/DiskImage.py:
python/m5/objects/Ethernet.py:
python/m5/objects/Ide.py:
python/m5/objects/IntrControl.py:
python/m5/objects/MemTest.py:
python/m5/objects/Pci.py:
python/m5/objects/PhysicalMemory.py:
python/m5/objects/Platform.py:
python/m5/objects/Process.py:
python/m5/objects/Repl.py:
python/m5/objects/Root.py:
python/m5/objects/SimConsole.py:
python/m5/objects/SimpleDisk.py:
python/m5/objects/Tsunami.py:
python/m5/objects/Uart.py:
    Fixes for eliminating mpy_importer, and modified
    handling of frequency/latency params.
    Also renamed parent to Parent.

--HG--
rename : python/m5/objects/AlphaConsole.mpy => python/m5/objects/AlphaConsole.py
rename : python/m5/objects/AlphaFullCPU.mpy => python/m5/objects/AlphaFullCPU.py
rename : python/m5/objects/AlphaTLB.mpy => python/m5/objects/AlphaTLB.py
rename : python/m5/objects/BadDevice.mpy => python/m5/objects/BadDevice.py
rename : python/m5/objects/BaseCPU.mpy => python/m5/objects/BaseCPU.py
rename : python/m5/objects/BaseCache.mpy => python/m5/objects/BaseCache.py
rename : python/m5/objects/BaseSystem.mpy => python/m5/objects/BaseSystem.py
rename : python/m5/objects/Bus.mpy => python/m5/objects/Bus.py
rename : python/m5/objects/CoherenceProtocol.mpy => python/m5/objects/CoherenceProtocol.py
rename : python/m5/objects/Device.mpy => python/m5/objects/Device.py
rename : python/m5/objects/DiskImage.mpy => python/m5/objects/DiskImage.py
rename : python/m5/objects/Ethernet.mpy => python/m5/objects/Ethernet.py
rename : python/m5/objects/Ide.mpy => python/m5/objects/Ide.py
rename : python/m5/objects/IntrControl.mpy => python/m5/objects/IntrControl.py
rename : python/m5/objects/MemTest.mpy => python/m5/objects/MemTest.py
rename : python/m5/objects/Pci.mpy => python/m5/objects/Pci.py
rename : python/m5/objects/PhysicalMemory.mpy => python/m5/objects/PhysicalMemory.py
rename : python/m5/objects/Platform.mpy => python/m5/objects/Platform.py
rename : python/m5/objects/Process.mpy => python/m5/objects/Process.py
rename : python/m5/objects/Repl.mpy => python/m5/objects/Repl.py
rename : python/m5/objects/Root.mpy => python/m5/objects/Root.py
rename : python/m5/objects/SimConsole.mpy => python/m5/objects/SimConsole.py
rename : python/m5/objects/SimpleDisk.mpy => python/m5/objects/SimpleDisk.py
rename : python/m5/objects/Tsunami.mpy => python/m5/objects/Tsunami.py
rename : python/m5/objects/Uart.mpy => python/m5/objects/Uart.py
extra : convert_revision : 9dc55103a6f5b40eada4ed181a71a96fae6b0b76

19 years agoMerge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
Steve Reinhardt [Sun, 29 May 2005 03:59:48 +0000 (23:59 -0400)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5

--HG--
extra : convert_revision : 475f25967577aa47d84b476c07ce0ddfe05078d0

19 years agons_gige_reg.h, ns_gige.cc:
Lisa Hsu [Sun, 29 May 2005 01:54:32 +0000 (21:54 -0400)]
ns_gige_reg.h, ns_gige.cc:
clean up code to eliminate license issues.

dev/ns_gige.cc:
dev/ns_gige_reg.h:
    clean up code to eliminate license issues.

--HG--
extra : convert_revision : 64adbd87faa5ce5ac6b9da4fd95b12796487c8f9

19 years agoAdded copyright.
Kevin Lim [Fri, 27 May 2005 03:30:12 +0000 (23:30 -0400)]
Added copyright.

--HG--
extra : convert_revision : f6d53ac5130ea9f77f39f7c1aa35eeb1d5107599

19 years agoMerge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
Steve Reinhardt [Wed, 25 May 2005 20:06:12 +0000 (16:06 -0400)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5

--HG--
extra : convert_revision : 13696a8e526f7ded7555d009d03bdc7551557571

19 years agoLittle debugging things.
Steve Reinhardt [Tue, 24 May 2005 20:37:30 +0000 (16:37 -0400)]
Little debugging things.

cpu/base_cpu.cc:
    Get rid of leftover debugging code.

--HG--
extra : convert_revision : b33b2279499456b12a6242a9472ea5be724b37be

19 years agoUpdate mem trace reader params.
Steve Reinhardt [Fri, 20 May 2005 21:14:54 +0000 (17:14 -0400)]
Update mem trace reader params.

--HG--
extra : convert_revision : 03807971dacb23801895be45ea1582d2c345c021

19 years agoMinor changes to get new cpu to compile with FULL_SYSTEM.
Steve Reinhardt [Fri, 20 May 2005 21:13:37 +0000 (17:13 -0400)]
Minor changes to get new cpu to compile with FULL_SYSTEM.

cpu/beta_cpu/full_cpu.hh:
    Make cpu_id protected rather than private so derived
    classes can access it.
cpu/beta_cpu/regfile.hh:
    Get rid of troublesome debugging statement.

--HG--
extra : convert_revision : ae1f841697ea8d736579b8278eaf8fc6bdf3b6c5

19 years agoFix up code for initial release. The main bug that remains is properly forwarding...
Kevin Lim [Thu, 19 May 2005 05:28:25 +0000 (01:28 -0400)]
Fix up code for initial release.  The main bug that remains is properly forwarding data from stores to loads, specifically when they are of differing sizes.

cpu/base_dyn_inst.cc:
    Remove unused commented out code.
cpu/base_dyn_inst.hh:
    Fix up comments.
cpu/beta_cpu/2bit_local_pred.cc:
    Reorder code to match header file.
cpu/beta_cpu/2bit_local_pred.hh:
    Update comments.
cpu/beta_cpu/alpha_dyn_inst.hh:
    Remove useless comments.
cpu/beta_cpu/alpha_dyn_inst_impl.hh:
cpu/beta_cpu/alpha_full_cpu_impl.hh:
cpu/beta_cpu/comm.hh:
cpu/beta_cpu/iew_impl.hh:
    Remove unused commented code.
cpu/beta_cpu/alpha_full_cpu.hh:
    Remove obsolete comment.
cpu/beta_cpu/alpha_impl.hh:
cpu/beta_cpu/full_cpu.hh:
    Alphabetize includes.
cpu/beta_cpu/bpred_unit.hh:
    Remove unused global history code.
cpu/beta_cpu/btb.hh:
cpu/beta_cpu/free_list.hh:
    Use full path in #defines.
cpu/beta_cpu/commit.hh:
cpu/beta_cpu/decode.hh:
    Reorder functions.
cpu/beta_cpu/commit_impl.hh:
    Remove obsolete commented code.
cpu/beta_cpu/fetch.hh:
    Remove obsolete comments.
cpu/beta_cpu/fetch_impl.hh:
cpu/beta_cpu/rename_impl.hh:
    Remove commented code.
cpu/beta_cpu/full_cpu.cc:
    Remove useless defines.
cpu/beta_cpu/inst_queue.hh:
    Use full path for #defines.
cpu/beta_cpu/inst_queue_impl.hh:
    Reorder functions to match header file.
cpu/beta_cpu/mem_dep_unit.hh:
    Use full path name for #defines.
cpu/beta_cpu/ras.hh:
    Use full path names for #defines.  Remove mod operation.
cpu/beta_cpu/regfile.hh:
    Remove unused commented code, fix up current comments.
cpu/beta_cpu/tournament_pred.cc:
cpu/beta_cpu/tournament_pred.hh:
    Update programming style.

--HG--
extra : convert_revision : fb9d18a853f58a1108ff827e3c123d5b52a0608a

19 years agoMerge ktlim@zizzer:/bk/m5 into zamp.eecs.umich.edu:/z/ktlim2/current/m5
Kevin Lim [Tue, 17 May 2005 18:34:46 +0000 (14:34 -0400)]
Merge ktlim@zizzer:/bk/m5 into zamp.eecs.umich.edu:/z/ktlim2/current/m5

--HG--
extra : convert_revision : c403960153ed648e7da7251465ca9350ba10cd27

19 years agoMerge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
Steve Reinhardt [Sun, 15 May 2005 11:43:12 +0000 (07:43 -0400)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5

--HG--
extra : convert_revision : 5437b6fde4c09b8890d2bfa0cfba3d7e509a0f92

19 years agoFix "no supplier" bug.
Steve Reinhardt [Sun, 15 May 2005 04:34:27 +0000 (00:34 -0400)]
Fix "no supplier" bug.

--HG--
extra : convert_revision : 01549db31d2094c58c6875fbbf79d4e07e7e39f9

19 years agoMore cleanup of fetch code.
Steve Reinhardt [Sat, 14 May 2005 23:42:46 +0000 (19:42 -0400)]
More cleanup of fetch code.

--HG--
extra : convert_revision : a2279283be76341467e228ad1d56989a2be383eb

19 years agoAdd mem_trace parameter to BaseCache.
Steve Reinhardt [Fri, 13 May 2005 19:01:42 +0000 (15:01 -0400)]
Add mem_trace parameter to BaseCache.

python/m5/objects/BaseCache.mpy:
    Add mem_trace parameter.

--HG--
extra : convert_revision : a0bab53fabd7426eee5ca9c845c02a6ac2e1722f

19 years agopanic vs fatal fixes in bus.cc
Steve Reinhardt [Fri, 13 May 2005 04:28:42 +0000 (00:28 -0400)]
panic vs fatal fixes in bus.cc

base/misc.hh:
    Add some comments explaining the difference between
    panic() and fatal().

--HG--
extra : convert_revision : 876f0c98276fa1060c0589dc179022a297a8ed2e

19 years agoForce pipeline drain on first instruction of async interrupt handler.
Steve Reinhardt [Thu, 12 May 2005 23:25:38 +0000 (19:25 -0400)]
Force pipeline drain on first instruction of async interrupt handler.
Done by marking DynInst as serializing... requires adding the ability
to check both DynInst and StaticInst for serializing behavior.

--HG--
extra : convert_revision : 00db3e16d3b13dd9663f5a9f1bd8f724ed499914

19 years agoGet rid of unused SMT code from FullCPU.
Steve Reinhardt [Thu, 12 May 2005 19:36:42 +0000 (15:36 -0400)]
Get rid of unused SMT code from FullCPU.

--HG--
extra : convert_revision : 7a047b36718a44a8f3a43e3c0f54ca796d19f10a

19 years agoAdd definitions for memory trace writers.
Steve Reinhardt [Mon, 9 May 2005 16:12:07 +0000 (12:12 -0400)]
Add definitions for memory trace writers.

--HG--
extra : convert_revision : bb27c2a2ba8f97f186b712165db9a25f3fe61dda

19 years agoMerge ktlim@zizzer:/bk/m5 into zamp.eecs.umich.edu:/z/ktlim2/current/m5
Kevin Lim [Wed, 4 May 2005 18:41:36 +0000 (14:41 -0400)]
Merge ktlim@zizzer:/bk/m5 into zamp.eecs.umich.edu:/z/ktlim2/current/m5

--HG--
extra : convert_revision : b868e7920eaa3682c6123651f0c598673ebb7f22

19 years agoAdd support for dedicated 1GHz Simple CPU
Ron Dreslinski [Tue, 3 May 2005 18:42:58 +0000 (14:42 -0400)]
Add support for dedicated 1GHz Simple CPU
New examples of test.py files in ~rdreslin/jobs/ancs0 and ~rdreslin/cpt/ancs0

--HG--
extra : convert_revision : c2337874199fae9cbd43da9dbc3b9bd85ea2c92e

19 years agoLarge update of several parts of my code. The most notable change is the inclusion...
Kevin Lim [Tue, 3 May 2005 14:56:47 +0000 (10:56 -0400)]
Large update of several parts of my code.  The most notable change is the inclusion of a full-fledged load/store queue.  At the moment it still has some issues running, but most of the code is hopefully close to the final version.

SConscript:
arch/isa_parser.py:
cpu/base_dyn_inst.cc:
    Remove OOO CPU stuff.
arch/alpha/faults.hh:
    Add fake memory fault.  This will be removed eventually.
arch/alpha/isa_desc:
    Change EA comp and Mem accessor to be const StaticInstPtrs.
cpu/base_dyn_inst.hh:
    Update read/write calls to use load queue and store queue indices.
cpu/beta_cpu/alpha_dyn_inst.hh:
    Change to const StaticInst in the register accessors.
cpu/beta_cpu/alpha_dyn_inst_impl.hh:
    Update syscall code with thread numbers.
cpu/beta_cpu/alpha_full_cpu.hh:
    Alter some of the full system code so it will compile without errors.
cpu/beta_cpu/alpha_full_cpu_builder.cc:
    Created a DerivAlphaFullCPU class so I can instantiate different CPUs that have different template parameters.
cpu/beta_cpu/alpha_full_cpu_impl.hh:
    Update some of the full system code so it compiles.
cpu/beta_cpu/alpha_params.hh:
cpu/beta_cpu/fetch_impl.hh:
    Remove asid.
cpu/beta_cpu/comm.hh:
    Remove global history field.
cpu/beta_cpu/commit.hh:
    Comment out rename map.
cpu/beta_cpu/commit_impl.hh:
    Update some of the full system code so it compiles.  Also change it so that it handles memory instructions properly.
cpu/beta_cpu/cpu_policy.hh:
    Removed IQ from the IEW template parameter to make it more uniform.
cpu/beta_cpu/decode.hh:
    Add debug function.
cpu/beta_cpu/decode_impl.hh:
    Slight updates for decode in the case where it causes a squash.
cpu/beta_cpu/fetch.hh:
cpu/beta_cpu/rob.hh:
    Comment out unneccessary code.
cpu/beta_cpu/full_cpu.cc:
    Changed some of the full system code so it compiles.  Updated exec contexts and so forth to hopefully make multithreading easier.
cpu/beta_cpu/full_cpu.hh:
    Updated some of the full system code to make it compile.
cpu/beta_cpu/iew.cc:
    Removed IQ from template parameter to IEW.
cpu/beta_cpu/iew.hh:
    Removed IQ from template parameter to IEW. Updated IEW to recognize the Load/Store queue.
cpu/beta_cpu/iew_impl.hh:
    New handling of memory instructions through the Load/Store queue.
cpu/beta_cpu/inst_queue.hh:
    Updated comment.
cpu/beta_cpu/inst_queue_impl.hh:
    Slightly different handling of memory instructions due to Load/Store queue.
cpu/beta_cpu/regfile.hh:
    Updated full system code so it compiles.
cpu/beta_cpu/rob_impl.hh:
    Moved some code around; no major functional changes.
cpu/ooo_cpu/ooo_cpu.hh:
    Slight updates to OOO CPU; still does not work.
cpu/static_inst.hh:
    Remove OOO CPU stuff.  Change ea comp and mem acc to return const StaticInst.
kern/kernel_stats.hh:
    Extra forward declares added due to compile error.

--HG--
extra : convert_revision : 594a7cdbe57f6c2bda7d08856fcd864604a6238e

19 years agoFix ethernet configuration
Nathan Binkert [Mon, 2 May 2005 23:05:20 +0000 (19:05 -0400)]
Fix ethernet configuration

--HG--
extra : convert_revision : 9ee6e620b722d39d234b15785852a6cc00ffe041

19 years agoSkip calibrate delay again.
Nathan Binkert [Mon, 2 May 2005 23:01:11 +0000 (19:01 -0400)]
Skip calibrate delay again.

kern/linux/linux_system.cc:
    calibrate delay starts three instructions after the symbol now.

--HG--
extra : convert_revision : f9c2bed3bca1f3394801fe7696cfff870443c204

19 years agoMake sinic work with mpy
Nathan Binkert [Mon, 2 May 2005 23:00:11 +0000 (19:00 -0400)]
Make sinic work with mpy

dev/sinic.cc:
dev/sinic.hh:
    Fix sinic parameters. (header_bus -> io_bus)
python/m5/objects/Ethernet.mpy:
    Add simobj definitions for sinic.

--HG--
extra : convert_revision : 77d5b80bd1f1708329b263fb48965d7f555cc9d1

19 years agoworkaround configuration bug in tick is ps.
Nathan Binkert [Mon, 2 May 2005 22:56:50 +0000 (18:56 -0400)]
workaround configuration bug in tick is ps.

--HG--
extra : convert_revision : 301b6e4d590efc7a4d11959a932d5349edc59041

19 years agoImprove checkpointing of ethernet packets a bit.
Nathan Binkert [Mon, 2 May 2005 22:55:39 +0000 (18:55 -0400)]
Improve checkpointing of ethernet packets a bit.

dev/etherpkt.cc:
    Don't try to suck in the packet if the length is zero.

--HG--
extra : convert_revision : 7212f3b677777fbce301f0613b9f513bb9fe057e

19 years agoBetter configurations for checkpointing. Add more NIC options.
Nathan Binkert [Mon, 2 May 2005 22:54:36 +0000 (18:54 -0400)]
Better configurations for checkpointing.  Add more NIC options.

--HG--
extra : convert_revision : d0b9ccbcb4ac14f0d305bfcbfb9a041dfb5d3465

19 years agoMake sure to just do the dma No Allocation on reads
Ron Dreslinski [Mon, 2 May 2005 22:02:51 +0000 (18:02 -0400)]
Make sure to just do the dma No Allocation on reads

--HG--
extra : convert_revision : f5d0b6753958c36fd3678c61b5e9af943e24d517

19 years agoAdd environment parameter for Allocation policy of DMA's
Ron Dreslinski [Mon, 2 May 2005 18:25:54 +0000 (14:25 -0400)]
Add environment parameter for Allocation policy of DMA's

--HG--
extra : convert_revision : 444952065b0508c083e8c64fa5f9f5a761787900

19 years agoMerge ktlim@zizzer.eecs.umich.edu:/bk/m5
Kevin Lim [Mon, 2 May 2005 18:16:33 +0000 (14:16 -0400)]
Merge ktlim@zizzer.eecs.umich.edu:/bk/m5
into zamp.eecs.umich.edu:/z/ktlim2/m5

--HG--
extra : convert_revision : ac0788599c365b2d7fe0870f0fea4b62c3b3ef22

19 years agoMerge zizzer:/z/m5/Bitkeeper/m5
Ron Dreslinski [Sat, 30 Apr 2005 16:54:28 +0000 (12:54 -0400)]
Merge zizzer:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/.automount/zazzer/z/rdreslin/m5bk/clean

--HG--
extra : convert_revision : eb92d2799c76fad09f6b5a9476e4e9fc7c8dbfca

19 years agoHandle no_allocates as needing the response in miss_queue, like uncacheables
Ron Dreslinski [Sat, 30 Apr 2005 16:53:58 +0000 (12:53 -0400)]
Handle no_allocates as needing the response in miss_queue, like uncacheables
Add support for hit under miss of a no allocate (It seems as though DMA reads to the same block happen close together, is this an artifact of the header/payload splitting)
Make sure to respond to all targets of a no_allocate request

--HG--
extra : convert_revision : a9d733f499face4039929524573ffc9500e93d83

19 years agoCleanup rcS files. Make sure there are enough tracked connections.
Nathan Binkert [Sat, 30 Apr 2005 15:00:43 +0000 (11:00 -0400)]
Cleanup rcS files.  Make sure there are enough tracked connections.
Delay before singalling peer to make sure that the peer is ready

configs/boot/nat-netperf-server.rcS:
    delay before singalling to make sure that the natbox is ready
configs/boot/nat-netperf-stream-client.rcS:
    increase the number of tracked connections
configs/boot/nat-spec-surge-client.rcS:
configs/boot/nfs-client-nhfsstone.rcS:
configs/boot/nfs-client-smallb.rcS:
configs/boot/nfs-client-tcp-smallb.rcS:
configs/boot/nfs-client-tcp.rcS:
configs/boot/nfs-client.rcS:
configs/boot/nfs-server.rcS:
configs/boot/spec-surge-client.rcS:
configs/boot/spec-surge-server.rcS:
configs/boot/surge-client.rcS:
configs/boot/surge-server.rcS:
    increase the number of tracked connections
    cleanup
configs/boot/nat-spec-surge-server.rcS:
configs/boot/natbox-netperf.rcS:
configs/boot/nfs-server-nhfsstone.rcS:
    delay before singalling to make sure that the natbox is ready
    increase the number of tracked connections
    cleanup
configs/boot/natbox-spec-surge.rcS:
    delay before singalling to make sure that the natbox is ready
    increase the number of tracked connections

--HG--
extra : convert_revision : 9faa5ec11c9c02fed3d1cff922ca42c41d364204

19 years agoAdd suport for no allocation of cache block on a dma read passing through a cache...
Ron Dreslinski [Sat, 30 Apr 2005 01:01:43 +0000 (21:01 -0400)]
Add suport for no allocation of cache block on a dma read passing through a cache from the cpu-side interface

--HG--
extra : convert_revision : 0a3b3741924ed39c1c8710d0963e4c8f3e73f81a

19 years agoClean up output for pc break events, and remove a unneeded break event.
Ron Dreslinski [Thu, 28 Apr 2005 21:24:04 +0000 (17:24 -0400)]
Clean up output for pc break events, and remove a unneeded break event.

cpu/pc_event.cc:
    Add a newline to the printout to clean up output
kern/linux/linux_system.cc:
    Remove the die_if_kernel pc break event, it is being called when not the kernel and leads to unneeded printouts

--HG--
extra : convert_revision : c359532db31c961074894cc6c44c8452592caca8

19 years agoMake ip_conntrack table size larger
Ron Dreslinski [Thu, 28 Apr 2005 20:13:30 +0000 (16:13 -0400)]
Make ip_conntrack table size larger

--HG--
extra : convert_revision : bda54b29cb15144907b186f06517477dea13ba06

19 years agoAdd the m5 parameter to the ns83820 device model so that we
Nathan Binkert [Mon, 25 Apr 2005 01:32:32 +0000 (21:32 -0400)]
Add the m5 parameter to the ns83820 device model so that we
can pass simulator specific options to the device driver.

dev/ns_gige.cc:
    Add the m5 register and parameter to the ns83820 device model
    so that we can pass simulator specific options to the device
    driver.
dev/ns_gige.hh:
dev/ns_gige_reg.h:
    Add the m5 register to the ns83820 device model

--HG--
extra : convert_revision : 84674887560fa3b607e725b8e5bc8272761fcf09

19 years agocleanup mpy file
Nathan Binkert [Mon, 25 Apr 2005 01:28:54 +0000 (21:28 -0400)]
cleanup mpy file

--HG--
extra : convert_revision : ddde8f1b60dfa0c637d82d9217e713f071af6ccb

19 years agoMake code more portable and port to cygwin
Nathan Binkert [Fri, 22 Apr 2005 17:12:03 +0000 (13:12 -0400)]
Make code more portable and port to cygwin

arch/alpha/alpha_tru64_process.cc:
    getdirent isn't implemented by cygwin.  panic if this function is
    executed.  (It shouldn't be too much to emulate it using opendir,
    readdir, etc.)
arch/alpha/pseudo_inst.cc:
    Use lseek once and read instead pread.
base/intmath.hh:
    we want int, long, and long long variations of FloorLog2 instead
    of int32_t, int64_t.  Otherwise, we leave one out.
base/socket.cc:
    Fix define that seems to be for apple
sim/serialize.cc:
    don't use the intXX_t stuff, instead, use the real types
    so we're sure that we cover all of them.

--HG--
extra : convert_revision : 9fccaff583100b06bbaafd95a162c4e19beed59e

19 years agoMostly hacks for multiplying Frequency-type proxies by constants
Steve Reinhardt [Sun, 17 Apr 2005 04:41:50 +0000 (00:41 -0400)]
Mostly hacks for multiplying Frequency-type proxies by constants
(plus some small fixes).

python/m5/config.py:
    Hacks to allow multiplication on Frequency/Latency-valued proxies.
    Provide __rmul__ as well as __mul__ on Proxy objects.
test/genini.py:
    Default value for -EFOO should be True not 1 (since 1 is no longer
    convertable to Bool).

--HG--
extra : convert_revision : f8a221fcd9e095fdd7b7db4be0ed0cdcd20074be

19 years agoMerge ktlim@zizzer.eecs.umich.edu:/bk/m5
Kevin Lim [Fri, 15 Apr 2005 19:10:07 +0000 (15:10 -0400)]
Merge ktlim@zizzer.eecs.umich.edu:/bk/m5
into zamp.eecs.umich.edu:/z/ktlim2/m5

--HG--
extra : convert_revision : febc87fb6083ef8b80a2bc91a766ea9e13d82744

19 years agoF
Ron Dreslinski [Thu, 14 Apr 2005 22:38:56 +0000 (18:38 -0400)]
F

--HG--
extra : convert_revision : 22245997131432986d94105957461275ee4ae07e

19 years agoMerge ktlim@zizzer.eecs.umich.edu:/bk/m5
Kevin Lim [Thu, 14 Apr 2005 20:06:34 +0000 (16:06 -0400)]
Merge ktlim@zizzer.eecs.umich.edu:/bk/m5
into zamp.eecs.umich.edu:/z/ktlim2/m5

--HG--
extra : convert_revision : 0baadd8d68bfa6f8e96307eb2d4426b0d9e0b8b4

19 years agoMake multiple calls to SimExit work.
Nathan Binkert [Wed, 13 Apr 2005 18:26:57 +0000 (14:26 -0400)]
Make multiple calls to SimExit work.

--HG--
extra : convert_revision : 91a5652913b7278efe6a3a4955e5e2f723ba59eb

19 years agoMake the exit after max checkpoints code compile.
Nathan Binkert [Wed, 13 Apr 2005 18:26:56 +0000 (14:26 -0400)]
Make the exit after max checkpoints code compile.

sim/serialize.cc:
    call exitNow instead of SimExit.  Include the header too.

--HG--
extra : convert_revision : 633a8533b23cac914a2b09bd2d3ea5d85243c675

19 years agoAdd support to limit the number of checkpoints dropped.
Nathan Binkert [Wed, 13 Apr 2005 13:38:50 +0000 (09:38 -0400)]
Add support to limit the number of checkpoints dropped.

sim/serialize.hh:
    Add variables to keep track of the number of checkpoints
    dropped and maximum allowed.

--HG--
extra : convert_revision : 32241b90c58def6958ec84c53cc2cca996007506

19 years agoFixup split stats.
Nathan Binkert [Mon, 11 Apr 2005 19:44:21 +0000 (15:44 -0400)]
Fixup split stats.

--HG--
extra : convert_revision : 5f3d162c3f4d90f481393f812e6138c659e4f6e2

19 years agoUpdate for changes in the way latencies and bandwidths are dealt with.
Nathan Binkert [Mon, 11 Apr 2005 19:42:35 +0000 (15:42 -0400)]
Update for changes in the way latencies and bandwidths are dealt with.

--HG--
extra : convert_revision : 1d183bf47222599ee11154ab0c9eb9cd99a29806

19 years agoMake the notion of a global event tick independent of the actual
Nathan Binkert [Mon, 11 Apr 2005 19:32:06 +0000 (15:32 -0400)]
Make the notion of a global event tick independent of the actual
CPU cycle ticks.  This allows the user to have CPUs of different
frequencies, and also allows frequencies and latencies that are
not evenly divisible by the CPU frequency.  For now, the CPU
frequency is still set to the global frequency, but soon, we'll
hopefully make the global frequency fixed at something like 1THz
and set all other frequencies independently.

arch/alpha/ev5.cc:
    The cycles counter is based on the current cpu cycle.
cpu/base_cpu.cc:
    frequency isn't the cpu parameter anymore, cycleTime is.
cpu/base_cpu.hh:
    frequency isn't the cpu parameter anymore, cycleTime is.
    create several public functions for getting the cpu frequency
    and the numbers of ticks for a given number of cycles, etc.
cpu/memtest/memtest.cc:
cpu/simple_cpu/simple_cpu.cc:
cpu/simple_cpu/simple_cpu.hh:
cpu/trace/trace_cpu.cc:
    Now that ticks aren't cpu cycles, fixup code to advance
    by the proper number of ticks.
cpu/memtest/memtest.hh:
cpu/trace/trace_cpu.hh:
    Provide a function to get the number of ticks for a given
    number of cycles.
dev/alpha_console.cc:
    Update for changes in the way that frequencies and latencies are
    accessed.  Move some stuff to init()
dev/alpha_console.hh:
    Need a pointer to the system and the cpu to get the frequency
    so we can pass the info to the console code.
dev/etherbus.cc:
dev/etherbus.hh:
dev/etherlink.cc:
dev/etherlink.hh:
dev/ethertap.cc:
dev/ide_disk.hh:
dev/ns_gige.cc:
dev/ns_gige.hh:
    update for changes in the way bandwidths are passed from
    python to C++ to accomidate the new way that ticks works.
dev/ide_disk.cc:
    update for changes in the way bandwidths are passed from
    python to C++ to accomidate the new way that ticks works.
    Add some extra debugging printfs
dev/platform.cc:
dev/sinic.cc:
dev/sinic.hh:
    outline the constructor and destructor
dev/platform.hh:
    outline the constructor and destructor.
    don't keep track of the interrupt frequency.  Only provide the
    accessor function.
dev/tsunami.cc:
dev/tsunami.hh:
    outline the constructor and destructor
    Don't set the interrupt frequency here.  Get it from the actual device
    that does the interrupting.
dev/tsunami_io.cc:
dev/tsunami_io.hh:
    Make the interrupt interval a configuration parameter.  (And convert
    the interval to the new latency/frequency stuff in the python)
kern/linux/linux_system.cc:
    update for changes in the way bandwidths are passed from
    python to C++ to accomidate the new way that ticks works.
    For now, we must get the boot cpu's frequency as a parameter
    since allowing the system to have a pointer to the boot cpu would
    cause a cycle.
kern/tru64/tru64_system.cc:
    For now, we must get the boot cpu's frequency as a parameter
    since allowing the system to have a pointer to the boot cpu would
    cause a cycle.
python/m5/config.py:
    Fix support for cycle_time relative latencies and frequencies.
    Add support for getting a NetworkBandwidth or a MemoryBandwidth.
python/m5/objects/BaseCPU.mpy:
    All CPUs now have a cycle_time.  The default is the global frequency,
    but it is now possible to set the global frequency to some large value
    (like 1THz) and set each CPU frequency independently.
python/m5/objects/BaseCache.mpy:
python/m5/objects/Ide.mpy:
    Make this a Latency parameter
python/m5/objects/BaseSystem.mpy:
    We need to pass the boot CPU's frequency to the system
python/m5/objects/Ethernet.mpy:
    Update parameter types to use latency and bandwidth types
python/m5/objects/Platform.mpy:
    this frequency isn't needed.  We get it from the clock interrupt.
python/m5/objects/Tsunami.mpy:
    The clock generator should hold the frequency
sim/eventq.hh:
    Need to remove this assertion because the writeback event
    queue is different from the CPU's event queue which can cause
    this assertion to fail.
sim/process.cc:
    Fix comment.
sim/system.hh:
    Struct member to hold the boot CPU's frequency.
sim/universe.cc:
    remove unneeded variable.

--HG--
extra : convert_revision : 51efe4041095234bf458d9b3b0d417f4cae16fdc