btinfo_efimemmap
allocsz = sizeof(struct btinfo_efimemmap) - 1
btinfo_efimemmap = alloc(allocsz);
btinfo_efimemmap->num = NoEntries;
btinfo_efimemmap->version = DescriptorVersion;
btinfo_efimemmap->size = DescriptorSize;
memcpy(btinfo_efimemmap->memmap, desc, NoEntries * DescriptorSize);
BI_ADD(btinfo_efimemmap, BTINFO_EFIMEMMAP, allocsz);
struct btinfo_efimemmap *btinfo_efimemmap = NULL;
if (btinfo_efimemmap == NULL)
memmap_len = btinfo_efimemmap->num * btinfo_efimemmap->size;
mbt->descr_size = btinfo_efimemmap->size;
mbt->descr_vers = btinfo_efimemmap->version;
memcpy(mbt + 1, btinfo_efimemmap->memmap, memmap_len);
extern struct btinfo_efimemmap *btinfo_efimemmap;
struct btinfo_efimemmap *efimm;
struct btinfo_efimemmap *efimm;
struct btinfo_efimemmap *bie;
bie = (struct btinfo_efimemmap *)bootinfo_init(BTINFO_EFIMEMMAP,
struct btinfo_efimemmap *biem;