Commit Graph

39197 Commits

Author SHA1 Message Date
kleink
f6c179f10e Fix arithmetics lossage on typeless pointers. 1998-05-08 19:03:41 +00:00
kleink
3acf29c8b1 Add a few lines about the deviation from the POSIX and X/Open definitions,
and document the conforming interfaces.
1998-05-08 18:50:49 +00:00
fair
f7c833c469 KNF + copyright assignment to TNF 1998-05-08 18:43:54 +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
fair
7482c120bd KNF for comments (sigh) 1998-05-08 18:18:29 +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
kleink
cbb131cd8a Add uvm_swapout(9). 1998-05-08 16:22:35 +00:00
kleink
9294a5a40b Create a link for uvm_swapout(9). 1998-05-08 16:18:37 +00:00
kleink
24842ff3ee Fix a couple of prototypes, and sync with the recent vslock()/vsunlock()
interface change.  Also, add an item for uvm_swapout().
1998-05-08 16:00:49 +00:00
kleink
1c0fc070d8 Substitute domain name' for host name' at a couple of places; this was
obviously copied from gethostname.3.
1998-05-08 15:51:39 +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
cgd
d29dd9772c link libtermlib_pic.a to libtermcap_pic.a, if the right vars are (un)set. 1998-05-08 03:11:02 +00:00
enami
2e7b340a0c Use a name based on a target name instead of fixed one as a name of
intermediate file so that parallel make works.
1998-05-08 00:36:07 +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
augustss
08c0421201 Note the addition of eap(4). 1998-05-07 20:17:32 +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
23a9b2c5c9 Change the file mode argument to dbopen() and the db backends from int to
mode_t.
1998-05-07 19:24:20 +00:00
kleink
9eb0e33ef6 Change the file mode argument to dbm_open() from int to mode_t. 1998-05-07 19:11:14 +00:00
kleink
62bbd8ee4b Reorganize name space protecion. Also, change file mode argument to
dbm_open() from int to mode_t.
1998-05-07 19:02:04 +00:00
kleink
ac3781ec96 Reorganize name space protection. 1998-05-07 18:50:08 +00:00
kleink
592bbd088a Various SysV IPC prototype changes. 1998-05-07 18:42:00 +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
fair
f63f1f5530 document si & sw drivers 1998-05-07 10:55:21 +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
enami
10a773225e When YYDEBUG is defined, return same value as when it is not defined (in
other words, act same except debugging code).
1998-05-07 05:26:35 +00:00
mycroft
3ca8d744c9 Don't define MD_EXEC_PREFIX and MD_STARTFILE_PREFIX here. 1998-05-07 04:17:59 +00:00
mycroft
99a8464fa0 Nuke the previous, now that it's done elsewhere. 1998-05-07 04:17:13 +00:00
mycroft
52463c691f Set MD_EXEC_PREFIX and MD_STARTFILE_PREFIX here. 1998-05-07 04:15:07 +00:00
mycroft
147bf39e19 We don't want the MD_EXEC_PREFIX for SysV. 1998-05-07 03:55:58 +00:00
mycroft
89e1507edb Add a reference to fsirand(8). 1998-05-07 03:40:48 +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