Commit Graph

17443 Commits

Author SHA1 Message Date
phil 7b194ded98 Rewrite the description of alarm(3) to match reality. 1996-02-01 20:11:48 +00:00
mycroft 1107479eaa Rename tunioctl() and tuncioctl() so that cdevsw points to the right one.
From der Mouse, PR 2005.
1996-02-01 07:28:18 +00:00
phil 57cd9a2c29 Update for recent changes in the kernel. 1996-02-01 07:24:37 +00:00
jonathan c72cd6e76c Set sc->sc_cookie appropriately for the ioasic and TC option cases.
Tested on Decstation: ioasic, kn02 baseboard, and TC option card.

Add untested for pmax 3100/5100 baseboard ethernet.
1996-02-01 06:12:16 +00:00
briggs af9bcab2ce Clean up and comment a bit. 1996-02-01 03:40:26 +00:00
mrg dc8adb9e7c don't warn about missing files with -s. POSIX doesn't define a specific
action, and, most other implimentations use this (sane) method.  (from jtc).
1996-02-01 03:32:41 +00:00
phil 5d2a046ccb Update makefile to match recent pc532 MD changes, new config file. 1996-02-01 03:00:57 +00:00
jtc e25f83b8be Fixed to use ffs instead of ufs; See PR #1984 1996-02-01 02:50:52 +00:00
phil 54df7b2130 Updating DELAY and scncnputc. 1996-02-01 02:37:15 +00:00
jtc 0366d49b2d Fixed to use ffs instead of ufs; See PR #1790, etc. 1996-02-01 02:33:52 +00:00
jtc 2ea599d8f8 Rename struct timespec fields to conform to POSIX.1b 1996-02-01 00:41:19 +00:00
jtc 299e1fe9df Rename struct timespec fields to conform to POSIX.1b 1996-02-01 00:31:05 +00:00
jtc e19bfae4f9 Rename struct timespec fields to conform to POSIX.1b 1996-02-01 00:18:04 +00:00
jtc dd05bd5124 Rename struct timespec fields to conform to POSIX.1b 1996-02-01 00:04:52 +00:00
phil 63d5234cbf Integration of many changes from Matthias Pfaller plus some of mine.
Several had:  _MACHINE_ICU_H_ -> _NS32K_ICU_H_

cpu.h		* Removed definition of cpu_swapout.
		* Added definition of cpu_wait.

frame.h		* added struct switchframe

icu.h		* tweeked ints_off

param.h		* More derived constants.
		* Alot of things taken over from i386/include/param.h.

pcb.h		* Removed pcb_flags (was unused) and pcb_pl.
		  The current priority level is now stored
		  in the switch frame by cpu_switch.

pmap.h		* Taken over from i386/include/pmap.h.

psl.h		* Add USERMODE definition

trap.h		* T_INTERRUPT -> T_AST

types.h		* Remove __FORK_BRAINDAMAGE

vmparam.h	* Taken over from i386/include/vmparam.h.
		  Added definition of INTSTACK.
1996-02-01 00:03:25 +00:00
jtc 429c5e2f3b Rename struct timespec fields to conform to POSIX.1b 1996-02-01 00:02:24 +00:00
mark f56b429c95 Initial commit of the NetBSD/arm32 port. 1996-01-31 23:44:43 +00:00
jonathan 10a140d34d Rename SCSI phase manifest constants from ASC_PHASE_* to SCSI_PHASE_*,
as the newer version of the Mach 53c94 driver does.
1996-01-31 23:38:55 +00:00
mark 0705e7dfd1 Initial commit of the NetBSD/arm32 port. 1996-01-31 23:24:54 +00:00
mark 386ad2ff0f Initial commit of the NetBSD/arm32 port. 1996-01-31 23:14:53 +00:00
phil ccbcfbef91 Integration of many changes done by Matthias Pfaller with a few by me.
clock.c		* Removed definition of DELAY.

intr.c		* Removed an unneeded $Id:....$

locore.s	* Moved some of the low level initialization
		  code to machdep.c.
		* Defined proc_trampoline.
		* Changed sigcode to pass scp to SYS_sigreturn.
		* Changed copyin/copyout/fu*/su* to take advantage
		  of the ns32532's dual address instructions.
		* Recoded copyinstr/copyoutstr/copystr in assembler.
		* Added a new and faster version of bzero.
		  This makes bzero.s unnecessary.
		* Defined suswintr to make profiling work.
		* Recoded cpu_switch modelled after the i386
		  version of cpu_switch.
		* Added support for lazy fpu state restore to
		  cpu_switch.
		* Recoded trap handling code to be more readable.
		* Added experimental code for single cacheline
		  invalidation.

machdep.c	* Copied over cpu_startup from i386/i386/machdep.c.
		* Changed sys_sigreturn to take advantage of the
		  argument passed by the trampoline code.
		* Changed boot to call doshutdownhooks and to store
		  machine state in case of a panic.
		* Changed setregs to clear the fpu registers.
		* Recoded low_level_init. It's now called init532.
		* cpu_reset: New function, resets the machine.

trap.c		* Pulled over from i386/i386/trap.c.
		* Added support for lazy saved/restored fpu state.

vm_machdep.c	* Removed kstack double mapping by pulling over alot
		  of code from i386/i386/vm_machdep.c.
		* Added support for lazy saved/restored fpu state.
		* Moved freeing of process resources from cpu_wait
		  to cpu_exit.
		* Pulled over cpu_coredump, pagemove, vmapbuf and
		  vunmapbuf from i386/i386/vm_machdep.c.

pmap.c		* Pulled over from i386/i386/pmap.c.

genassym.c	* Removed old and unused definitions, added new ones.

