changeset c3e4371d37a8 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=c3e4371d37a8 description: syscall: Expose ioctl for MIPS
diffstat: 2 files changed, 10 insertions(+), 10 deletions(-) src/arch/mips/linux/linux.hh | 18 +++++++++--------- src/arch/mips/linux/process.cc | 2 +- diffs (40 lines): diff -r 303e409d88d9 -r c3e4371d37a8 src/arch/mips/linux/linux.hh --- a/src/arch/mips/linux/linux.hh Tue Feb 10 15:49:29 2009 -0800 +++ b/src/arch/mips/linux/linux.hh Tue Feb 10 15:49:29 2009 -0800 @@ -94,15 +94,15 @@ //@{ /// ioctl() command codes. - static const unsigned TIOCGETP = 0x7408; - static const unsigned TIOCSETP = 0x7409; - static const unsigned TIOCSETN = 0x740a; - static const unsigned TIOCSETC = 0x7411; - static const unsigned TIOCGETC = 0x7412; - static const unsigned FIONREAD = 0x467f; - static const unsigned TIOCISATTY = 0x5480; - static const unsigned TIOCGETS = 0x540d; - static const unsigned TIOCGETA = 0x7417; + static const unsigned TIOCGETP_ = 0x7408; + static const unsigned TIOCSETP_ = 0x7409; + static const unsigned TIOCSETN_ = 0x740a; + static const unsigned TIOCSETC_ = 0x7411; + static const unsigned TIOCGETC_ = 0x7412; + static const unsigned FIONREAD_ = 0x467f; + static const unsigned TIOCISATTY_ = 0x5480; + static const unsigned TIOCGETS_ = 0x540d; + static const unsigned TIOCGETA_ = 0x7417; //@} /// For table(). diff -r 303e409d88d9 -r c3e4371d37a8 src/arch/mips/linux/process.cc --- a/src/arch/mips/linux/process.cc Tue Feb 10 15:49:29 2009 -0800 +++ b/src/arch/mips/linux/process.cc Tue Feb 10 15:49:29 2009 -0800 @@ -175,7 +175,7 @@ /* 51 */ SyscallDesc("acct", unimplementedFunc), /* 52 */ SyscallDesc("umount2", unimplementedFunc), /* 53 */ SyscallDesc("lock", unimplementedFunc), - /* 54 */ SyscallDesc("ioctl", unimplementedFunc/*ioctlFunc<MipsLinux>*/), + /* 54 */ SyscallDesc("ioctl", ioctlFunc<MipsLinux>), /* 55 */ SyscallDesc("fcntl", fcntlFunc), /* 56 */ SyscallDesc("mpx", unimplementedFunc), /* 57 */ SyscallDesc("setpgid", unimplementedFunc), _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev