diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-10 20:23:13 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-10 20:23:13 +0100 |
commit | 0e50ada984473de20ba47c2ebdbe36b3dad78dd1 (patch) | |
tree | 7864cd0290a112244ef93fd590d018e52bbd16a3 /src/kernel/core/thread.c | |
parent | 6d9cd139c42a48f5ddf8f8e284f56873de73fd31 (diff) | |
download | kogata-0e50ada984473de20ba47c2ebdbe36b3dad78dd1.tar.gz kogata-0e50ada984473de20ba47c2ebdbe36b3dad78dd1.zip |
Add mutex to pciide driver (fixes some stuff)
Diffstat (limited to 'src/kernel/core/thread.c')
-rw-r--r-- | src/kernel/core/thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/core/thread.c b/src/kernel/core/thread.c index 1689433..3086be0 100644 --- a/src/kernel/core/thread.c +++ b/src/kernel/core/thread.c @@ -124,6 +124,8 @@ void run_scheduler() { } current_thread = dequeue_thread(); + /*dbg_printf("[0x%p]\n", current_thread);*/ + if (current_thread != 0) { thread_t *ptr = current_thread; prng_add_entropy((uint8_t*)&ptr, sizeof(ptr)); |