]> wirehaze git hosting - ppos.git/blob - ppos/kernel/memory.c

wirehaze git hosting

add ppos/
[ppos.git] / ppos / kernel / memory.c
1 // PingPongOS - PingPong Operating System
2
3 // implementação trivial, a ser substituída no projeto de alocação de heap.
4
5 #include <stdlib.h>
6
7 void mem_init()
8 {
9 }
10
11 void *mem_alloc(int size)
12 {
13 return (malloc(size));
14 }
15
16 int mem_free(void *ptr)
17 {
18 free(ptr);
19 return(0);
20 }