gem5.git
20 years agoifdefed ev5 vs. ev6 differences so Tlaser can work in the linux tree
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

20 years agopulled from head before pushing linux tree
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

20 years agopull from head before pushing linux tree
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

20 years agoHandle SIGABRT a little more nicely.
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

20 years agoGet rid of DynInst 'valid' hack check... bug it was put in for is long gone.
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

20 years agoDon't put store prefetches (like wh64) with invalid addresses
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

20 years agoRecord execution faults in DynInst fault field. Previously the
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

20 years agoSerialized cpu interrupts
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

20 years agoFixes to IDE disk to fix serialization. Now passes simple CPU serialize
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

20 years agoFix serialize/unserialize of the timers and RTC events
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

20 years agoUpdated serialization code and added #if tracing so that make fast
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

20 years agoEnable software prefetches in FullCPU by default.
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

20 years agoMerge isabel.reinhardt.house:/z/stever/bk/m5-head
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

20 years agoGet software prefetching to work in full-system mode.
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

20 years agoReconfigure ini files to match the default system that I'd like m5_1.0_beta2
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

20 years agoAdd fast writes (wh64) back to the cache.
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

20 years agoMerge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
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

20 years agoAdd some rewritten trace readers.
Erik Hallnor [Sun, 13 Jun 2004 09:52:28 +0000 (05:52 -0400)]
Add some rewritten trace readers.

--HG--
extra : convert_revision : 4a085c5d8526d1bf3f7155cda40002281c0c3d1b

20 years agominor mods for mimicking NS83820 functionality
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

20 years agofix the SYSTEMDIR #def
Lisa Hsu [Sat, 12 Jun 2004 16:59:43 +0000 (12:59 -0400)]
fix the SYSTEMDIR #def

--HG--
extra : convert_revision : cf5fd4aeaf96787345e233ddcd58f5eae55e0c27

20 years agofix serialization
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

20 years agofix ini messups with the reorg
Lisa Hsu [Fri, 11 Jun 2004 19:01:18 +0000 (15:01 -0400)]
fix ini messups with the reorg

--HG--
extra : convert_revision : 67a36f724800b74fd0fcec9727bb2ea98ddc73e9

20 years agoafter unserialization in the ide driver we need to reprogram the
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

20 years agomove ping_linux.ini into linux-kernel-tsunami dir
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

20 years agoMerge zizzer.eecs.umich.edu:/bk/linux
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

20 years agofix some things on linux todo list. 1) the config.ini. 2) the etherpkt struct defs...
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

20 years agoFixes for detailed boot, made cttz and ctlz instructions more compact,
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

20 years agolift common code *kernel_stats.* into the kern directory.
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

20 years agoMerge zizzer.eecs.umich.edu:/bk/m5
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

20 years agoforgot to remove these files
Lisa Hsu [Thu, 10 Jun 2004 05:05:03 +0000 (01:05 -0400)]
forgot to remove these files

--HG--
extra : convert_revision : 91723409e22f36622b99309a3af227ea0c382cc7

20 years agolif kernelt stats out of tru64 directory
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

20 years agoChange SCSI controller back to original M5 controller and remove the
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

20 years agoRename '*.odesc' files to '*.od'.
Steve Reinhardt [Thu, 10 Jun 2004 04:01:20 +0000 (21:01 -0700)]
Rename '*.odesc' files to '*.od'.

--HG--
extra : convert_revision : 68b4f1cc414ab67e7bd19682854ef3f0b28986c0

20 years agoMerge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
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

20 years agoMinor restructuring of Python config code, mostly to avoid walking
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

20 years agoDon't print 0 stats for memory commands we don't see.
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

20 years agoMake TraceCPU only compile in non-fullsystem.
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

20 years agoTracing now works for upto 4 threads. Easy change to get it to work for more, but...
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

20 years agoAdd the capability to read and write memory trace files. Currently is cycle accurate...
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

20 years agoExtra semicolon removed
Ali Saidi [Tue, 8 Jun 2004 17:47:45 +0000 (13:47 -0400)]
Extra semicolon removed

--HG--
extra : convert_revision : fca7af81cfa4256acc1f2fb667196ca7411d754f

20 years agoUpdated Copyright with information in bitkeeper changelogs
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

20 years agoMerge saidi@zizzer:/z/m5/Bitkeeper/linux/
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

20 years agoUpdated to use new palcode with ctlz instruction
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

20 years agoAdded ctlz and cttz instructions to isa_desc for use in the PAL code.
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

20 years agoFix to TsunamiIO unserialize
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

20 years agoMerge zizzer:/bk/linux
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

20 years agoChanges to support serialization with PCI devices
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

20 years agofixed serialization in tsunami_io and tsunami_uart and console
Ali Saidi [Fri, 4 Jun 2004 18:26:17 +0000 (14:26 -0400)]
fixed serialization in tsunami_io and tsunami_uart and console

dev/console.cc:
dev/tsunami_io.cc:
dev/tsunami_uart.cc:
    fixed serialization

--HG--
extra : convert_revision : 1608a116b00007922fa382ddb0c10442a8724f8d

20 years agoMerge
Ali Saidi [Fri, 4 Jun 2004 17:46:04 +0000 (13:46 -0400)]
Merge

dev/tsunami_pchip.cc:
    SCCS merged

--HG--
extra : convert_revision : 064e3bab82aacf813d1f049d72429fd990608044

20 years agoUpdated copyright on Tsunami and kern/linux files.
Ali Saidi [Fri, 4 Jun 2004 17:43:50 +0000 (13:43 -0400)]
Updated copyright on Tsunami and kern/linux files.

dev/baddev.cc:
dev/baddev.hh:
dev/ide_ctrl.cc:
dev/ide_ctrl.hh:
dev/ide_disk.cc:
dev/ide_disk.hh:
dev/ns_gige.cc:
dev/ns_gige.hh:
dev/pciconfigall.cc:
dev/pciconfigall.hh:
dev/pcidev.cc:
dev/pcidev.hh:
dev/pcireg.h:
dev/platform.cc:
dev/platform.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:
kern/linux/linux.hh:
kern/linux/linux_syscalls.cc:
kern/linux/linux_syscalls.hh:
kern/linux/linux_system.cc:
kern/linux/linux_system.hh:
    Updated copyright
dev/tsunamireg.h:
    Updated copyright and fixed a ULL

--HG--
extra : convert_revision : 4800bd227c7064044ee98169d6a91f74c791956f

20 years agoFixes in translation in PCI to DMA address to fix boot problems with
Andrew Schultz [Thu, 3 Jun 2004 21:48:05 +0000 (17:48 -0400)]
Fixes in translation in PCI to DMA address to fix boot problems with
Linux 2.6 with DMA support

dev/ide_disk.cc:
    Add debug infomation for DMA transfers and fix handling of PRD pointer
    values
dev/ide_disk.hh:
    Reduce buffer (MAX_DMA) size to 64K
dev/tsunami_pchip.cc:
dev/tsunami_pchip.hh:
    Add handling of PCTL register and also fix the translate from PCI to DMA
    addresses which was incorrect

--HG--
extra : convert_revision : 562f55fa1c7099ad0f5a23f59dec2c8ec7601d43

20 years agoMerge zizzer:/bk/linux
Andrew Schultz [Wed, 2 Jun 2004 17:57:08 +0000 (13:57 -0400)]
Merge zizzer:/bk/linux
into zower.eecs.umich.edu:/z/alschult/DiskModel/linux

--HG--
extra : convert_revision : 2b4893331f15b07c7f83148f6271d8ced0fcd6be

20 years agoMerge zizzer.eecs.umich.edu:/bk/m5 into lush.(none):/z/hsul/work/linux
Lisa Hsu [Wed, 2 Jun 2004 14:03:31 +0000 (10:03 -0400)]
Merge zizzer.eecs.umich.edu:/bk/m5 into lush.(none):/z/hsul/work/linux

--HG--
extra : convert_revision : 795698a55e98f67008392725968d4ac0a29b5326

