efi_memory_get_memmap
int efi_memory_get_memmap(struct bi_memmap_entry **memmap, size_t *num);
if (efi_memory_get_memmap(&memmap, &num) != 0)