kern

diff src/mem.h @ 17:098b1cb5eeaa

forgot to add a shitload of files
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 26 Mar 2011 21:39:14 +0200
parents
children 8be069e6bb05
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/mem.h	Sat Mar 26 21:39:14 2011 +0200
     1.3 @@ -0,0 +1,12 @@
     1.4 +#ifndef MEM_H_
     1.5 +#define MEM_H_
     1.6 +
     1.7 +#include "mboot.h"
     1.8 +
     1.9 +/* maximum break for the early allocator */
    1.10 +#define MAX_BRK		0x400000
    1.11 +
    1.12 +void init_mem(struct mboot_info *mb);
    1.13 +uint32_t alloc_phys_page(void);
    1.14 +
    1.15 +#endif	/* MEM_H_ */