Init and exit lists would make it easy to add subsystems without having to ugly things like:
in the blob main() function.
Subsystems should just register their initialisation functions with a simple __init() call (much in the same way as the current __command() call works), and the main() function will call all registered init calls at boot.
Exit functions are almost the same, they turn some features off just before blob boots the kernel (like the i-cache, for example).
Log in to post a comment.