Commit Graph

36890 Commits

Author SHA1 Message Date
thorpej
30aa56fc66 Use M_DMAMAP where appropriate. 1998-02-11 01:37:51 +00:00
thorpej
841fb8fd54 Don't try to dynamically create and destroy DMA maps. Instead, keep
it simple, and allocate one for each transmit and receive descriptor.

In addition to being simpler and faster, this fixes a serious memory leak
in the transmit path.
1998-02-11 01:28:22 +00:00
cgd
e21b7a5995 leave space for bootstrap stack when calculating kernstart 1998-02-11 00:05:33 +00:00
cgd
c62f53ae70 allocate temporary storage for directory list, rather than clobbering
argv (yuck!).
1998-02-10 21:52:51 +00:00
thorpej
ce61ddb564 Add an M_DMAMAP malloc type, for bus_dma data structures. 1998-02-10 21:46:47 +00:00
thorpej
6e899bb965 Clear the scsipi_xfer's status byte before executing the command. This
fixes a condition where stale data can be left in the status byte, causing
user programs that interpret it to fail.

Fixes kern/4964 from Chris Jones <cjones@honors.montana.edu>.
1998-02-10 19:48:51 +00:00
kleink
ed9f037214 Fix EDQUOT and EIDRM, add ENOMSG. 1998-02-10 17:45:06 +00:00
kleink
552ec236a0 Map ENOMSG. 1998-02-10 14:37:38 +00:00
mrg
d90485202c - add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00
leo
301a4b3f87 Build the library before using it.... (Thomas Gerner). 1998-02-10 10:28:34 +00:00
leo
dda805c3d4 Accept an 68060 as cpu-type. (Thomas Gerner). 1998-02-10 10:25:08 +00:00
lukem
54305d4d11 use %d instead of %ld 1998-02-10 07:15:34 +00:00
lukem
e2d55944f4 minor knf 1998-02-10 07:04:21 +00:00
lukem
80d1e4afc8 use %d instead of %ld to print rpc version 1998-02-10 06:46:10 +00:00
lukem
f18da82e69 use u_int32_t instead of u_long 1998-02-10 06:32:42 +00:00
mrg
3a51a3367e update MAP_COPY documentation, noting that it is currently implemented as MAP_PRIVATE. 1998-02-10 05:51:00 +00:00
lukem
caf41deb2a output explicit types (int16_t, int32_t, etc) rather than (short, long, ...) 1998-02-10 05:10:19 +00:00
lukem
a31739bc01 major cleanup (to sync with changes made in include/rpc/*.h):
* use int32_t, size_t, in_port_t instead of long, u_int, u_short as appropriate
* use uid_t and gid_t instead of int
* KNF, fix typos and spellos
* use const as appropriate
* deprecate register
* use memmove instead of bcopy
* use err/warn()
1998-02-10 04:54:22 +00:00
thorpej
d18d79c554 Domestic library build fix: libtelnet depends on libdes and libkrb. libkrb
depends on libcom_err.  So, build libdes, libcom_err, libkrb in that
order before building domestic/lib.  (Geez, this stuff is a mess.)
1998-02-10 04:38:13 +00:00
lukem
cc775ebf69 cleanup type usage 1998-02-10 04:12:24 +00:00
mrg
c135ae8203 allow root to use pwd.db. 1998-02-10 03:56:33 +00:00
mrg
7afa0335b4 change tty settings "now" when switching to/from raw mode 1998-02-10 03:53:39 +00:00
thorpej
1951c4b19b Bump KNMEMCLUSTERS slightly, and make it more obvious how to tune it
(lifted from i386 port).
1998-02-10 03:53:01 +00:00
lukem
ddc57feb42 major cleanup
* use int32_t instead of long
* use size_t instead of u_int as appropriate
* use in_port_t instead of u_short as appropriate
* KNF, cleanup typos and spellos in comments
* deprecate svc_fds; it's obselete and not supported in libc/rpc anyway
1998-02-10 03:52:14 +00:00
thorpej
68d3b764ce Make it easier to keep the scaled VM_*_SIZE values in sync w/ the
constants.
1998-02-10 03:52:05 +00:00
mrg
8a1743897f nit: order rcsid/sccsids 1998-02-10 03:50:24 +00:00
mrg
92e05e0e2c add a verbose (-v) flag for when adding/deleting arp entries. 1998-02-10 03:45:05 +00:00
mrg
2fe3f46005 make swapctl exit with non-zero if -A and nothing swapped on 1998-02-10 03:14:32 +00:00
perry
021fdb646a add/cleanup multiple inclusion protection. 1998-02-10 02:34:17 +00:00
perry
57f323af87 re-alphabetize LDIRS 1998-02-10 02:06:06 +00:00
perry
f73530ba55 add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
thorpej
5887833ac7 Kernel for babylon.netbsd.org. 1998-02-10 00:48:14 +00:00
perry
3d7d6c33df cleanup multiple inclusion protection. 1998-02-10 00:44:23 +00:00
perry
3b3774fc83 add/cleanup multiple inclusion protection. 1998-02-10 00:38:16 +00:00
perry
d39928a203 add/cleanup multiple inclusion protection. 1998-02-10 00:25:25 +00:00
cjs
4d03919ab5 Add -F option to follow files though rotations and truncations. 1998-02-09 22:39:41 +00:00
is
cb1085870c Add the LIMITMEM workaround for the kernel address space size problem.
Will be removed as soon as the kernel can auto-adapt to its address space.
1998-02-09 22:14:43 +00:00
jeremy
a1efa84a4d Modified the comments for the recentlty implemented pmap_map() function. 1998-02-09 19:56:37 +00:00
perry
41c3fea850 add multiple inclusion protection (and cleanup). 1998-02-09 17:43:44 +00:00
mrg
45eb2a7d5d clean up memory totals in UVM case. 1998-02-09 15:29:52 +00:00
mrg
e92c7d991e KNF. 1998-02-09 14:35:48 +00:00
mrg
7bd27d00fd make "systat vmstat" much much much more UVM friendly. 1998-02-09 14:14:43 +00:00
mrg
4e8c1720a8 print almost all of uvmexp with -s. do pagein/pageout counts correctly.
also include freed pages count (that was missing from mach vm, but present
in the "output" but hard coded to 0 in vmstat.c.
1998-02-09 13:11:26 +00:00
mrg
7d3aef40b3 keep statistics on pageout/pagein, total pages, and total operations. 1998-02-09 13:08:22 +00:00
lukem
7d9cd1c869 * remove explicit bin:bin override on the last few directories that had it
* don't bother making some of the /usr/share/zoneinfo subdirs; zic(8) does
  it for us...
1998-02-09 12:01:57 +00:00
thorpej
eda74e6121 - Perform all necessary bus_dmamap_sync() operations.
- Greatly simplify allocation and DMA mapping of the mailbox and ccbs.
- Be more robust against resource shortage errors, and report errors better.
1998-02-09 10:53:07 +00:00
thorpej
5fe6759646 Fix serial console support, which was broken by the previous revision:
- In the console getc routine, block until a character becomes ready
  (no, really, we mean it).  This routine should _never_ time out.
- In the console putc routine, if the UART has trouble, do NOT proceed
  to print a diagnostic message, which would recursively invoke the
  console putc routine ad nauseum.
1998-02-09 10:22:45 +00:00
thorpej
69c0c710e5 Fix some printfs and prototypes. 1998-02-09 07:40:15 +00:00
thorpej
fee167dd96 Needs <time.h> 1998-02-09 07:34:16 +00:00
hubertf
1705f47464 some more presidents, via tsarna@endicor.com in PR 4957 1998-02-09 07:05:35 +00:00