minix/lib/syslib
Ben Gras 6f77685609 Split of architecture-dependent and -independent functions for i386,
mainly in the kernel and headers. This split based on work by
Ingmar Alting <iaalting@cs.vu.nl> done for his Minix PowerPC architecture
port.

 . kernel does not program the interrupt controller directly, do any
   other architecture-dependent operations, or contain assembly any more,
   but uses architecture-dependent functions in arch/$(ARCH)/.
 . architecture-dependent constants and types defined in arch/$(ARCH)/include.
 . <ibm/portio.h> moved to <minix/portio.h>, as they have become, for now,
   architecture-independent functions.
 . int86, sdevio, readbios, and iopenable are now i386-specific kernel calls
   and live in arch/i386/do_* now.
 . i386 arch now supports even less 86 code; e.g. mpx86.s and klib86.s have
   gone, and 'machine.protected' is gone (and always taken to be 1 in i386).
   If 86 support is to return, it should be a new architecture.
 . prototypes for the architecture-dependent functions defined in
   kernel/arch/$(ARCH)/*.c but used in kernel/ are in kernel/proto.h
 . /etc/make.conf included in makefiles and shell scripts that need to
   know the building architecture; it defines ARCH=<arch>, currently only
   i386.
 . some basic per-architecture build support outside of the kernel (lib)
 . in clock.c, only dequeue a process if it was ready
 . fixes for new include files

files deleted:
 . mpx/klib.s - only for choosing between mpx/klib86 and -386
 . klib86.s - only for 86

i386-specific files files moved (or arch-dependent stuff moved) to arch/i386/:
 . mpx386.s (entry point)
 . klib386.s
 . sconst.h
 . exception.c
 . protect.c
 . protect.h
 . i8269.c
2006-12-22 15:22:27 +00:00
..
assert.c
ds.c . DS understands publishing and subscribing where keys are in string 2006-07-13 14:50:23 +00:00
Makefile.in System statistical and call profiling 2006-10-30 15:53:38 +00:00
panic.c
pci_attr_r8.c
pci_attr_r16.c
pci_attr_r32.c
pci_attr_w8.c
pci_attr_w16.c
pci_attr_w32.c
pci_dev_name.c Added sys_readbios. 2006-07-10 12:17:16 +00:00
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 Split of architecture-dependent and -independent functions for i386, 2006-12-22 15:22:27 +00:00
pci_slot_name.c Added sys_readbios. 2006-07-10 12:17:16 +00:00
pci.h
safecopies.c . DS understands publishing and subscribing where keys are in string 2006-07-13 14:50:23 +00:00
sys_abort.c
sys_cprof.c System statistical and call profiling 2006-10-30 15:53:38 +00:00
sys_endsig.c
sys_eniop.c
sys_exec.c
sys_exit.c
sys_fork.c Changes for restarting disk drivers and new interface between PM and FS. 2006-05-11 14:47:31 +00:00
sys_getinfo.c
sys_getsig.c
sys_in.c . removed const from putenv() for g++ 2006-06-20 08:45:04 +00:00
sys_int86.c
sys_irqctl.c
sys_kill.c
sys_memset.c
sys_newmap.c
sys_nice.c
sys_out.c . removed const from putenv() for g++ 2006-06-20 08:45:04 +00:00
sys_physcopy.c
sys_privctl.c
sys_profbuf.c System statistical and call profiling 2006-10-30 15:53:38 +00:00
sys_readbios.c Added sys_readbios. 2006-07-10 12:17:16 +00:00
sys_safecopy.c . removed const from putenv() for g++ 2006-06-20 08:45:04 +00:00
sys_sdevio.c . removed const from putenv() for g++ 2006-06-20 08:45:04 +00:00
sys_segctl.c
sys_setalarm.c
sys_setgrant.c Rename paramctl to setgrant. 2006-06-23 15:35:05 +00:00
sys_sigreturn.c
sys_sigsend.c
sys_sprof.c System statistical and call profiling 2006-10-30 15:53:38 +00:00
sys_svrctl.c
sys_times.c
sys_trace.c
sys_umap.c
sys_vinb.c . removed const from putenv() for g++ 2006-06-20 08:45:04 +00:00
sys_vinl.c . removed const from putenv() for g++ 2006-06-20 08:45:04 +00:00
sys_vinw.c . removed const from putenv() for g++ 2006-06-20 08:45:04 +00:00
sys_vircopy.c
sys_vm_map.c
sys_vm_setbuf.c
sys_voutb.c . removed const from putenv() for g++ 2006-06-20 08:45:04 +00:00
sys_voutl.c . removed const from putenv() for g++ 2006-06-20 08:45:04 +00:00
sys_voutw.c . removed const from putenv() for g++ 2006-06-20 08:45:04 +00:00
sys_vsafecopy.c library interface for vectored safecopy variant. 2006-06-23 11:54:35 +00:00
syslib.h
taskcall.c