diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-03-06 15:42:30 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-03-06 15:42:30 +0000 |
commit | 05c86ec0d7662ccefc5690a4445fcf2976d16622 (patch) | |
tree | 68c7f97031df1bdd890c49ec5d564118c65be947 /src/arch/x86/miscregfile.cc | |
parent | f800fddcea850822efee031b9b904280639da4c6 (diff) | |
download | gem5-05c86ec0d7662ccefc5690a4445fcf2976d16622.tar.xz |
Get X86 to load an elf and start a process for it.
src/arch/x86/SConscript:
Add in process source files.
src/arch/x86/isa_traits.hh:
Replace magic constant numbers with the x86 register names.
src/arch/x86/miscregfile.cc:
Make clear the miscreg file succeed. There aren't any misc regs, so clearing them is very easy.
src/arch/x86/process.hh:
An X86 process class.
src/base/loader/elf_object.cc:
Add in code to recognize x86 as an architecture.
src/base/traceflags.py:
Add an x86 traceflag
src/sim/process.cc:
Add in code to create an x86 process.
src/arch/x86/intregs.hh:
A file which declares names for the integer register indices.
src/arch/x86/linux/linux.cc:
src/arch/x86/linux/linux.hh:
A very simple translation of SPARC's linux.cc and linux.hh. It's probably not correct for x86, but it might not be correct for SPARC either.
src/arch/x86/linux/process.cc:
src/arch/x86/linux/process.hh:
An x86 linux process. The syscall table is split out into it's own file.
src/arch/x86/linux/syscalls.cc:
The x86 Linux syscall table and the uname function.
src/arch/x86/process.cc:
The x86 process base class.
tests/test-progs/hello/bin/x86/linux/hello:
An x86 hello world test binary.
--HG--
extra : convert_revision : f22919e010c07aeaf5757dca054d9877a537fd08
Diffstat (limited to 'src/arch/x86/miscregfile.cc')
-rw-r--r-- | src/arch/x86/miscregfile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/miscregfile.cc b/src/arch/x86/miscregfile.cc index bfd3ded5d..3d645644f 100644 --- a/src/arch/x86/miscregfile.cc +++ b/src/arch/x86/miscregfile.cc @@ -100,7 +100,7 @@ string X86ISA::getMiscRegName(RegIndex index) void MiscRegFile::clear() { - panic("No misc registers in x86 yet!\n"); + //When there are actually misc regs implemented, this will clear them } MiscReg MiscRegFile::readReg(int miscReg) |