summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-07-19 23:51:47 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-07-19 23:51:47 -0700
commitf0cb698a8744f19e1b3d87f690190c9defa0654f (patch)
treeeb8793ba3af7d8d1ddcc1c052d8b17c12c1346f3
parent563654275f7703245407da2406202f4e5cae96a8 (diff)
downloadgem5-f0cb698a8744f19e1b3d87f690190c9defa0654f.tar.xz
X86: Move a displaced comment back to where it goes.
-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.