summaryrefslogtreecommitdiff
path: root/src/arch/alpha
diff options
context:
space:
mode:
authorMarc Orr <marc.orr@gmail.com>2012-07-10 22:51:54 -0700
committerMarc Orr <marc.orr@gmail.com>2012-07-10 22:51:54 -0700
commit387f843d513dd80554cb6361da36ba805dfbcea2 (patch)
tree17c32aeac4482a5e451af779f412cd8f94ea81f7 /src/arch/alpha
parent52540b1b785aac9b307dfcc976527d94899deb94 (diff)
downloadgem5-387f843d513dd80554cb6361da36ba805dfbcea2.tar.xz
syscall emulation: Add the futex system call.
Diffstat (limited to 'src/arch/alpha')
-rw-r--r--src/arch/alpha/linux/linux.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/alpha/linux/linux.hh b/src/arch/alpha/linux/linux.hh
index 3304816c3..6197b8d45 100644
--- a/src/arch/alpha/linux/linux.hh
+++ b/src/arch/alpha/linux/linux.hh
@@ -142,6 +142,10 @@ class AlphaLinux : public Linux
uint64_t freehigh; /* Available high memory size */
uint64_t mem_unit; /* Memory unit size in bytes */
} tgt_sysinfo;
+
+ // For futex system call
+ static const unsigned TGT_EAGAIN = 35;
+ static const unsigned TGT_EWOULDBLOCK = TGT_EAGAIN;
};
#endif // __ALPHA_ALPHA_LINUX_LINUX_HH__