From 5348a94a6e7a16a070c502c29db30a08253a99a3 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Tue, 2 Sep 2014 14:53:09 +0200 Subject: Debugging paging problem on VirtualBox (VT-x) --- kernel/console.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kernel/console.c') diff --git a/kernel/console.c b/kernel/console.c index 72ad066..16cf04f 100644 --- a/kernel/console.c +++ b/kernel/console.c @@ -1,6 +1,6 @@ #include "console.h" -//#define FOOLOS_CONSOLE +#define FOOLOS_CONSOLE //#undef FOOLOS_CONSOLE static int posx=0; @@ -10,11 +10,11 @@ static int posy=0; void print_char_col(int x, int y, char c, char col) { -#ifdef FOOLOS_CONSOLE +//#ifdef FOOLOS_CONSOLE char* video_mem=(char *)SCR_VIDEOMEM+(x+y*SCR_REAL_WIDTH)*2; video_mem[0]=c; video_mem[1]=col; -#endif +//#endif } void print_char(int x, int y, char c) -- cgit v1.2.3