main.c File Reference

#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]

Function Documentation

pid_t create_ttyd void   ) 
 

allocate a task for tty server

void create_ttysrv void   ) 
 

allocate a task for tty server

void do_ttysrv_syscall void   ) 
 

int main int  argc,
char **  argv
 

void signotify int  sig  ) 
 

void sys_fd_tty_close t_tcb caller  ) 
 

void sys_fd_tty_dump t_tcb caller  ) 
 

void sys_fd_tty_fstat t_tcb caller  ) 
 

void sys_fd_tty_ioctl t_tcb caller  ) 
 

void sys_fd_tty_open t_tcb caller  ) 
 

void sys_fd_tty_poll t_tcb caller  ) 
 

void sys_fd_tty_read t_tcb caller,
int *  do_yield
 

void sys_fd_tty_write t_tcb caller,
int *  do_yield
 

void treat_dead pid_t  deadpid  ) 
 

ssize_t tty_fill_buf t_tty tty,
char *  buf,
int  len
 

void tty_init t_tty tty  ) 
 

void ttyd_main void   ) 
 

void ttysrv_syscall void   ) 
 


Variable Documentation

t_tty_info info
 

t_ttydev ttydevs[MAXTTYDEV]
 

t_tty ttys[MAXTTY]
 


Generated on Wed May 24 23:06:01 2006 for LSE/OS by  doxygen 1.4.6