dev: remove console driver, merge into serial
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
parent
cfe2ee22fb
commit
52ba70f4b7
13 changed files with 163 additions and 547 deletions
|
|
@ -1,16 +0,0 @@
|
|||
#ifndef _CONSOLE_H_
|
||||
#define _CONSOLE_H_
|
||||
|
||||
#ifndef __ASM__
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
void console_init();
|
||||
void console_resize();
|
||||
void console_input(char c);
|
||||
void console_clear();
|
||||
bool console_ready();
|
||||
void console_putchar(char c);
|
||||
|
||||
#endif /* __ASM__ */
|
||||
#endif /* _CONSOLE_H_ */
|
||||
|
|
@ -6,9 +6,12 @@
|
|||
|
||||
#ifndef __ASM__
|
||||
|
||||
#include <kernel/common.h>
|
||||
|
||||
void isr_serial_input();
|
||||
void isr_serial_input_1();
|
||||
void serial_write(char c);
|
||||
ssize_t serial_write(const char *buf, size_t count);
|
||||
void serial_putchar(char c);
|
||||
void serial_trap();
|
||||
int serial_init();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue