188075 Commits

Author SHA1 Message Date
pgoyette
c4b330d512 Document the new {high, maximum}-capacity keywords, and some general
clean-up.
2010-02-15 23:04:11 +00:00
pgoyette
82c7774043 Add cases for new {high,maximum}-capacity events 2010-02-15 22:56:13 +00:00
pgoyette
55a81df24d Update cross-reference to refer to new aibs(4) instead of aiboost(4) 2010-02-15 22:38:28 +00:00
pgoyette
74999bdda4 Update userland envstat(8) to handle new {high,maximum}-capacity limits. 2010-02-15 22:37:14 +00:00
pgoyette
8844275b30 For symmetry, allow warning and critical upper-limits for capacity
sensors.
2010-02-15 22:32:04 +00:00
dyoung
ff79c75809 Extract a subroutine, const char *cfdata_ifattr(cfdata_t cf), that
returns the name of the interface attribute that associates cf with
its parent.  Use cfdata_ifattr() at several sites in the autoconf
code.
2010-02-15 20:20:34 +00:00
mrg
658c47c0f2 - don't flush 32-bit entries for 64-bit code, it does not seem to be
necessary.  #define TLB_FLUSH_LOWVA to turn it back on.
- remove the #if 0'd code in sparc64_ipi_flush_pte_usiii(), i have
  verified that it is not required.
- add a missing membar #Sync to sp_tlb_flush_pte_usiii().
2010-02-15 12:46:24 +00:00
nakayama
c160863387 Fix linker error of GENERIC32 kernel. 2010-02-15 11:46:54 +00:00
mrg
0432f45fd5 use TLB_SIZE_SPITFIRE in a couple of places, and note that the
{print,dump}_[id]tlb() versions are currently spitfire specific.
2010-02-15 09:56:33 +00:00
dholland
62bdde038d typo in comment 2010-02-15 09:39:00 +00:00
mrg
78e651db39 introduce a new patch_kernel() and call it from the end of bootstrap().
use it to patch up TLB flush instructions that don't match for USI/II
and later.  we can also hopefully use this to make GENERIC.MP minimally
expensive on single CPU machines as well.

this is the last piece needed to get GENERIC/GENERIC.MP to boot on the
USIII* machines.

idea and some initial code from openbsd.
2010-02-15 07:56:51 +00:00
skrll
6118df95b4 Typo in comment. 2010-02-15 07:55:33 +00:00
pgoyette
de08bb89f2 Replace large amount of replicated code with a macro to improve readability. 2010-02-14 23:30:52 +00:00
pgoyette
6ac583dc32 Adapt to changes in sysmon's limit structure. 2010-02-14 23:07:59 +00:00
pgoyette
f7613feb09 Adapt to changes in sysmon's limit structure 2010-02-14 23:07:22 +00:00
pgoyette
52af77f5e8 Adapt to changes in sysmon's limit structure. 2010-02-14 23:06:58 +00:00
pgoyette
9150436462 Remove the flags member of the limits structure. Its value was only
meaningful for a few limited function calls;  all persitent storage
of limit-present flags is maintained in the edata->upropset member.
2010-02-14 23:06:01 +00:00
pgoyette
f84d320712 Correct one more instance of checking flags in the wrong place. 2010-02-14 16:22:09 +00:00
drochner
3f900515e4 add missing glue file, otherwise the emulation will not work if
compiled into the kernel (and the module loader will load another
instance, causing symbol duplication)
2010-02-14 11:54:03 +00:00
drochner
ca771c66aa fix confused CS selector, fixes the panic reported by Mark Davis
per PR port-i386/42787 (the panic happens due to a GPF when a
privileged descriptor is tried to be loaded with the UPL bit set)
The original bug is very old (pre-2.0, i386/svr4_machdep.c rev. 1.69),
but it was relatively harmless until the order of GDT entries was
shuffled (pre-5.0, i386/segments.h rev. 1.42). Before, it caused
a userlevel data selector to be used for CS which broke the emulation
(likely the reason of PR port-i386/32424). The shuffle made that
a privileged selector was used, causing the GPF.
(recent -current doesn't panic on that GPF which seems to be a
side effect of another change)
2010-02-14 11:09:54 +00:00
eeh
80ff9af55f Major overhaul:
1) Add support for multiple filesystems including ffsv1, ffsv2, lfsv1 and lfsv2.
(ffsv1 and lfsv2 are known to work.  ffv2 support needs more work.  lfsv1 is
probably untested.)

2) Only 32-bit Fcodes are used.  All 64-bit math uses two cells.  This means it
should work on 32-bit machines.

Additional work to consider:

1) Rename genfth.cf to genffs.cf, or keep it and move the ffs symbols to genffs.cf

