minix/kernel
Tomas Hruby 728f0f0c49 Removal of the system task
* Userspace change to use the new kernel calls

	- _taskcall(SYSTASK...) changed to _kernel_call(...)

	- int 32 reused for the kernel calls

	- _do_kernel_call() to make the trap to kernel

	- kernel_call() to make the actuall kernel call from C using
	  _do_kernel_call()

	- unlike ipc call the kernel call always succeeds as kernel is
	  always available, however, kernel may return an error

* Kernel side implementation of kernel calls

	- the SYSTEm task does not run, only the proc table entry is
	  preserved

	- every data_copy(SYSTEM is no data_copy(KERNEL

	- "locking" is an empty operation now as everything runs in
	  kernel

	- sys_task() is replaced by kernel_call() which copies the
	  message into kernel, dispatches the call to its handler and
	  finishes by either copying the results back to userspace (if
	  need be) or by suspending the process because of VM

	- suspended processes are later made runnable once the memory
	  issue is resolved, picked up by the scheduler and only at
	  this time the call is resumed (in fact restarted) which does
	  not need to copy the message from userspace as the message
	  is already saved in the process structure.

	- no ned for the vmrestart queue, the scheduler will restart
	  the system calls

	- no special case in do_vmctl(), all requests remove the
	  RTS_VMREQUEST flag
2010-02-09 15:20:09 +00:00
..
arch/i386 Removal of the system task 2010-02-09 15:20:09 +00:00
system Removal of the system task 2010-02-09 15:20:09 +00:00
clock.c Removed a number of useless #includes 2010-01-26 10:59:01 +00:00
clock.h Clock task split 2009-11-06 09:04:15 +00:00
config.h Removed unused symbols. 2010-01-25 18:13:48 +00:00
const.h Removal of the system task 2010-02-09 15:20:09 +00:00
debug.c Removal of the system task 2010-02-09 15:20:09 +00:00
debug.h Killing Minix by typing Q on serial console 2010-01-14 09:46:16 +00:00
glo.h Removal of the system task 2010-02-09 15:20:09 +00:00
interrupt.c Removed a number of useless #includes 2010-01-26 10:59:01 +00:00
ipc.h All macros defining rts flags are prefixed with RTS_ 2009-11-10 09:11:13 +00:00
kernel.h NMI watchdog is an awesome feature for debugging locked up kernels. 2010-01-16 20:53:55 +00:00
main.c Removal of the system task 2010-02-09 15:20:09 +00:00
Makefile NMI watchdog is an awesome feature for debugging locked up kernels. 2010-01-16 20:53:55 +00:00
priv.h Initialization protocol for system services. 2010-01-08 01:20:42 +00:00
proc.c Removal of the system task 2010-02-09 15:20:09 +00:00
proc.h Removal of the system task 2010-02-09 15:20:09 +00:00
profile.c Removal of the system task 2010-02-09 15:20:09 +00:00
profile.h cprofile not conditional 2009-01-09 21:44:52 +00:00
proto.h Removal of the system task 2010-02-09 15:20:09 +00:00
start.c Removed a number of useless #includes 2010-01-26 10:59:01 +00:00
system.c Removal of the system task 2010-02-09 15:20:09 +00:00
system.h This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
table.c Removal of the system task 2010-02-09 15:20:09 +00:00
type.h Rewrite of boot process 2009-12-11 00:08:19 +00:00
utility.c Fixed some type inconsistencies in the kernel. 2010-01-26 12:26:06 +00:00
vm.h Fixed a typing bug. 2010-01-06 08:23:14 +00:00
watchdog.c NMI watchdog is an awesome feature for debugging locked up kernels. 2010-01-16 20:53:55 +00:00
watchdog.h NMI watchdog is an awesome feature for debugging locked up kernels. 2010-01-16 20:53:55 +00:00