Commit Graph

22112 Commits

Author SHA1 Message Date
cgd 64f4e1937e rename <machine/ecoff.h> to <machine/ecoff_machdep.h> for clarity and
consistency with the way machdep headers for other things are done.
(the creation of the ecoff_machdep.h files was done on the CVS server, to
keep the RCS logs intact.)
1996-09-26 22:39:14 +00:00
cgd 0e097578a2 add and use a machine-dependent header, which currently defines some
macros to use to remove #ifdefs from the machine ID case check.
Eventually, these headers will contain other information, e.g.
machine-dependent relocation information, etc.
1996-09-26 21:50:55 +00:00
thorpej 0f1d076b3f Change a comment so that RCS doesn't expand it... (like, duh) 1996-09-26 21:47:52 +00:00
cgd aff6c1c4c7 kill DDB 1996-09-26 21:45:05 +00:00
cgd 9c3e274c7b adapt ELF-using compat code to use new ELF definitions/code. At this point,
these are restricted to 32-bit ELF, and should be severely cleaned.
1996-09-26 20:52:42 +00:00
cgd 79bd41b179 add support and reorganize for 64-bit ELF, included by EXEC_ELF64
option.  (Also, make EXEC_ELF32 option a way to explicitly include
32-bit ELF support.)
1996-09-26 20:51:03 +00:00
cgd 006b20dd51 add definitions for 64-bit ELF. Provided by Matt Thomas, then integrated
and cleaned up a fair bit.
1996-09-26 20:48:55 +00:00
thorpej f549601f76 Back out previous. Please beat me about the head and shoulders with
a large stick if I ever attempt to touch file(1) again.
1996-09-26 19:51:28 +00:00
thorpej c535ad0cdc Move the definition of MSB (in byte 5) to sit next to the other definitions
for byte 5 values... No functional change, just adds some clarity.
1996-09-26 19:37:15 +00:00
thorpej e1b380e139 Fix a bus mem space leak; always unmap the card, regardless of the success
of cy_find().
1996-09-26 19:24:04 +00:00
scottr 9bec0da45b Second pass cleanup 1996-09-26 19:22:42 +00:00
thorpej a962c12194 Use "cy_port_num" rather than "cy_port" where appropriate. 1996-09-26 19:16:02 +00:00
christos a63ddeefe6 - kill the -c hack. It does not work properly with virtual consoles anyway.
Implement a better scheme where we `find' the login ttys by looking in
  /etc/ttys. Of course this scheme breaks when /etc/ttys changes, but such
  is life.
- some cleanups...
1996-09-26 19:06:37 +00:00
christos 869fd46175 Implement T_FIXALIGN by adding code to fix unaligned accesses and a bit
in md_flags. This should bring the solaris mac emulator software a step
closer to working.
1996-09-26 18:58:33 +00:00
christos e33f712af6 Initialize md_flags. 1996-09-26 18:55:51 +00:00
christos 9db40d9ba8 Add md_flags so that we can have a fix-misalign-accesses flag. 1996-09-26 18:51:17 +00:00
gwr 79b5c352a5 Fix bounds_check_with_label() as suggested in PR#2598 (Thanks to der Mouse) 1996-09-26 18:10:21 +00:00
mrg b37e459094 use words from $DESTDIR. 1996-09-26 00:04:42 +00:00
thorpej cb5947b47e - Fix the gecos botch ... sizeof() was incorrectly being applied
to a pointer; use the provided length of buffer instead.

- Patch from Eric - fix a one-byte buffer overflow...

Both changes obtained from FreeBSD.
1996-09-25 22:40:26 +00:00
jonathan 9b5c58c457 * When configuring a serial console on a machine with a dc serial chip,
use the pre-autoconfig cold serial-console inititialization entry
  points from the bus-specific cfattach front-end code.
* Delete post-autoconfig code to switch from PROM output to kernel
  driver for machines with dc serial chips.
1996-09-25 21:16:00 +00:00
jonathan 8eca2b2bb4 * Rewrite asc driver with ``mi'' backend and parent-specific front-end
cfattach code for TC SCSI option cards  and ioasic 53c94 baseboard SCSI.
    ascvar.h:  shared softc  declarations
    asc_ioasic.c: ioasic front-end code.
    asc_tc.c: Turbochannel option (and 5000/200 basebard) front-end code.
* ioasic_attach meeds more work to eliminate pmax_type dependency
   and to verify the clocks speed passed to 53c94.
* Add prototypes for asc script entry points; should compile with
  -Wstrict-prototypes -Wmissing-prototypes.
* Use tcvar.h interface.  The usage of tc_syncbus() and tc_mb() may
  not be quite stylistically on an Alhpa, but it apparently makes no
  difference on the eerly-generation Alpha CPUs in TC Alphas.
1996-09-25 21:07:46 +00:00
christos 3f15a06497 Recognize %.2x as %02x 1996-09-25 21:03:06 +00:00
jonathan 874baa6c95 Rewrite dc7085 (dz-11 clone) driver as MI back-end, with bus-specific
cfattach front-end code:
  dc_ds for the decstation 2100( pmin), 3100 (pmax), and 5100.
  dc_ioasic for the decstation 5000/200 (3max) which does  not have a
  DEC TC-style IOCTL asic, but is configured as if it did.

* Add pre-autoconfig  code initialization of kerenl dc driver console I/O
  for remote serial consoles.  The hack to use PROM serial I/O until the
  dc device is autoconfigured is no longer necessary.
1996-09-25 20:48:51 +00:00
thorpej 63b18ee2f2 This file is now obsolete. 1996-09-25 20:44:09 +00:00
jonathan 75fd343a78 Build locore using merged mips (mips1, mips3) locore source:
* Add MIPS make variable pointing at $S/arch/mips
  * Build locore from $MIPS/mips locore source
  * Build locore.o and fp.o (fp emulation) from arch/mips locore source
  * Add target and rules to build pmax-specific locore code locore_machdep.o
    from $PMAX/pmax/lcore_machdep.S
1996-09-25 20:41:00 +00:00
jonathan 2ec085cba7 Back out part of revision 1.30:
>* Use `-S' rather than `-x' to remove debugging symbols.

