|
Defines |
| #define | tty_addr(line) (&tty_table[line]) |
| #define | isconsole(tp) ((tp) < tty_addr(NR_CONS)) |
| #define | ispty(tp) ((tp) >= tty_addr(NR_CONS+NR_RS_LINES)) |
| #define | FIRST_TTY tty_addr(0) |
| #define | END_TTY tty_addr(sizeof(tty_table) / sizeof(tty_table[0])) |
| #define | tty_active(tp) ((tp)->tty_devread != NULL) |
| #define | rs_init(tp) ((void) 0) |
| #define | pty_init(tp) ((void) 0) |
| #define | do_pty(tp, mp) ((void) 0) |
Functions |
| FORWARD | _PROTOTYPE (void got_signal,(void)) |
| FORWARD | _PROTOTYPE (void tty_timed_out,(timer_t *tp)) |
| FORWARD | _PROTOTYPE (void settimer,(tty_t *tty_ptr, int enable)) |
| FORWARD | _PROTOTYPE (void do_cancel,(tty_t *tp, message *m_ptr)) |
| FORWARD | _PROTOTYPE (void do_ioctl,(tty_t *tp, message *m_ptr, int s)) |
| FORWARD | _PROTOTYPE (void do_status,(message *m_ptr)) |
| FORWARD | _PROTOTYPE (void in_transfer,(tty_t *tp)) |
| FORWARD | _PROTOTYPE (int tty_echo,(tty_t *tp, int ch)) |
| FORWARD | _PROTOTYPE (void rawecho,(tty_t *tp, int ch)) |
| FORWARD | _PROTOTYPE (int back_over,(tty_t *tp)) |
| FORWARD | _PROTOTYPE (int sef_cb_init_fresh,(int type, sef_init_info_t *info)) |
| PUBLIC int | main (void) |
| PRIVATE void | sef_local_startup () |
| PRIVATE int | sef_cb_init_fresh (int type, sef_init_info_t *info) |
| PRIVATE void | got_signal () |
| PRIVATE void | do_status (message *m_ptr) |
| PRIVATE void | do_read (tty_t *tp, message *m_ptr, int safe) |
| PRIVATE void | do_write (tty_t *tp, message *m_ptr, int safe) |
| PRIVATE void | do_ioctl (tty_t *tp, message *m_ptr, int safe) |
| PRIVATE void | do_open (tty_t *tp, message *m_ptr) |
| PRIVATE void | do_close (tty_t *tp, message *m_ptr) |
| PRIVATE void | do_cancel (tty_t *tp, message *m_ptr) |
| PUBLIC int | select_try (struct tty *tp, int ops) |
| PUBLIC int | select_retry (struct tty *tp) |
| PUBLIC void | handle_events (tty_t *tp) |
| PRIVATE void | in_transfer (tty_t *tp) |
| PUBLIC int | in_process (tty_t *tp, char *buf, int count) |
| PRIVATE int | tty_echo (tty_t *tp, int ch) |
| PRIVATE void | rawecho (tty_t *tp, int ch) |
| PRIVATE int | back_over (tty_t *tp) |
| PRIVATE void | reprint (tty_t *tp) |
| PUBLIC void | out_process (tty_t *tp, char *bstart, char *bpos, char *bend, int *icount, int *ocount) |
| PRIVATE void | dev_ioctl (tty_t *tp) |
| PRIVATE void | setattr (tty_t *tp) |
| PUBLIC void | tty_reply_f (char *file, int line, int code, int replyee, int proc_nr, int status) |
| PUBLIC void | sigchar (tty_t *tp, int sig, int mayflush) |
| PRIVATE void | tty_icancel (tty_t *tp) |
| PRIVATE void | tty_init () |
| PRIVATE void | tty_timed_out (timer_t *tp) |
| PRIVATE void | expire_timers (void) |
| PRIVATE void | settimer (tty_t *tty_ptr, int enable) |
| PUBLIC int | tty_devnop (tty_t *tp, int try) |
| PRIVATE void | do_select (tty_t *tp, message *m_ptr) |
Variables |
| int | irq_hook_id |
| unsigned long | kbd_irq_set = 0 |
| unsigned long | rs_irq_set = 0 |
| struct kmessages | kmess |
| PRIVATE struct termios | termios_defaults |
| PRIVATE struct winsize | winsize_defaults |
| PUBLIC tty_t | tty_table [NR_CONS+NR_RS_LINES+NR_PTYS] |
| PUBLIC int | ccurrent |
| PUBLIC timer_t * | tty_timers |
| PUBLIC clock_t | tty_next_timeout |
| PUBLIC struct machine | machine |
| PUBLIC u32_t | system_hz |
| PUBLIC unsigned | info_location |
| PUBLIC phys_bytes | vid_size |
| PUBLIC phys_bytes | vid_base |