summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a sample program that shows how a custom comparison function andkeramida2013-02-191-1/+47
| | | | | | | | | qsort(3) can work together to sort an array of integers. PR: docs/176197 Submitted by: Fernando, fapesteguia at opensistemas.com Approved by: gjb (mentor) MFC after: 1 week
* sh: Fix a crash with the stackmark code.jilles2013-02-191-0/+2
| | | | | | | | | | | | | | | | If a stack mark is set while the current stack block is empty, the stack block may move later on (because of realloc()) and the stack mark needs to be updated. This updating does not happen after popstackmark() has been called; therefore, call setstackmark() again if the stack mark is still being used. For some reason, this only affects a few users. I cannot reproduce it. The situation seems quite rare as well because an empty stack block would usually be freed (by popstackmark()) before execution reaches a setstackmark() call. PR: 175922 Tested by: KT Sin
* add support for AES and PCLMULQDQ instructions to binutils...jmg2013-02-194-13/+128
| | | | | | | | | Thanks to Mike Belopuhov for the pointer to the OpenBSD patch, though OpenBSD's gcc is very different that it only helped w/ where to modify, not how... Thanks to jhb for some early reviews... Reviewed by: imp, kib MFC after: 1 month
* Add support to mxge for IPv6 TX csum offload & IPv6 TSO.gallatin2013-02-193-53/+227
| | | | | Sponsored by: Myricom, Inc. MFC after: 7 days
* Spelling fixesgonzo2013-02-191-2/+2
| | | | Spotted by: N. J. Mann
* Roll back change of frequency for initialization sequence since itgonzo2013-02-191-7/+6
| | | | | | seems to cause more problems then previous behavior: it either breaks initilization sequence in other places or uncovers problems with high-speed mode timing for SDHCI 3.0
* MFcalloutng:mav2013-02-191-8/+13
| | | | | Make led(4) fire callouts at 10Hz only when there is at least one LED that is requested to blink. Do not fire if all LEDs are static (usual case).
* dtc: fix bootstrapping from 8.2-STABLEuqs2013-02-191-0/+4
| | | | | MFC after: 1 week Approved by: theraven
* MFcalloutng:mav2013-02-191-6/+12
| | | | | | Make dcons input polling adaptive, reducing poll rate to 1Hz after several minutes of inactivty to reduce global interrupt rate. Most of users never used FireWire debugging, so it is not very useful to consume power by it.
* Pull in r175360 from upstream llvm trunk:dim2013-02-191-0/+4
| | | | | | | | | | MCParser: Reject .balign with non-pow2 alignments. GNU as rejects them and there are configure scripts in the wild that check if the assembler rejects ".align 3" to determine whether the alignment is in bytes or powers of two. MFC after: 3 days
* Import change 6d783560e4aad1e680097d11e89755647a5aba87 from upstreamdim2013-02-191-1/+1
| | | | | | | | | heimdal: fix sizeof(uuid) Found by: clang ToT Reviewed by: stas
* Fix includes for use in libstand.kientzle2013-02-191-3/+1
|
* Fixup r246916 in case gcc is used to build.davide2013-02-191-0/+2
| | | | Reported by: attilio, simon
* Fix a few typos.jhb2013-02-191-2/+2
|
* WARNS=6 compliancecharnier2013-02-191-1/+3
|
* WARNS=6 compliancecharnier2013-02-196-11/+10
|
* Remove old-style function definitioncharnier2013-02-191-1/+1
|
* Fix typouqs2013-02-191-2/+2
| | | | Submitted by: Matt Burke <mattblists@icritical.com>
* Print out the RTS/CTS rate in the TX descriptor.adrian2013-02-191-0/+2
|
* - Make sure to set an error code when trying to obtain a data descriptor formarkj2013-02-192-3/+24
| | | | | | | | | | a section of type SHT_NULL. - Update the man page to reflect the fact that elf_getdata() and elf_rawdata() may return with an error of ELF_E_SECTION. PR: bin/175491 Approved by: emaste (co-mentor) MFC after: 1 week
* kgdb enhancements!adrian2013-02-192-10/+13
| | | | | | | | | * document the kgdb -b flag * better verify what's valid with -b * add more comprehensive command line help PR: kern/175743 Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
* Define gpio constants rather than using enum.ganbold2013-02-191-11/+7
| | | | | | | | Fix pull-up and pull-down values of gpio. According to A10 user manual possible pull register values are 00 Pull-up/down disable, 01 Pull-up, 10 Pull-down. Approved by: gonzo@
* More white-space cleanups.pjd2013-02-181-2/+2
| | | | Reported by: zont (the first one)
* Add mem_load_raw() for loading data from another location in memory.kientzle2013-02-182-0/+39
| | | | | | This will be used by some upcoming changes to loader(8) FDT handling to allow it to use an FDT provided by an earlier boot stage the same as an FDT loaded from disk.
* setbuf(3): Restore a BUGS section about setbuf().jilles2013-02-181-1/+4
| | | | | | | The brokenness of setbuf() is not specific to 4.2BSD and 4.3BSD but inherent in the API definition. Reported by: bde
* Mark the coretemp(4) sysctls as MPSAFE, ensuring that Giant won't be heldmarkj2013-02-181-6/+6
| | | | | | | | | | unnecessarily by a user thread waiting to run on a specific CPU after calling sched_bind(). Reviewed by: rstone Approved by: emaste (co-mentor) Sponsored by: Sandvine Incorporated MFC after: 1 week
* mdoc: sort sections.joel2013-02-181-11/+11
|
* Clarify an error message. The addresses here arekientzle2013-02-181-1/+1
| | | | | really offsets within the primary mapped memory block (which may not start at address zero).
* Merge sendmail 8.14.6 errata issuegshapiro2013-02-181-1/+1
| | | | MFC after: 3 days
* Fix an incorrect sizeof()adrian2013-02-181-1/+1
| | | | | PR: kern/176238 Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
* Fix bad EEPROM parsing code.hselasky2013-02-182-5/+31
| | | | MFC after: 2 weeks
* * Add initial debugging of the interrupt status entryadrian2013-02-184-1/+181
| | | | * Add in the TDMA debugging entries that I added a while ago
* Make this output more terse.adrian2013-02-181-46/+49
|
* Add a new ATH KTR debug method to log the interrupt status.adrian2013-02-181-0/+28
|
* the NO_PAM option has been finally removed in favor of WITHOUT_PAM.luigi2013-02-182-2/+2
|
* Add strtoul() to libstand by copying from libc and clipping outkientzle2013-02-183-1/+125
| | | | locale code.
* Disable this variable; the code using it is also disabled.adrian2013-02-181-0/+2
|
* Place a cap on the size of the kernel's heap, also known as the kmemalc2013-02-181-0/+8
| | | | | | | | submap. Otherwise, after r246204, the auto-scaling logic in kern_malloc.c tries to create a kmem submap that consumes the entire kernel map on a Pandaboard with 1 GB of RAM. Tested by: gonzo
* Disable this code and add a note as to why.adrian2013-02-181-0/+15
| | | | | It wasn't currently being called anyway - but being explicit about it can't hurt.
* On arm, like sparc64, the end of the kernel map varies from one type ofalc2013-02-185-5/+10
| | | | | | | | | machine to another. Therefore, VM_MAX_KERNEL_ADDRESS can't be a constant. Instead, #define it to be a variable, vm_max_kernel_address, just like we do on sparc64. Reviewed by: kib Tested by: ian
* Allow [] in remote address, which fixes IPv6 support.pjd2013-02-181-1/+1
| | | | Reported by: simon
* Update the comment: we do show the backtrace of misbehaving thread.pjd2013-02-171-4/+3
|
* - Add support for 'memsync' mode. This is the fastest replication mode that'spjd2013-02-178-43/+334
| | | | | | | | | | why it will now be the default. - Bump protocol version to 2 and add backward compatibility for version 1. - Allow to specify hosts by kern.hostid as well (in addition to hostname and kern.hostuuid) in configuration file. Sponsored by: Panzura Tested by: trociny
* Do not update the fsinfo block on each update of any fat block, thiskib2013-02-173-30/+45
| | | | | | | | | | | | | | is excessive. Postpone the flush of the fsinfo to VFS_SYNC(), remembering the need for update with the flag MSDOSFS_FSIMOD, stored in pm_flags. FAT32 specification describes both FSI_Free_Count and FSI_Nxt_Free as the advisory hints, not requiring them to be correct. Based on the patch from bde, modified by me. Reviewed by: bde MFC after: 2 weeks
* Strengthen the check in IS_OUT_OF_BOUNDS to ensure that (j - 1) is amarkj2013-02-171-1/+1
| | | | | | | | | valid index into the input buffer. PR: bin/175213 Reviewed by: gabor Approved by: emaste (co-mentor) MFC after: 1 week
* MFcalloutng:mav2013-02-171-4/+21
| | | | | | | Microoptimize i8254 one-shot operation mode (disabled by default to allow timecounter functionality) by not writing to mode and MSB registers when it is not required. This saves several microseconds of CPU time per call, reducing minimal measured interrupts interval to 19.5us.
* In 'make hierarchy' don't install /sys/sys pointing to usr/src/sysache2013-02-171-1/+1
| | | | but just /sys pointing there
* Remove space before tab.pjd2013-02-171-1/+1
|
* Remove redundant check.pjd2013-02-171-3/+1
|
* Style.pjd2013-02-171-9/+5
|
OpenPOWER on IntegriCloud