Commit Graph

201620 Commits

Author SHA1 Message Date
pgoyette c84ec94ab0 1. Don't print blank for Integer sensors with value of zero
2. Properly print percentages in -T statistics mode
3. Always set Sensor Type (units) to a non-NULL value
4. Enable printing of percentages for Integer sensors
2011-06-06 20:48:56 +00:00
dyoung f92ee3adbe Don't allocate resources for vtw until/unless it is enabled. This will
further help those machines where memory is in short supply.

TBD: release resources after vtw is disabled and all entries have
expired.
2011-06-06 19:15:43 +00:00
msaitoh 57ac6d0bbe Add two new capabilities(PCI_CAP_SATA and PCI_CAP_PCIAF). 2011-06-06 18:27:12 +00:00
wiz 1480720bc7 Sort sections. 2011-06-06 18:01:15 +00:00
pgoyette ecf9f011c0 Don't update the value_{min,max} - these fields are not {low,high}-water
marks, and setting them without also updating the ENVSYS_FVALID_{MIN,MAX}
flags is quite pointless.
2011-06-06 17:53:01 +00:00
pgoyette ffd31fcd0b Don't set the FVALID_{MAX,MIN} flags since these values are not
min/max legal values.  The values are alarms limits, and they're
already being tracked properly with the flag settings in *props
2011-06-06 17:49:41 +00:00
matt 657f0a4aaa CFATTACH_DECL(..., sizeof(struct device), -> CFATTACH_DECL_NEW(..., 0
struct device * -> device_t
struct cfdata * -> cfdata_t
2011-06-06 17:30:32 +00:00
matt 1f9eabee27 CFATTACH_DECL(..., sizeof(struct device), -> CFATTACH_DECL_NEW(..., 0
struct device * -> device_t
struct cfdata * -> cfdata_t
use __arraycount when appropriate
2011-06-06 17:27:42 +00:00
matt 214586a7ff CFATTACH_DECL(..., sizeof(struct device), -> CFATTACH_DECL_NEW(..., 0
struct device * -> device_t
struct cfdata * -> cfdata_t
use bool when appropriate
some constification
2011-06-06 17:13:05 +00:00
drochner a4fc3a054f make sure the infinity returned by HUGE_VALL has the "implicit"
bit set, otherwise it is invalid
This code is unlikely to be hit because gcc (and clang) use
their builtins for these special values.
2011-06-06 17:02:29 +00:00
matt 2d01485274 CFATTACH_DECL(..., sizeof(struct device), -> CFATTACH_DECL_NEW(..., 0
struct device * -> device_t
struct cfdata * -> cfdata_t
use bool when appropriate
2011-06-06 16:52:18 +00:00
jruoho 5c3b0cfd8f Instead of ioapic(4), make MLINKS { lapic(4), ioapic(4) } to apic(4). 2011-06-06 16:52:15 +00:00
drochner 2125f0d5e4 make this work again after routing socket alignment changes 2011-06-06 16:50:46 +00:00
drochner a46f4db6fd remove a limitation that inner and outer IP version must be equal
for an ESP tunnel, and add some fixes which make v4-in-v6 work
(v6 as inner protocol isn't ready, even v6-in-v6 can never have worked)

being here, fix a statistics counter and kill an unused variable
2011-06-06 16:48:35 +00:00
matt ec1797c173 More device_t, cfdata, CFATTACH_DECL_NEW cleanup. 2011-06-06 16:42:17 +00:00
matt 338de10a0a Some more device_t, cfdata_t, CFATTACH_DECL_NEW cleanup. 2011-06-06 16:29:14 +00:00
njoly 868e4b0e59 Update libcrypto.so and libssl.so minor forgotten in previous update,
for compat and debug libraries.
2011-06-06 16:16:00 +00:00
msaitoh 4ad86a183a Rename to use PCI_PRODUCT_INTEL_82801DBM_LPC 2011-06-06 14:33:31 +00:00
msaitoh d356bb8757 regen. 2011-06-06 14:31:51 +00:00
msaitoh acfe6f77e1 Rename 82801DB LPC Interface Bridge for consisitency. 2011-06-06 14:31:23 +00:00
spz f7ec5c1e8b more missing file mentions, kudos Kurt Schreiner (ks at ub.uni-mainz.de) 2011-06-06 13:43:48 +00:00
njoly 293ed9ea7e Fix typo (.Ed -> .El). 2011-06-06 12:54:48 +00:00
tsutsui 078de69e1f Pull the following revision from upstream to provide __unordsf2() and
other missing softfloat functions:
---
Revision 108487
2005-12-13  Paul Brook  <paul@codesourcery.com>
	* config/m68k/fpgnulib.c (__unordsf2, __unorddf2, __unordxf2,
	__floatunsidf, __floatunsisf, __floatunsixf): New functions.
---

Fixes link errors of sources that refer isnan() on m68000.

Note this file is not GPLed.
2011-06-06 12:02:26 +00:00
spz 0f31b40708 more missing files. Are we there yet? 2011-06-06 08:04:19 +00:00
jruoho 33432cfc01 When getting the frequency, use APERF/MPERF as a fallback method. 2011-06-06 07:42:32 +00:00
matt a3db9f0052 bump SYMTAB_SPACE 2011-06-06 06:59:16 +00:00
spz 5865763239 add a bunch of files to the lib that we build. 2011-06-06 06:44:57 +00:00
spz 4a68bbbf8c re-gen of the assembler files created these
(changed files were committed previously)
2011-06-06 06:08:52 +00:00
spz 1bddfb5091 fix up OPENSSL_VERSION_NUMBER check for entropy_add so it deals with the
current situation. Compile-checked by dholland, thanks.
2011-06-06 05:40:34 +00:00
jnemeth 86de657587 add an entry about the US nationalising gold to replace old confiscation entry 2011-06-06 03:15:14 +00:00
mrg 4138bf2744 convert dcache_flush_page() into a function pointer. introduce a
sp_dcache_flush_page() to help the smp version.

XXX: probably best to have usI/II and usIII (and nop) of this and
XXX: avoid the need for sp_dcache_flush_page at all.
2011-06-06 02:49:39 +00:00
mrg fd360a0fec sort 2011-06-06 01:23:31 +00:00
mrg 5f30cba72a re-implement blast_dcache() and blast_icache() via function pointers so that
we can set these to functions that simply return on sun4us/sun4v systems.

also include some work-in-progress #if 0'ed code to do the same for the
dcache_flush*() functions.


(some of these could probably move into the cpuinfo except that sparc64
systems don't really ever work with mismatches AFAICT.)
2011-06-06 01:16:48 +00:00
spz 5bf0fb60b1 merge
It builds, which is an improvement to before. It may not work.
AES-NI is disabled and needs to be retrofitted yet
2011-06-05 23:09:44 +00:00
christos 7e3e66b16b add libgcc_pic dependency. 2011-06-05 23:09:15 +00:00
christos 94e4c3614b Add libgcc_pic for millicode. 2011-06-05 23:08:17 +00:00
spz 9d87d5aa75 clean up after my recent import for netbsd-5; these files don't belong
in -current
2011-06-05 17:15:40 +00:00
matt ef75e7c7b2 A few missed device_t, cfdata_t cleanups 2011-06-05 17:09:18 +00:00
matt 612b7ee57a struct device * -> device_t, struct cfdata * -> cfdata_t
CFATTACH_DECL(*, sizeof(struct device), -> CFATTACH_DECL_NEW(&, 0
2011-06-05 17:03:16 +00:00
matt 424af65722 device_t, cfdata_t, etc.
CFATTACH_DECL -> CFATTACH_DECL_NEW for sizeof(struct device).
2011-06-05 16:59:21 +00:00
matt 8704f281b7 Fix fencepost error. 2011-06-05 16:58:00 +00:00
matt 01fd92550a Remove <machine/atomic.h>; use <sys/atomic.h> instead.
Add <powerpc/cpuset.h> (for mpc85xx pmap).
Add some initial MP code for mpc85xx
Rework ipi code to be common across all ppcs
Change PPC to keep curlwp in %r13 while in the kernel.
Move astpending from cpu_info to mdlwp
Improve cpu_need_resched to be more MP friendly.
2011-06-05 16:52:22 +00:00
jruoho e8214a285d Granularity is fine, but also adjust atf_tc_expect_fail() properly. 2011-06-05 16:33:51 +00:00
tsutsui 2cb98cc774 Split device_t/softc. Also rename some softc variables. Tested on TT030.
XXX: old ugly config_console() hack should go away...
2011-06-05 16:25:12 +00:00
tsutsui e8604b1e02 Umm, fix more split fallout.
While here use a common arg name (aux) as mentioned in autoconf(9).
2011-06-05 16:22:00 +00:00
christos cd52b5a8cb bump symtab space 2011-06-05 16:15:24 +00:00
christos b7290d6431 assignment to sc_dev is in tcattach, we don't have sc_dev 2011-06-05 16:12:50 +00:00
christos d545620cfc fix split fallout. 2011-06-05 16:08:20 +00:00
spz 4e3dcb232d Import OpenSSL 1.0.1 stable of 20110605:
this is sort of a sidegrade onto the release branch. Changes against the
last version imported:

*) Backport libcrypto audit of return value checking from HEAD, not
   all cases can be covered as some introduce binary incompatibilities.
   [Steve Henson]

*) Redirect RSA operations to FIPS module including keygen,
   encrypt, decrypt, sign and verify. Block use of non FIPS RSA methods.
   [Steve Henson]

*) Add similar low level API blocking to ciphers.
   [Steve Henson]

*) Low level digest APIs are not approved in FIPS mode: any attempt
   to use these will cause a fatal error. Applications that *really* want
   to use them can use the private_* version instead.
   [Steve Henson]

*) Redirect cipher operations to FIPS module for FIPS builds.
   [Steve Henson]

*) Redirect digest operations to FIPS module for FIPS builds.
   [Steve Henson]

*) Update build system to add "fips" flag which will link in fipscanister.o
   for static and shared library builds embedding a signature if needed.
   [Steve Henson]

*) Output TLS supported curves in preference order instead of numerical
   order. This is currently hardcoded for the highest order curves first.
   This should be configurable so applications can judge speed vs strength.
   [Steve Henson]

*) Add protection against ECDSA timing attacks as mentioned in the paper
   by Billy Bob Brumley and Nicola Tuveri, see:

      http://eprint.iacr.org/2011/232.pdf

   [Billy Bob Brumley and Nicola Tuveri]

*) Add TLS v1.2 server support for client authentication.
   [Steve Henson]

*) Add support for FIPS mode in ssl library: disable SSLv3, non-FIPS ciphers
   and enable MD5.
   [Steve Henson]

*) Functions FIPS_mode_set() and FIPS_mode() which call the underlying
   FIPS modules versions.
   [Steve Henson]

