summaryrefslogtreecommitdiff
path: root/src/arch/x86/process.cc
diff options
context:
space:
mode:
authorDerek Hower <drh5@cs.wisc.edu>2009-07-20 09:41:28 -0500
committerDerek Hower <drh5@cs.wisc.edu>2009-07-20 09:41:28 -0500
commit225de2eaff57bdf27d367531f25a654e4cd06fe6 (patch)
tree641e3e3e268359438d9dfcd07f0025d520dc870f /src/arch/x86/process.cc
parente59d0e3e89f46f35065ab318c8578941203cc657 (diff)
parent3e8e813218e7779a41bc12caae33db5e239506c9 (diff)
downloadgem5-225de2eaff57bdf27d367531f25a654e4cd06fe6.tar.xz
merge
Diffstat (limited to 'src/arch/x86/process.cc')
-rw-r--r--src/arch/x86/process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc
index 54c7c9121..3434ebd73 100644
--- a/src/arch/x86/process.cc
+++ b/src/arch/x86/process.cc
@@ -497,6 +497,7 @@ X86LiveProcess::argsInit(int pageSize,
//The system page size
auxv.push_back(auxv_t(M5_AT_PAGESZ, X86ISA::VMPageSize));
//Frequency at which times() increments
+ //Defined to be 100 in the kernel source.
auxv.push_back(auxv_t(M5_AT_CLKTCK, 100));
// For statically linked executables, this is the virtual address of the
// program header tables if they appear in the executable image
@@ -505,7 +506,6 @@ X86LiveProcess::argsInit(int pageSize,
auxv.push_back(auxv_t(M5_AT_PHENT, elfObject->programHeaderSize()));
// This is the number of program headers from the original elf file.
auxv.push_back(auxv_t(M5_AT_PHNUM, elfObject->programHeaderCount()));
- //Defined to be 100 in the kernel source.
//This is the address of the elf "interpreter", It should be set
//to 0 for regular executables. It should be something else
//(not sure what) for dynamic libraries.