gem5.git
13 years agocopyright: update copyright on alpha system files
Nathan Binkert [Wed, 16 Feb 2011 06:34:01 +0000 (00:34 -0600)]
copyright: update copyright on alpha system files

17 years agoFix bug in MDT BITMAP to allow more than 2GB of memory.
Geoffrey Blake [Fri, 19 Oct 2007 20:44:02 +0000 (16:44 -0400)]
Fix bug in MDT BITMAP to allow more than 2GB of memory.

Signed-off by Ali Saidi <saidi@eecs.umich.edu>

18 years agofix Makefile for new source tree
Ali Saidi [Wed, 16 Aug 2006 19:51:06 +0000 (15:51 -0400)]
fix Makefile for new source tree

18 years agoupdate our copyrights to the new format
Ali Saidi [Wed, 16 Aug 2006 19:26:52 +0000 (15:26 -0400)]
update our copyrights to the new format

18 years agoput panic instructions in palcode rather than looping on mchecks.
Ali Saidi [Wed, 26 Apr 2006 19:15:45 +0000 (15:15 -0400)]
put panic instructions in palcode rather than looping on mchecks.

18 years agoAdd m5op to the build process
Ali Saidi [Tue, 28 Feb 2006 23:57:34 +0000 (18:57 -0500)]
Add m5op to the build process
use quiesceNs on other CPUs
panic rather than spin on an error

console/Makefile:
    Add m5op to the build process
console/dbmentry.S:
    use quiesceNs on other CPUs
console/printf.c:
    panic rather than spin on an error.

18 years agochange from bootStrap* to using the cpuStack array for setting up
Ali Saidi [Thu, 23 Feb 2006 20:00:04 +0000 (15:00 -0500)]
change from bootStrap* to using the cpuStack array for setting up
other processor stacks

19 years agoFix console to work on all systems.
Nathan Binkert [Thu, 18 Aug 2005 17:34:03 +0000 (13:34 -0400)]
Fix console to work on all systems.

console/console.c:
    CONS_REM (remote console) doesn't work on Tru64.  Use CONS_DZ which
    seems to work alright everywhere.

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

console/console.c:
    Clean up code.
h/rpb.h:
    Update CTB struct.

19 years agochanges
Miguel Serrano [Thu, 28 Jul 2005 16:26:05 +0000 (12:26 -0400)]
changes

console/console.c:
    fixed bootstrap stack
h/rpb.h:
    ctb_term_type instead of ctb_baud

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

19 years agoNew console terminal block structure, fix kernel stack pointer.
Benjamin Nash [Tue, 26 Jul 2005 16:42:02 +0000 (12:42 -0400)]
New console terminal block structure, fix kernel stack pointer.

console/console.c:
    Use virtual addresses for kernel stack pointer, use new ctb structure.
h/rpb.h:
    Update console terminal block structure.

19 years agoAdd missing TSUNAMI ipi code.
Nathan Binkert [Thu, 30 Jun 2005 02:15:32 +0000 (22:15 -0400)]
Add missing TSUNAMI ipi code.

19 years agoconsole code cleanup
Nathan Binkert [Wed, 29 Jun 2005 03:22:28 +0000 (23:22 -0400)]
console code cleanup

console/console.c:
    the go parameter to unixBoot is never used, so get rid of it.
    just panic if we return from unixBoot since it's never supposed
    to happen.
    remove the MAX_CPUS parameter and the bootStrapImpure variable
    and just allocate memory as needed.  (Can in theory support many
    more CPUs.)

19 years agopass the location of the m5 backdoor via the m5AlphaAccess variable
Nathan Binkert [Tue, 28 Jun 2005 05:13:20 +0000 (01:13 -0400)]
pass the location of the m5 backdoor via the m5AlphaAccess variable
only compile one console

console/Makefile:
    Now that the location of the m5 backdoor is passed into the
    console via the m5AlphaAccess variable, we only need to
    compile one console, and don't need to define TLASER or TSUNAMI
console/console.c:
    Don't hardcode the location of the AlphaAccess structure, but
    rely on m5 to pass in the correct value.
    Setup "volatile struct AlphaAccess *m5AlphaAccess" for use and
    get rid of the hardcoded usage.

