summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a debugging function that prints a message and appends theharti2005-03-082-0/+24
| | | | current strerror.
* Mark functions that don't return as dead.harti2005-03-081-4/+4
|
* Finish constification of Var_Parse() and Var_Subst().harti2005-03-082-41/+32
| | | | | | Patch: 0.18, 0.8, 7.110 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Document the '-i' option which allows the user to specify a ktr eventshmp2005-03-081-0/+5
| | | | log file.
* Fix the silly bug that prevented most EHCI interrupt transfers fromiedowse2005-03-081-5/+3
| | | | | | | | | | | | ever working correctly: the code was linking the QHs together but then immediately overwriting the "next" pointers. Oops. Also initialise qh_endphub, since the EHCI spec says that we should always set the pipe multiplier field to something sensible. This appears to make basic split transactions work, so enable split transactions for control, bulk and interrupt pipes (split isochronous transfers are not yet implemented). It should now be possible to use USB1 devices even when they are connected through a USB2 hub.
* Make note of the ktrdump(8) utility in the opening paragraph of thishmp2005-03-081-4/+5
| | | | | | | manual page. Fix indentation of code block in EXAMPLE section so the manual page can be viewed in a 80 column window.
* Typo & grammar fixes in comments.keramida2005-03-081-9/+9
|
* When building cscopnamefile, default architecture to ${MACHINE}, not i386.grog2005-03-081-1/+1
| | | | Suggested by: ru
* Replace strong references with weak references. There's nodas2005-03-074-7/+7
| | | | | | | | particularly good reason to do this, except that __strong_reference does type checking, whereas __weak_reference does not. On Alpha, the compiler won't accept a 'long double' parameter in place of a 'double' parameter even thought the two types are identical.
* Remove an obsolete sentence from a comment.stefanf2005-03-071-2/+1
|
* Remove test for zero sectorsize when tasting. This check doesn'tle2005-03-072-6/+0
| | | | | | seem to be necessary anymore, and it prevents tasting a valid drive when booting with geom_vinum already loaded, since SCSI disks set their sectorsize not until first opening them.
* Constify the callers of brk_string in this file.harti2005-03-071-18/+24
| | | | | | Patch: 7.108 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Style: fix indendation of VarModify().harti2005-03-071-15/+15
| | | | | | Patch: 7.107 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Constify the input argument to brk_string.harti2005-03-072-3/+5
| | | | | | Patch: 7.106 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Factor out the 'S' modifier into its own function. Move a variableharti2005-03-071-174/+183
| | | | | | | | that is now used for both the 'M'/'N' branch and the 'S' branch of the switch statement into a common scope. Patch: 7.102-105 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* The macros __GNUCLIKE_ATTRIBUTE_PRINTF andstefanf2005-03-071-3/+0
| | | | __CC_SUPPORTS_FORWARD_REFERENCE_CONSTRUCT are no longer needed, remove them.
* Don't try to use 'typedef struct foo' if just 'struct foo' makes more sensestefanf2005-03-072-25/+1
| | | | | | | and works on all compilers. This also removes the need for __CC_SUPPORTS_FORWARD_REFERENCE_CONSTRUCT in <sys/cdefs.h>. OK'ed by: marcel, dfr
* Prefer <sys/cdefs.h>'s __printflike() macro to the recently addedstefanf2005-03-071-5/+1
| | | | | | __GNUCLIKE_ATTRIBUTE_PRINTF. Approved by: mjacob
* Add korean NLS message catalogs for libcphantom2005-03-072-0/+498
| | | | | Submitted by: Hye-Shik Chang <perky@FreeBSD.org> PR: misc/78290
* When upcalling from a socket in soisconnected() for an accept filter,rwatson2005-03-072-2/+2
| | | | | | | call with flag M_DONTWAIT rather than M_TRYWAIT, as we don't want to do blocking memory allocation (etc) in the netisr. MFC after: 3 days
* - Encapsulate the code responsible for initializing a new TX descriptormux2005-03-072-191/+190
| | | | | | | from an mbuf into the fxp_encap() function, as done in other drivers. - Don't waste time calling bus_dmamap_load_mbuf() if we know the mbuf chain is too long to fit in a TX descriptor, call m_defrag() first. - Convert fxp(4) to use bus_dmamap_load_mbuf_sg().
* Move the 'M' and 'N' modifiers into their own function.harti2005-03-071-49/+63
| | | | | | Patch: 7.101 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Add placeholder mutex argument to new_unrhdr().phk2005-03-076-8/+7
|
* Remove superfluous .Pp call.brueffer2005-03-071-1/+0
| | | | | Submitted by: Joel Dahl <joel@automatvapen.se> MFC after: 3 days
* Make background fsck based summary adjustments actually work bydelphij2005-03-073-5/+24
| | | | | | | | | | | | | | | | | | | | | | | initializing the sysctl mibs data before actually using them. The original patchset (which is the actual version that is running on my testboxes) have checked whether all of these sysctls and refuses to do background fsck if we don't have them. Kirk has pointed out that refusing running fsck on old kernels is pointless, as old kernels will recompute the summary at mount time, so I have removed these checks. Unfortunatelly, as the checks will initialize the mib values of those sysctl's, and which are vital for the runtime summary adjustment to work, we can not simply remove the check, which will lead to problem when running background fsck over a dirty volume. Add these checks in a different way: give a warning rather than refusing to work, and complain if the functionality is not available when adjustments are necessary. Noticed by: A power failure at my lab Pointy hat: me MFC After: 3 days
* Replaced previous hw.physmem extraction with des's mods togrehan2005-03-073-150/+6
| | | | | | getenv_ulong() - much simpler. Pointed out by: des
* Handle MSG_NOSIGNAL flag in linux_send() by setting SO_NOSIGPIPE on socketsobomax2005-03-071-2/+25
| | | | | | | | | | | | | | for the duration of the send() call. Such approach may be less than ideal in threading environment, when several threads share the same socket and it might happen that several of them are calling linux_send() at the same time with and without SO_NOSIGPIPE set. However, such race condition is very unlikely in practice, therefore this change provides practical improvement compared to the previous behaviour. PR: kern/76426 Submitted by: Steven Hartland <killing@multiplay.co.uk> MFC after: 3 days
* Add a story about confusing information theory with thermodynamics.yar2005-03-071-0/+7
|
* Test cases for nextafter{,f,l} and nexttoward{,f,l}.das2005-03-073-1/+272
|
* - If z is 0, one of x or y is 0, and the other is infinite, raisedas2005-03-071-2/+18
| | | | | | | an invalid exception and return an NaN. - If a long double has 113 bits of precision, implement fma in terms of simple long double arithmetic instead of complicated double arithmetic. - If a long double is the same as a double, alias fma as fmal.
* Add manpage links for frexpf, frexpl, ldexpf, and ldexpl.das2005-03-071-0/+2
|
* Document frexpl and ldexpl.das2005-03-072-13/+25
|
* Document scalbnl and scalblnl.das2005-03-071-9/+16
|
* Document nextafterl and nexttoward{,f,l}.das2005-03-071-7/+21
|
* Add nexttoward to the list of implemented functions, and explicitlydas2005-03-071-4/+8
| | | | list the four that are still missing.
* Document fmal.das2005-03-071-16/+27
|
* Remove ldexp and ldexpf. The former is in libc, and the latter isdas2005-03-072-59/+0
| | | | | | identical to scalbnf, which is now aliased as ldexpf. Note that the old implementations made the mistake of setting errno and were the only libm routines to do so.
* - Remove s_ldexpf.c (now aliased to scalbn.)das2005-03-071-7/+12
| | | | | | | | | | | | | | | | | | | | | | - Add nexttoward{,f,l} and nextafterl. On all platforms, nexttowardl is an alias for nextafterl. - Add fmal. - Add man pages for new routines: fmal, nextafterl, nexttoward{,f,l}, scalb{,l}nl. Note that on platforms where long double is the same as double, we generally just alias the double versions of the routines, since doing so avoids extra work on the source code level and redundant code in the binary. In particular: ldbl53 ldbl64/113 fmal s_fma.c s_fmal.c ldexpl s_scalbn.c s_scalbnl.c nextafterl s_nextafter.c s_nextafterl.c nexttoward s_nextafter.c s_nexttoward.c nexttowardf s_nexttowardf.c s_nexttowardf.c nexttowardl s_nextafter.c s_nextafterl.c scalbnl s_scalbn.c s_scalbnl.c
* - Define FP_FAST_FMA for sparc64, since fma() is now implemented usingdas2005-03-071-4/+12
| | | | | | | sparc64's 128-bit long doubles. - Define FP_FAST_FMAL for ia64. - Prototypes for fmal, frexpl, ldexpl, nextafterl, nexttoward{,f,l}, scalblnl, and scalbnl.
* Alias scalbn as ldexpl and scalbnl on platforms where long double isdas2005-03-071-0/+8
| | | | the same as double.
* - Implement scalblnl.das2005-03-071-2/+34
| | | | | | - In scalbln and scalblnf, check the bounds of the second argument. This is probably unnecessary, but strictly speaking, we should report an error if someone tries to compute scalbln(x, INT_MAX + 1ll).
* Implement nexttowardf. This is used on both platforms with 11-bitdas2005-03-071-0/+60
| | | | exponents and platforms with 15-bit exponents for long doubles.
* Implement nexttoward and nextafterl; the latter is also known asdas2005-03-072-0/+155
| | | | | | | | | | | nexttowardl. These are not needed on machines where long doubles look like IEEE-754 doubles, so the implementation only supports the usual long double formats with 15-bit exponents. Anything bizarre, such as machines where floating-point and integer data have different endianness, will cause problems. This is the case with big endian ia64 according to libc/ia64/_fpmath.h. Please contact me if you managed to get a machine running this way.
* - Try harder to trick gcc into not optimizing away statementsdas2005-03-072-8/+19
| | | | | | that are intended to raise underflow and inexact exceptions. - On systems where long double is the same as double, nextafter should be aliased as nexttoward, nexttowardl, and nextafterl.
* - Define LDBL_NBIT to be a mask indicating the position of the integerdas2005-03-071-2/+10
| | | | | | | | | bit in a long double. For architectures that don't have such a bit, LDBL_NBIT is 0. This makes it possible to say `mantissa & ~LDBL_NBIT' in places that previously used an #ifdef to select the right expression. The optimizer should dispense with the extra arithmetic when LDBL_NBIT is 0 anyway. - Add an XXX comment for the big endian case.
* Define LDBL_NBIT to be a mask indicating the position of the integerdas2005-03-076-3/+9
| | | | | | | | bit in a long double. For architectures that don't have such a bit, LDBL_NBIT is 0. This makes it possible to say `mantissa & ~LDBL_NBIT' in places that previously used an #ifdef to select the right expression. The optimizer should dispense with the extra arithmetic when LDBL_NBIT is 0.
* Implement frexpl.das2005-03-071-0/+62
|
* Alias frexp as frexpl on platforms where a long double is the same asdas2005-03-071-0/+7
| | | | a double.
* Implement fmal.das2005-03-071-0/+170
|
* - Define the LDBL_PREC to be the number of significant bits in a longdas2005-03-071-1/+2
| | | | | double's mantissa. - Add an assembly version of fmal.
OpenPOWER on IntegriCloud