Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/uart/uartWrite.c File Reference

#include <kernel.h>
#include <uart.h>
#include <device.h>

Include dependency graph for uartWrite.c:

Go to the source code of this file.

Functions

devcall uartWrite (device *pdev, unsigned char *buf, int len)


Detailed Description

uartWrite

Id
uartWrite.c 226 2007-07-12 01:18:27Z mschul

Definition in file uartWrite.c.


Function Documentation

devcall uartWrite ( device pdev,
unsigned char *  buf,
int  len 
)

Write a buffer to the UART.

Parameters:
pdev pointer to UART device
buf buffer of characters to write
len number of characters to write from the buffer

Definition at line 20 of file uartWrite.c.

References dentry::controlblk, uart::cout, uart::csr, disable(), NULL, uart::ocount, uart::oflags, uart::oidle, uart::osema, uart::ostart, uart::out, restore(), scount(), SYSERR, UART_OBLEN, UART_OFLAG_NOBLOCK, and wait().

Referenced by uartPutChar().


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