diff options
author | Christian Cunningham <cc@localhost> | 2022-02-04 18:24:31 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-02-04 18:24:31 -0700 |
commit | 13b2bf797bdf4fab0115675c4d2541fff05e285c (patch) | |
tree | 6b622ffe738a8eb76e0c0f7050fab13d1bf1acad /include/lib | |
parent | 6e7f93d6a09865937dde1124a6c3f36eebcd9d82 (diff) |
Implemented new Real-Time friendly Memory Allocation Scheme
Diffstat (limited to 'include/lib')
-rw-r--r-- | include/lib/kmem.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/lib/kmem.h b/include/lib/kmem.h new file mode 100644 index 0000000..4e79c96 --- /dev/null +++ b/include/lib/kmem.h @@ -0,0 +1,9 @@ +#ifndef LIB_KMEM_H +#define LIB_KMEM_H + +void* kmalloc(unsigned int size); +void* kcalloc(unsigned int size); +void* krealloc(void* old, unsigned int size); +void kfree(void* ptr); + +#endif |