diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-09-02 14:53:09 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-09-02 14:53:09 +0200 |
| commit | 5348a94a6e7a16a070c502c29db30a08253a99a3 (patch) | |
| tree | a60838ee9c4b7ac854084fe0eeb0e579a5afc33d /kernel/console.c | |
| parent | 347ee926fd09d7fb45025f2c4e4a4eeab83459c9 (diff) | |
Debugging paging problem on VirtualBox (VT-x)
Diffstat (limited to 'kernel/console.c')
| -rw-r--r-- | kernel/console.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) |
