Go to the source code of this file.
◆ Serial_Getc()
Definition at line 78 of file sercons.c.
79{
81 {
82
83 }
85}
static INLINE uint8_t inb(uint16_t port)
◆ Serial_HasData()
◆ Serial_Init()
void Serial_Init |
( |
void |
| ) |
|
Definition at line 40 of file sercons.c.
41{
44
45
47
48
53
54
57}
static INLINE void outb(uint16_t port, uint8_t data)
#define UART_OFFSET_DIVLO
◆ Serial_Interrupt()
void Serial_Interrupt |
( |
void * |
arg | ) |
|
Definition at line 68 of file sercons.c.
69{
71}
int kprintf(const char *fmt,...)
◆ Serial_LateInit()
void Serial_LateInit |
( |
void |
| ) |
|
Definition at line 59 of file sercons.c.
60{
64
66}
void IRQ_Register(int irq, struct IRQHandler *h)
static IRQHandler handler
void Serial_Interrupt(void *arg)
◆ Serial_Putc()
void Serial_Putc |
( |
char |
ch | ) |
|
Definition at line 87 of file sercons.c.
88{
90 {
91
92 }
94
95 if (ch == '\b') {
99 }
100}
void Serial_Putc(char ch)
◆ Serial_Puts()
void Serial_Puts |
( |
const char * |
str | ) |
|
Definition at line 102 of file sercons.c.
103{
104 const char *p = str;
105 while (*p != '\0')
107}