minix/kernel/arch/i386
Tomas Hruby ad4dcaab71 Idle task never runs
- idle task becomes a pseudo task which is never scheduled. It is never put on
  any run queue and never enters userspace. An entry for this task still remains
  in the process table for time accounting

- Instead of panicing if there is not process to schedule, pick_proc() returns
  NULL which is a signal to put the cpu in an idle state and set everything in
  such a way that after receiving and interrupt it looks like idle task was
  preempted

- idle task is set non-preemptible to avoid handling in the timer interrupt code
  which make userspace scheduling simpler as idle task does not need to be
  handled as a special case.
2009-11-12 08:42:18 +00:00
..
include Primary goal for these changes is: 2009-09-21 14:31:52 +00:00
arch_do_vmctl.c All macros defining rts flags are prefixed with RTS_ 2009-11-10 09:11:13 +00:00
clock.c Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
clock.h Clock task split 2009-11-06 09:04:15 +00:00
do_int86.c moved type and constants for random data to include file; 2009-04-02 15:24:44 +00:00
do_iopenable.c Split of architecture-dependent and -independent functions for i386, 2006-12-22 15:22:27 +00:00
do_readbios.c Basic VM and other minor improvements. 2008-11-19 12:26:10 +00:00
do_sdevio.c Primary goal for these changes is: 2009-09-21 14:31:52 +00:00
exception.c All macros defining rts flags are prefixed with RTS_ 2009-11-10 09:11:13 +00:00
hw_intr.h Hardware interrupts code path cleanup 2009-11-04 13:24:56 +00:00
i8259.c Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
klib386.S Idle task never runs 2009-11-12 08:42:18 +00:00
Makefile Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
memory.c Use of isemptyp() macro instead of testing RTS_SLOT_FREE flag 2009-11-12 08:35:26 +00:00
mpx386.S Complete ovehaul of mode switching code 2009-11-06 09:08:26 +00:00
protect.c Use of isemptyp() macro instead of testing RTS_SLOT_FREE flag 2009-11-12 08:35:26 +00:00
proto.h Complete ovehaul of mode switching code 2009-11-06 09:08:26 +00:00
sconst.h Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
system.c Use of isemptyp() macro instead of testing RTS_SLOT_FREE flag 2009-11-12 08:35:26 +00:00