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

Function PutDword

BaseTools/Source/C/Common/EfiCompress.c:348–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346}
347
348STATIC
349VOID
350PutDword(
351 IN UINT32 Data
352 )
353/*++
354
355Routine Description:
356
357 Put a dword to output stream
358
359Arguments:
360
361 Data - the dword to put
362
363Returns: (VOID)
364
365--*/
366{
367 if (mDst < mDstUpperLimit) {
368 *mDst++ = (UINT8)(((UINT8)(Data )) & 0xff);
369 }
370
371 if (mDst < mDstUpperLimit) {
372 *mDst++ = (UINT8)(((UINT8)(Data >> 0x08)) & 0xff);
373 }
374
375 if (mDst < mDstUpperLimit) {
376 *mDst++ = (UINT8)(((UINT8)(Data >> 0x10)) & 0xff);
377 }
378
379 if (mDst < mDstUpperLimit) {
380 *mDst++ = (UINT8)(((UINT8)(Data >> 0x18)) & 0xff);
381 }
382}
383
384STATIC
385EFI_STATUS

Callers 1

EfiCompressFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected