Remove the idle process.
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 19 Mar 2010 16:17:59 +0000 (16:17 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 19 Mar 2010 16:17:59 +0000 (16:17 +0000)
commitd9d931610bca1df6ceb9227eacc9ff2c7f89b77a
treebdbce17d1d0ad5c50c9a408b21259fceda2b50fe
parent1c675e3194ab2c54098866018f4856c736922553
Remove the idle process.

We can get rid of the idle process also with the preemptive kernel and
perform the idle loop inside proc_schedule().

In this way we can reduce the kernel memory footprint and better
optimize memory usage.

== avr-kern example ==
<before>
   text    data     bss     dec     hex filename
  24632     238    5713   30583    7777 images/avr-kern.elf
<after>
   text    data     bss     dec     hex filename
  24498     234    5521   30253    762d images/avr-kern.elf

== at91sam7x example ==
<before>
   text    data     bss     dec     hex filename
  42416     184   10120   52720    cdf0 images/at91sam7x.elf
<after>
   text    data     bss     dec     hex filename
  42228     184    9748   52160    cbc0 images/at91sam7x.elf

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3250 38d2e660-2303-0410-9eaa-f027e97ec537
14 files changed:
bertos/cfg/cfg_proc.h
bertos/kern/coop.c
bertos/kern/idle.c [deleted file]
bertos/kern/idle.h [deleted file]
bertos/kern/preempt.c
bertos/kern/proc.c
bertos/kern/proc.h
bertos/kern/proc_p.h
examples/at91sam7/at91sam7s.mk
examples/at91sam7/at91sam7x.mk
examples/at91sam7/cfg/cfg_proc.h
examples/demo/cfg/cfg_proc.h
examples/demo/demo.mk
test/run_tests.sh