#include <core.h>
#include <libpic.h>
#include <libtty.h>
#include "ttyvar.h"
#include "pccons.h"
#include "serial.h"
#include "pty.h"
Functions | |
void | tty_init (t_tty *tty) |
ssize_t | tty_fill_buf (t_tty *tty, char *buf, int len) |
void | sys_fd_tty_open (t_tcb *caller) |
void | sys_fd_tty_write (t_tcb *caller, int *do_yield) |
void | sys_fd_tty_read (t_tcb *caller, int *do_yield) |
void | sys_fd_tty_close (t_tcb *caller) |
void | sys_fd_tty_fstat (t_tcb *caller) |
void | sys_fd_tty_dump (t_tcb *caller) |
void | sys_fd_tty_ioctl (t_tcb *caller) |
void | sys_fd_tty_poll (t_tcb *caller) |
void | do_ttysrv_syscall () |
void | ttysrv_syscall () |
void | create_ttysrv () |
void | treat_dead (pid_t deadpid) |
void | signotify (int sig) |
void | ttyd_main () |
pid_t | create_ttyd () |
int | main (int argc, char **argv) |
Variables | |
t_tty_info | info |
t_tty | ttys [MAXTTY] |
t_ttydev | ttydevs [MAXTTYDEV] |
|
allocate a task for tty server |
|
allocate a task for tty server |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|