syscall: Addition of an ioctl command code for Power.
This commit is contained in:
@@ -105,6 +105,7 @@ class AlphaLinux : public Linux
|
||||
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().
|
||||
|
||||
@@ -99,6 +99,7 @@ class AlphaTru64 : public Tru64
|
||||
static const unsigned TIOCISATTY_ = 0x2000745e;
|
||||
static const unsigned TIOCGETS_ = 0x402c7413;
|
||||
static const unsigned TIOCGETA_ = 0x40127417;
|
||||
static const unsigned TCSETAW_ = 0x80147419;
|
||||
//@}
|
||||
|
||||
//@{
|
||||
|
||||
@@ -86,6 +86,7 @@ class ArmLinux : public Linux
|
||||
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().
|
||||
|
||||
@@ -100,6 +100,7 @@ class MipsLinux : public Linux
|
||||
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().
|
||||
|
||||
@@ -500,6 +500,7 @@ ioctlFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
|
||||
case OS::TIOCGETC_:
|
||||
case OS::TIOCGETS_:
|
||||
case OS::TIOCGETA_:
|
||||
case OS::TCSETAW_:
|
||||
return -ENOTTY;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user