diff options
author | stefan <stefan@s00.xyz> | 2023-04-19 20:50:10 -0400 |
---|---|---|
committer | stefan <stefan@s00.xyz> | 2023-04-19 20:50:10 -0400 |
commit | 83e17e29456ec9b6d45f4d9f2634eb280c6f414f (patch) | |
tree | 004a9b2a7cd3f0c7bb4224b59204680bd5d79681 /sys/include/kalloc.h | |
parent | af1ce4b2e637ceb418ea72d51c49a3eee276a938 (diff) | |
download | sv-83e17e29456ec9b6d45f4d9f2634eb280c6f414f.tar.gz |
ticket locks
Diffstat (limited to 'sys/include/kalloc.h')
-rw-r--r-- | sys/include/kalloc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/include/kalloc.h b/sys/include/kalloc.h new file mode 100644 index 0000000..10adbda --- /dev/null +++ b/sys/include/kalloc.h @@ -0,0 +1,15 @@ +#ifndef _KALLOC_H +#define _KALLOC_H + +void *kalloc(void); + +void *kzalloc(void); + +void kfree(void *); + +void kalloc_init(void); + +void walkfree(void); + +#endif /* _KALLOC_H */ + |