78e5406f19
Stub implementation for x86.
Gabe Black
2007-03-05 16:09:09 +00:00
05ba90b726
Stub implementation for x86
Gabe Black
2007-03-05 16:08:18 +00:00
58d30df676
Added fault generation functions. I would still like to see these go away. The page table fault should be moved into sim/faults.hh because it's a "fake" m5 fault for se mode and shouldn't vary between architectures.
Gabe Black
2007-03-05 16:07:01 +00:00
c7ab9f5bb2
Added an x86 dyninst
Gabe Black
2007-03-05 14:55:45 +00:00
7730af9503
Added stub implementations or prototypes for all the functions in this file.
Gabe Black
2007-03-05 14:55:09 +00:00
b2d356a6b2
Added in a missing include.
Gabe Black
2007-03-05 14:53:51 +00:00
7ed7d6e80d
Filled in a stub header file for setting the result of a syscall.
Gabe Black
2007-03-05 14:53:15 +00:00
43b8f51bb8
Filled in a stub header file for a stacktrace object. I'm still not sure what this is for, and it probably doesn't work on anything but Alpha.
Gabe Black
2007-03-05 14:52:28 +00:00
2e6cf12963
Filled in a stub header file for remote gdb
Gabe Black
2007-03-05 14:51:21 +00:00
aa5f42b10d
Correct a typo
Gabe Black
2007-03-05 14:50:33 +00:00
0e9db1a2e5
Make the constructor (and all the other functions) public
Gabe Black
2007-03-05 14:49:52 +00:00
b832e6740f
Various touch ups
Gabe Black
2007-03-05 14:49:07 +00:00
ecc1066f43
Added a missing include.
Gabe Black
2007-03-05 14:48:18 +00:00
ec8b49cc5f
Added a missing include.
Gabe Black
2007-03-05 14:47:42 +00:00
8a33c8dce4
Fix up the remote gdb include gaurds so it doesn't use the same symbol as Alpha does.
Gabe Black
2007-03-05 14:46:49 +00:00
30e700600c
x86 register file includes.
Gabe Black
2007-03-05 12:23:14 +00:00
b9b29525a6
Include the x86 specific traits file.
Gabe Black
2007-03-05 12:21:20 +00:00
9e93feea10
Stub x86 Fault class which just panics.
Gabe Black
2007-03-05 12:20:34 +00:00
385eb586ce
A new file for x86 specific parameters. This could be implemented as a sim object?
Gabe Black
2007-03-05 12:19:54 +00:00
be29612fbe
Add in a declaration of class Checkpoint rather than expecting it to come from some other include.
Gabe Black
2007-03-05 12:19:11 +00:00
6a19b64de2
Merge zizzer.eecs.umich.edu:/bk/newmem into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86
Gabe Black
2007-03-05 11:00:44 +00:00
ba042842c6
Don't use the exact same name as a system header #define
Nathan Binkert
2007-03-04 19:26:49 -08:00
a81143f06a
add a sparc fs regression
Ali Saidi
2007-03-03 22:45:26 -05:00
82874eefca
Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem
Ali Saidi
2007-03-03 19:03:22 -05:00
1694c65ba1
Add Iob and remove the fake device
Ali Saidi
2007-03-03 19:02:31 -05:00
36f43ff6a5
Implement Niagara I/O interface and rework interrupts
Ali Saidi
2007-03-03 17:22:47 -05:00
61178c8de2
include signal.h
Nathan Binkert
2007-03-03 12:26:14 -05:00
5498d52985
Filled in with basic x86 stuff. Some things are missing, wrong, or nonsensical for x86.
Gabe Black
2007-03-03 17:19:52 +00:00
0150515ac3
Filled in with basic x86 information. Some things are missing, wrong, or non-sensical in x86.
Gabe Black
2007-03-03 17:18:29 +00:00
10871b7342
Add build hooks for x86.
Gabe Black
2007-03-03 16:01:48 +00:00
e78bcd94a0
Merge zizzer.eecs.umich.edu:/bk/newmem into iceaxe.int.chaotic.net:/Users/nate/work/m5/outgoing
Nathan Binkert
2007-03-03 07:47:00 -08:00
53f5fda5de
Do the default argument stuff in python
Nathan Binkert
2007-03-03 07:45:55 -08:00
68ad153309
Merge zizzer.eecs.umich.edu:/bk/newmem into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-sparc32
Gabe Black
2007-03-03 06:24:01 +00:00
ffe6bebb05
Factor code out of main.cc and main.i into a bunch of files so things are organized in a more sensible manner. Take apart finalInit and expose the individual functions which are now called from python. Make checkpointing a bit easier to use.
Nathan Binkert
2007-03-02 22:24:00 -08:00
23dc5099a4
Implement the _llseek syscall. It's Linux only, so we'll actually use the lseek syscall.
Gabe Black
2007-03-03 03:34:55 +00:00
477afcaf5b
Fix some issues with 32 bit processes.
Gabe Black
2007-03-03 03:34:54 +00:00
4b4b46ea90
Keep around which input set was used for a benchmark, and make vortex work with SPARC.
Gabe Black
2007-03-03 03:34:53 +00:00
94133657a1
Merge zizzer.eecs.umich.edu:/bk/newmem into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem
Gabe Black
2007-03-03 03:34:52 +00:00
4e8d2d1593
make ldtw(a) -- Twin 32 bit load work correctly -- by doing it the same way as the twin 64 bit loads
Ali Saidi
2007-03-02 22:34:51 -05:00
d8ada247f4
Forgot to commit this new file last earlier.
Gabe Black
2007-03-02 14:43:27 +00:00
ececf101c7
Make the m5 psuedo instructions use the BasicOperate format
Gabe Black
2007-02-28 16:49:17 +00:00
eb57b4f214
Merge zizzer.eecs.umich.edu:/bk/newmem into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-sparc32
Gabe Black
2007-02-28 16:39:42 +00:00
29e5df890d
Make trap instructions always generate TrapInstruction Fault objects which call into the Process object to handle system calls. Refactored the Process objects, and move the handler code into it's own file, and add some syscalls which are used in a natively compiled hello world. Software traps with trap number 3 (not syscall number 3) are supposed to cause the register windows to be flushed but are ignored right now. Finally, made uname for SPARC report a 2.6.12 kernel which is what m22-018.pool happens to be running.
Gabe Black
2007-02-28 16:36:38 +00:00
99948060b2
The "hostname" variable isn't used in the process classes. It should be removed from the other ones as well.
Gabe Black
2007-02-28 16:29:25 +00:00
dc8cc8de3d
Fix issue with twolf where the presence or absence of two files, smred.sav or smred.sv2, would affect the outcome of the program. These names are based on the input file names which are in turn based on the input set selected. There may be more files like this generated for larger input sets, for example "mdred.sv3"
Gabe Black
2007-02-27 10:37:48 +00:00
a86ad3a512
Merge zizzer.eecs.umich.edu:/bk/newmem into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem
Gabe Black
2007-02-26 10:34:45 +00:00
f892608ff7
Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem
Ali Saidi
2007-02-24 22:10:06 -05:00
cf0e202cba
make m5 readfile work on solaris... we can have a solaris regression soon!
Ali Saidi
2007-02-24 22:05:01 -05:00
c0c3a3f491
Merge zizzer.eecs.umich.edu:/bk/newmem into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem
Gabe Black
2007-02-23 12:54:07 +00:00
6ae4cae971
Ali and I both made the same change and we only need it once. I liked mine a little better.
Gabe Black
2007-02-23 01:05:34 +00:00
187cc99e4e
Merge zizzer.eecs.umich.edu:/bk/newmem into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-sparc32
Gabe Black
2007-02-23 01:05:33 +00:00
a5b73a6e33
Merge zizzer:/bk/newmem into pb15.local:/Users/ali/work/m5.newmem
Ali Saidi
2007-02-22 20:05:32 -05:00
341a1eed6c
Merge zizzer.eecs.umich.edu:/bk/newmem into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-sparc32
Gabe Black
2007-02-22 13:18:23 +00:00
34b4722aee
Make the m5 pseudo instructions only work in FS. Also, make sure any undefined opcodes in impdep2 (which in SE is all of them) trap with an illegal_instruction exception.
Gabe Black
2007-02-22 13:17:51 +00:00
c003dda793
Make it easier to turn off the remote debugger
Nathan Binkert
2007-02-21 22:25:48 -08:00
b750d6a597
Merge zizzer:/bk/newmem into pb15.local:/Users/ali/work/m5.newmem
Ali Saidi
2007-02-22 01:15:16 -05:00
fa4c3d74fe
Get rid of the ConsoleListener SimObject and just fold the relevant code directly into the SimConsole object. Now, you can easily turn off the listen port by just specifying 0 as the port.
Nathan Binkert
2007-02-21 22:14:11 -08:00
63fef6b011
fix se compiling oops
Ali Saidi
2007-02-22 01:11:04 -05:00
783e642ed8
Make sure that all variables in the NSGigE device model are initialized.
Nathan Binkert
2007-02-21 20:45:05 -08:00
8e77d771f9
Make comments refer to ticks not cycles
Nathan Binkert
2007-02-21 20:35:30 -08:00
f01f8f1be6
Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem
Ali Saidi
2007-02-21 21:06:29 -05:00
7a2ecf9e26
add pseduo instruction support for sparc
Ali Saidi
2007-02-21 21:06:17 -05:00
06ae2d0445
Fix compile issues on gcc 4.1.x related to namespaces. This basically involves moving the builder code outside of any namespace. While we're at it, move a few braces outside of a couple #if/#else/#endif blocks so it's easier to match up the braces.
Nathan Binkert
2007-02-21 16:42:16 -08:00
2a67f2b08c
Fix tracing so it starts right away if --trace-start is not specified.
Nathan Binkert
2007-02-21 14:08:13 -08:00
f8ffc84d0b
Merge zizzer.eecs.umich.edu:/bk/newmem into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem
Gabe Black
2007-02-21 18:30:52 +00:00
a329631edb
Automatically generate m5/internal/__init__.py and swig/init.cc based on the swig modules that we have
Nathan Binkert
2007-02-21 10:30:51 -08:00
3fb3616be4
Fix majory brokenness in my previous MySQL commit, basically this is just a shuffling around of code and fixes to make stuff commit properly
Nathan Binkert
2007-02-21 10:15:17 -08:00
5000c4d878
#include needed for compile
Nathan Binkert
2007-02-21 10:13:10 -08:00
3afbf306f4
Merge zizzer.eecs.umich.edu:/bk/newmem into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem
Gabe Black
2007-02-21 00:38:11 +00:00
7ae834446d
Update 50.vortex simple-timing for 8k blk_size
Gabe Black
2007-02-21 00:25:50 +00:00
fb7169848c
Update 50.vortex simple-atomic for 8k blk_size
Gabe Black
2007-02-21 00:24:45 +00:00
4674fce113
Update 40.perlbmk simple-timing for 8k blk_size
Gabe Black
2007-02-21 00:23:52 +00:00
e574b42d9c
Update 40.perlbmk simple-atomic for 8k blk_size
Gabe Black
2007-02-21 00:23:02 +00:00
3d4fe3f459
Update 30.eon simple-timing for 8k blk_size. It's strange this is necessary because simple-atomic doesn't seem affected.
Gabe Black
2007-02-21 00:21:43 +00:00
9062525c23
Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem
Ali Saidi
2007-02-18 19:57:58 -05:00
bd367d4825
implement vtophys and 32bit gdb support
Ali Saidi
2007-02-18 19:57:46 -05:00
4e7f8c0885
Get rid of the stand alone ParamContext since all of the relevant stuff has now been moved to python.
Nathan Binkert
2007-02-18 09:31:25 -08:00
ee93b48314
Get rid of the Serialize and IntervalStats Param contexts since they're no longer used
Nathan Binkert
2007-02-18 09:08:32 -08:00
80b4347d87
The trace_mem function is really part of the encumbered FullCPU
Nathan Binkert
2007-02-18 08:50:21 -08:00
e94103397c
Get rid of the Statistics and Statreset ParamContexts, and expose all of the relevant functionality to python. Clean up the mysql code while we're at it.
Nathan Binkert
2007-02-17 22:52:32 -08:00
01f32efa4b
Check that there is a param context list before trying to loop through it. This is more important as we get rid of param contexts
Nathan Binkert
2007-02-17 22:36:39 -08:00
a41f17b40e
Remove the event_ignore stuff since it was never really used
Nathan Binkert
2007-02-17 22:11:21 -08:00
8c1c68a31e
Give the progress event its own priority
Nathan Binkert
2007-02-17 22:07:50 -08:00
08f024d3ff
Default to tracing being disabled in C++, it will be turned on in python. Fix the trace start code so it actually starts when it is suppsed to. Make the Exec tracing stuff obey the trace enabled flag.
Nathan Binkert
2007-02-17 20:32:39 -08:00
18e245ad0b
Pass an exception from a python event through the event queue back into python so we don't just silently ignore those errors
Nathan Binkert
2007-02-17 20:27:11 -08:00
3cb2686828
Update for 8k block size.
Gabe Black
2007-02-17 20:35:00 -05:00
7a94f612a0
Update reference outputs because twolf was really fixed.
Gabe Black
2007-02-17 04:38:13 -05:00
b2fd2a813d
Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem
Ali Saidi
2007-02-15 15:24:19 -05:00
e8cd54e805
fixup remote gdb support for sparc fs
Ali Saidi
2007-02-15 15:24:08 -05:00
6bc3e601a6
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/newmem into zizzer.eecs.umich.edu:/.automount/wexford/x/gblack/m5/newmem
Gabe Black
2007-02-14 15:45:29 -05:00
d94a3c7b1e
Reference outputs fixed to reflect branch mispredict change and 8k io buffers.
Gabe Black
2007-02-14 13:05:20 -05:00
276e52cdec
Force the st_blksize field of a stat call to be 8k.
Gabe Black
2007-02-14 12:58:28 -05:00
e3dcbc94f7
Make mulitple consoles work and be distinguishable from each other
Ali Saidi
2007-02-13 15:58:06 -05:00
dc7ef3d489
Get rid of the MemoryTrace context since it is unused
Nathan Binkert
2007-02-13 09:51:11 -08:00
cce3356156
get rid of the ExeTrace.py file since we no longer use it
Nathan Binkert
2007-02-13 09:39:35 -08:00
f55fd68f88
Update MIPS ISA description to work with new write result interface for store conditional.
Steve Reinhardt
2007-02-13 08:09:09 -08:00
ca5cd68df4
fix compiling problems
Ali Saidi
2007-02-13 10:07:50 -05:00
d8c7ebf904
Merge all of the execution trace configuration stuff into the traceflags infrastructure. InstExec is now just Exec and all of the command line options are now trace options.
Nathan Binkert
2007-02-13 00:59:01 -08:00
d7c1436a44
Rearrange traceflags.py so that the file generation only happens if the script is invoked as main. This allows us to import traceflags.py if we just want the list of available flags. Embed traceflags.py into the zipfile so it can be accessed from the python side of things. With this, print an error on invalid flags and add --trace-help option that will print out the list of trace flags that are compiled in. If a flag is prefixed with a '-', now that flag will be disabled.
Nathan Binkert
2007-02-13 00:16:41 -08:00
f72a999393
some forgotten commits
Ali Saidi
2007-02-12 18:40:08 -05:00