Commit Graph

22745 Commits

Author SHA1 Message Date
mark
a76affde1d Add MACHINE_NEW_NONCONTIG support. 1998-05-08 23:36:08 +00:00
mark
d4a8f4cf29 Commit MACHINE_NEW_NONCONTIG support based on Chuck's conversion notes. 1998-05-08 23:34:00 +00:00
mark
7de24625c1 The reset address is no longer fixed so don't refer to it as 0x00000000. 1998-05-08 23:25:31 +00:00
mark
a13ca3b4d2 Don't declare variables as register ...
Don't cast pointers to u_int for printing, use %p instead.
Minor restructure of curproc == NULL test in ast().
1998-05-08 23:24:08 +00:00
mark
51ce82ec50 Don't include machine/vmparam.h. 1998-05-08 23:21:31 +00:00
chopps
9ed2f725ab add -m and -k flags 1998-05-08 23:03:49 +00:00
scw
cd18732d2f Move 'pseudo-device md' from VME147 to RAMDISK, where it belongs.
For some reason, 'pseudo-device vnd' was missing from VME147; added.
1998-05-08 21:37:29 +00:00
pk
addb5d9572 VOP_CLOSE() takes F* flags, not IO_* flags. 1998-05-08 21:02:35 +00:00
kleink
f6ef93b4fb Per 1003.1g and XSI98, change iovec.iov_base from char * to void *. 1998-05-08 19:09:19 +00:00
chopps
09332ff276 remove -Z (load from chipmem) flag
fix copier code (startit) to work bi-directionally.
change compiler optimization options to save some bytes
1998-05-08 19:08:18 +00:00
kleink
d4a8052f98 Fix some arithmetics lossage on typeless pointers. 1998-05-08 18:31:13 +00:00
kleink
fe2d01988e Fix some arithmetics lossage on typeless pointers. 1998-05-08 18:18:55 +00:00
kleink
d9066c40e9 Make uvm_vsunlock() actually use the proc * passed to it; per discussion
with Jason Thorpe.
1998-05-08 17:41:41 +00:00
kleink
687ea7404c Fix some arithmetics lossage on typeless pointers. 1998-05-08 16:55:15 +00:00
mhitch
b3f9a74326 Fix a problem that will reboot the system with no message as to what the
problem was.  A collision between a select and reselect would leave TC
non-zero from the command-out DMA count, which could later be considered
a fatal condition, causing a reboot.  The message for that error was
only displayed with DEBUG.  Fixed by clearing TC on a reselect.  The
non-zero TC detection won't occur in this case, so unconditionally
display the message if it occurs.

Workaround for another problem that resulted from an "Illegal Command"
status from the 53c94 which would get ignored and result in a timeout
(which also reboots the system).  Added the missing check for the
illegal command status, and add the workaround of resending the "accept
message" command to the 53c94.  Correct fix will be to determine why the
message wasn't sent in the first place.  Abort if the resending the
command doesn't work.

Correctly detect a spurious interrupt and ignore it.  This was taken
from a newer Mach driver, but did not get the check converted for the
design difference between the current NetBSD driver and the Mach driver.
1998-05-08 15:39:01 +00:00
mycroft
c85dd6f9e1 Fix botch in i386 copyoutstr() case. The index into the page table was
corrupted after the first page.  From Matthias Drochner.
1998-05-08 10:05:47 +00:00
simonb
469658d533 - Allow all valid SCSI id's to work on the SII and first two ASC
controllers (including SCSI id 7 on the 2100/3100).
- On the pmax (2100,3100) set the host SCSI id to 6.
- Move disk and tape config for the second ASC controller from the GENERIC
  config file to scsi.pmax so all configurations can use the second
  controller.
