diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-11-27 00:29:45 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-11-27 00:29:45 +0100 |
| commit | 0e402637492f34a4d0e1302fbe34344e19bc4813 (patch) | |
| tree | 6c42e23b23f5bb703d27700e96444224e2eb87e2 /lib | |
| parent | 7393db6692c861bc66164c0dd9b83f23a554775b (diff) | |
Progs at vmem=0x8048000 and Improved Console Ouput
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/logger/log.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/logger/log.c b/lib/logger/log.c index d58d2d6..8d69fc3 100644 --- a/lib/logger/log.c +++ b/lib/logger/log.c @@ -40,7 +40,7 @@ void log(char *module_name, int log_level, char *format_string, ...) va_end(va); tfp_sprintf(buf_log,"%s %s: %s\n",buf_time,module_name,buf_info); - console_put_str(buf_log); + console_put_str_gray(buf_log); for(int i=0;buf_log[i]!=0;i++) { @@ -57,7 +57,7 @@ void panic(char *module_name, char *message) { char buf_log[256]; tfp_sprintf(buf_log,"KERNEL PANIC !! %s: %s\n",module_name,message); - console_put_str(buf_log); + console_put_str_red(buf_log); while(1); // halt } @@ -70,10 +70,10 @@ void log_log() char buf_log[256]; tfp_sprintf(buf_log,"[ 0.00000] log: buffer state: first=%d, last=%d, buf_size=%d\n",first,last,LOG_BUF_SIZE); - console_put_str(buf_log); + console_put_str_gray(buf_log); for(int i=first;i!=last;i++) { - console_put_char(buffer[i]); + console_put_char_gray(buffer[i]); } } |
