Flash Translation Layer
1.0
|
creation and deletion of the module's interface More...
Go to the source code of this file.
Enumerations | |
enum | { PAGE_FTL_MODULE = 0 } |
Functions | |
int | module_init (const int modnum, struct flash_device **, uint64_t flags) |
generic initializer for initialize the module More... | |
int | module_exit (struct flash_device *) |
free resources in the flash module and submodule More... | |
creation and deletion of the module's interface
int module_exit | ( | struct flash_device * | flash | ) |
free resources in the flash module and submodule
flash | pointer of the flash device information |
int module_init | ( | const int | modnum, |
struct flash_device ** | __flash, | ||
uint64_t | flags | ||
) |
generic initializer for initialize the module
modnum | module number described in the include/module.h |
__flash | double pointer of the flash device information |
flags | flags for flash and submodule |