Commit Graph

101178 Commits

Author SHA1 Message Date
lukem dd11502947 Migrate rescue tools from distrib/rescue -> rescue 2002-08-22 01:24:56 +00:00
lukem 8290f52368 Migrate rescue tools from distrib/rescue -> rescue. Purpose of tools:
Infrastructure to build a set of "rescue" tools; a crunched-up
	version of all the statically linked binaries in /bin, /sbin
	and the few in /usr/bin.
2002-08-22 01:23:46 +00:00
thorpej 6cc7c1c1ff * Add PTE_SYNC() and PTE_SYNC_RANGE() macros. These don't actually do
anything yet.
* Use PTE_SYNC() and PTE_SYNC_RANGE() in some obvious places, i.e.
  where vtopte() is used.
2002-08-22 01:13:53 +00:00
lukem fe222c765c support "init.bak" as a synonym for "init" 2002-08-22 01:03:41 +00:00
christos d5935a17be enable utmpx support. this doesn't work correctly for chrooted ftpd's, but
I am leaving it to luke to fix.
2002-08-22 00:09:38 +00:00
itojun 967cf54a67 check packet length before fetching ESP crypto checksum. sync w/kame 2002-08-21 23:12:01 +00:00
thorpej 574a9cc019 Use a pool cache for PT-PTs. 2002-08-21 21:22:52 +00:00
matt 9e33535006 Add more evcnt entries for monitoring the page table entries. 2002-08-21 18:36:55 +00:00
thorpej 5fddbbe3d5 Do cached memory access to L1 tables, making sure to write-back the
cache after any L1 table modifications.
2002-08-21 18:34:31 +00:00
itojun 9e8e6611e8 suppress output on dump request if -q is specified. sync w/kame 2002-08-21 16:26:12 +00:00
thorpej b2cc5a4c03 Make use of page loaning for large socket writes the default. The
SOSEND_NO_LOAN option can be used to go back to the old behavior.
2002-08-21 05:13:36 +00:00
onoe 0869b7a4ce Change the media option for adhoc demo mode: adhoc -> adhoc,flag0
Fix the configuration for IBSS mode.
2002-08-21 04:08:06 +00:00
itojun 7b0ecaee62 use RND_ENABLED() to avoid unneeded function call. should help if_gsip case. 2002-08-21 03:59:31 +00:00
onoe 79d69cf115 Apply changes to ifmedia.h:
Delete IFM_IEEE80211_IBSS [ibss] and IFM_IEEE80211_IBSSMASTER [ibss-master]
from media options, since IEEE80211_ADHOC [adhoc] is already defined for
IBSS.  Instead, [ibss] is assigned as an alias for IEEE80211_ADHOC.

Also note that adhoc can be used with flag0 to specify non-standard adhoc
demo mode in some drivers.
2002-08-21 03:30:54 +00:00
onoe 19a6d3dfb3 Make the meaning of media options consistent with other wireless drivers.
mediaopt adhoc  802.11 adhoc (IBSS) mode.  IBSS creation is enabled
			for cards which can create IBSS.
	mediaopt adhoc,flag0    old lucent adhoc demo mode.
Note that [adhoc] media options for wi driver was used for adhoc demo mode,
which is NOW CHANGED.
2002-08-21 03:26:29 +00:00
onoe 63a1f2ed02 Delete IFM_IEEE80211_IBSS [ibss] and IFM_IEEE80211_IBSSMASTER [ibss-master]
from media options, since IEEE80211_ADHOC [adhoc] is already defined for
IBSS.  Instead, [ibss] is assigned as an alias for IEEE80211_ADHOC.
2002-08-21 03:22:04 +00:00
itojun fcfced244e avoid integer overflow during computation of nbuf. from enami 2002-08-21 02:48:54 +00:00
thorpej c0d823519c GCC 2.95 supports __builtin_ffs(); use it. 2002-08-21 01:27:58 +00:00
thorpej 97f9d76ce8 arm.c, arm.h:
* Declare arm_arch5 and arm_arch5e.  Set arm_arch5 for if -mcpu=arm10tdmi,
  -mcpu=arm1020t, -mcpu=xscale, -march=armv5, -march=armv5e, -march=armv5te.
  Set arm_arch5e for -mcpu=xscale, -march=armv5e, -march=armv5te.

arm.md:

* Define the "clz" insn for arm_arch5.
* Define an "ffssi2" expander for arm_arch5 which uses "clz".
2002-08-21 01:27:14 +00:00
thorpej 0414c14b05 Changes to better support XScale, round 1, back-ported from GCC 3.2.
The GCC ChangeLog does not have a complete description to quote here,
so:

arm.c:

* arm_override_options(): Set arm_is_scale according to the the
  -mcpu=xscale option.  Set arm_constant_limit to 2 if arm_is_xscale.
* arm_adjust_cost(): If arm_is_xscale, account for stalls that can
  occur due to shifted operands.
* arm_gen_load_multiple(): Account for the cost of ldm vs. ldr if
  arm_is_xscale.
* arm_gen_store_multiple(): Likewise for stm vs. str.

arm.h:

* CONSTANT_ALIGNMENT(): Use a constant alignment factor of 2 if
  arm_is_xscale.
