BS
case BS:
case BS:
case BS:
case BS:
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
status = uefi_call_wrapper(BS->ExitBootServices, 2, IH, MapKey);
status = uefi_call_wrapper(BS->ExitBootServices, 2, IH, MapKey);
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
status = uefi_call_wrapper(BS->HandleProtocol, 3, IH,
status = uefi_call_wrapper(BS->HandleProtocol, 3, efi_li->DeviceHandle,
status = uefi_call_wrapper(BS->SetWatchdogTimer, 4, 0, 0, 0, NULL);
uefi_call_wrapper(BS->SetTimer, 3, event, TimerCancel, 0);
uefi_call_wrapper(BS->SignalEvent, 1, timer);
status = uefi_call_wrapper(BS->CreateEvent, 5, EVT_TIMER, 0, NULL, NULL,
status = uefi_call_wrapper(BS->CreateEvent, 5,
uefi_call_wrapper(BS->CloseEvent, 1, timer);
status = uefi_call_wrapper(BS->SetTimer, 3, periodic, TimerPeriodic,
uefi_call_wrapper(BS->CloseEvent, 1, periodic);
uefi_call_wrapper(BS->CloseEvent, 1, timer);
uefi_call_wrapper(BS->SetTimer, 3, periodic, TimerCancel, 0);
uefi_call_wrapper(BS->CloseEvent, 1, periodic);
uefi_call_wrapper(BS->CloseEvent, 1, timer);
uefi_call_wrapper(BS->Stall, 1, 1000);
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
status = uefi_call_wrapper(BS->Stall, 1, us);
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
status = uefi_call_wrapper(BS->HandleProtocol, 3,
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
status = uefi_call_wrapper(BS->OpenProtocol, 6, handles[i],
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
extern EFI_BOOT_SERVICES *BS;
status = BS->GetMemoryMap(&bi->bi_memmap_size,
if (BS->CreateEvent(EVT_TIMER, TPL_APPLICATION, 0, 0, &ev)
BS->SetTimer(ev, TimerRelative, usecs * 10);
BS->WaitForEvent(1, &ev, &junk);
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
BS->Exit(IH, status, 0, NULL);
status = BS->HandleProtocol(IH, &image_protocol, (VOID**)&img);
EFI_BOOT_SERVICES *BS;
BS->FreePages(heap, EFI_SIZE_TO_PAGES(heapsize));
BS->Exit(IH, exit_code, 0, NULL);
BS = ST->BootServices;
BS->WaitForEvent(1, &conin->WaitForKey, &junk);
return (BS->CheckEvent(conin->WaitForKey) == EFI_SUCCESS);
status = BS->LocateHandle(ByProtocol, &fpswaid, 0, &sz, &fpswa_handle);
status = BS->HandleProtocol(fpswa_handle, &fpswaid, (VOID **)&fpswa);
status = BS->LocateHandle(ByProtocol, &sfsid, 0, &sz, 0);
status = BS->LocateHandle(ByProtocol, &sfsid, 0,
status = BS->HandleProtocol(dev->d_handle, &sfsid, (VOID **)&sfs);
status = BS->LocateHandle(ByProtocol, &netid, 0, &sz, 0);
status = BS->LocateHandle(ByProtocol, &netid, 0, &sz, handles);
BS->HandleProtocol(handles[i], &netid,
BS->GetMemoryMap(&size, NULL, &mapkey, &descsz, &descver);
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData, pages,
status = BS->ExitBootServices(IH, mapkey);
BS->HandleProtocol(IH, &imgid, (VOID**)&img);
BS->SetWatchdogTimer(0, 0, 0, NULL);
status = BS->GetMemoryMap(&sz, 0, &key, &dsz, &dver);
status = BS->GetMemoryMap(&sz, map, &key, &dsz, &dver);
case BS:
O|BS, E|TB, E|NL, O|CC, E|VT, O|CR, O|CC, E|CC, /* bs - si */
status = uefi_call_wrapper(BS->CheckEvent, 1, ST->ConIn->WaitForKey);
status = uefi_call_wrapper(BS->HandleProtocol, 3, efi_block[n],
status = uefi_call_wrapper(BS->HandleProtocol, 3, efi_block[n],
status = uefi_call_wrapper(BS->ExitBootServices, 2, IH, mapkey);
status = uefi_call_wrapper(BS->Exit, 4, IH, EFI_ABORTED, 0, NULL);
status = uefi_call_wrapper(BS->CreateEvent, 5, EVT_TIMER, TPL_APPLICATION, 0, 0, &delay_ev);
uefi_call_wrapper(BS->SetTimer, 3, delay_ev, TimerRelative, us * 10);
uefi_call_wrapper(BS->WaitForEvent, 3, 1, &delay_ev, &val);
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateAnyPages, EfiLoaderData, sz, &heap_start);
status = uefi_call_wrapper(BS->HandleProtocol, 3, imageHandle, &LoadedImageProtocol, (void **)&efi_li);
status = uefi_call_wrapper(BS->HandleProtocol, 3, efi_li->DeviceHandle, &DevicePathProtocol, (void **)&efi_bootdp);
status = uefi_call_wrapper(BS->HandleProtocol, 3, gop_handle[n], &GraphicsOutputProtocol, (void **)&gop);
uefi_call_wrapper(BS->FreePages, 2, dtbo_addr,
uefi_call_wrapper(BS->FreePages, 2, rndseed_addr, EFI_SIZE_TO_PAGES(rndseed_size));
uefi_call_wrapper(BS->FreePages, 2, initrd_addr, EFI_SIZE_TO_PAGES(initrd_size));
uefi_call_wrapper(BS->FreePages, 2, dtb_addr, EFI_SIZE_TO_PAGES(dtb_size));
status = uefi_call_wrapper(BS->CreateEvent, 5, EVT_TIMER | EVT_NOTIFY_SIGNAL, TPL_CALLBACK,
status = uefi_call_wrapper(BS->SetTimer, 3, getsecs_ev, TimerPeriodic, 10000000); /* 1s in "100ns" units */
status = uefi_call_wrapper(BS->HandleProtocol, 3,
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
status = uefi_call_wrapper(BS->OpenProtocol, 6, handles[i],
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
uefi_call_wrapper(BS->SetWatchdogTimer, 4, timeout, code, 0, NULL);
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateAnyPages,
uefi_call_wrapper(BS->FreePages, 2, addr,
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress, EfiLoaderData,
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateAnyPages, EfiLoaderData,
uefi_call_wrapper(BS->FreePages, 2, addr, EFI_SIZE_TO_PAGES(alloc_size));
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress, EfiLoaderData,
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateAnyPages, EfiLoaderData,
case BS: /* can't go back further */
case BS:
putchar(BS);