summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-11-13defining SYSTEM_EV5 isn't all that necessaryNathan Binkert
--HG-- extra : convert_revision : 7d39dd9f814434cb95ec769204d7f2426b0290fd
2004-11-12Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/tmp/m5Ali Saidi
--HG-- extra : convert_revision : 7696b915099bc847bbb9bd9f97fd30b1825c68d5
2004-11-12slightly different parameters for nfs scriptAli Saidi
--HG-- extra : convert_revision : 1576f875646567cc661a8e3f07c00c4b282e9f64
2004-11-12add surge and spec-surge readfiles. also make the naming system uniform, ↵Lisa Hsu
there were 3 different ways!!! i like ali's. --HG-- rename : configs/boot/client.netperf.maerts => configs/boot/netperf-maerts-client.rcS rename : configs/boot/client.netperf.rr => configs/boot/netperf-rr.rcS rename : configs/boot/server.netperf => configs/boot/netperf-server.rcS rename : configs/boot/client.netperf.stream => configs/boot/netperf-stream-client.rcS extra : convert_revision : 8c841e18dac9634f0680b857f3d0676b100dd448
2004-11-12Added nfs-client.rcS and nfs-server.rcSAli Saidi
--HG-- extra : convert_revision : 48cf156ce397b68075c07ed072c95644affa3ef1
2004-11-10Bus interface range fixes for caches (to fix bus brudge range bug).Steve Reinhardt
Add "fast write" behavior on writeInvalidates. --HG-- extra : convert_revision : 0c5c1e06d6cbb608610b99fb4e4fb04db4997c7b
2004-11-10add DPRINTFsSteve Reinhardt
--HG-- extra : convert_revision : 7d2fad2e4f9125d41c8d1972d8f19f38bb95c06e
2004-11-10Make it so we can cast an EthAddr to a 64-bit integerNathan Binkert
--HG-- extra : convert_revision : 2f470d122997fbc375f04e9c2682b6528adef50c
2004-11-10Use the inPalMode function instead of the PC_PAL macroNathan Binkert
--HG-- extra : convert_revision : 58e0a19ba98777e5d2e2572ed02dee1914378ff7
2004-11-10Merge zizzer.eecs.umich.edu:/bk/m5Nathan Binkert
into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest --HG-- extra : convert_revision : 64eca6a11aeae236e802f9ca8eb97ca05d394ec7
2004-11-10Don't use the global check_interrupts variable. Add a per-cpuNathan Binkert
checkInterrupts variable and use that to determine whether an interrupt can occur on a given cycle. arch/alpha/ev5.cc: XC -> CPU (and xc -> CPU) since we're really talking about a CPU here Don't use the global check_interrupts variable. Add a per-cpu checkInterrupts variable and use that to determine whether an interrupt can occur on a given cycle. --HG-- extra : convert_revision : be4c0247e5834005c60a45796a222cffd327b64e
2004-11-10don't print dprintk twice on the same lineNathan Binkert
--HG-- extra : convert_revision : f41fc47221b6fb83eb92c080de073a11cf04c353
2004-11-09software prefetch fixJennifer Treichler
--HG-- extra : convert_revision : b70257a60c5f71a86a45c32d5a4ccaa249300dca
2004-11-03Fix to deal with the new base class parameter for registrationNathan Binkert
deferral --HG-- extra : convert_revision : f968e3ba44604522cb10db8a60d7e18f1733e06a
2004-11-03Forgot about the tracing cpus for the changes to the base classNathan Binkert
cpu/trace/opt_cpu.cc: cpu/trace/trace_cpu.cc: we don't want to register this cpu since it's not a real cpu --HG-- extra : convert_revision : 3b87b6ac3dd061018909bf4fdb4e2d611128d07b
2004-11-03make activation of exec contexts happen in startupNathan Binkert
the registration stuff all moves into BaseCPU cpu/base_cpu.cc: Move the registration stuff into the BaseCPU since all other CPUs use it. cpu/base_cpu.hh: Move the defer registration stuff into the BaseCPU since all other CPUs use it. cpu/simple_cpu/simple_cpu.cc: cpu/simple_cpu/simple_cpu.hh: registration stuff moved to base class sim/system.cc: the activation of exec contexts should happen at startup, not when they are registered. sim/system.hh: the system now has a startup function --HG-- extra : convert_revision : bb6a7c2da5a1ecf5fe7ede1078200bfe5245f8ef
2004-11-03Add Inorder CPU modelTaeho Kgil
SConscript: arch/isa_parser.py: cpu/static_inst.hh: Add inorderCPU --HG-- extra : convert_revision : 141372808fac5f6d125f9051ee0be982d21683aa
2004-11-03add a new phase to the simulator. Basically the simulator now goesNathan Binkert
through the following phases. 1) Construct all param contexts 2) Call the checkParams() on each context 3) Build the configuration hierarchy 4) Construct all SimObjects 5) Initialize all SimObjects by calling init() on each one 6) Unserialize the checkpoint 7) Register all statisitcs 8) Check validity of all statistics (after that, no new stats) 9) Reset all stats. 10) Call SimStartup() which calls startup() on all SimObjects, ParamContexts, and any other object deriving from StartupCallback SConscript: no more SimInit() we have SimStartup() now sim/param.hh: Make all params have a startup callback. sim/sim_events.cc: the init callbacks no longer exist. We can simplify code by using startup(). sim/sim_object.hh: Make all SimObjects derive from StartupCallback --HG-- extra : convert_revision : ab81e259eb5510cc597f7bacb2bfb619fb4cc15f
2004-11-01remove mention of a couple of files that don't exist anymoreNathan Binkert
SConscript: these files don't exist --HG-- extra : convert_revision : 660f3861b5f2824a44fc8a281a782faeef4467f2
2004-10-28More user-friendly updates for 570.Steve Reinhardt
--HG-- extra : convert_revision : 0fe38f6ab652b575cc24d18d65c237291e1793d6
2004-10-28Add '%' in some places to suppress spurious doxygen auto-links.Steve Reinhardt
--HG-- extra : convert_revision : 6527dc766730745516f52f7e7f5acf43d64e8733
2004-10-27Major documentation update for 570 F04.Steve Reinhardt
sim/main.cc: Get rid of default.ini processing... it's kind of a pain and nobody uses it. util/tracediff: Add comments on usage. --HG-- extra : convert_revision : b811288b2945585d60685684ea88c99d1913fbf3
2004-10-25Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5-smpAli Saidi
--HG-- extra : convert_revision : 59173b5d4599cfe1cbaa96705e9731ee5a8d8647
2004-10-25changes to make interrupts part of the platform rather than tsunamiAli Saidi
specific --HG-- extra : convert_revision : f51788dd41c23f13b253268bb2b286a5225ef087
2004-10-25Don't use magic numbers.Nathan Binkert
arch/alpha/isa_traits.hh: Move defines to non full system code section so they can be used elsewhere cpu/simple_cpu/simple_cpu.cc: Don't use magic numbers cpu/simple_cpu/simple_cpu.hh: simple format nit --HG-- extra : convert_revision : b8d492218340d41ab9420c6ad1e81a197db1c132
2004-10-25add a hack to make sure we exit when sampling is complete.Nathan Binkert
--HG-- extra : convert_revision : a0d66b1915f14485d1798a3142dd8c828925d151
2004-10-25Add explicit phases to order ParamContext initializations.Steve Reinhardt
--HG-- extra : convert_revision : c24fba2bded2493a892fa93de0c61f9674cfedbb
2004-10-24Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5Steve Reinhardt
into zizzer.eecs.umich.edu:/z/stever/bk/m5 --HG-- extra : convert_revision : aac76a4b82b3455620618bba6238507248cc68cc
2004-10-23Merge zizzer.eecs.umich.edu:/bk/m5Nathan Binkert
into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest --HG-- extra : convert_revision : aaf81b1c1283229de21e0ef7e9916a4464f72fa3
2004-10-23flesh out the TCP/IP/Ethernet supportNathan Binkert
base/refcnt.hh: reorganize the RefCountingPtr a little bit to make it easier to derive from dev/etherpkt.hh: this doesn't belong here. use the inet.hh stuff dev/ns_gige.cc: dev/ns_gige.hh: use newer features in the tcp/ip/ethernet stuff --HG-- extra : convert_revision : 32c1953c95655c1f4c70e0d8adedfd94beead624
2004-10-23bump up the number of cshrs so we don't panicNathan Binkert
--HG-- extra : convert_revision : 25dfd48b2c579401d265ba9ed85379831f207b8e
2004-10-23get rid of some unused variablesNathan Binkert
--HG-- extra : convert_revision : 187cee0e0bad09bbaff059eb60f20d7d32c1b52c
2004-10-23make stuff compile on openbsd againNathan Binkert
clean up a few other things while we're here. base/bitfield.hh: base/compression/null_compression.hh: dont #include <inttypes.hh> use "sim/host.hh" fix #include guard base/stats/types.hh: dont #include <inttypes.hh> use "sim/host.hh" kern/linux/aligned.hh: dont #include <stdint.hh> use "sim/host.hh" fix #include guard kern/linux/hwrpb.hh: fix #include guard --HG-- extra : convert_revision : 288c687a59a1e770bbb834879173e1a2ea371bce
2004-10-23get rid of pmap.h and make things variables and inlineNathan Binkert
functions instead of preprocessor macros. arch/alpha/vtophys.cc: use new constants, functions and structs to clean up the vtophys code. arch/alpha/vtophys.hh: Clean up a little bit and make the protypes match new changes. base/remote_gdb.cc: dev/ide_disk.cc: kern/tru64/tru64_events.cc: use new constants from isa_traits.hh instead of ones from old pmap.h --HG-- extra : convert_revision : 5dce34e3b0c84ba72cefca34e5999b99898edcef
2004-10-23in the arch/alpha directory we should use arch/alpha, notNathan Binkert
targetarch. arch/alpha/alpha_memory.cc: arch/alpha/arguments.cc: arch/alpha/arguments.hh: arch/alpha/faults.cc: arch/alpha/isa_traits.hh: arch/alpha/osfpal.cc: arch/alpha/vtophys.cc: arch/alpha/vtophys.hh: in the arch/alpha directory we should use arch/alpha, not targetarch. sort includes while we're here. --HG-- extra : convert_revision : 99a71540e2997173db5c1072cef910a26acc75b2
2004-10-22Do the targetarch dependency stuff better.Nathan Binkert
SConscript: targetarch is only for headers, not cc files. move all cc files back to arch/alpha, and make the target arch directory do this echo '#include "arch/alpha/foo.hh"' > targetarch/foo.hh for every header file. This works a lot better and doesn't kill emacs' ability to parse compile outputs --HG-- extra : convert_revision : c1d51643bdc457ae2d96c5f50d3ef1c6a58a600d
2004-10-22Very minor formatting glitches.Steve Reinhardt
sim/main.cc: Add 'u' option back in to help message. --HG-- extra : convert_revision : 9f535c9d898a9e8e54c54cf83044a24a8843f62e
2004-10-22Make targetarch directory in build tree and copy arch/alpha files to itSteve Reinhardt
instead of using symlink. The symlink broke scons's built-in include dependency tacking. Interestingly once it was fixed scons discovered two circular dependency problems which are also fixed now. SConscript: Make targetarch directory in build tree and copy arch/alpha files to it instead of using symlink. The symlink broke scons's built-in include dependency tacking. arch/alpha/ev5.hh: Get rid of circular #include dependence. kern/kernel_stats.cc: Add needed header file. kern/linux/linux_syscalls.hh: kern/tru64/tru64_syscalls.hh: Replace targetarch/syscalls.hh with single template class declaration. --HG-- extra : convert_revision : b8551623c1d441c6eb8d0651387e97e373128814
2004-10-22Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5Nathan Binkert
into ziff.eecs.umich.edu:/z/binkertn/research/m5/current --HG-- extra : convert_revision : 92785367bd1ae71505c5ac0491ed8e18b21ad577
2004-10-22make all signatures go into a single file that's at the topNathan Binkert
of the build directory. This makes it so that scons won't leave the .sconsign turds all over the source tree. --HG-- extra : convert_revision : d530ed3eaed73c7ce2d21c7391f815051a37b500
2004-10-22Clean up the Range class and associated usages. The code wasNathan Binkert
never clear about whether the end of the range was inclusive or exclusive. Make it inclusive, but also provide a RangeSize() function that will generate a Range based on a start and a size. This, in combination with using the comparison operators, makes almost all usages of the range not care how it is stored. base/range.cc: Make the end of the range inclusive. start/end -> first/last (end seems too much like end() in stl) base/range.hh: Make the end of the range inclusive. Fix all comparison operators so that they work correctly with an inclusive range. Also, when comparing one range to another with <, <=, >, >=, we only look at the beginning of the range beacuse x <= y should be the same as x < y || x == y. (This wasn't the case before.) Add a few functions for making a range: RangeSize is start and size RangeEx is start and end where end is exclusive RangeIn is start and end where end is inclusive start/end -> first/last (end seems too much like end() in stl) dev/alpha_console.cc: dev/baddev.cc: dev/ide_ctrl.cc: dev/ns_gige.cc: dev/pciconfigall.cc: dev/pcidev.cc: dev/tsunami_cchip.cc: dev/tsunami_io.cc: dev/tsunami_pchip.cc: dev/uart.cc: Use the RangeSize function to create a range. --HG-- extra : convert_revision : 29a7eb7fce745680f1c77fefff456c2144bc3994
2004-10-19Clean up/standardize handling of various output files.Steve Reinhardt
No more non-intuitive behavior shifts depending on whether outputDirectory is set (at the expense of backwards compatibility). outputDirectory is now always valid, defaults to ".". dev/etherdump.cc: Use makeOutputStream() to create output file. New behavior: actually complain if dump file can't be opened, instead of quietly ignoring the problem. dev/etherdump.hh: dev/simconsole.cc: dev/simconsole.hh: Use makeOutputStream() to create output file. sim/builder.cc: sim/builder.hh: sim/main.cc: builderStream() is now *configStream. sim/serialize.cc: outputDirectory is now always valid, no need to check. sim/universe.cc: Clean up/standardize handling of various output files. No more non-intuitive behavior shifts depending on whether outputDirectory is set (at the expense of backwards compatibility). outputDirectory is now always valid, defaults to ".". New function makeOutputStream() does "the right thing" to associate a stream with a filename. --HG-- extra : convert_revision : a03c58c547221b3906e0d6f55e4a569843f2d646
2004-10-18Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5Steve Reinhardt
into zizzer.eecs.umich.edu:/z/stever/bk/m5 --HG-- extra : convert_revision : 8d95458cf5460a8847e211eea1216eca57834b1a
2004-10-18Get rid of spurious additions to ignore list.Steve Reinhardt
--HG-- extra : convert_revision : 962dd521863a7b374e36238c81ec7935ea1811da
2004-10-17Merge saidi@zizzer.eecs.umich.edu:/bk/m5Ali Saidi
into ali-saidis-computer.local:/research/m5 --HG-- extra : convert_revision : 0b97ac6ae704e47023bb9db9694004022c548b4f
2004-10-17Clean up obsolete g++ 2.95 workaround.Steve Reinhardt
--HG-- extra : convert_revision : d8fe9415d855af57e48978904e8f6a52bb7a83cc
2004-10-17Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5Erik Hallnor
into zizzer.eecs.umich.edu:/z/ehallnor/work/m5 --HG-- extra : convert_revision : fa4e85d5f5c783985357eb5205fcf8957f214d1e
2004-10-17Bunch of little changes for tracking copies and getting OPT right.Erik Hallnor
cpu/simple_cpu/simple_cpu.cc: Send Copy cpu/trace/opt_cpu.cc: Calculate the block size correctly. Set lookupTable value directly, since the old way only worked for FA caches. cpu/trace/trace_cpu.cc: Don't start events if the hierarchy is in non-event mode. --HG-- extra : convert_revision : daf2db5ed7428c2fb08652cf76f6fe99d8357db5
2004-10-16Fixes for bigendian platformsAli Saidi
arch/alpha/vtophys.cc: PGOFSET -> ALPHA_PGOFSET to avoid include file problems base/callback.hh: Added a class to create a callback from a function base/intmath.hh: make FloorLog2 inlined dev/pcidev.cc: more work in getting pciconfig space happy with different endiannesses dev/uart.cc: used an incorrect size for write uint64_t instead of uint8_t sim/system.cc: when writing things into system data structures we need to pay attention to endianness --HG-- extra : convert_revision : 52f441b5789c45db30ef2f6fd4975cbc7323a381
2004-10-15Added support for exclusive state, defined the MESI and MOESI protocolsRon Dreslinski
--HG-- extra : convert_revision : c991ba1acf1a8f628c0c0c34f307dd9d221c2743