feat: added cross compiler and moved headers to include dir
This commit is contained in:
20
include/mem/malloc.h
Normal file
20
include/mem/malloc.h
Normal file
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// Created by rick on 23-02-21.
|
||||
//
|
||||
|
||||
#ifndef NEW_KERNEL_MALLOC_H
|
||||
#define NEW_KERNEL_MALLOC_H
|
||||
// retrieved from https://github.com/blanham/liballoc
|
||||
#include <types.h>
|
||||
|
||||
void *malloc(size_t);
|
||||
|
||||
void *realloc(void *, size_t);
|
||||
|
||||
void *calloc(size_t, size_t);
|
||||
|
||||
void free(void *);
|
||||
|
||||
void print_malloc_info();
|
||||
|
||||
#endif //NEW_KERNEL_MALLOC_H
|
||||
Reference in New Issue
Block a user