Commit Graph

22153 Commits

Author SHA1 Message Date
pk 676939e234 Make the single-step support routines available to KGDB-only kernels as well. 1998-04-03 19:53:36 +00:00
pk 380f5e600d Pull in db_run.c and db_access.c if KGDB is defined. 1998-04-03 19:50:50 +00:00
pk df2b26547d If `SOFTWARE_SSTEP' is defined then kgdb_stub.c needs the single-step
emulation in db_run.c:

	- re-arrange `db_*_single_step()' and `db_*_temp_breakpoint()' -
	  which are only used in the `SOFTWARE_SSTEP' case - so these
	  are available to the KGDB code.
	- make other code in db_run.c conditional on `DDB'.
1998-04-03 19:45:12 +00:00
pk 13ff2cb86b Pull in prototypes from <ddb/db_run.h> and <ddb/db_access.h>. 1998-04-03 19:34:24 +00:00
cgd b81a5e0d4c set apm_damn_fool_bios on standby request if another request is
already in progress (as is done in the suspend case).  Suggested
by Soren S. Jorvang in PR 5246, but diff in that PR cleaned up so
it'd still work right when debugging printfs were enabled.
1998-04-03 18:18:05 +00:00
thorpej 04d3f25df8 Now that we have a flags word in the syn cache entry, use a flag to indicate
"peer will do timestamps" rather than a bitfield, and give the now-unsed
bit to the hash, making it now 32 bits.
1998-04-03 08:02:45 +00:00
thorpej b7c562b21c Clean up some comments wrt. the syn cache code. 1998-04-03 07:54:01 +00:00
thorpej 30fcf99ef8 Fix a bug which would cause a panic in soreceive() if multiple raw
receivers ask for ancillary data.

Noted by Francis Dupont <Francis.Dupont@inria.fr> on tech-net.
1998-04-03 07:49:16 +00:00
enami 848e8406bc The fe driver is spilt into ate, fmv and mbe, and this file is no longer
necessary.
1998-04-03 04:46:46 +00:00
enami 910e6420e0 Delete entry for fe*. 1998-04-03 04:44:39 +00:00
enami f7fc870789 Add entry for aic* at isapnp, but comment outed. 1998-04-03 04:35:39 +00:00
enami 6821ff25c2 Add entry for aic* at isapnp. 1998-04-03 04:35:05 +00:00
enami 6223459801 Add entry for mbe* at pcmcia (but comment outed). 1998-04-03 04:29:52 +00:00
enami c95ab20c4a Add entry for mbe* at pcmcia. 1998-04-03 04:29:13 +00:00
enami 078370be30 Add comment outed entries for ate0 and fmv0.
Remove fe0.
1998-04-03 04:25:15 +00:00
enami b1b3597d5e Add entries for ate0 and fmv0 (former is tested but latter is not).
Remove fe0.
1998-04-03 04:23:50 +00:00
mark 3d26c2dbf1 In cpu_fork() if the vmspace is shared don't fiddle with it. e.g. don't
try and replace the zero page pagetable and mapping.
1998-04-03 01:58:40 +00:00
mark d6fb052cdd Setup proc0.p_addr much earlier on in the startup. 1998-04-03 01:56:34 +00:00
mycroft eb466ba47f Make sure to unload and recycle the DMA map for a bad received packet.
This was (indirectly) the reason for machines `hanging' (actually, looping in
tulip_rx_intr()) with de cards.
1998-04-02 13:49:32 +00:00
kleink a1079109bf Substitute `unsigned int' for `u_int'. Also, don't pollute name space with
INFTIM in case of _XOPEN_SOURCE.
1998-04-02 13:22:09 +00:00
cgd 0d0f2a0713 kill unnecessary (unused) definition of partab (char partab[];), which
caused a compiler warning with egcs.
1998-04-02 02:46:02 +00:00
mark 27af7137f4 Overhaulled cpu_reboot(). Junked all the boot action garbage and just use
howto to dictate what operations to perform.
Removed support for calling the deprecated kshell stuff.
1998-04-02 02:01:13 +00:00
mark ac4c80ec10 Include machine/asm.h and use the ENTRY() macro for all function entry
points.
1998-04-01 23:14:21 +00:00
mark 90a05fec98 Tidied up various comments. Use the function entry macros from asm.h for
all entry points and don't bother profiling cpu_reset().
Flush the I and D TLB's after turning the MMU and cache off in cpu_reset().
1998-04-01 23:12:32 +00:00
mark b2286e384a Include machine/asm.h and use the macros from there for declaring
the function entry points.
Removed some redundant .req statements.
1998-04-01 23:09:06 +00:00
mark a877b68db5 Don't include sys/device.h here. 1998-04-01 23:05:28 +00:00
mark f0393b3819 Remove a chunk of dead comments as they appears in disassem.c where
they make a lot more sense.
1998-04-01 23:04:16 +00:00
mark 4a96466f61 Remove redundant .req assembler statements. 1998-04-01 23:02:32 +00:00
mark eb81ac0bbc Remove a load of redundant .req statements. 1998-04-01 23:00:13 +00:00
mark ae5c857ba4 Remove redundant .req statements.
Make various entry points non-profiling.
1998-04-01 22:59:25 +00:00
mark fd18f1a45b Remove some redundant .req statements. 1998-04-01 22:55:45 +00:00
mark 077c15ab4d Remove some redundant .req statements.
Make various entry points non-profiling.
1998-04-01 22:55:05 +00:00
mark 268d889d0d Make the floppy_read_fiq and floppy_write_fiq entry points non-profiling. 1998-04-01 22:53:32 +00:00
mark 7f98e08105 Remove some redundant .req statements. 1998-04-01 22:52:24 +00:00
mark f4c5b8f91a Define profiling and non-profiling versions of the ENTRY and ASENTRY
macros. No extra profiling code is generated if profiling is turned
on yet, but get the structure ready. (from cgd).
1998-04-01 22:50:22 +00:00
thorpej f9463514bf Implement Congestion Window Monitoring as described in the TCPIMPL
meeting of IETF #41 by Amy Hughes <ahughes@isi.edu>, and in an upcoming
internet draft from Hughes, Touch, and Heidemann.

