diff options
| author | Miguel <m.i@gmx.at> | 2018-10-01 14:37:18 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-01 14:37:18 +0200 |
| commit | b518f39803eaaf0b25b95baf951b12ef4d5a727e (patch) | |
| tree | d595877fd1869b280ba33bc2256a3b3da8eb8c95 /kernel/log.c | |
| parent | 75433d155c152b809e9f25b1099fc06d6106308b (diff) | |
struggling with interrupts and scheduler
Diffstat (limited to 'kernel/log.c')
| -rw-r--r-- | kernel/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/log.c b/kernel/log.c index 2e14dff..af6ebac 100644 --- a/kernel/log.c +++ b/kernel/log.c @@ -47,7 +47,7 @@ void log(bool color,char *module_name, int prio, char *format_string, ...) if(color) tfp_sprintf(buf_log,"\033[36;40m%s\033[31;40m %s:\033[37;40m %s\n",buf_time,module_name,buf_info); else tfp_sprintf(buf_log,"%s %s: %s\n",buf_time,module_name,buf_info); - spinlock_spin(SPINLOCK_LOG); +// spinlock_spin(SPINLOCK_LOG); log_string(buf_log); - spinlock_release(SPINLOCK_LOG); +// spinlock_release(SPINLOCK_LOG); } |
