mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 16:05:03 +08:00
2005-10-25 Joel Sherrill <joel@OARcorp.com>
* sapi/include/confdefs.h, telnetd/pty.c, telnetd/pty.h: Attempt to fix MAX_PTYS and provide a real configuration entry. This should make telnetd some suitable for inclusion in cpukit.
This commit is contained in:
@@ -103,6 +103,20 @@ uint32_t rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
|
||||
((CONFIGURE_NUMBER_OF_TERMIOS_PORTS * 4) + 1)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* PTYs
|
||||
*/
|
||||
|
||||
#ifndef CONFIGURE_MAXIMUM_PTYS
|
||||
#define CONFIGURE_MAXIMUM_PTYS 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIGURE_INIT
|
||||
int rtems_telnetd_maximum_ptys = CONFIGURE_MAXIMUM_PTYS;
|
||||
#else
|
||||
extern int rtems_telnetd_maximum_ptys;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Mount Table Configuration
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user