MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / OvrRuntimeServices

Function OvrRuntimeServices

rEFIt_UEFI/Platform/DataHubCpu.cpp:189–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189EFI_STATUS EFIAPI
190OvrRuntimeServices(EFI_RUNTIME_SERVICES *RS)
191{
192 EFI_STATUS Status;
193 CopyMem(&gOrgRS, RS, sizeof(EFI_RUNTIME_SERVICES));
194 RS->SetVariable = (EFI_SET_VARIABLE)OvrSetVariable;
195 RS->Hdr.CRC32 = 0;
196 Status = gBS->CalculateCrc32(RS, RS->Hdr.HeaderSize, &RS->Hdr.CRC32);
197 return Status;
198}
199
200/// Sets the volatile and non-volatile variables used by OS X
201EFI_STATUS EFIAPI

Callers 1

SetVariablesForOSXFunction · 0.70

Calls 1

CopyMemFunction · 0.50

Tested by

no test coverage detected