diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-08-29 19:56:40 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-08-29 19:56:40 +0200 |
| commit | 47d22a238a6c5d60c6abfac724e6ad91885cdd67 (patch) | |
| tree | bd3893777b58aac7c94d68fe2a4ba57cfbdb38ec /lib/logger/log.c | |
| parent | 659f1f1ae057c82a154a1fd32cc9dca040979daa (diff) | |
added paging support
Diffstat (limited to 'lib/logger/log.c')
| -rw-r--r-- | lib/logger/log.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/logger/log.c b/lib/logger/log.c index 3a6606e..fd226e5 100644 --- a/lib/logger/log.c +++ b/lib/logger/log.c @@ -19,3 +19,17 @@ void log(char *module_name, int log_level, char *format_string, ...) } +void panic(char *module_name, char *format_string) +{ + + PutConsole("!! KERNEL PANIC !! ",0b1111100000000000,0); + PutConsole(module_name,0b1111100000000000,0); + PutConsole(" : ",0b0000011111100000,0); + PutConsole(format_string,0b1111100000000000,0); + + + while(1); // halt + + + +} |