19 years agoAdd tlaser.h, required by platform.S
Nathan Binkert [Mon, 27 Jun 2005 21:58:44 +0000 (17:58 -0400)]
Add tlaser.h, required by platform.S

19 years agoMajor system code cleanup and formatting
Nathan Binkert [Mon, 27 Jun 2005 21:25:54 +0000 (17:25 -0400)]
Major system code cleanup and formatting
remove unused code

console/Makefile:
    cleanup Makefile.  Remove unneeded -D options
console/console.c:
    Major cleanup and formatting
    remove unused #ifdef code
    remove unused #includes
    rename xxm -> m5
    rename simos -> m5
console/dbmentry.S:
console/paljtokern.S:
console/paljtoslave.S:
console/printf.c:
    Major cleanup and formatting
    remove unused #ifdef code
    remove unused #includes
    rename __start -> _start to get rid of warning.
h/cserve.h:
h/dc21164FromGasSources.h:
h/ev5_alpha_defs.h:
h/ev5_defs.h:
h/ev5_osfalpha_defs.h:
h/ev5_paldef.h:
h/fromHudsonMacros.h:
h/fromHudsonOsf.h:
h/rpb.h:
    Major cleanup and formatting
h/ev5_impure.h:
    Major cleanup and formatting
    remove unused #ifdef code
palcode/Makefile:
    cleanup Makefile
    remove unused -D options
    unify platform_tlaser.S and platform_tsunami.S into platform.S and
    generate multiple .o files using various #defines
    unify osfpal.S osfpal_cache_copy.S and osfpal_cache_copy_unaligned.S into
    osfpal.S and generate multiple .o files using various #defines
palcode/osfpal.S:
    Major cleanup and formatting
    remove unused #defines
    remove unused #if code
    merge copy code into this file.
palcode/platform.S:
    Major cleanup and formatting
    remove unused #defines
    remove unused #if code
    merge platform code into this file.

19 years agoHP copyrights
Ali Saidi [Sat, 4 Jun 2005 22:59:06 +0000 (18:59 -0400)]
HP copyrights

console/Makefile:
    Added copyright
    added CROSS_COMPILE variable
    removed install target
console/console.c:
console/dbmentry.S:
console/paljtokern.S:
console/paljtoslave.S:
console/printf.c:
h/cia.h:
h/cserve.h:
h/dc21164FromGasSources.h:
h/eb164.h:
h/ev5_alpha_defs.h:
h/ev5_defs.h:
h/ev5_impure.h:
h/ev5_osfalpha_defs.h:
h/ev5_paldef.h:
h/fromHudsonMacros.h:
h/fromHudsonOsf.h:
h/lib.h:
h/platform.h:
h/regdefs.h:
h/rpb.h:
palcode/Makefile:
palcode/osfpal.S:
palcode/osfpal_cache_copy.S:
palcode/osfpal_cache_copy_unaligned.S:
palcode/platform_m5.S:
palcode/platform_tlaser.S:
    added hp and our copyright

19 years agoremoved tlaserreg.h, rewrote necessary parts
Ali Saidi [Sun, 30 Jan 2005 21:50:55 +0000 (16:50 -0500)]
removed tlaserreg.h, rewrote necessary parts
deleted simos.h
deleted tlaserreg.h

palcode/platform_m5.S:
palcode/platform_tlaser.S:
    removed tlaserreg.h, rewrote necessary parts

20 years agoAdd support for tsunami with 64 processors and fix some console bugs
Ali Saidi [Mon, 6 Dec 2004 16:44:22 +0000 (11:44 -0500)]
Add support for tsunami with 64 processors and fix some console bugs
I steped on while doing it

console/console.c:
    Allocate more HWRPB pages so we have room for 64 percpu_rpbs
    Fix writing of Console Relocation Block virtual addresses so that
    if they are outside of the first page, which they will be with more
    than 8 processors, the correct adress is written
palcode/Makefile:
    Update makefile for tsunami with 64 processors
palcode/platform_m5.S:
    Add support for tsunami with 64 processors