20 years agoRemoved dynamic cast to get interrupt frequency and replaced with a
Ali Saidi [Tue, 1 Jun 2004 21:36:38 +0000 (17:36 -0400)]
Removed dynamic cast to get interrupt frequency and replaced with a
virtual function in alphaaccess.cc

dev/alpha_console.cc:
dev/alpha_console.hh:
dev/platform.hh:
dev/tsunami.cc:
dev/tsunami.hh:
dev/tsunami_io.hh:
    Removed dynamic cast to get interrupt frequency and replaced with a
    virtual function

--HG--
extra : convert_revision : 01f514a33d8f76c6527ab25a713d5c86f9fd646e

20 years agoMerge zizzer:/bk/linux
Andrew Schultz [Tue, 1 Jun 2004 21:20:30 +0000 (17:20 -0400)]
Merge zizzer:/bk/linux
into zower.eecs.umich.edu:/z/alschult/DiskModel/linux

--HG--
extra : convert_revision : 44678cd6aa2fa9e381d5d719d227013f5eb2a45c

20 years agoFixes to the state machine to properly support software reset and to fix
Andrew Schultz [Tue, 1 Jun 2004 21:19:47 +0000 (17:19 -0400)]
Fixes to the state machine to properly support software reset and to fix
PIO writes.  This was mainly related to not shadowing the status register
properly, and also not setting some of the status bits expected by the
operating system for the PIO write protocol.

--HG--
extra : convert_revision : fcdfd588be6e4f237aa6057889f0b3bdf4ea7631

20 years agoMerge saidi@zizzer:/z/m5/Bitkeeper/m5/
Ali Saidi [Tue, 1 Jun 2004 20:03:16 +0000 (16:03 -0400)]
Merge saidi@zizzer:/z/m5/Bitkeeper/m5/
into zeep.eecs.umich.edu:/z/saidi/work/m5

--HG--
extra : convert_revision : 89e0bdd427b23a8f52b8ba53b18451df7be22f14

20 years agoAdded ability to specify system type/revision in config file. This
Ali Saidi [Tue, 1 Jun 2004 19:43:27 +0000 (15:43 -0400)]
Added ability to specify system type/revision in config file. This
way a Tru64 system can be either Tlaser (by default) or Tsunami.

Added debugSymbolTable to Tru64 for symbol printing in InstExec Trace

cpu/exetrace.cc:
    Fixed bug if debugSymbolTable doesn't exist, we shouldn't try to
    look something up in it.
kern/tru64/tru64_system.hh:
    Added ability to specify system type/revision in config file. This
    way a Tru64 system can be either Tlaser (by default) or Tsunami.

--HG--
extra : convert_revision : c69a7411f0aa118ca5a766e43b7ceb7a5bb04cdf

20 years agoRename OpClass enum in .odesc file too.
Steve Reinhardt [Tue, 1 Jun 2004 00:39:06 +0000 (17:39 -0700)]
Rename OpClass enum in .odesc file too.

--HG--
extra : convert_revision : cb1824a1b6747fabf44ffcf40b45b71b052b2253

20 years agoAdded and cleaned up some comments
Ali Saidi [Mon, 31 May 2004 23:47:17 +0000 (19:47 -0400)]
Added and cleaned up some comments

dev/tsunami_cchip.hh:
    clean up some comments
kern/linux/linux_syscalls.cc:
    Cleaned up spacing of syscall numbers
kern/linux/linux_system.hh:
    Added doxygen comments

--HG--
extra : convert_revision : 23ecdaa92a208458dd5c5d3c68ac9012ce2690da

20 years agoRenamed OpClass enum members: they all end in 'Op' now.
Steve Reinhardt [Mon, 31 May 2004 23:19:31 +0000 (16:19 -0700)]
Renamed OpClass enum members: they all end in 'Op' now.
Got rid of two inconsistent sets of strings that corresponded
to this enum, and replaced with a single set that clearly
matches the enum names.

arch/alpha/isa_desc:
arch/isa_parser.py:
cpu/full_cpu/op_class.hh:
    Renamed OpClass enum members.

