diff options
| author | bernard <[email protected]> | 2013-07-22 07:46:10 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2013-07-22 07:46:10 +0800 |
| commit | b96b35613f2cdc8118f083a3e2795788915319d7 (patch) | |
| tree | 4318798c8331e2b65b27ae9f1949df3a31ffce4f /include/rtdef.h | |
| parent | adc678dabbcccd1f17cc1392882934ed5791a2b8 (diff) | |
add mount table
Diffstat (limited to 'include/rtdef.h')
| -rw-r--r-- | include/rtdef.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index cb1fb7a9a9..1d64ae54f4 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -191,10 +191,16 @@ typedef int (*init_fn_t)(void); /* board init routines will be called in board_init() function */ #define INIT_BOARD_EXPORT(fn) INIT_EXPORT(fn, "1") /* device/component/fs/app init routines will be called in init_thread */ +/* device initialization */ #define INIT_DEVICE_EXPORT(fn) INIT_EXPORT(fn, "2") +/* components initialization (dfs, lwip, ...) */ #define INIT_COMPONENT_EXPORT(fn) INIT_EXPORT(fn, "3") +/* file system initialization (dfs-elm, dfs-rom, ...) */ #define INIT_FS_EXPORT(fn) INIT_EXPORT(fn, "4") -#define INIT_APP_EXPORT(fn) INIT_EXPORT(fn, "5") +/* environment initialization (mount disk, ...) */ +#define INIT_ENV_EXPORT(fn) INIT_EXPORT(fn, "5") +/* appliation initialization (rtgui application etc ...) */ +#define INIT_APP_EXPORT(fn) INIT_EXPORT(fn, "6") /* event length */ #define RT_EVENT_LENGTH 32 |
