Searched refs:gBS (Results 1 - 6 of 6) sorted by relevance

/fuchsia/zircon/bootloader/lib/
H A Dxefi.c20 gBS = sys->BootServices;
34 gBS->Exit(gImg, 1, 0, NULL);
39 efi_status status = gBS->LocateProtocol(&DevicePathToTextProtocol, NULL, (void**)&prot);
52 efi_status status = gBS->HandleProtocol(h, &DevicePathProtocol, (void*)&path);
55 status = gBS->AllocatePool(EfiLoaderData, sizeof(L"<NoPath>"), (void**)&err);
59 gBS->CopyMem(err, L"<NoPath>", sizeof(L"<NoPath>"));
65 status = gBS->AllocatePool(EfiLoaderData, sizeof(L"<NoString>"), (void**)&err);
69 gBS->CopyMem(err, L"<NoString>", sizeof(L"<NoString>"));
76 return gBS->OpenProtocol(h, guid, ifc, gImg, NULL,
81 return gBS
[all...]
H A Dloadfile.c79 r = gBS->AllocatePages(AllocateAnyPages, EfiLoaderData, pages, (efi_physical_addr *)&data);
89 gBS->FreePages((efi_physical_addr)data, pages);
94 gBS->FreePages((efi_physical_addr)data, pages);
/fuchsia/zircon/bootloader/src/
H A Dosboot.c48 if (gBS->FreePages(mem - FRONT_BYTES, (nbramdisk.size / PAGE_SIZE) + FRONT_PAGES)) {
60 if (gBS->AllocatePages(AllocateMaxAddress, EfiLoaderData,
91 status = gBS->CreateEvent(EVT_TIMER, 0, NULL, NULL, &TimerEvent);
97 status = gBS->SetTimer(TimerEvent, TimerPeriodic, 10000000);
120 status = gBS->WaitForEvent(wait_idx, WaitList, &Index);
151 gBS->CloseEvent(TimerEvent);
223 if (gBS->AllocatePages(AllocateMaxAddress, EfiLoaderData, KBUFSIZE / 4096, &mem)) {
239 efi_tpl prev_tpl = gBS->RaiseTPL(TPL_NOTIFY);
278 r = gBS->LoadImage(false, gImg, (efi_device_path_protocol*)mempath, (void*)nbkernel.data, nbkernel.offset, &h);
283 r = gBS
[all...]
H A Dframebuffer.c15 gBS->LocateProtocol(&GraphicsOutputProtocol, NULL, (void**)&gop);
64 gBS->Stall(1000);
107 gBS->Stall(5000000);
158 if (EFI_ERROR(gBS->AllocatePool(EfiLoaderData, sz, (void*)&tmp))) {
H A Dnetifc.c157 gBS->SetTimer(net_timer, TimerRelative, TIMER_MS(ms));
164 if (gBS->CheckEvent(net_timer) == EFI_SUCCESS) {
335 gBS->SetTimer(net_timer, TimerCancel, 0);
336 gBS->CloseEvent(net_timer);
/fuchsia/zircon/bootloader/include/
H A Dxefi.h54 #define gBS (xefi_global_state.bs) macro

Completed in 39 milliseconds