slab: add kzalloc

This commit is contained in:
Michael Shaw 2023-05-04 15:26:40 -04:00
commit 47edaa8512
2 changed files with 11 additions and 0 deletions

View file

@ -31,6 +31,7 @@ void slab_free(struct slab *slab, void *ptr);
void kmalloc_init();
void *kmalloc(size_t size);
void *kzalloc(size_t size);
void kfree(void *ptr);
#endif /* _SLAB_H_ */