minix/kernel/arch/i386
Tomas Hruby 451a6890d6 scheduling - time quantum in miliseconds
- Currently the cpu time quantum is timer-ticks based. Thus the
  remaining quantum is decreased only if the processes is interrupted
  by a timer tick. As processes block a lot this typically does not
  happen for normal user processes. Also the quantum depends on the
  frequency of the timer.

- This change makes the quantum miliseconds based. Internally the
  miliseconds are translated into cpu cycles. Everytime userspace
  execution is interrupted by kernel the cycles just consumed by the
  current process are deducted from the remaining quantum.

- It makes the quantum system timer frequency independent.

- The boot processes quantum is loosely derived from the tick-based
  quantas and 60Hz timer and subject to future change

- the 64bit arithmetics is a little ugly, will be changes once we have
  compiler support for 64bit integers (soon)
2010-05-25 08:06:14 +00:00
..
include Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00
apic_asm.h Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00
apic_asm.S Buildsystem changes for GCC 2010-05-19 13:24:15 +00:00
apic.c scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
apic.h Fixed some inconsistent strict typing declarations. 2010-05-25 07:23:24 +00:00
arch_clock.c scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
arch_do_vmctl.c Oops, last commit included more than was intended 2010-05-20 08:07:47 +00:00
arch_system.c use oxpcie only if enabled to avoid baud bottleneck of uart. 2010-05-19 10:18:46 +00:00
arch_watchdog.c scheduling - time quantum in miliseconds 2010-05-25 08:06:14 +00:00
breakpoints.c Fix types in debug register functions 2010-04-28 08:35:05 +00:00
debugreg.h Fix types in debug register functions 2010-04-28 08:35:05 +00:00
debugreg.S Buildsystem changes for GCC 2010-05-19 13:24:15 +00:00
do_int86.c Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00
do_iopenable.c Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00
do_readbios.c Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00
do_sdevio.c Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00
exception.c kernel: small ammendment to pagefault-in-kernel panic 2010-05-12 08:56:11 +00:00
glo.h Local APIC 2009-11-16 21:41:44 +00:00
i8259.c remove intr_disabled() as interrupts are always disabled in the kernel now. 2010-04-26 15:32:42 +00:00
kernel.lds Buildsystem changes for GCC 2010-05-19 13:24:15 +00:00
klib.S Buildsystem changes for GCC 2010-05-19 13:24:15 +00:00
Makefile.inc kernel: oxpcie serial card support. 2010-05-19 10:00:02 +00:00
memory.c Oops, last commit included more than was intended 2010-05-20 08:07:47 +00:00
mpx.S Buildsystem changes for GCC 2010-05-19 13:24:15 +00:00
oxpcie.c kernel: oxpcie serial card support. 2010-05-19 10:00:02 +00:00
oxpcie.h kernel: oxpcie serial card support. 2010-05-19 10:00:02 +00:00
protect.c Fixed some inconsistent strict typing declarations. 2010-05-25 07:23:24 +00:00
proto.h Remove useless symbol declarations from headers, make symbols local where possible, add some explicit initialization to global variables. 2010-04-22 07:49:40 +00:00
sconst.h Buildsystem changes for GCC 2010-05-19 13:24:15 +00:00
serial.h kernel: oxpcie serial card support. 2010-05-19 10:00:02 +00:00