diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/lock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/lock.c b/src/util/lock.c index 6b048f4..6c7d07e 100644 --- a/src/util/lock.c +++ b/src/util/lock.c @@ -3,6 +3,9 @@ #include <lib/kmem.h> #include <util/lock.h> +// TODO: Improve locking for system +// 1. Return code rather than hang? +// 2. Specific core PID rather than CORE0 void lock(struct Lock* l) { unsigned long mode = getmode() & 0x1F; |