1 /* 2 * Size memory and create the kernel page-tables 3 * on the fly while doing so. 4 * Called from main(), this code should only be run 5 * by the bootstrap processor. 6 */ 7 #include "u.h" 8 #include "../port/lib.h" 9 #include "mem.h" 10 #include "dat.h" 11 #include "fns.h" 12 13 void meminit(void)14meminit(void) 15 { 16 extern void asmmeminit(void); 17 18 asmmeminit(); 19 } 20 21 void umeminit(void)22umeminit(void) 23 { 24 extern void asmumeminit(void); 25 26 asmumeminit(); 27 } 28