20 years agodo a better job of always locking printf. We used to only lock on
Ali Saidi [Tue, 23 Nov 2004 09:04:13 +0000 (04:04 -0500)]
do a better job of always locking printf. We used to only lock on
secondary cpus, this also locks on the primary cpu.
Now the initial print out doesn't get garbled with more than 1 cpu.

20 years agoMakefile cleanup, no seperate middle preprocessing steps anymore
Ali Saidi [Tue, 23 Nov 2004 08:40:32 +0000 (03:40 -0500)]
Makefile cleanup, no seperate middle preprocessing steps anymore

20 years agocleanup makefile and fix platform bug introduced in last commit
Ali Saidi [Tue, 23 Nov 2004 08:20:27 +0000 (03:20 -0500)]
cleanup makefile and fix platform bug introduced in last commit

palcode/Makefile:
    Cleanup make file, no more ugly preprocessing steps
palcode/platform_m5.S:
    fix a mistake with m5 platform cleanup from before

20 years agoupdate platform code to use PALTemp Whami register to get cpu id
Ali Saidi [Tue, 23 Nov 2004 07:01:30 +0000 (02:01 -0500)]
update platform code to use PALTemp Whami register to get cpu id
instead of reading register from tsunami chipset, saving an uncached
read

20 years agoFix from Adam: Strip the kseg off the physical address in the RPB structure.
Ali Saidi [Wed, 6 Oct 2004 15:27:46 +0000 (11:27 -0400)]
Fix from Adam: Strip the kseg off the physical address in the RPB structure.

20 years agochanges to make smp work in linux
Ali Saidi [Wed, 1 Sep 2004 04:23:00 +0000 (00:23 -0400)]
changes to make smp work in linux

console/console.c:
    Remove Printed SimOS references and replace with M5
    Rework the SMP stuff, so we don't trash any stacks, or what we
    thought were stacks, but are actually other ppls memory.
console/dbmentry.s:
    add a carefully crafted piece of assembly that doesn't use the stack,
    so we don't clobber anthing in the time between when we are spinning
    and when the OS tells us to go.
palcode/platform_m5.s:
    add/fix code for IPI, multiprocessor interrupts (DIR), and initial
    bootstrapping of the cpu

20 years agochanged to generate tlaser and tsunami console code at different
Ali Saidi [Sun, 1 Aug 2004 04:50:26 +0000 (00:50 -0400)]
changed to generate tlaser and tsunami console code at different
addresses so the uncachable bit is set for tsunami.

console/Makefile:
console/console.c:
    changed to generate tlaser and tsunami console code at different addresses

20 years agochanged the code not to use r11 (specifically) and r8,r9 for good
Ali Saidi [Thu, 1 Jul 2004 05:28:45 +0000 (01:28 -0400)]
changed the code not to use r11 (specifically) and r8,r9 for good
measure. The rest of the registers I used are touched by the tlaser
platform code so I would guess their are fair game.
Random memory troubles hopefully over.

20 years agoCopy variables over one at a time rather than copying 4 bytes at a
Ali Saidi [Wed, 23 Jun 2004 19:12:15 +0000 (15:12 -0400)]
Copy variables over one at a time rather than copying 4 bytes at a
time. Easiest way to deal with the endian issue.

20 years agoRather than using a loop to calculate the interrupt vector, use the ctlz instruction.
Ali Saidi [Sun, 6 Jun 2004 23:33:50 +0000 (19:33 -0400)]
Rather than using a loop to calculate the interrupt vector, use the ctlz instruction.

20 years agoAdded ALPHA_ACCESS_BASE to get rid of machine_defs.h
Ali Saidi [Wed, 19 May 2004 00:11:58 +0000 (20:11 -0400)]
Added ALPHA_ACCESS_BASE to get rid of machine_defs.h

20 years agoerik and I made the the same modification... merged.
Ali Saidi [Tue, 18 May 2004 20:32:59 +0000 (16:32 -0400)]
erik and I made the the same modification... merged.

20 years agoMajor clean up of alpha system files.
Ali Saidi [Tue, 18 May 2004 20:26:16 +0000 (16:26 -0400)]
Major clean up of alpha system files.

