Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/tty/ttyInit.c File Reference

#include <kernel.h>
#include <device.h>
#include <tty.h>
#include <stdlib.h>

Include dependency graph for ttyInit.c:

Go to the source code of this file.

Functions

devcall ttyInit (device *pdev)

Variables

struct tty ttytab [NTTY]


Detailed Description

ttyInit

Id
ttyInit.c 241 2007-07-13 22:24:20Z agember

Definition in file ttyInit.c.


Function Documentation

devcall ttyInit ( device pdev  ) 

Initialize TTY structures.

Parameters:
pdev TTY device table entry
Returns:
OK if device is intialized successfully

Definition at line 21 of file ttyInit.c.

References bzero(), dentry::controlblk, dentry::minor, NULL, OK, TTY_STATE_FREE, and ttytab.


Variable Documentation

struct tty ttytab[NTTY]

Definition at line 14 of file ttyInit.c.

Referenced by ttyAlloc(), and ttyInit().


Generated on Thu Oct 9 22:35:23 2008 for xinu by  doxygen 1.5.5