tabs/kernel/memory.c
2020-01-07 14:53:27 +01:00

9 lines
No EOL
163 B
C

#include <stddef.h>
void* _curr_end = (void*) 0x10000;
void* alloc(size_t size) {
void* thanks_jp = _curr_end;
_curr_end += size;
return thanks_jp;
}