because the pmax toolchain and gcc disagree about what is a "local"
symbol, and ld requires a "-x" to let elf2aout build bootable a.out kernels.
1996-09-25 20:35:16 +00:00
leo ffd121b446 More preps for et-driver. 1996-09-25 15:15:07 +00:00
leo f97dcb95be The KDASSERT macro is now defined in libkern 1996-09-25 15:10:15 +00:00
leo d9ec4b0569 Second arg to print function is now 'const char *' 1996-09-25 15:07:40 +00:00
leo 8e7f6c2cf5 Catchup with -current:
- Extra argument to boot()
  - select -> poll
1996-09-25 15:03:20 +00:00
christos 42d3980338 Fix PR/2779: statvfs returns incorrect sizes. From Aaron Brown 1996-09-25 04:37:13 +00:00
mycroft 605403ce1e portal_fsync -> genfs_nullop 1996-09-25 03:01:41 +00:00
christos f44e9d22db Avoid problems with ptrdiff_t and size_t being different on different
architectures, by adding explicit casts to printf arguments. Is there
a better way to do this?
1996-09-25 02:22:10 +00:00
jtc e1cfddbd32 Copyright has been assigned to The NetBSD Foundation 1996-09-25 00:53:45 +00:00
briggs ba1a770fcd Make a pass for 1.2. 1996-09-24 23:04:41 +00:00
gwr a8791ca150 The hack to keep out deflate.c and related stuff belongs better here,
because that allows zlib to stay closer to the distributed version.
1996-09-24 20:40:10 +00:00
christos 6dde563e8f Fix the entries for the cyclades multiport serial cards, but leave commented
out, like the other multiport cards
1996-09-24 19:10:41 +00:00
christos ded50ae798 New Cyclades driver from Timo Rossi 1996-09-24 18:02:33 +00:00
christos e76a4ef86b New cyclades driver from Timo Rossi. 1996-09-24 17:59:33 +00:00
christos 7c744984f3 New cyclades driver from Timo Rossi. 1996-09-24 17:47:14 +00:00
christos 5d34f1a62b New cyclades driver from Timo Rossi 1996-09-24 17:45:14 +00:00
christos 3f0fed8ce8 Add stub for cyclades multi-port serial cards 1996-09-24 17:43:35 +00:00
is e6edfde31b Rename the watchdog enable bit to reflect its polarity. 1996-09-24 17:11:53 +00:00
christos df34c6063d explicitly enumerate the ripv1 fields. 1996-09-24 17:00:27 +00:00
christos 5057242ce3 put back the explicit ripv1 field enumeration; lots of userland has changed
to use this.
1996-09-24 16:46:51 +00:00
christos 41751ebe3c - Revert to the traditional struct sockaddr description of the rip v1 packets.
- Fix a bad bug where:
	u_int16_t       n_dst;
  should be:
	u_int32_t	n_dst;

  If this bug is in the 1.2 release it should be part of the first patch.
1996-09-24 16:36:19 +00:00
christos 4d3fba5988 - resolve conflicts
- try to follow rcsid style more closely
- fix rn_walktree callback routine signatures.
1996-09-24 16:24:12 +00:00
is 2b84ad395b Don't forget to shut up Fido. 1996-09-24 16:08:36 +00:00
christos 7311bcb20e Latest version of routed(8) from Vernon Schryver <vjs@sgi.com> 1996-09-24 15:11:33 +00:00
ws 82cdedc3cd Fix delete() call in dir.c differently than Christos' way.
Require at least one filesystem as program argument.
Update man page to reflect the latter.
1996-09-24 13:17:18 +00:00