kalloc_init();
/**
- * @brief Allocate an accessible memory region in kernel heap.
+ * @brief Allocate a contiguous and un-initialized memory region in kernel heap.
*
* @remarks
* This is NOT the same as kmalloc in Linux!
* @return void*
*/
void*
-kmalloc(size_t size);
+lxmalloc(size_t size);
/**
- * @brief calloc for kernel heap. A wrapper for kmalloc
+ * @brief Allocate a contiguous and initialized memory region in kernel heap.
* @param size
* @return void*
*/
void*
-kcalloc(size_t size);
+lxcalloc(size_t n, size_t elem);
/**
* @brief Free the memory region allocated by kmalloc
* @return void*
*/
void
-kfree(void* ptr);
+lxfree(void* ptr);
#endif /* __LUNAIX_KALLOC_H */