NetBSD/sys/compat
thorpej 0ec193c9b2 Get COMPAT_HPUX partially working on the hp300. Notable improvements:
* It compiles (and links).
	* Make use of "/emul/hpux" where applicable.
	* Untangle a bit, pulling some funtions from the monolithic
	  hpux_compat.c into hpux_file.c, hpux_exec.c, etc.
	* Fix a couple of bugs.
Yet to do:
	* Move hp300-specific functions into hp300/hp300/hpux_machdep.c.
	* Make everything work properly (you laugh...)

These changes are sufficient to run some simple HP-UX 9.x executables,
including ls(1) (which will read password and group information from the
YP server correctly, albeit slowly), a simple "hello world", uname(1),
and a few other odds and ends.  Dynamically linked executables work, and
demand-paging _seems_ to work properly.  Major problems:
	* socket and/or signal handling appears to need some work yet.
	* 99% sure I didn't do exactly the right thing adjusting for the
	  fact that "kstack" is gone now.
	* ktrace(1)'ing some executables (HP-UX telnet(1) is what I tried)
	  causes the HP-UX executable to dump core with a SIGSEGV for an
	  as of yet unknown reason.

This is mostly meant as a checkpoint/snapshot, to make it easier for others
to track progress on this code, and hack on it themselves.  It's certainly
better off now than before.
1995-11-28 08:39:45 +00:00
..
common Make sure we free the pathname buffer in all error cases. 1995-10-22 08:20:44 +00:00
freebsd ufs ==> ffs 1995-11-07 22:27:21 +00:00
hpux Get COMPAT_HPUX partially working on the hp300. Notable improvements: 1995-11-28 08:39:45 +00:00
ibcs2 ufs ==> ffs 1995-11-07 22:27:21 +00:00
linux Fix transposed copyin() args, from Niklas Hallqvist <niklas@appli.se>. 1995-11-16 18:42:05 +00:00
osf1 note that COMPAT_OSF1 requires ECOFF, in a comment. 1995-11-15 05:42:17 +00:00
sunos ufs ==> ffs 1995-11-07 22:27:21 +00:00
svr4 Reran makesyscalls.sh. 1995-10-15 06:13:56 +00:00
ultrix Reran makesyscalls.sh. 1995-10-07 06:51:37 +00:00