summaryrefslogtreecommitdiff
path: root/src/sim/process.cc
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/sim/process.cc
parentd6b229ea0f46de3a622ebb1ef86cb526625ebc2e (diff)
parentf1430941cf17fc15a8b86eba41f9c856ad9347d8 (diff)
downloadgem5-854aa60fdcec2a95d2c08844d62681b498281ca3.tar.xz
Automated merge with ssh://m5sim.org//repo/m5
Diffstat (limited to 'src/sim/process.cc')
-rw-r--r--src/sim/process.cc15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc
index dab374d84..244fb9297 100644
--- a/src/sim/process.cc
+++ b/src/sim/process.cc
@@ -86,6 +86,16 @@ using namespace TheISA;
// current number of allocated processes
int num_processes = 0;
+template<class IntType>
+M5_auxv_t<IntType>::M5_auxv_t(IntType type, IntType val)
+{
+ a_type = TheISA::htog(type);
+ a_val = TheISA::htog(val);
+}
+
+template class M5_auxv_t<uint32_t>;
+template class M5_auxv_t<uint64_t>;
+
Process::Process(ProcessParams * params)
: SimObject(params), system(params->system), checkpointRestored(false),
max_stack_size(params->max_stack_size)
@@ -658,11 +668,6 @@ LiveProcess::create(LiveProcessParams * params)
if (objFile->getArch() != ObjectFile::Alpha)
fatal("Object file architecture does not match compiled ISA (Alpha).");
- if (objFile->hasTLS())
- fatal("Object file has a TLS section and single threaded TLS is not\n"
- " currently supported for Alpha! Please recompile your "
- "executable with \n a non-TLS toolchain.\n");
-
switch (objFile->getOpSys()) {
case ObjectFile::Tru64:
process = new AlphaTru64Process(params, objFile);