minix/lib/syslib/Makefile.in
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

94 lines
1.4 KiB
Makefile

# Makefile for lib/syslib.
CFLAGS="-O -D_MINIX -D_POSIX_SOURCE"
LIBRARIES=libsys
libsys_FILES=" \
alloc_util.c \
assert.c \
kernel_call.c \
panic.c \
pci_attr_r16.c \
pci_attr_r32.c \
pci_attr_r8.c \
pci_attr_w16.c \
pci_attr_w32.c \
pci_attr_w8.c \
pci_del_acl.c \
pci_dev_name.c \
pci_find_dev.c \
pci_first_dev.c \
pci_ids.c \
pci_init.c \
pci_init1.c \
pci_next_dev.c \
pci_rescan_bus.c \
pci_reserve.c \
pci_set_acl.c \
pci_slot_name.c \
safecopies.c \
sef.c \
sef_liveupdate.c \
sef_ping.c \
sef_init.c \
sys_abort.c \
sys_cprof.c \
sys_endsig.c \
sys_eniop.c \
sys_exec.c \
sys_exit.c \
sys_fork.c \
sys_getinfo.c \
sys_getsig.c \
sys_in.c \
sys_int86.c \
sys_irqctl.c \
sys_kill.c \
sys_memset.c \
sys_newmap.c \
sys_nice.c \
sys_out.c \
sys_physcopy.c \
sys_readbios.c \
sys_runctl.c \
sys_safecopy.c \
sys_safemap.c \
sys_sysctl.c \
sys_vsafecopy.c \
sys_profbuf.c \
sys_sdevio.c \
sys_segctl.c \
sys_setalarm.c \
sys_sigreturn.c \
sys_sigsend.c \
sys_privctl.c \
sys_setgrant.c \
sys_sprof.c \
sys_stime.c \
sys_times.c \
sys_trace.c \
sys_umap.c \
sys_vinb.c \
sys_vinl.c \
sys_vinw.c \
sys_vircopy.c \
sys_vmctl.c \
sys_voutb.c \
sys_voutl.c \
sys_voutw.c \
sys_vtimer.c \
taskcall.c \
ds.c \
vm_brk.c \
vm_exec_newmem.c \
vm_exit.c \
vm_notify_sig.c \
vm_fork.c \
vm_info.c \
vm_map_phys.c \
vm_umap.c \
vm_push_sig.c"
TYPE=both