aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/core
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2015-03-10 20:23:13 +0100
committerAlex Auvolat <alex@adnab.me>2015-03-10 20:23:13 +0100
commit0e50ada984473de20ba47c2ebdbe36b3dad78dd1 (patch)
tree7864cd0290a112244ef93fd590d018e52bbd16a3 /src/kernel/core
parent6d9cd139c42a48f5ddf8f8e284f56873de73fd31 (diff)
downloadkogata-0e50ada984473de20ba47c2ebdbe36b3dad78dd1.tar.gz
kogata-0e50ada984473de20ba47c2ebdbe36b3dad78dd1.zip
Add mutex to pciide driver (fixes some stuff)
Diffstat (limited to 'src/kernel/core')
-rw-r--r--src/kernel/core/thread.c2
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));