* MOVE_RATIO: Set to 4 if arm_is_xscale.

arm.md:

* Add XScale scheduling parameters.
* Define a "shift" attribute (used by arm_adjust_cost()) and give it
  to the appropriate operands on andsi_not_shiftsi_si, *shiftsi3,
  *shiftsi3_compare0, *shiftsi3_compare0_scratch, *notsi_shiftsi,
  *notsi_shiftsi_compare0, *not_shiftsi_compare0_scratch,
  abssi2, *neg_abssi2, extendsidi2, *cmpsi_shiftsi, *cmpsi_shiftsi_swp,
  *cmpsi_neg_shiftsi, *arith_shiftsi, *arith_shiftsi_compare0,
  *arith_shiftsi_compare0_scratch, *sub_shiftsi, *sub_shiftsi_compare0,
  *sub_shiftsi_compare0_scratch, *if_shift_move, *if_move_shift,
  and *if_shift_shift.
2002-08-20 23:46:44 +00:00
itojun 00975d3872 die if fd_set overrun. explicitly turn off use of IPv4 mapped addr on AF_INET6
socket.
2002-08-20 23:02:44 +00:00
itojun 1f508ca545 expose a way to see if random number source is enabled, some wants it
for avoiding extra function call for rnd_add_uint32 and such.
2002-08-20 22:30:53 +00:00
itojun e5df0242ce sync up use_deprecated handling with latest kame.
- bind(deprecated) is allowed, trusting userland app is doing the right thing
- use_deprecated default to 1
2002-08-20 22:06:04 +00:00
christos 881d4466c6 PR/17402: Julio Merino: Mention /dev/ttyEstat 2002-08-20 16:56:05 +00:00
christos 5cefaa7349 PR/17402: Julio Merino: better fine tuning for both x and y. 2002-08-20 16:55:28 +00:00
wiz e066ad32dc Use Nm instead of Xrefing ourselves. 2002-08-20 16:48:47 +00:00
wiz f11f240ebb -1 -> \-1. 2002-08-20 16:42:35 +00:00
wiz 942e5d4c4f Sort sections. 2002-08-20 16:39:09 +00:00
wiz 54ae9afa12 Sort SEE ALSO. 2002-08-20 16:37:47 +00:00
wiz 777c402952 Refer setpgid, not setpgrp, since the former is POSIX and the latter is
just there for compatibility.
2002-08-20 16:30:30 +00:00
thorpej c23fa5a752 Never send more than half a socket buffer of data. This insures that
we can always keep 2 packets on the wire, no matter what SO_SNDBUF is,
and therefore ACKs will never be delayed unless we run out of data to
transmit.  The problem is quite easy to tickle when the MTU of the
outgoing interface is larger than the socket buffer size (e.g. loopback).

Fix from Charles Hannum.
2002-08-20 16:29:42 +00:00
wiz 73b7d13bfe Drop .Pp before .Ss. 2002-08-20 16:25:51 +00:00
wiz 38315eadd0 Use Dq instead of single quotes. 2002-08-20 16:22:44 +00:00
wiz 60bfa780a0 Mark up NULL and ENOMEM. 2002-08-20 16:15:38 +00:00
wiz 3f9c36b9de Drop superfluous Ns and fix a formatting glitch. 2002-08-20 16:10:01 +00:00
wiz 2ae3428010 Drop superfluous Ns. 2002-08-20 16:07:45 +00:00
wiz b57bfa3f73 Drop superfluous Ns, sort sections. 2002-08-20 16:05:46 +00:00
wiz 4f40f42275 Remove superfluous Ns, drop trailing whitespace, fix a Xr, don't let lines
get longer than 80 characters.
2002-08-20 16:04:13 +00:00
wiz 2610a5c4d8 Remove superfluous Ns; while here, remove trailing whitespace and fix a
punctuation problem.
2002-08-20 15:59:37 +00:00
wiz 76cbce1c77 Formatting error. 2002-08-20 15:54:08 +00:00
wiz b93a6fd07e Remove Ns. 2002-08-20 15:52:25 +00:00
wiz 47d5f6cf3b Remove superfluous Ns. 2002-08-20 15:51:25 +00:00
wiz 33691f98a8 Drop some superfluous Ns. 2002-08-20 15:47:46 +00:00
wiz 64676e9ce7 Two major fixes for PS output; also cut down on Ns and No misuses. 2002-08-20 15:43:34 +00:00
wiz 158398c921 Fix Ns abuse. 2002-08-20 15:32:12 +00:00
wiz 64f4287d6d Remove superfluous double quotes and a superfluous Ns. 2002-08-20 15:30:07 +00:00
wiz c33e4efde0 Remove superfluous Ns. 2002-08-20 15:28:11 +00:00
wiz 9bf08abfd4 Remove some unnecessary .Ns and trailing whitespace. 2002-08-20 15:24:38 +00:00
wiz 4051fecb2c Remove unneeded Ns. 2002-08-20 15:20:33 +00:00
christos 64bf5ef14f Fix battery support (Masanori Kanaoka).
XXX: ToDo: Still the battery charge is 96% when the battery is
fully charged on my libretto because of the estimated total charge offset.
2002-08-20 14:07:51 +00:00