*) Add TLS v1.2 client side support for client authentication. Keep cache
   of handshake records longer as we don't know the hash algorithm to use
   until after the certificate request message is received.
   [Steve Henson]

*) Initial TLS v1.2 client support. Add a default signature algorithms
   extension including all the algorithms we support. Parse new signature
   format in client key exchange. Relax some ECC signing restrictions for
   TLS v1.2 as indicated in RFC5246.
   [Steve Henson]

*) Add server support for TLS v1.2 signature algorithms extension. Switch
   to new signature format when needed using client digest preference.
   All server ciphersuites should now work correctly in TLS v1.2. No client
   support yet and no support for client certificates.
   [Steve Henson]

*) Initial TLS v1.2 support. Add new SHA256 digest to ssl code, switch
   to SHA256 for PRF when using TLS v1.2 and later. Add new SHA256 based
   ciphersuites. At present only RSA key exchange ciphersuites work with
   TLS v1.2. Add new option for TLS v1.2 replacing the old and obsolete
   SSL_OP_PKCS1_CHECK flags with SSL_OP_NO_TLSv1_2. New TLSv1.2 methods
   and version checking.
   [Steve Henson]

*) New option OPENSSL_NO_SSL_INTERN. If an application can be compiled
   with this defined it will not be affected by any changes to ssl internal
   structures. Add several utility functions to allow openssl application
   to work with OPENSSL_NO_SSL_INTERN defined.
   [Steve Henson]

