gem5.git
19 years agodon't use sprintf. It's not guaranteed to not scribble over memory.
Nathan Binkert [Tue, 23 Aug 2005 15:38:27 +0000 (11:38 -0400)]
don't use sprintf.  It's not guaranteed to not scribble over memory.

base/remote_gdb.cc:
    use snprintf, it's safer
dev/ide_disk.cc:
    use strncpy instead of snprintf

--HG--
extra : convert_revision : 90455e3f6bcb4c771724298a5a0b79a5b483a85c

19 years agoA few minor fixes to get things to build on Cygwin.
Steve Reinhardt [Fri, 19 Aug 2005 21:10:17 +0000 (17:10 -0400)]
A few minor fixes to get things to build on Cygwin.

README:
    Clarify cygwin EIO error explanation.
build/SConstruct:
    Cygwin header files cause uninitialized var warnings.
dev/ide_ctrl.cc:
    Get rid of unnecessary byte-swap calls, some of which were
    too ambiguous for cygwin (or gcc 3.4.4).
dev/pcidev.cc:
    Disambiguate arg for overloaded byte swap operation
    (and fix it to be the correct one).

--HG--
extra : convert_revision : be37c6315aacbec6332b1d09e726b39b4aa18dce

19 years agoMinor tweaks for 1.1 release.
Steve Reinhardt [Fri, 19 Aug 2005 04:10:45 +0000 (00:10 -0400)]
Minor tweaks for 1.1 release.

README:
    Updated for release 1.1.  Clarified several minor things (I hope).

--HG--
extra : convert_revision : a088f670739d33765611ce413b96854a1b51bb0f

19 years agoFix another bug from the freebsd merge
Nathan Binkert [Thu, 18 Aug 2005 18:19:11 +0000 (14:19 -0400)]
Fix another bug from the freebsd merge

--HG--
extra : convert_revision : b153b0c12b6678df148839617954a9a4c6fec7d4

19 years agoFix a couple of turbolaser problems that were introduced by the
Nathan Binkert [Thu, 18 Aug 2005 17:29:40 +0000 (13:29 -0400)]
Fix a couple of turbolaser problems that were introduced by the
new freebsd code.

dev/ns_gige.cc:
    g++ doesn't like it when you declare a variable inside a case
    label.  Pull the declaration outside.

--HG--
extra : convert_revision : d39e84fc58f2dd5b09c5948eedb4b1d7848e9817

19 years agoClean up freebsd_system.cc.
Benjamin Nash [Tue, 16 Aug 2005 20:08:42 +0000 (16:08 -0400)]
Clean up freebsd_system.cc.

kern/freebsd/freebsd_system.cc:
    Use htog instead of htoa.

--HG--
extra : convert_revision : 09224d60ce5bb3827c9f046127ff6fc72fa008d6

19 years agoMerge zed.eecs.umich.edu:/.automount/fox/y/mserrano/m5_dir/m5
Benjamin Nash [Tue, 16 Aug 2005 19:45:30 +0000 (15:45 -0400)]
Merge zed.eecs.umich.edu:/.automount/fox/y/mserrano/m5_dir/m5
into  zed.eecs.umich.edu:/z/benash/bk/m5

--HG--
extra : convert_revision : 9b7ca872187a13179118ad0651301d531332dc63

19 years agoUart fix.
Miguel Serrano [Tue, 16 Aug 2005 19:44:57 +0000 (15:44 -0400)]
Uart fix.

dev/uart8250.cc:
    Fixed implementation of "transmit interrupt clear".

--HG--
extra : convert_revision : cb69d61413ea799d5d3825fe2f0891dd72995561

19 years agoMerge m5.eecs.umich.edu:/bk/m5
Benjamin Nash [Tue, 16 Aug 2005 19:27:39 +0000 (15:27 -0400)]
Merge m5.eecs.umich.edu:/bk/m5
into  zed.eecs.umich.edu:/z/benash/bk/m5

--HG--
extra : convert_revision : 36bb126381caf84d85a566579225b02c15f8f356

19 years agoUpdates to job scripts to accept more than 15 characters of jobname
Nathan Binkert [Tue, 16 Aug 2005 15:27:49 +0000 (11:27 -0400)]
Updates to job scripts to accept more than 15 characters of jobname
Make the Link directory even more useful by working with
sub-directories.

util/pbs/job.py:
    Expose JOBNAME as a separate parameter from PBS_JOBNAME.  If the
    former exists, it is used as the jobname for starting the job, if
    it doesn't exist, PBS_JOBNAME is used.  This is to get around the 15
    character maximum pbs job name length.  While we're at it, shuffle
    things around to hopefully make things a bit more clear.
util/pbs/send.py:
    Make the Link directory functionality more sophisticated, copy
    sub-directories and links to directories.  (we still don't copy
    dotfiles though)
    Add the setname() function to contact pbs and use raj's hack to
    tell the webpage about longer jobnames. (it's gross, don't look)
    truncate the pbs job name to 15 characters so that it works.

--HG--
extra : convert_revision : 4a76b1a1c33721c7ca93e2fbb761f95bc3a2ac69

19 years agoMerge zed.eecs.umich.edu:/.automount/fox/y/mserrano/m5_dir/m5
Benjamin Nash [Mon, 15 Aug 2005 21:17:17 +0000 (17:17 -0400)]
Merge zed.eecs.umich.edu:/.automount/fox/y/mserrano/m5_dir/m5
into  zed.eecs.umich.edu:/z/benash/bk/m5

dev/ide_ctrl.cc:
dev/ide_ctrl.hh:
dev/ide_disk.cc:
dev/ide_disk.hh:
dev/ns_gige.cc:
dev/pciconfigall.cc:
dev/pcidev.cc:
dev/rtcreg.h:
dev/tsunami_io.cc:
dev/tsunami_io.hh:
dev/uart8250.cc:
dev/uart8250.hh:
python/m5/objects/Tsunami.py:
    Merge code.

--HG--
extra : convert_revision : e97d5dbcc051d2061622201265430d359f995d48

19 years agoChanges for getting FreeBSD to run.
Miguel Serrano [Mon, 15 Aug 2005 20:59:58 +0000 (16:59 -0400)]
Changes for getting FreeBSD to run.

SConscript:
    Added more files to compile: dev/pcifake.cc, dev/isa_fake.cc, kern/freebsd/freebsd_system.cc, kern/freebsd/freebsd_events.cc.
arch/alpha/isa_traits.hh:
    Added constant for argument register 2 as it is needed by FreebsdSystem::doCalibrateClocks().
cpu/exec_context.hh:
cpu/o3/alpha_cpu.hh:
    Replaced htoa()s with gtoh() and htog().
cpu/o3/fetch_impl.hh:
cpu/simple/cpu.cc:
    Replaced htoa() with gtoh().
dev/disk_image.cc:
    Replaced htoa()s with letoh()s.
dev/ide_ctrl.cc:
    Got rid of magic numbers.
    Added IdeChannel and IdeRegType type names where necessary.
dev/ide_ctrl.hh:
    Got rid of unnecessary macros.
    Changed RegType_t to IdeRegType.
    Changed bmi_regs to allow accessing registers by name instead of just by array index.
    Added IdeChannel enum type to use in place of bool variables which were used to specify IDE channel.
dev/ide_disk.cc:
    Rewrote IdeDisk::read and IdeDisk::write functions to specify registers by name instead of indexing through an array.
dev/ide_disk.hh:
    Updated command register struct.
dev/ns_gige.cc:
dev/ns_gige.hh:
    Made ReadConfig and WriteConfig begin with a lower-case letter.
    writeConfig() now takes a pointer to data as a parameter instead of a copy of data.
dev/pciconfigall.cc:
    writeConfig() now takes a pointer to data as a parameter instead of a copy of data.
