summaryrefslogtreecommitdiff
path: root/src/arch/x86/process.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-08-01 15:12:07 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-08-01 15:12:07 -0700
commit8da3e0548e76795f74af5ff8f4ffadf3d0b5191b (patch)
treefb80d3ba61318edbc1484c70f524133a64981618 /src/arch/x86/process.cc
parentc4c8a121863fcbde7ba67823f06a3f7564c27cba (diff)
parent84cd78e96f892f52a715cfe10d9405987f5e9ba1 (diff)
downloadgem5-8da3e0548e76795f74af5ff8f4ffadf3d0b5191b.tar.xz
Merge with head.
--HG-- extra : convert_revision : 444901221e9a0b991213fbcd555f2f5cca67e91b
Diffstat (limited to 'src/arch/x86/process.cc')
-rw-r--r--src/arch/x86/process.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc
index 036805612..17904cb33 100644
--- a/src/arch/x86/process.cc
+++ b/src/arch/x86/process.cc
@@ -412,11 +412,6 @@ X86LiveProcess::argsInit(int intSize, int pageSize)
initVirtMem->writeBlob(argc_base, (uint8_t*)&guestArgc, intSize);
- //Set up the thread context to start running the process
- //Because of the peculiarities of how syscall works, I believe
- //a process starts with r11 containing the value of eflags or maybe r11
- //from before the call to execve. Empirically this value is 0x200.
- threadContexts[0]->setIntReg(INTREG_R11, 0x200);
//Set the stack pointer register
threadContexts[0]->setIntReg(StackPointerReg, stack_min);