diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2004-10-22 22:49:12 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2004-10-22 22:49:12 -0400 |
commit | 0da150b2946466b7692c57f5d99caa7ce282c935 (patch) | |
tree | 8bbe4e467d806d87ffd8b77d1bee5eaca39785d5 /kern/linux/linux_syscalls.hh | |
parent | e9acc88e360d56d28c9e4d3975e1053798a9c774 (diff) | |
download | gem5-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/linux_syscalls.hh')
-rw-r--r-- | kern/linux/linux_syscalls.hh | 7 |
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, |