console/Makefile:
palcode/Makefile:
    moved header files to /h so updated make file for that
console/dbmentry.s:
console/paljtokern.s:
console/paljtoslave.s:
    upadated to use osf file that the palcode uses, one less file

20 years agoSetup makefile to compile the 3 flavors of palcode for each platform.
Erik Hallnor [Tue, 18 May 2004 01:09:20 +0000 (21:09 -0400)]
Setup makefile to compile the 3 flavors of palcode for each platform.

20 years agoDeleted a whole bunch of files that we didn't nede in the header
Ali Saidi [Mon, 17 May 2004 23:23:48 +0000 (19:23 -0400)]
Deleted a whole bunch of files that we didn't nede in the header
directory

console/dbmentry.s:
console/printf.c:
    removed unneeded includes

20 years agoMerge zeep.eecs.umich.edu:/m5/Bitkeeper/alpha-system
Ali Saidi [Mon, 17 May 2004 21:49:47 +0000 (17:49 -0400)]
Merge zeep.eecs.umich.edu:/m5/Bitkeeper/alpha-system
into zeep.eecs.umich.edu:/.automount/zizzer/y/saidi/work/alpha-system

20 years agoconsole code now builds on zizzer
Ali Saidi [Mon, 17 May 2004 21:49:19 +0000 (17:49 -0400)]
console code now builds on zizzer

console/Makefile:
    Updated to build on linux and removed
    lots of crud that compiled, disassembled, and then reassembled
console/dbmentry.s:
    the assembler didn't like they comments, so I removed them
console/printf.c:
    Gcc was very unhappy, so I fixed this line
h/lib.h:
    time_t is defined in a std header, and this was causing some problems

20 years agoAdd copy implementations to palcode.
Erik Hallnor [Mon, 17 May 2004 21:18:32 +0000 (17:18 -0400)]
Add copy implementations to palcode.

palcode/osfpal.s:
    Add copypal loop copy implementation.

20 years agopalcode updated to deal with interrupts correctly
Ali Saidi [Mon, 17 May 2004 06:04:19 +0000 (02:04 -0400)]
palcode updated to deal with interrupts correctly
deleted and then upon realizing we needed them undeleted a bunch of
header files in the palcode dir

console/Makefile:
    fixed so it will work with tru64... still haven't got the console to build under linux
palcode/platform_m5.s:
    fixed code to "fake" srm console interrupt handling correctly
    include serial interrupts

20 years agoadded some comments to palcode and zeroed system type in HWPRB (m5 will fill in)
Ali Saidi [Tue, 11 May 2004 21:31:28 +0000 (17:31 -0400)]
added some comments to palcode and zeroed system type in HWPRB (m5 will fill in)

console/console.c:
    0 the system type, let m5 overwrite
palcode/platform_m5.s:
    add some comments and make the timer interrupt actually care what CPU it happened on

20 years agoChange addressing in interrupt code to meet physical addressing requirements
Andrew Schultz [Thu, 19 Feb 2004 21:33:36 +0000 (16:33 -0500)]
Change addressing in interrupt code to meet physical addressing requirements

20 years agoFixed device I/O interrupt handling
Andrew Schultz [Mon, 16 Feb 2004 03:31:19 +0000 (22:31 -0500)]
Fixed device I/O interrupt handling

20 years agoFix improper shift for loading address
Andrew Schultz [Tue, 3 Feb 2004 20:09:09 +0000 (15:09 -0500)]
Fix improper shift for loading address

20 years agoFix the sys_int_20 handler for doing low priority device interrupts.
Andrew Schultz [Tue, 3 Feb 2004 20:03:34 +0000 (15:03 -0500)]
Fix the sys_int_20 handler for doing low priority device interrupts.
Now reads the MISC register to handle interrupts from multiple CPUs

20 years agoAdded platfrom_m5 - Our hacked up tsunami palcode and modified palcode
Ali Saidi [Mon, 2 Feb 2004 22:40:11 +0000 (17:40 -0500)]
Added platfrom_m5 - Our hacked up tsunami palcode and modified palcode
makefile to that end. Additionally made a change in console to
preserve t7 on call back because linux uses it for the "current"
pointer.

