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

Go to the source code of this file.
Functions | |
| syscall | kputc (device *pdev, unsigned char c) |
| syscall | kprintf (char *fmt,...) |
Definition in file kprintf.c.
| syscall kprintf | ( | char * | fmt, | |
| ... | ||||
| ) |
| syscall kputc | ( | device * | pdev, | |
| unsigned char | c | |||
| ) |
kputc - perform a synchronous kernel write to the console tty
| *pdev | pointer to device on which to write character | |
| c | character to write |
Definition at line 21 of file kprintf.c.
References dentry::controlblk, uart::cout, dentry::csr, uart::csr, uart_csreg::ier, uart_csreg::lsr, NULL, SYSERR, UART_LSR_TEMT, and uarttab.
Referenced by kprintf().
1.5.5