23 lines
393 B
C
23 lines
393 B
C
#ifndef NAND_FTL_H
|
|
#define NAND_FTL_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
|
|
int nand_ftl_init(void);
|
|
int nand_ftl_format(void);
|
|
void nand_ftl_deinit(void);
|
|
|
|
/* 诊断接口:打印 journal 状态 / 全扫 checkpoint 分布(跨复位持久性分析) */
|
|
void nand_ftl_log_state(const char *tag);
|
|
void nand_ftl_scan_checks(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|