console/Makefile:
    Changed makefile back to using gcc and gas rather then trying to
    cross-compile for now
console/console.c:
    Put code in to save t7 on CallBackFixup() call and changed the
    system type to Tsunami
palcode/Makefile:
    updated palcode makefile to have targets for tlaser and tsunami

20 years agomakefiles updated to make use of cross compile tools
Ali Saidi [Thu, 15 Jan 2004 07:59:57 +0000 (02:59 -0500)]
makefiles updated to make use of cross compile tools

console/Makefile:
    All tools are variables now
palcode/Makefile:
    tool names changed to variables, can build palcode on zizzer

20 years agoMerge zizzer.eecs.umich.edu:/m5/Bitkeeper/alpha-system
Ali Saidi [Wed, 14 Jan 2004 09:07:07 +0000 (04:07 -0500)]
Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/alpha-system
into zizzer.eecs.umich.edu:/y/saidi/alpha-system

20 years agoAdded support for OPEN_CONSOLE and CLOSE_CONSOLE; fixed PUTS bug
Ali Saidi [Wed, 14 Jan 2004 09:06:44 +0000 (04:06 -0500)]
Added support for OPEN_CONSOLE and CLOSE_CONSOLE; fixed PUTS bug

21 years agoImplement GetChar()
Nathan Binkert [Mon, 22 Dec 2003 18:04:23 +0000 (13:04 -0500)]
Implement GetChar()

console/Makefile:
    Quick install target to copy the binary to zizzer

21 years agoThe palcode will now build by simply typing make in this directory.
Ali Saidi [Fri, 19 Dec 2003 19:24:01 +0000 (14:24 -0500)]
The palcode will now build by simply typing make in this directory.
Most of the changes were to fix broken macros in platfrom_tlaser.s

palcode/Makefile:
    Completly new makefile to build palcode
palcode/ev5_alpha_defs.h:
    fixed a broken define
palcode/ev5_impure.h:
    macro fixes
palcode/platform_srcmax.s:
    manual macro expansion of broken macros... this file isn't needed to
    build tlaser palcode
palcode/platform_tlaser.s:
    lots of fixups to make the code assemble

21 years agoImplement support for more console environment variables. There
Nathan Binkert [Thu, 18 Dec 2003 02:39:42 +0000 (21:39 -0500)]
Implement support for more console environment variables.  There
are some default values here, but they can be changed from the
simulator itself.  (Search in m5 for boot_osflags)

21 years agoGet the console code to compile correctly
Nathan Binkert [Fri, 14 Nov 2003 17:32:52 +0000 (12:32 -0500)]
Get the console code to compile correctly
Add support for some thigns that M5 needs
Make this better support Tru64 v5.1

console/Makefile:
    I couldn't figure out the old build system since I was missing
    a bunch of tools at the time, so I kinda rewrote it.
console/console.c:
    Get the includes right, and make things compile
    little bit of cleanup along the way
console/paljtokern.s:
    formatting junk
console/printf.c:
    Formatting
    get const right
h/lib.h:
    fiddle with the includes that we need
console/console.c:
    Get the BOOTDEVICE_NAME right
    Add a bit of support for grabbing console environment variables

21 years agoImport changeset
Lisa Hsu [Fri, 14 Nov 2003 15:52:42 +0000 (10:52 -0500)]
Import changeset

13 years agoMESI CMP: Unset TBE pointer in L2 cache controller
Nilay Vaish [Tue, 8 Feb 2011 13:47:02 +0000 (07:47 -0600)]
MESI CMP: Unset TBE pointer in L2 cache controller
The TBE pointer in the MESI CMP implementation was not being set to NULL
when the TBE is deallocated. This resulted in segmentation fault on testing
the protocol when the ProtocolTrace was switched on.

13 years agoStats: Re update stats.
Gabe Black [Tue, 8 Feb 2011 03:23:13 +0000 (19:23 -0800)]
Stats: Re update stats.

13 years agoStats: Back out broken update.
Gabe Black [Tue, 8 Feb 2011 03:23:11 +0000 (19:23 -0800)]
Stats: Back out broken update.

13 years agoX86: Obey the wp bit of CR0.
Tim Harris [Mon, 7 Feb 2011 23:18:52 +0000 (15:18 -0800)]
X86: Obey the wp bit of CR0.

If cr0.wp ("write protect" bit) is clear then do not generate page faults when
writing to write-protected pages in kernel mode.

13 years agoX86: Use all 64 bits of the lstar register in the SYSCALL_64 macroop.
Tim Harris [Mon, 7 Feb 2011 23:16:27 +0000 (15:16 -0800)]
X86: Use all 64 bits of the lstar register in the SYSCALL_64 macroop.

During SYSCALL_64, use dataSize=8 when handling new rip (ref
http://www.intel.com/Assets/PDF/manual/253668.pdf 5.8.8 IA32_LSTAR is a 64-bit
address)

13 years agoX86: Fix JMP_FAR_I to unpack a far pointer correctly.
Tim Harris [Mon, 7 Feb 2011 23:12:59 +0000 (15:12 -0800)]
X86: Fix JMP_FAR_I to unpack a far pointer correctly.

JMP_FAR_I was unpacking its far pointer operand using sll instead of srl like
it should, and also putting the components in the wrong registers for use by
other microcode.

13 years agoX86: Read the LDT/GDT at CPL0 when executing an iret.
Tim Harris [Mon, 7 Feb 2011 23:05:28 +0000 (15:05 -0800)]
X86: Read the LDT/GDT at CPL0 when executing an iret.

During iret access LDT/GDT at CPL0 rather than after transition to user mode
(if I'm reading the Intel IA-64 architecture spec correctly, the contents of
the descriptor table are read before the CPL is updated).

13 years agoOrion: Replace printf() with fatal()
Nilay Vaish [Mon, 7 Feb 2011 18:42:23 +0000 (12:42 -0600)]
Orion: Replace printf() with fatal()
The code for Orion 2.0 makes use of printf() at several places where there as
an error in configuration of the model. These have been replaced with fatal().

13 years agoruby: add stdio header in SRAM.hh
Korey Sewell [Mon, 7 Feb 2011 17:19:46 +0000 (12:19 -0500)]
ruby: add stdio header in SRAM.hh
missing header file caused RUBY_FS to not compile

13 years agoX86: Add stats for the new x86 fs regressions.
Gabe Black [Mon, 7 Feb 2011 09:23:16 +0000 (01:23 -0800)]
X86: Add stats for the new x86 fs regressions.

13 years agoX86: Add scripts to support X86 FS configurations in the regressions.
Gabe Black [Mon, 7 Feb 2011 09:23:02 +0000 (01:23 -0800)]
X86: Add scripts to support X86 FS configurations in the regressions.

13 years agoX86, Config: Move the setting of work count options to a separate function.
Gabe Black [Mon, 7 Feb 2011 09:22:15 +0000 (01:22 -0800)]
X86, Config: Move the setting of work count options to a separate function.

This way things that don't care about work count options and/or aren't called
by something that has those command line options set up doesn't have to build
a fake object to carry in inert values.

13 years agoX86: Fix compiling vtophys.cc
Gabe Black [Mon, 7 Feb 2011 09:21:21 +0000 (01:21 -0800)]
X86: Fix compiling vtophys.cc

13 years agoregress: Regression Tester output updates
Brad Beckmann [Mon, 7 Feb 2011 06:14:23 +0000 (22:14 -0800)]
regress: Regression Tester output updates

13 years agoruby: support to stallAndWait the mandatory queue
Brad Beckmann [Mon, 7 Feb 2011 06:14:19 +0000 (22:14 -0800)]
ruby: support to stallAndWait the mandatory queue

By stalling and waiting the mandatory queue instead of recycling it, one can
ensure that no incoming messages are starved when the mandatory queue puts
signficant of pressure on the L1 cache controller (i.e. the ruby memtester).

--HG--
rename : src/mem/slicc/ast/WakeUpDependentsStatementAST.py => src/mem/slicc/ast/WakeUpAllDependentsStatementAST.py

13 years agoruby: minor fix to deadlock panic message
Brad Beckmann [Mon, 7 Feb 2011 06:14:19 +0000 (22:14 -0800)]
ruby: minor fix to deadlock panic message