1998-05-08 00:05:19 +00:00
briggs
33f027f65f Handle the interrupt for the Vimage graphics adapter. Thanks to
Sadamu Gohyakuda <joyhiro@joyful.gr.jp> for remote testing.
1998-05-07 23:42:59 +00:00
briggs
5917e62b18 New video card: Vimage by Interware Co., Ltd.
Define constants for the PLI QuickSCSI nubus board.
1998-05-07 23:41:51 +00:00
kml
1216b9a560 Change comments on tcp_mss_to_advertise to match actual arguments 1998-05-07 22:30:23 +00:00
pk
4d48eb7a4b Sync with libc. 1998-05-07 22:15:23 +00:00
kleink
d2db996158 Fix some arithmetics lossage on typeless pointers. 1998-05-07 21:13:23 +00:00
kleink
aa36ad1f55 Fix some arithmetics lossage on typeless pointers. 1998-05-07 21:01:41 +00:00
thorpej
4665241bf8 Simplify the direct-mapped DMA case somewhat by adding a window base
member to the DMA tag, and calling the direct-mapped back-ends directly,
rather than through chipset-specific front-ends which pass the window
base as an additional argument.
1998-05-07 20:09:37 +00:00
kleink
bd6d376a49 Various SysV IPC prototype changes. 1998-05-07 18:00:49 +00:00
kleink
fb27bb18d3 Regen: various SysV IPC prototype changes. 1998-05-07 17:24:30 +00:00
kleink
e3611654cd Several SYSV IPC prototype changes. 1998-05-07 17:08:42 +00:00
kleink
d852e7c4cb * Move the SHM_{LOCK,UNLOCK} shmctl() commands inside _KERNEL protection; they
are recognized but not supported (yet).  (HP-UX and Solaris extension)
* Const'ify the `shmaddr' pointer arguments to shmat() and shmdt().
* Change the `size' argument to shmget() from int to size_t.
1998-05-07 16:57:58 +00:00
kleink
92ab49bfd3 * u_short -> unsigned short
* Move MAX_SOPS inside _KERNEL protection; it's not portable and has a
  meaning within semop() only.
* semop(): change the `nsops' argument type from int to size_t.
* Add _XOPEN_SOURCE protection around semconfig().
1998-05-07 16:50:21 +00:00
kleink
d618d6441a * Const'ify the `msgp' argument to msgsnd().
* Change the type returned by msgrcv() from int to ssize_t, to match the
  size_t'ness of the `msgsz' argument.
1998-05-07 16:41:08 +00:00
kleink
76900aa65b Include <sys/time.h> for struct timeval. 1998-05-07 16:24:18 +00:00
kleink
0af913eb8c Move the IPC_[MWR] constants inside _KERNEL protection; they serve the sole
purpose of being flags to ipcperm().
1998-05-07 16:16:51 +00:00
leo
4eb4a78df8 Implement MACHINE_NEW_NONCONTIG. Implementation is based on Ignatios' amiga
implementation and Chuck's conversion description.
1998-05-07 07:25:51 +00:00
thorpej
ce3d776874 Rework the syn cache code somewhat:
- Don't use home-grown queue manipulation.  Use <sys/queue.h> instead.  The
  data structures are a little larger, but we are otherwise wasting the
  memory chunk anyway (we're already a 64-byte malloc bucket).
- Fix a bug in the cache-is-full case: if the oldest element removed from
  the first non-empty bucket was the only element in the bucket, the
  bucket wouldn't be removed from the bucket cache, causing queue corruption
  later.
- Optimize the syn cache timers by using PRT timers rather than home-grown
  decrement-and-propagate timers.

This code is now a fair bit smaller, and significantly easier to read
and understand.
1998-05-07 01:37:27 +00:00
thorpej
dc49b0342e Define all TCP timers in terms of PRT timers. 1998-05-07 01:30:46 +00:00
thorpej
a16907a94d Add some more timer manipulation functions (disarm, isarmed), and make
isexpired check isarmed.
1998-05-07 01:30:08 +00:00
enami
9ad895e33c Backout previous issignal() change so that gdb can trace a process
which has subprocess again; the lite2 change conflicts our local change.
1998-05-07 00:45:16 +00:00
mhitch
8c45fef21f When changing the mapping on a page, remove the previous mapping if
there is one.  The Mach VM system seems to take care of this, so it
hasn't knowingly caused a problem.  UVM does change mappings without
removing the current mapping, and will pmap_page_protect() hangs
if pmap_enter() doesn't remove the previous mapping.
1998-05-06 21:53:53 +00:00
augustss
d824266389 Remove some lint. 1998-05-06 19:21:45 +00:00
drochner
63cecf5737 This comment is not true. 1998-05-06 18:23:34 +00:00
kleink
80495e6ea6 * Extend protection of NSIG to cover _XOPEN_SOURCE.
* Require either _KERNEL or _LKM being defined in addition to COMPAT_SUNOS
  to make SA_USERTRAMP visible, since COMPAT_* isn't a reserved name outside
  the NetBSD kernel world.
1998-05-06 16:47:26 +00:00
pk
263413efd9 Do not request more privileges from vm_fault() than required, i.e. don't
request read access in addition to write access on a write fault.
1998-05-06 14:28:29 +00:00
pk
e615541de9 Maintain far more complete state in the PV lists on the cacheability of pages,
using separate flag bits for mappings that were requested to be not
cacheable and uncacheable pages due to incongruent aliases.

This avoids inadvertently turning on the cache-enable bits when removing
one of multiple virtual address mappings to the same page. Reading
from /dev/mem could do this to arbitrary pages.
1998-05-06 14:17:53 +00:00
drochner
2a3fff85f0 add RCS ID 1998-05-06 13:32:18 +00:00
bouyer
de584a5245 Make ATM_LLC_SETTYPE do the rigth thing: swap byte on LE machines,
don't swap on BE machines. The previous revision required a ntohs()
in atm_output(), to work on LE machines. This was broken for BE machines.
1998-05-06 10:16:04 +00:00
thorpej
34e34c985a Use the monotonically increasing slow timer timestamp provided by
the protocol dispatch layer for TCP timers.  This saves having to
modify a potentially large number of timer values (which were shorts,
and expanded to ... a lot of code on the Alpha).
1998-05-06 01:24:38 +00:00
thorpej
1ffa60ac01 Use macros from tcp_timer.h to manipulate TCP timers, so that their
implementation can be changed easily.
1998-05-06 01:21:20 +00:00
thorpej
7f21dfafc1 Add monotonically increasing "current time" stamps for pfslowtimo() and
pffasttimo().
1998-05-06 01:11:46 +00:00
mjacob
ed8ddb6948 more info (in heavy debugging cases) to print 1998-05-05 22:14:23 +00:00
mjacob
128cb933b4 there is an (unimportant) difference between 1020 && 1020A 1998-05-05 22:10:36 +00:00
mjacob
294015435b remove the unneccessary alpha_mbs and slight cleanup 1998-05-05 22:01:54 +00:00
mjacob
742983f1eb make it impossible to compile w/o SIO (you cannot have a console otherwise 1998-05-05 22:01:31 +00:00
mjacob
1363662600 update for new ws stuff, plus cleanup 1998-05-05 22:00:28 +00:00
kleink
906180f835 Protect the deprecated L_* `whence' arguments to lseek() against _XOPEN_SOURCE,
too.
1998-05-05 21:59:34 +00:00
kleink
9af0cd945b Reorganize name space protection a bit. 1998-05-05 21:53:38 +00:00
drochner
da5b8105bd Remove BROKEN_INDIRECT_CONFIG relicts. 1998-05-05 21:41:18 +00:00
kleink
ea43c90b5b In the ftime() prototype, don't associate a name with the argument. 1998-05-05 21:31:09 +00:00
kleink
7e65877256 Second part of cleanup:
* pull in <sys/types.h>, since the synopsises of several functions declared
  here state that it's safe to assume the presence of several types,
* since the timespec-based variant of struct stat is only used in absence
  of _POSIX_SOURCE or _XOPEN_SOURCE, pull in <sys/time.h> for struct timespec
  only if neither is defined, and
* reorganize and finish name space protection.
1998-05-05 21:25:05 +00:00
kleink
182e12f413 Remove inclusions of syscall (and syscall argument) related header files;
we don't need them here.
1998-05-05 20:51:04 +00:00
mjacob
0713044d87 carry over new ws words from GENERIC 1998-05-05 20:29:18 +00:00
mjacob
bcfe658515 Move declaration within block where it will be used (in case
keyboard not defined).
1998-05-05 20:10:05 +00:00
thorpej
af65e69596 Add 5 more NE-2000 compatible PCI Ethernet interfaces. XXX Note that some
of these may need revision in pcidevs.
1998-05-05 17:23:08 +00:00
thorpej
e28a3f28ac Regen. 1998-05-05 17:22:20 +00:00
thorpej
7b2b6d3835 Add a few more NE-2000 compatible PCI Ethernet interfaces. XXX Some of
these may need further revision to get vendor and product names exactly
right.
1998-05-05 17:22:04 +00:00
thorpej
4626eef504 Slighly less brutal hack to deal with broken memory-mapped access of
the ThunderLAN on the TI TravelMate 5000 docking station: single it out,
and allow memory-mapped access on the Compaq products.
1998-05-05 07:17:12 +00:00
scottr
22b90adcc2 Add the remaining kgdb pieces from sun3/hp300, with some mac68k-specific
adjustments to initialization.
1998-05-05 06:48:51 +00:00
chuck
7704d6d342 correct some addresses in the comment that i missed when
KERNBASE changed a while back (from Matthias Drochner)
1998-05-05 01:36:46 +00:00
mrg
445283dc37 make UVM the default on the sparc 1998-05-05 01:15:05 +00:00
enami
2eb37a4e87 When changing power, wait enough to keep timing constraint
described in PCMCIA specification.
1998-05-05 00:37:24 +00:00
pk
b6933ca39d Reading back the IOMMU registers apparently has the ability to wedge
microSPARC I cpus. Instead insert a couple of no-ops that seems to
avoid the microSPARC II lossage just as well.
1998-05-04 23:16:59 +00:00
matt
36eac04cc0 Default IP flow to being enabled. Add a sysctl to control the maximum
number of flows (net.inet.ip.maxflows).  If set to 0, will disable fast
path forwarding.
1998-05-04 19:24:53 +00:00
thorpej
88e3ea0922 Use pci_bus_flags(). 1998-05-04 18:49:33 +00:00
thorpej
c099eb3a4a Add a function, pci_bus_flags(), that determines which flags (for memory
and i/o enabled) should be passed to the primary PCI bus's autconfiguration
node.  Use this function to detect broken PCI-Host bridges, which have
problems with memory-mapped access.  Add the SIS 85C496 to this list.
1998-05-04 18:49:07 +00:00
pk
6ba2c64ae6 Eliminate the degenerate loop in `ncr53c9x_intr()'. Retain the delay heuristic
it implemented under the label `shortcut:' and only use it in these
cases: (1) after successful re-relection, (2) after receiving command-complete
status, and (3) during message-in handshake.
1998-05-04 14:47:48 +00:00
christos
f648c916d5 Add IPX bits. 1998-05-04 12:54:22 +00:00
pk
0d3d41fa21 Allocate SCSI message buffers in ncr53c9x_attach(), with a provision
for front-ends to override the allocation to avoid alignment
handling in their DMA engines. Note that that ncr53c9x_msgout()
can request a 1 byte DMA transfer that would be difficult to break up.
1998-05-04 11:11:24 +00:00
thorpej
627388689b Whitespace. 1998-05-04 06:09:35 +00:00
thorpej
4b69f3a465 The DEC RRD42 doesn't deal with LUNs very well either.
kern/5376, Simon Burge <simonb@telstra.com.au>
1998-05-04 05:56:31 +00:00
thorpej
cbaec857db Add the UMAX Astra 1200S scanner to the list of the LUN-clueless.
kern/5390, Rene Hexel <rh@vip.at>
1998-05-04 05:54:09 +00:00
thorpej
19b7ffb19f Regen. 1998-05-04 05:51:35 +00:00
thorpej
0813824005 Add STB Systems' second PCI vendor ID, and their Velocity128 AGP product.
kern/5362, Paul Goyette <paul@whooppee.com>
1998-05-04 05:51:19 +00:00
thorpej
447384d6b8 - kern/5380 (Dennis Ferguson): fix incremental IP header checksum.
- kern/5381 (Dennis Ferguson): check IP header checksum in fast forward
  code.
- In ipflow_slowtimo(), if no IP flows are in use, don't bother checking
  all of the hash buckets.
1998-05-04 05:46:04 +00:00
thorpej
09175fe9f8 options UVM no longer needed; it's standard 1998-05-04 05:01:55 +00:00
thorpej
d1f4011d1d Switch to UVM. 1998-05-04 05:01:30 +00:00
thorpej
0a358dfd77 options UVM no longer needed; it's now standard 1998-05-04 05:01:11 +00:00
thorpej
fcb3331f98 Switch to UVM. 1998-05-04 05:00:12 +00:00
thorpej
88bf077524 Don't need options UVM and PMAP_NEW anymore; they're now standard. 1998-05-04 04:38:28 +00:00
thorpej
22e3e4691d Make UVM+PMAP_NEW the standard VM system on NetBSD/alpha. 1998-05-04 04:35:46 +00:00
ross
53dbd5b7fc Add file-system MFS to support ftp download of sysinst. 1998-05-03 23:15:45 +00:00
thorpej
e44c4fb7d3 Once again, move a declaration for the benefit of TUBA (grumble). 1998-05-03 19:54:56 +00:00
thorpej
5153af345d In pci_conf_print(), don't print a mapping register if the size is 0. 1998-05-03 19:46:15 +00:00
thorpej
93db65c28c Properly compute the region sizes in pci_conf_print(). Bug pointed out
by Chris Demetriou.
1998-05-03 19:41:33 +00:00
thorpej
38f367e1a0 Whitespace. 1998-05-03 18:49:54 +00:00
tsubai
ed4f8a8894 Add UVM support. 1998-05-03 17:46:41 +00:00
ragge
c085b89d78 Wall cleaning + a little better fault checking. 1998-05-03 13:22:01 +00:00
ragge
9aea445d54 Remove the ancient kernel-stack area at top of P1 region. Make PMAP_NEW
almost work. Also Wall cleaning.
1998-05-03 13:02:22 +00:00
ragge
9d5413a315 Enable -Wall -Wmissing-prototypes -Wstrict-prototypes. 1998-05-03 12:59:56 +00:00
drochner
85c0eea04e Suppress the diagnostic printout if the keyboard controller has no
mouse port.
1998-05-03 12:04:53 +00:00
drochner
ed1653232b If the keyboard is console device, use the command byte as set by
the console initialization code.
1998-05-03 11:54:38 +00:00
drochner
8b49b1c0b1 Set console to polling mode before calling cngetc(). 1998-05-03 10:14:19 +00:00
drochner
e47f63efe6 Make some diagnostic output "#ifdef PCKBCDEBUG". 1998-05-03 10:02:11 +00:00
drochner
ada1b933b7 Make error reporting similar to "pckbd". 1998-05-03 10:01:00 +00:00
drochner
8669ad14fc Let keyboard probe succeed without a keyboard connected if it is used
as console input. (Previously, it did always succeed.)
(closes PR kern/5372 by Jason R Thorpe)
Make error messages cleaner and add some "#ifdef DEBUG" to reduce noise.
1998-05-03 09:57:50 +00:00
thorpej
5e7c21d896 Need <sys/socket.h> to stand alone. 1998-05-02 21:19:03 +00:00
christos
5fa65dfd18 fktrace changes. 1998-05-02 18:41:47 +00:00
christos
1efd649b47 Regen 1998-05-02 18:34:13 +00:00
christos
02cecf686a New fktrace syscall from Darren Reed [with fixes from me] 1998-05-02 18:33:19 +00:00
christos
3f0a958f6d regen. 1998-05-02 18:14:56 +00:00
christos
f6cd9bf78b PR/5350: Minoura Makoto: add issetugid() syscall. (with fixes from me) 1998-05-02 18:14:06 +00:00
scottr
9dfbdab6ec Move on-board I/O and NuBus drivers to their own directories
via repository copy, and make the necessary adjustments to reflect
the moved files.
1998-05-02 16:45:27 +00:00
christos
0f39feb773 Merge changes from pppd-2.3.4; adds ppp-deflate-draft stuff and updates
zlib. Maybe we can merge our other copy of zlib with this one now and
avoid having two copies?
1998-05-02 14:34:24 +00:00
mycroft
a835c012d3 Adjust PCLKDIV by 2 to correct the output sample rate. (Unfortunately, this
isn't documented.)
Fix typo in mappage routine.
1998-05-02 08:21:10 +00:00
scottr
487e3b222d Dead, unused, kaput. 1998-05-02 06:46:45 +00:00
scottr
1b01139f4f Dead, unused, kaput. 1998-05-02 06:32:39 +00:00
thorpej
b9fc258065 Oops, move a variable declaration so TUBA won't lose. 1998-05-02 04:23:05 +00:00
thorpej
b71e4ddf4c Reintroduce the immediate ACK-on-PUSH behavior removed in revision 1.47,
but make the decision to do this dependent on the sysctl variable
net.inet.tcp.ack_on_push, which is disabled by default.
1998-05-02 04:21:58 +00:00
mycroft
fef6b0b8a3 Oops; fix typo. 1998-05-02 02:36:30 +00:00
mycroft
cfe3e5fb08 Fix reading of the master volume, and a hack that seems to make stereo output
work correctly.  (Will check the documentation as soon as I can read it.)
1998-05-02 02:34:53 +00:00
thorpej
dc799409ce Fix missing variable increment, which caused writing FAT32 filesystems
to hang.  From Masaru Oki <oki@yk.rim.or.jp>.
1998-05-02 01:47:12 +00:00
thorpej
e1934b4c36 Correct a comment related to Congestion Window Monitoring. 1998-05-02 01:00:24 +00:00
augustss
abbe1b7df3 Add Ensoniq AudioPCI driver. Commented out until tested. 1998-05-01 22:26:54 +00:00
augustss
7458164379 Add Ensoniq AudioPCI driver. 1998-05-01 22:00:37 +00:00
augustss
6cb1f6c5b1 Add a driver for the Ensoniq AudioPCI sound card. The driver still
needs some testing, but it seems to produce sound.  The driver was written
by me, but since I don't have the hardware the debugging and testing was
done by Andreas Gustafsson <gson@araneus.fi>, Chuck Cranor
<chuck@maria.wustl.edu>, and Phil Nelson <phil@cs.wwu.edu>.  Thanks.
1998-05-01 21:54:33 +00:00
cgd
dd0142f10f add NetBSD RCS IDs and delete other RCS keywords, per the standard style. 1998-05-01 21:18:39 +00:00
cgd
c0c21ff62f clean up some warnings, adapt to the changed state of the world. 1998-05-01 21:14:46 +00:00
cgd
5317573641 adapt to OFW code changes 1998-05-01 21:13:53 +00:00
cgd
2fb206b0cf clean up, get it closer to compiling. (Note that this change includes
a change marked XXX, where gcc -Wall pointed out a bit of the original
code that looked wrong.  The jury's still out on whether or not it was
really wrong, but it looked _very_ suspicious.)
1998-05-01 21:13:02 +00:00
cgd
77e035bc38 kill bogus file 1998-05-01 21:11:34 +00:00
cgd
72797e4632 Import sys/arch/arm32/{shark,ofw} bits of the Digital Network Appliance
Reference Design NetBSD source code, obtained from the pages under
http://www.research.digital.com/SRC/iag .  Some of this code (badly)
needs to be cleaned up, and as-is it doesn't compile.  However, getting
it in the tree is a start.
1998-05-01 21:08:55 +00:00
tsubai
c02aa63694 Fix a typo. 1998-05-01 18:41:27 +00:00
thorpej
be12c489b4 Garbage-collect. 1998-05-01 18:31:12 +00:00
mark
c1a332e5f7 Use a separate variable to indicate whether the fault is from USR mode
or not rather than orring in a USER bit into the fault code variable.
This simplifies the fault switch statement and some of the addition
checks that are made of the fault code.
Move the printing of data abort information out into a separate function
rather then duplicating a lot of similar printf() statements.
Removed the fault_code variables from the prefetch abort handler as it
is not actually used for anything.
1998-05-01 15:44:51 +00:00
mark
782906b214 Remove inclusion of sys/device.h 1998-05-01 15:36:30 +00:00
mark
865f2563e1 Remove inclusion of sys/device.h
Declare exception_errors as const.
1998-05-01 15:35:43 +00:00
mark
07a0c680a7 Define the cpu_softc structure here.
Include armfpe.h to get the prototype for initialise_arm_fpe().
1998-05-01 15:33:42 +00:00
mark
cce74dbcca Remove the definition of the cpu_softc structure from here. 1998-05-01 15:32:55 +00:00
mark
94a7e32beb Edited and added various comments. 1998-05-01 15:30:54 +00:00
thorpej
61665b7bc6 TCP_CWM option doesn't exist anymore; it's all run-time. 1998-05-01 05:24:34 +00:00
thorpej
b3cdc88a22 Fix some whitespace. 1998-05-01 05:22:16 +00:00
thorpej
4c5d87fd09 Squash a typo. 1998-05-01 03:58:55 +00:00
scottr
d4c74c8b59 Quiet an (imo bogus) warning from gcc 2.8.1 regarding braces and
if-else statements.  Change suggested by Taras Ivanenko in PR 5334.
1998-05-01 03:53:47 +00:00
thorpej
2fdee596a3 Glue in IP flow fast forwarding. 1998-05-01 03:50:59 +00:00
thorpej
7e223b244a Add FDDI source address spoofing via pseudo_AF_HDRCMPLT. 1998-05-01 03:44:52 +00:00
scottr
cb160f72a3 Missed a prototype in the NuBus interrupt handler cleanup.
Fixes PRs 5365, 5367, 5368, and 5373.
1998-05-01 03:42:47 +00:00
thorpej
77af553e79 If packets are passed through IP Filter at all, don't allow fast-forward
flow entries to be created for them.

Eventually, IP Filter should be extended to allow IP src/dst pairs to
be specified as "fast forward OK".
1998-05-01 03:28:14 +00:00
thorpej
4452bc9a21 Allow packet filters to prevent a packet from creating a fast-forwarding
flow, by setting the "can fast forward" flag in the packet header, and
giving a chance for filters to clear the flag.  If the flag is still
set after the filters have given it a chance, the packet will be used
to create a fast-forward flow entry.
1998-05-01 03:23:24 +00:00
thorpej
f5f5ea4fde Add an mbuf packet header flag which indicates that a packet can be used
to create a fast-forward flow.
1998-05-01 03:21:05 +00:00
mrg
dae55b7b7b fix a problem with swapping to files where a new variable introduced was not
later incremented correctedly, causing the wrong data to be paged out, which
then caused general lossage later when the data was paged in and the process
tried to use it.  found by pk.
1998-05-01 01:40:02 +00:00
kml
e173e7a084 Remove bogus black hole discovery code 1998-05-01 01:15:55 +00:00
mark
7c867905c5 Major overhaul of pagetable handing.
Page tables no longer occupy space in the processes vm_map. This
  means that page tables can now be allocated from pmap_enter() when the
  first entry is made in the page table rather than relying on taking
  a section fault and faulting in a page table. This also lowers
  the overheads in creating and deleting page tables and simplfies
  cpu_fork().
  A result of this change is that problems with mapping zero page and
  an associated pagetable when execing from a shared vm_map disappear
  fixing PR5178.
1998-04-30 21:22:00 +00:00