Commit Graph

17123 Commits

Author SHA1 Message Date
thorpej ed63b163c8 Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place.  "Hello, McFly!"
1995-11-28 23:40:47 +00:00
thorpej ced1925e35 Fix a typo. 1995-11-28 22:50:18 +00:00
pk ce474272f1 Prevent synch negotiation on ESP100 chips 1995-11-28 22:49:31 +00:00
jtc db5284ed0a merge in changes from 1.1 release branch 1995-11-28 20:58:08 +00:00
pk 9bf3251e46 Lots of major and minor bug fixes and changes.
- properly do MSG_IN handshaking, so we can actually receive multi-byte msgs.
- do synch negotiation (now that the above works).
- handle disconnects.
There are a few trial-and-error bits at points where the docs I have are
particularly ambiguous about the state of chip and/or SCSI bus.

Things to do:
- more cleanup
- deal with MSG_OUT phase better
- keep some "config reg 3" bits per target (ie. FASTCLK and FASTSCSI).
1995-11-28 20:49:12 +00:00
pk def161af38 Careful with signed chars (caddr_t *!).
Merge in 1.1 changes.
1995-11-28 20:26:59 +00:00
thorpej b1ebe24227 New-style RCS ids. 1995-11-28 20:16:28 +00:00
jtc 21908ddbd5 merge in changes from 1.1 release branch 1995-11-28 19:43:04 +00:00
pk 35c8aad7b3 Flush after diddling text, so we get predictable results on machines
with separate I & D caches.
1995-11-28 19:29:45 +00:00
thorpej da66c0a255 Enable COMPAT_HPUX. 1995-11-28 08:48:18 +00:00
thorpej 38b63746fb Note the new status of COMPAT_HPUX, but keep is disabled by default. 1995-11-28 08:47:38 +00:00
thorpej 0d02785d6c Re-ran makesyscalls.sh; syscalls.conf and syscalls.master chagned. 1995-11-28 08:43:58 +00:00
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
thorpej de437ed1b6 Setup the stack gap for COMPAT_HPUX, too. 1995-11-28 08:16:47 +00:00
thorpej 63b0022b86 Update a #include for the "new" location of HP-UX emulation code. 1995-11-28 08:12:37 +00:00
thorpej ffcccc41bd Compile compat/hpux/hpux_exec.c and compat/hpux/hpux_file.c if COMPAT_HPUX
is defined.
1995-11-28 08:10:09 +00:00
thorpej a5d3f68110 Add hooks for COMPAT_HPUX. 1995-11-28 08:07:25 +00:00
jtc 5b2064391a merge in changes from 1.1 release branch 1995-11-28 08:03:22 +00:00
jtc 31ed1143ff merge in changes from 1.1 release branch 1995-11-28 06:41:14 +00:00
jtc 9e5ad8a853 merge in changes from 1.1 release branch 1995-11-28 05:40:18 +00:00
jtc 0a1e7de7b6 merge in changes from 1.1 release branch 1995-11-28 05:25:28 +00:00
jtc 3ae562ed82 merge in changes from 1.1 release branch 1995-11-28 05:12:44 +00:00
cgd 29d9eeabd1 kill these. they're no longer used. 1995-11-27 23:28:00 +00:00
perry c77e9daa00 slurp new file from internic -- f.root-servers.net changed address 1995-11-27 15:11:33 +00:00
mycroft e2baea19f3 Make sure vt_coldinit() is called before vt_coldmalloc(). 1995-11-26 21:01:16 +00:00
perry f37edba165 Added man9 to SUBDIRs 1995-11-25 21:26:28 +00:00
perry 4e41b85beb Added first section 9 man pages -- initial pages and Makefile from cgd
Section 9 man pages document the internals of the kernel.
1995-11-25 21:24:47 +00:00
perry 299d54aac6 Added directories to contain the Section 9 man pages. (There probably
won't ever be any in /usr/local but I wanted to be consistent.)
(Should there be machine specific sections?)
1995-11-25 21:00:28 +00:00
perry 3baad3ca17 Add support for Section 9 (kernel internals) manpages 1995-11-25 19:53:33 +00:00
mellon 55980119ec Remove some cruft 1995-11-25 10:39:57 +00:00
mellon 8b29652e06 Fix colormap initialization for monochrome pmax framebuffer 1995-11-25 10:38:42 +00:00
mellon db99c1a30b Provide compiler tool definitions for cross compilation. 1995-11-25 05:55:38 +00:00
cgd afc45b4ab7 pull in ECOFF exec code with EXEC_ECOFF 1995-11-25 01:34:38 +00:00
cgd 93a78af882 no DDB 1995-11-25 01:32:34 +00:00
cgd e6dc5f55db update for am7990var.h, am7990.c changes 1995-11-25 01:31:09 +00:00
cgd 0f7f390b49 allow bus-specific lance drivers to use machine-independent buffer/descriptor
copy functions, and convert isa and pmax drivers to do so.
1995-11-25 01:23:51 +00:00
cgd 57dc31272e pull in ecoff_exec.c with 'options EXEC_ECOFF', as well as with compat
options, so that it can be used in kernels (e.g. alpha) w/o need for
compat options.
1995-11-25 00:37:39 +00:00
cgd 523c12167c fix definition of nullcnpollc, and add a prototype for it. 1995-11-25 00:03:35 +00:00
cgd 540ab1b88d since 'long's in this code are meant to be exactly 32-bits wide, use
'int32_t's instead, so that this code is usable on the alpha.
1995-11-24 23:50:51 +00:00
cgd 13bf4371ae delete extra (blank) line in comment block 1995-11-24 23:45:40 +00:00
cgd f5655b153b fix paste-o 1995-11-24 22:13:08 +00:00
gwr 8076d80e1d Release notes for 1.1 1995-11-24 08:50:29 +00:00
cgd deb4082f80 wholesale update from my NetBSD/Alpha source tree. Includes:
Support for AXPpci CPUs,
	Support for AlphaStation 600 CPUs,
	new boot block structure, which requires an 'installboot'
	    program and works a lot like the NetBSD/sparc boot blocks.
1995-11-23 02:33:17 +00:00
jtc c47925a6fb Added spanish language message catalog from Jesus M. Gonzalez <jgb@ordago.uc3m.es> 1995-11-23 02:20:59 +00:00
jtc 9c5e4ba959 extract gecos field from passwd in a more efficent manner (one sed instead of grep, awk, and a sed) 1995-11-23 02:10:43 +00:00
jtc ca4dc54bcd Handle '&' in gecos field 1995-11-23 02:07:34 +00:00
cgd 5cd2526d5c db_lastsym (cast from pointer) should be long not int. db_maxoff -> db_expr_t 1995-11-23 01:42:08 +00:00
cgd b69dc1f62c move ../sys/syscallargs.h out of the way when making new version,
just like we do for init_sysent.c, syscalls.c, and ../sys/syscall.h.
1995-11-22 23:11:32 +00:00
cgd a321588516 update for new syscalls.master 1995-11-22 23:09:26 +00:00
cgd a2ce90f34c change definition of profil() to make it 64-bit friendly. This has
no practical consequence on 32-bit systems.  old prototype was
int profil(char *, int, int, int), and new one is int profile(char *,
size_t, u_long, u_int).  the size_t is the size of the buffer,
and the u_long is the 'starting offset'.  (I changed the last int
to u_int, because it's treated as a u_int everywhere, and isn't
logically a signed value.)
1995-11-22 23:07:19 +00:00