13 years agoboot: script that creates a checkpoint after Linux boot up
Brad Beckmann [Mon, 7 Feb 2011 06:14:19 +0000 (22:14 -0800)]
boot: script that creates a checkpoint after Linux boot up

13 years agogarnet: Split network power in ruby.stats
Joel Hestness [Mon, 7 Feb 2011 06:14:19 +0000 (22:14 -0800)]
garnet: Split network power in ruby.stats

Split out dynamic and static power numbers for printing to ruby.stats

13 years agoMOESI_hammer: fixed dir bug counting received acks
Brad Beckmann [Mon, 7 Feb 2011 06:14:19 +0000 (22:14 -0800)]
MOESI_hammer: fixed dir bug counting received acks

13 years agoruby: numa bit fix for sparse memory
Brad Beckmann [Mon, 7 Feb 2011 06:14:19 +0000 (22:14 -0800)]
ruby: numa bit fix for sparse memory

13 years agoMOESI_CMP_token: removed unused message fields
Tushar Krishna [Mon, 7 Feb 2011 06:14:19 +0000 (22:14 -0800)]
MOESI_CMP_token: removed unused message fields

13 years agomem: Added support for Null data packet
Brad Beckmann [Mon, 7 Feb 2011 06:14:19 +0000 (22:14 -0800)]
mem: Added support for Null data packet

The packet now identifies whether static or dynamic data has been allocated and
is used by Ruby to determine whehter to copy the data pointer into the ruby
request.  Subsequently, Ruby can be told not to update phys memory when
receiving packets.

13 years agom5: added work completed monitoring support
Brad Beckmann [Mon, 7 Feb 2011 06:14:19 +0000 (22:14 -0800)]
m5: added work completed monitoring support

13 years agodev: fixed bugs to extend interrupt capability beyond 15 cores
Brad Beckmann [Mon, 7 Feb 2011 06:14:18 +0000 (22:14 -0800)]
dev: fixed bugs to extend interrupt capability beyond 15 cores

13 years agox86: Timing support for pagetable walker
Joel Hestness [Mon, 7 Feb 2011 06:14:18 +0000 (22:14 -0800)]
x86: Timing support for pagetable walker

Move page table walker state to its own object type, and make the
walker instantiate state for each outstanding walk. By storing the
states in a queue, the walker is able to handle multiple outstanding
timing requests. Note that functional walks use separate state
elements.

13 years agoTimingSimpleCPU: split data sender state fix
Joel Hestness [Mon, 7 Feb 2011 06:14:18 +0000 (22:14 -0800)]
TimingSimpleCPU: split data sender state fix

In sendSplitData, keep a pointer to the senderState that may be updated after
the call to handle*Packet. This way, if the receiver updates the packet
senderState, it can still be accessed in sendSplitData.

13 years agoruby: Fix RubyPort to properly handle retrys
Brad Beckmann [Mon, 7 Feb 2011 06:14:18 +0000 (22:14 -0800)]
ruby: Fix RubyPort to properly handle retrys

13 years agoRuby: Fix to return cache block size to CPU for split data transfers
Joel Hestness [Mon, 7 Feb 2011 06:14:18 +0000 (22:14 -0800)]
Ruby: Fix to return cache block size to CPU for split data transfers

13 years agoRuby: Add support for locked memory accesses in X86_FS
Joel Hestness [Mon, 7 Feb 2011 06:14:18 +0000 (22:14 -0800)]
Ruby: Add support for locked memory accesses in X86_FS

13 years agoRuby: Update the Ruby request type names for LL/SC
Joel Hestness [Mon, 7 Feb 2011 06:14:18 +0000 (22:14 -0800)]
Ruby: Update the Ruby request type names for LL/SC

13 years agoruby: Assert for x86 misaligned access
Brad Beckmann [Mon, 7 Feb 2011 06:14:18 +0000 (22:14 -0800)]
ruby: Assert for x86 misaligned access

This patch ensures only aligned access are passed to ruby and includes a fix
to the DPRINTF address print.