*) Add SRP support.
   [Tom Wu <tjw@cs.stanford.edu> and Ben Laurie]

*) Add functions to copy EVP_PKEY_METHOD and retrieve flags and id.
   [Steve Henson]

*) Add EC_GFp_nistp224_method(), a 64-bit optimized implementation for
   elliptic curve NIST-P224 with constant-time single point multiplication on
   typical inputs.  EC_GROUP_new_by_curve_name() will automatically use this
   (while EC_GROUP_new_curve_GFp() currently won't and prefers the more
   flexible implementations).

   The implementation requires support for the nonstandard type __uint128_t,
   and so is disabled by default.  To include this in your build of OpenSSL,
   use -DEC_NISTP224_64_GCC_128 on the Configure (or config) command line,
   and run "make depend" (or "make update").
   [Emilia K<E4>sper <emilia.kasper@esat.kuleuven.be> (Google)]

*) Permit abbreviated handshakes when renegotiating using the function
   SSL_renegotiate_abbreviated().
   [Robin Seggelmann <seggelmann@fh-muenster.de>]

*) Add call to ENGINE_register_all_complete() to
   ENGINE_load_builtin_engines(), so some implementations get used
   automatically instead of needing explicit application support.
   [Steve Henson]

*) Add support for TLS key exporter as described in RFC5705.
   [Robin Seggelmann <seggelmann@fh-muenster.de>, Steve Henson]
2011-06-05 14:55:58 +00:00
christos 33c7476cb2 Revert previous and make frach be 0xc0000000 for NAN's generated by strtold()
as suggested by tron.
2011-06-05 14:43:12 +00:00