changeset 67d980fcbc7a in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=67d980fcbc7a
description:
syscall: Addition of an ioctl command code for Power.
diffstat:
5 files changed, 5 insertions(+)
src/arch/alpha/linux/linux.hh | 1 +
src/arch/alpha/tru64/tru64.hh | 1 +
src/arch/arm/linux/linux.hh | 1 +
src/arch/mips/linux/linux.hh | 1 +
src/sim/syscall_emul.hh | 1 +
diffs (55 lines):
diff -r 9cf72f7eb5c4 -r 67d980fcbc7a src/arch/alpha/linux/linux.hh
--- a/src/arch/alpha/linux/linux.hh Sat Oct 24 10:53:58 2009 -0700
+++ b/src/arch/alpha/linux/linux.hh Sat Oct 24 10:53:59 2009 -0700
@@ -105,6 +105,7 @@
static const unsigned TIOCISATTY_ = 0x2000745e;
static const unsigned TIOCGETS_ = 0x402c7413;
static const unsigned TIOCGETA_ = 0x40127417;
+ static const unsigned TCSETAW_ = 0x80147419; // 2.6.15 kernel
//@}
/// For table().
diff -r 9cf72f7eb5c4 -r 67d980fcbc7a src/arch/alpha/tru64/tru64.hh
--- a/src/arch/alpha/tru64/tru64.hh Sat Oct 24 10:53:58 2009 -0700
+++ b/src/arch/alpha/tru64/tru64.hh Sat Oct 24 10:53:59 2009 -0700
@@ -99,6 +99,7 @@
static const unsigned TIOCISATTY_ = 0x2000745e;
static const unsigned TIOCGETS_ = 0x402c7413;
static const unsigned TIOCGETA_ = 0x40127417;
+ static const unsigned TCSETAW_ = 0x80147419;
//@}
//@{
diff -r 9cf72f7eb5c4 -r 67d980fcbc7a src/arch/arm/linux/linux.hh
--- a/src/arch/arm/linux/linux.hh Sat Oct 24 10:53:58 2009 -0700
+++ b/src/arch/arm/linux/linux.hh Sat Oct 24 10:53:59 2009 -0700
@@ -86,6 +86,7 @@
static const unsigned TIOCISATTY_ = 0x2000745e;
static const unsigned TIOCGETS_ = 0x402c7413;
static const unsigned TIOCGETA_ = 0x40127417;
+ static const unsigned TCSETAW_ = 0x5407; // 2.6.15 kernel
//@}
/// For table().
diff -r 9cf72f7eb5c4 -r 67d980fcbc7a src/arch/mips/linux/linux.hh
--- a/src/arch/mips/linux/linux.hh Sat Oct 24 10:53:58 2009 -0700
+++ b/src/arch/mips/linux/linux.hh Sat Oct 24 10:53:59 2009 -0700
@@ -100,6 +100,7 @@
static const unsigned TIOCISATTY_ = 0x5480;
static const unsigned TIOCGETS_ = 0x540d;
static const unsigned TIOCGETA_ = 0x7417;
+ static const unsigned TCSETAW_ = 0x5403; // 2.6.15 kernel
//@}
/// For table().
diff -r 9cf72f7eb5c4 -r 67d980fcbc7a src/sim/syscall_emul.hh
--- a/src/sim/syscall_emul.hh Sat Oct 24 10:53:58 2009 -0700
+++ b/src/sim/syscall_emul.hh Sat Oct 24 10:53:59 2009 -0700
@@ -500,6 +500,7 @@
case OS::TIOCGETC_:
case OS::TIOCGETS_:
case OS::TIOCGETA_:
+ case OS::TCSETAW_:
return -ENOTTY;
default:
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev