Searched defs:img (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/ |
H A D | libefi.c | 89 EFI_LOADED_IMAGE *img; local 117 status = BS->HandleProtocol(IH, &image_protocol, (VOID**)&img); 133 if (img->LoadOptionsSize > 0 && img->LoadOptions != NULL) { 134 if (img->LoadOptionsSize == strlen(img->LoadOptions) + 1) { 135 args = malloc(img->LoadOptionsSize << 1); 136 for (argc = 0; argc < img->LoadOptionsSize; argc++) 137 args[argc] = ((char*)img->LoadOptions)[argc]; 139 args = malloc(img [all...] |
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/ |
H A D | boot1.c | 571 EFI_LOADED_IMAGE *img; local 658 status = bs->HandleProtocol(image, &LoadedImageGUID, (VOID**)&img); 661 status = bs->HandleProtocol(img->DeviceHandle, &DevicePathGUID,
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/ |
H A D | main.c | 189 EFI_LOADED_IMAGE *img; local 332 BS->HandleProtocol(IH, &imgid, (VOID**)&img); 341 printf("Image base: 0x%lx\n", (u_long)img->ImageBase); 365 if (efi_handle_lookup(img->DeviceHandle, &dev, &unit, &pool_guid) != 0)
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | fastboot.c | 367 fastboot_elf64_find_dboot_load_offset(void *img, off_t imgsz, uint32_t *offp) argument 369 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)img; 377 phdrbase = (uint8_t *)img + ehdr->e_phoff; 403 fastboot_elf32_find_loadables(void *img, off_t imgsz, fastboot_section_t *sectp, argument 406 Elf32_Ehdr *ehdr = (Elf32_Ehdr *)img; 416 phdrbase = (uint8_t *)img + ehdr->e_phoff;
|
Completed in 49 milliseconds