BS
tpl = BS->RaiseTPL(TPL_NOTIFY);
BS->RestoreTPL(tpl);
status = BS->GetMemoryMap(&map_size,
status = BS->GetMemoryMap(&map_size,
status = BS->ExitBootServices(IH, key);
ret = BS->GetMemoryMap(&cur_size, mmap, NULL, &desc_size, NULL);
extern EFI_BOOT_SERVICES *BS;
BS->Stall(usecs);
BS->FreePool(text);
status = BS->LocateDevicePath(&gEfiDevicePathProtocolGuid,
status = BS->CloseProtocol(handle, &gEfiDevicePathProtocolGuid, IH,
status = BS->LocateProtocol(&gEfiDevicePathToTextProtocolGuid,
BS->FreePages((EFI_PHYSICAL_ADDRESS)(uintptr_t)shadow_fb,
status = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData,
status = BS->OpenProtocol(ST->ConsoleInHandle,
status = BS->LocateProtocol(&gEfiConsoleControlProtocolGuid, NULL,
status = BS->CheckEvent(coninex->WaitForKeyEx);
status = BS->CheckEvent(conin->WaitForKey);
BS->ConnectController(handles[i], NULL, NULL, true);
status = BS->InstallMultipleProtocolInterfaces(
status = BS->OpenProtocol(handle, &gEfiIsaIoProtocolGuid,
status = BS->OpenProtocol(h, &gEfiSimpleNetworkProtocolGuid,
status = BS->OpenProtocol(handle, &gEfiSioProtocolGuid,
(void) BS->CloseProtocol(handle, &gEfiSioProtocolGuid,
status = BS->OpenProtocol(handle, &gEfiIsaIoProtocolGuid,
(void) BS->CloseProtocol(handle, &gEfiIsaIoProtocolGuid, IH, NULL);
status = BS->OpenProtocol(handle, &gEfiSerialIoProtocolGuid,
EFI_BOOT_SERVICES *BS;
return (BS->OpenProtocol(handle, protocol, interface, IH, NULL,
status = BS->LocateHandle(ByProtocol, protocolguid,
status = BS->LocateHandle(ByProtocol, protocolguid,
BS->CreateEvent(EVT_TIMER | EVT_NOTIFY_SIGNAL, TPL_CALLBACK,
BS->SetTimer(time_event, TimerPeriodic, 10000000);
BS->SetTimer(time_event, TimerCancel, 0);
BS->CloseEvent(time_event);
err = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData, 1,
err = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData, 3,
BS->FreePages(lidt_pa, EFI_SIZE_TO_PAGES(fw_idt.rd_limit));
BS->FreePages(exc_stack_pa, 1);
BS->FreePages(tss_pa,
BS->FreePages(loader_gdt_pa, loader_gdt_pa_size);
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData, 1,
status = BS->AllocatePages(AllocateAnyPages,
status = BS->GetMemoryMap(&sz, mm, &mapkey, &mmsz, &mmver);
status = BS->ExitBootServices(IH, mapkey);
BS->GetMemoryMap(&sz, NULL, &mapkey, &mmsz, &mmver);
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData, pages,
BS->GetMemoryMap(&sz, NULL, &efi_mapkey, &mmsz, &mmver);
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
status = BS->GetMemoryMap(&sz, mm, &efi_mapkey, &mmsz, &mmver);
status = BS->ExitBootServices(IH, efi_mapkey);
BS->FreePages(addr, pages);
status = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData,
(void) BS->FreePages(addr, pages);
BS->FreePages(heap, EFI_SIZE_TO_PAGES(heapsize));
BS->Exit(IH, exit_code, 0, NULL);
BS = ST->BootServices;
status = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData,
BS->Exit(IH, status, 0, NULL);
BS->FreePool(resattr);
status = BS->OpenProtocol(h, guid, (void **)&edid, IH, NULL,
status = BS->OpenProtocol(h, guid, (void **)&edid, IH, NULL,
status = BS->LocateProtocol(&gEfiUgaDrawProtocolGuid, NULL,
status = BS->GetMemoryMap(&sz, 0, &key, &dsz, &dver);
status = BS->GetMemoryMap(&sz, map, &key, &dsz, &dver);
status = BS->LocateHandle(AllHandles, NULL, NULL, &bufsz, buffer);
status = BS->LocateHandle(AllHandles, NULL, NULL, &bufsz, buffer);
status = BS->ProtocolsPerHandle(handle, &protocols, &nproto);
BS->FreePool(protocols);
status = BS->AllocatePool(EfiLoaderCode, (UINTN)st.st_size, &buf);
(void) BS->FreePool(buf);
status = BS->LoadImage(FALSE, IH, NULL, buf, st.st_size, &loaderhandle);
(void) BS->FreePool(buf);
(void) BS->UnloadImage(loaded_image);
status = BS->StartImage(loaderhandle, NULL, NULL);
status = BS->UnloadImage(loaded_image);
BS->SetWatchdogTimer(0, 0, 0, NULL);
status = BS->GetMemoryMap(&size, efi_mmap, &key, &desc_size, NULL);
status = BS->GetMemoryMap(&size, efi_mmap, &key, &desc_size, NULL);
c = BS;
c = BS;
static char BS = '\b';
write (2, &BS, 1);
write (2, &BS, 1);
write (2, &BS, 1);
if (c == BS) {
if (*cmd == BS) {
extern bool AM, BS, CA, DA, DB, EO, HC, HZ, IN, MI, MS, NC, NS, OS, UL,
if (outcol - destcol <= i && (BS || BC))
if (j > i + 1 || outcol > destcol && !BS && !BC) {
if (destcol - outcol > 4 && i < COLS && (BC || BS)) {
&AM, &BS, &DA, &DB, &EO, &HC, &HZ, &IN, &MI,
bool AM, BS, CA, DA, DB, EO, HC, HZ, IN, MI, MS, NC, NS, OS, UL, XB, XN,
extern struct _ACPI_EFI_BOOT_SERVICES *BS;