dev/pcidev.cc:
    Cleaned up readConfig() and writeConfig() functions.
dev/pcidev.hh:
    Added macros to make code that works with the BARs (base adress registers) more readable. writeConfig() now takes a pointer to data.
dev/pcireg.h:
    Changed PCIConfig struct to make accessing elements more straight forward. Removed type 1 (for PCI-to-PCI bridges) PCI configuration space struct since it is not used.
dev/rtcreg.h:
    Added macros for bit fields in RTC status registers A & B.
dev/sinic.cc:
    Function name change: WriteConfig --> writeConfig.
    writeConfig() now takes a pointer to data instead of a copy of data.
    The accessing of elements of PCIConfig structure is updated.
dev/sinic.hh:
    Function name change: WriteConfig --> writeConfig.
    writeConfig() now takes a pointer to data instead of a copy of data.
dev/tsunami_io.cc:
    Added implementation of new RTC and PIT classes.
dev/tsunami_io.hh:
    Added classes for RTC and PIT modules.
dev/tsunamireg.h:
    Added macros for DMA ports used by Tsunami-Tru64.
dev/uart8250.cc:
    Got rid of a magic number.
    Transmit (Tx) interrupts should clear upon a read of the Interrupt ID register.
dev/uart8250.hh:
    Added comments and macros dealing with the UART Interrupt ID register.
kern/linux/linux_system.cc:
    Replaced htoa() with htog().
python/m5/objects/Pci.py:
    PciFake is a python class for Pci Devices that do nothing.
python/m5/objects/Tsunami.py:
    TsunamiFake was renamed as IsaFake.
sim/system.cc:
    Replaced htoa()s with htog()s.
dev/isa_fake.cc:
    New BitKeeper file ``dev/isa_fake.cc''
    TsunamiFake was renamed as IsaFake.
dev/isa_fake.hh:
    New BitKeeper file ``dev/isa_fake.hh''
    TsunmaiFake was renamed as IsaFake.
dev/pitreg.h:
    New BitKeeper file ``dev/pitreg.h''
    Useful macros for working with PIT (Periodic Interval Timer) registers.

--HG--
extra : convert_revision : 33f3a8a1034af4f6c71b32dd743e371c8613e780

19 years agoFix NextEthernetAddr
Nathan Binkert [Mon, 15 Aug 2005 20:12:19 +0000 (16:12 -0400)]
Fix NextEthernetAddr

python/m5/config.py:
    NextEthernetAddr shouldnt' be a Singleton since we want __init__ to be
    called more than once.
    Make the EthernetAddr class a "proxy" so that unproxy will
    be called and NextEthernetAddr will generally work correctly.

--HG--
extra : convert_revision : c89bf268e805e202ae71030fcea4833867c7e477

19 years agoImprove FreeBSD networking support.
Benjamin Nash [Fri, 12 Aug 2005 22:30:35 +0000 (18:30 -0400)]
Improve FreeBSD networking support.

dev/ns_gige.cc:
    Added FreeBSD support.  Required additional register read/write functionality, hash filtering (faked), and EEPROM read access.
dev/ns_gige.hh:
    Added constants and variables for FreeBSD support.  Also created eepromKick() to advance state machine.
dev/ns_gige_reg.h:
    Defined additional register bit fields.
dev/pcidev.cc:
    Fix &= typo.
dev/sinic.cc:
    Remove an INIT_PARAM_DFLT macro.
dev/tsunami_io.cc:
    Fix DPRINTF typo.
kern/freebsd/freebsd_system.cc:
    Edit comments.

--HG--
extra : convert_revision : 37aaa1303d57d3784381e85acb3bc1743adeb8c0

19 years agoMerge zed.eecs.umich.edu:/.automount/fox/y/mserrano/m5_new/m5
Benjamin Nash [Thu, 28 Jul 2005 17:16:45 +0000 (13:16 -0400)]
Merge zed.eecs.umich.edu:/.automount/fox/y/mserrano/m5_new/m5
into  zed.eecs.umich.edu:/z/benash/bk/m5

SConscript:
dev/ide_disk.hh:
    Formatting.
dev/ide_ctrl.cc:
    Endianness
dev/ide_disk.cc:
dev/pcidev.cc:
dev/tsunami_io.cc:
dev/uart8250.cc:
    Clean up code.

--HG--
extra : convert_revision : cb554f0e3a701371d2106cd7e11a4a22f773acc2

19 years ago.
Miguel Serrano [Thu, 28 Jul 2005 15:49:01 +0000 (11:49 -0400)]
.

SConscript:
    add pcifake
dev/ide_ctrl.cc:
dev/ide_ctrl.hh:
dev/ide_disk.cc:
dev/ide_disk.hh:
    endianess
dev/tsunami_io.cc:
    rtc, date/time

--HG--
extra : convert_revision : 21ad27c780749cb6f6eef2b57798c0c292c3f14d

19 years agoghgfsdf
Miguel Serrano [Thu, 28 Jul 2005 15:47:06 +0000 (11:47 -0400)]
ghgfsdf

dev/pciconfigall.cc:
    removed union.
dev/pcidev.cc:
    .
dev/rtcreg.h:
    more macros to avoid magic numbers.
dev/tsunami_io.cc:
    replaced magic numbers, no more advancing RTC as it isn't reaaly necessary.
dev/tsunami_io.hh:
    removed declarations of things that go unused.
dev/uart8250.cc:
    reading the Interrupt ID register should clear TX interrupt flag.
dev/uart8250.hh:
    useful #defines.
kern/freebsd/freebsd_system.cc:
kern/freebsd/freebsd_system.hh:
    nothing.
python/m5/objects/Pci.py:
    new PciFake.

--HG--
extra : convert_revision : 88259704f5b215591d1416360180810fcda14d26

19 years agoMerge m5read@m5.eecs.umich.edu:/bk/m5
Benjamin Nash [Tue, 26 Jul 2005 16:48:26 +0000 (12:48 -0400)]
Merge m5read@m5.eecs.umich.edu:/bk/m5
into  zed.eecs.umich.edu:/z/benash/bk/m5

--HG--
extra : convert_revision : 5cfec85dbfc33b942929e6d379275618f2c60c33

19 years agoVarious changes to I/O, addition of PciFake device to improve FreeBSD compatibility.
Benjamin Nash [Tue, 26 Jul 2005 16:28:33 +0000 (12:28 -0400)]
Various changes to I/O, addition of PciFake device to improve FreeBSD compatibility.

SConscript:
    Include pcifake.cc, fix spacing.
dev/ide_ctrl.cc:
    Consolidate switch-case blocks.
dev/ide_disk.cc:
    Add comments.
dev/pciconfigall.cc:
    Adjust spacing.
dev/pcidev.cc:
    Adjust spacing, rearrange code.
dev/tsunami_io.cc:
    Rearrange code.
dev/uart8250.cc:
    Switch uart interrupt interval back to original value.
python/m5/objects/Pci.py:
    Add PciFake class to be used as a PCI-ISA bridge device.

--HG--
extra : convert_revision : 8aea94318510079a310377f297aa161ba5f7864c

19 years agoFix for passing functional memory param to timing mem.
Steve Reinhardt [Mon, 18 Jul 2005 23:58:43 +0000 (19:58 -0400)]
Fix for passing functional memory param to timing mem.

python/m5/config.py:
    Fix error message.

--HG--
extra : convert_revision : 4e57f7bdd4ea7dfdd3e88c60080f993997b0bda2

19 years agoFix for bug in using compression in full-system mode.
Steve Reinhardt [Thu, 14 Jul 2005 11:53:26 +0000 (07:53 -0400)]
Fix for bug in using compression in full-system mode.
Involves adding functional memory param
(for full-system mode only, for now).

