[platform][pc] Add basic UART support and connect the console to it.

This is especially useful when using the "nographic" option of qemu like this:

qemu -kernel build-pc-x86/lk.bin -nographic

Define WITH_CGA_CONSOLE=1 to enable the CGA console instead.
This commit is contained in:
Corey Tabaka
2012-07-02 00:27:04 -07:00
parent ece5516ce9
commit 94f3f37b4a
3 changed files with 71 additions and 0 deletions

View File

@@ -25,6 +25,7 @@
void platform_init_interrupts(void);
void platform_init_timer(void);
void platform_init_uart(void);
#endif