aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2015-03-01 13:22:21 -0500
committerFranklin Wei <frankhwei536@gmail.com>2015-03-01 13:22:21 -0500
commitb8f54e63d2b8f8007c580adf2a6034c98a0f2eaa (patch)
tree9e22526dd25bff3be2f78a5d29e62f7f677d4c09 /kernel
parent6e86a3abee2d9b2c03452cd62997c2152a3332aa (diff)
downloadkappa-b8f54e63d2b8f8007c580adf2a6034c98a0f2eaa.zip
kappa-b8f54e63d2b8f8007c580adf2a6034c98a0f2eaa.tar.gz
kappa-b8f54e63d2b8f8007c580adf2a6034c98a0f2eaa.tar.bz2
kappa-b8f54e63d2b8f8007c580adf2a6034c98a0f2eaa.tar.xz
rename TTY driver to vgatext
Diffstat (limited to 'kernel')
-rw-r--r--kernel/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/main.c b/kernel/main.c
index 9311359..76c62f8 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -16,8 +16,8 @@
#include "ps2kbd.h"
#include "fpu.h"
#include "timer.h"
-#include "tty.h"
#include "version.h"
+#include "vgatext.h"
void gpf(struct regs_t *regs)
{
@@ -115,8 +115,8 @@ bool boot(struct multiboot_info_t *hdr, uint32_t magic)
/* if graphical initialization fails, fall back to text mode */
if(!gfx_status)
{
- tty_init();
- printf("Graphics init failed, fell back to text mode.\n");
+ vgatext_init();
+ printf("Graphics init failed, fell back to VGA text mode.\n");
}
if(magic != 0x2BADB002)