--HG--
extra : convert_revision : f42cf087969427b5406be0162e13163d3624684f

19 years agoVarious changes to m5/dev files to work with FreeBSD.
Benjamin Nash [Wed, 13 Jul 2005 16:30:13 +0000 (12:30 -0400)]
Various changes to m5/dev files to work with FreeBSD.

dev/ide_ctrl.cc:
dev/ide_disk.cc:
dev/pcidev.cc:
    Made endian-independent.
dev/ide_disk.hh:
    fixed.
dev/pciconfigall.cc:
    The data to write is contained in a 32-bit unsigned int now. The union method would not have worked on big-endian machines.
dev/pcidev.hh:
    Fixed typo.
dev/tsunami_io.cc:
    Return zero on RTC alarm reads.
dev/uart8250.cc:
    Fix uart interrupt handling.

--HG--
extra : convert_revision : b5c08e8e77644c399c20888666406805ff1b6649

19 years agono license in tree
Nathan Binkert [Thu, 7 Jul 2005 02:22:01 +0000 (22:22 -0400)]
no license in tree

--HG--
extra : convert_revision : 4a9bb7be1e7e3f465ad34b9129b7c1e0578dbfcc

19 years agoconfig:
Steve Reinhardt [Wed, 6 Jul 2005 01:08:13 +0000 (21:08 -0400)]
config:
Add license.

--HG--
extra : convert_revision : af110213e79464b8f2d970a2e906d1234e818c6d

19 years agoHand merge ide_disk.cc
Benjamin Nash [Fri, 1 Jul 2005 19:57:14 +0000 (15:57 -0400)]
Hand merge ide_disk.cc

dev/ide_disk.cc:
    Don't initialize data to 0.

--HG--
extra : convert_revision : 643bcf15b52c3e14231d8136b8cb049a8896457a

19 years agoMerge m5read@m5.eecs.umich.edu:/bk/m5
Miguel Serrano [Fri, 1 Jul 2005 19:12:09 +0000 (15:12 -0400)]
Merge m5read@m5.eecs.umich.edu:/bk/m5
into zamp.eecs.umich.edu:/.automount/fox/y/mserrano/m5_new/m5

--HG--
extra : convert_revision : bb3e977e79599c459fb32f309ce5b486f1639afa

19 years ago.
Miguel Serrano [Fri, 1 Jul 2005 19:10:18 +0000 (15:10 -0400)]
.

--HG--
extra : convert_revision : 1ed206b27498641b64d7f35c74ea1f0623398d4e

19 years agoMerge m5read@m5.eecs.umich.edu:/bk/m5
Benjamin Nash [Fri, 1 Jul 2005 19:07:13 +0000 (15:07 -0400)]
Merge m5read@m5.eecs.umich.edu:/bk/m5
into zed.eecs.umich.edu:/z/benash/bk/m5

--HG--
extra : convert_revision : b421397b21326ec2bdd3ce82b9f69e224b380610

19 years agoFix formatting, move default size (0x8) of TsunamiFake from C++ code to Python code.
Benjamin Nash [Fri, 1 Jul 2005 17:06:35 +0000 (13:06 -0400)]
Fix formatting, move default size (0x8) of TsunamiFake from C++ code to Python code.

dev/ide_disk.cc:
    Fix formatting.  Panic if unexpected register type is given.
python/m5/objects/Tsunami.py:
    Add default size of TsunamiFake device.

--HG--
extra : convert_revision : 03a35a2f6468b95746cba41ce7e93afeeb70ccef

19 years agoInitialize bpred table pointers.
Steve Reinhardt [Fri, 1 Jul 2005 01:59:08 +0000 (21:59 -0400)]
Initialize bpred table pointers.

--HG--
extra : convert_revision : 9999c05b7fb8f66c2b9d5544868994f82d432d19

19 years agoRemove #include statments in various files within kern/
Benjamin Nash [Thu, 30 Jun 2005 20:18:07 +0000 (16:18 -0400)]
Remove #include statments in various files within kern/

kern/freebsd/freebsd_system.cc:
kern/freebsd/freebsd_system.hh:
kern/kernel_stats.cc:
kern/kernel_stats.hh:
kern/linux/aligned.hh:
kern/linux/linux_system.cc:
kern/linux/linux_system.hh:
kern/linux/linux_threadinfo.hh:
kern/linux/printk.cc:
kern/linux/sched.hh:
kern/linux/thread_info.hh:
kern/system_events.cc:
kern/system_events.hh:
    Remove unecessary #include statements.

--HG--
extra : convert_revision : 7e32d3b096fc92708ea45db9b172bada906024cd

19 years agoFormatting, reduce maximum number of functional memory children.
Benjamin Nash [Thu, 30 Jun 2005 17:12:12 +0000 (13:12 -0400)]
Formatting, reduce maximum number of functional memory children.

dev/ide_disk.cc:
dev/pcidev.cc:
    Formatting.

--HG--
extra : convert_revision : 6f5824aa220fe311751fb10ec8648fe64dfa4775

19 years agoFixes for cygwin compile.
Steve Reinhardt [Thu, 30 Jun 2005 04:42:27 +0000 (00:42 -0400)]
Fixes for cygwin compile.

dev/ide_atareg.h:
    Need endian.h for LITTLE_ENDIAN.
sim/syscall_emul.hh:
    Need to include sys/fcntl.h to get O_BINARY.

--HG--
extra : convert_revision : 606f9506dc483f3952dcc65b8ba25c28001f2c43

19 years agoEasier remote debugging at boot time.
Nathan Binkert [Thu, 30 Jun 2005 02:20:38 +0000 (22:20 -0400)]
Easier remote debugging at boot time.

sim/system.cc:
    Add a global variable that will tell the remote debugger to
    wait when a given CPU is is registered.

--HG--
extra : convert_revision : a093c9331daa675d4b59a321e53a5da6ea292c40

19 years agoFix uninitialized variables in ide controller
Nathan Binkert [Thu, 30 Jun 2005 02:16:40 +0000 (22:16 -0400)]
Fix uninitialized variables in ide controller

dev/ide_ctrl.cc:
    Initialize variables to zero to avoid uninitialized usage.

--HG--
extra : convert_revision : 98fd0bfc2b7530938c6ab3a55345d0e594098238

19 years agoFormatting.
Benjamin Nash [Wed, 29 Jun 2005 22:44:50 +0000 (18:44 -0400)]
Formatting.

--HG--
extra : convert_revision : c26a04563d571aae2b509eadf9f3eb5f61f3b2f7

19 years agoFormatting and decrerease maximum number of children in functional memory.
Benjamin Nash [Wed, 29 Jun 2005 22:11:33 +0000 (18:11 -0400)]
Formatting and decrerease maximum number of children in functional memory.

SConscript:
    Adjust formatting.

--HG--
extra : convert_revision : 3665c763f389084136ea88ffbd765a00c49c52c5

19 years agoMerge m5read@m5.eecs.umich.edu:/bk/m5
Benjamin Nash [Wed, 29 Jun 2005 15:17:12 +0000 (11:17 -0400)]
Merge m5read@m5.eecs.umich.edu:/bk/m5
into zed.eecs.umich.edu:/z/benash/bk/m5

--HG--
extra : convert_revision : a27bb3737d8a7d5c1fadf27f4cb5018d0b6054da

19 years agoAllow CPUs to specify their own CPU ids.
Nathan Binkert [Wed, 29 Jun 2005 05:20:41 +0000 (01:20 -0400)]
Allow CPUs to specify their own CPU ids.
Make the AlphaConsole calculate the number of CPUs instead
of passing that in as a parameter.

cpu/base.cc:
    pass the desired cpu_id into registerExecContext, offsetting it
    by the thread number.  a cpu_id of -1 means that it should be
    generated for you.
cpu/base.hh:
    Take the cpu_id as a parameter
cpu/o3/alpha_cpu_builder.cc:
cpu/simple/cpu.cc:
    Accept the cpu_id as a parameter
    while we're here, let's remove the multiplier since it is
    not used.
dev/alpha_console.cc:
    don't take the number of CPUs as a parameter.  Calculate it from
    the system based on the number of CPUs that have been registered.
    move init() code to startup() to ensure that all CPUs are registerd.
dev/alpha_console.hh:
python/m5/objects/AlphaConsole.py:
    don't take the number of CPUs as a parameter.
    move init() code to startup() to ensure that all CPUs are registerd.
python/m5/objects/BaseCPU.py:
    take the cpu_id as a parameter.  Default it to -1 which means
    that it will be generated.
sim/system.cc:
    allow the registerExecContext functioin to take a desired
    cpu_id as a parameter.  Check to ensure that the id isn't
    already used.  Accept -1 as a request to have an id assigned.
sim/system.hh:
    keep track of the number of registered exec contexts.
    provide a function for accessing the number of exec contexts
    that checks to ensure that they are all registered correctly.

--HG--
extra : convert_revision : 8e12f96ff8a49fa16cdbbdb4c05c651376c35788

19 years agoMerge m5read@m5.eecs.umich.edu:/bk/m5
Benjamin Nash [Tue, 28 Jun 2005 18:03:04 +0000 (14:03 -0400)]
Merge m5read@m5.eecs.umich.edu:/bk/m5
into zed.eecs.umich.edu:/z/benash/bk/m5

--HG--
extra : convert_revision : 453615c8194ae9ca96330b7493c6b19fc89c3a72

19 years agoDon't hard code the location of m5AlphaAccess. Instead, move the
Nathan Binkert [Tue, 28 Jun 2005 16:42:15 +0000 (12:42 -0400)]
Don't hard code the location of m5AlphaAccess.  Instead, move the
code into a function that can be called by the AlphaConsole class.
AlphaConsole will pass in its address.

arch/alpha/ev5.hh:
    Move Phys2K0Seg to ev5.hh and fixup the TSUNAMI uncacheable
    bits so that they will be converted correctly.
dev/alpha_access.h:
    Do not hard code the location of the AlphaConsole
dev/alpha_console.cc:
    fixup #includes
    tell the system where the alpha console is
sim/system.hh:
    Provide a function that will tell the system where the AlphaAccess
    structure (device) lives

--HG--
extra : convert_revision : 92d70ca926151a32eebe9925de597459ac58013e

19 years agoPass the location of the m5 console backdoor to the console
Nathan Binkert [Tue, 28 Jun 2005 05:09:13 +0000 (01:09 -0400)]
Pass the location of the m5 console backdoor to the console
instead of compiling it into the console version

dev/alpha_access.h:
    move serialization stuff to alpha_console.hh
    define the ALPHA_ACCESS_BASE in m5 instead of in console.c and
    have m5 pass the value to the console
dev/alpha_console.cc:
dev/alpha_console.hh:
    Move serialization stuff into a derived class of AlphaAccess
sim/system.cc:
    pass the value of ALPHA_ACCESS_BASE to the console code via
    the m5AlphaAccess console variable.

--HG--
extra : convert_revision : 0ea4ba239f03d6dad51a6efae0385aa543064117

19 years agoReorganize tap code so that more than one method can be used
Nathan Binkert [Mon, 27 Jun 2005 23:30:19 +0000 (19:30 -0400)]
Reorganize tap code so that more than one method can be used
for accessing physical packets.
Add support for tap devices found on linux and bsd.

--HG--
extra : convert_revision : 198b082f2e847da8471c3f22d6a55beb9f4b592e

19 years agoChange IDE disk and ethernet device to work better with FreeBSD.
Benjamin Nash [Mon, 27 Jun 2005 22:08:42 +0000 (18:08 -0400)]
Change IDE disk and ethernet device to work better with FreeBSD.

dev/ide_ctrl.cc:
dev/ide_disk.cc:
dev/ide_disk.hh:
    Add support for 32-bit accesses.
dev/ns_gige.cc:
    Change default configuration register value to work with FreeBSD driver.

--HG--
extra : convert_revision : c9dd125338a97ffa8cd95293e6b7877068652387

19 years agoUpdate for console code reorganization
Nathan Binkert [Mon, 27 Jun 2005 21:04:43 +0000 (17:04 -0400)]
Update for console code reorganization

dev/alpha_access.h:
    Update the ALPHA_ACCESS_VERSION
    move typedefs to this file since they're only used here.
dev/alpha_console.cc:
    formatting
sim/system.cc:
    xxm -> m5

--HG--
extra : convert_revision : 3aeca50d1385034f5a1e20dd8b0abd03bd6f26f0

19 years agoImplement a state machine clock that acutally limits how fast
Nathan Binkert [Mon, 27 Jun 2005 21:02:40 +0000 (17:02 -0400)]
Implement a state machine clock that acutally limits how fast
the nsgige state machine can run. The frequency is of the actual
state transitions, and not the rate of what underlying
instructions might run at.

dev/ns_gige.cc:
    Implement a state machine clock that acutally limits how fast
    the state machine can run.  After each state transition, a
    variable is kept to hold the next state transition until the
    next clock.  The frequency is of the actual state transitions,
    and not the rate of what underlying instructions might run at.
dev/ns_gige.hh:
    Add back the rxKickEvent and txKickEvent events.
python/m5/objects/Ethernet.py:
    Default the state machine clock to '0ns' so the default
    behaviour doesn't change when we actually implement the
    state machine clock.

--HG--
extra : convert_revision : 2db1943dee4e91ea75aaee6a91e88f27f01a09dd

19 years agorename m5scons.py scons_helper.py
Nathan Binkert [Mon, 27 Jun 2005 21:01:24 +0000 (17:01 -0400)]
rename m5scons.py scons_helper.py

--HG--
extra : convert_revision : faaacc493b8da5d002d498e10cfa8cf004aafeed

19 years agoMerge m5read@m5.eecs.umich.edu:/bk/m5
Benjamin Nash [Thu, 23 Jun 2005 20:27:17 +0000 (16:27 -0400)]
Merge m5read@m5.eecs.umich.edu:/bk/m5
into zed.eecs.umich.edu:/z/benash/bk/m5

--HG--
extra : convert_revision : a0a8fea7224913ef106dc733182abd938feab64d

19 years agoChanged timer functionality, ide disk interrupts, and TsunamiFake class to improve...
Benjamin Nash [Thu, 23 Jun 2005 20:27:06 +0000 (16:27 -0400)]
Changed timer functionality, ide disk interrupts, and TsunamiFake class to improve FreeBSD compatibility.

dev/ide_disk.cc:
    Make ide disk set interrupts correctly.
dev/tsunami_io.cc:
dev/tsunami_io.hh:
    Implement read of timer counts.
kern/freebsd/freebsd_system.cc:
kern/freebsd/freebsd_system.hh:
    Remove SkipFuncEvents that we don't need to skip.
python/m5/objects/Tsunami.py:
    Add size parameter to TsunamiFake class.

--HG--
extra : convert_revision : a87e74f2cac0036060ca8cb3fde4760d8c91a5db

19 years agoAdded Float class
Ali Saidi [Thu, 23 Jun 2005 08:07:04 +0000 (01:07 -0700)]
Added Float class
Fixed printing so the tokenizer in m5 doesn't get confused
Expanded NullSimObject so it could be used as an element in a VectorParam

--HG--
extra : convert_revision : 661b1916967d663ab7aee891f15f7ca190deeba6

19 years agoMove max_time and progress_interval parameters to the Root
Nathan Binkert [Wed, 22 Jun 2005 13:59:13 +0000 (09:59 -0400)]
Move max_time and progress_interval parameters to the Root
object and get rid of the ParamContext that each used to have.

python/m5/objects/Root.py:
    Add max_time and progress_interval to the Root object
sim/root.cc:
    Add max_time and progress_interval to the Root object.  These
    parameters used to be in their own contexts in sim_events.cc
sim/sim_events.cc:
    Get rid of the ParamContext for max cycles and the progress
    event.  Move the functionality to the Root object
sim/sim_events.hh:
    Move ProgressEvent declaration to the header so that it can
    be used in other files.

--HG--
extra : convert_revision : ff664b806855e8eb9201b8a25392aa53204464f0

19 years agoMerge zizzer.eecs.umich.edu:/bk/m5
Nathan Binkert [Wed, 22 Jun 2005 13:52:14 +0000 (09:52 -0400)]
Merge zizzer.eecs.umich.edu:/bk/m5
into ziff.eecs.umich.edu:/z/binkertn/research/m5/head

--HG--
extra : convert_revision : 9dc37bbcc1dd5669f6de4e35a7c37e54d0af5c05

19 years agofix tokenize
Nathan Binkert [Wed, 22 Jun 2005 13:52:02 +0000 (09:52 -0400)]
fix tokenize

base/str.cc:
    Fix tokenize so that it doesn't behave incorrectly when there
    are empty strings.
test/tokentest.cc:
    Clean up the test function so it's easier to see what's going on

--HG--
extra : convert_revision : c7a3db7bc516d3575b1cc4ab7afbd0f1fbe1ec6f

19 years agoFix: opt_cpu and trace_cpu were already defined in syscall_emulation
Steve Reinhardt [Wed, 22 Jun 2005 11:26:02 +0000 (07:26 -0400)]
Fix: opt_cpu and trace_cpu were already defined in syscall_emulation
when I added them to the global list...

SConscript:
    Remove opt_cpu and trace_cpu from syscall_emulation_sources
    to avoid double definition.

--HG--
extra : convert_revision : b10a2e648249b1d742b881aa7580f8d1b0d6fbc1

19 years agoFix cache bug... getting a response on a writeback hit
Steve Reinhardt [Tue, 21 Jun 2005 19:42:10 +0000 (15:42 -0400)]
Fix cache bug... getting a response on a writeback hit
(from a trace replay).

SConscript:
    Compile in trace-reader CPUs.

--HG--
extra : convert_revision : 35b0da704e94b07a75fd89131028fbfbf31cf3a6

