lib/sw_services/xilnvm/examples/xilnvm_efuse_versal_client_example.c
static int XilNvm_EfuseShowRevocationId(u8 RevokeIdNum)
{
	int Status = XST_FAILURE;
	u32 *RegData = (u32 *)CacheAlignedArr;

	Xil_DCacheInvalidateRange((UINTPTR)&CacheAlignedArr,
			sizeof(CacheAlignedArr));

	Status = XNvm_EfuseReadRevocationId((UINTPTR)RegData,
			(XNvm_RevocationId)RevokeIdNum);
	if (Status != XST_SUCCESS) {
		goto END;
	}

	Xil_DCacheInvalidateRange((UINTPTR)CacheAlignedArr,
			sizeof(CacheAlignedArr));

	xil_printf("RevocationId%d Fuse:%08x\n\r", RevokeIdNum, *RegData);
	Status = XST_SUCCESS;

END:
	return Status;
}
/****************************************************************************/
/**
 * This function reads Revocation ID eFuses data and displays.
 *
 * @param	RevokeIdNum	Revocation ID number to read
 *
 * @return
 *	- XST_SUCCESS - If the read request is successful.
 *	- Error code - On failure.
 *
 ******************************************************************************/
This function reads Revocation ID eFuses data and displays.
@param       RevokeIdNum     Revocation ID number to read

@return
- XST_SUCCESS - If the read request is successful.
- Error code - On failure.
This function reads Revocation ID eFuses data and displays . @param RevokeIdNum Revocation ID number to read @return - XST_SUCCESS - If the read request is successful . - Error code - On failure .
static int XilNvm_EfuseShowRevocationId(u8 RevokeIdNum)
{
	int Status = XST_FAILURE;
	u32 *RegData = (u32 *)CacheAlignedArr;
	Xil_DCacheInvalidateRange((UINTPTR)&CacheAlignedArr,
			sizeof(CacheAlignedArr));
	Status = XNvm_EfuseReadRevocationId((UINTPTR)RegData,
			(XNvm_RevocationId)RevokeIdNum);
	if (Status != XST_SUCCESS) {
		goto END;
	}
	Xil_DCacheInvalidateRange((UINTPTR)CacheAlignedArr,
			sizeof(CacheAlignedArr));
	xil_printf("RevocationId%d Fuse:%08x\n\r", RevokeIdNum, *RegData);
	Status = XST_SUCCESS;
END:
	return Status;
}
static int XilNvm_EfuseShowRevocationId ( u8 RevokeIdNum ) { int Status = XST_FAILURE ; u32 * RegData = ( u32 * ) CacheAlignedArr ; Xil_DCacheInvalidateRange ( ( UINTPTR ) & CacheAlignedArr , sizeof ( CacheAlignedArr ) ) ; Status = XNvm_EfuseReadRevocationId ( ( UINTPTR ) RegData , ( XNvm_RevocationId ) RevokeIdNum ) ; if ( Status != XST_SUCCESS ) { goto END ; } Xil_DCacheInvalidateRange ( ( UINTPTR ) CacheAlignedArr , sizeof ( CacheAlignedArr ) ) ; xil_printf ( " \n \r " , RevokeIdNum , * RegData ) ; Status = XST_SUCCESS ; END : return Status ; }
This function reads Revocation ID eFuses data and displays.
This function reads Revocation ID eFuses data and displays .