minix/lib/ip
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
..
accept.c Added EOPNOTSUPP and better error handling in accept. 2006-09-14 13:48:41 +00:00
bind.c Socket library 2005-07-27 11:57:59 +00:00
connect.c Nonblocking connect for TCP sockets. 2005-09-30 12:50:50 +00:00
dhcp_gettag.c Initial revision 2005-04-21 14:53:53 +00:00
dhcp_settag.c Initial revision 2005-04-21 14:53:53 +00:00
domainname.c Split of architecture-dependent and -independent functions for i386, 2006-12-22 15:22:27 +00:00
ether.h Initial revision 2005-04-21 14:53:53 +00:00
ether_line.c Initial revision 2005-04-21 14:53:53 +00:00
ethera2n.c Initial revision 2005-04-21 14:53:53 +00:00
ethere2a.c Initial revision 2005-04-21 14:53:53 +00:00
etherh2n.c Initial revision 2005-04-21 14:53:53 +00:00
ethern2h.c Initial revision 2005-04-21 14:53:53 +00:00
getdomain.c Initial revision 2005-04-21 14:53:53 +00:00
gethnmadr.c Improved compatibility with other Unix systems. 2005-06-10 15:12:03 +00:00
gethostent.c Initial revision 2005-04-21 14:53:53 +00:00
gethostname.c Initial revision 2005-04-21 14:53:53 +00:00
getifaddrs.c Added getifaddrs() 2006-04-03 15:03:43 +00:00
getnetbyaddr.c Initial revision 2005-04-21 14:53:53 +00:00
getnetbyname.c Initial revision 2005-04-21 14:53:53 +00:00
getnetent.c Initial revision 2005-04-21 14:53:53 +00:00
getpeername.c Fixed 'connected' check. 2005-08-25 10:47:24 +00:00
getproto.c Initial revision 2005-04-21 14:53:53 +00:00
getprotoent.c Initial revision 2005-04-21 14:53:53 +00:00
getprotoname.c Added getprotobyname. 2005-11-09 15:42:38 +00:00
getservent.c Initial revision 2005-04-21 14:53:53 +00:00
getsockname.c getsockname() reported local port and remote address - changed to local address. 2006-03-27 11:07:06 +00:00
getsockopt.c Added SO_ERROR support for tcp sockets. 2006-03-24 14:07:42 +00:00
getsrvbyname.c Initial revision 2005-04-21 14:53:53 +00:00
getsrvbyport.c Initial revision 2005-04-21 14:53:53 +00:00
hton.c Socket library 2005-07-27 11:57:59 +00:00
inet_addr.c Initial revision 2005-04-21 14:53:53 +00:00
inet_network.c Initial revision 2005-04-21 14:53:53 +00:00
inet_ntoa.c Initial revision 2005-04-21 14:53:53 +00:00
listen.c Socket library 2005-07-27 11:57:59 +00:00
Makefile.in Added getifaddrs() 2006-04-03 15:03:43 +00:00
memcspn.c Initial revision 2005-04-21 14:53:53 +00:00
oneC_sum.c Initial revision 2005-04-21 14:53:53 +00:00
rcmd.c Initial revision 2005-04-21 14:53:53 +00:00
recv.c Socket library 2005-07-27 11:57:59 +00:00
recvfrom.c Optionally more debug output. 2005-09-30 12:50:14 +00:00
res_comp.c Improved compatibility with other Unix systems. 2005-06-10 15:12:03 +00:00
res_init.c Initial revision 2005-04-21 14:53:53 +00:00
res_mkquery.c Improved compatibility with other Unix systems. 2005-06-10 15:12:03 +00:00
res_query.c Improved compatibility with other Unix systems. 2005-06-10 15:12:03 +00:00
res_send.c Improved compatibility with other Unix systems. 2005-06-10 15:12:03 +00:00
ruserok.c Fixed ruserok not to required /etc/hosts.equiv. 2006-07-14 12:48:01 +00:00
send.c Prototypes for send and recv. Fixed send (pass null address) and sendto 2006-07-14 14:34:00 +00:00
sendto.c Prototypes for send and recv. Fixed send (pass null address) and sendto 2006-07-14 14:34:00 +00:00
servxcheck.c Use syslog for logging. 2006-08-10 14:11:25 +00:00
sethostent.c nonamed doesn't like DNS requests over TCP. So, don't try to use them. 2005-09-30 12:48:26 +00:00
setsockopt.c Socket options SO_RCVBUF, SO_SNDBUF, and TCP_NODELAY. 2006-02-17 13:45:41 +00:00
shutdown.c Added shutdown. EBADIOCTL in connect. Chaned some debug output. 2005-07-29 10:13:52 +00:00
socket.c X expects an implicit bind to INADDR_ANY for UDP sockets. 2005-09-30 12:49:10 +00:00
strcasecmp.c BSD versions of strcasecmp() and strncasecmp() after a bug 2006-12-19 13:15:16 +00:00