cp: implement mutex dependency tracking
commit00248d0df0bfdcf2fabd379580d4602f07f56402
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Fri, 22 Apr 2011 19:42:29 +0000 (22 15:42 -0400)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Fri, 22 Apr 2011 19:42:29 +0000 (22 15:42 -0400)
treeade05eb0e63686a86900b7eef6fe39657bad12b0
parent4b079d714e04d9d232688ad1b2ed7a3a17416e91
cp: implement mutex dependency tracking

Inspired by the Linux kernel's lockdep code.  Currently, ldep is completely
oblivious when it comes to spinlocks.  Additionally, it does not actually
check for circular/recursive locking.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
cp/fs/edf.c
cp/include/ldep.h [new file with mode: 0644]
cp/include/mutex.h
cp/include/sched.h
cp/nucleus/Makefile
cp/nucleus/ldep.c [new file with mode: 0644]
cp/nucleus/mutex.c
cp/nucleus/sched.c
cp/shell/init.c