System task initialization moved to main()

- the system task initialization code does not really need to be part
  of the system task process. An earlier initialization in kernel is
  cleaner as it does not only initialize the syscalls but also irq
  hooks etc.
This commit is contained in:
Tomas Hruby
2010-02-09 15:12:20 +00:00
parent bdd4f5857f
commit 8a03d497b8
3 changed files with 5 additions and 5 deletions

View File

@@ -210,6 +210,9 @@ PUBLIC void main()
/* Architecture-dependent initialization. */
arch_init();
/* System and processes initialization */
system_init();
#if SPROFILE
sprofiling = 0; /* we're not profiling until instructed to */
#endif /* SPROFILE */