c5b309ff07
Main changes: - COW optimization for safecopy. - safemap, a grant-based interface for sharing memory regions between processes. - Integration with safemap and complete rework of DS, supporting new data types natively (labels, memory ranges, memory mapped ranges). - For further information: http://wiki.minix3.org/en/SummerOfCode2009/MemoryGrants Additional changes not included in the original Wu's branch: - Fixed unhandled case in VM when using COW optimization for safecopy in case of a block that has already been shared as SMAP. - Better interface and naming scheme for sys_saferevmap and ds_retrieve_map calls. - Better input checking in syslib: check for page alignment when creating memory mapping grants. - DS notifies subscribers when an entry is deleted. - Documented the behavior of indirect grants in case of memory mapping. - Test suite in /usr/src/test/safeperf|safecopy|safemap|ds/* reworked and extended. - Minor fixes and general cleanup. - TO-DO: Grant ids should be generated and managed the way endpoints are to make sure grant slots are never misreused.
92 lines
1.4 KiB
Makefile
92 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 \
|
|
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_ctl.c \
|
|
vm_exec_newmem.c \
|
|
vm_exit.c \
|
|
vm_notify_sig.c \
|
|
vm_fork.c \
|
|
vm_map_phys.c \
|
|
vm_umap.c \
|
|
vm_push_sig.c"
|
|
|
|
TYPE=both
|