Commit Graph

98482 Commits

Author SHA1 Message Date
eeh 863fc84f4d Provide the correct architecture for HW_MACHINE_ARCH so things like
"sysctl -p" can tell they are in 32-bit land.
2002-06-14 18:28:19 +00:00
eeh 923804f36a Fix hardware watchpoints and add an extract function so we can easily find
the physical addresses of things (to feed to the physical watchpoint).
2002-06-14 17:12:05 +00:00
thorpej 5b5608e8b2 Use M_IFMADDR instead of M_IPMADDR. From John Franklin, kern/16251. 2002-06-14 15:21:45 +00:00
tron 6db3449490 Add new option "xlatecookie" to amd(8) to support NFS v3 mounts with cookie
translation. The changes were provided by Mark Davies in PR bin/17245.
2002-06-14 15:16:53 +00:00
thorpej 05c37016cb Map the device's memory space with BUS_SPACE_MAP_LINEAR, since we
need to be able to access it as such.

Fixes kern/17114.
2002-06-14 15:15:23 +00:00
itojun c1808f02bf cache pcb policy as much as possible. in fact, if policy is not
IPSEC_POLICY_IPSEC we don't need to compare spidx.  sync w/kame
2002-06-14 14:47:24 +00:00
itojun 813344bfbe remove redundant line 2002-06-14 14:17:55 +00:00
itojun 2b710c211b update version numbers 2002-06-14 13:18:53 +00:00
itojun 188750c41b in distribution set description section, indentation is too deep and unreadable.
make it a bit easier to read (with penalty of overwraps).
2002-06-14 13:18:52 +00:00
ragge e665b4e35e Must check B_PHYS, not b_proc, if it is DMA to userspace, otherwise the
machine will crash. This fixes a panic when a Unibus adapter runs out
of map registers (happens frequently), reported by Johnny Billquist.
2002-06-14 11:57:21 +00:00
tron 5456dc6136 Complete declaration of progprintf() to fix build problem in csh(1). 2002-06-14 11:32:15 +00:00
wiz faac7af4aa Remove two unnecessary macro calls. Doesn't fix anything though :) 2002-06-14 11:28:33 +00:00
wiz c608dcb4cc Split an if construct troff warns about into two. 2002-06-14 11:27:59 +00:00
wiz 51a583ff09 Make tabbing consistent. From Julio Merino in misc/17256. 2002-06-14 10:01:27 +00:00
wiz a638908be5 Make tabbing consistent. From misc/17255 by Julio Merino. 2002-06-14 09:59:08 +00:00
wiz 3bd3ab5387 Change _putchar definition to match curses.h's expectations, and
remove some __ left over from de-P()'ing (mmm, inconsistency).
Noted by Juergen Hannken-Illjes.
2002-06-14 09:55:08 +00:00
itojun e923169715 grab eui64 only from the same interface. 2002-06-14 09:12:08 +00:00
ragge 631436bfb0 Add official machine numbers for PDP10 and PDP11. 2002-06-14 09:05:21 +00:00
itojun 331dc975fb support "eui64" option (grab interface ID from link-local addr).
from: ww@styx.org
2002-06-14 09:01:59 +00:00
itojun e39290097c avoid indentation that's too deep 2002-06-14 06:04:33 +00:00
perseant f4fea25c9f Note each type of failure in clean_inode and provide statistics on
failures as well as successes when a run of clean_all_inodes completes.

