summaryrefslogtreecommitdiff
path: root/kern/linux
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2004-10-22 22:49:12 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2004-10-22 22:49:12 -0400
commit0da150b2946466b7692c57f5d99caa7ce282c935 (patch)
tree8bbe4e467d806d87ffd8b77d1bee5eaca39785d5 /kern/linux
parente9acc88e360d56d28c9e4d3975e1053798a9c774 (diff)
downloadgem5-0da150b2946466b7692c57f5d99caa7ce282c935.tar.xz
Make targetarch directory in build tree and copy arch/alpha files to it
instead of using symlink. The symlink broke scons's built-in include dependency tacking. Interestingly once it was fixed scons discovered two circular dependency problems which are also fixed now. SConscript: Make targetarch directory in build tree and copy arch/alpha files to it instead of using symlink. The symlink broke scons's built-in include dependency tacking. arch/alpha/ev5.hh: Get rid of circular #include dependence. kern/kernel_stats.cc: Add needed header file. kern/linux/linux_syscalls.hh: kern/tru64/tru64_syscalls.hh: Replace targetarch/syscalls.hh with single template class declaration. --HG-- extra : convert_revision : b8551623c1d441c6eb8d0651387e97e373128814
Diffstat (limited to 'kern/linux')
-rw-r--r--kern/linux/linux_syscalls.hh7
1 files changed, 5 insertions, 2 deletions
diff --git a/kern/linux/linux_syscalls.hh b/kern/linux/linux_syscalls.hh
index a729431a0..dee7c5fcd 100644
--- a/kern/linux/linux_syscalls.hh
+++ b/kern/linux/linux_syscalls.hh
@@ -29,11 +29,14 @@
#ifndef __LINUX_SYSCALLS_HH__
#define __LINUX_SYSCALLS_HH__
-#include "targetarch/syscalls.hh"
#include "kern/linux/linux.hh"
-struct SystemCalls<Linux>
+template <class OS>
+class SystemCalls;
+
+class SystemCalls<Linux>
{
+ public:
enum {
syscall = 0,
llseek = 1,