2) Move the ffs code and the lfs code to different source files so you can
selectively fload the just the filesystems you want.

3) Add code to load ELF files directly instead of relying on the host firmware
ELF support.  But, since the binary is now 7250 bytes there may not be room.
2010-02-13 23:38:17 +00:00
pooka
7547791dd3 Fix off-by-one (config -x works again) and improve editing artifacts
(actually the whole "config -x must be used alone" change was made
unnecessary along the way.  cest la vie).
2010-02-13 22:57:03 +00:00
roy
b17c885f88 Don't install terminfo.db. 2010-02-13 22:54:51 +00:00
mrg
2c1b1c6acf remove KTR support. it's never been a working part of netbsd src tree. 2010-02-13 22:29:55 +00:00
mrg
6690014dc5 remove all the devices now present in GENERIC. 2010-02-13 22:24:09 +00:00
pgoyette
7bd93168ee When checking current sensor value vs limits, check the correct set of
flags to determine which limits are present.
2010-02-13 19:34:14 +00:00
nakayama
6a8cbead72 Make 32-bit kernels compilable. 2010-02-13 11:55:48 +00:00
yamt
ca9d84bc07 sysctl_doeproc: don't follow a possibly stale pointer. 2010-02-13 11:22:21 +00:00
roy
d930bbb936 Don't install terminfo.db in rescue. 2010-02-13 11:21:55 +00:00
yamt
b1ff79355f nfs_msg: #if 0 out tprintf for now and comment why. 2010-02-13 11:17:30 +00:00
skrll
e3f101b201 Remove unnecessary comment. 2010-02-13 10:39:39 +00:00
skrll
72b7777cab Whitespace. 2010-02-13 10:38:55 +00:00
mrg
e9a513f815 in pmap_growkernel(), make sure we only mutex_exit() if we mutex_enter()ed. 2010-02-13 08:56:29 +00:00
mrg
9878fb05a4 enable schizo, bge, fwohci/sbp and ffb@upa, all as seen in SCHIZO config. 2010-02-13 08:54:58 +00:00
mrg
593c787ac5 add some defines for the sizes of TLBs in various CPUs. 2010-02-13 08:46:23 +00:00
wiz
6cad968a08 Bump date for vrele_async.
Reword slightly and put it outside the vget description.
2010-02-13 07:48:01 +00:00
wiz
c4dead9fc6 Bump date for new kmem_asprintf. 2010-02-13 07:44:11 +00:00
jakllsch
15c24d9ce4 Explicitly mark voltage readings as valid in Winbond voltage refresh functions.
This fixes forever-N/A VCore and -12V readings on my W83627THF chips.
.
2010-02-13 04:09:36 +00:00
pooka
bd84a040a4 Add missing public members of bus_dmamap_t per interface specification
(nothing uses them here for now, so untested).
2010-02-13 03:19:46 +00:00
martin
fa65bdadb2 KNF 2010-02-13 02:16:51 +00:00
martin
667f16d7f3 Remove UMASS_QUIRK_IGNORE_RESIDUE, instead max out the expected response
size at the actual transfer length. Fixes PR kern/42225 differently.
2010-02-13 02:09:41 +00:00
agc
de7c94ffb6 let's get modern int types defined so that netpgp will build on mac os x 2010-02-13 00:14:00 +00:00
skrll
03a10a6703 More comment fixes. 2010-02-12 22:34:39 +00:00
dyoung
20ecd150d5 Link atomic_cas.3 to atomic_cas_{32,64,ptr,uint,ulong}_ni.3. 2010-02-12 22:34:38 +00:00
skrll
bc60472994 Comment reformating and correction. 2010-02-12 22:31:05 +00:00
skrll
5a29f691e3 Just return if length of zero is passed to bus_dmamap_sync. 2010-02-12 22:23:40 +00:00
dyoung
ba71f034aa With help from rmind@, describe the non-interlocked (*_ni) variants of
the standard atomic compare-and-swap operations.  Tell some caveats.

Manual page links, *_ni.3 -> atomic_cas.3 are coming up after a
successful 'build.sh distribution'.
2010-02-12 22:23:17 +00:00
skrll
f88f81fcda Spelling. 2010-02-12 22:19:23 +00:00
drochner
4aab8ad6b5 sync with rev. 1.5 of sys/dist/pf/net/if_pflog.h (which was before
the 5.x branch), to make filter expressions in pflog dumps work again,
from Lucio Albornoz per PR bin/42780
(pullup candidate)
2010-02-12 21:16:56 +00:00
skrll
53e16cc08c Allow elroy to provide boot device. 2010-02-12 16:57:52 +00:00