#include <stdint.h>
Go to the source code of this file.
Functions | |
void | serial_init_queue (void) |
void | serial_putc (uint8_t) |
void | serial_flush (void) |
void | serial_notify (void) |
void serial_flush | ( | void | ) |
Definition at line 136 of file serial.c.
References intq_empty(), intq_getc(), intr_disable(), intr_set_level(), putc_poll(), and txq.
Referenced by debug_panic(), and power_off().
void serial_init_queue | ( | void | ) |
Definition at line 83 of file serial.c.
References ASSERT, init_poll(), intr_disable(), intr_register_ext(), intr_set_level(), mode, POLL, QUEUE, serial_interrupt, UNINIT, and write_ier().
Referenced by main().
void serial_notify | ( | void | ) |
Definition at line 149 of file serial.c.
References ASSERT, intr_get_level(), INTR_OFF, mode, QUEUE, and write_ier().
Referenced by input_getc(), and input_putc().
void serial_putc | ( | uint8_t | ) |
Definition at line 100 of file serial.c.
References init_poll(), intq_full(), intq_getc(), intq_putc(), intr_disable(), INTR_OFF, intr_set_level(), mode, putc_poll(), QUEUE, txq, UNINIT, and write_ier().
Referenced by putchar_have_lock().