CWM eliminates line-rate bursts after idle periods by counting pending
(unacknowledged) packets and limiting the congestion window to the
initial congestion window plus the pending packet count.  This has the
effect of allowing us to use the window as long as we continue to transmit,
but as soon as we stop transmitting, we go back to a slow-start (also known
as `use it or lose it').

This is not enabled by default.  You can enable this behavior by patching
the "tcp_cwm" global (set it to non-zero) or by building a kernel with the
TCP_CWM option.
1998-04-01 22:15:52 +00:00
tv 39b4c2fece mmap() default MAP_SHARED/MAP_PRIVATE is ``DEBUG'', not ``DIAGNOSTIC'' 1998-04-01 21:43:52 +00:00
pk 437796f42a Move initialization of `proc0.p_addr' from cpu_startup() to bootstrap(). 1998-04-01 14:03:26 +00:00
thorpej 1b176d9395 Back out a change made some time ago, that would cause the NetBSD TCP
to ACK immediately any packet that arrived with PSH set.  This breaks
delayed ACKs in a few specific common cases that delayed ACKs were
supposed to help, and ends up not making much (if any) difference in
the case where where this ACK-on-PSH change was supposed to help.

Per discussion with several members of the TCPIMPL and TCPSAT IETF
working groups.
1998-03-31 23:44:09 +00:00
thorpej 2da6c91259 Fix a potential-congestion case in the larger initial congestion window
code, as clarified in the TCPIMPL WG meeting at IETF #41: If the SYN
(active open) or SYN,ACK (passive open) was retransmitted, the initial
congestion window for the first slow start of that connection must be
one segment.
1998-03-31 22:49:09 +00:00
ender 84ada512a7 Add the newly created bus_space.c so it gets compiled. 1998-03-31 22:09:28 +00:00
pk 763a681898 Accommodate cgsix bus-attach split. 1998-03-31 21:12:15 +00:00
pk e3e74bd0d5 Factor out bus code into separate files. 1998-03-31 21:05:04 +00:00
jonathan d850158a7e Garbage-collect pmax_boardtype. Remoe pmaxtype.h includes from TC
framebuffer code. Elsewhere, use systype.
1998-03-31 11:32:52 +00:00
jonathan e485e43d44 Add writebuffer-flush for Decstation 5400, 5100 which use
coprocessor 3 for writebuffer control.
1998-03-31 11:04:10 +00:00
jonathan 88d943c976 Add emtpy entries for unused systypes between 5400 (0x6) and 5500 (0xb) 1998-03-31 11:00:01 +00:00
kleink b80d5a851b Rearrange the conditions checked regarding the inclusions for <sys/types.h>
and <sys/ttydefaults.h>.  Actually, one might argue about the inclusion of the
former, since the X/Open synopsis of tcgetsid() states that <termios.h> is
the only header file required, but the <termios.h> definition neither mandates
the definition of pid_t nor permits the inclusion of <sys/types.h>.
1998-03-31 10:05:59 +00:00
drochner e9ca6a9081 Remove conditionals on PCVT_{NET,FREE}BSD to make the source easier to
read.
1998-03-31 08:22:13 +00:00
thorpej 7e74fb627d Allow this to work w/ UVM (API issue). 1998-03-31 08:18:33 +00:00
thorpej 8c33969680 Fix PR # kern/68 by ensuring that a PC has a valid mapping before attempting
to disassemble it.
1998-03-31 08:16:28 +00:00