Lines Matching +full:speed +full:- +full:map
1 /*-
72 int speed, port; in bi_getboothowto() local
93 * If we found a 8250 com port and com speed, we need to in bi_getboothowto()
109 speed = -1; in bi_getboothowto()
110 port = -1; in bi_getboothowto()
113 speed = strtol(tmp, NULL, 0); in bi_getboothowto()
126 if (speed != -1 && port != -1) { in bi_getboothowto()
128 speed); in bi_getboothowto()
158 if ((desc->Attribute & EFI_MEMORY_RUNTIME) != 0) { in efi_do_vmap()
160 desc->VirtualStart = desc->PhysicalStart; in efi_do_vmap()
165 ret = RS->SetVirtualAddressMap(nset * mmsz, mmsz, mmver, vmap); in efi_do_vmap()
221 * u-boot which doesn't fill this value when buffer for memory in bi_load_efi_data()
222 * descriptors is too small (eg. 0 to obtain memory map size) in bi_load_efi_data()
228 * memory map EFI will return to us. The memory map has an in bi_load_efi_data()
230 * the AllocatePages call can itself modify the memory map, so in bi_load_efi_data()
232 * the memory map are caused by splitting a range of free in bi_load_efi_data()
242 * memory map when calling ExitBootServices, causing it to return an in bi_load_efi_data()
246 for (retry = 2; retry > 0; retry--) { in bi_load_efi_data()
248 status = BS->GetMemoryMap(&sz, mm, &efi_mapkey, &dsz, &mmver); in bi_load_efi_data()
259 BS->FreePages(addr, pages); in bi_load_efi_data()
265 status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData, in bi_load_efi_data()
274 * Read the memory map and stash it after bootinfo. Align the in bi_load_efi_data()
275 * memory map on a 16-byte boundary (the bootinfo block is page in bi_load_efi_data()
280 sz = (EFI_PAGE_SIZE * pages) - efisz; in bi_load_efi_data()
291 BS->FreePages(addr, pages); in bi_load_efi_data()
299 * map entries. in bi_load_efi_data()
304 efihdr->memory_size = sz; in bi_load_efi_data()
305 efihdr->descriptor_size = dsz; in bi_load_efi_data()
306 efihdr->descriptor_version = mmver; in bi_load_efi_data()
317 * - The 'boothowto' argument is constructed.
318 * - The 'bootdev' argument is constructed.
319 * - The 'bootinfo' struct is constructed, and copied into the kernel space.
320 * - The kernel environment is copied into kernel space.
321 * - Module metadata are formatted and placed in kernel space.
340 * The 32-bit UEFI loader is used to in bi_load()
341 * boot the 64-bit kernel on machines in bi_load()
385 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load()
386 if (addr < xp->f_addr + xp->f_size) in bi_load()
387 addr = xp->f_addr + xp->f_size; in bi_load()
468 bcopy(&kernend, md->md_data, sizeof kernend); in bi_load()
471 *modulep -= __elfN(relocation_offset); in bi_load()
474 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load()
478 bcopy(md->md_data, &vaddr, sizeof vaddr); in bi_load()
479 vaddr -= __elfN(relocation_offset); in bi_load()
480 bcopy(&vaddr, md->md_data, sizeof vaddr); in bi_load()