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

Function LogDataHubXStringW

rEFIt_UEFI/Platform/DataHubCpu.cpp:150–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150EFI_STATUS EFIAPI
151LogDataHubXStringW(IN EFI_GUID *TypeGuid,
152 IN CONST CHAR16 *Name,
153 const XStringW& s)
154{
155 if ( s.sizeInBytesIncludingTerminator() > MAX_UINT32 ) panic("LogDataHub s.length > MAX_UINT32");
156 return LogDataHub(TypeGuid, Name, (void*)s.wc_str(), (UINT32)s.sizeInBytesIncludingTerminator());
157}
158
159
160// SetVariablesForOSX

Callers 1

SetupDataForOSXFunction · 0.85

Calls 4

LogDataHubFunction · 0.85
panicFunction · 0.50
wc_strMethod · 0.45

Tested by

no test coverage detected