minix/lib/posix
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
..
__exit.c Changes to make gcc compile our libraries too (Joren) 2005-10-21 11:19:35 +00:00
_access.c Initial revision 2005-04-21 14:53:53 +00:00
_alarm.c Initial revision 2005-04-21 14:53:53 +00:00
_cfgetispeed.c Initial revision 2005-04-21 14:53:53 +00:00
_cfgetospeed.c Initial revision 2005-04-21 14:53:53 +00:00
_cfsetispeed.c Initial revision 2005-04-21 14:53:53 +00:00
_cfsetospeed.c Initial revision 2005-04-21 14:53:53 +00:00
_chdir.c Re-enable fchdir() 2006-01-20 12:44:16 +00:00
_chmod.c Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5. 2005-06-23 11:07:31 +00:00
_chown.c Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5. 2005-06-23 11:07:31 +00:00
_chroot.c Initial revision 2005-04-21 14:53:53 +00:00
_close.c Initial revision 2005-04-21 14:53:53 +00:00
_closedir.c Initial revision 2005-04-21 14:53:53 +00:00
_creat.c Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5. 2005-06-23 11:07:31 +00:00
_dup.c Initial revision 2005-04-21 14:53:53 +00:00
_dup2.c Initial revision 2005-04-21 14:53:53 +00:00
_execl.c Initial revision 2005-04-21 14:53:53 +00:00
_execle.c Initial revision 2005-04-21 14:53:53 +00:00
_execlp.c Initial revision 2005-04-21 14:53:53 +00:00
_execv.c Initial revision 2005-04-21 14:53:53 +00:00
_execve.c Initial revision 2005-04-21 14:53:53 +00:00
_execvp.c Initial revision 2005-04-21 14:53:53 +00:00
_fchmod.c Added fchmod() and fchown() 2006-04-18 11:26:04 +00:00
_fchown.c Added fchmod() and fchown() 2006-04-18 11:26:04 +00:00
_fcntl.c Implementation of truncate(), ftruncate() and the F_FREESP fcntl(). 2006-01-11 17:14:51 +00:00
_fork.c Initial revision 2005-04-21 14:53:53 +00:00
_fpathconf.c Initial revision 2005-04-21 14:53:53 +00:00
_fstat.c Initial revision 2005-04-21 14:53:53 +00:00
_fstatfs.c Initial revision 2005-04-21 14:53:53 +00:00
_fsync.c Add fsync() interface. 2005-09-05 21:22:45 +00:00
_getcwd.c Initial revision 2005-04-21 14:53:53 +00:00
_getegid.c Initial revision 2005-04-21 14:53:53 +00:00
_geteuid.c Initial revision 2005-04-21 14:53:53 +00:00
_getgid.c Initial revision 2005-04-21 14:53:53 +00:00
_getgroups.c Initial revision 2005-04-21 14:53:53 +00:00
_getpgrp.c Initial revision 2005-04-21 14:53:53 +00:00
_getpid.c Initial revision 2005-04-21 14:53:53 +00:00
_getppid.c Initial revision 2005-04-21 14:53:53 +00:00
_getuid.c Initial revision 2005-04-21 14:53:53 +00:00
_ioctl.c Initial revision 2005-04-21 14:53:53 +00:00
_isatty.c Initial revision 2005-04-21 14:53:53 +00:00
_kill.c Initial revision 2005-04-21 14:53:53 +00:00
_killpg.c Important BSD version of setenv, added killpg, replaced _sigsetjmp.c with 2006-06-07 14:38:39 +00:00
_link.c Initial revision 2005-04-21 14:53:53 +00:00
_lseek.c Initial revision 2005-04-21 14:53:53 +00:00
_lstat.c Split of architecture-dependent and -independent functions for i386, 2006-12-22 15:22:27 +00:00
_mkdir.c Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5. 2005-06-23 11:07:31 +00:00
_mkfifo.c Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5. 2005-06-23 11:07:31 +00:00
_mknod.c Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5. 2005-06-23 11:07:31 +00:00
_mount.c Better error handling in _mount.c 2006-11-24 14:01:14 +00:00
_open.c Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5. 2005-06-23 11:07:31 +00:00
_opendir.c Getdents implementation in library/vfs/mfs. 2006-11-09 16:22:54 +00:00
_pathconf.c Initial revision 2005-04-21 14:53:53 +00:00
_pause.c Initial revision 2005-04-21 14:53:53 +00:00
_pipe.c Initial revision 2005-04-21 14:53:53 +00:00
_ptrace.c Initial revision 2005-04-21 14:53:53 +00:00
_read.c Initial revision 2005-04-21 14:53:53 +00:00
_readdir.c Getdents implementation in library/vfs/mfs. 2006-11-09 16:22:54 +00:00
_readlink.c library fixes for symlink, readlink and lstat 2005-11-01 13:13:31 +00:00
_rename.c Initial revision 2005-04-21 14:53:53 +00:00
_rewinddir.c Initial revision 2005-04-21 14:53:53 +00:00
_rmdir.c Initial revision 2005-04-21 14:53:53 +00:00
_select.c Added _select() stub for select(). 2006-06-27 18:28:33 +00:00
_setgid.c seteuid() and setegid() 2005-12-13 09:48:29 +00:00
_setsid.c Initial revision 2005-04-21 14:53:53 +00:00
_setuid.c seteuid() and setegid() 2005-12-13 09:48:29 +00:00
_sigaction.c Initial revision 2005-04-21 14:53:53 +00:00
_sigpending.c Initial revision 2005-04-21 14:53:53 +00:00
_sigprocmask.c Initial revision 2005-04-21 14:53:53 +00:00
_sigreturn.c Setjmp/longjmp updates and cleanup. 2006-12-08 16:23:18 +00:00
_sigset.c Initial revision 2005-04-21 14:53:53 +00:00
_sigsuspend.c Initial revision 2005-04-21 14:53:53 +00:00
_sleep.c Initial revision 2005-04-21 14:53:53 +00:00
_stat.c Initial revision 2005-04-21 14:53:53 +00:00
_stime.c Moved stime, time, times POSIX calls from FS to PM. Removed child time 2005-05-31 09:50:51 +00:00
_symlink.c library fixes for symlink, readlink and lstat 2005-11-01 13:13:31 +00:00
_sync.c Initial revision 2005-04-21 14:53:53 +00:00
_tcdrain.c Initial revision 2005-04-21 14:53:53 +00:00
_tcflow.c Initial revision 2005-04-21 14:53:53 +00:00
_tcflush.c Initial revision 2005-04-21 14:53:53 +00:00
_tcgetattr.c Initial revision 2005-04-21 14:53:53 +00:00
_tcsendbreak.c Initial revision 2005-04-21 14:53:53 +00:00
_tcsetattr.c Initial revision 2005-04-21 14:53:53 +00:00
_time.c Moved stime, time, times POSIX calls from FS to PM. Removed child time 2005-05-31 09:50:51 +00:00
_times.c Moved stime, time, times POSIX calls from FS to PM. Removed child time 2005-05-31 09:50:51 +00:00
_truncate.c Implementation of truncate(), ftruncate() and the F_FREESP fcntl(). 2006-01-11 17:14:51 +00:00
_umask.c Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5. 2005-06-23 11:07:31 +00:00
_umount.c Initial revision 2005-04-21 14:53:53 +00:00
_uname.c Disabled building rescue driver (no longer needed). Moved allocmem from 2006-05-19 12:19:37 +00:00
_unlink.c Initial revision 2005-04-21 14:53:53 +00:00
_utime.c Initial revision 2005-04-21 14:53:53 +00:00
_wait.c Initial revision 2005-04-21 14:53:53 +00:00
_waitpid.c Initial revision 2005-04-21 14:53:53 +00:00
_write.c Initial revision 2005-04-21 14:53:53 +00:00
getloadavg.c Introduced unprivileged getsysinfo variant, to retrieve harmless data 2006-07-27 16:23:01 +00:00
getopt.c Fix compiler warnings for pax 2006-03-24 14:03:25 +00:00
gettimeofday.c complete, tick-resolution gettimeofday() implementation 2005-07-06 07:08:36 +00:00
Makefile.in Nice(3) implementation 2006-10-20 14:10:53 +00:00
nice.c Nice(3) implementation 2006-10-20 14:10:53 +00:00
priority.c get/setpriority() and fsync() system calls 2005-07-01 18:01:33 +00:00
usleep.c Usleep implementation based on select. 2005-07-11 13:08:00 +00:00