kalloc_init();
/**
- * @brief Allocate a space in kernel heap.This is NOT the same as kmalloc in Linux!
- * LunaixOS does NOT guarantee the continuity in physical pages.
+ * @brief Allocate a contiguous and un-initialized memory region in kernel heap.
+ *
+ * @remarks
+ * This is NOT the same as kmalloc in Linux!
+ * LunaixOS does NOT guarantee the continuity in physical pages.
*
* @param size
* @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*
+ * @return void*
*/
void*
-kcalloc(size_t size);
+lxcalloc(size_t size);
/**
- * @brief free for kernel heap
+ * @brief Free the memory region allocated by kmalloc
*
* @param size
* @return void*
*/
void
-kfree(void* ptr);
+lxfree(void* ptr);
#endif /* __LUNAIX_KALLOC_H */