#include <assert.h>
-#include "host.hh"
-#include "kernel.hh"
-#include "refcnt.hh"
+#include "base/refcnt.hh"
+#include "sim/host.hh"
+#include "targetarch/vtophys.hh"
class ExecContext;
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;
}
};