diff options
author | Christian Cunningham <cc@localhost> | 2022-02-13 17:32:45 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-02-13 17:32:45 -0700 |
commit | 1a3e539f46911081170c9b2515331cfed5c00f05 (patch) | |
tree | 4247f7efcf15585d9aba38df76604f35e5158001 /src | |
parent | e814983a452c40734c5ecc63581df88d3925835e (diff) |
Added notes
Diffstat (limited to 'src')
-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; |