--HG--
extra : convert_revision : bf596f7568a20b2e77c07ac349f253135141aef4

20 years agoMerged head into linux tree
Ali Saidi [Mon, 31 May 2004 22:58:54 +0000 (18:58 -0400)]
Merged head into linux tree

base/stats/mysql.hh:
    Rename of Statsistics namespace to stats... merge from head

--HG--
extra : convert_revision : a5a7f6268b35e75fba1b1800a74fcd6dbd09d974

20 years agoIgnore fast_cpu_exec.cc.
Steve Reinhardt [Mon, 31 May 2004 22:22:22 +0000 (15:22 -0700)]
Ignore fast_cpu_exec.cc.

--HG--
extra : convert_revision : 31495fbb3568a09e763978ea59e36cb239090fda

20 years agoAdd parameter defaults to .odesc files. There was a bug in
Steve Reinhardt [Mon, 31 May 2004 22:21:14 +0000 (15:21 -0700)]
Add parameter defaults to .odesc files.  There was a bug in
extract_odesc.py that caused these to get left out.

--HG--
extra : convert_revision : 32e76c8e699f3dd72937e92217f3ab43fb53b4de

20 years agoCleaned up and commented code. I think we are ready to merge with head.
Ali Saidi [Sun, 30 May 2004 21:45:46 +0000 (17:45 -0400)]
Cleaned up and commented code. I think we are ready to merge with head.

dev/baddev.hh:
dev/pcidev.hh:
dev/tsunami.hh:
dev/tsunami_cchip.hh:
dev/tsunami_io.hh:
dev/tsunami_pchip.hh:
    Added doxygen comments
dev/pciconfigall.hh:
    Added doxygen comments. Made the hlist of devices private and provided
    members to modify the data.
dev/pcidev.cc:
    updated for change in pciconfigall
dev/tsunami_pchip.cc:
    Deleted commented out code we don't need
kern/linux/linux_syscalls.cc:
    Simplified the number -> name conversion.
kern/linux/linux_syscalls.hh:
    Removed StandardNumber and replaced with Number.
kern/linux/linux_system.cc:
kern/linux/linux_system.hh:
    LinuxSkipIdeDelay50msEvent was simply the same as the SkipFunc event,
    so I removed it. Same with with LinuxSkipFuncEvent.

--HG--
extra : convert_revision : 1508c335f87d90373f5772f3a0407ea13e858d7e

20 years agoUpdated FastCPU model with all the recent changes.
Kevin Lim [Fri, 28 May 2004 18:42:59 +0000 (14:42 -0400)]
Updated FastCPU model with all the recent changes.

arch/alpha/ev5.cc:
    Updated to support new forms of setIntReg and setFloatRegDouble.  Will need to be cleaned up in the future.
arch/isa_parser.py:
    Added in FastCPU model.

--HG--
extra : convert_revision : 384a27efcb50729ea6c3cc11653f395c300e48db

20 years agoMerged in new FastCPU stuff with existing code.
Kevin Lim [Fri, 28 May 2004 15:41:52 +0000 (11:41 -0400)]
Merged in new FastCPU stuff with existing code.

arch/alpha/ev5.cc:
    Added templatized processInterrupts() function that can be used by all of the CPU models.
arch/alpha/isa_desc:
    Merged in changes to remove CPU dependence.
arch/isa_parser.py:
    Merged in changes.
cpu/static_inst.hh:
    Includes FastCPU execute methods.

--HG--
extra : convert_revision : fcaa1dca35a9b316c73982bec8680df564f50bd8

20 years agoFastCPU model added. It's very similar to the SimpleCPU, just without a lot of the...
Kevin Lim [Thu, 27 May 2004 21:46:16 +0000 (17:46 -0400)]
FastCPU model added.  It's very similar to the SimpleCPU, just without a lot of the stats tracking.
Also various changes to make the CPU model less ISA dependent, which includes moving the code that checks for interrupts up to the ISA level, moving code that zeroes the zero registers up to the ISA level, and removing opcode and ra from the regfile.

