git.ucc.asn.au
/
tpg
/
acess2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4e0a3e1
)
Extra debug in Idle thread
author
John Hodge
<
[email protected]
>
Sun, 27 Sep 2009 03:05:50 +0000
(11:05 +0800)
committer
John Hodge
<
[email protected]
>
Sun, 27 Sep 2009 03:05:50 +0000
(11:05 +0800)
Kernel/threads.c
patch
|
blob
|
history
diff --git
a/Kernel/threads.c
b/Kernel/threads.c
index
a4b3161
..
c89be3f
100644
(file)
--- a/
Kernel/threads.c
+++ b/
Kernel/threads.c
@@
-94,7
+94,8
@@
void Threads_Init()
Threads_SetTickets(0); // Never called randomly
cur->Quantum = 1; // 1 slice quantum
for(;;) {
Threads_SetTickets(0); // Never called randomly
cur->Quantum = 1; // 1 slice quantum
for(;;) {
- Log("Idle");
+ Log("---- Idle");
+ Threads_Dump();
__asm__ __volatile__ ("hlt"); // Just yeilds
}
}
__asm__ __volatile__ ("hlt"); // Just yeilds
}
}
UCC
git Repository :: git.ucc.asn.au