BS
extern char AM, BS, CA, DA, EO, HC, IN, MI, MS, NC, NS, OS,
if (ch && ch != BS)
if (ch == BS)
assert(ch == 0 || ch == BS);
if (ch && ch != BS && menu->pindex > 0)
result = _nc_Match_Next_Character_In_Item_Name(menu, BS, &item);
BS->Exit(IH, 0, 0, NULL);
status = BS->ExitBootServices(IH, mmap_key);
status = BS->LocateHandle(ByProtocol, &blkio_guid, 0, &sz, 0);
status = BS->LocateHandle(ByProtocol, &blkio_guid,
status = BS->HandleProtocol(handles[i], &blkio_guid,
status = BS->HandleProtocol(handles[i], &devp_guid,
status = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData,
status = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData,
status = BS->GetMemoryMap(&siz, NULL, &mapkey, &mmsiz, &mmver);
status = BS->GetMemoryMap(&siz, mm, &mapkey, &mmsiz, &mmver);
EFI_BOOT_SERVICES *BS;
status = BS->LocateHandleBuffer(ByProtocol, &gop_guid, NULL, &nhandles,
status = BS->HandleProtocol(handles[i], &gop_guid,
status = BS->HandleProtocol(handles[i], &devp_guid,
BS->FreePool(handles);
status = BS->LocateProtocol(&con_guid, NULL, (void **)&conctrl);
BS->WaitForEvent(1, &conin->WaitForKey, &dummy);
status = BS->LocateHandle(ByProtocol, &serio_guid, 0, &sz, 0);
status = BS->LocateHandle(ByProtocol, &serio_guid,
status = BS->HandleProtocol(handles[i], &devp_guid,
status = BS->HandleProtocol(handles[i], &serio_guid,
BS = ST->BootServices;
BS->SetWatchdogTimer(0, 0, 0, NULL);
status = BS->AllocatePool(EfiRuntimeServicesData,
status = BS->HandleProtocol(image, &imgp_guid, (void **)&imgp);
status = BS->HandleProtocol(imgp->DeviceHandle, &devp_guid,
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
BS->FreePages(addr, EFI_SIZE_TO_PAGES(size));
extern EFI_BOOT_SERVICES *BS;
extern EFI_BOOT_SERVICES *BS;
status = BS->HandleProtocol(IH, &lip_guid, (void **)&li);
status = BS->HandleProtocol(li->DeviceHandle, &sfsp_guid,
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
BS->FreePages((paddr_t)tftpfile->inbuf,
extern EFI_BOOT_SERVICES *BS;
status = BS->LocateHandleBuffer(ByProtocol, &pxe_guid, NULL, &nhandles,
status = BS->HandleProtocol(handles[i], &devp_guid,
status = BS->HandleProtocol(handles[i], &pxe_guid,
extern EFI_BOOT_SERVICES *BS;
status = BS->LocateProtocol(&rng_guid, NULL, (void **)&rng);
if (BS->AllocatePages(AllocateMaxAddress, EfiLoaderData,
extern EFI_BOOT_SERVICES *BS;
BS->SetWatchdogTimer(0, 0, 0, NULL);
status = BS->GetMemoryMap(&siz, NULL, &mapkey, &mmsiz, &mmver);
status = BS->GetMemoryMap(&siz, mm, &mapkey, &mmsiz, &mmver);
status = BS->HandleProtocol(image, &imgp_guid, (void **)&imgp);
status = BS->HandleProtocol(imgp->DeviceHandle, &devp_guid,
if (BS->AllocatePages(AllocateAddress, type,
BS->FreePages((uint64_t)fdt_override,
status = BS->LocateProtocol(&dt_fixup_guid, NULL, (void **)&dt_fixup);
BS->FreePages(addr, EFI_SIZE_TO_PAGES(dt_size));
BS->FreePages(addr, EFI_SIZE_TO_PAGES(dt_size));
BS->FreePages((uint64_t)fdt_override,
BS->Exit(IH, 0, 0, NULL);
BS->WaitForEvent(1, &conin->WaitForKey, &dummy);
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
status = BS->LocateHandle(ByProtocol, &blkio_guid, 0, &sz, 0);
status = BS->LocateHandle(ByProtocol, &blkio_guid, 0, &sz,
status = BS->HandleProtocol(handles[i], &blkio_guid,
status = BS->HandleProtocol(handles[i], &devp_guid,
status = BS->LocateProtocol(&gop_guid, NULL, (void **)&gop);
EFI_BOOT_SERVICES *BS;
if (BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
status = BS->ExitBootServices(IH, mmap_key);
status = BS->CreateEvent(EVT_TIMER | EVT_NOTIFY_SIGNAL, TPL_CALLBACK,
status = BS->SetTimer(timer, TimerPeriodic, 10000000);
BS->CloseEvent(timer);
BS = ST->BootServices;
BS->FreePages(addr, EFI_SIZE_TO_PAGES(size));
extern EFI_BOOT_SERVICES *BS;
extern EFI_BOOT_SERVICES *BS;
status = BS->HandleProtocol(IH, &lip_guid, (void **)&li);
status = BS->HandleProtocol(li->DeviceHandle, &sfsp_guid,
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
status = BS->HandleProtocol(handles[i], &net_guid,
status = BS->HandleProtocol(handles[i], &pxe_guid,
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
BS->FreePages((paddr_t)tftpfile->inbuf,
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
BS->FreePages(txbuf, EFI_SIZE_TO_PAGES(RECV_SIZE));
BS->FreePages(txbuf, EFI_SIZE_TO_PAGES(RECV_SIZE));
extern EFI_BOOT_SERVICES *BS;
status = BS->LocateHandleBuffer(ByProtocol, &pxe_guid, NULL,
status = BS->HandleProtocol(handles[i], &devp_guid,
extern EFI_BOOT_SERVICES *BS;
status = BS->LocateProtocol(&rng_guid, NULL, (void **)&rng);
BS->FreePages((uint64_t)fdt_override,
status = BS->LocateProtocol(&dt_fixup_guid, NULL, (void **)&dt_fixup);
BS->FreePages(addr, EFI_SIZE_TO_PAGES(dt_size));
BS->FreePages(addr, EFI_SIZE_TO_PAGES(dt_size));
BS->FreePages((uint64_t)fdt_override,
BS->Exit(IH, 0, 0, NULL);
BS->WaitForEvent(1, &conin->WaitForKey, &dummy);
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
status = BS->LocateHandle(ByProtocol, &blkio_guid, 0, &sz, 0);
status = BS->LocateHandle(ByProtocol, &blkio_guid, 0, &sz,
status = BS->HandleProtocol(handles[i], &blkio_guid,
status = BS->HandleProtocol(handles[i], &devp_guid,
status = BS->LocateProtocol(&gop_guid, NULL, (void **)&gop);
EFI_BOOT_SERVICES *BS;
if (BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
status = BS->AllocatePages(AllocateAddress, EfiLoaderData,
status = BS->ExitBootServices(IH, mmap_key);
status = BS->CreateEvent(EVT_TIMER | EVT_NOTIFY_SIGNAL, TPL_CALLBACK,
status = BS->SetTimer(timer, TimerPeriodic, 10000000);
BS->CloseEvent(timer);
BS = ST->BootServices;
status = BS->GetMemoryMap(&siz, NULL, &mapkey, &mmsiz, &mmver);
status = BS->GetMemoryMap(&siz, mm, &mapkey, &mmsiz, &mmver);
BS->SetWatchdogTimer(0, 0, 0, NULL);
status = BS->HandleProtocol(image, &imgp_guid, (void **)&imgp);
if (BS->AllocatePages(AllocateAddress, type,
status = BS->HandleProtocol(imgp->DeviceHandle, &devp_guid,
BS->FreePages(addr, EFI_SIZE_TO_PAGES(size));
extern EFI_BOOT_SERVICES *BS;
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
status = BS->HandleProtocol(handles[i], &net_guid,
status = BS->HandleProtocol(handles[i], &pxe_guid,
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
BS->FreePages((paddr_t)tftpfile->inbuf,
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
BS->FreePages(txbuf, EFI_SIZE_TO_PAGES(RECV_SIZE));
BS->FreePages(txbuf, EFI_SIZE_TO_PAGES(RECV_SIZE));
extern EFI_BOOT_SERVICES *BS;
status = BS->LocateHandleBuffer(ByProtocol, &pxe_guid, NULL, &nhandles,
status = BS->HandleProtocol(handles[i], &devp_guid,
BS->FreePages((uint64_t)fdt_override,
status = BS->HandleProtocol(imgp->DeviceHandle, &devp_guid,
status = BS->LocateProtocol(&dt_fixup_guid, NULL, (void **)&dt_fixup);
BS->FreePages(addr, EFI_SIZE_TO_PAGES(dt_size));
BS->FreePages(addr, EFI_SIZE_TO_PAGES(dt_size));
BS->FreePages((uint64_t)fdt_override,
BS->Exit(IH, 0, 0, NULL);
BS->WaitForEvent(1, &conin->WaitForKey, &dummy);
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
status = BS->LocateHandle(ByProtocol, &blkio_guid, 0, &sz, 0);
status = BS->LocateHandle(ByProtocol, &blkio_guid, 0, &sz,
status = BS->HandleProtocol(handles[i], &blkio_guid,
status = BS->HandleProtocol(handles[i], &devp_guid,
status = BS->LocateProtocol(&gop_guid, NULL, (void **)&gop);
EFI_BOOT_SERVICES *BS;
if (BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
status = BS->ExitBootServices(IH, mmap_key);
status = BS->CreateEvent(EVT_TIMER | EVT_NOTIFY_SIGNAL, TPL_CALLBACK,
status = BS->SetTimer(timer, TimerPeriodic, 10000000);
BS->CloseEvent(timer);
BS = ST->BootServices;
status = BS->GetMemoryMap(&siz, NULL, &mapkey, &mmsiz, &mmver);
status = BS->GetMemoryMap(&siz, mm, &mapkey, &mmsiz, &mmver);
BS->SetWatchdogTimer(0, 0, 0, NULL);
if (BS->AllocatePages(AllocateAddress, EfiLoaderData,
status = BS->HandleProtocol(image, &imgp_guid, (void **)&imgp);
BS->FreePages(addr, EFI_SIZE_TO_PAGES(size));
extern EFI_BOOT_SERVICES *BS;
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
status = BS->HandleProtocol(handles[i], &net_guid,
status = BS->HandleProtocol(handles[i], &pxe_guid,
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
BS->FreePages((paddr_t)tftpfile->inbuf,
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
BS->FreePages(txbuf, EFI_SIZE_TO_PAGES(RECV_SIZE));
BS->FreePages(txbuf, EFI_SIZE_TO_PAGES(RECV_SIZE));
extern EFI_BOOT_SERVICES *BS;
status = BS->LocateHandleBuffer(ByProtocol, &pxe_guid, NULL,
status = BS->HandleProtocol(handles[i], &devp_guid,
extern EFI_BOOT_SERVICES *BS;
status = BS->LocateProtocol(&riscv_guid, NULL, (void **)&riscv);
extern EFI_BOOT_SERVICES *BS;
status = BS->LocateProtocol(&rng_guid, NULL, (void **)&rng);
O|BS, E|TB, E|NL, O|CC, E|VT, O|CR, O|CC, E|CC, /* bs - si */
case BS: /* can't go back further */