arch/alpha/alpha_memory.cc:
    The regfile has been changed so it no longer has the opcode and ra.  Instead the xc holds the actual instruction, and from there the opcode and ra can be obtained with OPCODE() and RA().
arch/alpha/ev5.cc:
    Moved code that once existed within simpleCPU to ev5, and templatized it.
    This way the CPU models can call processInterrupts and the ISA specific interrupt handling is left to the ISA's code.
    Also moved ISA specific zero registers from simpleCPU to here.
arch/alpha/ev5.hh:
    Added macros for obtaining the opcode and ra from the instruction itself, as there is no longer opcode or ra in the regfile.
arch/alpha/isa_desc:
    Added in declarations for the FastCPU model.
arch/alpha/isa_traits.hh:
    Removed opcode and ra from the regfile.  The xc now holds the actual instruction, and the opcode and ra can be obtained through it.
    Also added the declaration for the templated zeroRegisters() function, which will set the zero registers to 0.
arch/isa_parser.py:
    Added in FastCPUExecContext so it will generate code for the FastCPU model as well.
cpu/exec_context.cc:
    Added in a more generic trap function so "ev5_trap" doesn't need to be called.  It currently still calls the old method, with plans for making this ISA dependent in the future.
cpu/exec_context.hh:
    Exec context now has the instruction within it.  Also added methods for exec context to read an instruction from memory, return the current instruction, and set the instruction if needed.
    Also has declaration for more generic trap() function.
cpu/simple_cpu/simple_cpu.cc:
    Removed references to opcode and ra, and instead sets the xc's instruction with the fetched instruction.
cpu/static_inst.hh:
    Added declaration for execute() using FastCPUExecContext.

--HG--
extra : convert_revision : 0441ea3700ac50b733e485395d4dd4ac83666f92

20 years agotest to see if pushing to m5-tru64 triggers an e-mail
Ali Saidi [Thu, 27 May 2004 18:20:50 +0000 (14:20 -0400)]
test to see if pushing to m5-tru64 triggers an e-mail

--HG--
extra : convert_revision : df7aab669a8521d031c7202e36c3c086fa979854

20 years agopostint, postext:
Steve Reinhardt [Thu, 27 May 2004 18:12:49 +0000 (14:12 -0400)]
postint, postext:
Fix output path /m5 -> /z/m5

--HG--
extra : convert_revision : 11ebcc7e62f02be8b0aeb8857eebc33a27e29513

20 years agoMerge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
Steve Reinhardt [Thu, 27 May 2004 18:06:39 +0000 (14:06 -0400)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5

--HG--
extra : convert_revision : 38d50d3d3640f02622e5ace5ac12b67d63eda3f0

20 years agoconfig_files.doxygen:
Steve Reinhardt [Thu, 27 May 2004 18:06:29 +0000 (14:06 -0400)]
config_files.doxygen:
Apparently <> don't need backslashes if they're inside dbl-quoted strings.

--HG--
extra : convert_revision : dd5294781d0ef818d1a5b622f3415510baefb402

20 years agobase_linux.ini:
Andrew Schultz [Thu, 27 May 2004 02:39:36 +0000 (22:39 -0400)]
base_linux.ini:
Change disk image COW layer to be anonymous.

--HG--
extra : convert_revision : f0829acb26166fb0d63ed84f86288e973bf59a6a

20 years agoremoval of bootloader from config file, merged
Ali Saidi [Wed, 26 May 2004 22:49:24 +0000 (18:49 -0400)]
removal of bootloader from config file, merged

--HG--
extra : convert_revision : 9168d939d4e707b00be6609368b592a0829a7226

20 years agoFixed serial support in 2.6 (too much work for...)
Ali Saidi [Wed, 26 May 2004 22:48:11 +0000 (18:48 -0400)]
Fixed serial support in 2.6 (too much work for...)
Removed bootloader and just wrote command line into linux kernel

base/inifile.cc:
    the forked process should not return, it should exit.
dev/tsunami_uart.cc:
dev/tsunami_uart.hh:
    The serial port in reality has some delay and linux expects it. This
    schedules an interrupt 300 cycles after the transmit instead of
    immediately
kern/linux/linux_system.cc:
kern/linux/linux_system.hh:
    removed boot loader and stuck boot command line in the kernel manually

--HG--
extra : convert_revision : 68aa54f8ca4e8391789f7a4c1ae227e6f8b94e13

20 years agothis now pings in single-user mode, so it should ping in other modes fine as well.
Lisa Hsu [Wed, 26 May 2004 17:06:32 +0000 (13:06 -0400)]
this now pings in single-user mode, so it should ping in other modes fine as well.

dev/ns_gige.cc:
    remove some useless DPRINTF's and add some useful ones. fix the missing RXDESC interrupt.

--HG--
extra : convert_revision : 17142480db1eaafa24f88640f8c7b8e7e077de1a

20 years agoMerge zizzer:/bk/linux
Andrew Schultz [Tue, 25 May 2004 20:36:20 +0000 (16:36 -0400)]
Merge zizzer:/bk/linux
into zower.eecs.umich.edu:/.automount/zizzer/z/alschult/DiskModel/linux

--HG--
extra : convert_revision : 67753db3defad3c44640df09a9465670f1667800

20 years agoVaried fixes to get linux running. Allow for shutdown on linux.
Andrew Schultz [Tue, 25 May 2004 20:35:18 +0000 (16:35 -0400)]
Varied fixes to get linux running.  Allow for shutdown on linux.

dev/ide_disk.cc:
    Fix to PIO writes and also add command needed for shutdown
dev/pcidev.cc:
    Change the panic on write to read-only registers to a debug print.  The
    kernel tries to write back over all of the PCI registers to restore
    the saved SRM state, so we need to let it do this without panicing.
sim/system.cc:
    Add back increment of number of running systems to allow trap of halt
    work correctly.

--HG--
extra : convert_revision : 84aba4effbec14545f3610c19a8e321d7e7f7cf2

20 years agoChanged name of lisa's device to NSgigE instead of Etherdev so it
Ali Saidi [Tue, 25 May 2004 19:59:54 +0000 (15:59 -0400)]
Changed name of lisa's device to NSgigE instead of Etherdev so it
doesn't conflict with the old ethernet driver name.

Added config file to try to boot Tru64 with Tsunami

Cleaned up kern/linux a bit more and fixed bug where we were using
Tru64 system calls

dev/ns_gige.cc:
dev/ns_gige.hh:
dev/tsunami.hh:
    Changed name of lisa's device to NSgigE instead of Etherdev so it
    doesn't conflict with the old ethernet driver name.
kern/linux/linux_syscalls.hh:
    the Syscalls still used the Tru64 calls, oops.. fixed.

--HG--
extra : convert_revision : dedd20686cc367ed37f31920f753566afbc69045

20 years agoFix to the PIO read state machine (write still needs fixes)
Andrew Schultz [Mon, 24 May 2004 22:58:27 +0000 (18:58 -0400)]
Fix to the PIO read state machine (write still needs fixes)

--HG--
extra : convert_revision : 2e8afcfe3448d921b26ebb76e65c0b237339e9b1

20 years agoparser.out and parser.py shouldn't have been added to the repository
Ali Saidi [Mon, 24 May 2004 19:06:21 +0000 (15:06 -0400)]
parser.out and parser.py shouldn't have been added to the repository

--HG--
extra : convert_revision : c6a66243f5a1ec0f05d4233a0652a47db1ceba25

20 years agoMerge zeep.eecs.umich.edu:/.automount/zizzer/z/m5/Bitkeeper/linux
Ali Saidi [Mon, 24 May 2004 16:38:00 +0000 (12:38 -0400)]
Merge zeep.eecs.umich.edu:/.automount/zizzer/z/m5/Bitkeeper/linux
into zeep.eecs.umich.edu:/z/saidi/work/m5

--HG--
extra : convert_revision : 4c0755b9c3b19f928006da227edc335d328a9efe

20 years agoremoved mbuf code from linux since it only exists in tru64
Ali Saidi [Mon, 24 May 2004 16:37:45 +0000 (12:37 -0400)]
removed mbuf code from linux since it only exists in tru64

--HG--
extra : convert_revision : b1dbd8a143b7c1204bf57f6964880f957242d4fb

20 years agomake the interaction of the stats event stuff with the
Nathan Binkert [Sun, 23 May 2004 16:53:34 +0000 (12:53 -0400)]
make the interaction of the stats event stuff with the
database work better.

base/stats/events.cc:
    properly connect to the database
base/stats/mysql.cc:
    cleanup the event stuff too

--HG--
extra : convert_revision : f05fd6456decc9c4f95beff5c12497439e45f886

20 years agofix column name for indexes
Nathan Binkert [Fri, 21 May 2004 19:06:04 +0000 (15:06 -0400)]
fix column name for indexes

--HG--
extra : convert_revision : 34831eed6b218e470096f010438fd2f32a4960c5

20 years agoadd a few statistics events
Nathan Binkert [Fri, 21 May 2004 17:58:39 +0000 (13:58 -0400)]
add a few statistics events

arch/alpha/ev5.cc:
    Add an event for faults
cpu/simple_cpu/simple_cpu.cc:
    add events for uncached reads/writes

--HG--
extra : convert_revision : 747bdf12761e2de6ebbf54fecc9e0b71915b3a02

20 years agoAdd support for event tracking. Esentially this puts a sequence
Nathan Binkert [Fri, 21 May 2004 17:57:44 +0000 (13:57 -0400)]
Add support for event tracking.  Esentially this puts a sequence
of events into the database for a given run.

base/stats/mysql.cc:
base/stats/mysql.hh:
    reorganize mysql stat stuff so that other stuff can use
    the same database connection
base/traceflags.py:
    Trace flag to print out events

--HG--
extra : convert_revision : 4d502532ed0ba40b42baefee46b2c99defcc620c

20 years agorename namespace Statistics to Stats
Nathan Binkert [Fri, 21 May 2004 17:39:20 +0000 (13:39 -0400)]
rename namespace Statistics to Stats

--HG--
extra : convert_revision : 28f1703f8d7d8cf33fb952ae450f66bdba860fb7

20 years agoChange the namespace Statistics to Stats
Nathan Binkert [Fri, 21 May 2004 17:03:17 +0000 (13:03 -0400)]
Change the namespace Statistics to Stats

--HG--
extra : convert_revision : 3084b292bbe2e8a392af8e99a31763ca0b0a9467

20 years agoUpdate the adaptive cache compression scheme.
Erik Hallnor [Fri, 21 May 2004 03:26:44 +0000 (23:26 -0400)]
Update the adaptive cache compression scheme.

--HG--
extra : convert_revision : 50c158b0545c29c03e346f1bd2952951ac77659b

20 years agoMerge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5
Nathan Binkert [Thu, 20 May 2004 02:00:30 +0000 (22:00 -0400)]
Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/.automount/ziff/z/binkertn/research/m5/latest

--HG--
extra : convert_revision : d5f03880c6564b80f662a467524c79aa90b1a0b0

20 years agoReplaced by python
Nathan Binkert [Thu, 20 May 2004 01:54:05 +0000 (21:54 -0400)]
Replaced by python

--HG--
extra : convert_revision : 5c95c2b3169b8b1a51166d7f8fcde3de39fa30f9

20 years agoRemove the uncacheable bit 39 check (needs to be merged in with head tree
Andrew Schultz [Wed, 19 May 2004 19:58:24 +0000 (15:58 -0400)]
Remove the uncacheable bit 39 check (needs to be merged in with head tree
if Tru64 is to continue to be supported on Turbolaser) and fixed
translation of physical addresses by clearing PA<42:35> when the real
uncachable bit (43) is set

arch/alpha/ev5.hh:
    Change to support 256 ASNs and seperate VA_SPACE checks for EV5 and EV6
    also add support proper translation of uncacheable physical addresses
dev/ide_ctrl.cc:
    Fix to work with real address translation

--HG--
extra : convert_revision : aa3d1c284b8271d4763a8da2509c91bbcf83189a

20 years agoAdd a level of indirection to the register accessors used in
Steve Reinhardt [Wed, 19 May 2004 05:09:13 +0000 (22:09 -0700)]
Add a level of indirection to the register accessors used in
instruction execute methods.  Register i now means the instruction's
i'th src (or dest) operand, not architectural register i.  Current
models that use the architectural reg index can look that up easily
in the instruction object.  Future models that do register renaming
should find this much simpler to deal with.

arch/isa_parser.py:
    Generate register accessors with an extra level of indirection.
cpu/simple_cpu/simple_cpu.hh:
    Modify register accessors to use an extra level of indirection.

--HG--
extra : convert_revision : f4c7d6bfa92fb2ea6251f31ee368809c3643f08f

20 years agoReplace explicit xc->misspeculating() tests in execute() methods
Steve Reinhardt [Tue, 18 May 2004 23:09:02 +0000 (16:09 -0700)]
Replace explicit xc->misspeculating() tests in execute() methods
with an IsNonSpeculative flag.
No effect on results of non-full-system or SimpleCPU.
Very small impact on full-system FullCPU runs since old wrong-path
call_pal insts used to change the PC, where now they're treated
as no-ops.

arch/alpha/isa_desc:
    Get rid of xc->misspeculating() checks, use IsNonSpeculative flag instead.
cpu/static_inst.hh:
    Add IsNonSpeculative flag and isNonSpeculative() method to test it.

--HG--
extra : convert_revision : 7ec536bfc28b905c429c09eb920ed73ef2beeeba

20 years agofix the indefinite interrupting of the ethernet device.
Lisa Hsu [Tue, 18 May 2004 18:30:17 +0000 (14:30 -0400)]
fix the indefinite interrupting of the ethernet device.

dev/ns_gige.cc:
    clear the device interrupts
dev/ns_gige_reg.h:
    Add a new mask

--HG--
extra : convert_revision : ce3617315677cbee577ed8893821a8abc5a1a10d

20 years agolift FnEvents and and Binning stuff out of LinuxSystem into commonn places with Tru64.
Lisa Hsu [Tue, 18 May 2004 17:53:11 +0000 (13:53 -0400)]
lift FnEvents and and Binning stuff out of LinuxSystem into commonn places with Tru64.

kern/linux/linux_system.cc:
    add binned_fns parameter to System, remove nonLinux events from LinuxSystem, fix ~LinuxSystem() by adding delete of some things that need to be deleted.
kern/linux/linux_system.hh:
    fix header file to go with linux_system.cc, removing nonLinux events and adding binned_fns param.
kern/tru64/tru64_system.cc:
    add somme consistency by having having binned_fns be _binned_fns in the Tru64System arg list.

--HG--
extra : convert_revision : b2ec0c1614e185aafa177c220b91d1f6a4fe6876

20 years agomerge m5 with linux for the event and binning lifting
Lisa Hsu [Tue, 18 May 2004 05:40:03 +0000 (01:40 -0400)]
merge m5 with linux for the event and binning lifting

--HG--
extra : convert_revision : 09d3678746c2e9a93a9982dc75d5e1ac309cb2fa

20 years agoMerge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt [Mon, 17 May 2004 19:10:28 +0000 (12:10 -0700)]
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5

--HG--
extra : convert_revision : 4dae71fe3482737a22745b27c2ca6983191c4a18

20 years agolift system-independent binning stuff out of Tru64System into System.
Lisa Hsu [Mon, 17 May 2004 19:08:24 +0000 (15:08 -0400)]
lift system-independent binning stuff out of Tru64System into System.

kern/tru64/tru64_system.cc:
    make binned_fns a parameter for System in addition to Tru64System.  Do all the fnEvents setting at the System level, since that is system-independent.
kern/tru64/tru64_system.hh:
    deal with FnEvents in the System, and move some fns over to System.
sim/system.cc:
sim/system.hh:
    lift binning stuff into System out of Tru64System

--HG--
extra : convert_revision : 591dee6f2013f5c43037726c529a00682b5cf82e