Lines Matching refs:mdesc
40 struct prom_pmemblock mdesc[PROM_MAX_PMEMBLOCKS];
90 memset(mdesc, 0, sizeof(mdesc));
92 mdesc[0].type = yamon_dontuse;
93 mdesc[0].base = 0x00000000;
94 mdesc[0].size = 0x00001000;
96 mdesc[1].type = yamon_prom;
97 mdesc[1].base = 0x00001000;
98 mdesc[1].size = 0x000ef000;
108 mdesc[2].type = yamon_dontuse;
109 mdesc[2].base = 0x000f0000;
110 mdesc[2].size = 0x00010000;
112 mdesc[2].type = yamon_prom;
113 mdesc[2].base = 0x000f0000;
114 mdesc[2].size = 0x00010000;
117 mdesc[3].type = yamon_dontuse;
118 mdesc[3].base = 0x00100000;
119 mdesc[3].size = CPHYSADDR(PFN_ALIGN((unsigned long)&_end)) - mdesc[3].base;
121 mdesc[4].type = yamon_free;
122 mdesc[4].base = CPHYSADDR(PFN_ALIGN(&_end));
123 mdesc[4].size = memsize - mdesc[4].base;
125 return &mdesc[0];