18ba0f8548
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5 into zizzer.eecs.umich.edu:/z/stever/bk/newmem-head
Steve Reinhardt
2006-03-12 01:07:58 -05:00
918b3f59c2
Get rid of obsolete header that had only one declaration of an obsolete function that doesn't exist.
Steve Reinhardt
2006-03-12 01:05:01 -05:00
38dd86ce72
Fix TranslatingPort access functions to: - know nothing about Fault objects (as it should be) - call fatal() by default on accesses to unmapped addrs - provide "try" versions for callers that are prepared to handle failure
Steve Reinhardt
2006-03-12 00:40:29 -05:00
1f5266e79d
Minor fix to fault message in SimpleCPU.
Steve Reinhardt
2006-03-12 00:34:02 -05:00
5ac98a7ec1
Fix EIO handling for new memory system.
Steve Reinhardt
2006-03-12 00:30:55 -05:00
acd169fa94
Tweak exit() message.
Steve Reinhardt
2006-03-11 22:02:34 -05:00
1141610a01
Bump up NFS wait time in qdo (since this has been causing problems in pool regressions).
Steve Reinhardt
2006-03-11 22:01:33 -05:00
0cbb43ebb1
Added registerfile.hh and utility.hh
Gabe Black
2006-03-11 14:26:34 -05:00
3ed62ad025
Work towards factoring isa_traits.hh into smaller, more specialized files.
Gabe Black
2006-03-10 19:11:27 -05:00
e3651fde0b
Moved MaxAddr.
Gabe Black
2006-03-10 18:26:12 -05:00
731ea068ab
Got rid of some dead code.
Gabe Black
2006-03-10 18:20:14 -05:00
008bca4cad
Moved some constants into constants.hh
Gabe Black
2006-03-10 18:18:18 -05:00
ed058c4e89
Got rid of unnecessary fault_addr function.
Gabe Black
2006-03-10 18:03:00 -05:00
b6b244eb31
Got rid of forward declaration of RegFile and MiscRegFile, since they aren't necessary anymore.
Gabe Black
2006-03-10 18:00:25 -05:00
22ee0e5734
Pushed the InternalProcReg type into the MiscRegFile, so it's not needed here any more.
Gabe Black
2006-03-10 17:57:44 -05:00
2ee6e7ab5f
Added ev5.hh to files which should include it directly, now that it isn't included within isa_traits.hh
Gabe Black
2006-03-10 17:56:41 -05:00
03f9716a0a
Moved constants from isa_traits.hh into constants.hh.
Gabe Black
2006-03-10 17:55:47 -05:00
2952ea7c82
Merge m5.eecs.umich.edu:/bk/newmem into ewok.(none):/home/gblack/m5/newmem
Gabe Black
2006-03-10 17:01:58 -05:00
5ba4c8e96e
It now runs hello world binary.
Ron Dreslinski
2006-03-10 16:59:02 -05:00
d07115f972
Add getMemPort to exec context proxy
Ron Dreslinski
2006-03-10 16:51:52 -05:00
72d870c60f
Put the InternalProcReg type into the MiscRegFile, which is the only place it's used.
Gabe Black
2006-03-10 16:47:00 -05:00
523420baf0
Split out basic types from isa_traits.hh into a new file, types.hh
Gabe Black
2006-03-10 16:37:22 -05:00
68d7382cf3
Eliminated TARGET_ALPHA, since THE_ISA provides the same function.
Gabe Black
2006-03-10 16:26:31 -05:00
9ca03a2183
Wrapped setSysCallReturn in !FULL_SYSTEM.
Gabe Black
2006-03-10 15:12:46 -05:00
e3d96aa889
Compiles now (with CPU_MODELS=SimpleCPU), but hangs on execution.
Steve Reinhardt
2006-03-10 10:01:29 -05:00
f102365bfe
SimpleCPU compiles with merge.
Gabe Black
2006-03-09 19:21:35 -05:00
872bbdfc33
Hand merge. Stuff probably doesn't compile.
Gabe Black
2006-03-09 18:35:28 -05:00
7b283dbc09
fix merging issues
Ali Saidi
2006-03-09 16:17:10 -05:00
56cc760f6f
Merge zizzer:/bk/multiarch into zeep.eecs.umich.edu:/z/saidi/work/m5.ma2
Ali Saidi
2006-03-09 15:56:42 -05:00
ce3a6343b6
no more common syscall emulation, now common for everyone check abi-tag note section of elf binary for OS add pseudo functions (moved from alpha and made to be generic) move setsyscallreturn into isa traits
Ali Saidi
2006-03-09 15:42:09 -05:00
91545ac2bf
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5 into zizzer.eecs.umich.edu:/z/m5/Bitkeeper/multiarch
Gabe Black
2006-03-09 15:15:55 -05:00
e30bce8f8e
Use functions to access XC.
Kevin Lim
2006-03-09 15:10:55 -05:00
a3aae21d03
last changes before big merge
Korey Sewell
2006-03-09 03:27:51 -05:00
9e304ed3e6
minor comments to decoder.isa
Korey Sewell
2006-03-09 02:34:12 -05:00
226d49ef69
Merge zizzer:/bk/multiarch into zazzer.eecs.umich.edu:/z/ksewell/research/m5-sim/multiarch-m5
Korey Sewell
2006-03-08 16:54:08 -05:00
5a0fd8d9da
add explicit support for nop,ssnop, and ehb instructions
Korey Sewell
2006-03-08 16:53:44 -05:00
77e40756b7
Include ability to copy all misc regs.
Kevin Lim
2006-03-08 15:10:47 -05:00
67732a7b28
Merge ktlim@zizzer:/bk/m5 into zamp.eecs.umich.edu:/z/ktlim2/m5-proxyxc
Kevin Lim
2006-03-08 13:26:30 -05:00
4d44e53736
Forward declaration of MemoryController.
Kevin Lim
2006-03-08 11:34:41 -05:00
0df85fd8d8
Merge gblack@m5.eecs.umich.edu:/bk/multiarch into ewok.(none):/home/gblack/m5/multiarch
Gabe Black
2006-03-08 08:09:45 -05:00
3b7d756907
Working towards compiling SPARC_SE
Gabe Black
2006-03-08 08:09:27 -05:00
20e9a90edc
updated MIPS ISA files .... all files should be able to compile/build with MIPS option except isa_traits.* which I need to update the misc. regfile accesses
Korey Sewell
2006-03-08 02:05:38 -05:00
dd1e1484ee
Use getProxy() instead of xcProxy; avoids confusion of where xcProxy must be set.
Kevin Lim
2006-03-07 23:44:30 -05:00
b563833075
Needs forward declaration of MemoryController.
Kevin Lim
2006-03-07 22:56:12 -05:00
556d069e77
Fixes for accesses to the misc regs.
Kevin Lim
2006-03-07 22:24:37 -05:00
6a42e3653f
Avoid accessing objects directly within the XC.
Kevin Lim
2006-03-07 22:23:14 -05:00
7712232e55
Fixes to allow the ExecContext to be used for profiling.
Kevin Lim
2006-03-07 22:21:39 -05:00
97c4a84985
Merge ktlim@zizzer:/bk/m5 into zamp.eecs.umich.edu:/z/ktlim2/m5-proxyxc
Kevin Lim
2006-03-07 20:01:34 -05:00
11aead894d
Updates for the quiesceEvent that was added to the XC.
Kevin Lim
2006-03-07 19:59:12 -05:00
b5f65c36c7
Corrected a mispelling of "unimplemented".
Gabe Black
2006-03-07 14:34:11 -05:00
8106a80450
Pushed ev5.hh out of the non-alpha code.
Gabe Black
2006-03-07 14:08:01 -05:00
cd62fed1a7
The a.out and ecoff object file formats will only be supported on Alpha for now.
Gabe Black
2006-03-07 09:34:24 -05:00
531216e9f3
Got rid of some commented out code.
Gabe Black
2006-03-07 09:11:00 -05:00
b0eeb15d72
Fixed up some issues to be more compilable.
Gabe Black
2006-03-07 07:34:43 -05:00
ab67095b2a
Merge gblack@m5.eecs.umich.edu:/bk/multiarch into ewok.(none):/home/gblack/m5/multiarch
Gabe Black
2006-03-07 04:42:06 -05:00
5aa0669b52
Changed the include paths to take advantage of the os specific directories.
Gabe Black
2006-03-07 04:34:21 -05:00
547999eb1f
Clean up of the SPARC isa_traits. This still doesn't compile, but it's closer.
Gabe Black
2006-03-07 04:33:40 -05:00
9e43f70ac2
Clean up of the SPARC isa description.
Gabe Black
2006-03-07 04:33:10 -05:00
d4b246b3e9
Implemented SPARC fault classes.
Gabe Black
2006-03-07 04:32:34 -05:00
b511128507
Some clean up work with faults.
Gabe Black
2006-03-07 04:31:38 -05:00
b7ebc2d97f
Moved where some alpha specific source files were mentioned to be in the alpha specific Sconscript, and took advantage of the os specific directories for the process files.
Gabe Black
2006-03-07 04:25:42 -05:00
fd69f40e20
Rename default options path from "build_options/default" to "default_options", and current options path from "build_options/current" to "options". This way we can symlink default_options to a different build dir w/o clobbering the current options.
Steve Reinhardt
2006-03-07 02:11:11 -05:00
20eced3ea0
Merge ktlim@zizzer:/bk/m5 into zamp.eecs.umich.edu:/z/ktlim2/m5-proxyxc
Kevin Lim
2006-03-05 00:34:54 -05:00
9358681756
Remove call to swap_palshadow that is no longer needed.
Kevin Lim
2006-03-05 00:13:32 -05:00
5d67efd217
Merge ktlim@zizzer:/bk/m5 into zamp.eecs.umich.edu:/z/ktlim2/m5-shadowregs
Kevin Lim
2006-03-04 23:37:45 -05:00
bc619f37ae
Merge gblack@m5.eecs.umich.edu:/bk/multiarch into ewok.(none):/home/gblack/m5/multiarch
Gabe Black
2006-03-04 22:32:13 -05:00
ebd28075ab
Changed targetarch to arch
Gabe Black
2006-03-04 22:30:09 -05:00
57e051d1a5
Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5.head
Ali Saidi
2006-03-04 21:17:24 -05:00
d2ee20073b
Emulated syscalls should return -errno on failure (not plain errno). Thanks to Jos Delbar.
Steve Reinhardt
2006-03-04 21:06:40 -05:00
f7e6bfbe78
Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5.head
Ali Saidi
2006-03-04 20:45:13 -05:00
d01a593433
move alpha specific code into arch/alpha System -> AlphaSystem
Ali Saidi
2006-03-04 20:45:01 -05:00
7ded9532d5
Merge ktlim@zizzer:/bk/m5 into zizzer.eecs.umich.edu:/.automount/zamp/z/ktlim2/m5-shadowregs
Kevin Lim
2006-03-04 15:23:06 -05:00
f15e492375
Steps towards setting up the infrastructure to allow the new CPU model to work in full system mode.
Kevin Lim
2006-03-04 15:18:40 -05:00
41b8b41b9c
properly align the uid and size fields in the pre_F54_stat structure. Patch from Jos Delbar, modified to use variable attributes.
Ali Saidi
2006-03-04 15:15:47 -05:00
5790e295a9
Merge ktlim@zizzer:/bk/m5 into zamp.eecs.umich.edu:/z/ktlim2/m5-shadowregs
Kevin Lim
2006-03-04 13:06:24 -05:00
1e071c9f5f
we REALLY don't want to use system headers for libelf... use "" not <>
Ali Saidi
2006-03-04 12:35:13 -05:00
1e3b221fe3
Merge gblack@m5.eecs.umich.edu:/bk/multiarch into ewok.(none):/home/gblack/m5/multiarch
Gabe Black
2006-03-04 03:19:58 -05:00
62d149d9be
General small SPARC fixups
Gabe Black
2006-03-04 03:16:16 -05:00
890eb2432d
Removed the commented out declaration of the Addr type.
Gabe Black
2006-03-04 03:10:34 -05:00
7c4c623302
Filled out the object file loader so it can load object files for several OSs and architectures.
Gabe Black
2006-03-04 03:09:23 -05:00
fc664f7ca6
Merge ktlim@zizzer:/bk/m5 into zamp.eecs.umich.edu:/z/ktlim2/m5-shadowregs
Kevin Lim
2006-03-03 16:04:34 -05:00
14b6cd39aa
Remove intr_post function. No longer being used.
Kevin Lim
2006-03-03 15:41:57 -05:00
e7825aab59
Changes to support automatic renaming of the shadow registers at decode time. This requires using an ExtMachInst (uint64_t) instead of the normal MachInst; the ExtMachInst is packed with extra decode context information. In the case of Alpha, the PAL mode is included.
Kevin Lim
2006-03-03 15:28:25 -05:00
9ad9178587
Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5.head
Ali Saidi
2006-03-03 14:25:26 -05:00
0bf25c5953
First cut at moving alpha specefic stuff out of /sim/system* into arch/alpha/system*.
Ali Saidi
2006-03-03 14:24:15 -05:00
7546fabe68
Ethernet devices have an RSS option to tell the driver to use Receive side scaling
Nathan Binkert
2006-03-03 14:17:48 -05:00
dd0d8e6287
Merge gblack@m5.eecs.umich.edu:/bk/multiarch into ewok.(none):/home/gblack/m5/multiarch
Gabe Black
2006-03-02 21:44:43 -05:00
0fed64a6a4
Fix fault handling, dereferincing a null pointer is bad.
Ali Saidi
2006-03-02 17:49:12 -05:00
3adb45144a
Fix memory allocation error in Port::memsetBlobFunctional.
Steve Reinhardt
2006-03-02 11:30:25 -05:00
e7f442d527
Simple program runs with sendAtomic! Ignoring returned latency for now. Refactored loadSections in ObjectFile hierarchy.
Steve Reinhardt
2006-03-02 10:31:48 -05:00
0c2c7171a8
More progress... run a few instructions now, but die on the second memory access (I think because we're deallocating our one and only CpuRequest object).
Steve Reinhardt
2006-03-02 01:01:03 -05:00
6b7d627903
Got rid of the multiple inheritance in the Fault classes, and the base MachineCheck and Alignment faults.
Gabe Black
2006-03-01 19:03:42 -05:00
22504f8b48
More progress toward actually running a program. See configs/test.py for test config (using simple binary in my home directory on zizzer).
Steve Reinhardt
2006-03-01 18:45:50 -05:00
1624d9e545
Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5.q
Ali Saidi
2006-03-01 12:43:04 -05:00
b71f9c801e
Begain setting up syscall emulation for sparc linux.
Gabe Black
2006-03-01 05:28:26 -05:00
2eff368dd0
Cleaned up some of the Fault system.
Gabe Black
2006-03-01 05:26:08 -05:00
1cfc277424
Removed the targetarch code.
Gabe Black
2006-03-01 05:21:16 -05:00
d21e037fb8
Made sparc copies of some architecture specific files.
Gabe Black
2006-03-01 05:20:47 -05:00
e08cf8fee0
Changed the name of the fault's invocation method from ev5_trap to invoke.
Gabe Black
2006-03-01 01:23:10 -05:00