|
Flash Translation Layer
1.0
|
this deal the initialization and removing of the module More...
#include <assert.h>#include "include/flash.h"#include "include/module.h"#include "include/page.h"#include "include/log.h"
Functions | |
| int | module_init (const int modnum, struct flash_device **__flash, uint64_t flags) |
| generic initializer for initialize the module More... | |
| int | module_exit (struct flash_device *flash) |
| free resources in the flash module and submodule More... | |
Variables | |
| static int(* | submodule_init [])(struct flash_device *, uint64_t) |
| submodule list table More... | |
this deal the initialization and removing of the module
| 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 |

|
static |
submodule list table
| flash | pointer of the flash device information |
| int | flags for flash module |
include/module.h
1.8.13