summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
1995-12-26from netbsd; enable cpu_swapout(), which must save npx stateTheo de Raadt
1995-12-26from perry:Theo de Raadt
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)
1995-12-26from netbsd:Theo de Raadt
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.
1995-12-26from netbsd:Theo de Raadt
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.
1995-12-26from netbsd:Theo de Raadt
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.
1995-12-26from netbsd:Theo de Raadt
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.
1995-12-26from netbsd:Theo de Raadt
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.)
1995-12-26from netbsd; deal with ufs -> ffs transitionTheo de Raadt
1995-12-26from netbsd:Theo de Raadt
IO bus for 3000-family boxes is now "tcasic" when then attaches tc. esp_iomem is unnecessary, has been unnecessary for a while, apparently.
1995-12-26from netbsd: if subdevice not configured, print something out about it.Theo de Raadt
1995-12-26from netbsd:Theo de Raadt
portability definitions for machine-independent TC configuration code.
1995-12-26from netbsd: move DELAY's functionality into delay()Theo de Raadt
1995-12-26from netbsd:Theo de Raadt
deal with renaming of asic to ioasic, and other new-tc-config changes
1995-12-26from netbsd:Theo de Raadt
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.
1995-12-26from netbsd; rename TC 'asic' to 'ioasic'Theo de Raadt
1995-12-26from netbsd:Theo de Raadt
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.
1995-12-26from netbsd:Theo de Raadt
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-26put memcpy into libsaTheo de Raadt
1995-12-26properly decl panic()Theo de Raadt
1995-12-26quiet a warningTheo de Raadt
1995-12-26memcpy() in seperate file. some compilers/machine combinationsTheo de Raadt
generate memcpy() for structure assignments. bootblocks should still avoid using memcpy(), since it simply increases bootblock size.
1995-12-21from netbsd; use U suffix to gaurantee unsignednessTheo de Raadt
1995-12-21from netbsd; use __attribute__((packed)) if it is availableTheo de Raadt
1995-12-21from netbsd:Theo de Raadt
Use explicit integer sizes. Adjust constraints for GCC 2.7.2. parts by niklas
1995-12-21from netbsd:Theo de Raadt
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.
1995-12-21from netbsd; in swapin() do process queue removal at splstatclock instead of ↵Theo de Raadt
splhigh
1995-12-21from cgd; handle 64-bit pointers and longsTheo de Raadt
1995-12-21from netbsd; cpu_setstack() is depricatedTheo de Raadt
1995-12-21from netbsd; do not declare private copy of syscallargTheo de Raadt
1995-12-21pull in svr4_time.hTheo de Raadt
1995-12-19from netbsd:Theo de Raadt
Fixes for devices that don't support linked commands. (Paul Goyette)
1995-12-19from netbsd; disable interrupts at SYSMASK_ADDRTheo de Raadt
1995-12-19from fvdl; add msync(), readv() and writev()Theo de Raadt
1995-12-19from christos; add utime() and utimes()Theo de Raadt
1995-12-18enable multicast, so that multicast packets can flow through ppp links. idea ↵Theo de Raadt
from freebsd
1995-12-18from netbsdTheo de Raadt
1995-12-18cgtwo only exists on vmes; and thus only sun4 (we will deal withTheo de Raadt
the sun4/600 later)
1995-12-18fix fb_setsize() to set width/height for P4 frame buffersTheo de Raadt
now rconsole works on all P4 frame buffers
1995-12-18update from netbsdTheo de Raadt
1995-12-18Use 115200 for IIci's serial clock constant, too. Wierd that it ever workedbriggs
otherwise...
1995-12-17from netbsd; Correct PCLK valueTheo de Raadt
1995-12-17from netbsd:Theo de Raadt
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.
1995-12-17add a missing \nTheo de Raadt
1995-12-17match correctly on pfourTheo de Raadt
1995-12-16Two changes are made in this checkin.Dale S. Rahn
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.
1995-12-16Declare emul_sunos so '040 cache flush will compile.briggs
1995-12-16{in,out}*() macros are already in pio.hTheo de Raadt
1995-12-16CFCR_* -> LCR_*Theo de Raadt
1995-12-16lofs is goneTheo de Raadt
1995-12-15from netbsd:Theo de Raadt
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.