Commit Graph

16954 Commits

Author SHA1 Message Date
jonathan bdb182a2cc Change xinstall to work with strip from GNU binutils, for mips and alpha ports.
When using a strip that uses a temp file and moves that to the target,
unlinking the original, install would set the modes of the
original (now unlinked) file, not the new stripped one.
Fixed by re-opening the fd used for fchown/chmod after stripping.
1995-12-20 10:25:17 +00:00
mycroft dab27d0c21 Use explicit integer sizes. Adjust constraints for GCC 2.7.2. 1995-12-20 07:53:09 +00:00
cgd 3beadd2412 don't forget to remove the _symbol_ temp file. 1995-12-20 04:45:11 +00:00
jonathan c0f958f6be 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-20 02:00:23 +00:00
cgd f519e9db90 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-20 00:54:18 +00:00
cgd cf967a312f 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-20 00:52:16 +00:00
cgd 4c042472eb 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-20 00:50:42 +00:00
cgd eb45b93a9a 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-20 00:48:32 +00:00
cgd a5c7435308 update for new turbochannel configuration code. 1995-12-20 00:43:20 +00:00
cgd ec7644f74f update to include most of pk's changes to the sparc esp driver.
rework TC configuration code.
1995-12-20 00:40:21 +00:00
cgd cc162e7d82 deal with renaming of asic to ioasic, and other new-tc-config changes 1995-12-20 00:38:53 +00:00
cgd 9e66508169 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-20 00:19:49 +00:00
cgd e3e60a4d81 if subdevice not configured, print something out about it. 1995-12-20 00:18:50 +00:00
cgd 2db5c9e1ef deal with ufs -> ffs transition. 1995-12-20 00:17:49 +00:00
cgd d94de79005 rename TC 'asic' to 'ioasic' 1995-12-20 00:14:10 +00:00
cgd 175729032f rename these more appropriately 1995-12-20 00:12:52 +00:00
cgd c87e761abf these have been renamed 1995-12-20 00:11:15 +00:00
cgd 1ebd4658b5 these are going to be made machine-independent 1995-12-20 00:10:40 +00:00
cgd 17f70e1910 portability definitions for machine-independent TC configuration code. 1995-12-20 00:09:29 +00:00
cgd b206d2fe18 move DELAY's functionality into delay() 1995-12-20 00:08:43 +00:00
cgd b567511c78 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-19 23:27:53 +00:00
cgd 3e0efb4d89 changes to make this work on systems where pointers & longs are 64 bits.
This is mostly just changes to make the stuff that goes over the wire
use fixed-size types.
1995-12-19 23:07:11 +00:00
perry 5b6f34a9a4 Added macros to make section 9 man pages default to "NetBSD Kernel Manual".
I would have prefered the "Kernel Internals Manual", but some man pages
in the kernel section have names too long to make that possible without
messing up the title lines. (Sigh.) Also designated "KM" to indicate
"NetBSD Kernel Manual" for completeness.
1995-12-19 19:14:45 +00:00
christos ac82785d44 fix compile error from fvdl; thanks. 1995-12-19 18:27:02 +00:00
christos 34af3b306f syscalls.master was changed 1995-12-19 07:14:25 +00:00
christos 20a2ff3d16 Added utime and utimes 1995-12-19 07:12:53 +00:00
cgd 13c61484db fix a call to localtime() so that it works if time_t != long.
(Whoever decided that one should repeate all of the locals 2x to
save one more #ifdef in log() should be shot...)
1995-12-19 03:33:06 +00:00
pk f9cb846528 Add separate list of `argv[0]' aliases.
Add some more links.
1995-12-19 00:54:07 +00:00
pk 644c68a706 Towards machine independency, per cgd: macros to access hardware registers. 1995-12-18 23:58:31 +00:00
pk aa1a5a63a4 sparc MD miniroot config files. 1995-12-18 22:54:43 +00:00
pk c71d8c144e Attempt at a MI miniroot build environment, converted from hp300 version.
Note:
	- `list' was more-or-less arbitrarily split into MD & MI parts.
	- the `crunch' configuration file is generated from `list's
	  with the `makeconf' awk-script.
	- Makefile assumes there's a `../<arch>/miniroot' directory with
	  MI configuration files.
1995-12-18 22:47:26 +00:00
leo ea5c7dd80d Oops, forgot to change one fixed address into a define. 1995-12-18 20:40:59 +00:00
leo 1e5442c0ba Fixes for devices that don't support linked commands. (Paul Goyette) 1995-12-18 20:37:51 +00:00
briggs 0a1c6c4827 The IIci also needs an sccClkConst of 115200 instead of 122400. 1995-12-18 14:38:02 +00:00
fvdl 4ed045ab27 syscalls.master changed 1995-12-18 14:35:43 +00:00
fvdl 2df1785997 msync, readv and writev were recently added to the Linux kernel; add them
to the emulation as well.
1995-12-18 14:35:08 +00:00
jonathan 3716ffd555 Use GNU-binutils friendly lorder script on mips as well as alpha. 1995-12-18 07:59:12 +00:00
jonathan 39890661ee Eliminate separate invocation of nm for each .o file on command line.
Add check for dependencies introduced by symbol types 'G' (mips gp-relative
constant pool) and 'R' (readonly data).
1995-12-18 07:45:17 +00:00
cgd 4297bc2d3a don't include the .c.a rule on the alpha. see p.r. 1488 for an
example of how make breaks when it's present.  In particular, it causes
build of the compiler toolchain to fail if present, which keeps
a complete system from building, on the alpha.
1995-12-18 02:53:20 +00:00
ghudson c0af535767 fdescfs now provides . and .. entries, so remove the comment about
them not being there.
1995-12-17 18:50:19 +00:00
perry 6b1e4cda29 Closed out my own PR 1365 -- this change adds support in /etc/netstart
for an /etc/ifaliases file that contains lists of additional IP
addresses to be configured on each interface.
1995-12-17 18:31:09 +00:00
jonathan d7d2ba5ac3 Fix cross-compilation bug: native architecture is "pmax", not "mips". 1995-12-17 09:09:42 +00:00
jonathan fc86960d2b Don't make config.old on pmaxes. Pmaxes now use (new) config, and config.old
can no longer build compilable kernels.
1995-12-17 06:39:31 +00:00
thorpej 9952e89162 Squish some type bugs pointed out by Jonathan Stone. 1995-12-17 06:03:36 +00:00
jonathan 96d023c99d Fix pmax read_names() to compile with updated (release 1.1) names for
pmax device-driver structures.
1995-12-17 05:30:05 +00:00
jonathan ea863ea59f Remove LENITR_UNIT and supporting code that allowed passing a unit
number, instead of a softc pointer, to leintr().  Pmaxes don't need it anymore.
1995-12-17 04:46:00 +00:00
jonathan 9b69a8f7e5 Add PTRDIFF_IS_LONG and SIZEOF_IS_ULONG config entries for (32-bit) mips. 1995-12-17 02:53:11 +00:00
thorpej 0763a85671 New-style RCS ids. 1995-12-17 02:01:10 +00:00
thorpej 24ac98ddab Look for section 9 (kernel) manpages. Pointed out by Erik Bertelsen
<erik@sockdev.uni-c.dk>.  Also, new-style RCS id.
1995-12-17 01:56:55 +00:00
leo 64f1b42bb4 Correct PCLK value. 1995-12-16 21:45:31 +00:00