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

Function GetCrc32

rEFIt_UEFI/Platform/Settings.cpp:186–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184};
185
186UINT32
187GetCrc32 (
188 UINT8 *Buffer,
189 UINTN Size
190 )
191{
192 UINT32 x = 0;
193 UINT32 *Fake = (UINT32*)Buffer;
194 if (!Fake) return 0;
195 Size >>= 2;
196 while (Size--) x+= *Fake++;
197 return x;
198}
199
200ACPI_NAME_LIST *
201ParseACPIName(const XString8& String)

Callers 2

ScanVolumeBootcodeFunction · 0.85
GetBiosDriveCRC32Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected