From 83e17e29456ec9b6d45f4d9f2634eb280c6f414f Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 19 Apr 2023 20:50:10 -0400 Subject: ticket locks --- sys/include/kalloc.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sys/include/kalloc.h (limited to 'sys/include/kalloc.h') 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 */ + -- cgit v1.2.3