lib/sw_services/xilloader/src/xloader_cmd.c
static void XLoader_GetExportableBuffer(u32 *Buffer, u32 Mask, u32 Size)
{
	u32 Index;

	Size >>= XPLMI_WORD_LEN_SHIFT;
	for (Index = 0U; Index < Size; Index++) {
		if ((Mask & 0x1U) == 0U) {
			Buffer[Index] = 0U;
		}
		Mask >>= 1U;
	}
}
/*****************************************************************************/
/**
 * @brief	This function zeroizes non-exportable fields of a buffer
 *
 * @param	Buffer is the pointer to the metaheader buffer
 * @param	Mask is the exportable mask which is used to zeroise the
 * non-exportable fields of the buffer
 * @param	Size is the size of the buffer in bytes
 *
 * @return	None
 *
 *****************************************************************************/
@brief       This function zeroizes non-exportable fields of a buffer
@param       Buffer is the pointer to the metaheader buffer
@param       Mask is the exportable mask which is used to zeroise the
non-exportable fields of the buffer
@param       Size is the size of the buffer in bytes

@return      None
@brief This function zeroizes non - exportable fields of a buffer @param Buffer is the pointer to the metaheader buffer @param Mask is the exportable mask which is used to zeroise the non - exportable fields of the buffer @param Size is the size of the buffer in bytes @return None
static void XLoader_GetExportableBuffer(u32 *Buffer, u32 Mask, u32 Size)
{
	u32 Index;
	Size >>= XPLMI_WORD_LEN_SHIFT;
	for (Index = 0U; Index < Size; Index++) {
		if ((Mask & 0x1U) == 0U) {
			Buffer[Index] = 0U;
		}
		Mask >>= 1U;
	}
}
static void XLoader_GetExportableBuffer ( u32 * Buffer , u32 Mask , u32 Size ) { u32 Index ; Size >>= XPLMI_WORD_LEN_SHIFT ; for ( Index = 0U ; Index < Size ; Index ++ ) { if ( ( Mask & 0x1U ) == 0U ) { Buffer [ Index ] = 0U ; } Mask >>= 1U ; } }
@brief       This function zeroizes non-exportable fields of a buffer
 @param       Buffer is the pointer to the metaheader buffer
 @param       Mask is the exportable mask which is used to zeroise the
 non-exportable fields of the buffer
 @param       Size is the size of the buffer in bytes
@brief This function zeroizes non - exportable fields of a buffer @param Buffer is the pointer to the metaheader buffer @param Mask is the exportable mask which is used to zeroise the non - exportable fields of the buffer @param Size is the size of the buffer in bytes