19 years agoMerge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
Steve Reinhardt [Tue, 21 Jun 2005 17:49:37 +0000 (13:49 -0400)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5

--HG--
extra : convert_revision : 32a82fce7c12b2a72bc3196a667e96d66b8b0b37

19 years agolittle bit of formatting
Nathan Binkert [Mon, 20 Jun 2005 02:13:31 +0000 (22:13 -0400)]
little bit of formatting
clean up debugging a bit

dev/ns_gige.cc:
    little bit of formatting
    don't break in the debugger if a packet is dropped when the
    receiver is disabled since it can realistically happen

--HG--
extra : convert_revision : 364efa3eb16990db191085f5b847c3bb255a173c

19 years agoMerge m5read@m5.eecs.umich.edu:/bk/m5
Benjamin Nash [Fri, 17 Jun 2005 22:08:14 +0000 (18:08 -0400)]
Merge m5read@m5.eecs.umich.edu:/bk/m5
into zed.eecs.umich.edu:/z/benash/bk/m5

--HG--
extra : convert_revision : 003e19844946e67556c39b7d652d2d61905378b8

19 years agoI/O changes and SkipFuncEvents to increase FreeBSD compatibility.
Benjamin Nash [Fri, 17 Jun 2005 22:08:05 +0000 (18:08 -0400)]
I/O changes and SkipFuncEvents to increase FreeBSD compatibility.

SConscript:
    Added kern/freebsd/freebsd_events.cc.
arch/alpha/isa_traits.hh:
    Added Argument to support replacement of calibrate_clocks function in FreeBSD.
dev/ns_gige.hh:
    Fixed NIC model number typo.
dev/tsunami_io.cc:
    Added support for RTC writes and PIC 2 mask reads.  Made RTC static member.
dev/tsunami_io.hh:
    Made RTC static member.
kern/freebsd/freebsd_system.cc:
    Added events to skip functions in FreeBSD.
kern/freebsd/freebsd_system.hh:
    Added events to skip certain functions.

--HG--
extra : convert_revision : 8aaca51d3f9b1bb601722a5bae240aae77b445db

19 years agoMake turbolaser stuff compile again
Nathan Binkert [Tue, 14 Jun 2005 17:04:24 +0000 (13:04 -0400)]
Make turbolaser stuff compile again

--HG--
extra : convert_revision : 61c100e4dbbf28a5282ae9d38e3e0f85e170ad54

19 years agoMerge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
Steve Reinhardt [Mon, 13 Jun 2005 20:04:56 +0000 (16:04 -0400)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5

--HG--
extra : convert_revision : 2e4050f58c1ce42187a94d3bbf79d82fe4b5f822

19 years agoMerge m5read@m5.eecs.umich.edu:/bk/m5
Benjamin Nash [Mon, 13 Jun 2005 16:32:48 +0000 (12:32 -0400)]
Merge m5read@m5.eecs.umich.edu:/bk/m5
into zed.eecs.umich.edu:/.automount/fox/y/benash/bk/m5

--HG--
extra : convert_revision : 73a3fe048bd3f382454c10524fc4c93d3f117d6a

19 years agoFix assert in PhysicalMemory object
Nathan Binkert [Mon, 13 Jun 2005 16:07:25 +0000 (12:07 -0400)]
Fix assert in PhysicalMemory object

--HG--
extra : convert_revision : f1da0dde072562248ee587cb452adde3f7e1384e

19 years agosome cleanup to turbolaser code
Nathan Binkert [Mon, 13 Jun 2005 16:05:27 +0000 (12:05 -0400)]
some cleanup to turbolaser code

--HG--
extra : convert_revision : dc86cc5b7c63e4832cf8a03f6c849611d929d3b9

19 years agoAdd NFS-dbench, and iscsi dbench benchmarks
Nathan Binkert [Mon, 13 Jun 2005 15:54:23 +0000 (11:54 -0400)]
Add NFS-dbench, and iscsi dbench benchmarks

--HG--
extra : convert_revision : 71e416668f4bbcf9785ea2363ec406135a217e32

19 years agouse transactions for database access
Nathan Binkert [Mon, 13 Jun 2005 15:46:56 +0000 (11:46 -0400)]
use transactions for database access

base/mysql.hh:
    Add support for for transactions
base/stats/mysql.cc:
    get rid of table locking and start using transactions
base/stats/mysql_run.hh:
    setup()/remove()/cleanup() should be protected, not private

--HG--
extra : convert_revision : ace710beb7fb689a6e25831d8032f389fc1347e7

19 years agoMinor fixes to release scripts. m5_1.0_web
Steve Reinhardt [Fri, 10 Jun 2005 17:48:50 +0000 (13:48 -0400)]
Minor fixes to release scripts.

--HG--
extra : convert_revision : 134e5281cafb2275277434132d3721bdba16c0ed

19 years agoAdd new "global" release script to util to export
Steve Reinhardt [Fri, 10 Jun 2005 17:16:12 +0000 (13:16 -0400)]
Add new "global" release script to util to export
release versions of m5, m5-test, and ext.

--HG--
extra : convert_revision : b5ae04dff9defae64a90faa503015bcd2b0c8762

19 years agoRemoved comment.
Benjamin Nash [Fri, 10 Jun 2005 16:48:29 +0000 (12:48 -0400)]
Removed comment.

--HG--
extra : convert_revision : a19e33b0b522882bf43e21dd02ad76605411e650

19 years agoCreated FreebsdSystem, for FreeBSD-specific tweaks.
Benjamin Nash [Fri, 10 Jun 2005 16:44:18 +0000 (12:44 -0400)]
Created FreebsdSystem, for FreeBSD-specific tweaks.

SConscript:
    Included kern/freebsd/freebsd_system.cc

--HG--
extra : convert_revision : 4fa31602acb511b16bf371f78a8e5a8082536b88

19 years agoBaseSystem was renamed to System
Nathan Binkert [Thu, 9 Jun 2005 19:09:35 +0000 (15:09 -0400)]
BaseSystem was renamed to System

--HG--
extra : convert_revision : 74e03fe9447d9d2be59e675b034dc6df0afcde51

19 years agoMostly IO modifications, to increase compatibility with FreeBSD.
Benjamin Nash [Thu, 9 Jun 2005 19:01:15 +0000 (15:01 -0400)]
Mostly IO modifications, to increase compatibility with FreeBSD.

dev/pcidev.cc:
    Allow writes to some PCI read-only registers.
    Fix problem when writing to a zero offset IO location.
dev/tsunami_io.cc:
    Fix calculation of IO addresses.
    Add registers for keyboard and PCI DMA.
dev/tsunamireg.h:
    Add registers for keyboard and PCI DMA.
python/m5/objects/System.py:
    Allow generic System to be instantiated.

--HG--
extra : convert_revision : 1b985ffa2b8e15aa55246f1d14da615c32ecd3f9

19 years agocache.hh: m5_1.0_tutorial
Steve Reinhardt [Sun, 5 Jun 2005 15:56:33 +0000 (11:56 -0400)]
cache.hh:
Add FALRU & IIC back in.

--HG--
extra : convert_revision : 3c3c67abd89b61593df3ac3dffc105c10b7a7ec2

19 years agoStatistics.py:
Steve Reinhardt [Sun, 5 Jun 2005 15:55:35 +0000 (11:55 -0400)]
Statistics.py:
get rid of python_file param

--HG--
extra : convert_revision : 94816a98d4263cd2f80e52a0f891db102f1a1fde

19 years agochanges linux process names slightly
Ali Saidi [Sun, 5 Jun 2005 15:39:44 +0000 (11:39 -0400)]
changes linux process names slightly

kern/linux/linux_threadinfo.hh:
kern/linux/sched.hh:
    changed names slightly

--HG--
extra : convert_revision : 8e42ebee1d749a65b78af5733de9e0deda3c548e

19 years agoYA cache fix.
Steve Reinhardt [Sun, 5 Jun 2005 15:38:38 +0000 (11:38 -0400)]
YA cache fix.

--HG--
extra : convert_revision : a1d752e6534c826e020a972d76a4baf8aa5d5790

19 years agoAnother cache fix.
Steve Reinhardt [Sun, 5 Jun 2005 15:35:13 +0000 (11:35 -0400)]
Another cache fix.

--HG--
extra : convert_revision : 6875c6144070b9d43c480756b3863e2d987347dc

19 years agoFix up conditional cache stuff.
Steve Reinhardt [Sun, 5 Jun 2005 15:27:20 +0000 (11:27 -0400)]
Fix up conditional cache stuff.

SConscript:
    Get rid of prefetch & split cache files (temporarily).

--HG--
extra : convert_revision : 72072c06a15ce8187adc76eb3a0b83413750e374

19 years agoMerge zizzer.eecs.umich.edu:/bk/m5
Nathan Binkert [Sun, 5 Jun 2005 15:07:47 +0000 (11:07 -0400)]
Merge zizzer.eecs.umich.edu:/bk/m5
into crampon.my.domain:/z/binkertn/research/m5/head

--HG--
extra : convert_revision : 2acf413c32b571c44a6cb01b0427cf3bd31fd8e3

19 years agoFix documentation formatting bug.
Steve Reinhardt [Sun, 5 Jun 2005 15:07:46 +0000 (11:07 -0400)]
Fix documentation formatting bug.

--HG--
extra : convert_revision : 86bb5e5b01742144869eaa2f248650468ed4f861

19 years agoCleanup copyright stuff. Add our copyright files that
Nathan Binkert [Sun, 5 Jun 2005 15:02:38 +0000 (11:02 -0400)]
Cleanup copyright stuff.  Add our copyright files that
are ours

arch/alpha/alpha_linux_process.hh:
arch/alpha/alpha_tru64_process.hh:
base/loader/object_file.cc:
base/loader/object_file.hh:
sim/process.cc:
sim/process.hh:
    remove $Id$ string
cpu/ozone/cpu.cc:
cpu/ozone/cpu_impl.hh:
cpu/ozone/ea_list.cc:
cpu/ozone/ea_list.hh:
kern/linux/sched.hh:
kern/linux/thread_info.hh:
    Add M5 Copyright
cpu/trace/opt_cpu.cc:
dev/rtcreg.h:
    nit
kern/linux/aligned.hh:
kern/linux/hwrpb.hh:
util/oprofile-top.py:
util/stats/db.py:
util/stats/dbinit.py:
util/stats/display.py:
util/stats/info.py:
util/stats/print.py:
util/stats/stats.py:
    Cleanup copyright

--HG--
extra : convert_revision : 4274e9121ef7543e0b3999b31e935edb19c54d46

19 years agoAdd a few more files to the don't-release list.
Steve Reinhardt [Sun, 5 Jun 2005 15:02:37 +0000 (11:02 -0400)]
Add a few more files to the don't-release list.

--HG--
extra : convert_revision : e798efa5127865398bf45fd0660b0a2e15faf14b

19 years agoMerge zizzer:/bk/m5 into vm1.reinhardt.house:/z/stever/bk/m5
Steve Reinhardt [Sun, 5 Jun 2005 14:54:13 +0000 (10:54 -0400)]
Merge zizzer:/bk/m5 into vm1.reinhardt.house:/z/stever/bk/m5

--HG--
extra : convert_revision : 467f93b532348ed5d75e9c0b8d517a9eda59437f

19 years agoUpdate for better conditional compilation of cache models.
Steve Reinhardt [Sun, 5 Jun 2005 14:52:44 +0000 (10:52 -0400)]
Update for better conditional compilation of cache models.

--HG--
extra : convert_revision : e3d7c8882ad34325fdc58cdba44165e0518ea330

19 years agoelf_machdep.h isn't actually used
Nathan Binkert [Sun, 5 Jun 2005 14:09:26 +0000 (10:09 -0400)]
elf_machdep.h isn't actually used

--HG--
extra : convert_revision : f67464e39462f8a8e6b9b8f5cde40a5f141909fe

19 years agoAdd simple script to clean up and exported tree for release.
Steve Reinhardt [Sun, 5 Jun 2005 14:09:25 +0000 (10:09 -0400)]
Add simple script to clean up and exported tree for release.

--HG--
extra : convert_revision : 73cd3fa103bd9ea22954d4748115a45410dc07a3

19 years agoGet rid of Python stats output option.
Steve Reinhardt [Sun, 5 Jun 2005 12:38:47 +0000 (08:38 -0400)]
Get rid of Python stats output option.

--HG--
extra : convert_revision : e53033a2266aed1a1d9c1c9b1c8775a3f1a3f234

19 years agoGet rid of unnecessary doxygen config files.
Steve Reinhardt [Sun, 5 Jun 2005 12:09:43 +0000 (08:09 -0400)]
Get rid of unnecessary doxygen config files.

--HG--
extra : convert_revision : a87334a738a057775d1c51946928c9454a892115

19 years agoCommit copyright-updating script.
Steve Reinhardt [Sun, 5 Jun 2005 12:08:50 +0000 (08:08 -0400)]
Commit copyright-updating script.

--HG--
extra : convert_revision : 7b8c7287395de65305552ed51ff3e3018132a78c

19 years agoFix minor doxygen issues.
Steve Reinhardt [Sun, 5 Jun 2005 12:08:29 +0000 (08:08 -0400)]
Fix minor doxygen issues.

Doxyfile:
    Turn on EXTRACT_ALL so we get full class hierarchy info.
base/range.hh:
cpu/o3/fetch.hh:
cpu/o3/rename_map.hh:
cpu/o3/rob.hh:
dev/ide_disk.cc:
dev/tsunami.cc:
dev/tsunami.hh:
dev/tsunami_cchip.hh:
    Fix doxygen issues.

--HG--
extra : convert_revision : 9e0e8d3510b35db201459b8a3211c5e6ad5f0bb4

19 years agoMany files:
Steve Reinhardt [Sun, 5 Jun 2005 09:16:00 +0000 (05:16 -0400)]
Many files:
Update copyright dates and author list

SConscript:
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/ev5.cc:
arch/alpha/ev5.hh:
arch/alpha/faults.cc:
arch/alpha/faults.hh:
arch/alpha/isa_desc:
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/cprintf.cc:
base/cprintf.hh:
base/cprintf_formats.hh:
base/crc.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/match.cc:
base/match.hh:
base/misc.cc:
base/misc.hh:
base/mod_num.hh:
base/mysql.cc:
base/mysql.hh:
base/output.cc:
base/output.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/compression/lzss_compression.cc:
base/compression/lzss_compression.hh:
base/compression/null_compression.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/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/timebuf.hh:
base/trace.cc:
base/trace.hh:
base/userinfo.cc:
base/userinfo.hh:
build/SConstruct:
cpu/base.cc:
cpu/base.hh:
cpu/base_dyn_inst.cc:
cpu/base_dyn_inst.hh:
cpu/exec_context.cc:
cpu/exec_context.hh:
cpu/exetrace.cc:
cpu/exetrace.hh:
cpu/inst_seq.hh:
cpu/intr_control.cc:
cpu/intr_control.hh:
cpu/memtest/memtest.cc:
cpu/pc_event.cc:
cpu/pc_event.hh:
cpu/smt.hh:
cpu/static_inst.cc:
cpu/static_inst.hh:
cpu/memtest/memtest.hh:
cpu/o3/sat_counter.cc:
cpu/o3/sat_counter.hh:
cpu/ozone/cpu.hh:
cpu/simple/cpu.cc:
cpu/simple/cpu.hh:
cpu/trace/opt_cpu.cc:
cpu/trace/opt_cpu.hh:
cpu/trace/reader/ibm_reader.cc:
cpu/trace/reader/ibm_reader.hh:
cpu/trace/reader/itx_reader.cc:
cpu/trace/reader/itx_reader.hh:
cpu/trace/reader/m5_reader.cc:
cpu/trace/reader/m5_reader.hh:
cpu/trace/reader/mem_trace_reader.cc:
cpu/trace/reader/mem_trace_reader.hh:
cpu/trace/trace_cpu.cc:
cpu/trace/trace_cpu.hh:
dev/alpha_access.h:
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/pktfifo.cc:
dev/pktfifo.hh:
dev/platform.cc:
dev/platform.hh:
dev/simconsole.cc:
dev/simconsole.hh:
dev/simple_disk.cc:
dev/simple_disk.hh:
dev/sinic.cc:
dev/sinic.hh:
dev/sinicreg.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/tsunamireg.h:
dev/uart.cc:
dev/uart.hh:
dev/uart8250.cc:
dev/uart8250.hh:
docs/stl.hh:
encumbered/cpu/full/op_class.hh:
kern/kernel_stats.cc:
kern/kernel_stats.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/linux/linux_threadinfo.hh:
kern/linux/printk.cc:
kern/linux/printk.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:
python/SConscript:
python/m5/__init__.py:
python/m5/config.py:
python/m5/convert.py:
python/m5/multidict.py:
python/m5/smartdict.py:
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/root.cc:
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/startup.cc:
sim/startup.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:
test/bitvectest.cc:
test/circletest.cc:
test/cprintftest.cc:
test/genini.py:
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/ccdrv/devtime.c:
util/m5/m5.c:
util/oprofile-top.py:
util/rundiff:
util/m5/m5op.h:
util/m5/m5op.s:
util/stats/db.py:
util/stats/dbinit.py:
util/stats/display.py:
util/stats/info.py:
util/stats/print.py:
util/stats/stats.py:
util/tap/tap.cc:
    Update copyright dates and author list

--HG--
extra : convert_revision : 0faba08fc0fc0146f1efb7f61e4b043c020ff9e4

19 years agoFix a few broken or inconsistently formatted copyrights
Steve Reinhardt [Sun, 5 Jun 2005 09:08:37 +0000 (05:08 -0400)]
Fix a few broken or inconsistently formatted copyrights
that the script doesn't deal with.
Don't bother with copyright notices in generated files.

LICENSE:
    Fix author list.
arch/alpha/ev5.cc:
arch/alpha/ev5.hh:
    Fix inconsistently formatted copyright.
arch/isa_parser.py:
base/traceflags.py:
    Fix copyright & author list.
    Don't bother with copyrights in generated files.
dev/rtcreg.h:
    Fix broken copyright.

--HG--
extra : convert_revision : d628e63c495960e2b129cef0aa8fddbdd4dabd45

19 years agoMany files:
Steve Reinhardt [Sun, 5 Jun 2005 08:21:22 +0000 (04:21 -0400)]
Many files:
Remove RCS Id string

arch/alpha/alpha_linux_process.cc:
arch/alpha/alpha_memory.cc:
arch/alpha/alpha_memory.hh:
arch/alpha/alpha_tru64_process.cc:
arch/alpha/aout_machdep.h:
arch/alpha/arguments.cc:
arch/alpha/arguments.hh:
arch/alpha/ecoff_machdep.h:
arch/isa_parser.py:
arch/alpha/ev5.cc:
arch/alpha/ev5.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/cprintf.cc:
base/cprintf.hh:
base/cprintf_formats.hh:
base/crc.cc:
base/crc.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/kgdb.h:
base/match.cc:
base/match.hh:
base/misc.cc:
base/misc.hh:
base/mod_num.hh:
base/mysql.cc:
base/mysql.hh:
base/output.cc:
base/output.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/compression/lzss_compression.cc:
base/compression/lzss_compression.hh:
base/compression/null_compression.hh:
base/loader/aout_object.cc:
base/loader/aout_object.hh:
base/loader/coff_sym.h:
base/loader/coff_symconst.h:
base/loader/ecoff_object.cc:
base/loader/ecoff_object.hh:
base/loader/elf_object.cc:
base/loader/elf_object.hh:
base/loader/exec_aout.h:
base/loader/exec_ecoff.h:
base/loader/symtab.cc:
base/loader/symtab.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/timebuf.hh:
base/trace.cc:
base/trace.hh:
base/traceflags.py:
base/userinfo.cc:
base/userinfo.hh:
cpu/base.cc:
cpu/base.hh:
cpu/base_dyn_inst.cc:
cpu/base_dyn_inst.hh:
cpu/exec_context.cc:
cpu/exec_context.hh:
cpu/exetrace.cc:
cpu/exetrace.hh:
cpu/inst_seq.hh:
cpu/intr_control.cc:
cpu/intr_control.hh:
cpu/pc_event.cc:
cpu/pc_event.hh:
cpu/memtest/memtest.cc:
cpu/memtest/memtest.hh:
cpu/o3/2bit_local_pred.cc:
cpu/o3/2bit_local_pred.hh:
cpu/o3/alpha_cpu.cc:
cpu/o3/alpha_cpu.hh:
cpu/o3/alpha_cpu_builder.cc:
cpu/o3/alpha_dyn_inst.cc:
cpu/o3/alpha_dyn_inst.hh:
cpu/o3/alpha_dyn_inst_impl.hh:
cpu/o3/alpha_impl.hh:
cpu/o3/alpha_params.hh:
cpu/o3/bpred_unit.cc:
cpu/o3/bpred_unit.hh:
cpu/o3/bpred_unit_impl.hh:
cpu/o3/btb.cc:
cpu/o3/btb.hh:
cpu/o3/comm.hh:
cpu/o3/commit.cc:
cpu/o3/commit.hh:
cpu/o3/commit_impl.hh:
cpu/o3/cpu.cc:
cpu/o3/cpu.hh:
cpu/o3/cpu_policy.hh:
cpu/o3/decode.cc:
cpu/o3/decode.hh:
cpu/o3/decode_impl.hh:
cpu/o3/fetch.cc:
cpu/o3/fetch.hh:
cpu/o3/fetch_impl.hh:
cpu/o3/free_list.cc:
cpu/o3/free_list.hh:
cpu/o3/iew.cc:
cpu/o3/iew.hh:
cpu/o3/iew_impl.hh:
cpu/o3/inst_queue.cc:
cpu/o3/inst_queue.hh:
cpu/o3/inst_queue_impl.hh:
cpu/o3/mem_dep_unit.cc:
cpu/o3/mem_dep_unit.hh:
cpu/o3/mem_dep_unit_impl.hh:
cpu/o3/ras.cc:
cpu/o3/ras.hh:
cpu/o3/regfile.hh:
cpu/o3/rename.cc:
cpu/o3/rename.hh:
cpu/o3/rename_impl.hh:
cpu/o3/rename_map.cc:
cpu/o3/rename_map.hh:
cpu/o3/rob.hh:
cpu/o3/rob_impl.hh:
cpu/o3/sat_counter.cc:
cpu/o3/sat_counter.hh:
cpu/o3/store_set.cc:
cpu/o3/store_set.hh:
cpu/o3/tournament_pred.cc:
cpu/o3/tournament_pred.hh:
cpu/ozone/cpu.hh:
cpu/simple/cpu.cc:
cpu/simple/cpu.hh:
cpu/smt.hh:
cpu/static_inst.cc:
cpu/static_inst.hh:
cpu/trace/opt_cpu.hh:
cpu/trace/reader/ibm_reader.cc:
cpu/trace/reader/ibm_reader.hh:
cpu/trace/reader/itx_reader.cc:
cpu/trace/reader/itx_reader.hh:
cpu/trace/reader/m5_reader.cc:
cpu/trace/reader/m5_reader.hh:
cpu/trace/reader/mem_trace_reader.cc:
cpu/trace/reader/mem_trace_reader.hh:
cpu/trace/trace_cpu.cc:
cpu/trace/trace_cpu.hh:
dev/alpha_access.h:
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/pktfifo.cc:
dev/pktfifo.hh:
dev/platform.cc:
dev/platform.hh:
dev/simconsole.cc:
dev/simconsole.hh:
dev/simple_disk.cc:
dev/simple_disk.hh:
dev/sinic.cc:
dev/sinic.hh:
dev/sinicreg.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/uart.cc:
dev/uart.hh:
dev/uart8250.cc:
dev/uart8250.hh:
docs/stl.hh:
encumbered/cpu/full/op_class.hh:
kern/kernel_stats.cc:
kern/kernel_stats.hh:
kern/linux/linux.hh:
kern/system_events.cc:
kern/system_events.hh:
kern/linux/linux_syscalls.cc:
kern/linux/linux_syscalls.hh:
kern/linux/linux_system.cc:
kern/linux/linux_system.hh:
kern/linux/printk.cc:
kern/linux/printk.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/root.cc:
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/startup.cc:
sim/startup.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:
test/Makefile:
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/m5/m5op.s:
util/tap/Makefile:
util/tap/tap.cc:
util/term/Makefile:
util/term/term.c:
    Remove RCS Id string

--HG--
extra : convert_revision : fc5b0a6ee2a213785bd58c51ce82eb2f769d6b88

19 years agoMerge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5-clean
Ali Saidi [Sun, 5 Jun 2005 08:08:41 +0000 (04:08 -0400)]
Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5-clean

--HG--
extra : convert_revision : 6fce1b31995cf5c68bd2f4bdfa2b88db6dcd006c

19 years agoadded copyright
Ali Saidi [Sun, 5 Jun 2005 08:08:05 +0000 (04:08 -0400)]
added copyright

kern/linux/sched.hh:
kern/linux/thread_info.hh:
    got rid of everything but exactly what we needed
util/categories.py:
    newest version from one of my repositories

--HG--
extra : convert_revision : c4328e5938d421d60493c0da07022bfa9e92c404

19 years agoNow it's no longer a beta release
Ron Dreslinski [Sun, 5 Jun 2005 07:51:23 +0000 (03:51 -0400)]
Now it's no longer a beta release

--HG--
extra : convert_revision : 0db477a26278436ea3f640048b63d72132d921d8

19 years agoMerge zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/m5
Ron Dreslinski [Sun, 5 Jun 2005 07:32:35 +0000 (03:32 -0400)]
Merge zizzer:/bk/m5 into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/m5

--HG--
extra : convert_revision : 065e1a590c2b67f01cb3e8e4e25ee98f053d0a5e

19 years agoRemove unneeded includes
Ron Dreslinski [Sun, 5 Jun 2005 07:32:22 +0000 (03:32 -0400)]
Remove unneeded includes

--HG--
extra : convert_revision : be4479e7bb2d45dbb2e41423b4163b149ded3acd

19 years agoUpdate #defines for the O3CPU. Also include the copyright.
Kevin Lim [Sun, 5 Jun 2005 07:25:26 +0000 (03:25 -0400)]
Update #defines for the O3CPU.  Also include the copyright.

base/timebuf.hh:
    Updated copyright.
cpu/o3/2bit_local_pred.hh:
cpu/o3/alpha_cpu.hh:
cpu/o3/alpha_cpu_impl.hh:
cpu/o3/alpha_dyn_inst.hh:
cpu/o3/alpha_impl.hh:
cpu/o3/alpha_params.hh:
cpu/o3/btb.hh:
cpu/o3/comm.hh:
cpu/o3/commit.hh:
cpu/o3/cpu.cc:
cpu/o3/cpu.hh:
cpu/o3/cpu_policy.hh:
cpu/o3/decode.hh:
cpu/o3/fetch.hh:
cpu/o3/free_list.hh:
cpu/o3/iew.hh:
cpu/o3/inst_queue.hh:
cpu/o3/mem_dep_unit.hh:
cpu/o3/ras.hh:
cpu/o3/regfile.hh:
cpu/o3/rename.hh:
cpu/o3/rename_map.hh:
cpu/o3/rob.cc:
cpu/o3/rob.hh:
cpu/o3/rob_impl.hh:
cpu/o3/sat_counter.hh:
cpu/o3/store_set.hh:
cpu/o3/tournament_pred.hh:
    Updated #define to have correct path.
docs/footer.html:
    Remove e-mail addr.

--HG--
extra : convert_revision : 68d7af52674621dc3b6d6ac0d564790ffd595fe3

19 years agoMerge zizzer:/bk/m5 into zed.eecs.umich.edu:/z/hsul/work/m5/clean
Lisa Hsu [Sun, 5 Jun 2005 07:10:26 +0000 (03:10 -0400)]
Merge zizzer:/bk/m5 into zed.eecs.umich.edu:/z/hsul/work/m5/clean

--HG--
extra : convert_revision : dad53da15d9b6773b230bb6cf38daef00f9bd573