init: Add init system calls to micro and nano kernel init

Add the call sites for the various init levels defined by the init
system.

These call sites are noops if there is no init proceedure registered
at a given init level.

pre_app_init has been renamed to app_early_init and late_initconfig to
app_late_init to better reflect the ordering and intended use of these
init levels

Change-Id: I71e38d936a97da8fe163f4b7cf0ce6725f1c903e
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
This commit is contained in:
Dirk Brandewie 2015-06-24 08:22:56 -07:00 committed by Anas Nashif
commit ac3fdf0be1
5 changed files with 72 additions and 10 deletions

View file

@ -83,7 +83,7 @@ struct device {
void *driver_data;
};
void device_do_config_level(int level);
void _sys_device_do_config_level(int level);
struct device* device_get_binding(char *name);
#endif /* _DEVICE_H_ */