Explicitly cast to off_t in get_dinode and get_rawblock, to make sure we
read the right block.
2002-06-14 05:21:21 +00:00
lukem 1f5cf5c78c Setup default mbr_bootsel labels for used partitions, since the previous
default was for them to be empty, and that meant that they wouldn't get shown
at boot time.   Fix from Tyler Retzlaff <rtr@wasabisystems.com>
2002-06-14 03:29:28 +00:00
itojun 2153f7059e discard first 256 words when we stir. 2002-06-14 03:11:24 +00:00
itojun c3e57df04c discard 256 bytes of output every time we stir (not just when initializing) 2002-06-14 03:05:46 +00:00
hubertf 7a8139af42 OTT 2002-06-14 02:39:50 +00:00
wiz a9b4ca6205 Remove #if __STDC__. De-__P() and ANSIfy. 2002-06-14 01:18:54 +00:00
wiz 085ddec445 Remove #ifdef __STDC__. De-__P() and ANSIfy. Fix a prototype mismatch
uncovered by this.
2002-06-14 01:12:15 +00:00
wiz 6fbcffc530 WARNS=2 2002-06-14 01:10:36 +00:00
wiz 4953298d90 Remove #if __STDC__. De-__P() and ANSIfy, and fix a mismatching prototype
uncovered by this (p_assign).
2002-06-14 01:07:01 +00:00
itojun 65eb0105f4 init variable before strtoul 2002-06-14 01:07:00 +00:00
wiz 19f3b61aa0 Remove #if __STDC__. De-__P() and ANSIfy, and fix a mismatching prototype
uncovered by this (p_assign).
2002-06-14 01:06:51 +00:00
itojun 5bcf2ac974 metric and mtu are u_long, not int. 2002-06-14 01:04:41 +00:00
perseant d6e1fa2b25 Don't try to coalesce files that have fewer than NDADDR blocks, due to
a potential problem with cleaning fragments at all.

Better sanity checks when selecting files to coalesce; in particular don't
shift too far left when comparing the number of discontinuities to the log2
of the number of total blocks.

Better log messages: note beginning of coalescing correctly; also take
the log message from add_segment out of "if (debug)" for symmetry with the
"finished segment" message.

Use lfs_bmapv to find the inode, rather than looking it up manually in
the ifile; this should give more up-to-date information, since trolling
through every inode in the fs could take some time.
2002-06-14 00:58:39 +00:00
wiz b87e54c002 Remove #ifdef __STDC__. De-__P() and ANSIfy. 2002-06-14 00:55:47 +00:00
wiz 49bd48d17e WARNS=2 2002-06-14 00:55:18 +00:00
wiz 4cdb6cf0d7 Remove #ifdef __STDC__. De-__P() and ANSIfy. 2002-06-14 00:51:04 +00:00
wiz 2f40c45705 WARNS=2 2002-06-14 00:50:47 +00:00
wiz 3c4c9d2b57 Remove #if __STDC__. De-__P() and ANSIfy. 2002-06-14 00:41:42 +00:00
wiz 50bdb90860 WARNS=2 2002-06-14 00:37:29 +00:00
wiz 037052e91c Remove __STDC__ #ifdefs. De-__P. ANSIfy. 2002-06-14 00:34:58 +00:00
wiz 797d779cf1 De-register, de-__P. Remove #ifndef __STDC__ parts.
defines.h: Be more careful with braces in macro definitions.
2002-06-14 00:30:56 +00:00
eeh efad9de6ca NEVER CAST REFERENCE PARAMETERS!!!!! 2002-06-14 00:11:07 +00:00
wiz db575159df Remove #if !__STDC__ code. While here, de-__P(). 2002-06-13 23:41:15 +00:00
wiz 3e61c2fc6e Remove STDC ifdefs. 2002-06-13 23:28:57 +00:00
wiz 75dd6f2e0d Remove some STDC ifdefs, and some code that's for non-NetBSD systems.
ANSIfy.
2002-06-13 23:26:43 +00:00
wiz 8a965ad2f1 Remove some __STDC__ tests. 2002-06-13 23:00:16 +00:00
wiz 3bab7054f4 Remove some unnecessary Ns. 2002-06-13 22:59:02 +00:00
bjh21 ae07cdce27 Change the entry pointer of the module from an offset to a branch instruction.
This allows us to *Load boot26 at 0x8000 and then use *Go to run it.
This might be useful because we can't currently set the RISC OS filetype
for files on CDs, so they all end up being 0xffd (Data), and *RMLoad only
works for files of type 0xffa (Module), so we need some other way of loading
boot26.
2002-06-13 22:30:22 +00:00
bjh21 b9af29fd4f Increase HIMEM to allow enough space for zlib's tables and 16 MB's worth of
page tables, so we can boot gzip'ed kernels on 16 MB machines.
2002-06-13 22:01:44 +00:00
wiz ec1956ee4e According to POSIX, "-" (the string) is an exception and should not
be parsed as option. Restore behaviour broken by previous commit.
Mirrors second part of patch from lib/17248.
2002-06-13 21:18:50 +00:00