#include "MemIf.h"

//#define MAX_BLANK_CHECK_SIZE (((FEE_SEC_HEADER_SIZE/FEE_NUM_MARKER_IN_HEADER) > FEE_PAGE_LEN) ? (FEE_SEC_HEADER_SIZE/FEE_NUM_MARKER_IN_HEADER) : FEE_PAGE_LEN)

//Std_ReturnType Fls_BlankCheck(Fls_AddressType TargetAddress,
//                                          Fls_LengthType Length)
// {
// 	Std_ReturnType RetVal;
//     static uint8 compare_block[MAX_BLANK_CHECK_SIZE];
//     uint32 blockIndex;
//     for(blockIndex=0; blockIndex < Length; blockIndex++)
//     {
//     	compare_block[blockIndex] = (uint8)FEE_ERASE_PATTERN;
//     }
//
//     RetVal = Fls_Compare((Fls_AddressType)TargetAddress, &compare_block[0] , Length );
// 	return RetVal;
//
// }
//
 void NvM_IllegalStateNotification(void)
 { 
    volatile static int count = 0;
    count++;
 }
 void NvM_JobErrorNotification(void)
 { volatile static int count = 0;
 count++;
 }
 
// MemIf_Rb_MigrationResult_ten Fee_Rb_GetMigrationResult(uint16 Blocknumber)
// {
//   return MEMIF_RB_MIGRATION_RESULT_NOT_NECESSARY_E;
// }
//
//
//
//Std_ReturnType Fee_Rb_VarLenRead(VAR(uint16, AUTOMATIC) Blocknumber,
//                                                 VAR(uint16, AUTOMATIC) BlockOffset,
//                                                 P2VAR(uint8, AUTOMATIC, FEE_APPL_DATA) DataBufferPtr,
//                                                 VAR(uint16, AUTOMATIC) Length)
//{
//    /* unused parameters */
//    (void)(Blocknumber);
//    (void)(BlockOffset);
//    (void)(DataBufferPtr);
//    (void)(Length);
//
//   /* Return with an error */
//   return (E_NOT_OK);
//}
//
//Std_ReturnType Fee_Rb_VarLenWrite(VAR(uint16, AUTOMATIC) Blocknumber,
//                                                  P2VAR(uint8, AUTOMATIC, FEE_APPL_DATA) DataBufferPtr,
//                                                  VAR(uint16, AUTOMATIC) Length)
//{
//    /* unused parameters */
//    (void)(Blocknumber);
//    (void)(DataBufferPtr);
//    (void)(Length);
//
//   /* Return with an error */
//   return (E_NOT_OK);
//}
