Commit Graph

83888 Commits

Author SHA1 Message Date
tsutsui 9e7c918fc2 Avoid NULL pointer dereference. 2001-08-05 11:14:21 +00:00
jdolecek 7810c0591b Allow max. MAXPHYS sized mu_datasize for user command.
Reviewed by Andrew Doran <ad@NetBSD.org>.
2001-08-05 11:11:33 +00:00
jdolecek ceb38aa743 remove unnecessary casts, make variable types consistent with the
respective wsdisplay_cmap member
no functional change, stylistic only
2001-08-05 11:09:51 +00:00
scw aac15fa001 Create the `machine' symlink before building. 2001-08-05 10:52:05 +00:00
scw 86b01af066 Make this work again for mvme147... 2001-08-05 09:45:39 +00:00
enami 256a367268 Give different names for different wait channels.
# and minor knf fix while I'm here.
2001-08-05 08:25:39 +00:00
tsutsui 96ca5eec53 Define VM_MAX_KERNEL_BUF and PAGER_MAP_SIZE to save KVA space. 2001-08-05 06:55:02 +00:00
matt b46d7a47ab Don't substract KERNBASE, xor it to clear. The former causes GNU ld to
bitch about a signed overflow and this code is only done once, incurring
an extra instruction isn't going to matter much in the long run.
2001-08-05 06:14:22 +00:00
matt f33b1a3fd8 This is a HOST program, so make compile as one. 2001-08-05 06:10:25 +00:00
tsutsui 9651c6a654 Add PM_SR 2001-08-05 05:47:43 +00:00
matt ced3859405 print time_t as signed long. 2001-08-05 05:22:10 +00:00
matt 9509e734a3 Force size_t formats/arge to be (u_long). I'd use 'z' for this but gcc
2.95.3
2001-08-05 05:07:27 +00:00
matt c7d43df086 If = is in a constraint, it must be the first character. 2001-08-05 04:40:03 +00:00
matt 799202c512 Fix botched commit (a conflict was committed). 2001-08-05 03:37:37 +00:00
matt cce919e025 Don't include <machine/pmap.h> and <machine/vmparam.h> if _KERNEL isn't
defined.  Include them explicitly in the few kvm_arch.c that need them.
2001-08-05 03:33:15 +00:00
mrg ca351acf50 avoid an unused variable warning 2001-08-05 03:03:16 +00:00
blymn d70e5167de Added notes about differences between this libform and the original AT&T
implementation.
2001-08-05 02:13:19 +00:00
blymn b3751f89f8 * Wrap field size checking into a function, makes if's more readable
* Fixed bad post character calculation on a dynamic single line field
  that has field contents greater than the field length and had scrolled.
2001-08-05 01:51:23 +00:00
matt ee6a16ad18 Add a secondary label called __start (makes gcc 2.95.3 happier) and rename
the internal __start to ___start.   (Since -e is not supplied by default,
this has no effect on a native build.)
2001-08-05 00:01:27 +00:00
jdolecek fcc522e5ce It seems the fixed rate versions are actually fixed at 48 kHz, not 44.1 kHz. 2001-08-04 22:15:56 +00:00
chs 177230d1d6 implement pmap_k{enter_pa,remove}() correctly.
remove various checks for impossible conditions.
other misc cleanup.
2001-08-04 18:42:39 +00:00
tsutsui e6b1a09d07 Use "mtree -U" instead of "mtree -u" on making distrib-dirs
to ignore file hierarchy unmatches and check exit status of mtree
to detect actual errors on it (like "unknown user/group" etc).
2001-08-04 18:41:18 +00:00
ad 6d6da41477 Beef this up a little. 2001-08-04 17:06:22 +00:00
ad cc274c12b6 Better argument checking. 2001-08-04 16:55:46 +00:00
ad 87f451b1a0 This isn't relevant any more. 2001-08-04 16:55:07 +00:00
ad 03e46dc80b Some changes from OpenBSD, and some of my own:
- More SCSI port defs.
- Nuke vtophys().
- Release resources in iop_init() upon failure.
- Don't use a message wrapper when initalising the outbound FIFO.
- A couple of field size/endian fixes.
- Just use iop_post() when we don't need special handling.
- IM_DISCARD is now pointless, since we don't queue at the driver level.
- Map data transfers from/to userspace directly.
- A few comment and stylistic changes.
2001-08-04 16:54:18 +00:00
chs 79124b95bf implement pmap_k{enter_pa,remove}() correctly.
remove various checks for impossible conditions.
other misc cleanup.
2001-08-04 16:26:49 +00:00
bjh21 a80e0948e1 Update for relocatable-module version of boot26. 2001-08-04 14:31:10 +00:00
sato 0e356bc8ef fix VR4122 some unit address. 2001-08-04 14:08:46 +00:00
enami 97ceb61316 MII access routines for ASIX AX88190. 2001-08-04 11:38:57 +00:00
tsutsui 845203d519 Clarify some description about AHA-2920 support in the HARDWARE section:
- AHA-2920C has the Adaptec AIC-7850 and is supported by ahc(4)
- AHA-2920/A use the Future Domain 36C70 chips and they are
  not supported by ahc(4)
2001-08-04 07:59:03 +00:00
chs 6bc422a7ee use pmap_k* in pagemove() (ie. for buffer cache pages)
and in vmapbuf() and vunmapbuf() (since there's no VAC on this platform).
2001-08-04 07:44:52 +00:00
chs ea127ad258 use pmap_k* in pagemove(), ie. for buffer cache pages.
in vunmapbuf(), call pmap_kremove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-04 07:42:07 +00:00
mrg 140ad8e524 #ifdef __STDC__ -> #if __STDC__. 2001-08-04 07:08:55 +00:00
chs be706f969f in vunmapbuf(), call pmap_remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-04 04:28:49 +00:00
chs f6a81a1ac7 remove the uncached idle-loop page zeroing.
(to be replaced by a version that uses the cache...)
2001-08-04 04:26:48 +00:00
chs 873e926c7b remove remaining spl calls, they're not needed.
remove some checks for impossible conditions.
in pmap_enter(), only call pmap_remove() to remove an existing mapping
if there actually is an existing mapping.

in pmap_remove_pv(), don't flush the MIPS1 cache when removing the last mapping.
this was added in rev 1.97, to avoid stale data being left in the cache
when the page is zeroed bypassing the cache in pmap_zero_page_uncached().
we've since found that bypassing the cache for idle-loop page zeroing
doesn't work very well anyway, so we don't do that anymore.
so now we can remove the extra cache-flush.
remove pmap_zero_page_uncached() while I'm thinking of it.

various other cleanup.
2001-08-04 04:25:37 +00:00
chs 843823c7c5 rewrite set_segmap_allctx() in assembly.
reduces cpu usage of sequential write()s to a file by 5%.
2001-08-04 04:06:29 +00:00
bouyer 10a5470050 Ops, forgot to commit this one:
- kill carrier detection code, it's not that usefull and give false indications
  on loaded ethernet segments
2001-08-04 02:21:24 +00:00
enami 4b5c6b86d6 Minor tweak to build kernel under a.out environment. 2001-08-04 00:54:30 +00:00
tsubai 3070e77046 Remove (#if 0'ed) m68k asm codes. 2001-08-03 23:09:42 +00:00
itojun 43383b1e36 simplify previous fix (0-length mbuf in mbuf chain). from freebsd 2001-08-03 21:11:57 +00:00
cjones 44eb8824ed Added TBD. 2001-08-03 19:16:55 +00:00
matt d21af3840d Make the directory list alphabetical again. 2001-08-03 18:28:09 +00:00
bouyer 7c292e3d22 - kill the carrier detect code. It's not usefull any more and can give
false informations on a loaded ethernet segement.
- convert to bus_dma(9) (better late than never :)
- add proper le32toh/htole32 so that it works on big-endian system (tested
  on macppc).
Close PR kern/10327.
2001-08-03 16:53:08 +00:00
wiz 2b4b375b7e Remove unneeded files. okay'd by drochner. 2001-08-03 15:35:09 +00:00
yamt ce0851f049 add myself 2001-08-03 15:08:46 +00:00
enami 6a6aa39cac Since the new makeinfo is necessary to build grep.info, advertize to install
it.
2001-08-03 14:47:17 +00:00
enami c48795553f Remove a hack to copy grep.info to build it from grep.texi. 2001-08-03 14:42:35 +00:00
drochner 96914bd8e8 our dhclient-script diverged too much from the distributed one,
keep it separate
2001-08-03 14:30:19 +00:00