Flash Translation Layer
1.0
include
module.h
Go to the documentation of this file.
1
8
#ifndef MODULE_H
9
#define MODULE_H
10
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
15
#include <stdint.h>
16
17
#include "
flash.h
"
18
19
enum
{
PAGE_FTL_MODULE
= 0 ,
20
};
21
22
int
module_init
(
const
int
modnum,
struct
flash_device
**, uint64_t flags);
23
int
module_exit
(
struct
flash_device
*);
24
25
#ifdef __cplusplus
26
}
27
#endif
28
#endif
module_exit
int module_exit(struct flash_device *)
free resources in the flash module and submodule
Definition:
module.c:66
PAGE_FTL_MODULE
Definition:
module.h:19
module_init
int module_init(const int modnum, struct flash_device **, uint64_t flags)
generic initializer for initialize the module
Definition:
module.c:41
flash.h
generic flash control interfaces' header
flash_device
contain the flash device information
Definition:
flash.h:31
Generated by
1.8.13