Commit Graph

75217 Commits

Author SHA1 Message Date
phk
476ca0197f Introduce the concept of "magic spaces", and implement them in most of
the relevant classes.

Some methods may implement various "magic spaces", this is reserved
or magic areas on the disk, set a side for various and sundry purposes.
A good example is the BSD disklabel and boot code on i386 which occupies
a total of four magic spaces: boot1, the disklabel, the padding behind
the disklabel and boot2.  The reason we don't simply tell people to
write the appropriate stuff on the underlying device is that (some of)
the magic spaces might be real-time modifiable.  It is for instance
possible to change a disklabel while partitions are open, provided
the open partitions do not get trampled in the process.

Sponsored by:	DARPA & NAI Labs.
2002-05-21 20:33:49 +00:00
jmallett
4c8f46cf75 Make ReadMakefile() operate using the realpath(3) name for the file handed to
it, which means that relative paths will be expanded to absolute paths, and
filenames without a path will end up with their absolute path included as
well.  This aids tremendously in debugging a build using our make(1) with
multiple Makefile's, such as when there is a syntax error in a file in a
sub-directory as per <bsd.subdir.mk>.  Normally we'd end up with just
"Makefile" known about the Makefile in question, which means that an error
would be useless for someone trying to debug their build system, now we
end up with a complete real pathname for the Makefile.

So mostly this is useful in a debugging context, but possibly others too
(I haven't thought of them yet, but they probably are more useful if you
make Dir_FindFile use realpath(3), but that's another story).

Reviewed by:	-current
MFC after:	2 weeks
2002-05-21 20:24:46 +00:00
jhb
1a9e2f75a7 Add an inline function cpu_pause() for the IA32 'pause' instruction. 2002-05-21 20:21:53 +00:00
phk
8623a7bc17 Remove the "-class" suffix from classes, they will not be ambiguous.
Sponsored by:	DARPA & NAI Labs.
2002-05-21 19:50:04 +00:00
arr
37981f345c - Change the newly turned INVARIANTS #ifdef blocks (they were changed from
DIAGNOSTIC yesterday) into KASSERT()'s as these help to increase code
  readability.
2002-05-21 18:52:24 +00:00
ume
a491c6f95a Allow prefix/prefixlen syntax for IPv6 to have consistency
with IPv4.
2002-05-21 18:11:31 +00:00
semenu
df03dac700 Fix null_lock() not unlocking vp->v_interlock if LK_THISLAYER.
Reviewed by:	bp@FreeBSD.org
MFC after:	1 week
2002-05-21 18:07:33 +00:00
trhodes
a1b38ab0e2 Reword a small part of the uniq(1) manual page to help reduce word
duplication (ie: fields fields).

PR:		38161
Reviewed by:	keramida
MFC after:	3 days
2002-05-21 16:54:58 +00:00
ru
1e6750c005 Added support for ia64 and sparc64. 2002-05-21 15:36:29 +00:00
nyan
f7e0cf5f9d Fixed to conflict labels.
Submitted by:	Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
2002-05-21 12:53:48 +00:00
nyan
a27ddf2e9d Remove unneeded ## for GCC 3.1 2002-05-21 12:50:20 +00:00
ume
104c629954 Have RTF_HOST for /128 destionation. 2002-05-21 11:43:53 +00:00
brian
d6c7357cf3 Mention our support of the authentication side of rfc2548 2002-05-21 10:54:07 +00:00
nyan
6c2b9542c6 MFi386: revision 1.22 2002-05-21 09:44:52 +00:00
markm
73f7d5a477 Remove ptx. It is not used anywhere in the base system, has not been
maintained for years and is very old code. If there is any need for
it, I suspect that ports would be a better place.

