minix/lib/sysutil
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
..
asynsend.c Removed a number of useless #includes 2010-01-26 10:59:01 +00:00
env_get_prm.c Removal of the system task 2010-02-09 15:20:09 +00:00
env_panic.c potential buffer overruns in env_* routines 2009-05-10 16:54:37 +00:00
env_parse.c potential buffer overruns in env_* routines 2009-05-10 16:54:37 +00:00
env_prefix.c potential buffer overruns in env_* routines 2009-05-10 16:54:37 +00:00
fkey_ctl.c Fixed 'bug' in log driver that caused kernel messages not to be displayed. 2005-08-03 08:14:08 +00:00
get_randomness.c Removed a number of useless #includes 2010-01-26 10:59:01 +00:00
getidle.c Add 'getidle' CPU utilization measurement infrastructure 2009-12-02 11:52:26 +00:00
getuptime.c Removal of the system task 2010-02-09 15:20:09 +00:00
getuptime2.c Removal of the system task 2010-02-09 15:20:09 +00:00
kprintf.c Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
kputc.c . new kernel call sysctl for generic unprivileged system operations; 2009-01-26 17:43:59 +00:00
Makefile.in 2 copies of taskcall.c removed 2010-01-25 14:22:09 +00:00
profile.c Remove some GCC library warnings 2009-12-17 08:43:31 +00:00
profile_extern.c cprofile always on 2009-01-09 21:42:36 +00:00
read_tsc.s - remove unused kmalloc 2009-09-21 14:39:15 +00:00
read_tsc_64.c . let kernel use read_tsc() from sysutil library 2007-03-08 15:39:14 +00:00
report.c Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util 2005-07-19 13:21:51 +00:00
ser_putc.c Removed a number of useless #includes 2010-01-26 10:59:01 +00:00
stacktrace.c Fixed some warnings 2009-08-17 18:48:57 +00:00
sys_hz.c Removed a number of useless #includes 2010-01-26 10:59:01 +00:00
sysutil.h Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util 2005-07-19 13:21:51 +00:00
tickdelay.c Removal of the system task 2010-02-09 15:20:09 +00:00
timing.c timing library from kernel into library 2009-01-09 16:39:31 +00:00
tsc_util.c Removed a number of useless #includes 2010-01-26 10:59:01 +00:00