Commit Graph

17010 Commits

Author SHA1 Message Date
mycroft 883fb8f0ca Copy md_flags during fork. 1995-12-26 16:59:47 +00:00
jonathan a44b6c74de Add emulation of ultrix mount(2). Sufficient to NFS-mount filesystems
using a NetBSD kernel in an ultrix root filesystem.

Move wait emulation to the old (v7) wait syscall number, as that's
what the  Ultrix ufs_mount binary uses.
1995-12-26 10:06:14 +00:00
jonathan e9411cae99 Fix ultrix_sys_select() entry. 1995-12-26 04:46:08 +00:00
jonathan 6a363a1101 Add emulation of Ultrix select: before calling native sys_select(),
limit the number of FDs to select on to the maximum supported by NetBSD --
which is as many FDs as the emul_ultrix process can have open, anyway.

Add emulation of Ultrix getmnt(2) in ultrix_fs.c

Add partial emulation of Ultrix tty ioctl()s in ultrix_ioctl.c, derived
from compat/sunos/sunos_ioctl.c.  Ultrix libc's ``isatty()'' now works
in compat_emul processes.
1995-12-26 04:44:37 +00:00
jonathan 0a1e90f900 Add emulation of Ultrix select: before calling native sys_select(),
limit the number of FDs to select on to the maximum supported by NetBSD --
which is as many FDs as the emul_ultrix process can have open, anyway.

Add emulation of Ultrix getmnt(2) in ultrix_fs.c