sys_machdep.c	* Moved sys_sysarch from machdep.c to sys_machdep.c.

process_machdep.c	* Changed to work without ktack double mapping.
			* Changed to work with lazy saved/restored fpu state.
1996-01-31 21:33:42 +00:00
mycroft 9836ea60d6 Remember to multiply the seconds field by 2. Pointer out by John Hayward. 1996-01-31 20:51:40 +00:00
hpeyerl a2db59e20a interface aliases don't count as individual interfaces and hence don't
need a seperate bpf. Someone should decide whether to tell netstat
about this.
1996-01-31 20:25:31 +00:00
mycroft 18fbe90d92 Document EMFILE and ENFILE. 1996-01-31 20:14:42 +00:00
gwr 6cc7bd528f Oops, didn't notice those type warnings... 1996-01-31 17:20:39 +00:00
briggs e5ece749b2 Handle COMMAND ABORTED by forcing a retry. PR#2003, but with some more
diagnostic info.
1996-01-31 15:16:06 +00:00
jonathan e229c8d175 Resolve pmax and alpha IOCTL asic driver differences, pass 1:
Rename the ioctl asic register and slot macros from ASIC_<xxx> to
IOASIC_<xxx>, to be compatible with the machine-indpendent names in
sys/dev/tc/ioasicvar.h.  The pmax code still uses
sys/arch/pmax/pmax/asic.h, as some of the registers and offsets
defined there are not yet defined in sys/dev/tc/ioasicvar.h.

Rename the ioctl asic base-address pointer from `asic_base' to `ioasic_base'.
1996-01-31 08:46:42 +00:00
mycroft 0a47ede0fe Ignore FIN if not yet connected. 1996-01-31 05:56:56 +00:00
mycroft ac01b2f206 Add a comment describing the previous. 1996-01-31 05:42:37 +00:00
mycroft a4e1bceb84 If we close from FIN_WAIT_2 state, make sure we don't leave the socket
around forever if we don't get a final FIN.  From Arne Juul, PR 1659.
1996-01-31 05:37:29 +00:00
mycroft 59d1cce3ae Don't specify a uid or gid in create operations; let the server fill it in. 1996-01-31 05:13:33 +00:00
mycroft 85f2006f7a Correct some uses of -1 and VNOVAL. 1996-01-31 04:24:35 +00:00
mycroft d4b276c3d5 Update to match kernel. 1996-01-31 04:01:48 +00:00
mycroft 67e78477db Build a hash table of PCBs. Hash function needs tweaking. 1996-01-31 03:49:23 +00:00
mycroft b050cf3d61 Allocate the GDT area in a different way. 1996-01-31 03:13:07 +00:00
mycroft fbb022ab48 Trivial change for consistency. 1996-01-31 03:11:16 +00:00
jonathan 219b1ef218 Re-write Decstation turbochannel autoconfiguration code to use the machine-
independent TC support in sys/dev/tc/tc.c and sys/dev/tc/tcvar.h:
  * Change the tc autoconfiguration tables to use a struct tc_attach_args
    instead of the ad-hoc structure.
  * Change all pmax device drivers to use a `struct confargs' that's
    assignment-compatible with  sys/dev/tc/tcvar.h `struct tcdev_attach_args'.
    Devices that can be present on a TC or as ioctl asic/mainbus builtins
    use  the same `struct confargs'.
  * Eliminate the `BUS_CVTADDR()' macros which the pmax port inherited from
    an old, now-obsolete sys/arch/alpha snapshot.

  * Update the comments and debugging code in interrupt handlers to
    be consistent with the machine-independent TC support.

Other commits that overlap the same source files include: re-enabling
clock-tick interrupts earlier, and counting hardclock ticks for vmstat -i.
1996-01-31 02:53:39 +00:00
thorpej 134b410457 Use the common sigreturn routine. 1996-01-31 02:26:05 +00:00
thorpej a11ff465eb Factor out the common (to all m68k ports) sigreturn routine. 1996-01-31 02:22:15 +00:00
cgd 40628fb3e8 update for new version of 'pcidevs' 1996-01-31 00:45:25 +00:00
cgd 8a3babe178 update/clean entries for Adaptec PCI scsi chips/boards. 1996-01-31 00:43:02 +00:00
scottr 25879b675b Resolve return type conflict for microtime(); closes PR #1835. 1996-01-30 23:15:01 +00:00
gwr f2e57c6dc8 Eliminate remaining direct references to the z8530 chip
to allow the MD access functions to do delays, etc.
1996-01-30 22:34:52 +00:00
mycroft 99686e0059 Add a vnode** argument to getvnode(), prototype it, and make it return
EBADF if the file descriptor has been revoked.
1996-01-30 20:05:33 +00:00
jtc bd587f836f Changed manpages to reflect fact that localtime file is in /etc 1996-01-30 19:54:34 +00:00
thorpej 90a0b784de Build memcpy.c 1996-01-30 19:47:32 +00:00
thorpej 43349cd7ef Add a memcpy() function, just a cheezy wrapper around bcopy(). Yes,
it's really true...we didn't have one before, even though the Makefile
thought we did.  (Yes, I checked the Attic...)
1996-01-30 19:45:34 +00:00
thorpej abe8231c4f Catch up with changes to libsa. 1996-01-30 19:09:09 +00:00
thorpej 9ceb2e3fc2 Disks now share a common interface for "unlock" and "eject". Teach
eject(1) how to use it.  There is now a single eject_disk() rather
than eject_floppy(), eject_cdrom(), etc.
1996-01-30 18:35:47 +00:00
thorpej 66e4232d3d #include <sys/ioccom.h> -> #include <sys/ioctl.h> 1996-01-30 18:34:07 +00:00