Commit Graph

22626 Commits

Author SHA1 Message Date
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