summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorLisa Hsu <hsul@eecs.umich.edu>2008-12-05 12:11:46 -0500
committerLisa Hsu <hsul@eecs.umich.edu>2008-12-05 12:11:46 -0500
commit854aa60fdcec2a95d2c08844d62681b498281ca3 (patch)
tree773ef7b3acb7d6b1da8628217a0441fab9c45af2 /src/arch/x86
parentd6b229ea0f46de3a622ebb1ef86cb526625ebc2e (diff)
parentf1430941cf17fc15a8b86eba41f9c856ad9347d8 (diff)
downloadgem5-854aa60fdcec2a95d2c08844d62681b498281ca3.tar.xz
Automated merge with ssh://m5sim.org//repo/m5
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/process.cc9
-rw-r--r--src/arch/x86/process.hh16
2 files changed, 3 insertions, 22 deletions
diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc
index 52933b7f4..8d0cd5038 100644
--- a/src/arch/x86/process.cc
+++ b/src/arch/x86/process.cc
@@ -103,11 +103,6 @@
using namespace std;
using namespace X86ISA;
-M5_64_auxv_t::M5_64_auxv_t(int64_t type, int64_t val)
-{
- a_type = X86ISA::htog(type);
- a_val = X86ISA::htog(val);
-}
X86LiveProcess::X86LiveProcess(LiveProcessParams * params,
ObjectFile *objFile)
@@ -205,7 +200,9 @@ X86LiveProcess::startup()
void
X86LiveProcess::argsInit(int intSize, int pageSize)
{
- typedef M5_64_auxv_t auxv_t;
+ typedef M5_auxv_t<uint64_t> auxv_t;
+ std::vector<auxv_t> auxv;
+
Process::startup();
string filename;
diff --git a/src/arch/x86/process.hh b/src/arch/x86/process.hh
index 5def9e13d..d034d990e 100644
--- a/src/arch/x86/process.hh
+++ b/src/arch/x86/process.hh
@@ -64,26 +64,10 @@
namespace X86ISA
{
- struct M5_64_auxv_t
- {
- int64_t a_type;
- union {
- int64_t a_val;
- int64_t a_ptr;
- int64_t a_fcn;
- };
-
- M5_64_auxv_t()
- {}
-
- M5_64_auxv_t(int64_t type, int64_t val);
- };
class X86LiveProcess : public LiveProcess
{
protected:
- std::vector<M5_64_auxv_t> auxv;
-
X86LiveProcess(LiveProcessParams * params, ObjectFile *objFile);
void startup();