summaryrefslogtreecommitdiff
path: root/sim/syscall_emul.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2006-02-19 00:47:45 -0500
committerAli Saidi <saidi@eecs.umich.edu>2006-02-19 00:47:45 -0500
commit14f2cdb1a14e9e6896939c210cdacef289d9c263 (patch)
treecdf7705980fb776a518d40e4fa3869fc0bead2cf /sim/syscall_emul.hh
parenta611b8100379e28728c1084801413954c973e734 (diff)
parent00d58aeb4dc0569bc3d1273d90867148e6500ad9 (diff)
downloadgem5-14f2cdb1a14e9e6896939c210cdacef289d9c263.tar.xz
Merge zizzer:/bk/m5
into pb15.local:/Users/ali/work/m5.head --HG-- extra : convert_revision : 774e4afbb0f9c3ae62843138b6d7195ea184ff92
Diffstat (limited to 'sim/syscall_emul.hh')
-rw-r--r--sim/syscall_emul.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/syscall_emul.hh b/sim/syscall_emul.hh
index 739cd20e5..72e454ae1 100644
--- a/sim/syscall_emul.hh
+++ b/sim/syscall_emul.hh
@@ -239,6 +239,10 @@ SyscallReturn chownFunc(SyscallDesc *desc, int num,
SyscallReturn fchownFunc(SyscallDesc *desc, int num,
Process *p, ExecContext *xc);
+/// Target fnctl() handler.
+SyscallReturn fcntlFunc(SyscallDesc *desc, int num,
+ Process *process, ExecContext *xc);
+
/// This struct is used to build an target-OS-dependent table that
/// maps the target's open() flags to the host open() flags.
struct OpenFlagTransTable {