No objection from:	current@freebsd.org
2002-05-21 09:20:34 +00:00
peter
b7bed4f09b Do not guess what a bool is, just use it. 2002-05-21 08:34:18 +00:00
peter
1a267f24ca Make this a little easier to build standalone. (same change as libpanel) 2002-05-21 07:08:30 +00:00
peter
fac83c44d2 This commit was generated by cvs2svn to compensate for changes in r97055,
which included commits to RCS files with non-trunk default branches.
2002-05-21 06:52:47 +00:00
peter
d8d8936d7d Initial update of bmake glue for ncurses-5.2-20020518 2002-05-21 05:41:07 +00:00
peter
6c92d517b8 Initial update of bmake glue for ncurses-5.2-20020518. More to come. 2002-05-21 05:40:28 +00:00
peter
05c632666c Merge ncurses-5.2-20010512 -> ncurses-5.2-20020518 changes onto mainline. 2002-05-21 05:38:04 +00:00
peter
3af3b9c011 This commit was generated by cvs2svn to compensate for changes in r97049,
which included commits to RCS files with non-trunk default branches.
2002-05-21 05:30:25 +00:00
peter
9a7523d4b2 Import ncurses-5.2-20020518 onto the vendor branch.
Obtained from: ftp://dickey.his.com/ncurses/
2002-05-21 05:30:25 +00:00
benno
0e8bf3d65e Spread the word of PowerPC. 2002-05-21 04:25:24 +00:00
non
741fbfb787 MFi386: 1.398-1.399 (${MACHINE_ARCH}_dump.c -> dump_machdep.c) 2002-05-21 04:13:08 +00:00
benno
e55ebd8f96 Spread the word of PowerPC. 2002-05-21 04:00:47 +00:00
benno
db41f480f0 Let this code know about PowerPC. 2002-05-21 03:40:42 +00:00
bmah
519e32d276 New release notes: ls(1) -m/-p/-x, sh(1) -C/-u, tabs(1).
Deleted release note:  IFS.
2002-05-21 03:26:42 +00:00
tjr
330e4e0592 Mark argc as __unused to silence GCC. 2002-05-21 02:48:55 +00:00
tanimura
6ecf0c65a7 Lock the writer socket across sorwakeup(fip->fi_writesock).
Spotted by:	peter
2002-05-21 02:37:56 +00:00
tjr
4d3e3e5eba Build the tabs(1) utility.
PR:		36126
2002-05-21 02:36:12 +00:00
tjr
cf778678c6 Add an implementation of the tabs(1) utility, as required by SUSv3.
PR:		36126
2002-05-21 02:33:25 +00:00
jake
db4b2fc42b Catch up to tte.h changes. 2002-05-21 02:22:49 +00:00
jake
519c29acdc Update tsb_tte_enter prototype per tsb.c rev 1.20. 2002-05-21 02:15:37 +00:00
jake
927ef29f4c Rewrite pmap_enter to avoid copying ttes in all cases.
Pass the tte data to tsb_tte_enter instead of a whole tte, also to avoid
copying.
2002-05-21 02:14:11 +00:00
gshapiro
b7c2a22c23 There are still many broken nameservers out there in the wild. Even
though I would personally prefer to see the broken nameservers fixed
instead of standards compliant applications work around them, I can't
force FreeBSD users to help fight that battle.

Submitted by:	Damon Anton Permezel <dap@damon.com>
MFC after:	2 days
		pending RE approval
2002-05-21 02:02:23 +00:00
gad
71a8393bdd Change parts of the source code to make it closer to style(9), mainly
changing indentation and some comments.  Main goal is not perfect style,
but just to reduce differences with NetBSD.  The object code is exactly
the same after this change as before it (except for assert() statements
which have moved).

Reviewed by:	/sbin/md5 on i386
Obtained from:	NetBSD
2002-05-21 00:44:18 +00:00
jake
e0ffa7e6d3 Redefine the tte accessor macros to take a pointer to a tte, instead of the
value of the tag or data field.
Add macros for getting the page shift, size and mask for the physical page
that a tte maps (which may be one of several sizes).
Use the new cache functions for invalidating single pages.
2002-05-21 00:29:02 +00:00
marcel
af380c638d Include machine/ia64_cpu.h because we use ia64_mf().
Submitted by: ru
2002-05-21 00:04:08 +00:00
obrien
ede0448bbd Add gx(4) to the SEE ALSO. 2002-05-20 23:39:25 +00:00
iedowse
5e19174e4e Avoid exposing struct if_clone and the sys/queue.h macros to userland
programs by restricting these to the case where _KERNEL is defined.

Reviewed by:	brooks (ages ago)
2002-05-20 22:48:39 +00:00
bmah
6224af5850 Fix whitespace nits, no content changes. 2002-05-20 22:23:12 +00:00
bmah
bc3fedefeb New release notes: SA-02:24, SA-02:25. 2002-05-20 22:17:18 +00:00
arr
f20545d47c - Turn a few DIAGNOSTIC into INVARIANTS since they are really sanity
checks.
2002-05-20 22:05:13 +00:00
arr
56aea61cc9 - Turn a DIAGNOSTIC into an INVARIANTS since it's a sanity check. Use
proper ``if'' statement style.
2002-05-20 22:04:19 +00:00
arr
6fe64080f2 - Turn a #ifdef DIAGNOSTIC to #ifdef INVARIANTS as the code from this line
through the #endif is really a sanity check.

Reviewed by: jake
2002-05-20 21:50:39 +00:00
imp
caf5f38789 Use correct inactivity timeout of 2 minutes rather than 24 seconds due to
bogons introduced at some point.

Submitted by: thomas skibo
2002-05-20 19:33:49 +00:00
jhb
a4a680304c In witness_unlock(), when updating a lock list entry bucket, decrement the
count of lock list entries after we fixup the bucket of lock list entries.
In theory we can remove the intr_disable/intr_restore() calls now.
2002-05-20 19:16:22 +00:00
will
d62a129a25 Add a manual page for the spic(4) device driver and hook it in the build.
Reviewed by:	ru
2002-05-20 18:50:58 +00:00
jake
dca97f2341 Add a bandaid so that sysctl kern.malloc works on sparc64. 2002-05-20 18:29:37 +00:00