Add partial emulation of Ultrix tty ioctl()s in ultrix_ioctl.c, derived
from compat/sunos/sunos_ioctl.c.  Ultrix libc's ``isatty()'' now works
in compat_emul processes.
1995-12-26 04:22:30 +00:00
mycroft cd8fe86bcb Make the type of __builtin_va_list a long. 1995-12-26 01:16:24 +00:00
mycroft 0c00214737 Use __builtin_va_alist. 1995-12-26 00:19:09 +00:00
mycroft c098d54e0a Stylistic changes. 1995-12-26 00:15:47 +00:00
mycroft fa887628d8 Stylistic changes. 1995-12-25 23:15:31 +00:00
mycroft 72e24c3168 Update for GCC 2.7, and fix bugs. 1995-12-25 22:24:54 +00:00
mycroft d1de691efb Stylistic changes. 1995-12-25 22:22:02 +00:00
mycroft 0199e002ad Update for GCC 2.7, and fix bugs. 1995-12-25 21:41:08 +00:00
leo b46db7160c - Remove an unwanted interference between the 2 channels.
- Allocate the ringbuffer on a channel's first open.
1995-12-25 14:16:50 +00:00
leo 608b4cc605 Fix possible integer overflow when allocating PT map. 1995-12-25 14:13:53 +00:00
leo 7682dd538b Add doshutdownhooks 1995-12-25 14:09:13 +00:00
neil c93761e267 Added ccd pseudo device. 1995-12-24 18:00:29 +00:00
mycroft f597a53319 Remove the process from zombproc and its parent's child list before freeing
its resources.
1995-12-24 11:23:33 +00:00
mycroft dda46feea9 Avoid extra byte-swapping in average cases. 1995-12-24 03:33:43 +00:00
mycroft 0e11b6eb6c Remove old comment regarding trailers.
Fix a diagnostic message.
Make some variables use fixed-size types.
Initialize if_output in fddi_ifattach().
1995-12-24 03:32:03 +00:00
mycroft d16cabae61 Remove old comment regarding trailers. 1995-12-24 03:12:29 +00:00
mycroft 206addf62d Various cleanup, mostly by me, submitted by Ignatios Souvatzis. 1995-12-24 03:03:55 +00:00
mycroft 3da4b2a160 The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
mycroft 1ca89b7f91 Enable paging of the user area. 1995-12-24 01:07:32 +00:00
neil 6d9d4bb77a Added ccd pseudo-device. 1995-12-24 00:22:20 +00:00
perry 765bb97fe9 fix my own pr 1762, in which it was noted that boot2 used a busy loop
to time out the boot prompt.  Now uses a usleep() routine that calls
the BIOS and the functionality is separate from gets(). Timeout is
#defined to 5 seconds. Also did some minor cleanup in preparation to
prototype/ANSIfy everything.
1995-12-23 17:21:23 +00:00
tls 69d57286dc merge latest Thomas version with our minimal changes 1995-12-23 06:22:46 +00:00
jonathan 1b040f98a1 Remove entries for gcc-2.6.4, now NetBSD/pmax uses gcc 2.7.2 from the NetBSD
source tree.
1995-12-23 04:51:07 +00:00
jonathan 6bef38210e Re-apply fix from before the NetBSD/1.1 version: actually write the pointer
to the LANCE's dma region into the IO ASIC  after computing it.
1995-12-22 12:52:09 +00:00
jonathan 3fa4ff4647 Change mips assembly code for {,_,sig}setjmp.S to get register names
from <machine/regnum.h>, not <machine/reg.h> (which also defines structs.)
1995-12-22 10:20:51 +00:00
jonathan 339aa91097 Update the old (4.4bsd/pmax) miniroot build scripts to put mount_ffs
on a miniroot, until the  new miniroot  tools work on a pmax.
1995-12-22 08:08:14 +00:00
jonathan c82a4ed224 Update Makefiles for usr.bin/systat and usr.sbin/iostat to be
consistent with usr.bin/vmstat/Makefile wrt CLFAGS and -I, since
all three compile vmstat/names.c.  (Now compiles on a pmax.)
1995-12-22 08:04:24 +00:00
cgd 58b27d5fbe repoint libexec/cpp link to the right place. grn. 1995-12-21 14:22:25 +00:00
mycroft 6840a32483 Clean this up a bit. 1995-12-21 11:27:51 +00:00
mycroft 7c55315acb We don't need non-blocking mode without SIGIO. 1995-12-21 11:05:58 +00:00
mycroft 0c627dfad5 Eliminate the use of SIGIO, and some other cleanup. 1995-12-21 10:45:28 +00:00
jonathan 2852152043 Reserve a number in the machine-dependent range for PT_STEP, in
case the kernel-debugger implementation of single-stepping ever works
with user code.
1995-12-21 09:28:36 +00:00
mycroft 322f02c1e4 Trivial change for new GCC. 1995-12-21 09:00:24 +00:00
mycroft 8e0a34778a Add some casts for GCC. 1995-12-21 08:54:14 +00:00
mycroft 02fedf5cab Use POSIX signals. Always set FNONBLOCK on the tty. 1995-12-21 08:39:50 +00:00
mycroft e5a13ab82f Build long double support for i386 as well. 1995-12-21 05:36:19 +00:00
mycroft 52b61da0eb Our VMIN works fine. 1995-12-21 05:24:49 +00:00
mycroft ce000f04ef Remove deprecated cpu_setstack(). 1995-12-21 05:01:32 +00:00
mycroft ebfe9ee154 Minor changes. 1995-12-21 04:44:27 +00:00
mycroft 9b62656910 Rearrange to avoid sign problems with GCC. 1995-12-21 03:56:06 +00:00
cgd 4fe3e795ba clean up a bit, add description for README_FIRST 1995-12-21 02:40:49 +00:00
mycroft d2e4a2de4b Minor cleanup. 1995-12-21 01:08:59 +00:00
cgd 3cfda5ee4e note that /boot isn't in bin.tar.gz 1995-12-21 01:04:14 +00:00
mycroft 6698d239ca Use the U suffix to insure unsigned values are treated as such. 1995-12-20 23:30:57 +00:00
mycroft e0c0c4749d Minor cleanup. 1995-12-20 23:14:48 +00:00
mycroft 628076bc54 Use the new GCC for i386. 1995-12-20 22:33:59 +00:00