update name of code to labcodes
This commit is contained in:
16
labcodes/lab8/kern/mm/kmalloc.h
Normal file
16
labcodes/lab8/kern/mm/kmalloc.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef __KERN_MM_KMALLOC_H__
|
||||
#define __KERN_MM_KMALLOC_H__
|
||||
|
||||
#include <defs.h>
|
||||
|
||||
#define KMALLOC_MAX_ORDER 10
|
||||
|
||||
void kmalloc_init(void);
|
||||
|
||||
void *kmalloc(size_t n);
|
||||
void kfree(void *objp);
|
||||
|
||||
size_t kallocated(void);
|
||||
|
||||
#endif /* !__KERN_MM_KMALLOC_H__ */
|
||||
|
||||
Reference in New Issue
Block a user