13 years agoruby: x86 fs config support
Brad Beckmann [Mon, 7 Feb 2011 06:14:18 +0000 (22:14 -0800)]
ruby: x86 fs config support

13 years agoMOESI_hammer: Added full-bit directory support
Brad Beckmann [Mon, 7 Feb 2011 06:14:18 +0000 (22:14 -0800)]
MOESI_hammer: Added full-bit directory support

13 years agox86: Add checkpointing capability to devices
Joel Hestness [Mon, 7 Feb 2011 06:14:18 +0000 (22:14 -0800)]
x86: Add checkpointing capability to devices

Add checkpointing capability to the Intel 8254 timer, CMOS, I8042,
PS2 Keyboard and Mouse, I82094AA, I8237, I8254, I8259, and speaker
devices

13 years agox86: Add checkpointing capability to arch components
Joel Hestness [Mon, 7 Feb 2011 06:14:17 +0000 (22:14 -0800)]
x86: Add checkpointing capability to arch components

Add checkpointing capability to the x86 interrupt device and the TLBs

13 years agox86: implements vtophys
Joel Hestness [Mon, 7 Feb 2011 06:14:17 +0000 (22:14 -0800)]
x86: implements vtophys

Calls walker to look up virt. to phys. page mapping

13 years agoIntDev: packet latency fix
Joel Hestness [Mon, 7 Feb 2011 06:14:17 +0000 (22:14 -0800)]
IntDev: packet latency fix

The x86 local apic now includes a separate latency parameter for interrupts.

13 years agoMessagePort: implement the virtual recvTiming function to avoid double pkt delete
Joel Hestness [Mon, 7 Feb 2011 06:14:17 +0000 (22:14 -0800)]
MessagePort: implement the virtual recvTiming function to avoid double pkt delete

Double packet delete problem is due to an interrupt device deleting a packet that the SimpleTimingPort also deletes. Since MessagePort descends from SimpleTimingPort, simply reimplement the failing code from SimpleTimingPort: recvTiming.

13 years agoMOESI_hammer: trigge queue fix.
Joel Hestness [Mon, 7 Feb 2011 06:14:17 +0000 (22:14 -0800)]
MOESI_hammer: trigge queue fix.

13 years agomcpat: Adds McPAT performance counters
Joel Hestness [Mon, 7 Feb 2011 06:14:17 +0000 (22:14 -0800)]
mcpat: Adds McPAT performance counters

Updated patches from Rick Strong's set that modify performance counters for
McPAT

13 years agogarnet: added orion2.0 for network power calculation
Tushar Krishna [Mon, 7 Feb 2011 06:14:17 +0000 (22:14 -0800)]
garnet: added orion2.0 for network power calculation

13 years agogarnet: separate data and ctrl VCs
Tushar Krishna [Mon, 7 Feb 2011 06:14:16 +0000 (22:14 -0800)]
garnet: separate data and ctrl VCs

Separate data VCs and ctrl VCs in garnet, as ctrl VCs have 1 buffer per VC,
while data VCs have > 1 buffers per VC. This is for correct power estimations.

13 years agox86: set IsCondControl flag for the appropriate microops
Brad Beckmann [Mon, 7 Feb 2011 06:14:16 +0000 (22:14 -0800)]
x86: set IsCondControl flag for the appropriate microops

13 years agoX86: Add o3 regressions in SE mode.
Gabe Black [Sat, 5 Feb 2011 08:16:09 +0000 (00:16 -0800)]
X86: Add o3 regressions in SE mode.

Exclude bzip2 for now. It works, it just takes too long to run.

13 years agoX86: Update ruby stats for stupd change.
Gabe Black [Fri, 4 Feb 2011 11:47:23 +0000 (03:47 -0800)]
X86: Update ruby stats for stupd change.

13 years agoFault: Forgot to refresh to grab these header guard updates.
Gabe Black [Fri, 4 Feb 2011 06:07:34 +0000 (22:07 -0800)]
Fault: Forgot to refresh to grab these header guard updates.

13 years agoimported patch regression_updates
Korey Sewell [Fri, 4 Feb 2011 05:09:22 +0000 (00:09 -0500)]
imported patch regression_updates