Andrew Schultz [Thu, 8 Jul 2004 19:22:41 +0000 (15:22 -0400)]
Change mount command for mounting disk images
--HG--
extra : convert_revision :
450e8c7332c1e3162cdbef4177b7f54b47b1648a
Nathan Binkert [Thu, 8 Jul 2004 18:23:49 +0000 (14:23 -0400)]
Fix the cache's address range.
**warning** this is still a hack. The caches need to figure this
out on their own!
--HG--
extra : convert_revision :
4fbebf302bfbeaa35e5aad276934d8d1ce5c6baf
Lisa Hsu [Thu, 8 Jul 2004 13:05:26 +0000 (09:05 -0400)]
fix the failing regression. the sconscript ("makefile") was missing the etherbus.cc src file.
SConscript:
THIS is why the regression keeps failing. it's missing the the etherbus file in the sconscript.
--HG--
extra : convert_revision :
adbcfb6036d8e8ecb51c4f484d0030059542684b
Ali Saidi [Thu, 8 Jul 2004 04:28:02 +0000 (00:28 -0400)]
fixed a bad merge from linux<->tru64
--HG--
extra : convert_revision :
d7a5acd89a2bdc013c8a2bd022cc7048a3920f01
Lisa Hsu [Wed, 7 Jul 2004 00:04:17 +0000 (20:04 -0400)]
Merge zizzer.eecs.umich.edu:/bk/m5
into shizzle.(none):/home/hsul/work/linux-clean
--HG--
extra : convert_revision :
e0192f56c189e595daf3c020a56e1c02010aefbc
Nathan Binkert [Tue, 6 Jul 2004 23:27:33 +0000 (19:27 -0400)]
disable the binned_fn stuff
cpu0 -> cpu since we're not all set up for MP in the
ini files just yet.
--HG--
extra : convert_revision :
69a5af791ea89fec7e647d55644cc4eeaf924651
Nathan Binkert [Tue, 6 Jul 2004 23:22:39 +0000 (19:22 -0400)]
Make binning work with stuff other than FS_MEASURE
--HG--
extra : convert_revision :
e3fa3cfbdf2f13dd3a8d2266dd64c2c335f998d6
Nathan Binkert [Tue, 6 Jul 2004 23:21:47 +0000 (19:21 -0400)]
Fix some ini stuff.
--HG--
extra : convert_revision :
b870550f52901fe723eeab24a14ac4c1222ee1bd
Lisa Hsu [Tue, 6 Jul 2004 21:55:16 +0000 (17:55 -0400)]
tag each mem_req as coming from the nic if it is DMA'd from the NIC. the NIC tells the DMA interface, which in turn sets a new nic_req flag in the MemReq it makes.
dev/ns_gige.cc:
tell all outgoing dma events that this request is from the NIC
--HG--
extra : convert_revision :
62af17a2728a0ff729e7723dc29bd0d130ca5fe3
Lisa Hsu [Tue, 6 Jul 2004 21:42:58 +0000 (17:42 -0400)]
Merge zizzer.eecs.umich.edu:/bk/m5
into shizzle.(none):/home/hsul/work/linux-clean
--HG--
extra : convert_revision :
cd46aa31dab82e43c3c4f8bb6f0fe2e018acfd12
Erik Hallnor [Tue, 6 Jul 2004 15:29:23 +0000 (11:29 -0400)]
Remove duplicate stat
cpu/trace/reader/m5_reader.cc:
Wrap assert variable in NDEBUG
--HG--
extra : convert_revision :
8c79dc30eff2f2fa0110a04c30df17ec4417c28c
Ali Saidi [Mon, 5 Jul 2004 20:49:56 +0000 (16:49 -0400)]
updated to work on all platforms (actually map sure that the physical
address we are trying to access is mapped before accessing it.)
--HG--
extra : convert_revision :
104341334a3d2bb812a6b0b6277ab353f8f9b39e
Ali Saidi [Mon, 5 Jul 2004 19:49:42 +0000 (15:49 -0400)]
Added code to read any location in memory a repetative number of and
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
Lisa Hsu [Mon, 5 Jul 2004 15:20:53 +0000 (11:20 -0400)]
these changes are an undo from my last changeset. these are meant for later.
--HG--
extra : convert_revision :
0126918ef293cba02aaaa61dff3c471eb4743116
Lisa Hsu [Sun, 4 Jul 2004 20:47:07 +0000 (16:47 -0400)]
almost forgot to do this - hope it doesn't mess up schedule.
dev/ns_gige.cc:
dev/ns_gige.hh:
add the stats nate wanted
--HG--
extra : convert_revision :
b59d586def7df31741b53cdb59cf3b19253caf26
Lisa Hsu [Sun, 4 Jul 2004 16:08:54 +0000 (12:08 -0400)]
fix some broken .ini's
--HG--
extra : convert_revision :
c91b44b61919a10d3323601834d2959445308d0a
Nathan Binkert [Sat, 3 Jul 2004 14:10:43 +0000 (10:10 -0400)]
fix makefile to work with traceflags.py change
--HG--
extra : convert_revision :
4aef47dc721684a786034aa85aea0c81822ec2eb
Steve Reinhardt [Sat, 3 Jul 2004 04:17:51 +0000 (21:17 -0700)]
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
--HG--
extra : convert_revision :
64c0ab7d2095ea8327bfc95fdf2151cf3ee5fd16
Steve Reinhardt [Sat, 3 Jul 2004 04:16:38 +0000 (21:16 -0700)]
Initial SCons-based build system. See scons.org.
'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
Nathan Binkert [Fri, 2 Jul 2004 20:40:23 +0000 (16:40 -0400)]
Fix byteswap on LP64 (amd64)
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
Nathan Binkert [Fri, 2 Jul 2004 16:30:06 +0000 (12:30 -0400)]
Need to #include <unistd.h> to build with pread
--HG--
extra : convert_revision :
1e5b3e5f1eaba3853d7d3da5546387c16932ab6a
Nathan Binkert [Thu, 1 Jul 2004 22:03:05 +0000 (18:03 -0400)]
implement the readfile pseudo instruction that will read
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
Nathan Binkert [Thu, 1 Jul 2004 22:00:18 +0000 (18:00 -0400)]
rename CopyData to CopyOut and implement CopyIn to copy data
from the simulator into the simulatee
kern/tru64/dump_mbuf.cc:
rename CopyData -> CopyOut
--HG--
extra : convert_revision :
e3ef27a5762dfc495dcb84a372470464c27557d2
Nathan Binkert [Thu, 1 Jul 2004 18:02:23 +0000 (14:02 -0400)]
sort out common files into configs/kernel
fix up includes get stuff from the proper directories
--HG--
extra : convert_revision :
7226e211a5db0d11880684150670d1cd5bc998ab
Andrew Schultz [Thu, 1 Jul 2004 16:08:52 +0000 (12:08 -0400)]
Add documentation for linux-dist system and make some small formatting
changes
--HG--
extra : convert_revision :
5371561a10156cdb8dd7c2b5688d07e45510bf76
Ali Saidi [Wed, 30 Jun 2004 20:06:50 +0000 (16:06 -0400)]
Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5
--HG--
extra : convert_revision :
eec2cf5ef2f8452bca955fd8aecb062d07502b0b
Ali Saidi [Wed, 30 Jun 2004 20:06:47 +0000 (16:06 -0400)]
Update MAX ASN in kernel to 127 since that's what the ev5 supports
--HG--
extra : convert_revision :
e1feca854301682a7ce58e8f4ff149b10d2beb4b
Nathan Binkert [Wed, 30 Jun 2004 18:53:26 +0000 (14:53 -0400)]
fix the -I flag stuff for CPP so it actually works right.
What was I smoking?
--HG--
extra : convert_revision :
24488707a35febe006ec50a1fa7c9fad4842eadc
Nathan Binkert [Wed, 30 Jun 2004 18:51:40 +0000 (14:51 -0400)]
add asn when tracing tlb stuff
--HG--
extra : convert_revision :
abc774179b3d4c979efd98e32d1d071b142e7b48
Andrew Schultz [Wed, 30 Jun 2004 13:47:32 +0000 (09:47 -0400)]
Merge zizzer:/bk/m5 into zizzer.eecs.umich.edu:/z/alschult/m5
--HG--
extra : convert_revision :
0bd6506e79600775dd0f72996120321f249b3411
Andrew Schultz [Wed, 30 Jun 2004 13:47:23 +0000 (09:47 -0400)]
Change assert to check on virtual addresses because the physical
address can be zero for a copy
--HG--
extra : convert_revision :
c6089969396aee2d67fa695a31cb7c5aea794338
Lisa Hsu [Wed, 30 Jun 2004 04:51:11 +0000 (00:51 -0400)]
Merge zizzer.eecs.umich.edu:/bk/m5
into shizzle.(none):/home/hsul/work/linux-clean
--HG--
extra : convert_revision :
a072c1560e1f8b5cac378ed5f047a8a9c86b97b9
Lisa Hsu [Wed, 30 Jun 2004 04:50:56 +0000 (00:50 -0400)]
fix transmit side checksum offloading to not generate a pseudo header.
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
Ali Saidi [Tue, 29 Jun 2004 20:08:33 +0000 (16:08 -0400)]
Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5
--HG--
extra : convert_revision :
7e1d8e3723f47338f0b24071ee95c66a9561dd2f
Ali Saidi [Tue, 29 Jun 2004 20:08:26 +0000 (16:08 -0400)]
Another fix for the too much work problem in 2.6. This should do it.
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
Nathan Binkert [Tue, 29 Jun 2004 17:03:20 +0000 (13:03 -0400)]
Get rid of old ini files that haven't been used in a long time.
--HG--
extra : convert_revision :
43c21727952d46363a46ef3d8fe89546576edc08
Ali Saidi [Tue, 29 Jun 2004 01:23:10 +0000 (21:23 -0400)]
With the new uart code 300 cycles isn't quite enough, 350 seems to
work. When everything gets changed to seconds this should be updated.
--HG--
extra : convert_revision :
9f1064ff6fec5deceb591904f4571c9129ecc998
Nathan Binkert [Mon, 28 Jun 2004 20:49:35 +0000 (16:49 -0400)]
fix up the recordEvent stuff to support ignoring events
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
Nathan Binkert [Mon, 28 Jun 2004 19:54:05 +0000 (15:54 -0400)]
Don't serialize the absolute path so we can move checkpoints around.
sim/serialize.cc:
sim/serialize.hh:
export the checkpoint directory
--HG--
extra : convert_revision :
ba5b796fd930ab0487a502beefcf76bd6bb7c366
Nathan Binkert [Mon, 28 Jun 2004 19:53:06 +0000 (15:53 -0400)]
add support to add a string to indicate a particular sample of a run
name to make statistical sampling easier.
--HG--
extra : convert_revision :
b24db4ef747b8ef00a0131db237e97de60c27dc3
Steve Reinhardt [Sun, 27 Jun 2004 22:17:16 +0000 (15:17 -0700)]
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
--HG--
extra : convert_revision :
ad13cd0c7d700ec75ed98f517cbde3147e698940
Ali Saidi [Sun, 27 Jun 2004 18:33:55 +0000 (14:33 -0400)]
allow the use of old console code and update elf_object not to rely on 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
Ali Saidi [Sun, 27 Jun 2004 01:43:17 +0000 (21:43 -0400)]
removed LINUX system dir, all we really need is one that both tru64 and linux can share
--HG--
extra : convert_revision :
7417031db632255749d2a8201d761a001fb7de2e
Ali Saidi [Sun, 27 Jun 2004 01:26:28 +0000 (21:26 -0400)]
rewrote uart and renamed console.cc to simconsole to reduce confusion
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
Ali Saidi [Wed, 23 Jun 2004 22:39:11 +0000 (18:39 -0400)]
minor changes to endian code so that it runs on x86 linux
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
Ali Saidi [Wed, 23 Jun 2004 21:55:54 +0000 (17:55 -0400)]
Merge zizzer:/bk/linux into zeep.eecs.umich.edu:/z/saidi/work/m5-endian
--HG--
extra : convert_revision :
d4938c6011173d3017f47fd592c4b5e4c8d543a3
Andrew Schultz [Wed, 23 Jun 2004 19:37:05 +0000 (15:37 -0400)]
Fix to properly shadow the DEV bit in the Drive/Head register so other
disks are properly detected and handled
--HG--
extra : convert_revision :
ffc3046deb68458ee2ef6fa5263dc471488abc45
Ali Saidi [Wed, 23 Jun 2004 19:07:09 +0000 (15:07 -0400)]
more modifications for cross-endian support. linux now gets to pciconfig
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
Ali Saidi [Tue, 22 Jun 2004 21:20:34 +0000 (17:20 -0400)]
Merge zizzer:/bk/linux into zeep.eecs.umich.edu:/z/saidi/work/m5-linux
--HG--
extra : convert_revision :
448f6e7851c14dd2c9f6148122da873a19c20772
Ali Saidi [Tue, 22 Jun 2004 21:20:19 +0000 (17:20 -0400)]
ifdefed ev5 vs. ev6 differences so Tlaser can work in the linux tree
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
Ali Saidi [Tue, 22 Jun 2004 17:49:26 +0000 (13:49 -0400)]
pulled from head before pushing linux tree
--HG--
extra : convert_revision :
27868e84419a4bc2b9abf59a813b8c8acb8c6083
Ali Saidi [Tue, 22 Jun 2004 17:48:49 +0000 (13:48 -0400)]
pull from head before pushing linux tree
--HG--
extra : convert_revision :
345f91c5c16c69db22035dc716e82fd77041380f
Steve Reinhardt [Tue, 22 Jun 2004 05:42:17 +0000 (22:42 -0700)]
Initial cut at Python-based descriptor files for param contexts.
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
Steve Reinhardt [Tue, 22 Jun 2004 05:42:16 +0000 (22:42 -0700)]
Handle SIGABRT a little more nicely.
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
Steve Reinhardt [Tue, 22 Jun 2004 05:39:59 +0000 (22:39 -0700)]
Get rid of DynInst 'valid' hack check... bug it was put in for is long gone.
--HG--
extra : convert_revision :
ae2975894c9c4aeec65466ff9798a0420b4c7782
Steve Reinhardt [Tue, 22 Jun 2004 03:48:55 +0000 (20:48 -0700)]
Don't put store prefetches (like wh64) with invalid addresses
in the store buffer.
--HG--
extra : convert_revision :
c70cba4d5976b21967a53c7c728f2cbda1dfc183
Steve Reinhardt [Mon, 21 Jun 2004 23:26:21 +0000 (16:26 -0700)]
Record execution faults in DynInst fault field. Previously the
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
Lisa Hsu [Mon, 21 Jun 2004 21:25:18 +0000 (17:25 -0400)]
l
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
Ali Saidi [Mon, 21 Jun 2004 05:04:48 +0000 (01:04 -0400)]
Merge saidi@zizzer.eecs.umich.edu:/bk/linux
into ali-saidis-computer.local:/research/linux
--HG--
extra : convert_revision :
446dc5fad11a6b29954dc5b1e974430853aa2969
Ali Saidi [Mon, 21 Jun 2004 04:58:30 +0000 (00:58 -0400)]
start towards getting m5 endian compliant
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
Ali Saidi [Thu, 17 Jun 2004 19:36:59 +0000 (15:36 -0400)]
Serialized cpu interrupts
cpu/simple_cpu/simple_cpu.cc:
called basecpu serialization
--HG--
extra : convert_revision :
1a639b5e3c08e47a5d581c18b2b53fe87bd05b73
Andrew Schultz [Thu, 17 Jun 2004 15:24:14 +0000 (11:24 -0400)]
Fixes to IDE disk to fix serialization. Now passes simple CPU serialize
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
Andrew Schultz [Wed, 16 Jun 2004 23:47:07 +0000 (19:47 -0400)]
Fix serialize/unserialize of the timers and RTC events
--HG--
extra : convert_revision :
aecf09b3b13a23ffef852a1539e8d4eec32008ad
Ali Saidi [Wed, 16 Jun 2004 22:20:10 +0000 (18:20 -0400)]
Updated serialization code and added #if tracing so that make fast
builds
dev/ide_ctrl.cc:
added #if to remove variables that are optimized out.
dev/tsunami_io.cc:
dev/tsunami_io.hh:
Updated serialization code
--HG--
extra : convert_revision :
b322a3299097cbd05b9b5bb8b0a80e9fa33bdc20
Steve Reinhardt [Tue, 15 Jun 2004 21:08:34 +0000 (17:08 -0400)]
Enable software prefetches in FullCPU by default.
--HG--
extra : convert_revision :
b492c3537b4ae443bfd2c4d8f17cebead389dfc6
Steve Reinhardt [Tue, 15 Jun 2004 17:48:31 +0000 (10:48 -0700)]
Merge isabel.reinhardt.house:/z/stever/bk/m5-head
into isabel.reinhardt.house:/z/stever/bk/m5
--HG--
extra : convert_revision :
1af377ff2dbe27f357410ab91a50b06c61f12e83
Steve Reinhardt [Tue, 15 Jun 2004 17:48:08 +0000 (10:48 -0700)]
Get software prefetching to work in full-system mode.
Mostly a matter of keeping prefetches to invalid addrs
from messing up VM IPRs. Also discovered that wh64s were
not being treated as prefetches, when they really should be
(for the most part, anyway).
arch/alpha/alpha_memory.cc:
arch/alpha/alpha_memory.hh:
- Get rid of intrlock flag for locking VM fault regs (a la EV5);
instead, just don't update regs on VPTE loads (a la EV6).
- Add NO_FAULT MemReq flag to indicate references that should not
cause page faults (i.e., prefetches).
arch/alpha/ev5.cc:
- Get rid of intrlock flag for locking VM fault regs (a la EV5);
instead, just don't update regs on VPTE loads (a la EV6).
- Add Fault trace flag.
arch/alpha/isa_desc:
- Add NO_FAULT MemReq flag to indicate references that should not
cause page faults (i.e., prefetches).
- Mark wh64 as a "data prefetch" instruction so it gets controlled
properly by the FullCPU data prefetch control switch.
- Align wh64 EA in decoder so issue stage doesn't need to worry about it.
arch/alpha/isa_traits.hh:
- Get rid of intrlock flag for locking VM fault regs (a la EV5);
instead, just don't update regs on VPTE loads (a la EV6).
base/traceflags.py:
- Add Fault trace flag.
cpu/simple_cpu/simple_cpu.hh:
- Pass MemReq flags to writeHint() operation.
cpu/static_inst.hh:
Update comment re: prefetches.
--HG--
extra : convert_revision :
62e466b0f4c0ff9961796270fa2e371ec24bcbb6
Nathan Binkert [Tue, 15 Jun 2004 14:58:41 +0000 (10:58 -0400)]
Reconfigure ini files to match the default system that I'd like
to use for future papers. Notable changes include a 3 level
cache hierarchy, a bug fix in the main memory bandwidth and
narrowing of the machine.
--HG--
extra : convert_revision :
db0da82b0adaa5fa3413354e6d36bff9e3bd37dc
Erik Hallnor [Mon, 14 Jun 2004 04:45:30 +0000 (00:45 -0400)]
Add fast writes (wh64) back to the cache.
--HG--
extra : convert_revision :
48081c86da3f7959957e35f8ec868da55c68b5ce
Erik Hallnor [Sun, 13 Jun 2004 09:52:59 +0000 (05:52 -0400)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/ehallnor/work/m5
--HG--
extra : convert_revision :
88c83150b7fd9260e0441334f2503b1e029d8c09
Erik Hallnor [Sun, 13 Jun 2004 09:52:28 +0000 (05:52 -0400)]
Add some rewritten trace readers.
--HG--
extra : convert_revision :
4a085c5d8526d1bf3f7155cda40002281c0c3d1b
Lisa Hsu [Sat, 12 Jun 2004 18:24:20 +0000 (14:24 -0400)]
minor mods for mimicking NS83820 functionality
dev/ide_ctrl.cc:
generalize these #defs
dev/ide_ctrl.hh:
put these in pcireg.h
dev/ns_gige.cc:
do i need io_enable? and assert will fail if i actually need to implement it, which may give clue as to wehtehr i need to implmeent the mem_enable and bm_enable stuff.
dev/ns_gige.hh:
implement this in case it's needed
dev/pcireg.h:
put these defs in pcireg instead
--HG--
extra : convert_revision :
5e3581b5da17410f943907139bd479f15d2231e8
Lisa Hsu [Sat, 12 Jun 2004 16:59:43 +0000 (12:59 -0400)]
fix the SYSTEMDIR #def
--HG--
extra : convert_revision :
cf5fd4aeaf96787345e233ddcd58f5eae55e0c27
Lisa Hsu [Fri, 11 Jun 2004 19:26:21 +0000 (15:26 -0400)]
fix serialization
dev/ns_gige.cc:
fix serialization and move regsReset into the cc file
dev/ns_gige.hh:
put regsReset into cc instead of here in hh
--HG--
extra : convert_revision :
3a8796fa583e0765503104a9dbe28cc69f1a8fa9
Lisa Hsu [Fri, 11 Jun 2004 19:01:18 +0000 (15:01 -0400)]
fix ini messups with the reorg
--HG--
extra : convert_revision :
67a36f724800b74fd0fcec9727bb2ea98ddc73e9
Ali Saidi [Fri, 11 Jun 2004 05:55:20 +0000 (01:55 -0400)]
after unserialization in the ide driver we need to reprogram the
busbridges. Also small fix for gcc 3.3.3.
dev/etherpkt.hh:
Gcc 3.3.3 wants assert.h to be include in this file.
dev/ide_ctrl.cc:
after unserialization we need to tell the busbridges what addresses to
respond to.
--HG--
extra : convert_revision :
a421197a5be07761bdef571d0a9406d77788e270
Ali Saidi [Thu, 10 Jun 2004 21:31:25 +0000 (17:31 -0400)]
move ping_linux.ini into linux-kernel-tsunami dir
--HG--
extra : convert_revision :
da08795d48bd7b82fdfb7443e4ffa7e45c037a0c
Lisa Hsu [Thu, 10 Jun 2004 18:40:51 +0000 (14:40 -0400)]
Merge zizzer.eecs.umich.edu:/bk/linux
into lush.(none):/z/hsul/work/linux
--HG--
extra : convert_revision :
30b93e7a4548a00ba18e86aad85df4c790f51d43
Lisa Hsu [Thu, 10 Jun 2004 18:27:44 +0000 (14:27 -0400)]
fix some things on linux todo list. 1) the config.ini. 2) the etherpkt struct defs into ined_hdrs.hh
3) add some new functions to etherpkt. 4) checkin the nice ping_linux.ini that i've been using.
dev/etherpkt.hh:
remove the packet headers nate hated so much.
also add some new functionality regarding packets, like isIpHdr(), etc.
dev/ns_gige.cc:
improve the code given the nice new functions offered in etherpkt
--HG--
extra : convert_revision :
2e27f5a8dca5323c0fa22d3c51af44a35f6be1a2
Ali Saidi [Thu, 10 Jun 2004 17:30:58 +0000 (13:30 -0400)]
Fixes for detailed boot, made cttz and ctlz instructions more compact,
and started cleaning up config files.
arch/alpha/isa_desc:
Made implementation of cttz and ctlz more compact
base/remote_gdb.cc:
Added comment about PALcode debugger accesses
dev/baddev.cc:
dev/baddev.hh:
dev/ide_ctrl.cc:
dev/ide_ctrl.hh:
dev/pciconfigall.cc:
dev/pciconfigall.hh:
dev/tsunami_cchip.cc:
dev/tsunami_cchip.hh:
dev/tsunami_io.cc:
dev/tsunami_io.hh:
dev/tsunami_pchip.cc:
dev/tsunami_pchip.hh:
dev/tsunami_uart.cc:
dev/tsunami_uart.hh:
Cleaned up includes and changed device from FunctionalMemory to
PioDevice for detailed boot
dev/ns_gige.cc:
The ethernet dev uses two BARs, and the first bars size was being set
incorrectly.
dev/tsunamireg.h:
I don't know why we were using the superpage as the PCI memory addr.
Changed and works correctly with detailed boot.
--HG--
extra : convert_revision :
b535e76612cb90b544305dc1aa8c5e0e774564bd
Lisa Hsu [Thu, 10 Jun 2004 05:14:35 +0000 (01:14 -0400)]
lift common code *kernel_stats.* into the kern directory.
cpu/exec_context.hh:
lift kernel_stats out in the linux tree.
--HG--
extra : convert_revision :
866c7f82d8b995b4dce295de1ab0980527d13f01
Lisa Hsu [Thu, 10 Jun 2004 05:05:38 +0000 (01:05 -0400)]
Merge zizzer.eecs.umich.edu:/bk/m5
into shizzle.(none):/home/hsul/work/m5clean
--HG--
extra : convert_revision :
97a6fbe1d48c2f8855bd1b0971130b991dd48a80
Lisa Hsu [Thu, 10 Jun 2004 05:05:03 +0000 (01:05 -0400)]
forgot to remove these files
--HG--
extra : convert_revision :
91723409e22f36622b99309a3af227ea0c382cc7
Lisa Hsu [Thu, 10 Jun 2004 05:02:33 +0000 (01:02 -0400)]
lif kernelt stats out of tru64 directory
cpu/exec_context.hh:
change this to reflect the lifted kernel stats file.
--HG--
extra : convert_revision :
0dda3babdf51ee7a57430af69c7e20322b4eb622
Andrew Schultz [Thu, 10 Jun 2004 05:00:47 +0000 (01:00 -0400)]
Change SCSI controller back to original M5 controller and remove the
Adaptec additions (will stay in BitKeeper revision history)
--HG--
extra : convert_revision :
f2e073fd5a34332e6f4b780bde6b948b486e3f68
Steve Reinhardt [Thu, 10 Jun 2004 04:01:20 +0000 (21:01 -0700)]
Rename '*.odesc' files to '*.od'.
--HG--
extra : convert_revision :
68b4f1cc414ab67e7bd19682854ef3f0b28986c0
Steve Reinhardt [Thu, 10 Jun 2004 03:53:29 +0000 (20:53 -0700)]
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
--HG--
extra : convert_revision :
10205d5b7bd10a5894dde9481d0909e909760874
Steve Reinhardt [Thu, 10 Jun 2004 03:46:29 +0000 (20:46 -0700)]
Minor restructuring of Python config code, mostly to avoid walking
the source tree for *.odesc files every time we run the script.
This is now factored out into load_odesc.py, which should be used
to generate m5odescs.py, which is then used as the source of object
& parameter definitions.
util/config/m5configbase.py:
- Move odesc loading code to separate load_odescs.py, so maybe someday
that can be done once at build time.
- Print out children of a node in the order they are added.
- Automatically assign a parent-less node to the first node for which it
is used as the value of a parameter. (Easier demonstrated than explained.)
- Calculate object paths dynamically when requested rather than trying
to keep them up to date as objects get assigned to parents.
--HG--
rename : util/config/m5config.py => util/config/m5configbase.py
extra : convert_revision :
2183a09d32f3862ab377e0a929715f30505a03cb
Erik Hallnor [Wed, 9 Jun 2004 18:41:06 +0000 (14:41 -0400)]
Don't print 0 stats for memory commands we don't see.
--HG--
extra : convert_revision :
e72c8bec85c72a48b0b5997d184922faf46c456c
Erik Hallnor [Wed, 9 Jun 2004 00:11:40 +0000 (20:11 -0400)]
Make TraceCPU only compile in non-fullsystem.
--HG--
extra : convert_revision :
5df611ae03f41093257672c0ad46bfddc58e515c
Erik Hallnor [Tue, 8 Jun 2004 23:52:49 +0000 (19:52 -0400)]
Tracing now works for upto 4 threads. Easy change to get it to work for more, but I don't have any test handy to test it.
cpu/trace/reader/m5_reader.cc:
Add thread num.
cpu/trace/trace_cpu.cc:
Increase thread count to 4, might want to make this a parameter (but it only really costs us storage).
--HG--
extra : convert_revision :
97cd7843668a3ef85aad06e3180dc04d2ca30ac1
Erik Hallnor [Tue, 8 Jun 2004 21:31:04 +0000 (17:31 -0400)]
Add the capability to read and write memory trace files. Currently is cycle accurate for a single thread FullCPU.
--HG--
extra : convert_revision :
f8fe545313eb307cc6f5ff2c23894cc9870b1d5b
Ali Saidi [Tue, 8 Jun 2004 17:47:45 +0000 (13:47 -0400)]
Extra semicolon removed
--HG--
extra : convert_revision :
fca7af81cfa4256acc1f2fb667196ca7411d754f
Ali Saidi [Tue, 8 Jun 2004 17:37:27 +0000 (13:37 -0400)]
Updated Copyright with information in bitkeeper changelogs
arch/alpha/alpha_linux_process.cc:
arch/alpha/alpha_linux_process.hh:
arch/alpha/alpha_memory.cc:
arch/alpha/alpha_memory.hh:
arch/alpha/alpha_tru64_process.cc:
arch/alpha/alpha_tru64_process.hh:
arch/alpha/aout_machdep.h:
arch/alpha/arguments.cc:
arch/alpha/arguments.hh:
arch/alpha/faults.cc:
arch/alpha/faults.hh:
arch/alpha/isa_traits.hh:
arch/alpha/osfpal.cc:
arch/alpha/osfpal.hh:
arch/alpha/pseudo_inst.cc:
arch/alpha/pseudo_inst.hh:
arch/alpha/vptr.hh:
arch/alpha/vtophys.cc:
arch/alpha/vtophys.hh:
base/bitfield.hh:
base/callback.hh:
base/circlebuf.cc:
base/circlebuf.hh:
base/compression/lzss_compression.cc:
base/compression/lzss_compression.hh:
base/compression/null_compression.hh:
base/cprintf.cc:
base/cprintf.hh:
base/cprintf_formats.hh:
base/date.cc:
base/dbl_list.hh:
base/endian.hh:
base/fast_alloc.cc:
base/fast_alloc.hh:
base/fifo_buffer.cc:
base/fifo_buffer.hh:
base/hashmap.hh:
base/hostinfo.cc:
base/hostinfo.hh:
base/hybrid_pred.cc:
base/hybrid_pred.hh:
base/inet.cc:
base/inet.hh:
base/inifile.cc:
base/inifile.hh:
base/intmath.cc:
base/intmath.hh:
base/loader/aout_object.cc:
base/loader/aout_object.hh:
base/loader/ecoff_object.cc:
base/loader/ecoff_object.hh:
base/loader/elf_object.cc:
base/loader/elf_object.hh:
base/loader/object_file.cc:
base/loader/object_file.hh:
base/loader/symtab.cc:
base/loader/symtab.hh:
base/misc.cc:
base/misc.hh:
base/mod_num.hh:
base/mysql.cc:
base/mysql.hh:
base/pollevent.cc:
base/pollevent.hh:
base/predictor.hh:
base/random.cc:
base/random.hh:
base/range.cc:
base/range.hh:
base/refcnt.hh:
base/remote_gdb.cc:
base/remote_gdb.hh:
base/res_list.hh:
base/sat_counter.cc:
base/sat_counter.hh:
base/sched_list.hh:
base/socket.cc:
base/socket.hh:
base/statistics.cc:
base/statistics.hh:
base/stats/events.cc:
base/stats/events.hh:
base/stats/flags.hh:
base/stats/mysql.cc:
base/stats/mysql.hh:
base/stats/mysql_run.hh:
base/stats/output.hh:
base/stats/statdb.cc:
base/stats/statdb.hh:
base/stats/text.cc:
base/stats/text.hh:
base/stats/types.hh:
base/stats/visit.cc:
base/stats/visit.hh:
base/str.cc:
base/str.hh:
base/time.cc:
base/time.hh:
base/trace.cc:
base/trace.hh:
base/userinfo.cc:
base/userinfo.hh:
cpu/base_cpu.cc:
cpu/base_cpu.hh:
cpu/exec_context.cc:
cpu/exec_context.hh:
cpu/exetrace.cc:
cpu/exetrace.hh:
cpu/full_cpu/op_class.hh:
cpu/full_cpu/smt.hh:
cpu/inst_seq.hh:
cpu/intr_control.cc:
cpu/intr_control.hh:
cpu/memtest/memtest.cc:
cpu/memtest/memtest.hh:
cpu/pc_event.cc:
cpu/pc_event.hh:
cpu/simple_cpu/simple_cpu.cc:
cpu/simple_cpu/simple_cpu.hh:
cpu/static_inst.cc:
cpu/static_inst.hh:
dev/alpha_console.cc:
dev/alpha_console.hh:
dev/baddev.cc:
dev/baddev.hh:
dev/disk_image.cc:
dev/disk_image.hh:
dev/etherbus.cc:
dev/etherbus.hh:
dev/etherdump.cc:
dev/etherdump.hh:
dev/etherint.cc:
dev/etherint.hh:
dev/etherlink.cc:
dev/etherlink.hh:
dev/etherpkt.cc:
dev/etherpkt.hh:
dev/ethertap.cc:
dev/ethertap.hh:
dev/ide_ctrl.cc:
dev/ide_ctrl.hh:
dev/ide_disk.cc:
dev/ide_disk.hh:
dev/io_device.cc:
dev/io_device.hh:
dev/ns_gige.cc:
dev/ns_gige.hh:
dev/ns_gige_reg.h:
dev/pciconfigall.cc:
dev/pciconfigall.hh:
dev/pcidev.cc:
dev/pcidev.hh:
dev/pcireg.h:
dev/platform.cc:
dev/platform.hh:
dev/simple_disk.cc:
dev/simple_disk.hh:
dev/tsunami.cc:
dev/tsunami.hh:
dev/tsunami_cchip.cc:
dev/tsunami_cchip.hh:
dev/tsunami_io.cc:
dev/tsunami_io.hh:
dev/tsunami_pchip.cc:
dev/tsunami_pchip.hh:
dev/tsunami_uart.hh:
dev/tsunamireg.h:
docs/stl.hh:
kern/linux/linux.hh:
kern/linux/linux_syscalls.cc:
kern/linux/linux_syscalls.hh:
kern/linux/linux_system.cc:
kern/linux/linux_system.hh:
kern/system_events.cc:
kern/system_events.hh:
kern/tru64/dump_mbuf.cc:
kern/tru64/dump_mbuf.hh:
kern/tru64/mbuf.hh:
kern/tru64/printf.cc:
kern/tru64/printf.hh:
kern/tru64/tru64.hh:
kern/tru64/tru64_events.cc:
kern/tru64/tru64_events.hh:
kern/tru64/tru64_syscalls.cc:
kern/tru64/tru64_syscalls.hh:
kern/tru64/tru64_system.cc:
kern/tru64/tru64_system.hh:
sim/async.hh:
sim/builder.cc:
sim/builder.hh:
sim/debug.cc:
sim/debug.hh:
sim/eventq.cc:
sim/eventq.hh:
sim/host.hh:
sim/main.cc:
sim/param.cc:
sim/param.hh:
sim/process.cc:
sim/process.hh:
sim/serialize.cc:
sim/serialize.hh:
sim/sim_events.cc:
sim/sim_events.hh:
sim/sim_exit.hh:
sim/sim_object.cc:
sim/sim_object.hh:
sim/stat_control.cc:
sim/stat_control.hh:
sim/stats.hh:
sim/syscall_emul.cc:
sim/syscall_emul.hh:
sim/system.cc:
sim/system.hh:
sim/universe.cc:
test/bitvectest.cc:
test/circletest.cc:
test/cprintftest.cc:
test/initest.cc:
test/lru_test.cc:
test/nmtest.cc:
test/offtest.cc:
test/paramtest.cc:
test/rangetest.cc:
test/sized_test.cc:
test/stattest.cc:
test/strnumtest.cc:
test/symtest.cc:
test/tokentest.cc:
test/tracetest.cc:
util/m5/m5.c:
util/m5/m5op.h:
util/tap/tap.cc:
Updated Copyright
dev/console.cc:
dev/console.hh:
This code isn't ours, and shouldn't have our copyright
--HG--
extra : convert_revision :
598f2e5eab5d5d3de2c1e862b389086e3212f7c4
Ali Saidi [Sun, 6 Jun 2004 23:31:06 +0000 (19:31 -0400)]
Merge saidi@zizzer:/z/m5/Bitkeeper/linux/
into zeep.eecs.umich.edu:/z/saidi/work/m5
--HG--
extra : convert_revision :
9fa64783d4f5d03acff5d11cba61e46590d6a9dd
Ali Saidi [Sun, 6 Jun 2004 23:30:52 +0000 (19:30 -0400)]
Updated to use new palcode with ctlz instruction
--HG--
extra : convert_revision :
fbea7f01c528ae472845ec2897c9405afb145417
Ali Saidi [Fri, 4 Jun 2004 22:10:50 +0000 (18:10 -0400)]
Added ctlz and cttz instructions to isa_desc for use in the PAL code.
--HG--
extra : convert_revision :
74dec35113b795e792b7fc03947a05349a4ff669
Andrew Schultz [Fri, 4 Jun 2004 20:04:55 +0000 (16:04 -0400)]
Fix to TsunamiIO unserialize
dev/tsunami_io.cc:
Timers don't need to be rescheduled cause they aren't scheduled by
the default constructor
--HG--
extra : convert_revision :
afb68e4f0c4e2a2c98f0037e061752690080a503
Andrew Schultz [Fri, 4 Jun 2004 19:13:04 +0000 (15:13 -0400)]
Merge zizzer:/bk/linux
into zower.eecs.umich.edu:/z/alschult/DiskModel/linux
--HG--
extra : convert_revision :
b23a1d1a79ac5c593150d269d0523c474cf6a4a0
Andrew Schultz [Fri, 4 Jun 2004 19:12:27 +0000 (15:12 -0400)]
Changes to support serialization with PCI devices
dev/ide_ctrl.cc:
Properly serialize/unserialize the PciDev base class to get it to remap
the MMU
dev/ns_gige.cc:
dev/ns_gige.hh:
Remove the "addr" paramter from the constructor and change the device
to use PCI based MMU mappings only
dev/pciconfigall.cc:
Change comments
dev/pcidev.cc:
Properly setup the MMU after a serialize
--HG--
extra : convert_revision :
4b2e7ba58e3c24fac1ff6f80635e704d6ecc0eff