aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* We may only have INCSLINKS, and STAGE_SYMLINKS should all be full paths.Simon J. Gerraty2013-02-161-2/+2
| | | | Notes: svn path=/projects/bmake/; revision=246867
* If MAKESYSPATH contained .../ entry resolve it so that it still worksSimon J. Gerraty2013-02-161-1/+16
| | | | | | | | | when we launch make from obj tree. If we don't have sysroot support we need some c++ and clang specific include dirs in the stage tree. Notes: svn path=/projects/bmake/; revision=246866
* Latest *dirdeps.mk and meta2depsSimon J. Gerraty2013-02-163-103/+181
| | | | Notes: svn path=/projects/bmake/; revision=246865
* tweak STAGE_SETSSimon J. Gerraty2013-02-161-3/+5
| | | | Notes: svn path=/projects/bmake/; revision=246864
* hook stage_* to all: only as neededSimon J. Gerraty2013-02-161-1/+5
| | | | Notes: svn path=/projects/bmake/; revision=246863
* Remove duplicate option entriesSimon J. Gerraty2013-02-161-4/+2
| | | | Notes: svn path=/projects/bmake/; revision=246862
* Sync with HEAD.David E. O'Brien2013-02-085356-131207/+300944
|\ | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * Audit sockaddr argument for bind(2), connect(2), accept(2), sendto(2) andPawel Jakub Dawidek2013-02-071-1/+8
| | | | | | | | | | | | | | | | | | recvfrom(2) syscalls. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=246448
| * Minor style tweaks.Pawel Jakub Dawidek2013-02-071-27/+27
| | | | | | | | Notes: svn path=/head/; revision=246447
| * Add AUDIT_ARG_SOCKADDR() macro so we can start using the audit_arg_sockaddr()Pawel Jakub Dawidek2013-02-071-0/+6
| | | | | | | | | | | | | | | | | | function, which is currently unused. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=246446
| * Add support for buttons on USB audio devices,Hans Petter Selasky2013-02-063-1/+248
| | | | | | | | | | | | | | | | | | | | like Volume Up and Volume Down. Reviewed by: mav @ MFC after: 1 week Notes: svn path=/head/; revision=246421
| * Rework the handling of stop signals in the NFS client. The changes inJohn Baldwin2013-02-065-21/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 195702, 195703, and 195821 prevented a thread from suspending while holding locks inside of NFS by forcing the thread to fail sleeps with EINTR or ERESTART but defer the thread suspension to the user boundary. However, this had the effect that stopping a process during an NFS request could abort the request and trigger EINTR errors that were visible to userland processes (previously the thread would have suspended and completed the request once it was resumed). This change instead effectively masks stop signals while in the NFS client. It uses the existing TDF_SBDRY flag to effect this since SIGSTOP cannot be masked directly. Also, instead of setting PBDRY on individual sleeps, the NFS client now sets the TDF_SBDRY flag around each NFS request and stop signals are masked for all sleeps during that region (the previous change missed sleeps in lockmgr locks). The end result is that stop signals sent to threads performing an NFS request are completely ignored until after the NFS request has finished processing and the thread prepares to return to userland. This restores the behavior of stop signals being transparent to userland processes while still preventing threads from suspending while holding NFS locks. Reviewed by: kib MFC after: 1 month Notes: svn path=/head/; revision=246417
| * Prezero the acl structure which is to be copied to usermode, to avoidSergey Kandaurov2013-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | leakage of the previous content of padding and unitialized fields. Reported by: Ilia Noskov <noskov@nic.ru> Reviewed by: kib MFC after: 1 week Notes: svn path=/head/; revision=246412
| * Make sure that all mouse buttons are released when clientsHans Petter Selasky2013-02-061-1/+20
| | | | | | | | | | | | | | | | | | | | | | using /dev/consolectl close. This fixes a problem where if a USB mouse is detached while a button is pressed, that button is never released. MFC after: 1 week Notes: svn path=/head/; revision=246397
| * Fixes to QUEUE_MACRO_DEBUG support:Gleb Smirnoff2013-02-061-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add const quilifiers to fields that store value of __FILE__. - Use long type for fields that store value of __LINE__. - Sort and style(9) debugging fields. - Add initializer for debugging fields into TAILQ_INITIALIZER macro. PR: 175759 Submitted by: Andrey Simonenko <simon comsys.ntu-kpi.kiev.ua> Reviewed by: bde Notes: svn path=/head/; revision=246387
| * Busy-wait when cold.Navdeep Parhar2013-02-061-1/+6
| | | | | | | | | | | | | | | | Reported by: gnn, jhb MFC after: 3 days Notes: svn path=/head/; revision=246385
| * Compute the number of initial kernel page table pages (NKPT) dynamically.Neel Natu2013-02-063-19/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This eliminates the need to recompile the kernel when the default value of NKPT is not big enough - for e.g. when loading large kernel modules or memory disk images from the loader. If NKPT is defined in the kernel configuration file then it overrides the dynamic calculation. Reviewed by: alc, kib Notes: svn path=/head/; revision=246384
| * Use and set gpio pin to high to power up usb.Ganbold Tsagaankhuu2013-02-061-1/+17
| | | | | | | | | | | | | | Approved by: gonzo@ Notes: svn path=/head/; revision=246375
| * Add the __aeabi_mem* functions to compiler-rt as clang uses them.Andrew Turner2013-02-061-0/+4
| | | | | | | | Notes: svn path=/head/; revision=246372
| * sh: Do not test for digit_contig in mksyntax.Jilles Tjoelker2013-02-051-46/+2
| | | | | | | | | | | | | | | | | | | | | | | | ISO/IEC 9899:1999 (E) 5.2.1p3 guarantees that the values of the characters 0123456789 are contiguous. The generated syntax.c and syntax.h remain the same. Submitted by: Christoph Mallon Notes: svn path=/head/; revision=246371
| * Remove reference to the rlist code from comments, and fix a typo visibleSergey Kandaurov2013-02-051-8/+4
| | | | | | | | | | | | | | | | | | | | in the resulted change. Reviewed by: kib MFC after: 1 week Notes: svn path=/head/; revision=246370
| * * Add the integer div & mod functions and ARM EABI support functions toAndrew Turner2013-02-052-2/+15
| | | | | | | | | | | | | | | | | | libstand. * Stop linking the ARM U-Boot loader against libgcc now libstand has the required symbols. Notes: svn path=/head/; revision=246369
| * Install <dev/agp/agpreg.h> and <dev/pci/pcireg.h> as userland headersJohn Baldwin2013-02-054-8/+25
| | | | | | | | | | | | | | | | | | in /usr/include. MFC after: 2 weeks Notes: svn path=/head/; revision=246367
| * Add defines to more easily allow a single threaded version of the FreeBSDHans Petter Selasky2013-02-0512-96/+64
| | | | | | | | | | | | | | USB stack. This is useful for non-kernel purposes, like the loader. Notes: svn path=/head/; revision=246363
| * Remove political propagandaDag-Erling Smørgrav2013-02-051-227/+0
| | | | | | | | Notes: svn path=/head/; revision=246362
| * Bump .Dd for the change in r246121.Niclas Zeising2013-02-051-1/+1
| | | | | | | | | | | | | | Approved by: joel (mentor) Notes: svn path=/head/; revision=246361
| * Fix some nits.Hans Petter Selasky2013-02-055-6/+6
| | | | | | | | Notes: svn path=/head/; revision=246360
| * Fix depend target.Hans Petter Selasky2013-02-051-4/+4
| | | | | | | | Notes: svn path=/head/; revision=246359
| * Load the pfsync module if necessary.Dag-Erling Smørgrav2013-02-051-0/+1
| | | | | | | | | | | | | | | | Reviewed by: glebius@ MFC after: 1 week Notes: svn path=/head/; revision=246358
| * Build clang for little-endian arm by default. Due to size issues when builtAndrew Turner2013-02-051-1/+5
| | | | | | | | | | | | | | with gcc disable CLANG_FULL for now. Notes: svn path=/head/; revision=246354
| * Remove two dead assignments andGanbold Tsagaankhuu2013-02-051-14/+14
| | | | | | | | | | | | | | | | | | | | make use of sc more explicit and clear Submitted by: Christoph Mallon Approved by: gonzo@ Notes: svn path=/head/; revision=246353
| * ext2fs: move assignment where it is not dead.Pedro F. Giffuni2013-02-051-2/+3
| | | | | | | | | | | | | | | | Submitted by: Christoph Mallon MFC after: 2 weeks Notes: svn path=/head/; revision=246352
| * ext2fs: Remove unused em_e2fsb definition..Pedro F. Giffuni2013-02-051-1/+0
| | | | | | | | | | | | | | | | Submitted by: Christoph Mallon MFC after: 2 weeks Notes: svn path=/head/; revision=246351
| * ext2fs: Remove useless rootino local variable.Pedro F. Giffuni2013-02-051-4/+3
| | | | | | | | | | | | | | | | Submitted by: Christoph Mallon MFC after: 2 weeks Notes: svn path=/head/; revision=246350
| * ext2fs: Correct off-by-one errors in FFTODT() and DDTOFT().Pedro F. Giffuni2013-02-051-2/+2
| | | | | | | | | | | | | | | | Submitted by: Christoph Mallon MFC after: 2 weeks Notes: svn path=/head/; revision=246349
| * ext2fs: Use nitems().Pedro F. Giffuni2013-02-051-6/+4
| | | | | | | | | | | | | | | | Submitted by: Christoph Mallon MFC after: 2 weeks Notes: svn path=/head/; revision=246348
| * ext2fs: Use EXT2_LINK_MAX instead of LINK_MAXPedro F. Giffuni2013-02-051-5/+5
| | | | | | | | | | | | | | | | Submitted by: Christoph Mallon MFC after: 2 weeks Notes: svn path=/head/; revision=246347
| * crunchgen: Permit use of alternative linkers.Pedro F. Giffuni2013-02-051-1/+2
| | | | | | | | | | | | | | | | Submitted by: Pete Chou MFC after: 1 week Notes: svn path=/head/; revision=246346
| * Add gpio driver and update dts and kernel config accordingly.Ganbold Tsagaankhuu2013-02-054-1/+532
| | | | | | | | | | | | | | Approved by: gonzo@ Notes: svn path=/head/; revision=246342
| * Rework jumbo frame handling. QAC confirmed that the controllerPyun YongHyeon2013-02-052-44/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | requires 8 bytes alignment on RX buffer. Given that non-jumbo frame works on any alignments I guess this DMA limitation for RX buffer could be jumbo frame specific one. Also I'm not sure whether this DMA limitation is related with 64bit DMA. Previously age(4) disabled 64bit DMA addressing due to silent data corruption. So we may need more testing on re-enabling 64bit DMA in future. While I'm here, change mbuf chaining algorithm to use fixed sized buffer and force software checksum if controller reports length error. According to QAC, RFD is not updated at all for jumbo frame so it works just like alc(4) controllers. This change also added alignment fixup for strict alignment architectures. Because I'm not aware of any non-x86 machines that use age(4) controllers it's just for completeness at this moment. Wit this change, jumbo frame should work with age(4). Tested by: Christian Gusenbauer < c47g <> gmx dot at > MFC after: 1 week Notes: svn path=/head/; revision=246341
| * ktr: prevent possible footshooting with KTR_ENTRIES and KTR_BOOT_ENTRIESAndriy Gapon2013-02-041-1/+1
| | | | | | | | | | | | | | | | | | Suggested by: adrian MFC after: 14 days X-MFC with: r246282 Notes: svn path=/head/; revision=246331
| * ktr: copy content from the early static buffer if KTR_ENTRIES !=Andriy Gapon2013-02-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | KTR_BOOT_ENTRIES Reported by: glebius, jhb Pointyhat to: avg MFC after: 14 days X-MFC with: r246282 Notes: svn path=/head/; revision=246330
| * Use stripesize as smallest block size if it's available.Xin LI2013-02-041-0/+5
| | | | | | | | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=246329
| * Sort by MK_* knob like the comment saysDag-Erling Smørgrav2013-02-041-5/+5
| | | | | | | | | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=246328
| * Missed adding Makefile.config and unit-tests/Makefile shouldSimon J. Gerraty2013-02-042-0/+23
| | | | | | | | | | | | | | | | | | allow FreeBSD make to do 'obj'. Approved by: marcel (mentor) Notes: svn path=/head/; revision=246325
| * ng_ether_ifnet_arrival_event: check interface type before using IFP2NGAndriy Gapon2013-02-041-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The check is copied from vnet_ng_ether_init. Not sure if it covers all the types that we want to support with ng_ether. Reported by: markj Discussed with: zec MFC after: 10 days X-MFC with: r246245 Notes: svn path=/head/; revision=246324
| * Cast *tabchar, a wchar_t, to a wint_t as it is the type the %lc printfAndrew Turner2013-02-041-1/+1
| | | | | | | | | | | | | | | | format string expects. This is only an issue on ARM EABI where wint_t is different to wchar_t. Notes: svn path=/head/; revision=246319
| * Use the STACKALIGN macro to alight the stack rather than with a magic mask.Andrew Turner2013-02-041-5/+4
| | | | | | | | | | | | | | Submitted by: Christoph Mallon <christoph.mallon gmx.de> Notes: svn path=/head/; revision=246318
| * Add #undef TARGET_DEFAULT back as it shouldn't have been removed in r245539Andrew Turner2013-02-041-0/+1
| | | | | | | | Notes: svn path=/head/; revision=246317
| * Try to improve r242655 take III: move these SYSCTLs describing the kernelMarius Strobl2013-02-042-11/+11
| | | | | | | | | | | | | | | | | | map, which is defined and initialized in vm/vm_kern.c, to the latter. Submitted by: alc Notes: svn path=/head/; revision=246316