summaryrefslogtreecommitdiff
path: root/src/arch/x86/process.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-08-01 17:05:03 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-08-01 17:05:03 -0400
commit84cd78e96f892f52a715cfe10d9405987f5e9ba1 (patch)
treec05182e8f40fcbefbd1e26d16006ab4c1674a1b4 /src/arch/x86/process.cc
parentfae60c164e284864cfabea515db6ba28d601b71d (diff)
parent239d124e8339b254495df45df89fc249ae217d73 (diff)
downloadgem5-84cd78e96f892f52a715cfe10d9405987f5e9ba1.tar.xz
Merge Gabe and my changes to arch/mips/utility.hh
--HG-- extra : convert_revision : d5a9d74ee6edf71524ba5c03fb7f054cf9722213
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);