⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 docbdk.h

📁 H3 M-system NAND flash driver in Linux OS, M-DOC driver
💻 H
📖 第 1 页 / 共 2 页
字号:
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkUpdateBootAreaBlock  (FLByte FAR1 *buf ,
                 FLDword bufferLen );

/*----------------------------------------------------------------------*/
/*					x	        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkGetProtectionType    (FLWord * protectionType);

/*----------------------------------------------------------------------*/
/*					x	        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkInsertKey            (FLByte FAR1* key);

/*----------------------------------------------------------------------*/
/*					x	        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkRemoveKey            (void);

/*----------------------------------------------------------------------*/
/*					x	        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkStickyLock           (void);

/*----------------------------------------------------------------------*/
/*					x	        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkLockEnable           (FLByte enable);

/*----------------------------------------------------------------------*/
/*					x	        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkChangeKey            (FLByte FAR1* key);
/*----------------------------------------------------------------------*/
/*					x	        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkSetProtectionType    (FLWord newType);

/*----------------------------------------------------------------------*/
/*					x	        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkCreateBootArea       (FLWord noOfBlocks,
                 FLByte FAR2 * oldSign,
                 FLByte FAR2 * newSign);

/*----------------------------------------------------------------------*/
/*					x	        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkEraseBootArea        (FLWord startUnit,
                 FLWord noOfBlocks,
                 FLByte FAR2 * signature);

/*----------------------------------------------------------------------*/
/*					x	        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkGetUniqueID(FLByte FAR1* buf);

/*----------------------------------------------------------------------*/
/*					x	        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkReadOtp(FLWord offset,FLByte FAR1 * buffer,FLWord length);

/*----------------------------------------------------------------------*/
/*					x	        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkWriteAndLockOtp(const FLByte FAR1 * buffer,FLWord length);

/*----------------------------------------------------------------------*/
/*					x	        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkGetOtpSize(FLDword FAR2* sectionSize, FLDword FAR2* usedSize,
               FLWord FAR2* locked);

/*----------------------------------------------------------------------*/
/*					x	        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkWriteIPL             (FLByte FAR1 * buf , FLDword bufLen , FLDword offset,FLDword flags);

/*----------------------------------------------------------------------*/
/*						        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkCopyBootAreaFile     ( FLSByte FAR2 *fname,
                   FLWord startUnit,
                   FLDword areaLen,
                   FLByte FAR2 *checkSum,
                   FLByte FAR2 *signature );

/*----------------------------------------------------------------------*/
/*						        */
/*                                                                      */
/* XXXX	*/
/* XXXX	*/
/* XXXX	*/
/*                                                                      */
/* Parameters:                                                          */
/*        xx			    : xxxx								        */
/*                                                                      */
/* Returns:                                                             */
/*        FLStatus        : 0 on success otherwise for failure          */
/*----------------------------------------------------------------------*/
FLStatus bdkUpdateBootAreaFile(FLSByte FAR2 *fname, FLWord startUnit,
                   FLDword areaLen, FLByte FAR2 *signature);

#endif /* DOCBDK_H */




⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -