Age | Commit message (Collapse) | Author |
|
|
|
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.
(problem was originally reported by deraadt a number of years ago)
|
|
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.
Fix ultrix_sys_select() entry.
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.
|
|
machine-independent TurboChannel bus configuration. These files
deal with stuff like:
(1) configuring built-in devices,
(2) looking at TC slots configuring any devices found.
The lists of slots, slot locations, etc. and built-in devices
are provided by machine-dependent code. Interrupt handling
is also provided by machine-dependent code, but the MD code provides
hooks so that standard names for 'establish' and 'disestablish'
can be used in drivers.
|
|
autoconfiguration information for the TurboChannels System ("IOCTL") ASIC
found in many DECstations and all of the TC-bus Alphas. This is
provided so that the machine-independent TC if_le driver will be able
to use it.
|
|
Machine-independent TurboChannel LANCE driver. As-is, this driver
should work properly with:
(1) LANCE chips hanging off the system IOCTL asic,
(2) LANCE chips TurboChannel option boards.
Support for various PMAX-family baseboard options isn't yet in this
file, but should be easy to add.
|
|
files file to define 'tcbus' attribute, to which 'tc's attach.
also defines tc device. does _not_ define le driver, because
of conflicts with other (e.g. ISA) le drivers. (Alpha kernel
configuration files include files.isa and files.tc.)
|
|
|
|
IO bus for 3000-family boxes is now "tcasic" when then attaches tc.
esp_iomem is unnecessary, has been unnecessary for a while,
apparently.
|
|
|
|
portability definitions for machine-independent TC configuration code.
|
|
|
|
deal with renaming of asic to ioasic, and other new-tc-config changes
|
|
machine-independent TurboChannel bus configuration. These files
deal with stuff like:
(1) configuring built-in devices,
(2) looking at TC slots configuring any devices found.
The lists of slots, slot locations, etc. and built-in devices
are provided by machine-dependent code. Interrupt handling
is also provided by machine-dependent code, but the MD code provides
hooks so that standard names for 'establish' and 'disestablish'
can be used in drivers.
This code requires <machine/tc_machdep.h>, which defines some
portability types specific to the TurboChannel bus code.
|
|
|
|
Add support for ptrace PT_GETREGS and PT_SETREGS for NetBSD/pmax:
* define PT_GETREGS and PT_SETREGS in pmax/include/ptrace.h
* Flesh out the stubs in pmax/pmax/process_machdep.c to handle
those requests.
* Now that "struct reg" is actually used, remove the bogus
#ifdef LANGUAGE_C around its definition, and redo pmax/include/reg.h
so that the definitions needed by locore.S are in a separate file,
pmax/include/regnum.h.
* update locore.S to match.
|
|
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.
|
|
|
|
|
|
|
|
generate memcpy() for structure assignments. bootblocks should
still avoid using memcpy(), since it simply increases bootblock
size.
|
|
|
|
|
|
Use explicit integer sizes. Adjust constraints for GCC 2.7.2.
parts by niklas
|
|
Fix from Lite-2: when reloading the file system, save fs_maxcluster and
the old summary structure pointers, and recalculate cluster per cyl. grp.
information.
|
|
splhigh
|
|
|
|
|
|
|
|
|
|
Fixes for devices that don't support linked commands. (Paul Goyette)
|
|
|
|
|
|
|
|
from freebsd
|
|
|
|
the sun4/600 later)
|
|
now rconsole works on all P4 frame buffers
|
|
|
|
otherwise...
|
|
|
|
Make an NMI activate the debugger. This only works on a TT and needs a small
hardware patch. This makes it easier to debug drivers that hang on an ipl
> splsoft.
|
|
|
|
|
|
The first is a change to force the console to stay 8N1, the configuration
of the bug/prom during the first open to the device by init.
The second is to not enable interupts until the port is opened. Previously
receive and CD change interrutps were enabled at config time. If a
character arrived before the port was opened for the first time, it
would crash the system.
|
|
|
|
|
|
|
|
|
|
Change mips __warn_references() macro to use the ELF warning features
in binutils 2.6 and (patched) gcc 2.7.2. Only works with gcc in ANSI C
mode, for now.
|