21 lines
324 B
C
21 lines
324 B
C
//
|
|
// Created by rick on 22-04-20.
|
|
//
|
|
|
|
#ifndef NEW_KERNEL_MEM_H
|
|
#define NEW_KERNEL_MEM_H
|
|
|
|
#include <multiboot.h>
|
|
|
|
void init_mmap_multiboot(struct multiboot_mmap_entry *entries, uint32_t count);
|
|
|
|
void print_malloc_info();
|
|
|
|
void print_mmap_info();
|
|
|
|
void *malloc(size_t size);
|
|
|
|
void free(void *mem);
|
|
|
|
#endif //NEW_KERNEL_MEM_H
|