summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-07-05Added code to read any location in memory a repetative number of andAli Saidi
average the results. It works on alpha but I haven't got it working on x86 I think for lack of knowing a good address to read. --HG-- extra : convert_revision : e2442de641741674d692245712aa92e258cf6d48
2004-07-05these changes are an undo from my last changeset. these are meant for later.Lisa Hsu
--HG-- extra : convert_revision : 0126918ef293cba02aaaa61dff3c471eb4743116
2004-07-04almost forgot to do this - hope it doesn't mess up schedule.Lisa Hsu
dev/ns_gige.cc: dev/ns_gige.hh: add the stats nate wanted --HG-- extra : convert_revision : b59d586def7df31741b53cdb59cf3b19253caf26
2004-07-03fix makefile to work with traceflags.py changeNathan Binkert
--HG-- extra : convert_revision : 4aef47dc721684a786034aa85aea0c81822ec2eb
2004-07-02Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5Steve Reinhardt
--HG-- extra : convert_revision : 64c0ab7d2095ea8327bfc95fdf2151cf3ee5fd16
2004-07-02Initial SCons-based build system. See www.scons.org.Steve Reinhardt
'cd build; scons' will build ALPHA/m5.debug. Use e.g. 'scons KERNEL/m5.opt' to build other binaries. Read the comments in build/SConstruct for more details. base/traceflags.py: Take basename of generated cc/hh files from command line instead of hardwiring them. Lets us call the script from a different directory and still have the files end up in the right place (e.g. "base/traceflags.py base/traceflags"). --HG-- extra : convert_revision : ee4dbb59040cf07590929275f6c1c01e8d4e00b4
2004-07-02Fix byteswap on LP64 (amd64)Nathan Binkert
kern/linux/linux_system.cc: Formatting sim/host.hh: When we say ULL and UL we really just want a 64-bit value, not necessarily a long long, so cast the integer to (u)int64_t this fixes a problem with byte swapping. --HG-- extra : convert_revision : ad25ace5a7b92a7c928f2d52e531193c91f3f8c8
2004-07-02Need to #include <unistd.h> to build with preadNathan Binkert
--HG-- extra : convert_revision : 1e5b3e5f1eaba3853d7d3da5546387c16932ab6a
2004-07-01implement the readfile pseudo instruction that will readNathan Binkert
a realworld file. arch/alpha/isa_desc: arch/alpha/pseudo_inst.hh: implement the readfile pseudo instruction that will read a chunk of a realworld file. arch/alpha/pseudo_inst.cc: implement the readfile pseudo instruction that will read a chunk of a realworld file. The filename is a per system parameter and comes from the system itself. kern/linux/linux_system.cc: sim/system.hh: Create a per-system readfile parameter for use by the readfile pseudo instruction. That way each system can get its own file. --HG-- extra : convert_revision : 941b3a3e20702a6252b219ca66a6d90da2944c50
2004-07-01rename CopyData to CopyOut and implement CopyIn to copy dataNathan Binkert
from the simulator into the simulatee kern/tru64/dump_mbuf.cc: rename CopyData -> CopyOut --HG-- extra : convert_revision : e3ef27a5762dfc495dcb84a372470464c27557d2
2004-07-01sort out common files into configs/kernelNathan Binkert
fix up includes get stuff from the proper directories --HG-- extra : convert_revision : 7226e211a5db0d11880684150670d1cd5bc998ab
2004-07-01Add documentation for linux-dist system and make some small formattingAndrew Schultz
changes --HG-- extra : convert_revision : 5371561a10156cdb8dd7c2b5688d07e45510bf76
2004-06-30Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5Ali Saidi
--HG-- extra : convert_revision : eec2cf5ef2f8452bca955fd8aecb062d07502b0b
2004-06-30Update MAX ASN in kernel to 127 since that's what the ev5 supportsAli Saidi
--HG-- extra : convert_revision : e1feca854301682a7ce58e8f4ff149b10d2beb4b
2004-06-30fix the -I flag stuff for CPP so it actually works right.Nathan Binkert
What was I smoking? --HG-- extra : convert_revision : 24488707a35febe006ec50a1fa7c9fad4842eadc
2004-06-30add asn when tracing tlb stuffNathan Binkert
--HG-- extra : convert_revision : abc774179b3d4c979efd98e32d1d071b142e7b48
2004-06-30Merge zizzer:/bk/m5 into zizzer.eecs.umich.edu:/z/alschult/m5Andrew Schultz
--HG-- extra : convert_revision : 0bd6506e79600775dd0f72996120321f249b3411
2004-06-30Change assert to check on virtual addresses because the physicalAndrew Schultz
address can be zero for a copy --HG-- extra : convert_revision : c6089969396aee2d67fa695a31cb7c5aea794338
2004-06-30Merge zizzer.eecs.umich.edu:/bk/m5Lisa Hsu
into shizzle.(none):/home/hsul/work/linux-clean --HG-- extra : convert_revision : a072c1560e1f8b5cac378ed5f047a8a9c86b97b9
2004-06-30fix transmit side checksum offloading to not generate a pseudo header.Lisa Hsu
dev/ns_gige.cc: transmit side checksum offloading doesn't need pseudo header generation, it just takes the pseudo header checksum and uses it. --HG-- extra : convert_revision : 9741bd650415c18ed37b06a453b23610d028135b
2004-06-29Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5Ali Saidi
--HG-- extra : convert_revision : 7e1d8e3723f47338f0b24071ee95c66a9561dd2f
2004-06-29Another fix for the too much work problem in 2.6. This should do it.Ali Saidi
Both rx/tx interrupts are now scheduled for the future to give the linux kernel time to get out of its loop. --HG-- extra : convert_revision : 8fee0a25fde0ce0545c924f8547bed460602e006
2004-06-29Get rid of old ini files that haven't been used in a long time.Nathan Binkert
--HG-- extra : convert_revision : 43c21727952d46363a46ef3d8fe89546576edc08
2004-06-28With the new uart code 300 cycles isn't quite enough, 350 seems toAli Saidi
work. When everything gets changed to seconds this should be updated. --HG-- extra : convert_revision : 9f1064ff6fec5deceb591904f4571c9129ecc998
2004-06-28fix up the recordEvent stuff to support ignoring eventsNathan Binkert
arch/alpha/ev5.cc: cpu/simple_cpu/simple_cpu.cc: update for new event interface base/stats/events.cc: implement the ignore event function which matches sim objects from which to ignore events. Make insert event like insert data and make it able to insert many events in a single transaction with the database. base/stats/events.hh: Make it possible to ignore events sim/sim_object.cc: make recordEvent a member function of SimObject to implement the ignore function easily sim/sim_object.hh: implement the ignore event stuff in the sim object. This is a bit of a hack, but an easy place to put it. --HG-- extra : convert_revision : ba3f25a14ad03662c53fb35514860d69be8cd4f0
2004-06-28Don't serialize the absolute path so we can move checkpoints around.Nathan Binkert
sim/serialize.cc: sim/serialize.hh: export the checkpoint directory --HG-- extra : convert_revision : ba5b796fd930ab0487a502beefcf76bd6bb7c366
2004-06-28add support to add a string to indicate a particular sample of a runNathan Binkert
name to make statistical sampling easier. --HG-- extra : convert_revision : b24db4ef747b8ef00a0131db237e97de60c27dc3
2004-06-27Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5Steve Reinhardt
--HG-- extra : convert_revision : ad13cd0c7d700ec75ed98f517cbde3147e698940
2004-06-27allow the use of old console code and update elf_object not to rely on ↵Ali Saidi
EM_ALPHA value. base/loader/elf_object.cc: EM_ALPHA value isn't official, so perhaps we shouldn't use it dev/alpha_console.cc: dev/alpha_console.hh: this change allows the use of old console code --HG-- extra : convert_revision : cfacd64ae7fd2595158ca1a83ebcdb66ee7e119b
2004-06-26removed LINUX system dir, all we really need is one that both tru64 and ↵Ali Saidi
linux can share --HG-- extra : convert_revision : 7417031db632255749d2a8201d761a001fb7de2e
2004-06-26rewrote uart and renamed console.cc to simconsole to reduce confusionAli Saidi
base/traceflags.py: removed TsunamiUart/TlaserUart and added a plain Uart dev/alpha_console.cc: updated for new simconsole dev/platform.hh: added a uart member to platform dev/simconsole.cc: dev/simconsole.hh: removed lots of legacy code, it should all be ours now. converted tabs to 8 spaces added our copyright dev/tsunami.cc: uses simconsole.hh rather than console.hh dev/tsunami_cchip.cc: dev/tsunami_io.cc: never needed console.hh dev/tsunami_io.hh: this does need eventq.hh and it just happend to be working whenn console.hh was included everywhere dev/tsunamireg.h: added a couple more 8250/16550 uart defines dev/uart.cc: new uart code, rewritten to support both tlaser and tsunami (both a 8250 and 8530 uart). dev/uart.hh: updated for new uart, legacy code removed --HG-- rename : dev/console.cc => dev/simconsole.cc rename : dev/console.hh => dev/simconsole.hh rename : dev/tsunami_uart.cc => dev/uart.cc rename : dev/tsunami_uart.hh => dev/uart.hh extra : convert_revision : e663352d49d4c2d3c95643030cf73c0e85ba2f08
2004-06-23minor changes to endian code so that it runs on x86 linuxAli Saidi
base/intmath.hh: only need FloorLog2(size_t) on a mac, so ifdefed for this dev/alpha_console.cc: Actually allocate the alphaAccess struct. --HG-- extra : convert_revision : 1f50b1a025c8ee728a9f3d2c603ea38347234f54
2004-06-23Merge zizzer:/bk/linux into zeep.eecs.umich.edu:/z/saidi/work/m5-endianAli Saidi
--HG-- extra : convert_revision : d4938c6011173d3017f47fd592c4b5e4c8d543a3
2004-06-23Fix to properly shadow the DEV bit in the Drive/Head register so otherAndrew Schultz
disks are properly detected and handled --HG-- extra : convert_revision : ffc3046deb68458ee2ef6fa5263dc471488abc45
2004-06-23more modifications for cross-endian support. linux now gets to pciconfigAli Saidi
dev/alpha_console.cc: rather than acessing a byte array for alpha access, access the members **this requires an updated console** dev/pcidev.cc: correctly type all the pci data and store in in little endian no matter what system we are on dev/tsunami_uart.cc: correct a bug with the data type. kern/linux/linux_system.cc: system type in hwprb needs to be endian happy as well. --HG-- extra : convert_revision : 8de9bb69365b5d30fceaf4fa342a1639f92d7a83
2004-06-22Merge zizzer:/bk/linux into zeep.eecs.umich.edu:/z/saidi/work/m5-linuxAli Saidi
--HG-- extra : convert_revision : 448f6e7851c14dd2c9f6148122da873a19c20772
2004-06-22ifdefed ev5 vs. ev6 differences so Tlaser can work in the linux treeAli Saidi
arch/alpha/alpha_memory.cc: arch/alpha/ev5.hh: Ifdefed TLASER code arch/alpha/vtophys.cc: added back some code andrew removed and couldn't remember why. --HG-- extra : convert_revision : f00d255f7a8a7bdb6e74f061dd014188e3b39e73
2004-06-22pulled from head before pushing linux treeAli Saidi
--HG-- extra : convert_revision : 27868e84419a4bc2b9abf59a813b8c8acb8c6083
2004-06-22pull from head before pushing linux treeAli Saidi
--HG-- extra : convert_revision : 345f91c5c16c69db22035dc716e82fd77041380f
2004-06-21Initial cut at Python-based descriptor files for param contexts.Steve Reinhardt
These are not used at all right now, and will certainly change over time, but the tedious job of extracting them from .cc files is done. --HG-- extra : convert_revision : b1b30cdf523fe457449f7779f8c7951adab648b5
2004-06-21Handle SIGABRT a little more nicely.Steve Reinhardt
base/misc.cc: Don't dump trace in panic(), SIGABRT handler will do it now. sim/main.cc: Add SIGABRT handler that prints curTick and dumps buffered trace (if any). This doesn't work as well as I would like since the buffered trace records often contain stale references to stack-resident temporary std::string objects. Someday we'll have to put in a fix for that. --HG-- extra : convert_revision : 67576efbf5c10e63e255fc9a9ec520326fd3567b
2004-06-21Get rid of DynInst 'valid' hack check... bug it was put in for is long gone.Steve Reinhardt
--HG-- extra : convert_revision : ae2975894c9c4aeec65466ff9798a0420b4c7782
2004-06-21Don't put store prefetches (like wh64) with invalid addressesSteve Reinhardt
in the store buffer. --HG-- extra : convert_revision : c70cba4d5976b21967a53c7c728f2cbda1dfc183
2004-06-21Record execution faults in DynInst fault field. Previously theSteve Reinhardt
DynInst field was being set only on memory faults. If an FP memory op encountered an FP enable fault, then the bogus memory op would still get processed since the pipeline relied on the inst->fault field to tell if the op was bogus. --HG-- extra : convert_revision : 7435d712a464ce71b518425e0580aa22822fb901
2004-06-21lLisa Hsu
base/traceflags.py: added some more traceflags for ethernet to break it up better dev/etherpkt.hh: since we are not network host order, must reverse bytes for these typechecks. also, overload isTcp/UdpPkt to take an argument so you don't have to reget the ip header if you've already got one. dev/ns_gige.cc: 1) add some functions that reverse Endianness so we can generate adn evaluate checksum adn dprintf data accurately/more understandably 2) forget about the implementation of fifo fill/drain thresholds, it's not used by the driver much, nor does it matter with use sending/receiving in whole packets anyway. get rid of teh associated variables. 3) get rid of txFifoCnt the variable, it's redundant and unnecessary, just use txFifoAvail. 4) change io_enable to ioEnable, just to be picky. 5) modify some DPRINTF's to be clearer, also added a lot, and spread them into better traceflag categories 6) fix the device bug! it's the intrTick = 0 at teh beginning of cpuInterrupt(). 7) clear some bools in regsReset() so they don't holdover wrong state 8) fix pseudo header generation for Tcp checksumming to account for network order dev/ns_gige.hh: change io_enable to ioEnable, get rid of fill/drain thresh related variables and txFifoCnt, which is redundant --HG-- extra : convert_revision : c538b75731f3c9e04354f57e6df9a40aeca5096d
2004-06-21Merge saidi@zizzer.eecs.umich.edu:/bk/linuxAli Saidi
into ali-saidis-computer.local:/research/linux --HG-- extra : convert_revision : 446dc5fad11a6b29954dc5b1e974430853aa2969
2004-06-21start towards getting m5 endian compliantAli Saidi
base/inifile.cc: Added mac os support and fixed a bug, on error we need to exit the child process not return base/intmath.hh: gcc on macos wanted a seperate function for the size_t type base/loader/elf_object.cc: I'm not sure why this works under linux because it seems to return the wrong value. base/stats/text.cc: added define/include for mac os x cpu/exec_context.hh: cpu/simple_cpu/simple_cpu.cc: added endian conversion code dev/alpha_console.cc: rather than accessing a charecter array of varying size depending on the access, lets actually do this properly. dev/alpha_console.hh: get rid of now nolonger used consoleData dev/disk_image.cc: We have to byte swap the data is some cases, added function to do that dev/ethertap.cc: added preproc directive for mac os --HG-- extra : convert_revision : 2b5685765cfa2844926d7397f363d2788e3d640a
2004-06-17Serialized cpu interruptsAli Saidi
cpu/simple_cpu/simple_cpu.cc: called basecpu serialization --HG-- extra : convert_revision : 1a639b5e3c08e47a5d581c18b2b53fe87bd05b73
2004-06-17Fixes to IDE disk to fix serialization. Now passes simple CPU serializeAndrew Schultz
tests dev/ide_ctrl.cc: Formatting dev/ide_disk.cc: Remove some junk, add an assert to serialize, and add missing serialize for command register. --HG-- extra : convert_revision : 8f99857e32f278dd4e6f23deffc8047c6411d5b2
2004-06-16Fix serialize/unserialize of the timers and RTC eventsAndrew Schultz
--HG-- extra : convert_revision : aecf09b3b13a23ffef852a1539e8d4eec32008ad