summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-02-02Change "Foo& foo" declarations to "Foo &foo".Steve Reinhardt
This primarily to be internally consistent (sometimes we used one, sometimes the other, even within the same line of code!). I picked the latter to be symmetric with "Foo *foo". base/cprintf_formats.hh: base/range.hh: base/refcnt.hh: base/res_list.hh: base/statistics.hh: base/str.hh: cpu/exec_context.hh: cpu/simple_cpu/simple_cpu.cc: cpu/simple_cpu/simple_cpu.hh: sim/serialize.cc: sim/serialize.hh: sim/syscall_emul.hh: Change "Foo& foo" declarations to "Foo &foo". --HG-- extra : convert_revision : ca1b0e85a578b539214bda3b8d61ac23792f2e87
2004-02-02More conversions of ref-counted parameters to references:Steve Reinhardt
Statistics::NodePtr, StaticInstPtr, ethernet PacketPtr. base/statistics.hh: Change NodePtr parameters to Nodeptr &. cpu/exetrace.hh: Change StaticInstPtr parameters to StaticInstPtr &. dev/etherbus.cc: dev/etherbus.hh: dev/etherdump.cc: dev/etherdump.hh: dev/etherint.hh: dev/etherlink.cc: dev/etherlink.hh: dev/ethertap.cc: dev/ethertap.hh: change PacketPtr parameters to PacketPtr &. --HG-- extra : convert_revision : a778efdca33b0ec5beb76cf47db0e9e4728897ee
2004-02-02Change MemReqPtr parameters to references.Steve Reinhardt
This avoids incrementing and decrementing the MemReq reference counters on every call and return. arch/alpha/alpha_memory.cc: arch/alpha/alpha_memory.hh: cpu/exec_context.hh: cpu/memtest/memtest.cc: cpu/memtest/memtest.hh: dev/alpha_console.cc: dev/alpha_console.hh: Change MemReqPtr parameters to references. --HG-- extra : convert_revision : 3ba18bdd9f996563988402576bfdd3430e1ab1e5
2004-02-02Make stats:dump_period work even if dump_cycle isn't set.Steve Reinhardt
--HG-- extra : convert_revision : 9e85c0fa0f6c5393dd8e91034a49975628cf825d
2004-01-30Fixed the spec2000.ini file and made some cosmetic changes to theAndrew Schultz
setup-spec script util/setup-spec: Made some changes so the information contained in the ini file explains what the init_param value corresponds to --HG-- extra : convert_revision : 4082209f920244c262150c224a92ea21a55febd5
2004-01-30Added the spec2000 ini fileAndrew Schultz
--HG-- extra : convert_revision : 981a5a536a25b07dd54ed0166b291876b0a498c0
2004-01-30major rework/rewrite of the breakdown scriptSteve Raasch
--HG-- extra : convert_revision : 2e1d186e0f20b6089300b82a3f6dcb1d0b44c09d
2004-01-30Use $(MAKE) instead of 'make' when building libelf (suppresses an error ↵Steve Reinhardt
message about -j). Check for, delete, and die on zero-length .d files. --HG-- extra : convert_revision : 71b7f9e639d96fb7ed30952b142d69c34c725774
2004-01-30Fix libelf generation so it works on a clean make -j.Steve Reinhardt
--HG-- extra : convert_revision : 377633aa2c04695c598ee82a9529d2e40f0ffef7
2004-01-29wrap debugging stuff with #ifdef DEBUGNathan Binkert
--HG-- extra : convert_revision : 8205633c1c1b49b04f389aa40f95fbbc03a43fb6
2004-01-29delete the data in the arglist when the list is destroyed,Nathan Binkert
not while printing out the data. This allows the data to be dumped more than once. base/cprintf.hh: need a destructor --HG-- extra : convert_revision : 235e9fe24488ac4c0ae1b562ef9fa6e0bd1e899c
2004-01-29whack debugging statementNathan Binkert
--HG-- extra : convert_revision : f623d35a6e5a234e2b203974012c653b91826dbf
2004-01-29Fix character input by handling the character and theNathan Binkert
special console values separately. dev/alpha_console.cc: use new console specific input function --HG-- extra : convert_revision : 08997d6115d2aac3a26cac2774b3c3fc0cd76ab0
2004-01-29remove #include of nonexistent fileNathan Binkert
sim/universe.cc: oops. this doesn't exist --HG-- extra : convert_revision : 2cfb3680e4ebe3f27f22a79f853d4d6df445e65a
2004-01-29provide an output stream for simulator output. (This takes place of theNathan Binkert
statStream catchall that we had before) Also provide an optional output directory that multiple simulator output files can be written to. Make most output files use the output directory base/misc.cc: send warnings to the outputStream as well base/trace.cc: dprintf_stream defaults to cerr dev/console.cc: use the output directory for the console output if it exists dev/etherdump.cc: dump to the output directory if it exists sim/builder.cc: sim/builder.hh: move constructor and destructor to .cc file use a function to get the stream that the builder dumps its output to, and create a separate file in the output directory if able sim/main.cc: statStream -> outputStream sim/serialize.cc: dump checkpoints to the output directory if specified sim/universe.cc: provide an output stream for simulator output. (This takes place of the statStream catchall that we had before) Also provide an optional output directory that multiple simulator output files can be written to. --HG-- extra : convert_revision : 03abce20edbbf7ec19c9ddd8d69ec8485c383532
2004-01-29use $ENV{PWD} so that the amd paths work ok.Nathan Binkert
Also, compare real paths to ensure that the links point to the right place --HG-- extra : convert_revision : f4127a67f02b714808c6d2181fabf245ed2309c0
2004-01-29cleanup on aisle 5Nathan Binkert
base/statistics.cc: dead code --HG-- extra : convert_revision : 8f3fd638acdf7a704475ea90b607a3225a3c174d
2004-01-28Remove references to dep_tree to fix buildAndrew Schultz
--HG-- extra : convert_revision : dff311c1a18bd01750c1b5902410c23e0f43b798
2004-01-28removing the last vestages of the dep-tree stuff (hasn't worked for a LONG time)Steve Raasch
--HG-- extra : convert_revision : 145d56564ccca3a3c1c3d9115a4b8a5fb52c301d
2004-01-27Minor optimization of new LRU stack code.Steve Reinhardt
--HG-- extra : convert_revision : 953bc2f1ceab1cec9f48d65b94cc075655f6e9ec
2004-01-27Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5Steve Reinhardt
--HG-- extra : convert_revision : 2005ed2f551f2a80cbf62a41daaa3c4fa5af6fb3
2004-01-27a bunch of warning fixesNathan Binkert
arch/alpha/isa_desc: don't say warn: Warning: base/misc.cc: avoid printing two newlines in a row sim/main.cc: print out a message just before we enter the event queue --HG-- extra : convert_revision : 2a824d4b67661903fc739a0fb0759aa91d72382c
2004-01-27Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5Erik Hallnor
--HG-- extra : convert_revision : 47f69e4fb2d8727927e40fb6f2abf3dcab654c12
2004-01-27Remove SS-like code from lru.hh/ccErik Hallnor
--HG-- extra : convert_revision : 66baf998671a24e6a630d2f35c2f529418cd4d5b
2004-01-27Always write out a value for pending so that an m5.fast simulator canNathan Binkert
generate a checkpoint that an m5.debug simulator can use --HG-- extra : convert_revision : eec2d94013119236a9c65c9b5fb6c2ccb0480f51
2004-01-27Add trace flag for the sampling CPUNathan Binkert
--HG-- extra : convert_revision : 928588d46fa069e869416f4f5df8041849625e9f
2004-01-25Minor cleanup of sb_issue() in full_cpu/issue.cc.Steve Reinhardt
--HG-- extra : convert_revision : 4bf69125c37a067a3a06022226a7eb38dcaaf6d1
2004-01-25Change the way the hierarchy is separated. Now all virtual functions are in ↵Erik Hallnor
the interfaces. This allows new bus models to be used without major hassle. And I thought it was time to change it all again anyways. cpu/simple_cpu/simple_cpu.cc: Switch doEvents to doEvents() --HG-- extra : convert_revision : 14b9517017e76c7b941247004393bf260f397d9a
2004-01-21I hate compiling decoder.cc every time I touch something.Erik Hallnor
--HG-- extra : convert_revision : b79519452947ea7b110922d5a3dae2f3dfc0b916
2004-01-20Set LIBELF_LINUX to 0 to build on zax. BuildsSteve Reinhardt
but did not test... however the only thing this affects in libelf is the header, so I don't expect any functional problems. base/loader/elf_object.cc: Set LIBELF_LINUX to 0 to build on zax. --HG-- extra : convert_revision : d024b33deff6fc8ea6f1d465f76dc8d9d63254ab
2004-01-15Make each stat take up one full line. This allows us to use grepNathan Binkert
to find and remove stats from the files so we can put less burden on the python interpreter. base/statistics.cc: Manually insert newlines into the python code so that we now have one stat per line. (Make it so we can use grep -v to remove stats) test/stattest.cc: update to reflect changes in how python is accessed --HG-- extra : convert_revision : 554edcf9c795b33d00d3d15554447c8accebebfa
2004-01-15Make the python stats script more robustNathan Binkert
--HG-- extra : convert_revision : a7680d5cdeac96345e8f521cfb96fccaa3e7a7f6
2004-01-15Make dump cycle relativeNathan Binkert
--HG-- extra : convert_revision : 3434f60fa08d1543358c1209be8a5cfbe43a53bf
2004-01-14Update simple-* configs to Erik's new hierarchy parameter thing.Steve Reinhardt
--HG-- extra : convert_revision : de591f6ecfc9a0a20caefb4b82084d1b2ef3433b
2004-01-14Fixes and cleanup to elf loader code.Steve Reinhardt
base/loader/elf_object.cc: - Use program header instead of section headers for loading. The old code doesn't work for Alpha/Linux user binaries. - Deal properly with single-segment ELF executables (e.g. kernels)... haven't tested this but it looks like it matches the functionality of the patch the L4::Pistachio guys sent. - Factor load symbol code into one common function. - Some formatting to match style conventions. - Only include libelf stuff in .cc file, not .hh. base/loader/elf_object.hh: - Use program header instead of section headers for loading. The old code doesn't work for Alpha/Linux user binaries. - Factor load symbol code into one common function. - Only include libelf stuff in .cc file, not .hh. --HG-- extra : convert_revision : 782062d09d43083b01e65cd645c941f49c27640a
2004-01-14Merge codebases for CompressedMemBank and SimpleMemBank into one templatized ↵Erik Hallnor
class --HG-- extra : convert_revision : 04feb72fc4edbbbe1b37b7f618c9fbcbc8a72358
2004-01-14Use the new init phase to initialized the switch eventNathan Binkert
so that we can make the first switch time relative. --HG-- extra : convert_revision : c81beba2e1bd8629d6c7b386bb213980434030ec
2004-01-14Setup initialization callbacksNathan Binkert
--HG-- extra : convert_revision : ec56a839a0489c5494bfcd9ead0fc3866f1e8ac2
2004-01-13update for new hierarchy parametersErik Hallnor
--HG-- extra : convert_revision : a65f77d6ab704609d9c2ae2c85d4f893fa198cf9
2004-01-13Merge ehallnor@zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/ehallnor/m5Erik Hallnor
--HG-- extra : convert_revision : 52437e42f15899db46525ad91b2e43c2a96ace36
2004-01-13Change to a new centralized way to specify the memory hierarchy parameters ↵Erik Hallnor
(do_data and do_events). If you use the defaults (false and true respectively) you don't have to change your INI files. arch/alpha/isa_traits.hh: Add a constant for the maximum address value called MaxAddr. --HG-- extra : convert_revision : 1371e8b713cc6ed134093e9c208db35dc9741ac7
2004-01-12- quick support for using a regular expression to selectNathan Binkert
which stats to print - print out the subname --HG-- extra : convert_revision : 2960bd33654e55fe0f6279b09dce42b1216188c8
2004-01-12Commit the correct version of the codeNathan Binkert
--HG-- extra : convert_revision : 74555b2676fe20d4a742a272b6c97e3a8a237d68
2004-01-12make the python stuff executableNathan Binkert
--HG-- extra : convert_revision : 04c9ff03880f55483466e56109536b74d9163ccd
2004-01-12Check in python script that reads the python stats output.Nathan Binkert
Still needs a lot of work, but it's at least as good as the normal output, and has some features that normal ouput is missing such as bin totalling with correct formulas and totalling of 2d vectors and such. It will also filter out specific stats for printing. (basically grep, but no mistakes.) --HG-- extra : convert_revision : 05d0f0489483a32145cf6508122cfbc7ea57e204
2004-01-11Merge zizzer.eecs.umich.edu:/bk/m5Nathan Binkert
into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest --HG-- extra : convert_revision : bff2fb78e205f327ce8d04f3ae1b2352857ab824
2004-01-11Minor cleanup to bk ignore and makefile libelf rule.Steve Reinhardt
--HG-- extra : convert_revision : 77dd858344a74dea15bb36bcb0de04f3af9260f3
2004-01-11Modify handling of serialize:dir parameter to make it more useful.Steve Reinhardt
Move global checkpoint-related functions and vars into Checkpoint class (as statics). arch/alpha/pseudo_inst.cc: dev/disk_image.cc: Move global checkpoint-related functions and vars into Checkpoint class (as statics). sim/serialize.cc: Move global checkpoint-related functions and vars into Checkpoint class (as statics). Checkpoint constructor now takes checkpoint directory name instead of file name. Make serialize:dir parameter actually set checkpoint directory name instead of directory in which checkpoint directory is created. If the value contains a '%', the curTick value is sprintf'd into the format to create the directory name. The default is backwards compatible with the old fixed name ("m5.%012d"). sim/serialize.hh: Move global checkpoint-related functions and vars into Checkpoint class (as statics). Checkpoint constructor now takes checkpoint directory name instead of file name. --HG-- extra : convert_revision : d0aa87b62911f405a4f5811271b9e6351fdd9fe4
2004-01-11Fix cprintf bug, plus minor cleanup & better error messages.Steve Reinhardt
base/cprintf.cc: Fix bug where a call with a format string with no specifiers but one or more arguments would crash. Old code tried to print extra args using last available format, but in this case there was no format, hence the problem. Now we just print "<extra arg>" for each extra arg. Also reorganized code a bit to make scope of fmt variable match the scope in which you can be confident it's meaningful. base/cprintf.hh: Print specific error message instead of calling format_invalid(). base/cprintf_formats.hh: Clear Format object in constructor. Use specific error messages instead of format_invalid() function. --HG-- extra : convert_revision : 87d5e902174e3eb2583131d056742af166540db0
2004-01-08the build directory is now correctly createdAli Saidi
--HG-- extra : convert_revision : 4a7b91821e2de64e400417f8ac503af7e596571d