1 #ifndef __LUNAIX_KALLOC_H
2 #define __LUNAIX_KALLOC_H
10 * @brief Allocate a contiguous and un-initialized memory region in kernel heap.
13 * This is NOT the same as kmalloc in Linux!
14 * LunaixOS does NOT guarantee the continuity in physical pages.
20 lxmalloc(size_t size);
23 * @brief Allocate a contiguous and initialized memory region in kernel heap.
28 lxcalloc(size_t size);
31 * @brief Free the memory region allocated by kmalloc
39 #endif /* __LUNAIX_KALLOC_H */