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

Function LogSmbiosTable

rEFIt_UEFI/Platform/smbios.cpp:271–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269
270
271EFI_SMBIOS_HANDLE LogSmbiosTable (APPLE_SMBIOS_STRUCTURE_POINTER SmbiosTableN)
272{
273 UINT16 Length = SmbiosTableLength(SmbiosTableN);
274 if (Length > MaxStructureSize) {
275 MaxStructureSize = Length;
276 }
277 CopyMem(Current, SmbiosTableN.Raw, Length);
278 Current += Length;
279 NumberOfRecords++;
280 return SmbiosTableN.Hdr->Handle;
281}
282
283// the procedure insert Buffer into SmbiosTable by copy and update Field
284// the Buffer restricted by zero or by space

Callers 15

PatchTableType0Function · 0.85
PatchTableType1Function · 0.85
PatchTableType2Function · 0.85
PatchTableType3Function · 0.85
PatchTableType4Function · 0.85
PatchTableType6Function · 0.85
PatchTableType7Function · 0.85
PatchTableType9Function · 0.85
PatchTableType11Function · 0.85
PatchTableTypeSomeFunction · 0.85
PatchTableType16Function · 0.85
PatchTableType17Function · 0.85

Calls 2

SmbiosTableLengthFunction · 0.70
CopyMemFunction · 0.50

Tested by

no test coverage detected