-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: Fix loading of prim_tty nif in embedded mode
When running in embedded mode the on_load function is called by the init process after the user processes are started. So we add a way for user to call the on_load function earlier in the boot sequence so that the shell can be started when it should. We cannot move the on_load calls for all modules to an earlier place in the kernel boot sequence as the code in on_load may depend on kernel services being started.
- Loading branch information
Showing
3 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters