convert gitignore files to hgignore files
[hvf.git] / installer / malloc.c
blob7561f6608598d22b03f1ddfb95b2749536ab34f9
1 /*
2 * Copyright (c) 2011 Josef 'Jeff' Sipek
3 */
4 #include "loader.h"
6 static char *top;
8 void init_malloc(void *ptr)
10 top = ptr;
13 void *malloc(u32 size)
15 char *t;
17 t = top;
18 top += size;
20 return t;