aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Import new version of libcxxrt. Now works correctly with libobjc2 to implementDavid Chisnall2012-03-205-105/+187
|\ | | | | | | | | | | | | | | | | the unified exception model for Objective-C++. Approved by: dim (mentor) Notes: svn path=/head/; revision=233235
| * Import new version of libcxxrt to vendor branch.vendor/libcxxrt/2012-03-20-cddcf8734ed06ada9384a461bc21d58b44f6eba1David Chisnall2012-03-204-105/+182
| | | | | | | | | | | | | | | | Approved by: dim (mentor) Notes: svn path=/vendor/libcxxrt/dist/; revision=233233 svn path=/vendor/libcxxrt/2012-03-20-cddcf8734ed06ada9384a461bc21d58b44f6eba1/; revision=233234; tag=vendor/libcxxrt/2012-03-20-cddcf8734ed06ada9384a461bc21d58b44f6eba1
| * Import new version of libcxxrt.vendor/libcxxrt/2011-11-22-a35d8de85ffd4df32e2dc47fa539d61fd3024a54David Chisnall2012-03-1314-42/+381
| | | | | | | | | | | | | | | | Approved by: dim (mentor) Notes: svn path=/vendor/libcxxrt/dist/; revision=232922 svn path=/vendor/libcxxrt/2011-11-22-a35d8de85ffd4df32e2dc47fa539d61fd3024a54/; revision=232923; tag=vendor/libcxxrt/2011-11-22-a35d8de85ffd4df32e2dc47fa539d61fd3024a54
* | Update the list of struct ifnet fields.Sergey Kandaurov2012-03-201-32/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Document if_vnet, if_home_vnet, if_carp, if_vlantrunk, if_multiaddrs, if_amcount, if_addr, if_llsoftc stub, if_broadcastaddr, if_bridge, if_label, if_afdata, if_afdata_initialized, if_afdata_lock, if_linktask, if_addr_mtx (now if_addr_lock), if_clones, if_groups, if_pf_kif, if_lagg, if_alloctype - G/c now defunct and/or commented out in the manual page if_ipending, if_poll_slowq, if_done, if_poll_recv, if_poll_xmit, if_poll_slowinput, if_poll_intren - Update if_snd type changed with ALTQ integration. MFC after: 1 week Notes: svn path=/head/; revision=233232
* | Fix several problems with our ELF filters implementation.Konstantin Belousov2012-03-2010-118/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not relocate twice an object which happens to be needed by loaded binary (or dso) and some filtee opened due to symbol resolution when relocating need objects. Record the state of the relocation processing in Obj_Entry and short-circuit relocate_objects() if current object already processed. Do not call constructors for filtees loaded during the early relocation processing before image is initialized enough to run user-provided code. Filtees are loaded using dlopen_object(), which normally performs relocation and initialization. If filtee is lazy-loaded during the relocation of dso needed by the main object, dlopen_object() runs too earlier, when most runtime services are not yet ready. Postpone the constructors call to the time when main binary and depended libraries constructors are run, passing the new flag RTLD_LO_EARLY to dlopen_object(). Symbol lookups callers inform symlook_* functions about early stage of initialization with SYMLOOK_EARLY. Pass flags through all functions participating in object relocation. Use the opportunity and fix flags argument to find_symdef() in arch-specific reloc.c to use proper name SYMLOOK_IN_PLT instead of true, which happen to have the same numeric value. Reported and tested by: theraven Reviewed by: kan MFC after: 2 weeks Notes: svn path=/head/; revision=233231
* | Improve device tree blob (DTB) handling in loader(8).Rafal Jaworowski2012-03-202-25/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | Enable using the statically embedded blob from the kernel, if present. The KLD loaded DTB takes precedence, but they are both recognized and handled in the same way. Submitted by: Lukasz Wojcik Obtained from: Semihalf MFC after: 1 week Notes: svn path=/head/; revision=233230
* | o Xr siftr.4 in order to expose it to a wider audience.Maxim Konovalov2012-03-201-0/+1
| | | | | | | | | | | | | | Reviewed by: lstewart Notes: svn path=/head/; revision=233229
* | Delay sequence number allocation for A-MPDU until just before the frameAdrian Chadd2012-03-205-50/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is queued to the hardware. Because multiple concurrent paths can execute ath_start(), multiple concurrent paths can push frames into the software/hardware TX queue and since preemption/interrupting can occur, there's the possibility that a gap in time will occur between allocating the sequence number and queuing it to the hardware. Because of this, it's possible that a thread will have allocated a sequence number and then be preempted by another thread doing the same. If the second thread sneaks the frame into the BAW, the (earlier) sequence number of the first frame will be now outside the BAW and will result in the frame being constantly re-added to the tail of the queue. There it will live until the sequence numbers cycle around again. This also creates a hole in the RX BAW tracking which can also cause issues. This patch delays the sequence number allocation to occur only just before the frame is going to be added to the BAW. I've been wanting to do this anyway as part of a general code tidyup but I've not gotten around to it. This fixes the PR. However, it still makes it quite difficult to try and ensure in-order queuing and dequeuing of frames. Since multiple copies of ath_start() can be run at the same time (eg one TXing process thread, one TX completion task/one RX task) the driver may end up having frames dequeued and pushed into the hardware slightly/occasionally out of order. And, to make matters more annoying, net80211 may have the same behaviour - in the non-aggregation case, the TX code allocates sequence numbers before it's thrown to the driver. I'll open another PR to investigate this and potentially introduce some kind of final-pass TX serialisation before frames are thrown to the hardware. It's also very likely worthwhile adding some debugging code into ath(4) and net80211 to catch when/if this does occur. PR: kern/166190 Notes: svn path=/head/; revision=233227
* | Copy amd64 sysarch.h to x86 and merge with i386 sysarch.h. ReplaceTijl Coosemans2012-03-194-202/+145
| | | | | | | | | | | | | | amd64/i386/pc98 sysarch.h with stubs. Notes: svn path=/head/; revision=233209
* | Fix a witness panic introduced in r231797.Jung-uk Kim2012-03-191-2/+2
| | | | | | | | | | | | | | | | | | | | Reported by: bschmidt Reviewed by: jhb Pointy hat to: jkim MFC after: 3 days Notes: svn path=/head/; revision=233208
* | Copy i386 specialreg.h to x86 and merge with amd64 specialreg.h. ReplaceTijl Coosemans2012-03-195-1223/+686
| | | | | | | | | | | | | | amd64/i386/pc98 specialreg.h with stubs. Notes: svn path=/head/; revision=233207
* | Copy i386 psl.h to x86 and replace amd64/i386/pc98 psl.h with stubs.Tijl Coosemans2012-03-196-165/+93
| | | | | | | | Notes: svn path=/head/; revision=233204
* | Move userland bits (and some common kernel bits) from amd64 and i386Tijl Coosemans2012-03-194-326/+289
| | | | | | | | | | | | | | | | | | | | segments.h to a new x86 segments.h. Add __packed attribute to some structs (just to be sure). Also make it clear that i386 GDT and LDT entries are used in ia64 code. Notes: svn path=/head/; revision=233203
* | Retire the IF_ADDR_LOCK() and IF_ADDR_UNLOCK() compat macros from HEAD.John Baldwin2012-03-191-3/+0
| | | | | | | | | | | | | | | | The new [RW]LOCK macros are merged back to 8.x so should be suitable for new code in HEAD even if it is to be MFC'd. Notes: svn path=/head/; revision=233202
* | Fix build of OFED bits with debugging options enabled.John Baldwin2012-03-192-2/+2
| | | | | | | | Notes: svn path=/head/; revision=233198
* | o Sort Xrs.Maxim Konovalov2012-03-191-3/+3
| | | | | | | | Notes: svn path=/head/; revision=233197
* | o Trim EoL whitespaces.Maxim Konovalov2012-03-191-4/+4
| | | | | | | | Notes: svn path=/head/; revision=233196
* | Fix the following warning from clang trunk:Dimitry Andric2012-03-191-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usr.sbin/dconschat/dconschat.c:163:65: error: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'off_t' (aka 'long long') [-Werror,-Wformat] snprintf(buf, PAGE_SIZE, "\r\n[dconschat reset target(addr=0x%zx)...]\r\n", dc->reset); ~~^ ~~~~~~~~~ %llx Silence this by casting dc->reset to intmax_t, and using the appropriate length modifier. While here, wrap the line to a 80 character margin. MFC after: 3 days Notes: svn path=/head/; revision=233195
* | Bah, just revert my earlier change entirely. (Missed alc's request to doJohn Baldwin2012-03-191-1/+1
| | | | | | | | | | | | | | | | | | this earlier.) Requested by: alc Notes: svn path=/head/; revision=233194
* | Add explicit braces to avoid dangling else in stl_tree.h. This silencesDimitry Andric2012-03-191-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the following warning produced by clang trunk: In file included from /usr/src/sbin/devd/devd.cc:91: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/map:64: /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/stl_tree.h:987:2: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else] else ^ MFC after: 3 days Notes: svn path=/head/; revision=233193
* | Fix madvise(MADV_WILLNEED) to properly handle individual mappings largerJohn Baldwin2012-03-193-16/+14
| | | | | | | | | | | | | | | | | | | | | | than 4GB. Specifically, the inlined version of 'ptoa' of the the 'int' count of pages overflowed on 64-bit platforms. While here, change vm_object_madvise() to accept two vm_pindex_t parameters (start and end) rather than a (start, count) tuple to match other VM APIs as suggested by alc@. Notes: svn path=/head/; revision=233191
* | Alter the previous commit to use vm_size_t instead of vm_pindex_t.John Baldwin2012-03-191-1/+1
| | | | | | | | | | | | | | | | vm_pindex_t is not a count of pages per se, it is more like vm_ooffset_t, but a page index instead of a byte offset. Notes: svn path=/head/; revision=233190
* | Provide a fix for certain PowerMacs where the U3 i2c lacks the interruptAndreas Tobler2012-03-191-1/+30
| | | | | | | | | | | | | | | | | | | | info. Tested by: Robert Hish MFC after: 1 week Notes: svn path=/head/; revision=233188
* | Do not reuse the previous address when restoring linear frame buffer.Jung-uk Kim2012-03-191-4/+6
| | | | | | | | Notes: svn path=/head/; revision=233187
* | An intel RAID can have any arbitrary name.Josh Paetzel2012-03-191-4/+1
| | | | | | | | Notes: svn path=/head/; revision=233186
* | Re-apply r233122 erronously reverted in r233168.Konstantin Belousov2012-03-191-5/+4
| | | | | | | | | | | | | | | | | | Submitted by: jhb Pointy hat to: kib MFC after: 2 weeks Notes: svn path=/head/; revision=233185
* | Remove this - it's not needed as it's defined in ieee80211_freebsd.h.Adrian Chadd2012-03-191-4/+0
| | | | | | | | Notes: svn path=/head/; revision=233184
* | Add CTLFLAG_TUN to sysctls.Andrey V. Elsukov2012-03-191-4/+4
| | | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=233181
* | Document GEOM_PART_LDM scheme and partition types.Andrey V. Elsukov2012-03-191-2/+38
| | | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=233179
* | Connect geom_part_ldm to the kernel build.Andrey V. Elsukov2012-03-193-0/+3
| | | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=233178
* | Connect geom_part_ldm module to the build.Andrey V. Elsukov2012-03-192-0/+13
| | | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=233177
* | Add new GEOM_PART_LDM module that implements the Logical Disk ManagerAndrey V. Elsukov2012-03-191-0/+1504
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | scheme. The LDM is a logical volume manager for MS Windows NT and it is also known as dynamic volumes. It supports about 2000 partitions and also provides the capability for software RAID implementations. This version implements only partitioning scheme capability and based on the linux-ntfs project documentation and several publications across the Web. NOTE: JBOD, RAID0 and RAID5 volumes aren't supported. An access to the LDM metadata is read-only. When LDM is on the disk partitioned with MBR we can also destroy metadata. For the GPT partitioned disks destroy action is not supported. Reviewed by: ivoras (previous version) MFC after: 1 month Notes: svn path=/head/; revision=233176
* | Make kern.geom.part node not static. Also add CTLFLAG_TUN to theAndrey V. Elsukov2012-03-191-3/+4
| | | | | | | | | | | | | | | | | | check_integrity sysctl. MFC after: 1 month Notes: svn path=/head/; revision=233175
* | Add symbol versioning to libcxxrt.David Chisnall2012-03-192-0/+319
| | | | | | | | | | | | | | Approved by: dim (mentor) Notes: svn path=/head/; revision=233174
* | Make __get_locale() static inline, not just inline, so when compiling libc inDavid Chisnall2012-03-191-1/+1
| | | | | | | | | | | | | | | | | | debug mode (without optimisations) it doesn't generate a linker failure. Approved by: dim (mentor) Notes: svn path=/head/; revision=233173
* | If we ever allow for managed fictitious pages, the pages shall beKonstantin Belousov2012-03-192-29/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | excluded from superpage promotions. At least one of the reason is that pv_table is sized for non-fictitious pages only. Consistently check for the page to be non-fictitious before accesing superpage pv list. Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 2 weeks Notes: svn path=/head/; revision=233168
* | Rotate auth.log and messages at the beginning of a year. Otherwise,Gleb Smirnoff2012-03-191-2/+2
| | | | | | | | | | | | | | | | daily security checks 800.loginfail and 900.tcpwrap may produce false positive alerts. Notes: svn path=/head/; revision=233167
* | Remove trailing whitespace.Benjamin Kaduk2012-03-191-2/+2
| | | | | | | | | | | | | | Approved by: hrs (mentor) Notes: svn path=/head/; revision=233161
* | Expound a bit more about the system maximum number of FIBs,Benjamin Kaduk2012-03-191-2/+20
| | | | | | | | | | | | | | | | | | | | | | how it may be set, and current limitations on the value. Approved by: hrs (mentor) PR: docs/157453 MFC after: 1 week Notes: svn path=/head/; revision=233160
* | fix ABI detection logic: for 64-bit elf objects set default ABI to n64.Oleksandr Tymoshenko2012-03-191-0/+7
| | | | | | | | Notes: svn path=/head/; revision=233159
* | Do not change current media when driver is already running. IfPyun YongHyeon2012-03-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | driver is running driver would have already completed flow control configuration. This change removes unnecessary media changes in controller reconfiguration cases such that it does not trigger link reestablishment for configuration change requests like promiscuous mode change. Reported by: Many Tested by: Mike Tancsa <mike <> sentex dot net> MFC after: 1 week Notes: svn path=/head/; revision=233158
* | draft-ietf-ipv6-scoping-arch-02.txt is now RFC 4007Eitan Adler2012-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | PR: docs/163771 Submitted by: phk Reviewed by: If someone else reviewed your modification. Approved by: cperciva MFC after: 1 week Notes: svn path=/head/; revision=233138
* | rm[0].rm_so must be zero (an explicit check is made for zero in theEitan Adler2012-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | outer if condition) Reviewed by: se Approved by: cperciva Notes: svn path=/head/; revision=233137
* | X11BASE is not used any more and has been killed by the x11 team.Eitan Adler2012-03-192-26/+0
| | | | | | | | | | | | | | | | | | Reviewed by: ??? Approved by: ??? MFC after: 3 days Notes: svn path=/head/; revision=233136
* | - Clean up timestamps in msgbuf code. The timestamps should now beEitan Adler2012-03-192-38/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | inserted after the priority token thus cleaning up the output. - Remove the needless double internal do_add_char function. - Resolve a possible deadlock if interrupts are disabled and getnanotime is called Reviewed by: bde kmacy, avg, sbruno (various versions) Approved by: cperciva MFC after: 2 weeks Notes: svn path=/head/; revision=233135
* | Use clockid parameter instead of hard-coded CLOCK_REALTIME.David Xu2012-03-191-1/+1
| | | | | | | | | | | | | | Reported by: pjd Notes: svn path=/head/; revision=233134
* | .. revert out a local change that I hadn't yet completely finished fleshingAdrian Chadd2012-03-181-124/+1
| | | | | | | | | | | | | | | | | | out and testing. sorry! Notes: svn path=/head/; revision=233133
* | fts(3): Mention that FTS_NOCHDIR imposes {PATH_MAX} limits on the returnedJilles Tjoelker2012-03-181-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | pathnames. With the current API (no *at functions), FTS_NOCHDIR requires that the fts_accpath start with the original path passed to fts_open(); therefore, the depth that can be reached is limited by the {PATH_MAX} constraint on this pathname. MFC after: 1 week Notes: svn path=/head/; revision=233132
* | Redirect camcontrol stderr to /dev/null.Josh Paetzel2012-03-181-1/+1
| | | | | | | | Notes: svn path=/head/; revision=233131
* | fts(3): Document cases where FTS_NOCHDIR is set implicitly.Jilles Tjoelker2012-03-181-1/+11
| | | | | | | | | | | | | | | | | | PR: docs/166091 Submitted by: Matthew Story MFC after: 1 week Notes: svn path=/head/; revision=233130