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

Function AddNvramXString8

rEFIt_UEFI/Platform/Nvram.cpp:257–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257EFI_STATUS
258AddNvramXString8(
259 IN CONST CHAR16 *VariableName,
260 IN EFI_GUID *VendorGuid,
261 IN UINT32 Attributes,
262 const XString8& s
263 )
264{
265 return AddNvramVariable(VariableName, VendorGuid, Attributes, s.sizeInBytes(), (void*)s.c_str());
266}
267
268/** Deletes NVRAM variable. */
269EFI_STATUS

Callers 1

SetVariablesForOSXFunction · 0.85

Calls 3

AddNvramVariableFunction · 0.85
sizeInBytesMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected