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

Function SetNvramXString8

rEFIt_UEFI/Platform/Nvram.cpp:221–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219
220}
221EFI_STATUS
222SetNvramXString8 (
223 IN CONST CHAR16 *VariableName,
224 IN EFI_GUID *VendorGuid,
225 IN UINT32 Attributes,
226 const XString8& s
227 )
228{
229 return SetNvramVariable(VariableName, VendorGuid, Attributes, s.sizeInBytes(), (void*)s.c_str());
230}
231
232/** Sets NVRAM variable. Does nothing if variable with the same name already exists. */
233EFI_STATUS

Callers 2

SetVariablesForOSXFunction · 0.85
SetStartupDiskVolumeFunction · 0.85

Calls 3

SetNvramVariableFunction · 0.85
sizeInBytesMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected