#include <core.h>
#include <libpic.h>
#include "ttyvar.h"
#include "serial.h"
Functions | |
int | uart_detect (u_int32_t baseaddr) |
void | uart_init (int combase) |
int | uart_getchar (int combase) |
void | uart_putchar (int combase, int ch) |
void | do_serial_except (int intr) |
void | serial_except (int intr) |
void | create_serial_intr (char *name, int ioport, int intr) |
void | serial_init_port (int combase) |
int | serial_init (t_ttydev *ttydev, t_tty *tty, void **ttydev_data) |
void | serial_destroy (void *ttydev_data) |
int | serial_write (void *ttydev_data, char *buf, int len) |
void | serial_class_init () |
Variables | |
t_tty_info | info |
t_ttydev | ttydevs [MAXTTYDEV] |
t_tty * | com1_tty = NULL |
t_tty * | com2_tty = NULL |
|
allocate a task for serial |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|