summaryrefslogtreecommitdiff
path: root/arch/alpha/arguments.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2003-10-13 16:09:33 -0400
committerNathan Binkert <binkertn@umich.edu>2003-10-13 16:09:33 -0400
commit60a7bd950b4c3a2b9bffed92f14fdd50f566222c (patch)
tree720c4032298c08e94a9fcd4b7aafc98dd947f626 /arch/alpha/arguments.hh
parentb177f696ff10473d6421af90d740254d523c5f7e (diff)
downloadgem5-60a7bd950b4c3a2b9bffed92f14fdd50f566222c.tar.xz
CopyData and CopyString moved from kernel.cc to vtophys.cc
kernel.cc and kernel.hh moved to kern/tru64 --HG-- extra : convert_revision : 1b9123af03960b602a2d52dfa7b714280f9995aa
Diffstat (limited to 'arch/alpha/arguments.hh')
-rw-r--r--arch/alpha/arguments.hh7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/alpha/arguments.hh b/arch/alpha/arguments.hh
index 69c69d0d7..9ac744e17 100644
--- a/arch/alpha/arguments.hh
+++ b/arch/alpha/arguments.hh
@@ -32,8 +32,9 @@
#include <assert.h>
#include "sim/host.hh"
-#include "targetarch/kernel.hh"
+#include "kern/tru64/kernel.hh"
#include "base/refcnt.hh"
+#include "targetarch/vtophys.hh"
class ExecContext;
@@ -129,13 +130,13 @@ class AlphaArguments
template <class T>
operator T *() {
T *buf = (T *)data->alloc(sizeof(T));
- Kernel::CopyData(xc, buf, getArg(), sizeof(T));
+ CopyData(xc, buf, getArg(), sizeof(T));
return buf;
}
operator char *() {
char *buf = data->alloc(2048);
- Kernel::CopyString(xc, buf, getArg(), 2048);
+ CopyString(xc, buf, getArg(), 2048);
return buf;
}
};