Lines Matching refs:gBS
20 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->CloseProtocol(h, guid, gImg, NULL);