1 2 3 4 5 6 7 8 9 10 11 12
#include <mem.h> struct mem_range * sizeram(void) { static struct mem_range meminfo; meminfo.basek = 0; meminfo.sizek = 1024 * 1024; /* FIXME */ return &meminfo; }