From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 00:19:19 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 610B51065698; Sun, 20 Feb 2011 00:19:19 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 2210F8FC18; Sun, 20 Feb 2011 00:19:19 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id p1K0JESf051034; Sat, 19 Feb 2011 16:19:14 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id p1K0JE59051033; Sat, 19 Feb 2011 16:19:14 -0800 (PST) (envelope-from sgk) Date: Sat, 19 Feb 2011 16:19:14 -0800 From: Steve Kargl To: Doug Barton Message-ID: <20110220001914.GA51022@troutmask.apl.washington.edu> References: <201102131818.p1DIIuLL046962@svn.freebsd.org> <201102192007.32979.bruce@cran.org.uk> <4D6051D0.8050704@dougbarton.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D6051D0.8050704@dougbarton.us> User-Agent: Mutt/1.4.2.3i Cc: "Carlos A. M. dos Santos" , Bruce Cran , svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r218650 - head/games/fortune/datfiles X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 00:19:19 -0000 On Sat, Feb 19, 2011 at 03:27:12PM -0800, Doug Barton wrote: > On 02/19/2011 15:12, Carlos A. M. dos Santos wrote: > >On Sat, Feb 19, 2011 at 6:07 PM, Bruce Cran wrote: > >>On Saturday 19 February 2011 17:25:32 Carlos A. M. dos Santos wrote: > >> > >>>Did anybody complain about this? If not, would you mid either revert > >>>this commit or just go ahead and move all "potentially" offensive > >>>jokes to fortunes-o? Anything from Grouch Marx or Mark Twain will > >>>probably qualify. > >> > >>I'm happy to revert the checkin if you think the fortune should be in the > >>main > >>file, since it appears the PR submitter was complaining just as much about > >>being unprofessional as offensive. Would you like me to go ahead and > >>revert > >>the move? > > > >I suggest you to revert the commit > > Serious overkill, particularly since: > 1. The commit has already been MFC'ed, and So, 'svn revert' does not work on branches? -- Steve From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 00:59:40 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 531A7106566C; Sun, 20 Feb 2011 00:59:40 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 406A68FC12; Sun, 20 Feb 2011 00:59:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K0xefI014360; Sun, 20 Feb 2011 00:59:40 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K0xeQx014358; Sun, 20 Feb 2011 00:59:40 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201102200059.p1K0xeQx014358@svn.freebsd.org> From: Doug Barton Date: Sun, 20 Feb 2011 00:59:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218865 - head/etc/namedb X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 00:59:40 -0000 Author: dougb Date: Sun Feb 20 00:59:39 2011 New Revision: 218865 URL: http://svn.freebsd.org/changeset/base/218865 Log: Add a note about AXFR of important zones being available from ICANN Modified: head/etc/namedb/named.conf Modified: head/etc/namedb/named.conf ============================================================================== --- head/etc/namedb/named.conf Sat Feb 19 22:53:50 2011 (r218864) +++ head/etc/namedb/named.conf Sun Feb 20 00:59:39 2011 (r218865) @@ -91,6 +91,11 @@ zone "." { type hint; file "/etc/namedb/ To use this mechanism, uncomment the entries below, and comment the hint zone above. + + As documented at http://dns.icann.org/services/axfr/ these zones: + "." (the root), ARPA, IN-ADDR.ARPA, IP6.ARPA, and ROOT-SERVERS.NET + are availble for AXFR from these servers on IPv4 and IPv6: + xfr.lax.dns.icann.org, xfr.cjr.dns.icann.org */ /* zone "." { From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 01:02:03 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B276E1065672; Sun, 20 Feb 2011 01:02:03 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from EXHUB015-3.exch015.msoutlookonline.net (exhub015-3.exch015.msoutlookonline.net [207.5.72.95]) by mx1.freebsd.org (Postfix) with ESMTP id 99EE38FC15; Sun, 20 Feb 2011 01:02:03 +0000 (UTC) Received: from [192.168.1.2] (173.66.131.189) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.2.254.0; Sat, 19 Feb 2011 16:52:02 -0800 Message-ID: <4D6065B4.7040709@p6m7g8.com> Date: Sat, 19 Feb 2011 19:52:04 -0500 From: "Philip M. Gollucci" Organization: P6M7G8 Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Doug Barton References: <201102162123.p1GLN9f9084297@svn.freebsd.org> In-Reply-To: <201102162123.p1GLN9f9084297@svn.freebsd.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218753 - head/etc/namedb X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 01:02:03 -0000 On 2/16/2011 4:23 PM, Doug Barton wrote: > Author: dougb > Date: Wed Feb 16 21:23:09 2011 > New Revision: 218753 > URL: http://svn.freebsd.org/changeset/base/218753 > > Log: > Remove in-addr.arpa from the list of zones it is possible to slave locally This is b/c of the recent change to fix the list of root servers that serve this right ? > > Modified: > head/etc/namedb/named.conf > > Modified: head/etc/namedb/named.conf > ============================================================================== > --- head/etc/namedb/named.conf Wed Feb 16 21:21:23 2011 (r218752) > +++ head/etc/namedb/named.conf Wed Feb 16 21:23:09 2011 (r218753) > @@ -109,14 +109,6 @@ zone "arpa" { > }; > notify no; > }; > -zone "in-addr.arpa" { > - type slave; > - file "/etc/namedb/slave/in-addr.arpa.slave"; > - masters { > - 192.5.5.241; // F.ROOT-SERVERS.NET. > - }; > - notify no; > -}; > */ > > /* Serving the following zones locally will prevent any queries > _______________________________________________ > svn-src-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-all > To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" -- ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 01:02:11 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2B9510656ED; Sun, 20 Feb 2011 01:02:11 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CEAF18FC0A; Sun, 20 Feb 2011 01:02:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K12BOX014479; Sun, 20 Feb 2011 01:02:11 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K12BE9014476; Sun, 20 Feb 2011 01:02:11 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102200102.p1K12BE9014476@svn.freebsd.org> From: Pyun YongHyeon Date: Sun, 20 Feb 2011 01:02:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218866 - stable/8/sys/dev/jme X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 01:02:12 -0000 Author: yongari Date: Sun Feb 20 01:02:11 2011 New Revision: 218866 URL: http://svn.freebsd.org/changeset/base/218866 Log: MFC r217353: - Add a locked variant of jme_start() and invoke it directly while holding the lock instead of queueing it to a task. - Do not invoke jme_rxintr() to reclaim any unprocessed but received packets when shutting down the interface. Instead, just drop these packets to match the behavior of other drivers. - Hold the driver lock in the interrupt handler to avoid races with ioctl requests to down the interface. Modified: stable/8/sys/dev/jme/if_jme.c stable/8/sys/dev/jme/if_jmevar.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/dev/jme/if_jme.c ============================================================================== --- stable/8/sys/dev/jme/if_jme.c Sun Feb 20 00:59:39 2011 (r218865) +++ stable/8/sys/dev/jme/if_jme.c Sun Feb 20 01:02:11 2011 (r218866) @@ -126,8 +126,8 @@ static void jme_setwol(struct jme_softc static int jme_suspend(device_t); static int jme_resume(device_t); static int jme_encap(struct jme_softc *, struct mbuf **); -static void jme_tx_task(void *, int); static void jme_start(struct ifnet *); +static void jme_start_locked(struct ifnet *); static void jme_watchdog(struct jme_softc *); static int jme_ioctl(struct ifnet *, u_long, caddr_t); static void jme_mac_config(struct jme_softc *); @@ -890,7 +890,6 @@ jme_attach(device_t dev) ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header); /* Create local taskq. */ - TASK_INIT(&sc->jme_tx_task, 1, jme_tx_task, ifp); sc->jme_tq = taskqueue_create_fast("jme_taskq", M_WAITOK, taskqueue_thread_enqueue, &sc->jme_tq); if (sc->jme_tq == NULL) { @@ -942,7 +941,6 @@ jme_detach(device_t dev) JME_UNLOCK(sc); callout_drain(&sc->jme_tick_ch); taskqueue_drain(sc->jme_tq, &sc->jme_int_task); - taskqueue_drain(sc->jme_tq, &sc->jme_tx_task); taskqueue_drain(taskqueue_swi, &sc->jme_link_task); /* Restore possibly modified station address. */ if ((sc->jme_flags & JME_FLAG_EFUSE) != 0) @@ -1880,16 +1878,18 @@ jme_encap(struct jme_softc *sc, struct m } static void -jme_tx_task(void *arg, int pending) +jme_start(struct ifnet *ifp) { - struct ifnet *ifp; + struct jme_softc *sc; - ifp = (struct ifnet *)arg; - jme_start(ifp); + sc = ifp->if_softc; + JME_LOCK(sc); + jme_start_locked(ifp); + JME_UNLOCK(sc); } static void -jme_start(struct ifnet *ifp) +jme_start_locked(struct ifnet *ifp) { struct jme_softc *sc; struct mbuf *m_head; @@ -1897,16 +1897,14 @@ jme_start(struct ifnet *ifp) sc = ifp->if_softc; - JME_LOCK(sc); + JME_LOCK_ASSERT(sc); if (sc->jme_cdata.jme_tx_cnt >= JME_TX_DESC_HIWAT) jme_txeof(sc); if ((ifp->if_drv_flags & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != - IFF_DRV_RUNNING || (sc->jme_flags & JME_FLAG_LINK) == 0) { - JME_UNLOCK(sc); + IFF_DRV_RUNNING || (sc->jme_flags & JME_FLAG_LINK) == 0) return; - } for (enq = 0; !IFQ_DRV_IS_EMPTY(&ifp->if_snd); ) { IFQ_DRV_DEQUEUE(&ifp->if_snd, m_head); @@ -1945,8 +1943,6 @@ jme_start(struct ifnet *ifp) /* Set a timeout in case the chip goes out to lunch. */ sc->jme_watchdog_timer = JME_TX_TIMEOUT; } - - JME_UNLOCK(sc); } static void @@ -1972,7 +1968,7 @@ jme_watchdog(struct jme_softc *sc) if_printf(sc->jme_ifp, "watchdog timeout (missed Tx interrupts) -- recovering\n"); if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) - taskqueue_enqueue(sc->jme_tq, &sc->jme_tx_task); + jme_start_locked(ifp); return; } @@ -1981,7 +1977,7 @@ jme_watchdog(struct jme_softc *sc) ifp->if_drv_flags &= ~IFF_DRV_RUNNING; jme_init_locked(sc); if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) - taskqueue_enqueue(sc->jme_tq, &sc->jme_tx_task); + jme_start_locked(ifp); } static int @@ -2275,10 +2271,8 @@ jme_link_task(void *arg, int pending) /* XXX Drain all queued tasks. */ JME_UNLOCK(sc); taskqueue_drain(sc->jme_tq, &sc->jme_int_task); - taskqueue_drain(sc->jme_tq, &sc->jme_tx_task); JME_LOCK(sc); - jme_rxintr(sc, JME_RX_RING_CNT); if (sc->jme_cdata.jme_rxhead != NULL) m_freem(sc->jme_cdata.jme_rxhead); JME_RXCHAIN_RESET(sc); @@ -2305,7 +2299,7 @@ jme_link_task(void *arg, int pending) /* * Reuse configured Rx descriptors and reset - * procuder/consumer index. + * producer/consumer index. */ sc->jme_cdata.jme_rx_cons = 0; sc->jme_morework = 0; @@ -2384,6 +2378,7 @@ jme_int_task(void *arg, int pending) sc = (struct jme_softc *)arg; ifp = sc->jme_ifp; + JME_LOCK(sc); status = CSR_READ_4(sc, JME_INTR_STATUS); if (sc->jme_morework != 0) { sc->jme_morework = 0; @@ -2418,19 +2413,18 @@ jme_int_task(void *arg, int pending) CSR_WRITE_4(sc, JME_RXCSR, sc->jme_rxcsr | RXCSR_RX_ENB | RXCSR_RXQ_START); } - /* - * Reclaiming Tx buffers are deferred to make jme(4) run - * without locks held. - */ if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) - taskqueue_enqueue(sc->jme_tq, &sc->jme_tx_task); + jme_start_locked(ifp); } if (more != 0 || (CSR_READ_4(sc, JME_INTR_STATUS) & JME_INTRS) != 0) { taskqueue_enqueue(sc->jme_tq, &sc->jme_int_task); + JME_UNLOCK(sc); return; } done: + JME_UNLOCK(sc); + /* Reenable interrupts. */ CSR_WRITE_4(sc, JME_INTR_MASK_SET, JME_INTRS); } @@ -2532,6 +2526,8 @@ jme_rxeof(struct jme_softc *sc) uint32_t flags, status; int cons, count, nsegs; + JME_LOCK_ASSERT(sc); + ifp = sc->jme_ifp; cons = sc->jme_cdata.jme_rx_cons; @@ -2643,7 +2639,9 @@ jme_rxeof(struct jme_softc *sc) ifp->if_ipackets++; /* Pass it on. */ + JME_UNLOCK(sc); (*ifp->if_input)(ifp, m); + JME_LOCK(sc); /* Reset mbuf chains. */ JME_RXCHAIN_RESET(sc); Modified: stable/8/sys/dev/jme/if_jmevar.h ============================================================================== --- stable/8/sys/dev/jme/if_jmevar.h Sun Feb 20 00:59:39 2011 (r218865) +++ stable/8/sys/dev/jme/if_jmevar.h Sun Feb 20 01:02:11 2011 (r218866) @@ -221,7 +221,6 @@ struct jme_softc { volatile int jme_morework; struct task jme_int_task; - struct task jme_tx_task; struct task jme_link_task; struct taskqueue *jme_tq; struct mtx jme_mtx; From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 01:05:35 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94EE51065693; Sun, 20 Feb 2011 01:05:35 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 761C88FC1A; Sun, 20 Feb 2011 01:05:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K15ZI7014593; Sun, 20 Feb 2011 01:05:35 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K15Z9Q014590; Sun, 20 Feb 2011 01:05:35 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102200105.p1K15Z9Q014590@svn.freebsd.org> From: Pyun YongHyeon Date: Sun, 20 Feb 2011 01:05:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218867 - stable/7/sys/dev/jme X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 01:05:35 -0000 Author: yongari Date: Sun Feb 20 01:05:35 2011 New Revision: 218867 URL: http://svn.freebsd.org/changeset/base/218867 Log: MFC r217353: - Add a locked variant of jme_start() and invoke it directly while holding the lock instead of queueing it to a task. - Do not invoke jme_rxintr() to reclaim any unprocessed but received packets when shutting down the interface. Instead, just drop these packets to match the behavior of other drivers. - Hold the driver lock in the interrupt handler to avoid races with ioctl requests to down the interface. Modified: stable/7/sys/dev/jme/if_jme.c stable/7/sys/dev/jme/if_jmevar.h Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/jme/if_jme.c ============================================================================== --- stable/7/sys/dev/jme/if_jme.c Sun Feb 20 01:02:11 2011 (r218866) +++ stable/7/sys/dev/jme/if_jme.c Sun Feb 20 01:05:35 2011 (r218867) @@ -126,8 +126,8 @@ static void jme_setwol(struct jme_softc static int jme_suspend(device_t); static int jme_resume(device_t); static int jme_encap(struct jme_softc *, struct mbuf **); -static void jme_tx_task(void *, int); static void jme_start(struct ifnet *); +static void jme_start_locked(struct ifnet *); static void jme_watchdog(struct jme_softc *); static int jme_ioctl(struct ifnet *, u_long, caddr_t); static void jme_mac_config(struct jme_softc *); @@ -890,7 +890,6 @@ jme_attach(device_t dev) ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header); /* Create local taskq. */ - TASK_INIT(&sc->jme_tx_task, 1, jme_tx_task, ifp); sc->jme_tq = taskqueue_create_fast("jme_taskq", M_WAITOK, taskqueue_thread_enqueue, &sc->jme_tq); if (sc->jme_tq == NULL) { @@ -942,7 +941,6 @@ jme_detach(device_t dev) JME_UNLOCK(sc); callout_drain(&sc->jme_tick_ch); taskqueue_drain(sc->jme_tq, &sc->jme_int_task); - taskqueue_drain(sc->jme_tq, &sc->jme_tx_task); taskqueue_drain(taskqueue_swi, &sc->jme_link_task); /* Restore possibly modified station address. */ if ((sc->jme_flags & JME_FLAG_EFUSE) != 0) @@ -1880,16 +1878,18 @@ jme_encap(struct jme_softc *sc, struct m } static void -jme_tx_task(void *arg, int pending) +jme_start(struct ifnet *ifp) { - struct ifnet *ifp; + struct jme_softc *sc; - ifp = (struct ifnet *)arg; - jme_start(ifp); + sc = ifp->if_softc; + JME_LOCK(sc); + jme_start_locked(ifp); + JME_UNLOCK(sc); } static void -jme_start(struct ifnet *ifp) +jme_start_locked(struct ifnet *ifp) { struct jme_softc *sc; struct mbuf *m_head; @@ -1897,16 +1897,14 @@ jme_start(struct ifnet *ifp) sc = ifp->if_softc; - JME_LOCK(sc); + JME_LOCK_ASSERT(sc); if (sc->jme_cdata.jme_tx_cnt >= JME_TX_DESC_HIWAT) jme_txeof(sc); if ((ifp->if_drv_flags & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != - IFF_DRV_RUNNING || (sc->jme_flags & JME_FLAG_LINK) == 0) { - JME_UNLOCK(sc); + IFF_DRV_RUNNING || (sc->jme_flags & JME_FLAG_LINK) == 0) return; - } for (enq = 0; !IFQ_DRV_IS_EMPTY(&ifp->if_snd); ) { IFQ_DRV_DEQUEUE(&ifp->if_snd, m_head); @@ -1945,8 +1943,6 @@ jme_start(struct ifnet *ifp) /* Set a timeout in case the chip goes out to lunch. */ sc->jme_watchdog_timer = JME_TX_TIMEOUT; } - - JME_UNLOCK(sc); } static void @@ -1972,7 +1968,7 @@ jme_watchdog(struct jme_softc *sc) if_printf(sc->jme_ifp, "watchdog timeout (missed Tx interrupts) -- recovering\n"); if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) - taskqueue_enqueue(sc->jme_tq, &sc->jme_tx_task); + jme_start_locked(ifp); return; } @@ -1981,7 +1977,7 @@ jme_watchdog(struct jme_softc *sc) ifp->if_drv_flags &= ~IFF_DRV_RUNNING; jme_init_locked(sc); if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) - taskqueue_enqueue(sc->jme_tq, &sc->jme_tx_task); + jme_start_locked(ifp); } static int @@ -2275,10 +2271,8 @@ jme_link_task(void *arg, int pending) /* XXX Drain all queued tasks. */ JME_UNLOCK(sc); taskqueue_drain(sc->jme_tq, &sc->jme_int_task); - taskqueue_drain(sc->jme_tq, &sc->jme_tx_task); JME_LOCK(sc); - jme_rxintr(sc, JME_RX_RING_CNT); if (sc->jme_cdata.jme_rxhead != NULL) m_freem(sc->jme_cdata.jme_rxhead); JME_RXCHAIN_RESET(sc); @@ -2305,7 +2299,7 @@ jme_link_task(void *arg, int pending) /* * Reuse configured Rx descriptors and reset - * procuder/consumer index. + * producer/consumer index. */ sc->jme_cdata.jme_rx_cons = 0; sc->jme_morework = 0; @@ -2384,6 +2378,7 @@ jme_int_task(void *arg, int pending) sc = (struct jme_softc *)arg; ifp = sc->jme_ifp; + JME_LOCK(sc); status = CSR_READ_4(sc, JME_INTR_STATUS); if (sc->jme_morework != 0) { sc->jme_morework = 0; @@ -2418,19 +2413,18 @@ jme_int_task(void *arg, int pending) CSR_WRITE_4(sc, JME_RXCSR, sc->jme_rxcsr | RXCSR_RX_ENB | RXCSR_RXQ_START); } - /* - * Reclaiming Tx buffers are deferred to make jme(4) run - * without locks held. - */ if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) - taskqueue_enqueue(sc->jme_tq, &sc->jme_tx_task); + jme_start_locked(ifp); } if (more != 0 || (CSR_READ_4(sc, JME_INTR_STATUS) & JME_INTRS) != 0) { taskqueue_enqueue(sc->jme_tq, &sc->jme_int_task); + JME_UNLOCK(sc); return; } done: + JME_UNLOCK(sc); + /* Reenable interrupts. */ CSR_WRITE_4(sc, JME_INTR_MASK_SET, JME_INTRS); } @@ -2532,6 +2526,8 @@ jme_rxeof(struct jme_softc *sc) uint32_t flags, status; int cons, count, nsegs; + JME_LOCK_ASSERT(sc); + ifp = sc->jme_ifp; cons = sc->jme_cdata.jme_rx_cons; @@ -2643,7 +2639,9 @@ jme_rxeof(struct jme_softc *sc) ifp->if_ipackets++; /* Pass it on. */ + JME_UNLOCK(sc); (*ifp->if_input)(ifp, m); + JME_LOCK(sc); /* Reset mbuf chains. */ JME_RXCHAIN_RESET(sc); Modified: stable/7/sys/dev/jme/if_jmevar.h ============================================================================== --- stable/7/sys/dev/jme/if_jmevar.h Sun Feb 20 01:02:11 2011 (r218866) +++ stable/7/sys/dev/jme/if_jmevar.h Sun Feb 20 01:05:35 2011 (r218867) @@ -221,7 +221,6 @@ struct jme_softc { volatile int jme_morework; struct task jme_int_task; - struct task jme_tx_task; struct task jme_link_task; struct taskqueue *jme_tq; struct mtx jme_mtx; From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 01:08:49 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA6A6106564A; Sun, 20 Feb 2011 01:08:49 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 96AE68FC0C; Sun, 20 Feb 2011 01:08:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K18nV1014696; Sun, 20 Feb 2011 01:08:49 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K18nQU014693; Sun, 20 Feb 2011 01:08:49 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102200108.p1K18nQU014693@svn.freebsd.org> From: Pyun YongHyeon Date: Sun, 20 Feb 2011 01:08:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218868 - stable/8/sys/dev/alc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 01:08:49 -0000 Author: yongari Date: Sun Feb 20 01:08:49 2011 New Revision: 218868 URL: http://svn.freebsd.org/changeset/base/218868 Log: MFC r217379: - Move ether_ifdetach() earlier and remove now-unneeded IN_DETACH flag. - Expand locking in interrupt handler. Modified: stable/8/sys/dev/alc/if_alc.c stable/8/sys/dev/alc/if_alcvar.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/dev/alc/if_alc.c ============================================================================== --- stable/8/sys/dev/alc/if_alc.c Sun Feb 20 01:05:35 2011 (r218867) +++ stable/8/sys/dev/alc/if_alc.c Sun Feb 20 01:08:49 2011 (r218868) @@ -1052,13 +1052,12 @@ alc_detach(device_t dev) ifp = sc->alc_ifp; if (device_is_attached(dev)) { + ether_ifdetach(ifp); ALC_LOCK(sc); - sc->alc_flags |= ALC_FLAG_DETACH; alc_stop(sc); ALC_UNLOCK(sc); callout_drain(&sc->alc_tick_ch); taskqueue_drain(sc->alc_tq, &sc->alc_int_task); - ether_ifdetach(ifp); } if (sc->alc_tq != NULL) { @@ -2368,7 +2367,7 @@ alc_ioctl(struct ifnet *ifp, u_long cmd, ((ifp->if_flags ^ sc->alc_if_flags) & (IFF_PROMISC | IFF_ALLMULTI)) != 0) alc_rxfilter(sc); - else if ((sc->alc_flags & ALC_FLAG_DETACH) == 0) + else alc_init_locked(sc); } else if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) alc_stop(sc); @@ -2663,6 +2662,7 @@ alc_int_task(void *arg, int pending) ifp = sc->alc_ifp; status = CSR_READ_4(sc, ALC_INTR_STATUS); + ALC_LOCK(sc); if (sc->alc_morework != 0) { sc->alc_morework = 0; status |= INTR_RX_PKT; @@ -2680,7 +2680,6 @@ alc_int_task(void *arg, int pending) if (more == EAGAIN) sc->alc_morework = 1; else if (more == EIO) { - ALC_LOCK(sc); ifp->if_drv_flags &= ~IFF_DRV_RUNNING; alc_init_locked(sc); ALC_UNLOCK(sc); @@ -2698,7 +2697,6 @@ alc_int_task(void *arg, int pending) if ((status & INTR_TXQ_TO_RST) != 0) device_printf(sc->alc_dev, "TxQ reset! -- resetting\n"); - ALC_LOCK(sc); ifp->if_drv_flags &= ~IFF_DRV_RUNNING; alc_init_locked(sc); ALC_UNLOCK(sc); @@ -2706,11 +2704,12 @@ alc_int_task(void *arg, int pending) } if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0 && !IFQ_DRV_IS_EMPTY(&ifp->if_snd)) - alc_start(ifp); + alc_start_locked(ifp); } if (more == EAGAIN || (CSR_READ_4(sc, ALC_INTR_STATUS) & ALC_INTRS) != 0) { + ALC_UNLOCK(sc); taskqueue_enqueue(sc->alc_tq, &sc->alc_int_task); return; } @@ -2720,6 +2719,7 @@ done: /* Re-enable interrupts if we're running. */ CSR_WRITE_4(sc, ALC_INTR_STATUS, 0x7FFFFFFF); } + ALC_UNLOCK(sc); } static void @@ -3039,7 +3039,9 @@ alc_rxeof(struct alc_softc *sc, struct r #endif { /* Pass it on. */ + ALC_UNLOCK(sc); (*ifp->if_input)(ifp, m); + ALC_LOCK(sc); } } } Modified: stable/8/sys/dev/alc/if_alcvar.h ============================================================================== --- stable/8/sys/dev/alc/if_alcvar.h Sun Feb 20 01:05:35 2011 (r218867) +++ stable/8/sys/dev/alc/if_alcvar.h Sun Feb 20 01:08:49 2011 (r218868) @@ -230,7 +230,6 @@ struct alc_softc { #define ALC_FLAG_L0S 0x0400 #define ALC_FLAG_L1S 0x0800 #define ALC_FLAG_APS 0x1000 -#define ALC_FLAG_DETACH 0x4000 #define ALC_FLAG_LINK 0x8000 struct callout alc_tick_ch; From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 01:10:15 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50A1F1065670; Sun, 20 Feb 2011 01:10:15 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3CF4E8FC12; Sun, 20 Feb 2011 01:10:15 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K1AFwA014779; Sun, 20 Feb 2011 01:10:15 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K1AFlO014776; Sun, 20 Feb 2011 01:10:15 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102200110.p1K1AFlO014776@svn.freebsd.org> From: Pyun YongHyeon Date: Sun, 20 Feb 2011 01:10:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218869 - stable/7/sys/dev/alc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 01:10:15 -0000 Author: yongari Date: Sun Feb 20 01:10:14 2011 New Revision: 218869 URL: http://svn.freebsd.org/changeset/base/218869 Log: MFC r217379: - Move ether_ifdetach() earlier and remove now-unneeded IN_DETACH flag. - Expand locking in interrupt handler. Modified: stable/7/sys/dev/alc/if_alc.c stable/7/sys/dev/alc/if_alcvar.h Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/alc/if_alc.c ============================================================================== --- stable/7/sys/dev/alc/if_alc.c Sun Feb 20 01:08:49 2011 (r218868) +++ stable/7/sys/dev/alc/if_alc.c Sun Feb 20 01:10:14 2011 (r218869) @@ -1052,13 +1052,12 @@ alc_detach(device_t dev) ifp = sc->alc_ifp; if (device_is_attached(dev)) { + ether_ifdetach(ifp); ALC_LOCK(sc); - sc->alc_flags |= ALC_FLAG_DETACH; alc_stop(sc); ALC_UNLOCK(sc); callout_drain(&sc->alc_tick_ch); taskqueue_drain(sc->alc_tq, &sc->alc_int_task); - ether_ifdetach(ifp); } if (sc->alc_tq != NULL) { @@ -2368,7 +2367,7 @@ alc_ioctl(struct ifnet *ifp, u_long cmd, ((ifp->if_flags ^ sc->alc_if_flags) & (IFF_PROMISC | IFF_ALLMULTI)) != 0) alc_rxfilter(sc); - else if ((sc->alc_flags & ALC_FLAG_DETACH) == 0) + else alc_init_locked(sc); } else if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) alc_stop(sc); @@ -2663,6 +2662,7 @@ alc_int_task(void *arg, int pending) ifp = sc->alc_ifp; status = CSR_READ_4(sc, ALC_INTR_STATUS); + ALC_LOCK(sc); if (sc->alc_morework != 0) { sc->alc_morework = 0; status |= INTR_RX_PKT; @@ -2680,7 +2680,6 @@ alc_int_task(void *arg, int pending) if (more == EAGAIN) sc->alc_morework = 1; else if (more == EIO) { - ALC_LOCK(sc); ifp->if_drv_flags &= ~IFF_DRV_RUNNING; alc_init_locked(sc); ALC_UNLOCK(sc); @@ -2698,7 +2697,6 @@ alc_int_task(void *arg, int pending) if ((status & INTR_TXQ_TO_RST) != 0) device_printf(sc->alc_dev, "TxQ reset! -- resetting\n"); - ALC_LOCK(sc); ifp->if_drv_flags &= ~IFF_DRV_RUNNING; alc_init_locked(sc); ALC_UNLOCK(sc); @@ -2706,11 +2704,12 @@ alc_int_task(void *arg, int pending) } if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0 && !IFQ_DRV_IS_EMPTY(&ifp->if_snd)) - alc_start(ifp); + alc_start_locked(ifp); } if (more == EAGAIN || (CSR_READ_4(sc, ALC_INTR_STATUS) & ALC_INTRS) != 0) { + ALC_UNLOCK(sc); taskqueue_enqueue(sc->alc_tq, &sc->alc_int_task); return; } @@ -2720,6 +2719,7 @@ done: /* Re-enable interrupts if we're running. */ CSR_WRITE_4(sc, ALC_INTR_STATUS, 0x7FFFFFFF); } + ALC_UNLOCK(sc); } static void @@ -3039,7 +3039,9 @@ alc_rxeof(struct alc_softc *sc, struct r #endif { /* Pass it on. */ + ALC_UNLOCK(sc); (*ifp->if_input)(ifp, m); + ALC_LOCK(sc); } } } Modified: stable/7/sys/dev/alc/if_alcvar.h ============================================================================== --- stable/7/sys/dev/alc/if_alcvar.h Sun Feb 20 01:08:49 2011 (r218868) +++ stable/7/sys/dev/alc/if_alcvar.h Sun Feb 20 01:10:14 2011 (r218869) @@ -230,7 +230,6 @@ struct alc_softc { #define ALC_FLAG_L0S 0x0400 #define ALC_FLAG_L1S 0x0800 #define ALC_FLAG_APS 0x1000 -#define ALC_FLAG_DETACH 0x4000 #define ALC_FLAG_LINK 0x8000 struct callout alc_tick_ch; From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 01:15:27 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11C501065673; Sun, 20 Feb 2011 01:15:27 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F27E78FC13; Sun, 20 Feb 2011 01:15:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K1FQeY014978; Sun, 20 Feb 2011 01:15:26 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K1FQrZ014976; Sun, 20 Feb 2011 01:15:26 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102200115.p1K1FQrZ014976@svn.freebsd.org> From: Pyun YongHyeon Date: Sun, 20 Feb 2011 01:15:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218870 - stable/8/sys/dev/alc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 01:15:27 -0000 Author: yongari Date: Sun Feb 20 01:15:26 2011 New Revision: 218870 URL: http://svn.freebsd.org/changeset/base/218870 Log: MFC r218141: alc_rev was used without initialization such that it failed to apply AR8152 v1.0 specific initialization code. Fix this bug by explicitly reading PCI device revision id via PCI accessor. Reported by: Gabriel Linder ( linder.gabriel <> gmail dot com ) Modified: stable/8/sys/dev/alc/if_alc.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/dev/alc/if_alc.c ============================================================================== --- stable/8/sys/dev/alc/if_alc.c Sun Feb 20 01:10:14 2011 (r218869) +++ stable/8/sys/dev/alc/if_alc.c Sun Feb 20 01:15:26 2011 (r218870) @@ -810,7 +810,7 @@ alc_attach(device_t dev) CSR_READ_4(sc, ALC_PCIE_PHYMISC) | PCIE_PHYMISC_FORCE_RCV_DET); if (sc->alc_ident->deviceid == DEVICEID_ATHEROS_AR8152_B && - sc->alc_rev == ATHEROS_AR8152_B_V10) { + pci_get_revid(dev) == ATHEROS_AR8152_B_V10) { val = CSR_READ_4(sc, ALC_PCIE_PHYMISC2); val &= ~(PCIE_PHYMISC2_SERDES_CDR_MASK | PCIE_PHYMISC2_SERDES_TH_MASK); From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 01:17:00 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18CBB1065672; Sun, 20 Feb 2011 01:17:00 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E03048FC12; Sun, 20 Feb 2011 01:16:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K1Gxsl015059; Sun, 20 Feb 2011 01:16:59 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K1Gxt3015057; Sun, 20 Feb 2011 01:16:59 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102200116.p1K1Gxt3015057@svn.freebsd.org> From: Pyun YongHyeon Date: Sun, 20 Feb 2011 01:16:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218871 - stable/7/sys/dev/alc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 01:17:00 -0000 Author: yongari Date: Sun Feb 20 01:16:59 2011 New Revision: 218871 URL: http://svn.freebsd.org/changeset/base/218871 Log: MFC r218141: alc_rev was used without initialization such that it failed to apply AR8152 v1.0 specific initialization code. Fix this bug by explicitly reading PCI device revision id via PCI accessor. Reported by: Gabriel Linder ( linder.gabriel <> gmail dot com ) Modified: stable/7/sys/dev/alc/if_alc.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/alc/if_alc.c ============================================================================== --- stable/7/sys/dev/alc/if_alc.c Sun Feb 20 01:15:26 2011 (r218870) +++ stable/7/sys/dev/alc/if_alc.c Sun Feb 20 01:16:59 2011 (r218871) @@ -810,7 +810,7 @@ alc_attach(device_t dev) CSR_READ_4(sc, ALC_PCIE_PHYMISC) | PCIE_PHYMISC_FORCE_RCV_DET); if (sc->alc_ident->deviceid == DEVICEID_ATHEROS_AR8152_B && - sc->alc_rev == ATHEROS_AR8152_B_V10) { + pci_get_revid(dev) == ATHEROS_AR8152_B_V10) { val = CSR_READ_4(sc, ALC_PCIE_PHYMISC2); val &= ~(PCIE_PHYMISC2_SERDES_CDR_MASK | PCIE_PHYMISC2_SERDES_TH_MASK); From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 01:20:49 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7213C106566B; Sun, 20 Feb 2011 01:20:49 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5E6008FC12; Sun, 20 Feb 2011 01:20:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K1Knx5015177; Sun, 20 Feb 2011 01:20:49 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K1KnOs015175; Sun, 20 Feb 2011 01:20:49 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102200120.p1K1KnOs015175@svn.freebsd.org> From: Pyun YongHyeon Date: Sun, 20 Feb 2011 01:20:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218872 - stable/8/sys/dev/nfe X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 01:20:49 -0000 Author: yongari Date: Sun Feb 20 01:20:49 2011 New Revision: 218872 URL: http://svn.freebsd.org/changeset/base/218872 Log: MFC r217794: Reinitialize driver when MTU is changed and driver is running. Reported by: Huang, Yusheng ( yusheng.huang <> bluecoat com ) Modified: stable/8/sys/dev/nfe/if_nfe.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/dev/nfe/if_nfe.c ============================================================================== --- stable/8/sys/dev/nfe/if_nfe.c Sun Feb 20 01:16:59 2011 (r218871) +++ stable/8/sys/dev/nfe/if_nfe.c Sun Feb 20 01:20:49 2011 (r218872) @@ -1708,8 +1708,10 @@ nfe_ioctl(struct ifnet *ifp, u_long cmd, else { NFE_LOCK(sc); ifp->if_mtu = ifr->ifr_mtu; - if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) + if (ifp->if_drv_flags & IFF_DRV_RUNNING) { + ifp->if_drv_flags &= ~IFF_DRV_RUNNING; nfe_init_locked(sc); + } NFE_UNLOCK(sc); } } From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 01:22:48 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADC6B106566C; Sun, 20 Feb 2011 01:22:48 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9A3CB8FC16; Sun, 20 Feb 2011 01:22:48 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K1Mmdj015277; Sun, 20 Feb 2011 01:22:48 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K1MmVn015275; Sun, 20 Feb 2011 01:22:48 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102200122.p1K1MmVn015275@svn.freebsd.org> From: Pyun YongHyeon Date: Sun, 20 Feb 2011 01:22:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218873 - stable/7/sys/dev/nfe X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 01:22:48 -0000 Author: yongari Date: Sun Feb 20 01:22:48 2011 New Revision: 218873 URL: http://svn.freebsd.org/changeset/base/218873 Log: MFC r217794: Reinitialize driver when MTU is changed and driver is running. Reported by: Huang, Yusheng ( yusheng.huang <> bluecoat com ) Modified: stable/7/sys/dev/nfe/if_nfe.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/nfe/if_nfe.c ============================================================================== --- stable/7/sys/dev/nfe/if_nfe.c Sun Feb 20 01:20:49 2011 (r218872) +++ stable/7/sys/dev/nfe/if_nfe.c Sun Feb 20 01:22:48 2011 (r218873) @@ -1707,8 +1707,10 @@ nfe_ioctl(struct ifnet *ifp, u_long cmd, else { NFE_LOCK(sc); ifp->if_mtu = ifr->ifr_mtu; - if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) + if (ifp->if_drv_flags & IFF_DRV_RUNNING) { + ifp->if_drv_flags &= ~IFF_DRV_RUNNING; nfe_init_locked(sc); + } NFE_UNLOCK(sc); } } From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 01:25:00 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37AC9106564A; Sun, 20 Feb 2011 01:25:00 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2416A8FC0A; Sun, 20 Feb 2011 01:25:00 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K1P0lm015375; Sun, 20 Feb 2011 01:25:00 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K1P03R015373; Sun, 20 Feb 2011 01:25:00 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102200125.p1K1P03R015373@svn.freebsd.org> From: Pyun YongHyeon Date: Sun, 20 Feb 2011 01:25:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218874 - stable/8/sys/dev/nfe X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 01:25:00 -0000 Author: yongari Date: Sun Feb 20 01:24:59 2011 New Revision: 218874 URL: http://svn.freebsd.org/changeset/base/218874 Log: MFC r215432: MCP55 is the only NVIDIA controller that supports VLAN tag insertion/stripping and it also supports TSO over VLAN. Implement TSO over VLAN support for MCP55 controller. While I'm here clean up SIOCSIFCAP ioctl handler. Since nfe(4) sets ifp capabilities based on various hardware flags in device attach, there is no need to check hardware flags again in SIOCSIFCAP ioctl handler. Also fix a bug which toggled both TX and RX checksum offloading even if user requested either TX or RX checksum configuration change. Tested by: Rob Farmer ( rfarmer <> predatorlabs dot net ) Modified: stable/8/sys/dev/nfe/if_nfe.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/dev/nfe/if_nfe.c ============================================================================== --- stable/8/sys/dev/nfe/if_nfe.c Sun Feb 20 01:22:48 2011 (r218873) +++ stable/8/sys/dev/nfe/if_nfe.c Sun Feb 20 01:24:59 2011 (r218874) @@ -592,7 +592,8 @@ nfe_attach(device_t dev) if ((sc->nfe_flags & NFE_HW_VLAN) != 0) { ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING; if ((ifp->if_capabilities & IFCAP_HWCSUM) != 0) - ifp->if_capabilities |= IFCAP_VLAN_HWCSUM; + ifp->if_capabilities |= IFCAP_VLAN_HWCSUM | + IFCAP_VLAN_HWTSO; } if (pci_find_extcap(dev, PCIY_PMG, ®) == 0) @@ -1777,20 +1778,35 @@ nfe_ioctl(struct ifnet *ifp, u_long cmd, if ((mask & IFCAP_WOL_MAGIC) != 0 && (ifp->if_capabilities & IFCAP_WOL_MAGIC) != 0) ifp->if_capenable ^= IFCAP_WOL_MAGIC; - - if ((sc->nfe_flags & NFE_HW_CSUM) != 0 && - (mask & IFCAP_HWCSUM) != 0) { - ifp->if_capenable ^= IFCAP_HWCSUM; - if ((IFCAP_TXCSUM & ifp->if_capenable) != 0 && - (IFCAP_TXCSUM & ifp->if_capabilities) != 0) + if ((mask & IFCAP_TXCSUM) != 0 && + (ifp->if_capabilities & IFCAP_TXCSUM) != 0) { + ifp->if_capenable ^= IFCAP_TXCSUM; + if ((ifp->if_capenable & IFCAP_TXCSUM) != 0) ifp->if_hwassist |= NFE_CSUM_FEATURES; else ifp->if_hwassist &= ~NFE_CSUM_FEATURES; + } + if ((mask & IFCAP_RXCSUM) != 0 && + (ifp->if_capabilities & IFCAP_RXCSUM) != 0) { + ifp->if_capenable ^= IFCAP_RXCSUM; init++; } - if ((sc->nfe_flags & NFE_HW_VLAN) != 0 && - (mask & IFCAP_VLAN_HWTAGGING) != 0) { + if ((mask & IFCAP_TSO4) != 0 && + (ifp->if_capabilities & IFCAP_TSO4) != 0) { + ifp->if_capenable ^= IFCAP_TSO4; + if ((IFCAP_TSO4 & ifp->if_capenable) != 0) + ifp->if_hwassist |= CSUM_TSO; + else + ifp->if_hwassist &= ~CSUM_TSO; + } + if ((mask & IFCAP_VLAN_HWTSO) != 0 && + (ifp->if_capabilities & IFCAP_VLAN_HWTSO) != 0) + ifp->if_capenable ^= IFCAP_VLAN_HWTSO; + if ((mask & IFCAP_VLAN_HWTAGGING) != 0 && + (ifp->if_capabilities & IFCAP_VLAN_HWTAGGING) != 0) { ifp->if_capenable ^= IFCAP_VLAN_HWTAGGING; + if ((ifp->if_capenable & IFCAP_VLAN_HWTAGGING) == 0) + ifp->if_capenable &= ~IFCAP_VLAN_HWTSO; init++; } /* @@ -1800,28 +1816,17 @@ nfe_ioctl(struct ifnet *ifp, u_long cmd, * VLAN stripping. So when we know Rx checksum offload is * disabled turn entire hardware VLAN assist off. */ - if ((sc->nfe_flags & (NFE_HW_CSUM | NFE_HW_VLAN)) == - (NFE_HW_CSUM | NFE_HW_VLAN)) { - if ((ifp->if_capenable & IFCAP_RXCSUM) == 0) - ifp->if_capenable &= ~IFCAP_VLAN_HWTAGGING; + if ((ifp->if_capenable & IFCAP_RXCSUM) == 0) { + if ((ifp->if_capenable & IFCAP_VLAN_HWTAGGING) != 0) + init++; + ifp->if_capenable &= ~(IFCAP_VLAN_HWTAGGING | + IFCAP_VLAN_HWTSO); } - - if ((sc->nfe_flags & NFE_HW_CSUM) != 0 && - (mask & IFCAP_TSO4) != 0) { - ifp->if_capenable ^= IFCAP_TSO4; - if ((IFCAP_TSO4 & ifp->if_capenable) != 0 && - (IFCAP_TSO4 & ifp->if_capabilities) != 0) - ifp->if_hwassist |= CSUM_TSO; - else - ifp->if_hwassist &= ~CSUM_TSO; - } - if (init > 0 && (ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) { ifp->if_drv_flags &= ~IFF_DRV_RUNNING; nfe_init(sc); } - if ((sc->nfe_flags & NFE_HW_VLAN) != 0) - VLAN_CAPABILITIES(ifp); + VLAN_CAPABILITIES(ifp); break; default: error = ether_ioctl(ifp, cmd, data); From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 01:26:29 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD3F1106566B; Sun, 20 Feb 2011 01:26:29 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C9AF98FC21; Sun, 20 Feb 2011 01:26:29 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K1QTdV015446; Sun, 20 Feb 2011 01:26:29 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K1QTmE015444; Sun, 20 Feb 2011 01:26:29 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102200126.p1K1QTmE015444@svn.freebsd.org> From: Pyun YongHyeon Date: Sun, 20 Feb 2011 01:26:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218875 - stable/7/sys/dev/nfe X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 01:26:30 -0000 Author: yongari Date: Sun Feb 20 01:26:29 2011 New Revision: 218875 URL: http://svn.freebsd.org/changeset/base/218875 Log: MFC r215432: MCP55 is the only NVIDIA controller that supports VLAN tag insertion/stripping and it also supports TSO over VLAN. Implement TSO over VLAN support for MCP55 controller. While I'm here clean up SIOCSIFCAP ioctl handler. Since nfe(4) sets ifp capabilities based on various hardware flags in device attach, there is no need to check hardware flags again in SIOCSIFCAP ioctl handler. Also fix a bug which toggled both TX and RX checksum offloading even if user requested either TX or RX checksum configuration change. Tested by: Rob Farmer ( rfarmer <> predatorlabs dot net ) Modified: stable/7/sys/dev/nfe/if_nfe.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/nfe/if_nfe.c ============================================================================== --- stable/7/sys/dev/nfe/if_nfe.c Sun Feb 20 01:24:59 2011 (r218874) +++ stable/7/sys/dev/nfe/if_nfe.c Sun Feb 20 01:26:29 2011 (r218875) @@ -593,7 +593,8 @@ nfe_attach(device_t dev) if ((sc->nfe_flags & NFE_HW_VLAN) != 0) { ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING; if ((ifp->if_capabilities & IFCAP_HWCSUM) != 0) - ifp->if_capabilities |= IFCAP_VLAN_HWCSUM; + ifp->if_capabilities |= IFCAP_VLAN_HWCSUM | + IFCAP_VLAN_HWTSO; } if (pci_find_extcap(dev, PCIY_PMG, ®) == 0) @@ -1776,20 +1777,35 @@ nfe_ioctl(struct ifnet *ifp, u_long cmd, if ((mask & IFCAP_WOL_MAGIC) != 0 && (ifp->if_capabilities & IFCAP_WOL_MAGIC) != 0) ifp->if_capenable ^= IFCAP_WOL_MAGIC; - - if ((sc->nfe_flags & NFE_HW_CSUM) != 0 && - (mask & IFCAP_HWCSUM) != 0) { - ifp->if_capenable ^= IFCAP_HWCSUM; - if ((IFCAP_TXCSUM & ifp->if_capenable) != 0 && - (IFCAP_TXCSUM & ifp->if_capabilities) != 0) + if ((mask & IFCAP_TXCSUM) != 0 && + (ifp->if_capabilities & IFCAP_TXCSUM) != 0) { + ifp->if_capenable ^= IFCAP_TXCSUM; + if ((ifp->if_capenable & IFCAP_TXCSUM) != 0) ifp->if_hwassist |= NFE_CSUM_FEATURES; else ifp->if_hwassist &= ~NFE_CSUM_FEATURES; + } + if ((mask & IFCAP_RXCSUM) != 0 && + (ifp->if_capabilities & IFCAP_RXCSUM) != 0) { + ifp->if_capenable ^= IFCAP_RXCSUM; init++; } - if ((sc->nfe_flags & NFE_HW_VLAN) != 0 && - (mask & IFCAP_VLAN_HWTAGGING) != 0) { + if ((mask & IFCAP_TSO4) != 0 && + (ifp->if_capabilities & IFCAP_TSO4) != 0) { + ifp->if_capenable ^= IFCAP_TSO4; + if ((IFCAP_TSO4 & ifp->if_capenable) != 0) + ifp->if_hwassist |= CSUM_TSO; + else + ifp->if_hwassist &= ~CSUM_TSO; + } + if ((mask & IFCAP_VLAN_HWTSO) != 0 && + (ifp->if_capabilities & IFCAP_VLAN_HWTSO) != 0) + ifp->if_capenable ^= IFCAP_VLAN_HWTSO; + if ((mask & IFCAP_VLAN_HWTAGGING) != 0 && + (ifp->if_capabilities & IFCAP_VLAN_HWTAGGING) != 0) { ifp->if_capenable ^= IFCAP_VLAN_HWTAGGING; + if ((ifp->if_capenable & IFCAP_VLAN_HWTAGGING) == 0) + ifp->if_capenable &= ~IFCAP_VLAN_HWTSO; init++; } /* @@ -1799,28 +1815,17 @@ nfe_ioctl(struct ifnet *ifp, u_long cmd, * VLAN stripping. So when we know Rx checksum offload is * disabled turn entire hardware VLAN assist off. */ - if ((sc->nfe_flags & (NFE_HW_CSUM | NFE_HW_VLAN)) == - (NFE_HW_CSUM | NFE_HW_VLAN)) { - if ((ifp->if_capenable & IFCAP_RXCSUM) == 0) - ifp->if_capenable &= ~IFCAP_VLAN_HWTAGGING; + if ((ifp->if_capenable & IFCAP_RXCSUM) == 0) { + if ((ifp->if_capenable & IFCAP_VLAN_HWTAGGING) != 0) + init++; + ifp->if_capenable &= ~(IFCAP_VLAN_HWTAGGING | + IFCAP_VLAN_HWTSO); } - - if ((sc->nfe_flags & NFE_HW_CSUM) != 0 && - (mask & IFCAP_TSO4) != 0) { - ifp->if_capenable ^= IFCAP_TSO4; - if ((IFCAP_TSO4 & ifp->if_capenable) != 0 && - (IFCAP_TSO4 & ifp->if_capabilities) != 0) - ifp->if_hwassist |= CSUM_TSO; - else - ifp->if_hwassist &= ~CSUM_TSO; - } - if (init > 0 && (ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) { ifp->if_drv_flags &= ~IFF_DRV_RUNNING; nfe_init(sc); } - if ((sc->nfe_flags & NFE_HW_VLAN) != 0) - VLAN_CAPABILITIES(ifp); + VLAN_CAPABILITIES(ifp); break; default: error = ether_ioctl(ifp, cmd, data); From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 01:35:43 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDE5F1065674 for ; Sun, 20 Feb 2011 01:35:43 +0000 (UTC) (envelope-from dougb@dougbarton.us) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 5CB848FC15 for ; Sun, 20 Feb 2011 01:35:43 +0000 (UTC) Received: (qmail 21766 invoked by uid 399); 20 Feb 2011 01:35:40 -0000 Received: from router.ka9q.net (HELO doug-optiplex.ka9q.net) (dougb@dougbarton.us@75.60.237.91) by mail2.fluidhosting.com with ESMTPAM; 20 Feb 2011 01:35:40 -0000 X-Originating-IP: 75.60.237.91 X-Sender: dougb@dougbarton.us Message-ID: <4D606FEB.6070806@dougbarton.us> Date: Sat, 19 Feb 2011 17:35:39 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110129 Thunderbird/3.1.7 MIME-Version: 1.0 To: "Philip M. Gollucci" References: <201102162123.p1GLN9f9084297@svn.freebsd.org> <4D6065B4.7040709@p6m7g8.com> In-Reply-To: <4D6065B4.7040709@p6m7g8.com> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218753 - head/etc/namedb X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 01:35:43 -0000 On 02/19/2011 16:52, Philip M. Gollucci wrote: > On 2/16/2011 4:23 PM, Doug Barton wrote: >> Author: dougb >> Date: Wed Feb 16 21:23:09 2011 >> New Revision: 218753 >> URL: http://svn.freebsd.org/changeset/base/218753 >> >> Log: >> Remove in-addr.arpa from the list of zones it is possible to slave locally > This is b/c of the recent change to fix the list of root servers that > serve this right ? Not precisely. in-addr.arpa has moved to its own set of servers operated jointly by the RIRs and ICANN. At some point in the near future this zone will no longer be available directly from the root servers at all. hth, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 05:29:00 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E3E5106566C; Sun, 20 Feb 2011 05:29:00 +0000 (UTC) (envelope-from murray@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5D8CE8FC0C; Sun, 20 Feb 2011 05:29:00 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K5T0mU021304; Sun, 20 Feb 2011 05:29:00 GMT (envelope-from murray@svn.freebsd.org) Received: (from murray@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K5T0jh021301; Sun, 20 Feb 2011 05:29:00 GMT (envelope-from murray@svn.freebsd.org) Message-Id: <201102200529.p1K5T0jh021301@svn.freebsd.org> From: Murray Stokely Date: Sun, 20 Feb 2011 05:29:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218877 - in head/lib/msun: . man X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 05:29:00 -0000 Author: murray (doc committer) Date: Sun Feb 20 05:29:00 2011 New Revision: 218877 URL: http://svn.freebsd.org/changeset/base/218877 Log: Add complex(3) manual page documenting our partial support for C99 complex arithmetic in libm. Reviewed by: David Schultz MFC after: 2 weeks Added: head/lib/msun/man/complex.3 (contents, props changed) Modified: head/lib/msun/Makefile Modified: head/lib/msun/Makefile ============================================================================== --- head/lib/msun/Makefile Sun Feb 20 03:35:59 2011 (r218876) +++ head/lib/msun/Makefile Sun Feb 20 05:29:00 2011 (r218877) @@ -131,7 +131,8 @@ MAN= acos.3 acosh.3 asin.3 asinh.3 atan. fma.3 fmax.3 fmod.3 hypot.3 ieee.3 ieee_test.3 ilogb.3 j0.3 \ lgamma.3 log.3 lrint.3 lround.3 math.3 nan.3 \ nextafter.3 remainder.3 rint.3 \ - round.3 scalbn.3 signbit.3 sin.3 sinh.3 sqrt.3 tan.3 tanh.3 trunc.3 + round.3 scalbn.3 signbit.3 sin.3 sinh.3 sqrt.3 tan.3 tanh.3 trunc.3 \ + complex.3 MLINKS+=acos.3 acosf.3 acos.3 acosl.3 MLINKS+=acosh.3 acoshf.3 Added: head/lib/msun/man/complex.3 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/msun/man/complex.3 Sun Feb 20 05:29:00 2011 (r218877) @@ -0,0 +1,128 @@ +.\" Copyright (c) 2011 Murray Stokely +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd February 19, 2011 +.Dt COMPLEX 3 +.Os +.Sh NAME +.Nm complex +.Nd "complex arithmetic" +.Sh LIBRARY +.Lb libm +.Sh SYNOPSIS +.In complex.h +.Sh DESCRIPTION +These functions support complex arithmetic in the C math library. +.Sh "LIST OF FUNCTIONS" +Each of the following +.Vt "double complex" +functions has a +.Vt "float complex" +counterpart with an +.Ql f +appended to the name and a +.Vt "long double complex" +counterpart with an +.Ql l +appended. +As an example, the +.Vt "float complex" +and +.Vt "long double complex" +counterparts of +.Ft double +.Fn cabs "double complex z" +are +.Ft float +.Fn cabsf "float complex z" +and +.Ft "long double" +.Fn cabsl "long double complex z" , +respectively. +.de Cl +.Bl -column "csqrt" "complex absolute value (i.e. norm, modulus, magnitude)" +.Em "Name Description" +.. +.\" Section 7.3.5 - 7.3.7 of ISO C99 standard unimplemented, see BUGS +.\" Section 7.3.8 of ISO C99 standard +.Ss Absolute-value Functions +.Cl +cabs complex absolute value (i.e. norm, modulus, magnitude) +csqrt complex square root +.El +.\" Section 7.3.9 of ISO C99 standard +.Ss Manipulation Functions +.Cl +carg compute the argument (i.e. phase angle) +cimag compute the imaginary part +conj compute the complex conjugate +cproj compute projection onto Riemann sphere +creal compute the real part +.El +.Sh SEE ALSO +.Xr math 3 , +.Xr fenv 3 , +.Xr ieee 3 , +.Xr tgmath 3 +.Rs +.%T "ISO/IEC 9899:TC3" +.%U http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf +.Re +.Sh STANDARDS +The +.In complex.h +functions described here conform to +.St -isoC-99 . +.Sh BUGS +The trigonmetric functions +.Fn cacos , +.Fn casin , +.Fn catan , +.Fn ccos , +.Fn csin , +and +.Fn ctan +are not implemented. +.Pp +The hyperbolic functions +.Fn cacosh , +.Fn casinh , +.Fn catanh , +.Fn ccosh , +.Fn csinh , +and +.Fn ctanh +are not implemented. +.Pp +The exponential and logarithmic functions +.Fn cexp , +and +.Fn clog +are not implemented. +.Pp +The power functions +.Fn cpow +are not implemented. From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 07:58:31 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EAB6106564A; Sun, 20 Feb 2011 07:58:31 +0000 (UTC) (envelope-from dchagin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F2AC88FC08; Sun, 20 Feb 2011 07:58:30 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K7wUdV024413; Sun, 20 Feb 2011 07:58:30 GMT (envelope-from dchagin@svn.freebsd.org) Received: (from dchagin@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K7wUJI024411; Sun, 20 Feb 2011 07:58:30 GMT (envelope-from dchagin@svn.freebsd.org) Message-Id: <201102200758.p1K7wUJI024411@svn.freebsd.org> From: Dmitry Chagin Date: Sun, 20 Feb 2011 07:58:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218879 - head/sys/compat/linux X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 07:58:31 -0000 Author: dchagin Date: Sun Feb 20 07:58:30 2011 New Revision: 218879 URL: http://svn.freebsd.org/changeset/base/218879 Log: Do not clobber %rdx. Before calling vfork() syscall the linux user-space stores the current PID in the %rdx and restore it when the parent process will leave the kernel. Modified: head/sys/compat/linux/linux_fork.c Modified: head/sys/compat/linux/linux_fork.c ============================================================================== --- head/sys/compat/linux/linux_fork.c Sun Feb 20 07:46:35 2011 (r218878) +++ head/sys/compat/linux/linux_fork.c Sun Feb 20 07:58:30 2011 (r218879) @@ -104,7 +104,6 @@ linux_vfork(struct thread *td, struct li return (error); td->td_retval[0] = p2->p_pid; - td->td_retval[1] = 0; error = linux_proc_init(td, td->td_retval[0], 0); if (error) From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 09:14:02 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAB48106564A; Sun, 20 Feb 2011 09:14:02 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 548088FC08; Sun, 20 Feb 2011 09:14:02 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 7FC28E8189; Sun, 20 Feb 2011 09:13:59 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=4riZsHjeX7cm Zc3qq+WyIq67iXo=; b=vUvmUMy580XQAvCZogahbvfDlr4clByzRJsuSgJzerMM Ehs5a8mN+zJ3nyAXmhHj2z25/LuGrQpKctwf51+O8cvFzDqOGnyYuTAm5kj0Y/TH w2sGbu2YYHxOwtMRaSXI93jkn/9szmfy20uAQjdYGWfX+yhuwdlzRdpBJelY4/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=mbHrUh FvS1qSG+lRpMey1HySxMM9qD6AfSCmUEQVWl3HkOZ522LGAE07n3oAA62d8f9QKI PXYi8e6BYgdXPwJhW2FElvusFmBJyaQEkzR9iPWiFkC+Omo8i7d9mL4YTKnywmdL +V0vQdoh+BBIdj8SSz9JUK06FOtwWrvTyCbac= Received: from unknown (client-86-31-177-138.oxfd.adsl.virginmedia.com [86.31.177.138]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 03392E76A0; Sun, 20 Feb 2011 09:13:58 +0000 (GMT) Date: Sun, 20 Feb 2011 09:13:56 +0000 From: Bruce Cran To: Steve Kargl Message-ID: <20110220091356.0000686d@unknown> In-Reply-To: <20110220001914.GA51022@troutmask.apl.washington.edu> References: <201102131818.p1DIIuLL046962@svn.freebsd.org> <201102192007.32979.bruce@cran.org.uk> <4D6051D0.8050704@dougbarton.us> <20110220001914.GA51022@troutmask.apl.washington.edu> X-Mailer: Claws Mail 3.7.8cvs9 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "Carlos A. M. dos Santos" , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Doug Barton Subject: Re: svn commit: r218650 - head/games/fortune/datfiles X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 09:14:02 -0000 On Sat, 19 Feb 2011 16:19:14 -0800 Steve Kargl wrote: > So, 'svn revert' does not work on branches? It only works for uncommitted changes - "svn merge" does work though. -- Bruce Cran From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 09:18:00 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 313AC106566B; Sun, 20 Feb 2011 09:18:00 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1FF808FC1C; Sun, 20 Feb 2011 09:18:00 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K9I0Lt026311; Sun, 20 Feb 2011 09:18:00 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K9I0wZ026309; Sun, 20 Feb 2011 09:18:00 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201102200918.p1K9I0wZ026309@svn.freebsd.org> From: Konstantin Belousov Date: Sun, 20 Feb 2011 09:17:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218880 - stable/8/sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 09:18:00 -0000 Author: kib Date: Sun Feb 20 09:17:59 2011 New Revision: 218880 URL: http://svn.freebsd.org/changeset/base/218880 Log: MFC r218670: Lock the vnode around clearing of VV_TEXT flag. Remove mp_fixme() note mentioning that vnode lock is needed. Modified: stable/8/sys/vm/vm_object.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/vm/vm_object.c ============================================================================== --- stable/8/sys/vm/vm_object.c Sun Feb 20 07:58:30 2011 (r218879) +++ stable/8/sys/vm/vm_object.c Sun Feb 20 09:17:59 2011 (r218880) @@ -441,16 +441,21 @@ vm_object_vndeallocate(vm_object_t objec } #endif - object->ref_count--; - if (object->ref_count == 0) { - mp_fixme("Unlocked vflag access."); - vp->v_vflag &= ~VV_TEXT; + if (object->ref_count > 1) { + object->ref_count--; + VM_OBJECT_UNLOCK(object); + /* vrele may need the vnode lock. */ + vrele(vp); + } else { + VM_OBJECT_UNLOCK(object); + vn_lock(vp, LK_EXCLUSIVE | LK_RETRY); + VM_OBJECT_LOCK(object); + object->ref_count--; + if (object->ref_count == 0) + vp->v_vflag &= ~VV_TEXT; + VM_OBJECT_UNLOCK(object); + vput(vp); } - VM_OBJECT_UNLOCK(object); - /* - * vrele may need a vop lock - */ - vrele(vp); } /* From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 09:52:29 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E71E8106566B; Sun, 20 Feb 2011 09:52:29 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D5B7F8FC0A; Sun, 20 Feb 2011 09:52:29 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1K9qTVJ027075; Sun, 20 Feb 2011 09:52:29 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1K9qTms027072; Sun, 20 Feb 2011 09:52:29 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201102200952.p1K9qTms027072@svn.freebsd.org> From: Konstantin Belousov Date: Sun, 20 Feb 2011 09:52:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218881 - in head: include share/man/man3 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 09:52:30 -0000 Author: kib Date: Sun Feb 20 09:52:29 2011 New Revision: 218881 URL: http://svn.freebsd.org/changeset/base/218881 Log: Add restrict keyword to pthread_sigmask prototype and manpage. MFC after: 1 week Modified: head/include/signal.h head/share/man/man3/pthread_sigmask.3 Modified: head/include/signal.h ============================================================================== --- head/include/signal.h Sun Feb 20 09:17:59 2011 (r218880) +++ head/include/signal.h Sun Feb 20 09:52:29 2011 (r218881) @@ -69,7 +69,8 @@ int raise(int); #if __POSIX_VISIBLE || __XSI_VISIBLE int kill(__pid_t, int); int pthread_kill(__pthread_t, int); -int pthread_sigmask(int, const __sigset_t *, __sigset_t *); +int pthread_sigmask(int, const __sigset_t * __restrict, + __sigset_t * __restrict); int sigaction(int, const struct sigaction * __restrict, struct sigaction * __restrict); int sigaddset(sigset_t *, int); Modified: head/share/man/man3/pthread_sigmask.3 ============================================================================== --- head/share/man/man3/pthread_sigmask.3 Sun Feb 20 09:17:59 2011 (r218880) +++ head/share/man/man3/pthread_sigmask.3 Sun Feb 20 09:52:29 2011 (r218881) @@ -26,7 +26,7 @@ .\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" $FreeBSD$ -.Dd April 27, 2000 +.Dd February 19, 2011 .Dt PTHREAD_SIGMASK 3 .Os .Sh NAME @@ -38,7 +38,8 @@ .In pthread.h .In signal.h .Ft int -.Fn pthread_sigmask "int how" "const sigset_t *set" "sigset_t *oset" +.Fn pthread_sigmask "int how" "const sigset_t * restrict set" \ + "sigset_t * restrict oset" .Sh DESCRIPTION The .Fn pthread_sigmask From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 11:29:40 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E27D1106564A; Sun, 20 Feb 2011 11:29:40 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D00408FC16; Sun, 20 Feb 2011 11:29:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KBTe0a030851; Sun, 20 Feb 2011 11:29:40 GMT (envelope-from uqs@svn.freebsd.org) Received: (from uqs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KBTepL030849; Sun, 20 Feb 2011 11:29:40 GMT (envelope-from uqs@svn.freebsd.org) Message-Id: <201102201129.p1KBTepL030849@svn.freebsd.org> From: Ulrich Spoerlein Date: Sun, 20 Feb 2011 11:29:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218882 - stable/8/share/syscons/keymaps X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 11:29:41 -0000 Author: uqs Date: Sun Feb 20 11:29:40 2011 New Revision: 218882 URL: http://svn.freebsd.org/changeset/base/218882 Log: MFH r218089: syscons: install all available kbdmaps eee_nordic.kbd, us.dvorakl.kbd, and us.dvorakr.kbd were not installed. Found by: Neil Short Modified: stable/8/share/syscons/keymaps/Makefile Directory Properties: stable/8/share/syscons/ (props changed) Modified: stable/8/share/syscons/keymaps/Makefile ============================================================================== --- stable/8/share/syscons/keymaps/Makefile Sun Feb 20 09:52:29 2011 (r218881) +++ stable/8/share/syscons/keymaps/Makefile Sun Feb 20 11:29:40 2011 (r218882) @@ -11,7 +11,7 @@ FILES= INDEX.keymaps \ cz.iso2.kbd \ danish.iso.kbd danish.iso.acc.kbd danish.cp865.kbd \ dutch.iso.acc.kbd \ - el.iso07.kbd \ + eee_nordic.kbd el.iso07.kbd \ estonian.iso.kbd estonian.iso15.kbd estonian.cp850.kbd \ finnish.iso.kbd finnish.cp850.kbd \ fr.iso.kbd fr.iso.acc.kbd fr.dvorak.kbd fr.dvorak.acc.kbd \ @@ -45,8 +45,8 @@ FILES= INDEX.keymaps \ ua.koi8-u.kbd ua.koi8-u.shift.alt.kbd ua.iso5.kbd \ uk.iso.kbd uk.iso-ctrl.kbd uk.cp850.kbd uk.cp850-ctrl.kbd \ uk.dvorak.kbd \ - us.iso.kbd us.dvorak.kbd us.dvorakx.kbd us.emacs.kbd us.pc-ctrl.kbd \ - us.unix.kbd us.iso.acc.kbd + us.iso.kbd us.dvorak.kbd us.dvorakl.kbd us.dvorakr.kbd us.dvorakx.kbd \ + us.emacs.kbd us.pc-ctrl.kbd us.unix.kbd us.iso.acc.kbd FILESDIR= ${SHAREDIR}/syscons/keymaps From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 11:30:13 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0259C1065670; Sun, 20 Feb 2011 11:30:13 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E42448FC21; Sun, 20 Feb 2011 11:30:12 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KBUCmx030907; Sun, 20 Feb 2011 11:30:12 GMT (envelope-from uqs@svn.freebsd.org) Received: (from uqs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KBUC20030905; Sun, 20 Feb 2011 11:30:12 GMT (envelope-from uqs@svn.freebsd.org) Message-Id: <201102201130.p1KBUC20030905@svn.freebsd.org> From: Ulrich Spoerlein Date: Sun, 20 Feb 2011 11:30:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218883 - stable/7/share/syscons/keymaps X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 11:30:13 -0000 Author: uqs Date: Sun Feb 20 11:30:12 2011 New Revision: 218883 URL: http://svn.freebsd.org/changeset/base/218883 Log: MFH r218089: syscons: install all available kbdmaps us.dvorakl.kbd, and us.dvorakr.kbd were not installed. Found by: Neil Short Modified: stable/7/share/syscons/keymaps/Makefile Directory Properties: stable/7/share/syscons/ (props changed) stable/7/share/syscons/keymaps/ (props changed) Modified: stable/7/share/syscons/keymaps/Makefile ============================================================================== --- stable/7/share/syscons/keymaps/Makefile Sun Feb 20 11:29:40 2011 (r218882) +++ stable/7/share/syscons/keymaps/Makefile Sun Feb 20 11:30:12 2011 (r218883) @@ -45,8 +45,8 @@ FILES= INDEX.keymaps \ ua.koi8-u.kbd ua.koi8-u.shift.alt.kbd ua.iso5.kbd \ uk.iso.kbd uk.iso-ctrl.kbd uk.cp850.kbd uk.cp850-ctrl.kbd \ uk.dvorak.kbd \ - us.iso.kbd us.dvorak.kbd us.dvorakx.kbd us.emacs.kbd us.pc-ctrl.kbd \ - us.unix.kbd us.iso.acc.kbd + us.iso.kbd us.dvorak.kbd us.dvorakl.kbd us.dvorakr.kbd us.dvorakx.kbd \ + us.emacs.kbd us.pc-ctrl.kbd us.unix.kbd us.iso.acc.kbd FILESDIR= ${SHAREDIR}/syscons/keymaps From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 12:55:17 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6ED7D106566C; Sun, 20 Feb 2011 12:55:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 430848FC0A; Sun, 20 Feb 2011 12:55:17 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KCtHJi032866; Sun, 20 Feb 2011 12:55:17 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KCtH9o032864; Sun, 20 Feb 2011 12:55:17 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102201255.p1KCtH9o032864@svn.freebsd.org> From: Dimitry Andric Date: Sun, 20 Feb 2011 12:55:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-svnadmin@freebsd.org X-SVN-Group: svnadmin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218884 - svnadmin/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 12:55:17 -0000 Author: dim Date: Sun Feb 20 12:55:16 2011 New Revision: 218884 URL: http://svn.freebsd.org/changeset/base/218884 Log: Temporarily raise my limit. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf ============================================================================== --- svnadmin/conf/sizelimit.conf Sun Feb 20 11:30:12 2011 (r218883) +++ svnadmin/conf/sizelimit.conf Sun Feb 20 12:55:16 2011 (r218884) @@ -32,3 +32,4 @@ gonzo kmacy jb jeff +dim From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 12:57:17 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED164106566C; Sun, 20 Feb 2011 12:57:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D60B98FC08; Sun, 20 Feb 2011 12:57:17 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KCvHND032952; Sun, 20 Feb 2011 12:57:17 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KCvHxv032941; Sun, 20 Feb 2011 12:57:17 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102201257.p1KCvHxv032941@svn.freebsd.org> From: Dimitry Andric Date: Sun, 20 Feb 2011 12:57:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218885 - in vendor/llvm/dist: . autoconf bindings/ada bindings/ocaml bindings/ocaml/bitreader bindings/ocaml/executionengine bindings/ocaml/llvm bindings/ocaml/transforms/scalar cmake ... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 12:57:18 -0000 Author: dim Date: Sun Feb 20 12:57:14 2011 New Revision: 218885 URL: http://svn.freebsd.org/changeset/base/218885 Log: Vendor import of llvm trunk r126079: http://llvm.org/svn/llvm-project/llvm/trunk@126079 Added: vendor/llvm/dist/.gitignore vendor/llvm/dist/cmake/modules/HandleLLVMOptions.cmake vendor/llvm/dist/cmake/modules/LLVMParseArguments.cmake vendor/llvm/dist/docs/tutorial/OCamlLangImpl8.html vendor/llvm/dist/include/llvm-c/Initialization.h vendor/llvm/dist/include/llvm/ADT/ArrayRef.h vendor/llvm/dist/include/llvm/ADT/InMemoryStruct.h vendor/llvm/dist/include/llvm/ADT/IntEqClasses.h vendor/llvm/dist/include/llvm/ADT/IntervalMap.h vendor/llvm/dist/include/llvm/Analysis/DIBuilder.h vendor/llvm/dist/include/llvm/Analysis/DominanceFrontier.h vendor/llvm/dist/include/llvm/Analysis/PathNumbering.h vendor/llvm/dist/include/llvm/Analysis/PathProfileInfo.h vendor/llvm/dist/include/llvm/Analysis/RegionPass.h vendor/llvm/dist/include/llvm/CodeGen/EdgeBundles.h vendor/llvm/dist/include/llvm/CodeGen/MachineLoopRanges.h vendor/llvm/dist/include/llvm/CodeGen/PBQP/ vendor/llvm/dist/include/llvm/CodeGen/PBQP/Graph.h vendor/llvm/dist/include/llvm/CodeGen/PBQP/HeuristicBase.h vendor/llvm/dist/include/llvm/CodeGen/PBQP/HeuristicSolver.h vendor/llvm/dist/include/llvm/CodeGen/PBQP/Heuristics/ vendor/llvm/dist/include/llvm/CodeGen/PBQP/Heuristics/Briggs.h vendor/llvm/dist/include/llvm/CodeGen/PBQP/Math.h vendor/llvm/dist/include/llvm/CodeGen/PBQP/Solution.h vendor/llvm/dist/include/llvm/CodeGen/RegAllocPBQP.h vendor/llvm/dist/include/llvm/CodeGen/ScoreboardHazardRecognizer.h vendor/llvm/dist/include/llvm/ExecutionEngine/MCJIT.h vendor/llvm/dist/include/llvm/InitializePasses.h vendor/llvm/dist/include/llvm/MC/MCELFObjectWriter.h vendor/llvm/dist/include/llvm/MC/MCFixupKindInfo.h vendor/llvm/dist/include/llvm/MC/MCMachObjectWriter.h vendor/llvm/dist/include/llvm/Object/ vendor/llvm/dist/include/llvm/Object/MachOFormat.h vendor/llvm/dist/include/llvm/Object/MachOObject.h vendor/llvm/dist/include/llvm/Object/ObjectFile.h vendor/llvm/dist/include/llvm/Support/AIXDataTypesFix.h vendor/llvm/dist/include/llvm/Support/Atomic.h vendor/llvm/dist/include/llvm/Support/DataTypes.h.cmake vendor/llvm/dist/include/llvm/Support/DataTypes.h.in vendor/llvm/dist/include/llvm/Support/Disassembler.h vendor/llvm/dist/include/llvm/Support/DynamicLibrary.h vendor/llvm/dist/include/llvm/Support/Endian.h vendor/llvm/dist/include/llvm/Support/Errno.h vendor/llvm/dist/include/llvm/Support/FEnv.h vendor/llvm/dist/include/llvm/Support/FileSystem.h vendor/llvm/dist/include/llvm/Support/Host.h vendor/llvm/dist/include/llvm/Support/IncludeFile.h vendor/llvm/dist/include/llvm/Support/LICENSE.TXT vendor/llvm/dist/include/llvm/Support/Memory.h vendor/llvm/dist/include/llvm/Support/Mutex.h vendor/llvm/dist/include/llvm/Support/Path.h vendor/llvm/dist/include/llvm/Support/PathV1.h vendor/llvm/dist/include/llvm/Support/PathV2.h vendor/llvm/dist/include/llvm/Support/Process.h vendor/llvm/dist/include/llvm/Support/Program.h vendor/llvm/dist/include/llvm/Support/RWMutex.h vendor/llvm/dist/include/llvm/Support/Signals.h vendor/llvm/dist/include/llvm/Support/Solaris.h vendor/llvm/dist/include/llvm/Support/SwapByteOrder.h vendor/llvm/dist/include/llvm/Support/ThreadLocal.h vendor/llvm/dist/include/llvm/Support/Threading.h vendor/llvm/dist/include/llvm/Support/TimeValue.h vendor/llvm/dist/include/llvm/Support/ToolOutputFile.h vendor/llvm/dist/include/llvm/Support/Valgrind.h vendor/llvm/dist/include/llvm/Support/system_error.h vendor/llvm/dist/include/llvm/Target/TargetAsmInfo.h vendor/llvm/dist/include/llvm/Target/TargetFrameLowering.h vendor/llvm/dist/include/llvm/Target/TargetLibraryInfo.h vendor/llvm/dist/lib/Analysis/DIBuilder.cpp vendor/llvm/dist/lib/Analysis/DominanceFrontier.cpp vendor/llvm/dist/lib/Analysis/IPA/IPA.cpp vendor/llvm/dist/lib/Analysis/MemDepPrinter.cpp vendor/llvm/dist/lib/Analysis/NoAliasAnalysis.cpp vendor/llvm/dist/lib/Analysis/PathNumbering.cpp vendor/llvm/dist/lib/Analysis/PathProfileInfo.cpp vendor/llvm/dist/lib/Analysis/PathProfileVerifier.cpp vendor/llvm/dist/lib/Analysis/RegionPass.cpp vendor/llvm/dist/lib/Bitcode/CMakeLists.txt vendor/llvm/dist/lib/CMakeLists.txt vendor/llvm/dist/lib/CodeGen/AllocationOrder.cpp vendor/llvm/dist/lib/CodeGen/AllocationOrder.h vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfTableException.cpp vendor/llvm/dist/lib/CodeGen/CodeGen.cpp vendor/llvm/dist/lib/CodeGen/EdgeBundles.cpp vendor/llvm/dist/lib/CodeGen/ExpandISelPseudos.cpp vendor/llvm/dist/lib/CodeGen/LiveDebugVariables.cpp vendor/llvm/dist/lib/CodeGen/LiveDebugVariables.h vendor/llvm/dist/lib/CodeGen/LiveIntervalUnion.cpp vendor/llvm/dist/lib/CodeGen/LiveIntervalUnion.h vendor/llvm/dist/lib/CodeGen/LiveRangeEdit.cpp vendor/llvm/dist/lib/CodeGen/LiveRangeEdit.h vendor/llvm/dist/lib/CodeGen/MachineLoopRanges.cpp vendor/llvm/dist/lib/CodeGen/PHIEliminationUtils.cpp vendor/llvm/dist/lib/CodeGen/PHIEliminationUtils.h vendor/llvm/dist/lib/CodeGen/RegAllocBase.h vendor/llvm/dist/lib/CodeGen/RegAllocBasic.cpp vendor/llvm/dist/lib/CodeGen/RegAllocGreedy.cpp vendor/llvm/dist/lib/CodeGen/ScoreboardHazardRecognizer.cpp vendor/llvm/dist/lib/CodeGen/SpillPlacement.cpp vendor/llvm/dist/lib/CodeGen/SpillPlacement.h vendor/llvm/dist/lib/ExecutionEngine/MCJIT/ vendor/llvm/dist/lib/ExecutionEngine/MCJIT/CMakeLists.txt vendor/llvm/dist/lib/ExecutionEngine/MCJIT/MCJIT.cpp vendor/llvm/dist/lib/ExecutionEngine/MCJIT/MCJIT.h vendor/llvm/dist/lib/ExecutionEngine/MCJIT/Makefile vendor/llvm/dist/lib/ExecutionEngine/MCJIT/TargetSelect.cpp vendor/llvm/dist/lib/MC/MCELFObjectTargetWriter.cpp vendor/llvm/dist/lib/MC/MCMachObjectTargetWriter.cpp vendor/llvm/dist/lib/MC/MCParser/COFFAsmParser.cpp vendor/llvm/dist/lib/MC/MCPureStreamer.cpp vendor/llvm/dist/lib/Object/ vendor/llvm/dist/lib/Object/CMakeLists.txt vendor/llvm/dist/lib/Object/COFFObjectFile.cpp vendor/llvm/dist/lib/Object/ELFObjectFile.cpp vendor/llvm/dist/lib/Object/MachOObject.cpp vendor/llvm/dist/lib/Object/Makefile vendor/llvm/dist/lib/Object/ObjectFile.cpp vendor/llvm/dist/lib/Support/Atomic.cpp vendor/llvm/dist/lib/Support/Disassembler.cpp vendor/llvm/dist/lib/Support/DynamicLibrary.cpp vendor/llvm/dist/lib/Support/Errno.cpp vendor/llvm/dist/lib/Support/Host.cpp vendor/llvm/dist/lib/Support/IncludeFile.cpp vendor/llvm/dist/lib/Support/IntEqClasses.cpp vendor/llvm/dist/lib/Support/IntervalMap.cpp vendor/llvm/dist/lib/Support/Memory.cpp vendor/llvm/dist/lib/Support/Mutex.cpp vendor/llvm/dist/lib/Support/Path.cpp vendor/llvm/dist/lib/Support/PathV2.cpp vendor/llvm/dist/lib/Support/Process.cpp vendor/llvm/dist/lib/Support/Program.cpp vendor/llvm/dist/lib/Support/README.txt.system vendor/llvm/dist/lib/Support/RWMutex.cpp vendor/llvm/dist/lib/Support/SearchForAddressOfSpecialSymbol.cpp vendor/llvm/dist/lib/Support/Signals.cpp vendor/llvm/dist/lib/Support/ThreadLocal.cpp vendor/llvm/dist/lib/Support/Threading.cpp vendor/llvm/dist/lib/Support/TimeValue.cpp vendor/llvm/dist/lib/Support/ToolOutputFile.cpp vendor/llvm/dist/lib/Support/Unix/ vendor/llvm/dist/lib/Support/Unix/Host.inc vendor/llvm/dist/lib/Support/Unix/Memory.inc vendor/llvm/dist/lib/Support/Unix/Mutex.inc vendor/llvm/dist/lib/Support/Unix/Path.inc vendor/llvm/dist/lib/Support/Unix/PathV2.inc vendor/llvm/dist/lib/Support/Unix/Process.inc vendor/llvm/dist/lib/Support/Unix/Program.inc vendor/llvm/dist/lib/Support/Unix/README.txt vendor/llvm/dist/lib/Support/Unix/RWMutex.inc vendor/llvm/dist/lib/Support/Unix/Signals.inc vendor/llvm/dist/lib/Support/Unix/ThreadLocal.inc vendor/llvm/dist/lib/Support/Unix/TimeValue.inc vendor/llvm/dist/lib/Support/Unix/Unix.h vendor/llvm/dist/lib/Support/Unix/system_error.inc vendor/llvm/dist/lib/Support/Valgrind.cpp vendor/llvm/dist/lib/Support/Windows/ vendor/llvm/dist/lib/Support/Windows/DynamicLibrary.inc vendor/llvm/dist/lib/Support/Windows/Host.inc vendor/llvm/dist/lib/Support/Windows/Memory.inc vendor/llvm/dist/lib/Support/Windows/Mutex.inc vendor/llvm/dist/lib/Support/Windows/Path.inc vendor/llvm/dist/lib/Support/Windows/PathV2.inc vendor/llvm/dist/lib/Support/Windows/Process.inc vendor/llvm/dist/lib/Support/Windows/Program.inc vendor/llvm/dist/lib/Support/Windows/RWMutex.inc vendor/llvm/dist/lib/Support/Windows/Signals.inc vendor/llvm/dist/lib/Support/Windows/ThreadLocal.inc vendor/llvm/dist/lib/Support/Windows/TimeValue.inc vendor/llvm/dist/lib/Support/Windows/Windows.h vendor/llvm/dist/lib/Support/Windows/explicit_symbols.inc vendor/llvm/dist/lib/Support/Windows/system_error.inc vendor/llvm/dist/lib/Support/system_error.cpp vendor/llvm/dist/lib/Target/ARM/ARMAsmBackend.cpp vendor/llvm/dist/lib/Target/ARM/ARMAsmPrinter.h vendor/llvm/dist/lib/Target/ARM/ARMBaseInfo.h vendor/llvm/dist/lib/Target/ARM/ARMCallingConv.h vendor/llvm/dist/lib/Target/ARM/ARMELFWriterInfo.cpp vendor/llvm/dist/lib/Target/ARM/ARMELFWriterInfo.h vendor/llvm/dist/lib/Target/ARM/ARMFixupKinds.h vendor/llvm/dist/lib/Target/ARM/ARMFrameLowering.cpp vendor/llvm/dist/lib/Target/ARM/ARMFrameLowering.h vendor/llvm/dist/lib/Target/ARM/ARMHazardRecognizer.cpp vendor/llvm/dist/lib/Target/ARM/ARMHazardRecognizer.h vendor/llvm/dist/lib/Target/ARM/ARMMCCodeEmitter.cpp vendor/llvm/dist/lib/Target/ARM/ARMMCExpr.cpp vendor/llvm/dist/lib/Target/ARM/ARMMCExpr.h vendor/llvm/dist/lib/Target/ARM/Disassembler/CMakeLists.txt vendor/llvm/dist/lib/Target/ARM/InstPrinter/ vendor/llvm/dist/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp vendor/llvm/dist/lib/Target/ARM/InstPrinter/ARMInstPrinter.h vendor/llvm/dist/lib/Target/ARM/InstPrinter/CMakeLists.txt vendor/llvm/dist/lib/Target/ARM/InstPrinter/Makefile vendor/llvm/dist/lib/Target/ARM/MLxExpansionPass.cpp vendor/llvm/dist/lib/Target/ARM/Thumb1FrameLowering.cpp vendor/llvm/dist/lib/Target/ARM/Thumb1FrameLowering.h vendor/llvm/dist/lib/Target/Alpha/AlphaAsmPrinter.cpp vendor/llvm/dist/lib/Target/Alpha/AlphaFrameLowering.cpp vendor/llvm/dist/lib/Target/Alpha/AlphaFrameLowering.h vendor/llvm/dist/lib/Target/Blackfin/BlackfinAsmPrinter.cpp vendor/llvm/dist/lib/Target/Blackfin/BlackfinFrameLowering.cpp vendor/llvm/dist/lib/Target/Blackfin/BlackfinFrameLowering.h vendor/llvm/dist/lib/Target/CellSPU/SPUAsmPrinter.cpp vendor/llvm/dist/lib/Target/CellSPU/SPUFrameLowering.cpp vendor/llvm/dist/lib/Target/CellSPU/SPUFrameLowering.h vendor/llvm/dist/lib/Target/CellSPU/SPUNopFiller.cpp vendor/llvm/dist/lib/Target/MBlaze/AsmParser/ vendor/llvm/dist/lib/Target/MBlaze/AsmParser/CMakeLists.txt vendor/llvm/dist/lib/Target/MBlaze/AsmParser/MBlazeAsmLexer.cpp vendor/llvm/dist/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp vendor/llvm/dist/lib/Target/MBlaze/AsmParser/Makefile vendor/llvm/dist/lib/Target/MBlaze/Disassembler/ vendor/llvm/dist/lib/Target/MBlaze/Disassembler/CMakeLists.txt vendor/llvm/dist/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp vendor/llvm/dist/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.h vendor/llvm/dist/lib/Target/MBlaze/Disassembler/Makefile vendor/llvm/dist/lib/Target/MBlaze/InstPrinter/ vendor/llvm/dist/lib/Target/MBlaze/InstPrinter/CMakeLists.txt vendor/llvm/dist/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.cpp vendor/llvm/dist/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.h vendor/llvm/dist/lib/Target/MBlaze/InstPrinter/Makefile vendor/llvm/dist/lib/Target/MBlaze/MBlazeAsmBackend.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeAsmPrinter.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeELFWriterInfo.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeELFWriterInfo.h vendor/llvm/dist/lib/Target/MBlaze/MBlazeFrameLowering.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeFrameLowering.h vendor/llvm/dist/lib/Target/MBlaze/MBlazeMCCodeEmitter.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeMCInstLower.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeMCInstLower.h vendor/llvm/dist/lib/Target/MBlaze/MBlazeRelocations.h vendor/llvm/dist/lib/Target/MBlaze/TODO vendor/llvm/dist/lib/Target/MSP430/InstPrinter/ vendor/llvm/dist/lib/Target/MSP430/InstPrinter/CMakeLists.txt vendor/llvm/dist/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.cpp vendor/llvm/dist/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h vendor/llvm/dist/lib/Target/MSP430/InstPrinter/Makefile vendor/llvm/dist/lib/Target/MSP430/MSP430AsmPrinter.cpp vendor/llvm/dist/lib/Target/MSP430/MSP430FrameLowering.cpp vendor/llvm/dist/lib/Target/MSP430/MSP430FrameLowering.h vendor/llvm/dist/lib/Target/MSP430/MSP430MCInstLower.cpp vendor/llvm/dist/lib/Target/MSP430/MSP430MCInstLower.h vendor/llvm/dist/lib/Target/Mips/MipsAsmPrinter.cpp vendor/llvm/dist/lib/Target/Mips/MipsFrameLowering.cpp vendor/llvm/dist/lib/Target/Mips/MipsFrameLowering.h vendor/llvm/dist/lib/Target/PTX/ vendor/llvm/dist/lib/Target/PTX/CMakeLists.txt vendor/llvm/dist/lib/Target/PTX/Makefile vendor/llvm/dist/lib/Target/PTX/PTX.h vendor/llvm/dist/lib/Target/PTX/PTX.td vendor/llvm/dist/lib/Target/PTX/PTXAsmPrinter.cpp vendor/llvm/dist/lib/Target/PTX/PTXFrameLowering.cpp vendor/llvm/dist/lib/Target/PTX/PTXFrameLowering.h vendor/llvm/dist/lib/Target/PTX/PTXISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/PTX/PTXISelLowering.cpp vendor/llvm/dist/lib/Target/PTX/PTXISelLowering.h vendor/llvm/dist/lib/Target/PTX/PTXInstrFormats.td vendor/llvm/dist/lib/Target/PTX/PTXInstrInfo.cpp vendor/llvm/dist/lib/Target/PTX/PTXInstrInfo.h vendor/llvm/dist/lib/Target/PTX/PTXInstrInfo.td vendor/llvm/dist/lib/Target/PTX/PTXMCAsmInfo.cpp vendor/llvm/dist/lib/Target/PTX/PTXMCAsmInfo.h vendor/llvm/dist/lib/Target/PTX/PTXMCAsmStreamer.cpp vendor/llvm/dist/lib/Target/PTX/PTXMFInfoExtract.cpp vendor/llvm/dist/lib/Target/PTX/PTXMachineFunctionInfo.h vendor/llvm/dist/lib/Target/PTX/PTXRegisterInfo.cpp vendor/llvm/dist/lib/Target/PTX/PTXRegisterInfo.h vendor/llvm/dist/lib/Target/PTX/PTXRegisterInfo.td vendor/llvm/dist/lib/Target/PTX/PTXSubtarget.cpp vendor/llvm/dist/lib/Target/PTX/PTXSubtarget.h vendor/llvm/dist/lib/Target/PTX/PTXTargetMachine.cpp vendor/llvm/dist/lib/Target/PTX/PTXTargetMachine.h vendor/llvm/dist/lib/Target/PTX/TargetInfo/ vendor/llvm/dist/lib/Target/PTX/TargetInfo/CMakeLists.txt vendor/llvm/dist/lib/Target/PTX/TargetInfo/Makefile vendor/llvm/dist/lib/Target/PTX/TargetInfo/PTXTargetInfo.cpp vendor/llvm/dist/lib/Target/PowerPC/InstPrinter/ vendor/llvm/dist/lib/Target/PowerPC/InstPrinter/CMakeLists.txt vendor/llvm/dist/lib/Target/PowerPC/InstPrinter/Makefile vendor/llvm/dist/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp vendor/llvm/dist/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h vendor/llvm/dist/lib/Target/PowerPC/PPCAsmBackend.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCAsmPrinter.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCFixupKinds.h vendor/llvm/dist/lib/Target/PowerPC/PPCFrameLowering.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCFrameLowering.h vendor/llvm/dist/lib/Target/PowerPC/PPCMCCodeEmitter.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCMCInstLower.cpp vendor/llvm/dist/lib/Target/Sparc/SparcAsmPrinter.cpp vendor/llvm/dist/lib/Target/Sparc/SparcFrameLowering.cpp vendor/llvm/dist/lib/Target/Sparc/SparcFrameLowering.h vendor/llvm/dist/lib/Target/SystemZ/SystemZAsmPrinter.cpp vendor/llvm/dist/lib/Target/SystemZ/SystemZFrameLowering.cpp vendor/llvm/dist/lib/Target/SystemZ/SystemZFrameLowering.h vendor/llvm/dist/lib/Target/TargetAsmInfo.cpp vendor/llvm/dist/lib/Target/TargetFrameLowering.cpp vendor/llvm/dist/lib/Target/TargetLibraryInfo.cpp vendor/llvm/dist/lib/Target/X86/InstPrinter/ vendor/llvm/dist/lib/Target/X86/InstPrinter/CMakeLists.txt vendor/llvm/dist/lib/Target/X86/InstPrinter/Makefile vendor/llvm/dist/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp vendor/llvm/dist/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h vendor/llvm/dist/lib/Target/X86/InstPrinter/X86InstComments.cpp vendor/llvm/dist/lib/Target/X86/InstPrinter/X86InstComments.h vendor/llvm/dist/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp vendor/llvm/dist/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h vendor/llvm/dist/lib/Target/X86/Utils/ vendor/llvm/dist/lib/Target/X86/Utils/CMakeLists.txt vendor/llvm/dist/lib/Target/X86/Utils/Makefile vendor/llvm/dist/lib/Target/X86/Utils/X86ShuffleDecode.cpp vendor/llvm/dist/lib/Target/X86/Utils/X86ShuffleDecode.h vendor/llvm/dist/lib/Target/X86/X86FrameLowering.cpp vendor/llvm/dist/lib/Target/X86/X86FrameLowering.h vendor/llvm/dist/lib/Target/X86/X86Instr3DNow.td vendor/llvm/dist/lib/Target/X86/X86InstrArithmetic.td vendor/llvm/dist/lib/Target/X86/X86InstrCMovSetCC.td vendor/llvm/dist/lib/Target/X86/X86InstrCompiler.td vendor/llvm/dist/lib/Target/X86/X86InstrControl.td vendor/llvm/dist/lib/Target/X86/X86InstrExtension.td vendor/llvm/dist/lib/Target/X86/X86InstrShiftRotate.td vendor/llvm/dist/lib/Target/X86/X86InstrSystem.td vendor/llvm/dist/lib/Target/X86/X86InstrVMX.td vendor/llvm/dist/lib/Target/X86/X86MachObjectWriter.cpp vendor/llvm/dist/lib/Target/XCore/XCoreAsmPrinter.cpp vendor/llvm/dist/lib/Target/XCore/XCoreFrameLowering.cpp vendor/llvm/dist/lib/Target/XCore/XCoreFrameLowering.h vendor/llvm/dist/lib/Transforms/CMakeLists.txt vendor/llvm/dist/lib/Transforms/Instrumentation/Instrumentation.cpp vendor/llvm/dist/lib/Transforms/Instrumentation/PathProfiling.cpp vendor/llvm/dist/lib/Transforms/Scalar/EarlyCSE.cpp vendor/llvm/dist/lib/Transforms/Scalar/LoopIdiomRecognize.cpp vendor/llvm/dist/lib/Transforms/Scalar/LoopInstSimplify.cpp vendor/llvm/dist/lib/Transforms/Utils/SimplifyInstructions.cpp vendor/llvm/dist/lib/Transforms/Utils/Utils.cpp vendor/llvm/dist/lib/VMCore/User.cpp vendor/llvm/dist/runtime/libprofile/PathProfiling.c vendor/llvm/dist/test/Analysis/BasicAA/2010-09-15-GEP-SignedArithmetic.ll vendor/llvm/dist/test/Analysis/BasicAA/full-store-partial-alias.ll vendor/llvm/dist/test/Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll vendor/llvm/dist/test/Analysis/ScalarEvolution/fold.ll vendor/llvm/dist/test/Analysis/TypeBasedAliasAnalysis/ vendor/llvm/dist/test/Analysis/TypeBasedAliasAnalysis/aliastest.ll vendor/llvm/dist/test/Analysis/TypeBasedAliasAnalysis/argument-promotion.ll vendor/llvm/dist/test/Analysis/TypeBasedAliasAnalysis/dg.exp vendor/llvm/dist/test/Analysis/TypeBasedAliasAnalysis/dse.ll vendor/llvm/dist/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll vendor/llvm/dist/test/Analysis/TypeBasedAliasAnalysis/gvn-nonlocal-type-mismatch.ll vendor/llvm/dist/test/Analysis/TypeBasedAliasAnalysis/licm.ll vendor/llvm/dist/test/Analysis/TypeBasedAliasAnalysis/memcpyopt.ll vendor/llvm/dist/test/Analysis/TypeBasedAliasAnalysis/precedence.ll vendor/llvm/dist/test/Analysis/TypeBasedAliasAnalysis/sink.ll vendor/llvm/dist/test/Assembler/AutoUpgradeMMXIntrinsics.ll vendor/llvm/dist/test/Assembler/extractvalue-invalid-idx.ll vendor/llvm/dist/test/Assembler/insertvalue-invalid-idx.ll vendor/llvm/dist/test/Assembler/unnamed-addr.ll vendor/llvm/dist/test/Assembler/x86mmx.ll vendor/llvm/dist/test/Bindings/Ocaml/ext_exc.ml vendor/llvm/dist/test/Bitcode/null-type.ll vendor/llvm/dist/test/Bitcode/null-type.ll.bc (contents, props changed) vendor/llvm/dist/test/CodeGen/ARM/2010-09-21-OptCmpBug.ll vendor/llvm/dist/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll vendor/llvm/dist/test/CodeGen/ARM/2010-10-19-mc-elf-objheader.ll vendor/llvm/dist/test/CodeGen/ARM/2010-10-25-ifcvt-ldm.ll vendor/llvm/dist/test/CodeGen/ARM/2010-11-15-SpillEarlyClobber.ll vendor/llvm/dist/test/CodeGen/ARM/2010-11-29-PrologueBug.ll vendor/llvm/dist/test/CodeGen/ARM/2010-11-30-reloc-movt.ll vendor/llvm/dist/test/CodeGen/ARM/2010-12-07-PEIBug.ll vendor/llvm/dist/test/CodeGen/ARM/2010-12-08-tpsoft.ll vendor/llvm/dist/test/CodeGen/ARM/2010-12-13-reloc-pic.ll vendor/llvm/dist/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll vendor/llvm/dist/test/CodeGen/ARM/2010-12-17-LocalStackSlotCrash.ll vendor/llvm/dist/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll vendor/llvm/dist/test/CodeGen/ARM/2011-02-04-AntidepMultidef.ll vendor/llvm/dist/test/CodeGen/ARM/2011-02-07-AntidepClobber.ll vendor/llvm/dist/test/CodeGen/ARM/arm-and-tst-peephole.ll vendor/llvm/dist/test/CodeGen/ARM/atomic-cmp.ll vendor/llvm/dist/test/CodeGen/ARM/bswap-inline-asm.ll vendor/llvm/dist/test/CodeGen/ARM/crash.ll vendor/llvm/dist/test/CodeGen/ARM/fast-isel-crash.ll vendor/llvm/dist/test/CodeGen/ARM/fast-isel-static.ll vendor/llvm/dist/test/CodeGen/ARM/global-merge.ll vendor/llvm/dist/test/CodeGen/ARM/ifcvt10.ll vendor/llvm/dist/test/CodeGen/ARM/ifcvt11.ll vendor/llvm/dist/test/CodeGen/ARM/ldst-f32-2-i32.ll vendor/llvm/dist/test/CodeGen/ARM/load-global.ll vendor/llvm/dist/test/CodeGen/ARM/machine-licm.ll vendor/llvm/dist/test/CodeGen/ARM/mult-alt-generic-arm.ll vendor/llvm/dist/test/CodeGen/ARM/neon_div.ll vendor/llvm/dist/test/CodeGen/ARM/phi.ll vendor/llvm/dist/test/CodeGen/ARM/prefetch.ll vendor/llvm/dist/test/CodeGen/ARM/thumb1-varalloc.ll vendor/llvm/dist/test/CodeGen/ARM/umulo-32.ll vendor/llvm/dist/test/CodeGen/ARM/vector-DAGCombine.ll vendor/llvm/dist/test/CodeGen/ARM/vlddup.ll vendor/llvm/dist/test/CodeGen/CellSPU/div_ops.ll vendor/llvm/dist/test/CodeGen/Generic/2010-11-04-BigByval.ll vendor/llvm/dist/test/CodeGen/Generic/2011-01-06-BigNumberCrash.ll vendor/llvm/dist/test/CodeGen/Generic/2011-02-12-shuffle.ll vendor/llvm/dist/test/CodeGen/Generic/overflow.ll vendor/llvm/dist/test/CodeGen/MBlaze/intr.ll vendor/llvm/dist/test/CodeGen/MBlaze/svol.ll vendor/llvm/dist/test/CodeGen/MSP430/mult-alt-generic-msp430.ll vendor/llvm/dist/test/CodeGen/Mips/2010-11-09-CountLeading.ll vendor/llvm/dist/test/CodeGen/Mips/2010-11-09-Mul.ll vendor/llvm/dist/test/CodeGen/Mips/cmov.ll (contents, props changed) vendor/llvm/dist/test/CodeGen/Mips/madd-msub.ll vendor/llvm/dist/test/CodeGen/Mips/o32_cc.ll vendor/llvm/dist/test/CodeGen/Mips/rotate.ll vendor/llvm/dist/test/CodeGen/PTX/ vendor/llvm/dist/test/CodeGen/PTX/add.ll vendor/llvm/dist/test/CodeGen/PTX/dg.exp vendor/llvm/dist/test/CodeGen/PTX/exit.ll vendor/llvm/dist/test/CodeGen/PTX/ld.ll vendor/llvm/dist/test/CodeGen/PTX/mov.ll vendor/llvm/dist/test/CodeGen/PTX/options.ll vendor/llvm/dist/test/CodeGen/PTX/ret.ll vendor/llvm/dist/test/CodeGen/PTX/shl.ll vendor/llvm/dist/test/CodeGen/PTX/shr.ll vendor/llvm/dist/test/CodeGen/PTX/st.ll vendor/llvm/dist/test/CodeGen/PTX/sub.ll vendor/llvm/dist/test/CodeGen/PowerPC/2010-10-11-Fast-Varargs.ll vendor/llvm/dist/test/CodeGen/PowerPC/2010-12-18-PPCStackRefs.ll vendor/llvm/dist/test/CodeGen/PowerPC/mult-alt-generic-powerpc.ll vendor/llvm/dist/test/CodeGen/PowerPC/mult-alt-generic-powerpc64.ll vendor/llvm/dist/test/CodeGen/PowerPC/varargs.ll vendor/llvm/dist/test/CodeGen/SPARC/2011-01-11-CC.ll (contents, props changed) vendor/llvm/dist/test/CodeGen/SPARC/2011-01-11-Call.ll vendor/llvm/dist/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll vendor/llvm/dist/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll vendor/llvm/dist/test/CodeGen/SPARC/2011-01-21-ByValArgs.ll vendor/llvm/dist/test/CodeGen/SPARC/2011-01-22-SRet.ll vendor/llvm/dist/test/CodeGen/SPARC/mult-alt-generic-sparc.ll vendor/llvm/dist/test/CodeGen/Thumb/2011-EpilogueBug.ll vendor/llvm/dist/test/CodeGen/Thumb2/2009-08-21-PostRAKill4.ll vendor/llvm/dist/test/CodeGen/Thumb2/2009-09-01-PostRAProlog.ll vendor/llvm/dist/test/CodeGen/Thumb2/2010-11-22-EpilogueBug.ll vendor/llvm/dist/test/CodeGen/Thumb2/2010-12-03-AddSPNarrowing.ll vendor/llvm/dist/test/CodeGen/Thumb2/buildvector-crash.ll vendor/llvm/dist/test/CodeGen/X86/2010-09-16-EmptyFilename.ll vendor/llvm/dist/test/CodeGen/X86/2010-09-16-asmcrash.ll vendor/llvm/dist/test/CodeGen/X86/2010-09-17-SideEffectsInChain.ll vendor/llvm/dist/test/CodeGen/X86/2010-09-30-CMOV-JumpTable-PHI.ll vendor/llvm/dist/test/CodeGen/X86/2010-10-08-cmpxchg8b.ll vendor/llvm/dist/test/CodeGen/X86/2010-11-02-DbgParameter.ll vendor/llvm/dist/test/CodeGen/X86/2010-11-09-MOVLPS.ll vendor/llvm/dist/test/CodeGen/X86/2010-11-18-SelectOfExtload.ll vendor/llvm/dist/test/CodeGen/X86/2010-12-02-MC-Set.ll vendor/llvm/dist/test/CodeGen/X86/2011-01-07-LegalizeTypesCrash.ll vendor/llvm/dist/test/CodeGen/X86/2011-01-10-DagCombineHang.ll vendor/llvm/dist/test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll vendor/llvm/dist/test/CodeGen/X86/2011-02-04-FastRegallocNoFP.ll vendor/llvm/dist/test/CodeGen/X86/add-of-carry.ll vendor/llvm/dist/test/CodeGen/X86/alldiv-divdi3.ll vendor/llvm/dist/test/CodeGen/X86/andimm8.ll vendor/llvm/dist/test/CodeGen/X86/apm.ll vendor/llvm/dist/test/CodeGen/X86/bc-extract.ll vendor/llvm/dist/test/CodeGen/X86/bit-test-shift.ll vendor/llvm/dist/test/CodeGen/X86/cmp.ll vendor/llvm/dist/test/CodeGen/X86/complex-asm.ll vendor/llvm/dist/test/CodeGen/X86/conditional-indecrement.ll vendor/llvm/dist/test/CodeGen/X86/critical-edge-split-2.ll vendor/llvm/dist/test/CodeGen/X86/ctpop-combine.ll vendor/llvm/dist/test/CodeGen/X86/dbg-live-in-location.ll vendor/llvm/dist/test/CodeGen/X86/dbg-merge-loc-entry.ll vendor/llvm/dist/test/CodeGen/X86/dbg-value-inlined-parameter.ll vendor/llvm/dist/test/CodeGen/X86/dbg-value-location.ll vendor/llvm/dist/test/CodeGen/X86/dbg-value-range.ll vendor/llvm/dist/test/CodeGen/X86/divide-by-constant.ll vendor/llvm/dist/test/CodeGen/X86/fast-isel-avoid-unnecessary-pic-base.ll vendor/llvm/dist/test/CodeGen/X86/fltused.ll vendor/llvm/dist/test/CodeGen/X86/inline-asm-h.ll vendor/llvm/dist/test/CodeGen/X86/inline-asm-ptr-cast.ll vendor/llvm/dist/test/CodeGen/X86/legalize-sub-zero-2.ll vendor/llvm/dist/test/CodeGen/X86/legalize-sub-zero.ll vendor/llvm/dist/test/CodeGen/X86/misaligned-memset.ll vendor/llvm/dist/test/CodeGen/X86/mmx-builtins.ll vendor/llvm/dist/test/CodeGen/X86/mult-alt-generic-i686.ll vendor/llvm/dist/test/CodeGen/X86/mult-alt-generic-x86_64.ll vendor/llvm/dist/test/CodeGen/X86/mult-alt-x86.ll vendor/llvm/dist/test/CodeGen/X86/narrow-shl-load.ll vendor/llvm/dist/test/CodeGen/X86/non-globl-eh-frame.ll vendor/llvm/dist/test/CodeGen/X86/popcnt.ll vendor/llvm/dist/test/CodeGen/X86/pr9127.ll vendor/llvm/dist/test/CodeGen/X86/sibcall-5.ll vendor/llvm/dist/test/CodeGen/X86/stdcall-notailcall.ll vendor/llvm/dist/test/CodeGen/X86/switch-or.ll vendor/llvm/dist/test/CodeGen/X86/tailcall-ri64.ll vendor/llvm/dist/test/CodeGen/X86/tlv-1.ll vendor/llvm/dist/test/CodeGen/X86/tlv-2.ll vendor/llvm/dist/test/CodeGen/X86/uint64-to-float.ll vendor/llvm/dist/test/CodeGen/X86/umulo-64.ll vendor/llvm/dist/test/CodeGen/X86/vec-sign.ll vendor/llvm/dist/test/CodeGen/X86/visibility.ll vendor/llvm/dist/test/CodeGen/X86/win64_params.ll vendor/llvm/dist/test/CodeGen/X86/win64_vararg.ll vendor/llvm/dist/test/CodeGen/X86/x86-64-extend-shift.ll vendor/llvm/dist/test/CodeGen/X86/x86_64-mul-by-const.ll vendor/llvm/dist/test/CodeGen/X86/zext-extract_subreg.ll vendor/llvm/dist/test/CodeGen/XCore/2011-01-31-DAGCombineBug.ll vendor/llvm/dist/test/CodeGen/XCore/resources.ll vendor/llvm/dist/test/CodeGen/XCore/trampoline.ll vendor/llvm/dist/test/DebugInfo/2010-10-01-crash.ll vendor/llvm/dist/test/FrontendAda/Support/real_cst.ads vendor/llvm/dist/test/FrontendAda/real_cst.adb vendor/llvm/dist/test/FrontendC/2010-11-16-asmblock.c vendor/llvm/dist/test/FrontendC/2010-12-01-CommonGlobal.c vendor/llvm/dist/test/FrontendC/arrayderef.c vendor/llvm/dist/test/LLVMC/C++/just-compile.cpp vendor/llvm/dist/test/LLVMC/C++/unknown_suffix.unk vendor/llvm/dist/test/LLVMC/C/emit-llvm-opt.c vendor/llvm/dist/test/LLVMC/MultipleOutputLanguages.td vendor/llvm/dist/test/Linker/PR8300.ll vendor/llvm/dist/test/Linker/available_externally_a.ll vendor/llvm/dist/test/Linker/available_externally_b.ll vendor/llvm/dist/test/Linker/unnamed-addr1-a.ll vendor/llvm/dist/test/Linker/unnamed-addr1-b.ll vendor/llvm/dist/test/MC/ARM/ vendor/llvm/dist/test/MC/ARM/arm_fixups.s vendor/llvm/dist/test/MC/ARM/arm_instructions.s vendor/llvm/dist/test/MC/ARM/arm_word_directive.s vendor/llvm/dist/test/MC/ARM/dg.exp vendor/llvm/dist/test/MC/ARM/elf-eflags-eabi.s vendor/llvm/dist/test/MC/ARM/elf-movt.s vendor/llvm/dist/test/MC/ARM/elf-reloc-01.ll vendor/llvm/dist/test/MC/ARM/elf-reloc-02.ll vendor/llvm/dist/test/MC/ARM/elf-reloc-03.ll vendor/llvm/dist/test/MC/ARM/hilo-16bit-relocations.s vendor/llvm/dist/test/MC/ARM/neon-abs-encoding.s vendor/llvm/dist/test/MC/ARM/neon-absdiff-encoding.s vendor/llvm/dist/test/MC/ARM/neon-add-encoding.s vendor/llvm/dist/test/MC/ARM/neon-bitcount-encoding.s vendor/llvm/dist/test/MC/ARM/neon-bitwise-encoding.s vendor/llvm/dist/test/MC/ARM/neon-cmp-encoding.s vendor/llvm/dist/test/MC/ARM/neon-convert-encoding.s vendor/llvm/dist/test/MC/ARM/neon-dup-encoding.s vendor/llvm/dist/test/MC/ARM/neon-minmax-encoding.s vendor/llvm/dist/test/MC/ARM/neon-mov-encoding.s vendor/llvm/dist/test/MC/ARM/neon-mul-accum-encoding.s vendor/llvm/dist/test/MC/ARM/neon-mul-encoding.s vendor/llvm/dist/test/MC/ARM/neon-neg-encoding.s vendor/llvm/dist/test/MC/ARM/neon-pairwise-encoding.s vendor/llvm/dist/test/MC/ARM/neon-reciprocal-encoding.s vendor/llvm/dist/test/MC/ARM/neon-reverse-encoding.s vendor/llvm/dist/test/MC/ARM/neon-satshift-encoding.s vendor/llvm/dist/test/MC/ARM/neon-shift-encoding.s vendor/llvm/dist/test/MC/ARM/neon-shiftaccum-encoding.s vendor/llvm/dist/test/MC/ARM/neon-shuffle-encoding.s vendor/llvm/dist/test/MC/ARM/neon-sub-encoding.s vendor/llvm/dist/test/MC/ARM/neon-table-encoding.s vendor/llvm/dist/test/MC/ARM/neon-vld-encoding.s vendor/llvm/dist/test/MC/ARM/neon-vst-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-abs-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-absdiff-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-add-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-bitcount-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-bitwise-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-cmp-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-convert-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-dup-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-minmax-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-mov-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-mul-accum-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-mul-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-neg-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-pairwise-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-reciprocal-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-reverse-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-satshift-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-shift-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-shiftaccum-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-shuffle-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-sub-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-table-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-vld-encoding.s vendor/llvm/dist/test/MC/ARM/neont2-vst-encoding.s vendor/llvm/dist/test/MC/ARM/prefetch.ll vendor/llvm/dist/test/MC/ARM/reg-list.s vendor/llvm/dist/test/MC/ARM/simple-encoding.ll vendor/llvm/dist/test/MC/ARM/simple-fp-encoding.s vendor/llvm/dist/test/MC/ARM/thumb.s vendor/llvm/dist/test/MC/ARM/thumb2.s vendor/llvm/dist/test/MC/ARM/thumb2_instructions.s vendor/llvm/dist/test/MC/AsmParser/dash-n.s vendor/llvm/dist/test/MC/AsmParser/equ.s vendor/llvm/dist/test/MC/AsmParser/expr_symbol_modifiers.s vendor/llvm/dist/test/MC/AsmParser/floating-literals.s vendor/llvm/dist/test/MC/AsmParser/full_line_comment.s vendor/llvm/dist/test/MC/AsmParser/ifdef.s vendor/llvm/dist/test/MC/AsmParser/ifndef.s vendor/llvm/dist/test/MC/AsmParser/paren.s vendor/llvm/dist/test/MC/AsmParser/rename.s vendor/llvm/dist/test/MC/AsmParser/section.s vendor/llvm/dist/test/MC/COFF/align-nops.s vendor/llvm/dist/test/MC/COFF/basic-coff.s vendor/llvm/dist/test/MC/COFF/bss.s vendor/llvm/dist/test/MC/COFF/module-asm.ll vendor/llvm/dist/test/MC/COFF/simple-fixups.s vendor/llvm/dist/test/MC/COFF/symbol-alias.s vendor/llvm/dist/test/MC/COFF/symbol-fragment-offset.s vendor/llvm/dist/test/MC/COFF/weak.s vendor/llvm/dist/test/MC/Disassembler/ARM/ vendor/llvm/dist/test/MC/Disassembler/ARM/arm-tests.txt vendor/llvm/dist/test/MC/Disassembler/ARM/dg.exp vendor/llvm/dist/test/MC/Disassembler/ARM/neon-tests.txt vendor/llvm/dist/test/MC/Disassembler/ARM/thumb-tests.txt vendor/llvm/dist/test/MC/Disassembler/MBlaze/ vendor/llvm/dist/test/MC/Disassembler/MBlaze/dg.exp vendor/llvm/dist/test/MC/Disassembler/MBlaze/mblaze_branch.txt vendor/llvm/dist/test/MC/Disassembler/MBlaze/mblaze_fpu.txt vendor/llvm/dist/test/MC/Disassembler/MBlaze/mblaze_fsl.txt vendor/llvm/dist/test/MC/Disassembler/MBlaze/mblaze_imm.txt vendor/llvm/dist/test/MC/Disassembler/MBlaze/mblaze_memory.txt vendor/llvm/dist/test/MC/Disassembler/MBlaze/mblaze_operands.txt vendor/llvm/dist/test/MC/Disassembler/MBlaze/mblaze_pattern.txt vendor/llvm/dist/test/MC/Disassembler/MBlaze/mblaze_shift.txt vendor/llvm/dist/test/MC/Disassembler/MBlaze/mblaze_special.txt vendor/llvm/dist/test/MC/Disassembler/MBlaze/mblaze_typea.txt vendor/llvm/dist/test/MC/Disassembler/MBlaze/mblaze_typeb.txt vendor/llvm/dist/test/MC/Disassembler/X86/ vendor/llvm/dist/test/MC/Disassembler/X86/dg.exp vendor/llvm/dist/test/MC/Disassembler/X86/simple-tests.txt vendor/llvm/dist/test/MC/Disassembler/X86/truncated-input.txt vendor/llvm/dist/test/MC/ELF/abs.s vendor/llvm/dist/test/MC/ELF/alias-reloc.s vendor/llvm/dist/test/MC/ELF/alias.s vendor/llvm/dist/test/MC/ELF/align-bss.s vendor/llvm/dist/test/MC/ELF/align-nops.s vendor/llvm/dist/test/MC/ELF/align-size.s vendor/llvm/dist/test/MC/ELF/align-text.s vendor/llvm/dist/test/MC/ELF/align.s vendor/llvm/dist/test/MC/ELF/bad-section.s vendor/llvm/dist/test/MC/ELF/basic-elf-32.s vendor/llvm/dist/test/MC/ELF/basic-elf-64.s vendor/llvm/dist/test/MC/ELF/call-abs.s vendor/llvm/dist/test/MC/ELF/cfi-advance-loc2.s vendor/llvm/dist/test/MC/ELF/cfi-def-cfa-offset.s vendor/llvm/dist/test/MC/ELF/cfi-def-cfa-register.s vendor/llvm/dist/test/MC/ELF/cfi-def-cfa.s vendor/llvm/dist/test/MC/ELF/cfi-offset.s vendor/llvm/dist/test/MC/ELF/cfi-remember.s vendor/llvm/dist/test/MC/ELF/cfi-zero-addr-delta.s vendor/llvm/dist/test/MC/ELF/cfi.s vendor/llvm/dist/test/MC/ELF/comdat.s vendor/llvm/dist/test/MC/ELF/common.s vendor/llvm/dist/test/MC/ELF/common2.s vendor/llvm/dist/test/MC/ELF/debug-line.s vendor/llvm/dist/test/MC/ELF/debug-loc.s vendor/llvm/dist/test/MC/ELF/diff.s vendor/llvm/dist/test/MC/ELF/diff2.s vendor/llvm/dist/test/MC/ELF/elf_directive_previous.s vendor/llvm/dist/test/MC/ELF/elf_directive_section.s vendor/llvm/dist/test/MC/ELF/empty-dwarf-lines.s vendor/llvm/dist/test/MC/ELF/empty.s vendor/llvm/dist/test/MC/ELF/entsize.ll vendor/llvm/dist/test/MC/ELF/entsize.s vendor/llvm/dist/test/MC/ELF/file.s vendor/llvm/dist/test/MC/ELF/global-offset.s vendor/llvm/dist/test/MC/ELF/got.s vendor/llvm/dist/test/MC/ELF/ident.s vendor/llvm/dist/test/MC/ELF/invalid-symver.s vendor/llvm/dist/test/MC/ELF/leb128.s vendor/llvm/dist/test/MC/ELF/local-reloc.s vendor/llvm/dist/test/MC/ELF/merge.s vendor/llvm/dist/test/MC/ELF/n_bytes.s vendor/llvm/dist/test/MC/ELF/no-fixup.s vendor/llvm/dist/test/MC/ELF/noexec.s vendor/llvm/dist/test/MC/ELF/norelocation.s vendor/llvm/dist/test/MC/ELF/pic-diff.s vendor/llvm/dist/test/MC/ELF/plt.s vendor/llvm/dist/test/MC/ELF/relax-arith.s vendor/llvm/dist/test/MC/ELF/relax-crash.s vendor/llvm/dist/test/MC/ELF/relax.s vendor/llvm/dist/test/MC/ELF/relocation-386.s vendor/llvm/dist/test/MC/ELF/relocation.s vendor/llvm/dist/test/MC/ELF/rename.s vendor/llvm/dist/test/MC/ELF/section.s vendor/llvm/dist/test/MC/ELF/set.s vendor/llvm/dist/test/MC/ELF/sleb.s vendor/llvm/dist/test/MC/ELF/symref.s vendor/llvm/dist/test/MC/ELF/tls-i386.s vendor/llvm/dist/test/MC/ELF/tls.s vendor/llvm/dist/test/MC/ELF/type.s vendor/llvm/dist/test/MC/ELF/uleb.s vendor/llvm/dist/test/MC/ELF/undef.s vendor/llvm/dist/test/MC/ELF/undef2.s vendor/llvm/dist/test/MC/ELF/weak.s vendor/llvm/dist/test/MC/ELF/weakref-plt.s vendor/llvm/dist/test/MC/ELF/weakref-reloc.s vendor/llvm/dist/test/MC/ELF/weakref.s vendor/llvm/dist/test/MC/ELF/zero.s vendor/llvm/dist/test/MC/MBlaze/ vendor/llvm/dist/test/MC/MBlaze/dg.exp vendor/llvm/dist/test/MC/MBlaze/mblaze_branch.s vendor/llvm/dist/test/MC/MBlaze/mblaze_fpu.s vendor/llvm/dist/test/MC/MBlaze/mblaze_fsl.s vendor/llvm/dist/test/MC/MBlaze/mblaze_imm.s vendor/llvm/dist/test/MC/MBlaze/mblaze_memory.s vendor/llvm/dist/test/MC/MBlaze/mblaze_operands.s vendor/llvm/dist/test/MC/MBlaze/mblaze_pattern.s vendor/llvm/dist/test/MC/MBlaze/mblaze_shift.s vendor/llvm/dist/test/MC/MBlaze/mblaze_special.s vendor/llvm/dist/test/MC/MBlaze/mblaze_typea.s vendor/llvm/dist/test/MC/MBlaze/mblaze_typeb.s vendor/llvm/dist/test/MC/MachO/darwin-ARM-reloc.s vendor/llvm/dist/test/MC/MachO/darwin-Thumb-reloc.s vendor/llvm/dist/test/MC/MachO/darwin-complex-difference.s vendor/llvm/dist/test/MC/MachO/diff-with-two-sections.s vendor/llvm/dist/test/MC/MachO/empty-dwarf-lines.s vendor/llvm/dist/test/MC/MachO/loc.s vendor/llvm/dist/test/MC/MachO/pcrel-to-other-section.s vendor/llvm/dist/test/MC/MachO/symbol-diff.s vendor/llvm/dist/test/MC/MachO/weakdef.s vendor/llvm/dist/test/MC/X86/ vendor/llvm/dist/test/MC/X86/3DNow.s vendor/llvm/dist/test/MC/X86/dg.exp vendor/llvm/dist/test/MC/X86/x86-32-avx.s vendor/llvm/dist/test/MC/X86/x86-32-coverage.s vendor/llvm/dist/test/MC/X86/x86-32-fma3.s vendor/llvm/dist/test/MC/X86/x86-32.s vendor/llvm/dist/test/MC/X86/x86-64.s vendor/llvm/dist/test/MC/X86/x86_64-avx-clmul-encoding.s vendor/llvm/dist/test/MC/X86/x86_64-avx-encoding.s vendor/llvm/dist/test/MC/X86/x86_64-encoding.s vendor/llvm/dist/test/MC/X86/x86_64-fma3-encoding.s vendor/llvm/dist/test/MC/X86/x86_64-imm-widths.s vendor/llvm/dist/test/MC/X86/x86_directives.s vendor/llvm/dist/test/MC/X86/x86_errors.s vendor/llvm/dist/test/MC/X86/x86_operands.s vendor/llvm/dist/test/Object/ vendor/llvm/dist/test/Object/TestObjectFiles/ vendor/llvm/dist/test/Object/TestObjectFiles/trivial-object-test.coff-i386 (contents, props changed) vendor/llvm/dist/test/Object/TestObjectFiles/trivial-object-test.coff-x86-64 (contents, props changed) vendor/llvm/dist/test/Object/TestObjectFiles/trivial-object-test.elf-i386 (contents, props changed) vendor/llvm/dist/test/Object/TestObjectFiles/trivial-object-test.elf-x86-64 (contents, props changed) vendor/llvm/dist/test/Object/TestObjectFiles/trivial-object-test.macho-i386 (contents, props changed) vendor/llvm/dist/test/Object/TestObjectFiles/trivial-object-test.macho-x86-64 (contents, props changed) vendor/llvm/dist/test/Object/dg.exp vendor/llvm/dist/test/Object/nm-trivial-object.test-broken vendor/llvm/dist/test/Object/objdump-trivial-object.test-broken vendor/llvm/dist/test/Other/extract.ll vendor/llvm/dist/test/Scripts/common_dump.py vendor/llvm/dist/test/Scripts/elf-dump (contents, props changed) vendor/llvm/dist/test/Scripts/elf-dump.bat vendor/llvm/dist/test/Scripts/macho-dumpx (contents, props changed) vendor/llvm/dist/test/Scripts/macho-dumpx.bat vendor/llvm/dist/test/TableGen/Dag.td vendor/llvm/dist/test/Transforms/CodeGenPrepare/basic.ll vendor/llvm/dist/test/Transforms/ConstProp/extractvalue.ll vendor/llvm/dist/test/Transforms/ConstProp/insertvalue.ll vendor/llvm/dist/test/Transforms/ConstantMerge/2011-01-15-EitherOrder.ll vendor/llvm/dist/test/Transforms/ConstantMerge/merge-both.ll vendor/llvm/dist/test/Transforms/ConstantMerge/unnamed-addr.ll vendor/llvm/dist/test/Transforms/CorrelatedValuePropagation/2010-09-26-MergeConstantRange.ll vendor/llvm/dist/test/Transforms/CorrelatedValuePropagation/crash.ll vendor/llvm/dist/test/Transforms/CorrelatedValuePropagation/non-null.ll vendor/llvm/dist/test/Transforms/EarlyCSE/ vendor/llvm/dist/test/Transforms/EarlyCSE/basic.ll vendor/llvm/dist/test/Transforms/EarlyCSE/dg.exp vendor/llvm/dist/test/Transforms/FunctionAttrs/2010-10-30-volatile.ll vendor/llvm/dist/test/Transforms/GVN/2010-11-13-Simplify.ll vendor/llvm/dist/test/Transforms/GVN/load-pre-licm.ll vendor/llvm/dist/test/Transforms/GVN/non-local-offset.ll vendor/llvm/dist/test/Transforms/GVN/phi-translate.ll vendor/llvm/dist/test/Transforms/GVN/preserve-tbaa.ll vendor/llvm/dist/test/Transforms/GlobalOpt/2010-10-19-WeakOdr.ll vendor/llvm/dist/test/Transforms/GlobalOpt/ctor-list-opt-constexpr.ll vendor/llvm/dist/test/Transforms/GlobalOpt/unnamed-addr.ll vendor/llvm/dist/test/Transforms/InstCombine/2010-11-01-lshr-mask.ll vendor/llvm/dist/test/Transforms/InstCombine/2010-11-21-SizeZeroTypeGEP.ll vendor/llvm/dist/test/Transforms/InstCombine/2010-11-23-Distributed.ll vendor/llvm/dist/test/Transforms/InstCombine/2011-02-14-InfLoop.ll vendor/llvm/dist/test/Transforms/InstCombine/2011-02-16-InsertelementHang.ll vendor/llvm/dist/test/Transforms/InstCombine/bitcast-store.ll vendor/llvm/dist/test/Transforms/InstCombine/bitcast-vec-uniform.ll vendor/llvm/dist/test/Transforms/InstCombine/exact.ll vendor/llvm/dist/test/Transforms/InstCombine/fold-calls.ll vendor/llvm/dist/test/Transforms/InstCombine/fold-vector-select.ll vendor/llvm/dist/test/Transforms/InstCombine/memset2.ll vendor/llvm/dist/test/Transforms/InstCombine/neon-intrinsics.ll vendor/llvm/dist/test/Transforms/InstCombine/overflow.ll vendor/llvm/dist/test/Transforms/InstCombine/pr8547.ll vendor/llvm/dist/test/Transforms/InstCombine/select-crash.ll vendor/llvm/dist/test/Transforms/InstCombine/vec_sext.ll vendor/llvm/dist/test/Transforms/InstSimplify/ vendor/llvm/dist/test/Transforms/InstSimplify/2010-12-20-Boolean.ll vendor/llvm/dist/test/Transforms/InstSimplify/2010-12-20-Distribute.ll vendor/llvm/dist/test/Transforms/InstSimplify/2011-01-14-Thread.ll vendor/llvm/dist/test/Transforms/InstSimplify/2011-02-01-Vector.ll vendor/llvm/dist/test/Transforms/InstSimplify/compare.ll vendor/llvm/dist/test/Transforms/InstSimplify/dg.exp vendor/llvm/dist/test/Transforms/InstSimplify/exact-nsw-nuw.ll vendor/llvm/dist/test/Transforms/InstSimplify/fdiv.ll vendor/llvm/dist/test/Transforms/InstSimplify/reassociate.ll vendor/llvm/dist/test/Transforms/JumpThreading/degenerate-phi.ll vendor/llvm/dist/test/Transforms/JumpThreading/indirectbr.ll vendor/llvm/dist/test/Transforms/JumpThreading/select.ll vendor/llvm/dist/test/Transforms/LoopIdiom/ vendor/llvm/dist/test/Transforms/LoopIdiom/basic.ll vendor/llvm/dist/test/Transforms/LoopIdiom/dg.exp vendor/llvm/dist/test/Transforms/LoopRotate/basic.ll vendor/llvm/dist/test/Transforms/LoopRotate/crash.ll vendor/llvm/dist/test/Transforms/LoopRotate/dbgvalue.ll vendor/llvm/dist/test/Transforms/LoopSimplify/2010-12-26-PHIInfiniteLoop.ll vendor/llvm/dist/test/Transforms/LoopStrengthReduce/hoist-parent-preheader.ll vendor/llvm/dist/test/Transforms/LoopUnroll/basic.ll vendor/llvm/dist/test/Transforms/LoopUnswitch/2010-11-18-LCSSA.ll vendor/llvm/dist/test/Transforms/MemCpyOpt/loadstore-sret.ll vendor/llvm/dist/test/Transforms/MemCpyOpt/memcpy-to-memset.ll vendor/llvm/dist/test/Transforms/MemCpyOpt/smaller.ll vendor/llvm/dist/test/Transforms/MergeFunc/2011-02-08-RemoveEqual.ll vendor/llvm/dist/test/Transforms/MergeFunc/vector.ll vendor/llvm/dist/test/Transforms/Reassociate/2011-01-26-UseAfterFree.ll vendor/llvm/dist/test/Transforms/Reassociate/optional-flags.ll vendor/llvm/dist/test/Transforms/ScalarRepl/crash.ll vendor/llvm/dist/test/Transforms/ScalarRepl/phi-select.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/2010-10-24-OnlyUnwindInEntry.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/speculate-with-offset.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/switch-to-icmp.ll vendor/llvm/dist/test/Transforms/SimplifyLibCalls/FPuts.ll vendor/llvm/dist/test/Transforms/SimplifyLibCalls/StrPBrk.ll vendor/llvm/dist/test/Transforms/SimplifyLibCalls/StrRChr.ll vendor/llvm/dist/test/Transforms/SimplifyLibCalls/StrSpn.ll vendor/llvm/dist/test/Transforms/TailCallElim/dup_tail.ll vendor/llvm/dist/tools/llvm-objdump/ vendor/llvm/dist/tools/llvm-objdump/CMakeLists.txt vendor/llvm/dist/tools/llvm-objdump/Makefile vendor/llvm/dist/tools/llvm-objdump/llvm-objdump.cpp vendor/llvm/dist/tools/macho-dump/ vendor/llvm/dist/tools/macho-dump/CMakeLists.txt vendor/llvm/dist/tools/macho-dump/Makefile vendor/llvm/dist/tools/macho-dump/macho-dump.cpp vendor/llvm/dist/unittests/ADT/FoldingSet.cpp vendor/llvm/dist/unittests/ADT/IntEqClassesTest.cpp vendor/llvm/dist/unittests/ADT/IntervalMapTest.cpp vendor/llvm/dist/unittests/CMakeLists.txt vendor/llvm/dist/unittests/ExecutionEngine/JIT/JITTests.def vendor/llvm/dist/unittests/Support/EndianTest.cpp vendor/llvm/dist/unittests/Support/Path.cpp vendor/llvm/dist/unittests/Support/SwapByteOrderTest.cpp vendor/llvm/dist/unittests/Support/TimeValue.cpp vendor/llvm/dist/unittests/Transforms/Utils/Local.cpp vendor/llvm/dist/unittests/VMCore/ValueMapTest.cpp vendor/llvm/dist/utils/CollectDebugInfoUsingLLDB.py (contents, props changed) vendor/llvm/dist/utils/CompareDebugInfo.py (contents, props changed) vendor/llvm/dist/utils/GetRepositoryPath (contents, props changed) vendor/llvm/dist/utils/KillTheDoctor/ vendor/llvm/dist/utils/KillTheDoctor/CMakeLists.txt vendor/llvm/dist/utils/KillTheDoctor/KillTheDoctor.cpp vendor/llvm/dist/utils/TableGen/ClangSACheckersEmitter.cpp vendor/llvm/dist/utils/TableGen/ClangSACheckersEmitter.h vendor/llvm/dist/utils/TableGen/FixedLenDecoderEmitter.cpp vendor/llvm/dist/utils/TableGen/FixedLenDecoderEmitter.h vendor/llvm/dist/utils/TableGen/StringMatcher.cpp vendor/llvm/dist/utils/TableGen/StringMatcher.h vendor/llvm/dist/utils/Target/ vendor/llvm/dist/utils/Target/ARM/ vendor/llvm/dist/utils/Target/ARM/analyze-match-table.py vendor/llvm/dist/utils/kate/ vendor/llvm/dist/utils/kate/README vendor/llvm/dist/utils/kate/llvm.xml vendor/llvm/dist/utils/lit/lit/main.py (contents, props changed) vendor/llvm/dist/utils/llvm-lit/CMakeLists.txt vendor/llvm/dist/utils/release/ vendor/llvm/dist/utils/release/test-release.sh (contents, props changed) vendor/llvm/dist/utils/test_debuginfo.pl (contents, props changed) vendor/llvm/dist/utils/unittest/CMakeLists.txt Deleted: vendor/llvm/dist/bindings/ada/ vendor/llvm/dist/include/llvm/Analysis/PointerTracking.h vendor/llvm/dist/include/llvm/CodeGen/PostRAHazardRecognizer.h vendor/llvm/dist/include/llvm/MC/ELFObjectWriter.h vendor/llvm/dist/include/llvm/MC/MachObjectWriter.h vendor/llvm/dist/include/llvm/Support/DynamicLinker.h vendor/llvm/dist/include/llvm/Support/StableBasicBlockNumbering.h vendor/llvm/dist/include/llvm/System/ vendor/llvm/dist/include/llvm/Target/TargetFrameInfo.h vendor/llvm/dist/include/llvm/Transforms/RSProfiling.h vendor/llvm/dist/lib/Analysis/PointerTracking.cpp vendor/llvm/dist/lib/CodeGen/PBQP/ vendor/llvm/dist/lib/CodeGen/PHIElimination.h vendor/llvm/dist/lib/CodeGen/PostRAHazardRecognizer.cpp vendor/llvm/dist/lib/System/ vendor/llvm/dist/lib/Target/ARM/ARMFrameInfo.h vendor/llvm/dist/lib/Target/ARM/ARMMCInstLower.h vendor/llvm/dist/lib/Target/ARM/AsmPrinter/ vendor/llvm/dist/lib/Target/ARM/NEONPreAllocPass.cpp vendor/llvm/dist/lib/Target/ARM/Thumb2HazardRecognizer.cpp vendor/llvm/dist/lib/Target/ARM/Thumb2HazardRecognizer.h vendor/llvm/dist/lib/Target/Alpha/AlphaCodeEmitter.cpp vendor/llvm/dist/lib/Target/Alpha/AlphaJITInfo.cpp vendor/llvm/dist/lib/Target/Alpha/AlphaJITInfo.h vendor/llvm/dist/lib/Target/Alpha/AsmPrinter/ vendor/llvm/dist/lib/Target/Blackfin/AsmPrinter/ vendor/llvm/dist/lib/Target/CellSPU/AsmPrinter/ vendor/llvm/dist/lib/Target/CellSPU/SPUFrameInfo.cpp vendor/llvm/dist/lib/Target/CellSPU/SPUFrameInfo.h vendor/llvm/dist/lib/Target/MBlaze/AsmPrinter/ vendor/llvm/dist/lib/Target/MSP430/AsmPrinter/ vendor/llvm/dist/lib/Target/Mips/AsmPrinter/ vendor/llvm/dist/lib/Target/PIC16/ vendor/llvm/dist/lib/Target/PowerPC/AsmPrinter/ vendor/llvm/dist/lib/Target/PowerPC/PPCFrameInfo.h vendor/llvm/dist/lib/Target/Sparc/AsmPrinter/ vendor/llvm/dist/lib/Target/SystemZ/AsmPrinter/ vendor/llvm/dist/lib/Target/TargetFrameInfo.cpp vendor/llvm/dist/lib/Target/X86/AsmPrinter/ vendor/llvm/dist/lib/Target/X86/X86Instr64bit.td vendor/llvm/dist/lib/Target/X86/X86ShuffleDecode.h vendor/llvm/dist/lib/Target/XCore/AsmPrinter/ vendor/llvm/dist/lib/Target/XCore/XCoreFrameInfo.cpp vendor/llvm/dist/lib/Target/XCore/XCoreFrameInfo.h vendor/llvm/dist/lib/Transforms/IPO/PartialSpecialization.cpp vendor/llvm/dist/lib/Transforms/Scalar/LoopIndexSplit.cpp vendor/llvm/dist/test/Analysis/PointerTracking/ vendor/llvm/dist/test/Archive/GNU.toc vendor/llvm/dist/test/Archive/MacOSX.toc vendor/llvm/dist/test/Archive/SVR4.toc vendor/llvm/dist/test/Archive/xpg4.toc vendor/llvm/dist/test/CodeGen/ARM/2009-08-21-PostRAKill4.ll vendor/llvm/dist/test/CodeGen/ARM/2009-09-01-PostRAProlog.ll vendor/llvm/dist/test/CodeGen/ARM/2010-05-17-DAGCombineAssert.ll vendor/llvm/dist/test/CodeGen/ARM/2010-06-28-DAGCombineUndef.ll vendor/llvm/dist/test/CodeGen/ARM/remat.ll vendor/llvm/dist/test/CodeGen/PIC16/ vendor/llvm/dist/test/CodeGen/PowerPC/tango.net.ftp.FtpClient.ll vendor/llvm/dist/test/CodeGen/SPARC/xnor.ll vendor/llvm/dist/test/CodeGen/Thumb/machine-licm.ll vendor/llvm/dist/test/CodeGen/Thumb2/load-global.ll vendor/llvm/dist/test/CodeGen/Thumb2/machine-licm-vdup.ll vendor/llvm/dist/test/CodeGen/Thumb2/thumb2-badreg-operands.ll vendor/llvm/dist/test/CodeGen/X86/2007-10-16-fp80_select.ll vendor/llvm/dist/test/CodeGen/X86/2008-11-29-DivideConstant16bit.ll vendor/llvm/dist/test/CodeGen/X86/2008-11-29-DivideConstant16bitSigned.ll vendor/llvm/dist/test/CodeGen/X86/cmp-test.ll vendor/llvm/dist/test/CodeGen/X86/cmp0.ll vendor/llvm/dist/test/CodeGen/X86/cmp2.ll vendor/llvm/dist/test/CodeGen/X86/const-select.ll vendor/llvm/dist/test/CodeGen/X86/critical-edge-split.ll vendor/llvm/dist/test/CodeGen/X86/div_const.ll vendor/llvm/dist/test/CodeGen/X86/memmove-0.ll vendor/llvm/dist/test/CodeGen/X86/memmove-1.ll vendor/llvm/dist/test/CodeGen/X86/memmove-2.ll vendor/llvm/dist/test/CodeGen/X86/memmove-3.ll vendor/llvm/dist/test/CodeGen/X86/select-aggregate.ll vendor/llvm/dist/test/CodeGen/X86/select-zero-one.ll vendor/llvm/dist/test/CodeGen/X86/sext-select.ll vendor/llvm/dist/test/CodeGen/X86/split-select.ll vendor/llvm/dist/test/CodeGen/X86/tls-1.ll vendor/llvm/dist/test/CodeGen/X86/vec_select.ll vendor/llvm/dist/test/CodeGen/X86/widen_select-1.ll vendor/llvm/dist/test/FrontendC++/2003-08-20-ExceptionFail.cpp vendor/llvm/dist/test/FrontendC++/2003-08-21-EmptyClass.cpp vendor/llvm/dist/test/FrontendC++/2003-08-24-Cleanup.cpp vendor/llvm/dist/test/FrontendC++/2003-08-27-TypeNamespaces.cpp vendor/llvm/dist/test/FrontendC++/2003-08-28-ForwardType.cpp vendor/llvm/dist/test/FrontendC++/2003-08-28-SaveExprBug.cpp vendor/llvm/dist/test/FrontendC++/2003-08-29-ArgPassingBug.cpp vendor/llvm/dist/test/FrontendC++/2003-08-31-StructLayout.cpp vendor/llvm/dist/test/FrontendC++/2003-09-22-CompositeExprValue.cpp vendor/llvm/dist/test/FrontendC++/2003-09-29-ArgumentNumberMismatch.cpp vendor/llvm/dist/test/FrontendC++/2003-09-30-CommaExprBug.cpp vendor/llvm/dist/test/FrontendC++/2003-09-30-ForIncrementExprBug.cpp vendor/llvm/dist/test/FrontendC++/2003-09-30-ForIncrementExprBug2.cpp vendor/llvm/dist/test/FrontendC++/2003-09-30-NestedFunctionDecl.cpp vendor/llvm/dist/test/FrontendC++/2003-10-17-BoolBitfields.cpp vendor/llvm/dist/test/FrontendC++/2003-10-21-InnerClass.cpp vendor/llvm/dist/test/FrontendC++/2003-10-27-VirtualBaseClassCrash.cpp vendor/llvm/dist/test/FrontendC++/2003-11-04-ArrayConstructors.cpp vendor/llvm/dist/test/FrontendC++/2003-11-04-CatchLabelName.cpp vendor/llvm/dist/test/FrontendC++/2003-11-08-ArrayAddress.cpp vendor/llvm/dist/test/FrontendC++/2003-11-18-EnumArray.cpp vendor/llvm/dist/test/FrontendC++/2006-11-30-NoCompileUnit.cpp vendor/llvm/dist/test/MC/AsmParser/ARM/ vendor/llvm/dist/test/MC/AsmParser/ELF/ vendor/llvm/dist/test/MC/AsmParser/X86/ vendor/llvm/dist/test/MC/COFF/basic-coff.ll vendor/llvm/dist/test/MC/COFF/symbol-fragment-offset.ll vendor/llvm/dist/test/MC/Disassembler/arm-tests.txt vendor/llvm/dist/test/MC/Disassembler/dg.exp vendor/llvm/dist/test/MC/Disassembler/neon-tests.txt vendor/llvm/dist/test/MC/Disassembler/simple-tests.txt vendor/llvm/dist/test/MC/Disassembler/thumb-tests.txt vendor/llvm/dist/test/MC/MachO/Darwin/ vendor/llvm/dist/test/Other/2008-08-14-PassManager.ll vendor/llvm/dist/test/Scripts/macho-dump vendor/llvm/dist/test/Scripts/macho-dump.bat vendor/llvm/dist/test/TableGen/DagDefSubst.td vendor/llvm/dist/test/TableGen/DagIntSubst.td vendor/llvm/dist/test/TableGen/nameconcat.td vendor/llvm/dist/test/Transforms/ConstProp/bitcast2.ll vendor/llvm/dist/test/Transforms/ConstProp/nottest.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/2004-12-28-PartialStore.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/2005-11-30-vaarg.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/2006-06-27-AST-Remove.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/2008-07-28-load-store.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/2008-11-28-MemDepUpdate.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/2008-11-29-OffEndOfBlock.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/2009-11-10-Trampoline.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/alloca.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/byval.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/context-sensitive.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/memcpy.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/partial-overwrite.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/volatile-load.ll vendor/llvm/dist/test/Transforms/IndVarSimplify/loop-invariant-step.ll vendor/llvm/dist/test/Transforms/Inline/byval2.ll vendor/llvm/dist/test/Transforms/InstCombine/div-cmp-overflow.ll vendor/llvm/dist/test/Transforms/InstCombine/exact-sdiv.ll vendor/llvm/dist/test/Transforms/InstCombine/vec_demanded_elts-2.ll vendor/llvm/dist/test/Transforms/InstCombine/vec_demanded_elts-3.ll vendor/llvm/dist/test/Transforms/LICM/2009-03-25-AliasSetTracker.ll vendor/llvm/dist/test/Transforms/LoopIndexSplit/ vendor/llvm/dist/test/Transforms/LoopRotate/LRCrash-1.ll vendor/llvm/dist/test/Transforms/LoopRotate/LRCrash-2.ll vendor/llvm/dist/test/Transforms/LoopRotate/LRCrash-3.ll vendor/llvm/dist/test/Transforms/LoopRotate/LRCrash-4.ll vendor/llvm/dist/test/Transforms/LoopRotate/LRCrash-5.ll vendor/llvm/dist/test/Transforms/MemCpyOpt/2008-04-29-SRetRemoval.ll vendor/llvm/dist/test/Transforms/MemCpyOpt/form-memset2.ll vendor/llvm/dist/test/Transforms/PartialSpecialize/ vendor/llvm/dist/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll vendor/llvm/dist/test/Transforms/ScalarRepl/2003-05-30-MultiLevel.ll vendor/llvm/dist/test/Transforms/ScalarRepl/2005-12-14-UnionPromoteCrash.ll vendor/llvm/dist/test/Transforms/ScalarRepl/2006-01-24-IllegalUnionPromoteCrash.ll vendor/llvm/dist/test/Transforms/ScalarRepl/2006-04-20-PromoteCrash.ll vendor/llvm/dist/test/Transforms/ScalarRepl/2006-10-23-PointerUnionCrash.ll vendor/llvm/dist/test/Transforms/ScalarRepl/2006-12-11-SROA-Crash.ll vendor/llvm/dist/test/Transforms/ScalarRepl/2007-03-19-CanonicalizeMemcpy.ll vendor/llvm/dist/test/Transforms/ScalarRepl/2009-01-09-scalarrepl-empty.ll vendor/llvm/dist/test/Transforms/ScalarRepl/2009-04-21-ZeroLengthMemSet.ll vendor/llvm/dist/test/Transforms/ScalarRepl/2009-05-08-I1Crash.ll vendor/llvm/dist/test/Transforms/ScalarRepl/2009-06-01-BitcastIntPadding.ll vendor/llvm/dist/test/Transforms/ScalarRepl/2009-08-16-VLA.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/switch_formation.ll vendor/llvm/dist/tools/llvmc/example/ vendor/llvm/dist/tools/llvmc/plugins/ vendor/llvm/dist/unittests/ADT/ValueMapTest.cpp vendor/llvm/dist/unittests/Support/System.cpp vendor/llvm/dist/utils/OldenDataRecover.pl vendor/llvm/dist/utils/lit/ExampleTests/ vendor/llvm/dist/utils/lit/lit/lit.py vendor/llvm/dist/utils/unittest/googletest/src/ Modified: vendor/llvm/dist/CMakeLists.txt vendor/llvm/dist/CREDITS.TXT vendor/llvm/dist/Makefile vendor/llvm/dist/Makefile.config.in vendor/llvm/dist/Makefile.rules vendor/llvm/dist/ModuleInfo.txt vendor/llvm/dist/README.txt vendor/llvm/dist/autoconf/configure.ac vendor/llvm/dist/bindings/ocaml/Makefile.ocaml vendor/llvm/dist/bindings/ocaml/bitreader/llvm_bitreader.mli vendor/llvm/dist/bindings/ocaml/executionengine/llvm_executionengine.mli vendor/llvm/dist/bindings/ocaml/llvm/llvm.mli vendor/llvm/dist/bindings/ocaml/llvm/llvm_ocaml.c vendor/llvm/dist/bindings/ocaml/transforms/scalar/llvm_scalar_opts.ml vendor/llvm/dist/bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli vendor/llvm/dist/bindings/ocaml/transforms/scalar/scalar_opts_ocaml.c vendor/llvm/dist/cmake/config-ix.cmake vendor/llvm/dist/cmake/modules/AddLLVM.cmake vendor/llvm/dist/cmake/modules/AddLLVMDefinitions.cmake vendor/llvm/dist/cmake/modules/CMakeLists.txt vendor/llvm/dist/cmake/modules/CrossCompileLLVM.cmake vendor/llvm/dist/cmake/modules/GetTargetTriple.cmake vendor/llvm/dist/cmake/modules/LLVM.cmake vendor/llvm/dist/cmake/modules/LLVMConfig.cmake vendor/llvm/dist/cmake/modules/LLVMLibDeps.cmake vendor/llvm/dist/cmake/modules/LLVMProcessSources.cmake vendor/llvm/dist/cmake/modules/TableGen.cmake vendor/llvm/dist/cmake/modules/VersionFromVCS.cmake vendor/llvm/dist/configure vendor/llvm/dist/docs/AliasAnalysis.html vendor/llvm/dist/docs/BitCodeFormat.html vendor/llvm/dist/docs/CMake.html vendor/llvm/dist/docs/CodeGenerator.html vendor/llvm/dist/docs/CodingStandards.html vendor/llvm/dist/docs/CommandGuide/FileCheck.pod vendor/llvm/dist/docs/CommandGuide/index.html vendor/llvm/dist/docs/CommandGuide/llc.pod vendor/llvm/dist/docs/CommandGuide/lli.pod vendor/llvm/dist/docs/DeveloperPolicy.html vendor/llvm/dist/docs/ExceptionHandling.html vendor/llvm/dist/docs/GetElementPtr.html vendor/llvm/dist/docs/GettingStarted.html vendor/llvm/dist/docs/GettingStartedVS.html vendor/llvm/dist/docs/GoldPlugin.html vendor/llvm/dist/docs/LangRef.html vendor/llvm/dist/docs/LinkTimeOptimization.html vendor/llvm/dist/docs/Makefile vendor/llvm/dist/docs/MakefileGuide.html vendor/llvm/dist/docs/Passes.html vendor/llvm/dist/docs/ProgrammersManual.html vendor/llvm/dist/docs/ReleaseNotes.html vendor/llvm/dist/docs/SourceLevelDebugging.html vendor/llvm/dist/docs/TableGenFundamentals.html vendor/llvm/dist/docs/TestingGuide.html vendor/llvm/dist/docs/UsingLibraries.html vendor/llvm/dist/docs/WritingAnLLVMBackend.html vendor/llvm/dist/docs/WritingAnLLVMPass.html vendor/llvm/dist/docs/tutorial/LangImpl3.html vendor/llvm/dist/docs/tutorial/LangImpl4.html vendor/llvm/dist/docs/tutorial/LangImpl5.html vendor/llvm/dist/docs/tutorial/LangImpl6.html vendor/llvm/dist/docs/tutorial/LangImpl7.html vendor/llvm/dist/docs/tutorial/OCamlLangImpl7.html vendor/llvm/dist/docs/tutorial/index.html vendor/llvm/dist/examples/CMakeLists.txt vendor/llvm/dist/examples/ExceptionDemo/CMakeLists.txt vendor/llvm/dist/examples/ExceptionDemo/ExceptionDemo.cpp vendor/llvm/dist/examples/Kaleidoscope/Chapter4/toy.cpp vendor/llvm/dist/examples/Kaleidoscope/Chapter5/toy.cpp vendor/llvm/dist/examples/Kaleidoscope/Chapter6/toy.cpp vendor/llvm/dist/examples/Kaleidoscope/Chapter7/CMakeLists.txt vendor/llvm/dist/examples/Kaleidoscope/Chapter7/toy.cpp vendor/llvm/dist/examples/Makefile vendor/llvm/dist/examples/ModuleMaker/README.txt vendor/llvm/dist/examples/OCaml-Kaleidoscope/Chapter6/Makefile vendor/llvm/dist/examples/OCaml-Kaleidoscope/Chapter7/Makefile vendor/llvm/dist/include/llvm-c/Core.h vendor/llvm/dist/include/llvm-c/EnhancedDisassembly.h vendor/llvm/dist/include/llvm-c/LinkTimeOptimizer.h vendor/llvm/dist/include/llvm-c/Transforms/Scalar.h vendor/llvm/dist/include/llvm-c/lto.h vendor/llvm/dist/include/llvm/ADT/APFloat.h vendor/llvm/dist/include/llvm/ADT/APInt.h vendor/llvm/dist/include/llvm/ADT/APSInt.h vendor/llvm/dist/include/llvm/ADT/BitVector.h vendor/llvm/dist/include/llvm/ADT/DenseMap.h vendor/llvm/dist/include/llvm/ADT/DenseMapInfo.h vendor/llvm/dist/include/llvm/ADT/DenseSet.h vendor/llvm/dist/include/llvm/ADT/EquivalenceClasses.h vendor/llvm/dist/include/llvm/ADT/FoldingSet.h vendor/llvm/dist/include/llvm/ADT/ImmutableIntervalMap.h vendor/llvm/dist/include/llvm/ADT/ImmutableList.h vendor/llvm/dist/include/llvm/ADT/ImmutableMap.h vendor/llvm/dist/include/llvm/ADT/ImmutableSet.h vendor/llvm/dist/include/llvm/ADT/IndexedMap.h vendor/llvm/dist/include/llvm/ADT/Optional.h vendor/llvm/dist/include/llvm/ADT/PointerIntPair.h vendor/llvm/dist/include/llvm/ADT/PointerUnion.h vendor/llvm/dist/include/llvm/ADT/PostOrderIterator.h vendor/llvm/dist/include/llvm/ADT/SCCIterator.h vendor/llvm/dist/include/llvm/ADT/ScopedHashTable.h vendor/llvm/dist/include/llvm/ADT/SetVector.h vendor/llvm/dist/include/llvm/ADT/SmallBitVector.h vendor/llvm/dist/include/llvm/ADT/SmallPtrSet.h vendor/llvm/dist/include/llvm/ADT/SmallString.h vendor/llvm/dist/include/llvm/ADT/SmallVector.h vendor/llvm/dist/include/llvm/ADT/SparseBitVector.h vendor/llvm/dist/include/llvm/ADT/Statistic.h vendor/llvm/dist/include/llvm/ADT/StringExtras.h vendor/llvm/dist/include/llvm/ADT/StringMap.h vendor/llvm/dist/include/llvm/ADT/StringRef.h vendor/llvm/dist/include/llvm/ADT/Triple.h vendor/llvm/dist/include/llvm/ADT/Twine.h vendor/llvm/dist/include/llvm/ADT/ValueMap.h vendor/llvm/dist/include/llvm/ADT/ilist.h vendor/llvm/dist/include/llvm/Analysis/AliasAnalysis.h vendor/llvm/dist/include/llvm/Analysis/AliasSetTracker.h vendor/llvm/dist/include/llvm/Analysis/CallGraph.h vendor/llvm/dist/include/llvm/Analysis/CodeMetrics.h vendor/llvm/dist/include/llvm/Analysis/ConstantFolding.h vendor/llvm/dist/include/llvm/Analysis/DOTGraphTraitsPass.h vendor/llvm/dist/include/llvm/Analysis/DebugInfo.h vendor/llvm/dist/include/llvm/Analysis/DominatorInternals.h vendor/llvm/dist/include/llvm/Analysis/Dominators.h vendor/llvm/dist/include/llvm/Analysis/FindUsedTypes.h vendor/llvm/dist/include/llvm/Analysis/InlineCost.h vendor/llvm/dist/include/llvm/Analysis/InstructionSimplify.h vendor/llvm/dist/include/llvm/Analysis/IntervalPartition.h vendor/llvm/dist/include/llvm/Analysis/LazyValueInfo.h vendor/llvm/dist/include/llvm/Analysis/LibCallAliasAnalysis.h vendor/llvm/dist/include/llvm/Analysis/LibCallSemantics.h vendor/llvm/dist/include/llvm/Analysis/LoopDependenceAnalysis.h vendor/llvm/dist/include/llvm/Analysis/LoopInfo.h vendor/llvm/dist/include/llvm/Analysis/MemoryBuiltins.h vendor/llvm/dist/include/llvm/Analysis/MemoryDependenceAnalysis.h vendor/llvm/dist/include/llvm/Analysis/Passes.h vendor/llvm/dist/include/llvm/Analysis/PostDominators.h vendor/llvm/dist/include/llvm/Analysis/ProfileInfoTypes.h vendor/llvm/dist/include/llvm/Analysis/RegionInfo.h vendor/llvm/dist/include/llvm/Analysis/ScalarEvolution.h vendor/llvm/dist/include/llvm/Analysis/ScalarEvolutionExpander.h vendor/llvm/dist/include/llvm/Analysis/ScalarEvolutionExpressions.h vendor/llvm/dist/include/llvm/Analysis/ValueTracking.h vendor/llvm/dist/include/llvm/Attributes.h vendor/llvm/dist/include/llvm/BasicBlock.h vendor/llvm/dist/include/llvm/Bitcode/Archive.h vendor/llvm/dist/include/llvm/Bitcode/BitCodes.h vendor/llvm/dist/include/llvm/Bitcode/LLVMBitCodes.h vendor/llvm/dist/include/llvm/Bitcode/ReaderWriter.h vendor/llvm/dist/include/llvm/CallingConv.h vendor/llvm/dist/include/llvm/CodeGen/Analysis.h vendor/llvm/dist/include/llvm/CodeGen/AsmPrinter.h vendor/llvm/dist/include/llvm/CodeGen/BinaryObject.h vendor/llvm/dist/include/llvm/CodeGen/CalcSpillWeights.h vendor/llvm/dist/include/llvm/CodeGen/CallingConvLower.h vendor/llvm/dist/include/llvm/CodeGen/FastISel.h vendor/llvm/dist/include/llvm/CodeGen/FunctionLoweringInfo.h vendor/llvm/dist/include/llvm/CodeGen/GCMetadata.h vendor/llvm/dist/include/llvm/CodeGen/ISDOpcodes.h vendor/llvm/dist/include/llvm/CodeGen/IntrinsicLowering.h vendor/llvm/dist/include/llvm/CodeGen/JITCodeEmitter.h vendor/llvm/dist/include/llvm/CodeGen/LatencyPriorityQueue.h vendor/llvm/dist/include/llvm/CodeGen/LinkAllCodegenComponents.h vendor/llvm/dist/include/llvm/CodeGen/LiveInterval.h vendor/llvm/dist/include/llvm/CodeGen/LiveIntervalAnalysis.h vendor/llvm/dist/include/llvm/CodeGen/LiveStackAnalysis.h vendor/llvm/dist/include/llvm/CodeGen/LiveVariables.h vendor/llvm/dist/include/llvm/CodeGen/MachORelocation.h vendor/llvm/dist/include/llvm/CodeGen/MachineBasicBlock.h vendor/llvm/dist/include/llvm/CodeGen/MachineCodeEmitter.h vendor/llvm/dist/include/llvm/CodeGen/MachineCodeInfo.h vendor/llvm/dist/include/llvm/CodeGen/MachineDominators.h vendor/llvm/dist/include/llvm/CodeGen/MachineFrameInfo.h vendor/llvm/dist/include/llvm/CodeGen/MachineFunction.h vendor/llvm/dist/include/llvm/CodeGen/MachineFunctionAnalysis.h vendor/llvm/dist/include/llvm/CodeGen/MachineInstr.h vendor/llvm/dist/include/llvm/CodeGen/MachineInstrBuilder.h vendor/llvm/dist/include/llvm/CodeGen/MachineLocation.h vendor/llvm/dist/include/llvm/CodeGen/MachineLoopInfo.h vendor/llvm/dist/include/llvm/CodeGen/MachineMemOperand.h vendor/llvm/dist/include/llvm/CodeGen/MachineModuleInfo.h vendor/llvm/dist/include/llvm/CodeGen/MachineOperand.h vendor/llvm/dist/include/llvm/CodeGen/MachineRegisterInfo.h vendor/llvm/dist/include/llvm/CodeGen/MachineRelocation.h vendor/llvm/dist/include/llvm/CodeGen/Passes.h vendor/llvm/dist/include/llvm/CodeGen/ProcessImplicitDefs.h vendor/llvm/dist/include/llvm/CodeGen/RegisterCoalescer.h vendor/llvm/dist/include/llvm/CodeGen/ScheduleDAG.h vendor/llvm/dist/include/llvm/CodeGen/ScheduleHazardRecognizer.h vendor/llvm/dist/include/llvm/CodeGen/SelectionDAG.h vendor/llvm/dist/include/llvm/CodeGen/SelectionDAGISel.h vendor/llvm/dist/include/llvm/CodeGen/SelectionDAGNodes.h vendor/llvm/dist/include/llvm/CodeGen/SlotIndexes.h vendor/llvm/dist/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h vendor/llvm/dist/include/llvm/CodeGen/ValueTypes.h vendor/llvm/dist/include/llvm/CodeGen/ValueTypes.td vendor/llvm/dist/include/llvm/CompilerDriver/CompilationGraph.h vendor/llvm/dist/include/llvm/CompilerDriver/Tool.h vendor/llvm/dist/include/llvm/Config/config.h.cmake vendor/llvm/dist/include/llvm/Config/config.h.in vendor/llvm/dist/include/llvm/Config/llvm-config.h.cmake vendor/llvm/dist/include/llvm/Constant.h vendor/llvm/dist/include/llvm/Constants.h vendor/llvm/dist/include/llvm/DerivedTypes.h vendor/llvm/dist/include/llvm/ExecutionEngine/ExecutionEngine.h vendor/llvm/dist/include/llvm/ExecutionEngine/GenericValue.h vendor/llvm/dist/include/llvm/ExecutionEngine/JITEventListener.h vendor/llvm/dist/include/llvm/ExecutionEngine/JITMemoryManager.h vendor/llvm/dist/include/llvm/Function.h vendor/llvm/dist/include/llvm/GlobalAlias.h vendor/llvm/dist/include/llvm/GlobalValue.h vendor/llvm/dist/include/llvm/GlobalVariable.h vendor/llvm/dist/include/llvm/InlineAsm.h vendor/llvm/dist/include/llvm/InstrTypes.h vendor/llvm/dist/include/llvm/Instruction.h vendor/llvm/dist/include/llvm/Instructions.h vendor/llvm/dist/include/llvm/IntrinsicInst.h vendor/llvm/dist/include/llvm/Intrinsics.td vendor/llvm/dist/include/llvm/IntrinsicsARM.td vendor/llvm/dist/include/llvm/IntrinsicsX86.td vendor/llvm/dist/include/llvm/IntrinsicsXCore.td vendor/llvm/dist/include/llvm/LLVMContext.h vendor/llvm/dist/include/llvm/LinkAllPasses.h vendor/llvm/dist/include/llvm/LinkAllVMCore.h vendor/llvm/dist/include/llvm/MC/EDInstInfo.h vendor/llvm/dist/include/llvm/MC/MCAsmInfo.h vendor/llvm/dist/include/llvm/MC/MCAsmLayout.h vendor/llvm/dist/include/llvm/MC/MCAssembler.h vendor/llvm/dist/include/llvm/MC/MCCodeEmitter.h vendor/llvm/dist/include/llvm/MC/MCContext.h vendor/llvm/dist/include/llvm/MC/MCDirectives.h vendor/llvm/dist/include/llvm/MC/MCDisassembler.h vendor/llvm/dist/include/llvm/MC/MCDwarf.h vendor/llvm/dist/include/llvm/MC/MCELFSymbolFlags.h vendor/llvm/dist/include/llvm/MC/MCExpr.h vendor/llvm/dist/include/llvm/MC/MCFixup.h vendor/llvm/dist/include/llvm/MC/MCInst.h vendor/llvm/dist/include/llvm/MC/MCInstPrinter.h vendor/llvm/dist/include/llvm/MC/MCMachOSymbolFlags.h vendor/llvm/dist/include/llvm/MC/MCObjectStreamer.h vendor/llvm/dist/include/llvm/MC/MCObjectWriter.h vendor/llvm/dist/include/llvm/MC/MCParser/AsmLexer.h vendor/llvm/dist/include/llvm/MC/MCParser/MCAsmLexer.h vendor/llvm/dist/include/llvm/MC/MCParser/MCAsmParser.h vendor/llvm/dist/include/llvm/MC/MCParser/MCParsedAsmOperand.h vendor/llvm/dist/include/llvm/MC/MCSection.h vendor/llvm/dist/include/llvm/MC/MCSectionCOFF.h vendor/llvm/dist/include/llvm/MC/MCSectionELF.h vendor/llvm/dist/include/llvm/MC/MCSectionMachO.h vendor/llvm/dist/include/llvm/MC/MCStreamer.h vendor/llvm/dist/include/llvm/MC/MCSymbol.h vendor/llvm/dist/include/llvm/MC/MCValue.h vendor/llvm/dist/include/llvm/Metadata.h vendor/llvm/dist/include/llvm/Module.h vendor/llvm/dist/include/llvm/OperandTraits.h vendor/llvm/dist/include/llvm/Operator.h vendor/llvm/dist/include/llvm/Pass.h vendor/llvm/dist/include/llvm/PassManagers.h vendor/llvm/dist/include/llvm/PassRegistry.h vendor/llvm/dist/include/llvm/PassSupport.h vendor/llvm/dist/include/llvm/Support/AlignOf.h vendor/llvm/dist/include/llvm/Support/Allocator.h vendor/llvm/dist/include/llvm/Support/COFF.h vendor/llvm/dist/include/llvm/Support/CallSite.h vendor/llvm/dist/include/llvm/Support/Casting.h vendor/llvm/dist/include/llvm/Support/Compiler.h vendor/llvm/dist/include/llvm/Support/ConstantFolder.h vendor/llvm/dist/include/llvm/Support/ConstantRange.h vendor/llvm/dist/include/llvm/Support/CrashRecoveryContext.h vendor/llvm/dist/include/llvm/Support/Dwarf.h vendor/llvm/dist/include/llvm/Support/ELF.h vendor/llvm/dist/include/llvm/Support/ErrorHandling.h vendor/llvm/dist/include/llvm/Support/FileUtilities.h vendor/llvm/dist/include/llvm/Support/GraphWriter.h vendor/llvm/dist/include/llvm/Support/IRBuilder.h vendor/llvm/dist/include/llvm/Support/IRReader.h vendor/llvm/dist/include/llvm/Support/MachO.h vendor/llvm/dist/include/llvm/Support/ManagedStatic.h vendor/llvm/dist/include/llvm/Support/MathExtras.h vendor/llvm/dist/include/llvm/Support/MemoryBuffer.h vendor/llvm/dist/include/llvm/Support/MemoryObject.h vendor/llvm/dist/include/llvm/Support/MutexGuard.h vendor/llvm/dist/include/llvm/Support/NoFolder.h vendor/llvm/dist/include/llvm/Support/PatternMatch.h vendor/llvm/dist/include/llvm/Support/PointerLikeTypeTraits.h vendor/llvm/dist/include/llvm/Support/SourceMgr.h vendor/llvm/dist/include/llvm/Support/StandardPasses.h vendor/llvm/dist/include/llvm/Support/SystemUtils.h vendor/llvm/dist/include/llvm/Support/TargetFolder.h vendor/llvm/dist/include/llvm/Support/Timer.h vendor/llvm/dist/include/llvm/Support/TypeBuilder.h vendor/llvm/dist/include/llvm/Support/raw_ostream.h vendor/llvm/dist/include/llvm/Target/Mangler.h vendor/llvm/dist/include/llvm/Target/SubtargetFeature.h vendor/llvm/dist/include/llvm/Target/Target.td vendor/llvm/dist/include/llvm/Target/TargetAsmBackend.h vendor/llvm/dist/include/llvm/Target/TargetAsmParser.h vendor/llvm/dist/include/llvm/Target/TargetCallingConv.h vendor/llvm/dist/include/llvm/Target/TargetData.h vendor/llvm/dist/include/llvm/Target/TargetELFWriterInfo.h vendor/llvm/dist/include/llvm/Target/TargetInstrDesc.h vendor/llvm/dist/include/llvm/Target/TargetInstrInfo.h vendor/llvm/dist/include/llvm/Target/TargetInstrItineraries.h vendor/llvm/dist/include/llvm/Target/TargetJITInfo.h vendor/llvm/dist/include/llvm/Target/TargetLowering.h vendor/llvm/dist/include/llvm/Target/TargetLoweringObjectFile.h vendor/llvm/dist/include/llvm/Target/TargetMachine.h vendor/llvm/dist/include/llvm/Target/TargetRegisterInfo.h vendor/llvm/dist/include/llvm/Target/TargetRegistry.h vendor/llvm/dist/include/llvm/Target/TargetSchedule.td vendor/llvm/dist/include/llvm/Target/TargetSelectionDAG.td vendor/llvm/dist/include/llvm/Target/TargetSelectionDAGInfo.h vendor/llvm/dist/include/llvm/Transforms/IPO.h vendor/llvm/dist/include/llvm/Transforms/Instrumentation.h vendor/llvm/dist/include/llvm/Transforms/Scalar.h vendor/llvm/dist/include/llvm/Transforms/Utils/AddrModeMatcher.h vendor/llvm/dist/include/llvm/Transforms/Utils/BasicBlockUtils.h vendor/llvm/dist/include/llvm/Transforms/Utils/BuildLibCalls.h vendor/llvm/dist/include/llvm/Transforms/Utils/Cloning.h vendor/llvm/dist/include/llvm/Transforms/Utils/Local.h vendor/llvm/dist/include/llvm/Transforms/Utils/PromoteMemToReg.h vendor/llvm/dist/include/llvm/Transforms/Utils/SSAUpdater.h vendor/llvm/dist/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h vendor/llvm/dist/include/llvm/Transforms/Utils/ValueMapper.h vendor/llvm/dist/include/llvm/Type.h vendor/llvm/dist/include/llvm/TypeSymbolTable.h vendor/llvm/dist/include/llvm/Use.h vendor/llvm/dist/include/llvm/User.h vendor/llvm/dist/include/llvm/Value.h vendor/llvm/dist/include/llvm/ValueSymbolTable.h vendor/llvm/dist/lib/Analysis/AliasAnalysis.cpp vendor/llvm/dist/lib/Analysis/AliasAnalysisCounter.cpp vendor/llvm/dist/lib/Analysis/AliasAnalysisEvaluator.cpp vendor/llvm/dist/lib/Analysis/AliasDebugger.cpp vendor/llvm/dist/lib/Analysis/AliasSetTracker.cpp vendor/llvm/dist/lib/Analysis/Analysis.cpp vendor/llvm/dist/lib/Analysis/BasicAliasAnalysis.cpp vendor/llvm/dist/lib/Analysis/CFGPrinter.cpp vendor/llvm/dist/lib/Analysis/CMakeLists.txt vendor/llvm/dist/lib/Analysis/CaptureTracking.cpp vendor/llvm/dist/lib/Analysis/ConstantFolding.cpp vendor/llvm/dist/lib/Analysis/DbgInfoPrinter.cpp vendor/llvm/dist/lib/Analysis/DebugInfo.cpp vendor/llvm/dist/lib/Analysis/DomPrinter.cpp vendor/llvm/dist/lib/Analysis/IPA/CMakeLists.txt vendor/llvm/dist/lib/Analysis/IPA/CallGraph.cpp vendor/llvm/dist/lib/Analysis/IPA/CallGraphSCCPass.cpp vendor/llvm/dist/lib/Analysis/IPA/FindUsedTypes.cpp vendor/llvm/dist/lib/Analysis/IPA/GlobalsModRef.cpp vendor/llvm/dist/lib/Analysis/IVUsers.cpp vendor/llvm/dist/lib/Analysis/InlineCost.cpp vendor/llvm/dist/lib/Analysis/InstCount.cpp vendor/llvm/dist/lib/Analysis/InstructionSimplify.cpp vendor/llvm/dist/lib/Analysis/IntervalPartition.cpp vendor/llvm/dist/lib/Analysis/LazyValueInfo.cpp vendor/llvm/dist/lib/Analysis/LibCallAliasAnalysis.cpp vendor/llvm/dist/lib/Analysis/Lint.cpp vendor/llvm/dist/lib/Analysis/LiveValues.cpp vendor/llvm/dist/lib/Analysis/Loads.cpp vendor/llvm/dist/lib/Analysis/LoopDependenceAnalysis.cpp vendor/llvm/dist/lib/Analysis/LoopInfo.cpp vendor/llvm/dist/lib/Analysis/LoopPass.cpp vendor/llvm/dist/lib/Analysis/MemoryDependenceAnalysis.cpp vendor/llvm/dist/lib/Analysis/ModuleDebugInfoPrinter.cpp vendor/llvm/dist/lib/Analysis/PHITransAddr.cpp vendor/llvm/dist/lib/Analysis/PostDominators.cpp vendor/llvm/dist/lib/Analysis/ProfileEstimatorPass.cpp vendor/llvm/dist/lib/Analysis/ProfileInfo.cpp vendor/llvm/dist/lib/Analysis/ProfileInfoLoaderPass.cpp vendor/llvm/dist/lib/Analysis/ProfileVerifierPass.cpp vendor/llvm/dist/lib/Analysis/RegionInfo.cpp vendor/llvm/dist/lib/Analysis/RegionPrinter.cpp vendor/llvm/dist/lib/Analysis/ScalarEvolution.cpp vendor/llvm/dist/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp vendor/llvm/dist/lib/Analysis/ScalarEvolutionExpander.cpp vendor/llvm/dist/lib/Analysis/TypeBasedAliasAnalysis.cpp vendor/llvm/dist/lib/Analysis/ValueTracking.cpp vendor/llvm/dist/lib/Archive/Archive.cpp vendor/llvm/dist/lib/Archive/ArchiveInternals.h vendor/llvm/dist/lib/Archive/ArchiveWriter.cpp vendor/llvm/dist/lib/AsmParser/LLLexer.cpp vendor/llvm/dist/lib/AsmParser/LLLexer.h vendor/llvm/dist/lib/AsmParser/LLParser.cpp vendor/llvm/dist/lib/AsmParser/LLParser.h vendor/llvm/dist/lib/AsmParser/LLToken.h vendor/llvm/dist/lib/AsmParser/Parser.cpp vendor/llvm/dist/lib/Bitcode/Reader/BitcodeReader.cpp vendor/llvm/dist/lib/Bitcode/Reader/BitcodeReader.h vendor/llvm/dist/lib/Bitcode/Writer/BitcodeWriter.cpp vendor/llvm/dist/lib/CodeGen/AggressiveAntiDepBreaker.cpp vendor/llvm/dist/lib/CodeGen/Analysis.cpp vendor/llvm/dist/lib/CodeGen/AsmPrinter/AsmPrinter.cpp vendor/llvm/dist/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp vendor/llvm/dist/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp vendor/llvm/dist/lib/CodeGen/AsmPrinter/CMakeLists.txt vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfDebug.cpp vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfDebug.h vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfException.cpp vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfException.h vendor/llvm/dist/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp vendor/llvm/dist/lib/CodeGen/CMakeLists.txt vendor/llvm/dist/lib/CodeGen/CalcSpillWeights.cpp vendor/llvm/dist/lib/CodeGen/CallingConvLower.cpp vendor/llvm/dist/lib/CodeGen/CriticalAntiDepBreaker.cpp vendor/llvm/dist/lib/CodeGen/CriticalAntiDepBreaker.h vendor/llvm/dist/lib/CodeGen/DeadMachineInstructionElim.cpp vendor/llvm/dist/lib/CodeGen/DwarfEHPrepare.cpp vendor/llvm/dist/lib/CodeGen/ELF.h vendor/llvm/dist/lib/CodeGen/ELFWriter.cpp vendor/llvm/dist/lib/CodeGen/GCMetadata.cpp vendor/llvm/dist/lib/CodeGen/GCStrategy.cpp vendor/llvm/dist/lib/CodeGen/IfConversion.cpp vendor/llvm/dist/lib/CodeGen/InlineSpiller.cpp vendor/llvm/dist/lib/CodeGen/IntrinsicLowering.cpp vendor/llvm/dist/lib/CodeGen/LLVMTargetMachine.cpp vendor/llvm/dist/lib/CodeGen/LatencyPriorityQueue.cpp vendor/llvm/dist/lib/CodeGen/LiveInterval.cpp vendor/llvm/dist/lib/CodeGen/LiveIntervalAnalysis.cpp vendor/llvm/dist/lib/CodeGen/LiveStackAnalysis.cpp vendor/llvm/dist/lib/CodeGen/LiveVariables.cpp vendor/llvm/dist/lib/CodeGen/LocalStackSlotAllocation.cpp vendor/llvm/dist/lib/CodeGen/MachineBasicBlock.cpp vendor/llvm/dist/lib/CodeGen/MachineCSE.cpp vendor/llvm/dist/lib/CodeGen/MachineDominators.cpp vendor/llvm/dist/lib/CodeGen/MachineFunction.cpp vendor/llvm/dist/lib/CodeGen/MachineFunctionAnalysis.cpp vendor/llvm/dist/lib/CodeGen/MachineInstr.cpp vendor/llvm/dist/lib/CodeGen/MachineLICM.cpp vendor/llvm/dist/lib/CodeGen/MachineLoopInfo.cpp vendor/llvm/dist/lib/CodeGen/MachineModuleInfo.cpp vendor/llvm/dist/lib/CodeGen/MachineRegisterInfo.cpp vendor/llvm/dist/lib/CodeGen/MachineSink.cpp vendor/llvm/dist/lib/CodeGen/MachineVerifier.cpp vendor/llvm/dist/lib/CodeGen/OptimizePHIs.cpp vendor/llvm/dist/lib/CodeGen/PHIElimination.cpp vendor/llvm/dist/lib/CodeGen/PeepholeOptimizer.cpp vendor/llvm/dist/lib/CodeGen/PostRASchedulerList.cpp vendor/llvm/dist/lib/CodeGen/PreAllocSplitting.cpp vendor/llvm/dist/lib/CodeGen/ProcessImplicitDefs.cpp vendor/llvm/dist/lib/CodeGen/PrologEpilogInserter.cpp vendor/llvm/dist/lib/CodeGen/PrologEpilogInserter.h vendor/llvm/dist/lib/CodeGen/PseudoSourceValue.cpp vendor/llvm/dist/lib/CodeGen/RegAllocFast.cpp vendor/llvm/dist/lib/CodeGen/RegAllocLinearScan.cpp vendor/llvm/dist/lib/CodeGen/RegAllocPBQP.cpp vendor/llvm/dist/lib/CodeGen/RegisterCoalescer.cpp vendor/llvm/dist/lib/CodeGen/RenderMachineFunction.cpp vendor/llvm/dist/lib/CodeGen/RenderMachineFunction.h vendor/llvm/dist/lib/CodeGen/ScheduleDAG.cpp vendor/llvm/dist/lib/CodeGen/ScheduleDAGEmit.cpp vendor/llvm/dist/lib/CodeGen/ScheduleDAGInstrs.cpp vendor/llvm/dist/lib/CodeGen/ScheduleDAGInstrs.h vendor/llvm/dist/lib/CodeGen/SelectionDAG/CMakeLists.txt vendor/llvm/dist/lib/CodeGen/SelectionDAG/DAGCombiner.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/FastISel.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/InstrEmitter.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeTypes.h vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h vendor/llvm/dist/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAG.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/TargetLowering.cpp vendor/llvm/dist/lib/CodeGen/ShrinkWrapping.cpp vendor/llvm/dist/lib/CodeGen/SimpleRegisterCoalescing.cpp vendor/llvm/dist/lib/CodeGen/SimpleRegisterCoalescing.h vendor/llvm/dist/lib/CodeGen/SjLjEHPrepare.cpp vendor/llvm/dist/lib/CodeGen/SlotIndexes.cpp vendor/llvm/dist/lib/CodeGen/Spiller.cpp vendor/llvm/dist/lib/CodeGen/Spiller.h vendor/llvm/dist/lib/CodeGen/SplitKit.cpp vendor/llvm/dist/lib/CodeGen/SplitKit.h vendor/llvm/dist/lib/CodeGen/Splitter.cpp vendor/llvm/dist/lib/CodeGen/Splitter.h vendor/llvm/dist/lib/CodeGen/StackProtector.cpp vendor/llvm/dist/lib/CodeGen/StackSlotColoring.cpp vendor/llvm/dist/lib/CodeGen/StrongPHIElimination.cpp vendor/llvm/dist/lib/CodeGen/TailDuplication.cpp vendor/llvm/dist/lib/CodeGen/TargetInstrInfoImpl.cpp vendor/llvm/dist/lib/CodeGen/TargetLoweringObjectFileImpl.cpp vendor/llvm/dist/lib/CodeGen/TwoAddressInstructionPass.cpp vendor/llvm/dist/lib/CodeGen/UnreachableBlockElim.cpp vendor/llvm/dist/lib/CodeGen/VirtRegMap.cpp vendor/llvm/dist/lib/CodeGen/VirtRegMap.h vendor/llvm/dist/lib/CodeGen/VirtRegRewriter.cpp vendor/llvm/dist/lib/CompilerDriver/Action.cpp vendor/llvm/dist/lib/CompilerDriver/CMakeLists.txt vendor/llvm/dist/lib/CompilerDriver/CompilationGraph.cpp vendor/llvm/dist/lib/CompilerDriver/Main.cpp vendor/llvm/dist/lib/CompilerDriver/Makefile vendor/llvm/dist/lib/CompilerDriver/Tool.cpp vendor/llvm/dist/lib/ExecutionEngine/CMakeLists.txt vendor/llvm/dist/lib/ExecutionEngine/ExecutionEngine.cpp vendor/llvm/dist/lib/ExecutionEngine/Interpreter/CMakeLists.txt vendor/llvm/dist/lib/ExecutionEngine/Interpreter/Execution.cpp vendor/llvm/dist/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp vendor/llvm/dist/lib/ExecutionEngine/Interpreter/Interpreter.h vendor/llvm/dist/lib/ExecutionEngine/JIT/Intercept.cpp vendor/llvm/dist/lib/ExecutionEngine/JIT/JIT.cpp vendor/llvm/dist/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp vendor/llvm/dist/lib/ExecutionEngine/JIT/JITDebugRegisterer.h vendor/llvm/dist/lib/ExecutionEngine/JIT/JITDwarfEmitter.cpp vendor/llvm/dist/lib/ExecutionEngine/JIT/JITDwarfEmitter.h vendor/llvm/dist/lib/ExecutionEngine/JIT/JITEmitter.cpp vendor/llvm/dist/lib/ExecutionEngine/JIT/JITMemoryManager.cpp vendor/llvm/dist/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp vendor/llvm/dist/lib/ExecutionEngine/JIT/TargetSelect.cpp vendor/llvm/dist/lib/ExecutionEngine/Makefile vendor/llvm/dist/lib/Linker/LinkItems.cpp vendor/llvm/dist/lib/Linker/LinkModules.cpp vendor/llvm/dist/lib/Linker/Linker.cpp vendor/llvm/dist/lib/MC/CMakeLists.txt vendor/llvm/dist/lib/MC/ELFObjectWriter.cpp vendor/llvm/dist/lib/MC/MCAsmInfo.cpp vendor/llvm/dist/lib/MC/MCAsmInfoDarwin.cpp vendor/llvm/dist/lib/MC/MCAsmStreamer.cpp vendor/llvm/dist/lib/MC/MCAssembler.cpp vendor/llvm/dist/lib/MC/MCCodeEmitter.cpp vendor/llvm/dist/lib/MC/MCContext.cpp vendor/llvm/dist/lib/MC/MCDisassembler/EDDisassembler.cpp vendor/llvm/dist/lib/MC/MCDisassembler/EDDisassembler.h vendor/llvm/dist/lib/MC/MCDisassembler/EDInst.cpp vendor/llvm/dist/lib/MC/MCDisassembler/EDInst.h vendor/llvm/dist/lib/MC/MCDisassembler/EDOperand.cpp vendor/llvm/dist/lib/MC/MCDisassembler/EDOperand.h vendor/llvm/dist/lib/MC/MCDisassembler/EDToken.h vendor/llvm/dist/lib/MC/MCDwarf.cpp vendor/llvm/dist/lib/MC/MCELFStreamer.cpp vendor/llvm/dist/lib/MC/MCExpr.cpp vendor/llvm/dist/lib/MC/MCLoggingStreamer.cpp vendor/llvm/dist/lib/MC/MCMachOStreamer.cpp vendor/llvm/dist/lib/MC/MCNullStreamer.cpp vendor/llvm/dist/lib/MC/MCObjectStreamer.cpp vendor/llvm/dist/lib/MC/MCObjectWriter.cpp vendor/llvm/dist/lib/MC/MCParser/AsmLexer.cpp vendor/llvm/dist/lib/MC/MCParser/AsmParser.cpp vendor/llvm/dist/lib/MC/MCParser/CMakeLists.txt vendor/llvm/dist/lib/MC/MCParser/DarwinAsmParser.cpp vendor/llvm/dist/lib/MC/MCParser/ELFAsmParser.cpp vendor/llvm/dist/lib/MC/MCSectionCOFF.cpp vendor/llvm/dist/lib/MC/MCSectionELF.cpp vendor/llvm/dist/lib/MC/MCSectionMachO.cpp vendor/llvm/dist/lib/MC/MCStreamer.cpp vendor/llvm/dist/lib/MC/MCSymbol.cpp vendor/llvm/dist/lib/MC/MachObjectWriter.cpp vendor/llvm/dist/lib/MC/TargetAsmBackend.cpp vendor/llvm/dist/lib/MC/WinCOFFObjectWriter.cpp vendor/llvm/dist/lib/MC/WinCOFFStreamer.cpp vendor/llvm/dist/lib/Makefile vendor/llvm/dist/lib/Support/APFloat.cpp vendor/llvm/dist/lib/Support/APInt.cpp vendor/llvm/dist/lib/Support/Allocator.cpp vendor/llvm/dist/lib/Support/CMakeLists.txt vendor/llvm/dist/lib/Support/CommandLine.cpp vendor/llvm/dist/lib/Support/ConstantRange.cpp vendor/llvm/dist/lib/Support/CrashRecoveryContext.cpp vendor/llvm/dist/lib/Support/Debug.cpp vendor/llvm/dist/lib/Support/Dwarf.cpp vendor/llvm/dist/lib/Support/ErrorHandling.cpp vendor/llvm/dist/lib/Support/FileUtilities.cpp vendor/llvm/dist/lib/Support/FoldingSet.cpp vendor/llvm/dist/lib/Support/FormattedStream.cpp vendor/llvm/dist/lib/Support/GraphWriter.cpp vendor/llvm/dist/lib/Support/Makefile vendor/llvm/dist/lib/Support/ManagedStatic.cpp vendor/llvm/dist/lib/Support/MemoryBuffer.cpp vendor/llvm/dist/lib/Support/PluginLoader.cpp vendor/llvm/dist/lib/Support/PrettyStackTrace.cpp vendor/llvm/dist/lib/Support/SourceMgr.cpp vendor/llvm/dist/lib/Support/Statistic.cpp vendor/llvm/dist/lib/Support/StringMap.cpp vendor/llvm/dist/lib/Support/StringRef.cpp vendor/llvm/dist/lib/Support/SystemUtils.cpp vendor/llvm/dist/lib/Support/TargetRegistry.cpp vendor/llvm/dist/lib/Support/Timer.cpp vendor/llvm/dist/lib/Support/Triple.cpp vendor/llvm/dist/lib/Support/Twine.cpp vendor/llvm/dist/lib/Support/raw_ostream.cpp vendor/llvm/dist/lib/Support/regexec.c vendor/llvm/dist/lib/Target/ARM/ARM.h vendor/llvm/dist/lib/Target/ARM/ARM.td vendor/llvm/dist/lib/Target/ARM/ARMAddressingModes.h vendor/llvm/dist/lib/Target/ARM/ARMAsmPrinter.cpp vendor/llvm/dist/lib/Target/ARM/ARMBaseInstrInfo.cpp vendor/llvm/dist/lib/Target/ARM/ARMBaseInstrInfo.h vendor/llvm/dist/lib/Target/ARM/ARMBaseRegisterInfo.cpp vendor/llvm/dist/lib/Target/ARM/ARMBaseRegisterInfo.h vendor/llvm/dist/lib/Target/ARM/ARMBuildAttrs.h vendor/llvm/dist/lib/Target/ARM/ARMCallingConv.td vendor/llvm/dist/lib/Target/ARM/ARMCodeEmitter.cpp vendor/llvm/dist/lib/Target/ARM/ARMConstantIslandPass.cpp vendor/llvm/dist/lib/Target/ARM/ARMConstantPoolValue.cpp vendor/llvm/dist/lib/Target/ARM/ARMConstantPoolValue.h vendor/llvm/dist/lib/Target/ARM/ARMExpandPseudoInsts.cpp vendor/llvm/dist/lib/Target/ARM/ARMFastISel.cpp vendor/llvm/dist/lib/Target/ARM/ARMGlobalMerge.cpp vendor/llvm/dist/lib/Target/ARM/ARMISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/ARM/ARMISelLowering.cpp vendor/llvm/dist/lib/Target/ARM/ARMISelLowering.h vendor/llvm/dist/lib/Target/ARM/ARMInstrFormats.td vendor/llvm/dist/lib/Target/ARM/ARMInstrInfo.cpp vendor/llvm/dist/lib/Target/ARM/ARMInstrInfo.h vendor/llvm/dist/lib/Target/ARM/ARMInstrInfo.td vendor/llvm/dist/lib/Target/ARM/ARMInstrNEON.td vendor/llvm/dist/lib/Target/ARM/ARMInstrThumb.td vendor/llvm/dist/lib/Target/ARM/ARMInstrThumb2.td vendor/llvm/dist/lib/Target/ARM/ARMInstrVFP.td vendor/llvm/dist/lib/Target/ARM/ARMJITInfo.cpp vendor/llvm/dist/lib/Target/ARM/ARMJITInfo.h vendor/llvm/dist/lib/Target/ARM/ARMLoadStoreOptimizer.cpp vendor/llvm/dist/lib/Target/ARM/ARMMCInstLower.cpp vendor/llvm/dist/lib/Target/ARM/ARMMachineFunctionInfo.h vendor/llvm/dist/lib/Target/ARM/ARMPerfectShuffle.h vendor/llvm/dist/lib/Target/ARM/ARMRegisterInfo.cpp vendor/llvm/dist/lib/Target/ARM/ARMRegisterInfo.td vendor/llvm/dist/lib/Target/ARM/ARMSchedule.td vendor/llvm/dist/lib/Target/ARM/ARMScheduleA8.td vendor/llvm/dist/lib/Target/ARM/ARMScheduleA9.td vendor/llvm/dist/lib/Target/ARM/ARMScheduleV6.td vendor/llvm/dist/lib/Target/ARM/ARMSelectionDAGInfo.cpp vendor/llvm/dist/lib/Target/ARM/ARMSelectionDAGInfo.h vendor/llvm/dist/lib/Target/ARM/ARMSubtarget.cpp vendor/llvm/dist/lib/Target/ARM/ARMSubtarget.h vendor/llvm/dist/lib/Target/ARM/ARMTargetMachine.cpp vendor/llvm/dist/lib/Target/ARM/ARMTargetMachine.h vendor/llvm/dist/lib/Target/ARM/ARMTargetObjectFile.cpp vendor/llvm/dist/lib/Target/ARM/ARMTargetObjectFile.h vendor/llvm/dist/lib/Target/ARM/AsmParser/ARMAsmLexer.cpp vendor/llvm/dist/lib/Target/ARM/AsmParser/ARMAsmParser.cpp vendor/llvm/dist/lib/Target/ARM/CMakeLists.txt vendor/llvm/dist/lib/Target/ARM/Disassembler/ARMDisassembler.cpp vendor/llvm/dist/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp vendor/llvm/dist/lib/Target/ARM/Disassembler/ThumbDisassemblerCore.h vendor/llvm/dist/lib/Target/ARM/Makefile vendor/llvm/dist/lib/Target/ARM/README-Thumb.txt vendor/llvm/dist/lib/Target/ARM/Thumb1InstrInfo.cpp vendor/llvm/dist/lib/Target/ARM/Thumb1InstrInfo.h vendor/llvm/dist/lib/Target/ARM/Thumb1RegisterInfo.cpp vendor/llvm/dist/lib/Target/ARM/Thumb1RegisterInfo.h vendor/llvm/dist/lib/Target/ARM/Thumb2InstrInfo.cpp vendor/llvm/dist/lib/Target/ARM/Thumb2InstrInfo.h vendor/llvm/dist/lib/Target/ARM/Thumb2RegisterInfo.cpp vendor/llvm/dist/lib/Target/ARM/Thumb2SizeReduction.cpp vendor/llvm/dist/lib/Target/Alpha/Alpha.h vendor/llvm/dist/lib/Target/Alpha/AlphaISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/Alpha/AlphaISelLowering.cpp vendor/llvm/dist/lib/Target/Alpha/AlphaISelLowering.h vendor/llvm/dist/lib/Target/Alpha/AlphaInstrInfo.td vendor/llvm/dist/lib/Target/Alpha/AlphaRegisterInfo.cpp vendor/llvm/dist/lib/Target/Alpha/AlphaRegisterInfo.h vendor/llvm/dist/lib/Target/Alpha/AlphaSchedule.td vendor/llvm/dist/lib/Target/Alpha/AlphaTargetMachine.cpp vendor/llvm/dist/lib/Target/Alpha/AlphaTargetMachine.h vendor/llvm/dist/lib/Target/Alpha/CMakeLists.txt vendor/llvm/dist/lib/Target/Alpha/Makefile vendor/llvm/dist/lib/Target/Blackfin/BlackfinISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/Blackfin/BlackfinISelLowering.cpp vendor/llvm/dist/lib/Target/Blackfin/BlackfinISelLowering.h vendor/llvm/dist/lib/Target/Blackfin/BlackfinInstrInfo.td vendor/llvm/dist/lib/Target/Blackfin/BlackfinRegisterInfo.cpp vendor/llvm/dist/lib/Target/Blackfin/BlackfinRegisterInfo.h vendor/llvm/dist/lib/Target/Blackfin/BlackfinRegisterInfo.td vendor/llvm/dist/lib/Target/Blackfin/BlackfinTargetMachine.cpp vendor/llvm/dist/lib/Target/Blackfin/BlackfinTargetMachine.h vendor/llvm/dist/lib/Target/Blackfin/CMakeLists.txt vendor/llvm/dist/lib/Target/Blackfin/Makefile vendor/llvm/dist/lib/Target/CBackend/CBackend.cpp vendor/llvm/dist/lib/Target/CBackend/CMakeLists.txt vendor/llvm/dist/lib/Target/CMakeLists.txt vendor/llvm/dist/lib/Target/CellSPU/CMakeLists.txt vendor/llvm/dist/lib/Target/CellSPU/Makefile vendor/llvm/dist/lib/Target/CellSPU/README.txt vendor/llvm/dist/lib/Target/CellSPU/SPU.h vendor/llvm/dist/lib/Target/CellSPU/SPU64InstrInfo.td vendor/llvm/dist/lib/Target/CellSPU/SPUHazardRecognizers.cpp vendor/llvm/dist/lib/Target/CellSPU/SPUHazardRecognizers.h vendor/llvm/dist/lib/Target/CellSPU/SPUISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/CellSPU/SPUISelLowering.cpp vendor/llvm/dist/lib/Target/CellSPU/SPUISelLowering.h vendor/llvm/dist/lib/Target/CellSPU/SPUInstrInfo.cpp vendor/llvm/dist/lib/Target/CellSPU/SPUInstrInfo.h vendor/llvm/dist/lib/Target/CellSPU/SPUInstrInfo.td vendor/llvm/dist/lib/Target/CellSPU/SPUMCAsmInfo.cpp vendor/llvm/dist/lib/Target/CellSPU/SPUNodes.td vendor/llvm/dist/lib/Target/CellSPU/SPUOperands.td vendor/llvm/dist/lib/Target/CellSPU/SPURegisterInfo.cpp vendor/llvm/dist/lib/Target/CellSPU/SPURegisterInfo.h vendor/llvm/dist/lib/Target/CellSPU/SPUSchedule.td vendor/llvm/dist/lib/Target/CellSPU/SPUSubtarget.cpp vendor/llvm/dist/lib/Target/CellSPU/SPUSubtarget.h vendor/llvm/dist/lib/Target/CellSPU/SPUTargetMachine.cpp vendor/llvm/dist/lib/Target/CellSPU/SPUTargetMachine.h vendor/llvm/dist/lib/Target/CppBackend/CMakeLists.txt vendor/llvm/dist/lib/Target/CppBackend/CPPBackend.cpp vendor/llvm/dist/lib/Target/MBlaze/CMakeLists.txt vendor/llvm/dist/lib/Target/MBlaze/MBlaze.h vendor/llvm/dist/lib/Target/MBlaze/MBlaze.td vendor/llvm/dist/lib/Target/MBlaze/MBlazeCallingConv.td vendor/llvm/dist/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeISelLowering.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeISelLowering.h vendor/llvm/dist/lib/Target/MBlaze/MBlazeInstrFPU.td vendor/llvm/dist/lib/Target/MBlaze/MBlazeInstrFSL.td vendor/llvm/dist/lib/Target/MBlaze/MBlazeInstrFormats.td vendor/llvm/dist/lib/Target/MBlaze/MBlazeInstrInfo.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeInstrInfo.h vendor/llvm/dist/lib/Target/MBlaze/MBlazeInstrInfo.td vendor/llvm/dist/lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeIntrinsics.td vendor/llvm/dist/lib/Target/MBlaze/MBlazeMCAsmInfo.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeMCAsmInfo.h vendor/llvm/dist/lib/Target/MBlaze/MBlazeMachineFunction.h vendor/llvm/dist/lib/Target/MBlaze/MBlazeRegisterInfo.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeRegisterInfo.h vendor/llvm/dist/lib/Target/MBlaze/MBlazeRegisterInfo.td vendor/llvm/dist/lib/Target/MBlaze/MBlazeSchedule.td vendor/llvm/dist/lib/Target/MBlaze/MBlazeTargetMachine.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeTargetMachine.h vendor/llvm/dist/lib/Target/MBlaze/MBlazeTargetObjectFile.cpp vendor/llvm/dist/lib/Target/MBlaze/MBlazeTargetObjectFile.h vendor/llvm/dist/lib/Target/MBlaze/Makefile vendor/llvm/dist/lib/Target/MBlaze/TargetInfo/CMakeLists.txt vendor/llvm/dist/lib/Target/MSP430/CMakeLists.txt vendor/llvm/dist/lib/Target/MSP430/MSP430.td vendor/llvm/dist/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/MSP430/MSP430ISelLowering.cpp vendor/llvm/dist/lib/Target/MSP430/MSP430InstrInfo.cpp vendor/llvm/dist/lib/Target/MSP430/MSP430InstrInfo.h vendor/llvm/dist/lib/Target/MSP430/MSP430InstrInfo.td vendor/llvm/dist/lib/Target/MSP430/MSP430RegisterInfo.cpp vendor/llvm/dist/lib/Target/MSP430/MSP430RegisterInfo.h vendor/llvm/dist/lib/Target/MSP430/MSP430RegisterInfo.td vendor/llvm/dist/lib/Target/MSP430/MSP430TargetMachine.cpp vendor/llvm/dist/lib/Target/MSP430/MSP430TargetMachine.h vendor/llvm/dist/lib/Target/MSP430/Makefile vendor/llvm/dist/lib/Target/MSP430/TargetInfo/CMakeLists.txt vendor/llvm/dist/lib/Target/Mangler.cpp vendor/llvm/dist/lib/Target/Mips/CMakeLists.txt vendor/llvm/dist/lib/Target/Mips/Makefile vendor/llvm/dist/lib/Target/Mips/Mips.td vendor/llvm/dist/lib/Target/Mips/MipsDelaySlotFiller.cpp vendor/llvm/dist/lib/Target/Mips/MipsISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/Mips/MipsISelLowering.cpp vendor/llvm/dist/lib/Target/Mips/MipsISelLowering.h vendor/llvm/dist/lib/Target/Mips/MipsInstrFPU.td vendor/llvm/dist/lib/Target/Mips/MipsInstrInfo.td vendor/llvm/dist/lib/Target/Mips/MipsMachineFunction.h vendor/llvm/dist/lib/Target/Mips/MipsRegisterInfo.cpp vendor/llvm/dist/lib/Target/Mips/MipsRegisterInfo.h vendor/llvm/dist/lib/Target/Mips/MipsSchedule.td vendor/llvm/dist/lib/Target/Mips/MipsSubtarget.h vendor/llvm/dist/lib/Target/Mips/MipsTargetMachine.cpp vendor/llvm/dist/lib/Target/Mips/MipsTargetMachine.h vendor/llvm/dist/lib/Target/Mips/MipsTargetObjectFile.cpp vendor/llvm/dist/lib/Target/PowerPC/CMakeLists.txt vendor/llvm/dist/lib/Target/PowerPC/Makefile vendor/llvm/dist/lib/Target/PowerPC/PPC.h vendor/llvm/dist/lib/Target/PowerPC/PPC.td vendor/llvm/dist/lib/Target/PowerPC/PPCCodeEmitter.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCHazardRecognizers.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCHazardRecognizers.h vendor/llvm/dist/lib/Target/PowerPC/PPCISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCISelLowering.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCISelLowering.h vendor/llvm/dist/lib/Target/PowerPC/PPCInstr64Bit.td vendor/llvm/dist/lib/Target/PowerPC/PPCInstrFormats.td vendor/llvm/dist/lib/Target/PowerPC/PPCInstrInfo.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCInstrInfo.h vendor/llvm/dist/lib/Target/PowerPC/PPCInstrInfo.td vendor/llvm/dist/lib/Target/PowerPC/PPCJITInfo.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCMCAsmInfo.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCRegisterInfo.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCRegisterInfo.h vendor/llvm/dist/lib/Target/PowerPC/PPCRegisterInfo.td vendor/llvm/dist/lib/Target/PowerPC/PPCScheduleG3.td vendor/llvm/dist/lib/Target/PowerPC/PPCScheduleG4.td vendor/llvm/dist/lib/Target/PowerPC/PPCScheduleG4Plus.td vendor/llvm/dist/lib/Target/PowerPC/PPCScheduleG5.td vendor/llvm/dist/lib/Target/PowerPC/PPCSubtarget.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCTargetMachine.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCTargetMachine.h vendor/llvm/dist/lib/Target/PowerPC/README.txt vendor/llvm/dist/lib/Target/README.txt vendor/llvm/dist/lib/Target/Sparc/CMakeLists.txt vendor/llvm/dist/lib/Target/Sparc/DelaySlotFiller.cpp vendor/llvm/dist/lib/Target/Sparc/Makefile vendor/llvm/dist/lib/Target/Sparc/SparcCallingConv.td vendor/llvm/dist/lib/Target/Sparc/SparcISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/Sparc/SparcISelLowering.cpp vendor/llvm/dist/lib/Target/Sparc/SparcISelLowering.h vendor/llvm/dist/lib/Target/Sparc/SparcInstrInfo.cpp vendor/llvm/dist/lib/Target/Sparc/SparcInstrInfo.h vendor/llvm/dist/lib/Target/Sparc/SparcInstrInfo.td vendor/llvm/dist/lib/Target/Sparc/SparcMachineFunctionInfo.h vendor/llvm/dist/lib/Target/Sparc/SparcRegisterInfo.cpp vendor/llvm/dist/lib/Target/Sparc/SparcRegisterInfo.h vendor/llvm/dist/lib/Target/Sparc/SparcRegisterInfo.td vendor/llvm/dist/lib/Target/Sparc/SparcTargetMachine.cpp vendor/llvm/dist/lib/Target/Sparc/SparcTargetMachine.h vendor/llvm/dist/lib/Target/SubtargetFeature.cpp vendor/llvm/dist/lib/Target/SystemZ/CMakeLists.txt vendor/llvm/dist/lib/Target/SystemZ/Makefile vendor/llvm/dist/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/SystemZ/SystemZISelLowering.cpp vendor/llvm/dist/lib/Target/SystemZ/SystemZInstrBuilder.h vendor/llvm/dist/lib/Target/SystemZ/SystemZInstrInfo.cpp vendor/llvm/dist/lib/Target/SystemZ/SystemZInstrInfo.h vendor/llvm/dist/lib/Target/SystemZ/SystemZInstrInfo.td vendor/llvm/dist/lib/Target/SystemZ/SystemZMCAsmInfo.cpp vendor/llvm/dist/lib/Target/SystemZ/SystemZOperands.td vendor/llvm/dist/lib/Target/SystemZ/SystemZRegisterInfo.cpp vendor/llvm/dist/lib/Target/SystemZ/SystemZRegisterInfo.h vendor/llvm/dist/lib/Target/SystemZ/SystemZRegisterInfo.td vendor/llvm/dist/lib/Target/SystemZ/SystemZTargetMachine.cpp vendor/llvm/dist/lib/Target/SystemZ/SystemZTargetMachine.h vendor/llvm/dist/lib/Target/Target.cpp vendor/llvm/dist/lib/Target/TargetData.cpp vendor/llvm/dist/lib/Target/TargetELFWriterInfo.cpp vendor/llvm/dist/lib/Target/TargetInstrInfo.cpp vendor/llvm/dist/lib/Target/TargetLoweringObjectFile.cpp vendor/llvm/dist/lib/Target/TargetMachine.cpp vendor/llvm/dist/lib/Target/TargetRegisterInfo.cpp vendor/llvm/dist/lib/Target/X86/AsmParser/X86AsmLexer.cpp vendor/llvm/dist/lib/Target/X86/AsmParser/X86AsmParser.cpp vendor/llvm/dist/lib/Target/X86/CMakeLists.txt vendor/llvm/dist/lib/Target/X86/Disassembler/CMakeLists.txt vendor/llvm/dist/lib/Target/X86/Disassembler/X86Disassembler.cpp vendor/llvm/dist/lib/Target/X86/Disassembler/X86Disassembler.h vendor/llvm/dist/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c vendor/llvm/dist/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h vendor/llvm/dist/lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h vendor/llvm/dist/lib/Target/X86/Makefile vendor/llvm/dist/lib/Target/X86/README-SSE.txt vendor/llvm/dist/lib/Target/X86/README-X86-64.txt vendor/llvm/dist/lib/Target/X86/README.txt vendor/llvm/dist/lib/Target/X86/X86.h vendor/llvm/dist/lib/Target/X86/X86.td vendor/llvm/dist/lib/Target/X86/X86AsmBackend.cpp vendor/llvm/dist/lib/Target/X86/X86AsmPrinter.cpp vendor/llvm/dist/lib/Target/X86/X86AsmPrinter.h vendor/llvm/dist/lib/Target/X86/X86CallingConv.td vendor/llvm/dist/lib/Target/X86/X86CodeEmitter.cpp vendor/llvm/dist/lib/Target/X86/X86ELFWriterInfo.cpp vendor/llvm/dist/lib/Target/X86/X86ELFWriterInfo.h vendor/llvm/dist/lib/Target/X86/X86FastISel.cpp vendor/llvm/dist/lib/Target/X86/X86FixupKinds.h vendor/llvm/dist/lib/Target/X86/X86FloatingPoint.cpp vendor/llvm/dist/lib/Target/X86/X86ISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/X86/X86ISelLowering.cpp vendor/llvm/dist/lib/Target/X86/X86ISelLowering.h vendor/llvm/dist/lib/Target/X86/X86InstrBuilder.h vendor/llvm/dist/lib/Target/X86/X86InstrFPStack.td vendor/llvm/dist/lib/Target/X86/X86InstrFormats.td vendor/llvm/dist/lib/Target/X86/X86InstrFragmentsSIMD.td vendor/llvm/dist/lib/Target/X86/X86InstrInfo.cpp vendor/llvm/dist/lib/Target/X86/X86InstrInfo.h vendor/llvm/dist/lib/Target/X86/X86InstrInfo.td vendor/llvm/dist/lib/Target/X86/X86InstrMMX.td vendor/llvm/dist/lib/Target/X86/X86InstrSSE.td vendor/llvm/dist/lib/Target/X86/X86JITInfo.cpp vendor/llvm/dist/lib/Target/X86/X86MCAsmInfo.cpp vendor/llvm/dist/lib/Target/X86/X86MCCodeEmitter.cpp vendor/llvm/dist/lib/Target/X86/X86MCInstLower.cpp vendor/llvm/dist/lib/Target/X86/X86MCInstLower.h vendor/llvm/dist/lib/Target/X86/X86RegisterInfo.cpp vendor/llvm/dist/lib/Target/X86/X86RegisterInfo.h vendor/llvm/dist/lib/Target/X86/X86RegisterInfo.td vendor/llvm/dist/lib/Target/X86/X86SelectionDAGInfo.cpp vendor/llvm/dist/lib/Target/X86/X86SelectionDAGInfo.h vendor/llvm/dist/lib/Target/X86/X86Subtarget.cpp vendor/llvm/dist/lib/Target/X86/X86Subtarget.h vendor/llvm/dist/lib/Target/X86/X86TargetMachine.cpp vendor/llvm/dist/lib/Target/X86/X86TargetMachine.h vendor/llvm/dist/lib/Target/XCore/CMakeLists.txt vendor/llvm/dist/lib/Target/XCore/Makefile vendor/llvm/dist/lib/Target/XCore/TargetInfo/CMakeLists.txt vendor/llvm/dist/lib/Target/XCore/XCoreCallingConv.td vendor/llvm/dist/lib/Target/XCore/XCoreISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/XCore/XCoreISelLowering.cpp vendor/llvm/dist/lib/Target/XCore/XCoreISelLowering.h vendor/llvm/dist/lib/Target/XCore/XCoreInstrInfo.cpp vendor/llvm/dist/lib/Target/XCore/XCoreInstrInfo.h vendor/llvm/dist/lib/Target/XCore/XCoreInstrInfo.td vendor/llvm/dist/lib/Target/XCore/XCoreRegisterInfo.cpp vendor/llvm/dist/lib/Target/XCore/XCoreRegisterInfo.h vendor/llvm/dist/lib/Target/XCore/XCoreRegisterInfo.td vendor/llvm/dist/lib/Target/XCore/XCoreTargetMachine.cpp vendor/llvm/dist/lib/Target/XCore/XCoreTargetMachine.h vendor/llvm/dist/lib/Target/XCore/XCoreTargetObjectFile.cpp vendor/llvm/dist/lib/Transforms/Hello/Hello.cpp vendor/llvm/dist/lib/Transforms/IPO/ArgumentPromotion.cpp vendor/llvm/dist/lib/Transforms/IPO/CMakeLists.txt vendor/llvm/dist/lib/Transforms/IPO/ConstantMerge.cpp vendor/llvm/dist/lib/Transforms/IPO/DeadArgumentElimination.cpp vendor/llvm/dist/lib/Transforms/IPO/DeadTypeElimination.cpp vendor/llvm/dist/lib/Transforms/IPO/ExtractGV.cpp vendor/llvm/dist/lib/Transforms/IPO/FunctionAttrs.cpp vendor/llvm/dist/lib/Transforms/IPO/GlobalDCE.cpp vendor/llvm/dist/lib/Transforms/IPO/GlobalOpt.cpp vendor/llvm/dist/lib/Transforms/IPO/IPConstantPropagation.cpp vendor/llvm/dist/lib/Transforms/IPO/IPO.cpp vendor/llvm/dist/lib/Transforms/IPO/InlineAlways.cpp vendor/llvm/dist/lib/Transforms/IPO/InlineSimple.cpp vendor/llvm/dist/lib/Transforms/IPO/Inliner.cpp vendor/llvm/dist/lib/Transforms/IPO/Internalize.cpp vendor/llvm/dist/lib/Transforms/IPO/LoopExtractor.cpp vendor/llvm/dist/lib/Transforms/IPO/LowerSetJmp.cpp vendor/llvm/dist/lib/Transforms/IPO/MergeFunctions.cpp vendor/llvm/dist/lib/Transforms/IPO/PartialInlining.cpp vendor/llvm/dist/lib/Transforms/IPO/PruneEH.cpp vendor/llvm/dist/lib/Transforms/IPO/StripDeadPrototypes.cpp vendor/llvm/dist/lib/Transforms/IPO/StripSymbols.cpp vendor/llvm/dist/lib/Transforms/IPO/StructRetPromotion.cpp vendor/llvm/dist/lib/Transforms/InstCombine/CMakeLists.txt vendor/llvm/dist/lib/Transforms/InstCombine/InstCombine.h vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineAddSub.cpp vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineCalls.cpp vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineCasts.cpp vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineCompares.cpp vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp vendor/llvm/dist/lib/Transforms/InstCombine/InstCombinePHI.cpp vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineSelect.cpp vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineShifts.cpp vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineVectorOps.cpp vendor/llvm/dist/lib/Transforms/InstCombine/InstructionCombining.cpp vendor/llvm/dist/lib/Transforms/Instrumentation/CMakeLists.txt vendor/llvm/dist/lib/Transforms/Instrumentation/EdgeProfiling.cpp vendor/llvm/dist/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp vendor/llvm/dist/lib/Transforms/Instrumentation/ProfilingUtils.cpp vendor/llvm/dist/lib/Transforms/Instrumentation/ProfilingUtils.h vendor/llvm/dist/lib/Transforms/Scalar/ADCE.cpp vendor/llvm/dist/lib/Transforms/Scalar/BasicBlockPlacement.cpp vendor/llvm/dist/lib/Transforms/Scalar/CMakeLists.txt vendor/llvm/dist/lib/Transforms/Scalar/CodeGenPrepare.cpp vendor/llvm/dist/lib/Transforms/Scalar/ConstantProp.cpp vendor/llvm/dist/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp vendor/llvm/dist/lib/Transforms/Scalar/DCE.cpp vendor/llvm/dist/lib/Transforms/Scalar/DeadStoreElimination.cpp vendor/llvm/dist/lib/Transforms/Scalar/GEPSplitter.cpp vendor/llvm/dist/lib/Transforms/Scalar/GVN.cpp vendor/llvm/dist/lib/Transforms/Scalar/IndVarSimplify.cpp vendor/llvm/dist/lib/Transforms/Scalar/JumpThreading.cpp vendor/llvm/dist/lib/Transforms/Scalar/LICM.cpp vendor/llvm/dist/lib/Transforms/Scalar/LoopDeletion.cpp vendor/llvm/dist/lib/Transforms/Scalar/LoopRotation.cpp vendor/llvm/dist/lib/Transforms/Scalar/LoopStrengthReduce.cpp vendor/llvm/dist/lib/Transforms/Scalar/LoopUnrollPass.cpp vendor/llvm/dist/lib/Transforms/Scalar/LoopUnswitch.cpp vendor/llvm/dist/lib/Transforms/Scalar/LowerAtomic.cpp vendor/llvm/dist/lib/Transforms/Scalar/MemCpyOptimizer.cpp vendor/llvm/dist/lib/Transforms/Scalar/Reassociate.cpp vendor/llvm/dist/lib/Transforms/Scalar/Reg2Mem.cpp vendor/llvm/dist/lib/Transforms/Scalar/SCCP.cpp vendor/llvm/dist/lib/Transforms/Scalar/Scalar.cpp vendor/llvm/dist/lib/Transforms/Scalar/ScalarReplAggregates.cpp vendor/llvm/dist/lib/Transforms/Scalar/SimplifyCFGPass.cpp vendor/llvm/dist/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp vendor/llvm/dist/lib/Transforms/Scalar/SimplifyLibCalls.cpp vendor/llvm/dist/lib/Transforms/Scalar/Sink.cpp vendor/llvm/dist/lib/Transforms/Scalar/TailDuplication.cpp vendor/llvm/dist/lib/Transforms/Scalar/TailRecursionElimination.cpp vendor/llvm/dist/lib/Transforms/Utils/AddrModeMatcher.cpp vendor/llvm/dist/lib/Transforms/Utils/BasicBlockUtils.cpp vendor/llvm/dist/lib/Transforms/Utils/BreakCriticalEdges.cpp vendor/llvm/dist/lib/Transforms/Utils/BuildLibCalls.cpp vendor/llvm/dist/lib/Transforms/Utils/CMakeLists.txt vendor/llvm/dist/lib/Transforms/Utils/CloneFunction.cpp vendor/llvm/dist/lib/Transforms/Utils/CloneLoop.cpp vendor/llvm/dist/lib/Transforms/Utils/CloneModule.cpp vendor/llvm/dist/lib/Transforms/Utils/CodeExtractor.cpp vendor/llvm/dist/lib/Transforms/Utils/DemoteRegToStack.cpp vendor/llvm/dist/lib/Transforms/Utils/InlineFunction.cpp vendor/llvm/dist/lib/Transforms/Utils/InstructionNamer.cpp vendor/llvm/dist/lib/Transforms/Utils/LCSSA.cpp vendor/llvm/dist/lib/Transforms/Utils/Local.cpp vendor/llvm/dist/lib/Transforms/Utils/LoopSimplify.cpp vendor/llvm/dist/lib/Transforms/Utils/LoopUnroll.cpp vendor/llvm/dist/lib/Transforms/Utils/LowerInvoke.cpp vendor/llvm/dist/lib/Transforms/Utils/LowerSwitch.cpp vendor/llvm/dist/lib/Transforms/Utils/Mem2Reg.cpp vendor/llvm/dist/lib/Transforms/Utils/PromoteMemoryToRegister.cpp vendor/llvm/dist/lib/Transforms/Utils/SSAUpdater.cpp vendor/llvm/dist/lib/Transforms/Utils/SimplifyCFG.cpp vendor/llvm/dist/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp vendor/llvm/dist/lib/Transforms/Utils/ValueMapper.cpp vendor/llvm/dist/lib/VMCore/AsmWriter.cpp vendor/llvm/dist/lib/VMCore/Attributes.cpp vendor/llvm/dist/lib/VMCore/AutoUpgrade.cpp vendor/llvm/dist/lib/VMCore/BasicBlock.cpp vendor/llvm/dist/lib/VMCore/CMakeLists.txt vendor/llvm/dist/lib/VMCore/ConstantFold.cpp vendor/llvm/dist/lib/VMCore/ConstantFold.h vendor/llvm/dist/lib/VMCore/Constants.cpp vendor/llvm/dist/lib/VMCore/ConstantsContext.h vendor/llvm/dist/lib/VMCore/Core.cpp vendor/llvm/dist/lib/VMCore/Dominators.cpp vendor/llvm/dist/lib/VMCore/Function.cpp vendor/llvm/dist/lib/VMCore/Globals.cpp vendor/llvm/dist/lib/VMCore/IRBuilder.cpp vendor/llvm/dist/lib/VMCore/InlineAsm.cpp vendor/llvm/dist/lib/VMCore/Instruction.cpp vendor/llvm/dist/lib/VMCore/Instructions.cpp vendor/llvm/dist/lib/VMCore/LLVMContext.cpp vendor/llvm/dist/lib/VMCore/LLVMContextImpl.cpp vendor/llvm/dist/lib/VMCore/LLVMContextImpl.h vendor/llvm/dist/lib/VMCore/LeakDetector.cpp vendor/llvm/dist/lib/VMCore/Metadata.cpp vendor/llvm/dist/lib/VMCore/Module.cpp vendor/llvm/dist/lib/VMCore/Pass.cpp vendor/llvm/dist/lib/VMCore/PassManager.cpp vendor/llvm/dist/lib/VMCore/PassRegistry.cpp vendor/llvm/dist/lib/VMCore/PrintModulePass.cpp vendor/llvm/dist/lib/VMCore/Type.cpp vendor/llvm/dist/lib/VMCore/TypesContext.h vendor/llvm/dist/lib/VMCore/Use.cpp vendor/llvm/dist/lib/VMCore/Value.cpp vendor/llvm/dist/lib/VMCore/ValueTypes.cpp vendor/llvm/dist/lib/VMCore/Verifier.cpp vendor/llvm/dist/projects/Makefile vendor/llvm/dist/projects/sample/autoconf/AutoRegen.sh vendor/llvm/dist/projects/sample/autoconf/configure.ac vendor/llvm/dist/projects/sample/configure vendor/llvm/dist/projects/sample/lib/sample/sample.c vendor/llvm/dist/runtime/libprofile/CommonProfiling.c vendor/llvm/dist/runtime/libprofile/Profiling.h vendor/llvm/dist/runtime/libprofile/libprofile.exports vendor/llvm/dist/test/Analysis/BasicAA/2003-02-26-AccessSizeTest.ll vendor/llvm/dist/test/Analysis/BasicAA/2003-04-22-GEPProblem.ll vendor/llvm/dist/test/Analysis/BasicAA/2003-05-21-GEP-Problem.ll vendor/llvm/dist/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll vendor/llvm/dist/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll vendor/llvm/dist/test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll vendor/llvm/dist/test/Analysis/BasicAA/2004-07-28-MustAliasbug.ll vendor/llvm/dist/test/Analysis/BasicAA/2004-12-08-BasicAACrash.ll vendor/llvm/dist/test/Analysis/BasicAA/2004-12-08-BasicAACrash2.ll vendor/llvm/dist/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll vendor/llvm/dist/test/Analysis/BasicAA/2006-11-03-BasicAAVectorCrash.ll vendor/llvm/dist/test/Analysis/BasicAA/2007-11-05-SizeCrash.ll vendor/llvm/dist/test/Analysis/BasicAA/2007-12-08-OutOfBoundsCrash.ll vendor/llvm/dist/test/Analysis/BasicAA/2008-06-02-GEPTailCrash.ll vendor/llvm/dist/test/Analysis/BasicAA/2008-11-23-NoaliasRet.ll vendor/llvm/dist/test/Analysis/BasicAA/2009-10-13-AtomicModRef.ll vendor/llvm/dist/test/Analysis/BasicAA/2009-10-13-GEP-BaseNoAlias.ll vendor/llvm/dist/test/Analysis/BasicAA/args-rets-allocas-loads.ll vendor/llvm/dist/test/Analysis/BasicAA/byval.ll vendor/llvm/dist/test/Analysis/BasicAA/constant-over-index.ll vendor/llvm/dist/test/Analysis/BasicAA/empty.ll vendor/llvm/dist/test/Analysis/BasicAA/gep-alias.ll vendor/llvm/dist/test/Analysis/BasicAA/getmodrefinfo-cs-cs.ll vendor/llvm/dist/test/Analysis/BasicAA/global-size.ll vendor/llvm/dist/test/Analysis/BasicAA/modref.ll vendor/llvm/dist/test/Analysis/BasicAA/phi-aa.ll vendor/llvm/dist/test/Analysis/BasicAA/phi-and-select.ll vendor/llvm/dist/test/Analysis/BasicAA/unreachable-block.ll vendor/llvm/dist/test/Analysis/GlobalsModRef/aliastest.ll vendor/llvm/dist/test/Analysis/GlobalsModRef/chaining-analysis.ll vendor/llvm/dist/test/Analysis/GlobalsModRef/indirect-global.ll vendor/llvm/dist/test/Analysis/GlobalsModRef/modreftest.ll vendor/llvm/dist/test/Analysis/LoopDependenceAnalysis/alias.ll vendor/llvm/dist/test/Analysis/LoopDependenceAnalysis/siv-strong.ll vendor/llvm/dist/test/Analysis/LoopDependenceAnalysis/siv-weak-crossing.ll vendor/llvm/dist/test/Analysis/LoopDependenceAnalysis/siv-weak-zero.ll vendor/llvm/dist/test/Analysis/LoopDependenceAnalysis/ziv.ll vendor/llvm/dist/test/Analysis/Profiling/profiling-tool-chain.ll vendor/llvm/dist/test/Analysis/ScalarEvolution/nsw.ll vendor/llvm/dist/test/Analysis/ScalarEvolution/scev-aa.ll vendor/llvm/dist/test/Archive/extract.ll vendor/llvm/dist/test/Archive/toc_GNU.ll vendor/llvm/dist/test/Archive/toc_MacOSX.ll vendor/llvm/dist/test/Archive/toc_SVR4.ll vendor/llvm/dist/test/Archive/toc_xpg4.ll vendor/llvm/dist/test/Assembler/2003-05-21-MalformedShiftCrash.ll vendor/llvm/dist/test/Assembler/AutoUpgradeIntrinsics.ll vendor/llvm/dist/test/Assembler/flags.ll vendor/llvm/dist/test/Bindings/Ocaml/analysis.ml vendor/llvm/dist/test/Bindings/Ocaml/bitreader.ml vendor/llvm/dist/test/Bindings/Ocaml/bitwriter.ml vendor/llvm/dist/test/Bindings/Ocaml/executionengine.ml vendor/llvm/dist/test/Bindings/Ocaml/scalar_opts.ml vendor/llvm/dist/test/Bindings/Ocaml/target.ml vendor/llvm/dist/test/Bindings/Ocaml/vmcore.ml vendor/llvm/dist/test/Bitcode/ssse3_palignr.ll.bc vendor/llvm/dist/test/BugPoint/crash-narrowfunctiontest.ll vendor/llvm/dist/test/BugPoint/metadata.ll vendor/llvm/dist/test/BugPoint/remove_arguments_test.ll vendor/llvm/dist/test/CMakeLists.txt vendor/llvm/dist/test/CodeGen/ARM/2007-01-19-InfiniteLoop.ll vendor/llvm/dist/test/CodeGen/ARM/2009-09-28-LdStOptiBug.ll vendor/llvm/dist/test/CodeGen/ARM/2009-11-02-NegativeLane.ll vendor/llvm/dist/test/CodeGen/ARM/2010-03-18-ldm-rtrn.ll vendor/llvm/dist/test/CodeGen/ARM/2010-04-07-DbgValueOtherTargets.ll vendor/llvm/dist/test/CodeGen/ARM/2010-06-29-PartialRedefFastAlloc.ll vendor/llvm/dist/test/CodeGen/ARM/align.ll vendor/llvm/dist/test/CodeGen/ARM/arguments.ll vendor/llvm/dist/test/CodeGen/ARM/bfi.ll vendor/llvm/dist/test/CodeGen/ARM/bits.ll vendor/llvm/dist/test/CodeGen/ARM/bx_fold.ll vendor/llvm/dist/test/CodeGen/ARM/call-tc.ll vendor/llvm/dist/test/CodeGen/ARM/clz.ll vendor/llvm/dist/test/CodeGen/ARM/code-placement.ll vendor/llvm/dist/test/CodeGen/ARM/constants.ll vendor/llvm/dist/test/CodeGen/ARM/div.ll vendor/llvm/dist/test/CodeGen/ARM/fabss.ll vendor/llvm/dist/test/CodeGen/ARM/fadds.ll vendor/llvm/dist/test/CodeGen/ARM/fast-isel.ll vendor/llvm/dist/test/CodeGen/ARM/fcopysign.ll vendor/llvm/dist/test/CodeGen/ARM/fdivs.ll vendor/llvm/dist/test/CodeGen/ARM/fmacs.ll vendor/llvm/dist/test/CodeGen/ARM/fmscs.ll vendor/llvm/dist/test/CodeGen/ARM/fmuls.ll vendor/llvm/dist/test/CodeGen/ARM/fnegs.ll vendor/llvm/dist/test/CodeGen/ARM/fnmacs.ll vendor/llvm/dist/test/CodeGen/ARM/fnmscs.ll vendor/llvm/dist/test/CodeGen/ARM/fp.ll vendor/llvm/dist/test/CodeGen/ARM/fpcmp-opt.ll vendor/llvm/dist/test/CodeGen/ARM/fpcmp_ueq.ll vendor/llvm/dist/test/CodeGen/ARM/fpconsts.ll vendor/llvm/dist/test/CodeGen/ARM/fpconv.ll vendor/llvm/dist/test/CodeGen/ARM/hello.ll vendor/llvm/dist/test/CodeGen/ARM/ifcvt6.ll vendor/llvm/dist/test/CodeGen/ARM/ifcvt7.ll vendor/llvm/dist/test/CodeGen/ARM/ifcvt8.ll vendor/llvm/dist/test/CodeGen/ARM/inlineasm3.ll vendor/llvm/dist/test/CodeGen/ARM/ispositive.ll vendor/llvm/dist/test/CodeGen/ARM/ldm.ll vendor/llvm/dist/test/CodeGen/ARM/long.ll vendor/llvm/dist/test/CodeGen/ARM/long_shift.ll vendor/llvm/dist/test/CodeGen/ARM/lsr-code-insertion.ll vendor/llvm/dist/test/CodeGen/ARM/lsr-on-unrolled-loops.ll vendor/llvm/dist/test/CodeGen/ARM/mul_const.ll vendor/llvm/dist/test/CodeGen/ARM/pack.ll vendor/llvm/dist/test/CodeGen/ARM/reg_sequence.ll vendor/llvm/dist/test/CodeGen/ARM/rev.ll vendor/llvm/dist/test/CodeGen/ARM/select-imm.ll vendor/llvm/dist/test/CodeGen/ARM/select.ll vendor/llvm/dist/test/CodeGen/ARM/select_xform.ll vendor/llvm/dist/test/CodeGen/ARM/shifter_operand.ll vendor/llvm/dist/test/CodeGen/ARM/spill-q.ll vendor/llvm/dist/test/CodeGen/ARM/stm.ll vendor/llvm/dist/test/CodeGen/ARM/str_pre-2.ll vendor/llvm/dist/test/CodeGen/ARM/tail-opts.ll vendor/llvm/dist/test/CodeGen/ARM/unaligned_load_store.ll vendor/llvm/dist/test/CodeGen/ARM/vbits.ll vendor/llvm/dist/test/CodeGen/ARM/vceq.ll vendor/llvm/dist/test/CodeGen/ARM/vcge.ll vendor/llvm/dist/test/CodeGen/ARM/vcgt.ll vendor/llvm/dist/test/CodeGen/ARM/vcombine.ll vendor/llvm/dist/test/CodeGen/ARM/vcvt.ll vendor/llvm/dist/test/CodeGen/ARM/vdup.ll vendor/llvm/dist/test/CodeGen/ARM/vext.ll vendor/llvm/dist/test/CodeGen/ARM/vget_lane.ll vendor/llvm/dist/test/CodeGen/ARM/vld1.ll vendor/llvm/dist/test/CodeGen/ARM/vld2.ll vendor/llvm/dist/test/CodeGen/ARM/vld3.ll vendor/llvm/dist/test/CodeGen/ARM/vld4.ll vendor/llvm/dist/test/CodeGen/ARM/vldlane.ll vendor/llvm/dist/test/CodeGen/ARM/vmov.ll vendor/llvm/dist/test/CodeGen/ARM/vmul.ll vendor/llvm/dist/test/CodeGen/ARM/vrev.ll vendor/llvm/dist/test/CodeGen/ARM/vst1.ll vendor/llvm/dist/test/CodeGen/ARM/vst2.ll vendor/llvm/dist/test/CodeGen/ARM/vst3.ll vendor/llvm/dist/test/CodeGen/ARM/vst4.ll vendor/llvm/dist/test/CodeGen/ARM/vstlane.ll vendor/llvm/dist/test/CodeGen/Alpha/2010-04-07-DbgValueOtherTargets.ll vendor/llvm/dist/test/CodeGen/CellSPU/2010-04-07-DbgValueOtherTargets.ll vendor/llvm/dist/test/CodeGen/CellSPU/arg_ret.ll vendor/llvm/dist/test/CodeGen/CellSPU/fcmp32.ll vendor/llvm/dist/test/CodeGen/CellSPU/immed32.ll vendor/llvm/dist/test/CodeGen/CellSPU/loads.ll vendor/llvm/dist/test/CodeGen/CellSPU/rotate_ops.ll vendor/llvm/dist/test/CodeGen/CellSPU/sext128.ll vendor/llvm/dist/test/CodeGen/CellSPU/shift_ops.ll vendor/llvm/dist/test/CodeGen/CellSPU/shuffles.ll vendor/llvm/dist/test/CodeGen/CellSPU/stores.ll vendor/llvm/dist/test/CodeGen/CellSPU/v2f32.ll vendor/llvm/dist/test/CodeGen/CellSPU/v2i32.ll vendor/llvm/dist/test/CodeGen/Generic/add-with-overflow-128.ll vendor/llvm/dist/test/CodeGen/Generic/crash.ll vendor/llvm/dist/test/CodeGen/MBlaze/2010-04-07-DbgValueOtherTargets.ll vendor/llvm/dist/test/CodeGen/MBlaze/brind.ll vendor/llvm/dist/test/CodeGen/MBlaze/cc.ll vendor/llvm/dist/test/CodeGen/MBlaze/fpu.ll vendor/llvm/dist/test/CodeGen/MBlaze/imm.ll vendor/llvm/dist/test/CodeGen/MBlaze/jumptable.ll vendor/llvm/dist/test/CodeGen/MBlaze/loop.ll vendor/llvm/dist/test/CodeGen/MBlaze/mul.ll vendor/llvm/dist/test/CodeGen/MBlaze/shift.ll vendor/llvm/dist/test/CodeGen/MSP430/2010-04-07-DbgValueOtherTargets.ll vendor/llvm/dist/test/CodeGen/Mips/2008-07-15-InternalConstant.ll vendor/llvm/dist/test/CodeGen/Mips/2010-04-07-DbgValueOtherTargets.ll vendor/llvm/dist/test/CodeGen/Mips/2010-07-20-Select.ll vendor/llvm/dist/test/CodeGen/PowerPC/2007-03-24-cntlzd.ll vendor/llvm/dist/test/CodeGen/PowerPC/2010-04-07-DbgValueOtherTargets.ll vendor/llvm/dist/test/CodeGen/PowerPC/align.ll vendor/llvm/dist/test/CodeGen/PowerPC/compare-simm.ll vendor/llvm/dist/test/CodeGen/PowerPC/indirectbr.ll vendor/llvm/dist/test/CodeGen/PowerPC/rlwimi2.ll vendor/llvm/dist/test/CodeGen/PowerPC/stfiwx.ll vendor/llvm/dist/test/CodeGen/PowerPC/unsafe-math.ll vendor/llvm/dist/test/CodeGen/SPARC/2010-04-07-DbgValueOtherTargets.ll vendor/llvm/dist/test/CodeGen/SPARC/basictest.ll vendor/llvm/dist/test/CodeGen/SystemZ/2010-04-07-DbgValueOtherTargets.ll vendor/llvm/dist/test/CodeGen/Thumb/2010-04-07-DbgValueOtherTargets.ll vendor/llvm/dist/test/CodeGen/Thumb/2010-07-15-debugOrdering.ll vendor/llvm/dist/test/CodeGen/Thumb/barrier.ll vendor/llvm/dist/test/CodeGen/Thumb/dyn-stackalloc.ll vendor/llvm/dist/test/CodeGen/Thumb/large-stack.ll vendor/llvm/dist/test/CodeGen/Thumb/long.ll vendor/llvm/dist/test/CodeGen/Thumb/select.ll vendor/llvm/dist/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll vendor/llvm/dist/test/CodeGen/Thumb2/2010-03-15-AsmCCClobber.ll vendor/llvm/dist/test/CodeGen/Thumb2/2010-06-14-NEONCoalescer.ll vendor/llvm/dist/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll vendor/llvm/dist/test/CodeGen/Thumb2/2010-08-10-VarSizedAllocaBug.ll vendor/llvm/dist/test/CodeGen/Thumb2/bfi.ll vendor/llvm/dist/test/CodeGen/Thumb2/cortex-fp.ll vendor/llvm/dist/test/CodeGen/Thumb2/cross-rc-coalescing-2.ll vendor/llvm/dist/test/CodeGen/Thumb2/div.ll vendor/llvm/dist/test/CodeGen/Thumb2/large-stack.ll vendor/llvm/dist/test/CodeGen/Thumb2/machine-licm.ll vendor/llvm/dist/test/CodeGen/Thumb2/thumb2-barrier.ll vendor/llvm/dist/test/CodeGen/Thumb2/thumb2-ifcvt3.ll vendor/llvm/dist/test/CodeGen/Thumb2/thumb2-ldrd.ll vendor/llvm/dist/test/CodeGen/Thumb2/thumb2-mov.ll vendor/llvm/dist/test/CodeGen/Thumb2/thumb2-mul.ll vendor/llvm/dist/test/CodeGen/Thumb2/thumb2-select_xform.ll vendor/llvm/dist/test/CodeGen/Thumb2/thumb2-spill-q.ll vendor/llvm/dist/test/CodeGen/X86/2007-04-25-MMX-PADDQ.ll vendor/llvm/dist/test/CodeGen/X86/2007-05-15-maskmovq.ll vendor/llvm/dist/test/CodeGen/X86/2007-06-15-IntToMMX.ll vendor/llvm/dist/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll vendor/llvm/dist/test/CodeGen/X86/2008-02-18-TailMergingBug.ll vendor/llvm/dist/test/CodeGen/X86/2008-04-08-CoalescerCrash.ll vendor/llvm/dist/test/CodeGen/X86/2008-06-13-VolatileLoadStore.ll vendor/llvm/dist/test/CodeGen/X86/2008-07-19-movups-spills.ll vendor/llvm/dist/test/CodeGen/X86/2008-08-23-64Bit-maskmovq.ll vendor/llvm/dist/test/CodeGen/X86/2008-09-05-sinttofp-2xi32.ll vendor/llvm/dist/test/CodeGen/X86/2008-09-17-inline-asm-1.ll vendor/llvm/dist/test/CodeGen/X86/2008-10-27-CoalescerBug.ll vendor/llvm/dist/test/CodeGen/X86/2008-10-27-StackRealignment.ll vendor/llvm/dist/test/CodeGen/X86/2009-01-13-DoubleUpdate.ll vendor/llvm/dist/test/CodeGen/X86/2009-01-27-NullStrings.ll vendor/llvm/dist/test/CodeGen/X86/2009-02-26-MachineLICMBug.ll vendor/llvm/dist/test/CodeGen/X86/2009-04-24.ll vendor/llvm/dist/test/CodeGen/X86/2009-06-03-Win64DisableRedZone.ll vendor/llvm/dist/test/CodeGen/X86/2009-06-03-Win64SpillXMM.ll vendor/llvm/dist/test/CodeGen/X86/2009-06-05-ScalarToVectorByteMMX.ll vendor/llvm/dist/test/CodeGen/X86/2009-07-07-SplitICmp.ll vendor/llvm/dist/test/CodeGen/X86/2009-08-02-mmx-scalar-to-vector.ll vendor/llvm/dist/test/CodeGen/X86/2009-08-06-inlineasm.ll vendor/llvm/dist/test/CodeGen/X86/2009-09-10-SpillComments.ll vendor/llvm/dist/test/CodeGen/X86/2009-12-11-TLSNoRedZone.ll vendor/llvm/dist/test/CodeGen/X86/2010-04-07-DbgValueOtherTargets.ll vendor/llvm/dist/test/CodeGen/X86/2010-04-23-mmx-movdq2q.ll vendor/llvm/dist/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll vendor/llvm/dist/test/CodeGen/X86/2010-05-25-DotDebugLoc.ll vendor/llvm/dist/test/CodeGen/X86/2010-05-26-DotDebugLoc.ll vendor/llvm/dist/test/CodeGen/X86/2010-05-28-Crash.ll vendor/llvm/dist/test/CodeGen/X86/2010-06-25-CoalescerSubRegDefDead.ll vendor/llvm/dist/test/CodeGen/X86/2010-07-02-asm-alignstack.ll vendor/llvm/dist/test/CodeGen/X86/3addr-or.ll vendor/llvm/dist/test/CodeGen/X86/abi-isel.ll vendor/llvm/dist/test/CodeGen/X86/add.ll vendor/llvm/dist/test/CodeGen/X86/addr-label-difference.ll vendor/llvm/dist/test/CodeGen/X86/atomic_op.ll vendor/llvm/dist/test/CodeGen/X86/avx-128.ll vendor/llvm/dist/test/CodeGen/X86/avx-intrinsics-x86.ll vendor/llvm/dist/test/CodeGen/X86/avx-intrinsics-x86_64.ll vendor/llvm/dist/test/CodeGen/X86/bswap-inline-asm.ll vendor/llvm/dist/test/CodeGen/X86/byval.ll vendor/llvm/dist/test/CodeGen/X86/commute-two-addr.ll vendor/llvm/dist/test/CodeGen/X86/compare-inf.ll vendor/llvm/dist/test/CodeGen/X86/crash.ll vendor/llvm/dist/test/CodeGen/X86/dagcombine-buildvector.ll vendor/llvm/dist/test/CodeGen/X86/dll-linkage.ll vendor/llvm/dist/test/CodeGen/X86/dollar-name.ll vendor/llvm/dist/test/CodeGen/X86/fast-isel-bc.ll vendor/llvm/dist/test/CodeGen/X86/fast-isel-gep.ll vendor/llvm/dist/test/CodeGen/X86/fast-isel-mem.ll vendor/llvm/dist/test/CodeGen/X86/fp-in-intregs.ll vendor/llvm/dist/test/CodeGen/X86/fp-stack-compare.ll vendor/llvm/dist/test/CodeGen/X86/ghc-cc.ll vendor/llvm/dist/test/CodeGen/X86/global-sections.ll vendor/llvm/dist/test/CodeGen/X86/insertelement-legalize.ll vendor/llvm/dist/test/CodeGen/X86/legalizedag_vec.ll vendor/llvm/dist/test/CodeGen/X86/licm-symbol.ll vendor/llvm/dist/test/CodeGen/X86/loop-blocks.ll vendor/llvm/dist/test/CodeGen/X86/lsr-reuse.ll vendor/llvm/dist/test/CodeGen/X86/machine-cse.ll vendor/llvm/dist/test/CodeGen/X86/memcmp.ll vendor/llvm/dist/test/CodeGen/X86/memcpy.ll vendor/llvm/dist/test/CodeGen/X86/memset-2.ll vendor/llvm/dist/test/CodeGen/X86/memset64-on-x86-32.ll vendor/llvm/dist/test/CodeGen/X86/mingw-alloca.ll vendor/llvm/dist/test/CodeGen/X86/mmx-arg-passing.ll vendor/llvm/dist/test/CodeGen/X86/mmx-arg-passing2.ll vendor/llvm/dist/test/CodeGen/X86/mmx-arith.ll vendor/llvm/dist/test/CodeGen/X86/mmx-bitcast-to-i64.ll vendor/llvm/dist/test/CodeGen/X86/mmx-insert-element.ll vendor/llvm/dist/test/CodeGen/X86/mmx-pinsrw.ll vendor/llvm/dist/test/CodeGen/X86/mmx-punpckhdq.ll vendor/llvm/dist/test/CodeGen/X86/mmx-shift.ll vendor/llvm/dist/test/CodeGen/X86/mmx-shuffle.ll vendor/llvm/dist/test/CodeGen/X86/mmx-vzmovl-2.ll vendor/llvm/dist/test/CodeGen/X86/mmx-vzmovl.ll vendor/llvm/dist/test/CodeGen/X86/movgs.ll vendor/llvm/dist/test/CodeGen/X86/negative-sin.ll vendor/llvm/dist/test/CodeGen/X86/phi-immediate-factoring.ll vendor/llvm/dist/test/CodeGen/X86/phys_subreg_coalesce-2.ll vendor/llvm/dist/test/CodeGen/X86/pic.ll vendor/llvm/dist/test/CodeGen/X86/pic_jumptable.ll vendor/llvm/dist/test/CodeGen/X86/postra-licm.ll vendor/llvm/dist/test/CodeGen/X86/pr2659.ll vendor/llvm/dist/test/CodeGen/X86/pr3522.ll vendor/llvm/dist/test/CodeGen/X86/prefetch.ll vendor/llvm/dist/test/CodeGen/X86/rodata-relocs.ll vendor/llvm/dist/test/CodeGen/X86/scalar_widen_div.ll vendor/llvm/dist/test/CodeGen/X86/select.ll vendor/llvm/dist/test/CodeGen/X86/shift-folding.ll vendor/llvm/dist/test/CodeGen/X86/sibcall-3.ll vendor/llvm/dist/test/CodeGen/X86/sibcall.ll vendor/llvm/dist/test/CodeGen/X86/sink-hoist.ll vendor/llvm/dist/test/CodeGen/X86/sse-align-11.ll vendor/llvm/dist/test/CodeGen/X86/sse2.ll vendor/llvm/dist/test/CodeGen/X86/sse3.ll vendor/llvm/dist/test/CodeGen/X86/sse41.ll vendor/llvm/dist/test/CodeGen/X86/stack-align.ll vendor/llvm/dist/test/CodeGen/X86/store-narrow.ll vendor/llvm/dist/test/CodeGen/X86/store_op_load_fold2.ll vendor/llvm/dist/test/CodeGen/X86/switch-bt.ll vendor/llvm/dist/test/CodeGen/X86/tail-opts.ll vendor/llvm/dist/test/CodeGen/X86/tailcall-largecode.ll vendor/llvm/dist/test/CodeGen/X86/tailcall-stackalign.ll vendor/llvm/dist/test/CodeGen/X86/tailcallfp2.ll vendor/llvm/dist/test/CodeGen/X86/tailcallstack64.ll vendor/llvm/dist/test/CodeGen/X86/tls-pic.ll vendor/llvm/dist/test/CodeGen/X86/tls9.ll vendor/llvm/dist/test/CodeGen/X86/twoaddr-lea.ll vendor/llvm/dist/test/CodeGen/X86/umul-with-overflow.ll vendor/llvm/dist/test/CodeGen/X86/unaligned-load.ll vendor/llvm/dist/test/CodeGen/X86/unknown-location.ll vendor/llvm/dist/test/CodeGen/X86/vec-trunc-store.ll vendor/llvm/dist/test/CodeGen/X86/vec_cast.ll vendor/llvm/dist/test/CodeGen/X86/vec_compare-2.ll vendor/llvm/dist/test/CodeGen/X86/vec_ext_inreg.ll vendor/llvm/dist/test/CodeGen/X86/vec_insert-5.ll vendor/llvm/dist/test/CodeGen/X86/vec_insert-7.ll vendor/llvm/dist/test/CodeGen/X86/vec_set-F.ll vendor/llvm/dist/test/CodeGen/X86/vec_shuffle-27.ll vendor/llvm/dist/test/CodeGen/X86/vec_shuffle-30.ll vendor/llvm/dist/test/CodeGen/X86/vec_shuffle-37.ll vendor/llvm/dist/test/CodeGen/X86/vec_zero_cse.ll vendor/llvm/dist/test/CodeGen/X86/vshift-1.ll vendor/llvm/dist/test/CodeGen/X86/vshift-2.ll vendor/llvm/dist/test/CodeGen/X86/vshift-3.ll vendor/llvm/dist/test/CodeGen/X86/vshift-4.ll vendor/llvm/dist/test/CodeGen/X86/vshift-5.ll vendor/llvm/dist/test/CodeGen/X86/vsplit-and.ll vendor/llvm/dist/test/CodeGen/X86/widen_arith-1.ll vendor/llvm/dist/test/CodeGen/X86/widen_arith-2.ll vendor/llvm/dist/test/CodeGen/X86/widen_arith-3.ll vendor/llvm/dist/test/CodeGen/X86/widen_arith-4.ll vendor/llvm/dist/test/CodeGen/X86/widen_arith-5.ll vendor/llvm/dist/test/CodeGen/X86/widen_arith-6.ll vendor/llvm/dist/test/CodeGen/X86/widen_cast-1.ll vendor/llvm/dist/test/CodeGen/X86/widen_cast-2.ll vendor/llvm/dist/test/CodeGen/X86/widen_cast-3.ll vendor/llvm/dist/test/CodeGen/X86/widen_cast-4.ll vendor/llvm/dist/test/CodeGen/X86/widen_cast-5.ll vendor/llvm/dist/test/CodeGen/X86/widen_cast-6.ll vendor/llvm/dist/test/CodeGen/X86/widen_conv-1.ll vendor/llvm/dist/test/CodeGen/X86/widen_conv-2.ll vendor/llvm/dist/test/CodeGen/X86/widen_conv-3.ll vendor/llvm/dist/test/CodeGen/X86/widen_conv-4.ll vendor/llvm/dist/test/CodeGen/X86/widen_extract-1.ll vendor/llvm/dist/test/CodeGen/X86/widen_load-1.ll vendor/llvm/dist/test/CodeGen/X86/widen_load-2.ll vendor/llvm/dist/test/CodeGen/X86/widen_shuffle-1.ll vendor/llvm/dist/test/CodeGen/X86/win_chkstk.ll vendor/llvm/dist/test/CodeGen/XCore/2010-04-07-DbgValueOtherTargets.ll vendor/llvm/dist/test/CodeGen/XCore/ashr.ll vendor/llvm/dist/test/CodeGen/XCore/globals.ll vendor/llvm/dist/test/DebugInfo/2009-10-16-Scope.ll vendor/llvm/dist/test/DebugInfo/2010-05-10-MultipleCU.ll vendor/llvm/dist/test/DebugInfo/2010-08-04-StackVariable.ll vendor/llvm/dist/test/ExecutionEngine/2002-12-16-ArgTest.ll vendor/llvm/dist/test/ExecutionEngine/2003-01-04-ArgumentBug.ll vendor/llvm/dist/test/ExecutionEngine/2003-01-04-LoopTest.ll vendor/llvm/dist/test/ExecutionEngine/2003-01-04-PhiTest.ll vendor/llvm/dist/test/ExecutionEngine/2003-01-09-SARTest.ll vendor/llvm/dist/test/ExecutionEngine/2003-01-10-FUCOM.ll vendor/llvm/dist/test/ExecutionEngine/2003-01-15-AlignmentTest.ll vendor/llvm/dist/test/ExecutionEngine/2003-05-06-LivenessClobber.ll vendor/llvm/dist/test/ExecutionEngine/2003-05-07-ArgumentTest.ll vendor/llvm/dist/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll vendor/llvm/dist/test/ExecutionEngine/2003-06-04-bzip2-bug.ll vendor/llvm/dist/test/ExecutionEngine/2003-06-05-PHIBug.ll vendor/llvm/dist/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll vendor/llvm/dist/test/ExecutionEngine/2003-08-21-EnvironmentTest.ll vendor/llvm/dist/test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll vendor/llvm/dist/test/ExecutionEngine/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll vendor/llvm/dist/test/ExecutionEngine/2005-12-02-TailCallBug.ll vendor/llvm/dist/test/ExecutionEngine/2007-12-10-APIntLoadStore.ll vendor/llvm/dist/test/ExecutionEngine/2008-06-05-APInt-OverAShr.ll vendor/llvm/dist/test/ExecutionEngine/2010-01-15-UndefValue.ll vendor/llvm/dist/test/ExecutionEngine/fpbitcast.ll vendor/llvm/dist/test/ExecutionEngine/hello.ll vendor/llvm/dist/test/ExecutionEngine/hello2.ll vendor/llvm/dist/test/ExecutionEngine/simplesttest.ll vendor/llvm/dist/test/ExecutionEngine/simpletest.ll vendor/llvm/dist/test/ExecutionEngine/stubs.ll vendor/llvm/dist/test/ExecutionEngine/test-arith.ll vendor/llvm/dist/test/ExecutionEngine/test-branch.ll vendor/llvm/dist/test/ExecutionEngine/test-call.ll vendor/llvm/dist/test/ExecutionEngine/test-cast.ll vendor/llvm/dist/test/ExecutionEngine/test-constantexpr.ll vendor/llvm/dist/test/ExecutionEngine/test-fp.ll vendor/llvm/dist/test/ExecutionEngine/test-loadstore.ll vendor/llvm/dist/test/ExecutionEngine/test-logical.ll vendor/llvm/dist/test/ExecutionEngine/test-loop.ll vendor/llvm/dist/test/ExecutionEngine/test-malloc.ll vendor/llvm/dist/test/ExecutionEngine/test-phi.ll vendor/llvm/dist/test/ExecutionEngine/test-ret.ll vendor/llvm/dist/test/ExecutionEngine/test-setcond-fp.ll vendor/llvm/dist/test/ExecutionEngine/test-setcond-int.ll vendor/llvm/dist/test/ExecutionEngine/test-shift.ll vendor/llvm/dist/test/Feature/load_module.ll vendor/llvm/dist/test/FrontendAda/array_constructor.adb vendor/llvm/dist/test/FrontendAda/array_range_ref.adb vendor/llvm/dist/test/FrontendAda/array_ref.adb vendor/llvm/dist/test/FrontendAda/array_size.adb vendor/llvm/dist/test/FrontendAda/asm.adb vendor/llvm/dist/test/FrontendAda/debug_var_size.ads vendor/llvm/dist/test/FrontendAda/element_copy.adb vendor/llvm/dist/test/FrontendAda/emit_var.ads vendor/llvm/dist/test/FrontendAda/fat_fields.adb vendor/llvm/dist/test/FrontendAda/field_order.ads vendor/llvm/dist/test/FrontendAda/global_constant.adb vendor/llvm/dist/test/FrontendAda/init_size.ads vendor/llvm/dist/test/FrontendAda/negative_field_offset.adb vendor/llvm/dist/test/FrontendAda/non_bitfield.ads vendor/llvm/dist/test/FrontendAda/non_lvalue.adb vendor/llvm/dist/test/FrontendAda/placeholder.adb vendor/llvm/dist/test/FrontendAda/switch.adb vendor/llvm/dist/test/FrontendAda/unc_constructor.adb vendor/llvm/dist/test/FrontendAda/var_offset.adb vendor/llvm/dist/test/FrontendAda/var_size.adb vendor/llvm/dist/test/FrontendAda/vce.adb vendor/llvm/dist/test/FrontendAda/vce_lv.adb vendor/llvm/dist/test/FrontendC++/2004-03-09-UnmangledBuiltinMethods.cpp vendor/llvm/dist/test/FrontendC++/2004-09-27-DidntEmitTemplate.cpp vendor/llvm/dist/test/FrontendC++/2005-07-21-VirtualBaseAccess.cpp vendor/llvm/dist/test/FrontendC++/2006-09-27-Debug-Protection.cpp vendor/llvm/dist/test/FrontendC++/2006-10-30-ClassBitfield.cpp vendor/llvm/dist/test/FrontendC++/2006-11-20-GlobalSymbols.cpp vendor/llvm/dist/test/FrontendC++/2006-11-30-ConstantExprCrash.cpp vendor/llvm/dist/test/FrontendC++/2007-01-02-UnboundedArray.cpp vendor/llvm/dist/test/FrontendC++/2007-01-06-ELF-Thunk-Sections.cpp vendor/llvm/dist/test/FrontendC++/2007-01-06-PtrMethodInit.cpp vendor/llvm/dist/test/FrontendC++/2007-03-27-FunctionVarRename.cpp vendor/llvm/dist/test/FrontendC++/2007-04-11-InlineStorageClassC++.cpp vendor/llvm/dist/test/FrontendC++/2007-05-03-VectorInit.cpp vendor/llvm/dist/test/FrontendC++/2007-05-16-ReverseBitFieldCrash.cpp vendor/llvm/dist/test/FrontendC++/2007-05-23-TryFinally.cpp vendor/llvm/dist/test/FrontendC++/2007-07-29-RestrictPtrArg.cpp vendor/llvm/dist/test/FrontendC++/2007-07-29-RestrictRefArg.cpp vendor/llvm/dist/test/FrontendC++/2007-08-01-RestrictMethod.cpp vendor/llvm/dist/test/FrontendC++/2007-09-10-RecursiveTypeResolution.cpp vendor/llvm/dist/test/FrontendC++/2007-10-01-StructResize.cpp vendor/llvm/dist/test/FrontendC++/2008-10-29-WrongOffset.cpp vendor/llvm/dist/test/FrontendC++/2009-02-16-CtorNames-dbg.cpp vendor/llvm/dist/test/FrontendC++/2009-03-17-dbg.cpp vendor/llvm/dist/test/FrontendC++/2009-04-21-DtorNames-dbg.cpp vendor/llvm/dist/test/FrontendC++/2009-04-23-bool2.cpp vendor/llvm/dist/test/FrontendC++/2009-05-04-PureConstNounwind.cpp vendor/llvm/dist/test/FrontendC++/2009-06-16-DebugInfoCrash.cpp vendor/llvm/dist/test/FrontendC++/2009-06-20-DarwinPPCLayout.cpp vendor/llvm/dist/test/FrontendC++/2009-08-05-ZeroInitWidth.cpp vendor/llvm/dist/test/FrontendC++/2009-08-11-VectorRetTy.cpp vendor/llvm/dist/test/FrontendC++/2009-09-04-modify-crash.cpp vendor/llvm/dist/test/FrontendC++/2009-09-09-packed-layout.cpp vendor/llvm/dist/test/FrontendC++/2009-10-27-crash.cpp vendor/llvm/dist/test/FrontendC++/2010-03-22-empty-baseclass.cpp vendor/llvm/dist/test/FrontendC++/2010-04-30-OptimizedMethod-Dbg.cpp vendor/llvm/dist/test/FrontendC++/2010-05-11-alwaysinlineinstantiation.cpp vendor/llvm/dist/test/FrontendC++/2010-05-12-PtrToMember-Dbg.cpp vendor/llvm/dist/test/FrontendC++/2010-06-22-BitfieldInit.cpp vendor/llvm/dist/test/FrontendC++/2010-06-22-ZeroBitfield.cpp vendor/llvm/dist/test/FrontendC++/2010-07-19-nowarn.cpp vendor/llvm/dist/test/FrontendC++/2010-07-23-DeclLoc.cpp vendor/llvm/dist/test/FrontendC++/member-alignment.cpp vendor/llvm/dist/test/FrontendC++/ptr-to-method-devirt.cpp vendor/llvm/dist/test/FrontendC++/varargs.cpp vendor/llvm/dist/test/FrontendC++/weak-external.cpp vendor/llvm/dist/test/FrontendC++/x86-64-abi-sret-vs-2word-struct-param.cpp vendor/llvm/dist/test/FrontendC/2003-08-06-BuiltinSetjmpLongjmp.c vendor/llvm/dist/test/FrontendC/2003-08-17-DeadCodeShortCircuit.c vendor/llvm/dist/test/FrontendC/2003-11-03-AddrArrayElement.c vendor/llvm/dist/test/FrontendC/2003-11-08-PointerSubNotGetelementptr.c vendor/llvm/dist/test/FrontendC/2003-11-13-TypeSafety.c vendor/llvm/dist/test/FrontendC/2003-12-14-ExternInlineSupport.c vendor/llvm/dist/test/FrontendC/2004-02-12-LargeAggregateCopy.c vendor/llvm/dist/test/FrontendC/2004-02-13-BuiltinFrameReturnAddress.c vendor/llvm/dist/test/FrontendC/2004-02-13-IllegalVararg.c vendor/llvm/dist/test/FrontendC/2004-02-13-Memset.c vendor/llvm/dist/test/FrontendC/2004-02-20-Builtins.c vendor/llvm/dist/test/FrontendC/2004-03-07-ExternalConstant.c vendor/llvm/dist/test/FrontendC/2004-06-17-UnorderedCompares.c vendor/llvm/dist/test/FrontendC/2004-11-27-StaticFunctionRedeclare.c vendor/llvm/dist/test/FrontendC/2005-01-02-PointerDifference.c vendor/llvm/dist/test/FrontendC/2005-02-27-MarkGlobalConstant.c vendor/llvm/dist/test/FrontendC/2005-12-04-AttributeUsed.c vendor/llvm/dist/test/FrontendC/2006-03-03-MissingInitializer.c vendor/llvm/dist/test/FrontendC/2007-01-06-KNR-Proto.c vendor/llvm/dist/test/FrontendC/2007-02-04-AddrLValue-2.c vendor/llvm/dist/test/FrontendC/2007-02-04-AddrLValue.c vendor/llvm/dist/test/FrontendC/2007-02-04-EmptyStruct.c vendor/llvm/dist/test/FrontendC/2007-02-04-WITH_SIZE_EXPR.c vendor/llvm/dist/test/FrontendC/2007-02-05-nested.c vendor/llvm/dist/test/FrontendC/2007-02-07-AddrLabel.c vendor/llvm/dist/test/FrontendC/2007-02-16-VoidPtrDiff.c vendor/llvm/dist/test/FrontendC/2007-02-16-WritableStrings.c vendor/llvm/dist/test/FrontendC/2007-02-25-C-DotDotDot.c vendor/llvm/dist/test/FrontendC/2007-03-01-VarSizeArrayIdx.c vendor/llvm/dist/test/FrontendC/2007-04-11-InlineAsmStruct.c vendor/llvm/dist/test/FrontendC/2007-04-11-InlineAsmUnion.c vendor/llvm/dist/test/FrontendC/2007-04-11-InlineStorageClassC89.c vendor/llvm/dist/test/FrontendC/2007-04-11-InlineStorageClassC99.c vendor/llvm/dist/test/FrontendC/2007-04-13-InlineAsmStruct2.c vendor/llvm/dist/test/FrontendC/2007-04-13-InlineAsmUnion2.c vendor/llvm/dist/test/FrontendC/2007-04-24-VolatileStructCopy.c vendor/llvm/dist/test/FrontendC/2007-04-24-bit-not-expr.c vendor/llvm/dist/test/FrontendC/2007-04-24-str-const.c vendor/llvm/dist/test/FrontendC/2007-05-07-PaddingElements.c vendor/llvm/dist/test/FrontendC/2007-05-11-str-const.c vendor/llvm/dist/test/FrontendC/2007-05-15-PaddingElement.c vendor/llvm/dist/test/FrontendC/2007-05-16-EmptyStruct.c vendor/llvm/dist/test/FrontendC/2007-05-29-UnionCopy.c vendor/llvm/dist/test/FrontendC/2007-06-05-NoInlineAttribute.c vendor/llvm/dist/test/FrontendC/2007-06-15-AnnotateAttribute.c vendor/llvm/dist/test/FrontendC/2007-06-18-SextAttrAggregate.c vendor/llvm/dist/test/FrontendC/2007-07-29-RestrictPtrArg.c vendor/llvm/dist/test/FrontendC/2007-08-01-LoadStoreAlign.c vendor/llvm/dist/test/FrontendC/2007-08-21-ComplexCst.c vendor/llvm/dist/test/FrontendC/2007-09-05-ConstCtor.c vendor/llvm/dist/test/FrontendC/2007-09-20-GcrootAttribute.c vendor/llvm/dist/test/FrontendC/2007-10-01-BuildArrayRef.c vendor/llvm/dist/test/FrontendC/2007-11-07-AlignedMemcpy.c vendor/llvm/dist/test/FrontendC/2007-11-27-SExtZExt.c vendor/llvm/dist/test/FrontendC/2008-01-25-ByValReadNone.c vendor/llvm/dist/test/FrontendC/2008-01-28-PragmaMark.c vendor/llvm/dist/test/FrontendC/2008-03-03-CtorAttrType.c vendor/llvm/dist/test/FrontendC/2008-03-05-syncPtr.c vendor/llvm/dist/test/FrontendC/2008-05-19-AlwaysInline.c vendor/llvm/dist/test/FrontendC/2008-08-07-AlignPadding1.c vendor/llvm/dist/test/FrontendC/2008-08-07-AlignPadding2.c vendor/llvm/dist/test/FrontendC/2008-10-30-ZeroPlacement.c vendor/llvm/dist/test/FrontendC/2008-11-02-WeakAlias.c vendor/llvm/dist/test/FrontendC/2008-11-08-InstCombineSelect.c vendor/llvm/dist/test/FrontendC/2008-11-11-AnnotateStructFieldAttribute.c vendor/llvm/dist/test/FrontendC/2008-12-23-AsmIntPointerTie.c vendor/llvm/dist/test/FrontendC/2009-01-05-BlockInlining.c vendor/llvm/dist/test/FrontendC/2009-03-13-dbg.c vendor/llvm/dist/test/FrontendC/2009-05-04-EnumInreg.c vendor/llvm/dist/test/FrontendC/2010-01-13-MemBarrier.c vendor/llvm/dist/test/FrontendC/2010-05-18-asmsched.c vendor/llvm/dist/test/FrontendC/2010-05-26-AsmSideEffect.c vendor/llvm/dist/test/FrontendC/2010-06-28-nowarn.c vendor/llvm/dist/test/FrontendC/2010-07-14-overconservative-align.c vendor/llvm/dist/test/FrontendC/attribute_constructor.c vendor/llvm/dist/test/FrontendC/block-copy.c vendor/llvm/dist/test/FrontendC/cstring-align.c vendor/llvm/dist/test/FrontendC/extern-weak.c vendor/llvm/dist/test/FrontendC/func-aligned.c vendor/llvm/dist/test/FrontendC/hidden-visibility.c vendor/llvm/dist/test/FrontendC/implicit-arg.c vendor/llvm/dist/test/FrontendC/libcalls-d.c vendor/llvm/dist/test/FrontendC/libcalls-ld.c vendor/llvm/dist/test/FrontendC/libcalls.c vendor/llvm/dist/test/FrontendC/pr3518.c vendor/llvm/dist/test/FrontendC/pr4349.c vendor/llvm/dist/test/FrontendC/pr5406.c vendor/llvm/dist/test/FrontendC/ptr-rotate.c vendor/llvm/dist/test/FrontendC/sret.c vendor/llvm/dist/test/FrontendC/sret2.c vendor/llvm/dist/test/FrontendC/unaligned-memcpy.c vendor/llvm/dist/test/FrontendFortran/2008-11-03-OptionOverride.f90 vendor/llvm/dist/test/FrontendFortran/2009-02-09-FloorDivExpr.f90 vendor/llvm/dist/test/FrontendFortran/cpow.f90 vendor/llvm/dist/test/FrontendObjC++/2007-10-03-MetadataPointers.mm vendor/llvm/dist/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm vendor/llvm/dist/test/FrontendObjC++/2010-08-04-Template.mm vendor/llvm/dist/test/FrontendObjC++/2010-08-06-X.Y-syntax.mm vendor/llvm/dist/test/FrontendObjC/2007-04-03-ObjcEH.m vendor/llvm/dist/test/FrontendObjC/2007-05-02-Strong.m vendor/llvm/dist/test/FrontendObjC/2007-09-25-EH.m vendor/llvm/dist/test/FrontendObjC/2007-10-18-ProDescriptor.m vendor/llvm/dist/test/FrontendObjC/2007-10-23-GC-WriteBarrier.m vendor/llvm/dist/test/FrontendObjC/2008-10-3-EhValue.m vendor/llvm/dist/test/FrontendObjC/2008-11-12-Metadata.m vendor/llvm/dist/test/FrontendObjC/2008-11-25-Blocks.m vendor/llvm/dist/test/FrontendObjC/2009-02-05-VolatileProp.m vendor/llvm/dist/test/FrontendObjC/2009-04-14-AsmSection.m vendor/llvm/dist/test/FrontendObjC/2009-08-05-utf16.m vendor/llvm/dist/test/FrontendObjC/2010-02-11-fwritable-stringsBug.m vendor/llvm/dist/test/LLVMC/C++/dg.exp vendor/llvm/dist/test/LLVMC/C/emit-llvm.c vendor/llvm/dist/test/LLVMC/OptionPreprocessor.td vendor/llvm/dist/test/Linker/link-archive.ll vendor/llvm/dist/test/Linker/linkmdnode.ll vendor/llvm/dist/test/Linker/linkmdnode2.ll vendor/llvm/dist/test/MC/AsmParser/directive_abort.s vendor/llvm/dist/test/MC/AsmParser/directive_ascii.s vendor/llvm/dist/test/MC/AsmParser/directive_loc.s vendor/llvm/dist/test/MC/AsmParser/directive_set.s vendor/llvm/dist/test/MC/AsmParser/directive_values.s vendor/llvm/dist/test/MC/AsmParser/exprs.s vendor/llvm/dist/test/MC/COFF/dg.exp vendor/llvm/dist/test/MC/COFF/switch-relocations.ll vendor/llvm/dist/test/MC/ELF/dg.exp vendor/llvm/dist/test/MC/MachO/absolutize.s vendor/llvm/dist/test/MC/MachO/comm-1.s vendor/llvm/dist/test/MC/MachO/darwin-x86_64-diff-relocs.s vendor/llvm/dist/test/MC/MachO/darwin-x86_64-reloc-offsets.s vendor/llvm/dist/test/MC/MachO/darwin-x86_64-reloc.s vendor/llvm/dist/test/MC/MachO/direction_labels.s vendor/llvm/dist/test/MC/MachO/indirect-symbols.s vendor/llvm/dist/test/MC/MachO/jcc.s vendor/llvm/dist/test/MC/MachO/lcomm-attributes.s vendor/llvm/dist/test/MC/MachO/relax-jumps.s vendor/llvm/dist/test/MC/MachO/reloc-pcrel-offset.s vendor/llvm/dist/test/MC/MachO/reloc.s vendor/llvm/dist/test/MC/MachO/section-align-1.s vendor/llvm/dist/test/MC/MachO/section-align-2.s vendor/llvm/dist/test/MC/MachO/string-table.s vendor/llvm/dist/test/MC/MachO/symbol-flags.s vendor/llvm/dist/test/MC/MachO/symbol-indirect.s vendor/llvm/dist/test/MC/MachO/symbols-1.s vendor/llvm/dist/test/MC/MachO/tbss.s vendor/llvm/dist/test/MC/MachO/tdata.s vendor/llvm/dist/test/MC/MachO/thread_init_func.s vendor/llvm/dist/test/MC/MachO/tls.s vendor/llvm/dist/test/MC/MachO/tlv-reloc.s vendor/llvm/dist/test/MC/MachO/tlv.s vendor/llvm/dist/test/MC/MachO/values.s vendor/llvm/dist/test/MC/MachO/x86_32-optimal_nop.s vendor/llvm/dist/test/MC/MachO/x86_32-symbols.s vendor/llvm/dist/test/MC/MachO/x86_64-symbols.s vendor/llvm/dist/test/MC/MachO/zerofill-1.s vendor/llvm/dist/test/MC/MachO/zerofill-2.s vendor/llvm/dist/test/MC/MachO/zerofill-3.s vendor/llvm/dist/test/MC/MachO/zerofill-5.s vendor/llvm/dist/test/Makefile vendor/llvm/dist/test/Other/close-stderr.ll vendor/llvm/dist/test/Other/lint.ll vendor/llvm/dist/test/Scripts/coff-dump.py vendor/llvm/dist/test/Scripts/coff-dump.py.bat vendor/llvm/dist/test/TableGen/FieldAccess.td vendor/llvm/dist/test/TableGen/ListManip.td vendor/llvm/dist/test/TableGen/Slice.td vendor/llvm/dist/test/TableGen/defmclass.td vendor/llvm/dist/test/TableGen/if.td vendor/llvm/dist/test/TableGen/lisp.td vendor/llvm/dist/test/Transforms/ArgumentPromotion/basictest.ll vendor/llvm/dist/test/Transforms/ArgumentPromotion/crash.ll vendor/llvm/dist/test/Transforms/ConstProp/basictest.ll vendor/llvm/dist/test/Transforms/ConstProp/bitcast.ll vendor/llvm/dist/test/Transforms/ConstProp/calls.ll vendor/llvm/dist/test/Transforms/ConstProp/constant-expr.ll vendor/llvm/dist/test/Transforms/ConstProp/loads.ll vendor/llvm/dist/test/Transforms/ConstProp/logicaltest.ll vendor/llvm/dist/test/Transforms/ConstProp/overflow-ops.ll vendor/llvm/dist/test/Transforms/CorrelatedValuePropagation/basic.ll vendor/llvm/dist/test/Transforms/DeadArgElim/deadexternal.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/PartialStore.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/const-pointers.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/crash.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/free.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/lifetime.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/no-targetdata.ll vendor/llvm/dist/test/Transforms/DeadStoreElimination/simple.ll vendor/llvm/dist/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll vendor/llvm/dist/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll vendor/llvm/dist/test/Transforms/FunctionAttrs/2008-10-04-LocalMemory.ll vendor/llvm/dist/test/Transforms/FunctionAttrs/2008-12-29-Constant.ll vendor/llvm/dist/test/Transforms/GVN/2007-07-25-InfiniteLoop.ll vendor/llvm/dist/test/Transforms/GVN/2007-07-26-InterlockingLoops.ll vendor/llvm/dist/test/Transforms/GVN/2007-07-31-NoDomInherit.ll vendor/llvm/dist/test/Transforms/GVN/2007-07-31-RedundantPhi.ll vendor/llvm/dist/test/Transforms/GVN/2008-07-02-Unreachable.ll vendor/llvm/dist/test/Transforms/GVN/2010-03-31-RedundantPHIs.ll vendor/llvm/dist/test/Transforms/GVN/calls-nonlocal.ll vendor/llvm/dist/test/Transforms/GVN/condprop.ll vendor/llvm/dist/test/Transforms/GVN/invariant-simple.ll vendor/llvm/dist/test/Transforms/GVN/lifetime-simple.ll vendor/llvm/dist/test/Transforms/GVN/load-constant-mem.ll vendor/llvm/dist/test/Transforms/GVN/lpre-call-wrap-2.ll vendor/llvm/dist/test/Transforms/GVN/mixed.ll vendor/llvm/dist/test/Transforms/GVN/nonescaping-malloc.ll vendor/llvm/dist/test/Transforms/GVN/null-aliases-nothing.ll vendor/llvm/dist/test/Transforms/GVN/pre-load.ll vendor/llvm/dist/test/Transforms/GVN/pre-single-pred.ll vendor/llvm/dist/test/Transforms/GVN/rle-must-alias.ll vendor/llvm/dist/test/Transforms/GVN/rle-nonlocal.ll vendor/llvm/dist/test/Transforms/GVN/rle-semidominated.ll vendor/llvm/dist/test/Transforms/GVN/rle.ll vendor/llvm/dist/test/Transforms/GlobalOpt/2008-04-26-SROA-Global-Align.ll vendor/llvm/dist/test/Transforms/GlobalOpt/2009-03-07-PromotePtrToBool.ll vendor/llvm/dist/test/Transforms/GlobalOpt/2009-11-16-MallocSingleStoreToGlobalVar.ll vendor/llvm/dist/test/Transforms/GlobalOpt/crash.ll vendor/llvm/dist/test/Transforms/GlobalOpt/ctor-list-opt.ll vendor/llvm/dist/test/Transforms/GlobalOpt/globalsra-unknown-index.ll vendor/llvm/dist/test/Transforms/GlobalOpt/memcpy.ll vendor/llvm/dist/test/Transforms/Inline/basictest.ll vendor/llvm/dist/test/Transforms/Inline/byval.ll vendor/llvm/dist/test/Transforms/Inline/devirtualize-3.ll vendor/llvm/dist/test/Transforms/Inline/devirtualize.ll vendor/llvm/dist/test/Transforms/Inline/gvn-inline-iteration.ll vendor/llvm/dist/test/Transforms/InstCombine/2003-08-12-AllocaNonNull.ll vendor/llvm/dist/test/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll vendor/llvm/dist/test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll vendor/llvm/dist/test/Transforms/InstCombine/2008-11-20-DivMulRem.ll vendor/llvm/dist/test/Transforms/InstCombine/add.ll vendor/llvm/dist/test/Transforms/InstCombine/add2.ll vendor/llvm/dist/test/Transforms/InstCombine/and2.ll vendor/llvm/dist/test/Transforms/InstCombine/bit-checks.ll vendor/llvm/dist/test/Transforms/InstCombine/cast.ll vendor/llvm/dist/test/Transforms/InstCombine/constant-fold-gep.ll vendor/llvm/dist/test/Transforms/InstCombine/crash.ll vendor/llvm/dist/test/Transforms/InstCombine/extractvalue.ll vendor/llvm/dist/test/Transforms/InstCombine/icmp.ll vendor/llvm/dist/test/Transforms/InstCombine/intrinsics.ll vendor/llvm/dist/test/Transforms/InstCombine/memcpy.ll vendor/llvm/dist/test/Transforms/InstCombine/nsw.ll vendor/llvm/dist/test/Transforms/InstCombine/objsize.ll vendor/llvm/dist/test/Transforms/InstCombine/or-fcmp.ll vendor/llvm/dist/test/Transforms/InstCombine/or.ll vendor/llvm/dist/test/Transforms/InstCombine/phi.ll vendor/llvm/dist/test/Transforms/InstCombine/rem.ll vendor/llvm/dist/test/Transforms/InstCombine/select.ll vendor/llvm/dist/test/Transforms/InstCombine/sext.ll vendor/llvm/dist/test/Transforms/InstCombine/shift.ll vendor/llvm/dist/test/Transforms/InstCombine/signext.ll vendor/llvm/dist/test/Transforms/InstCombine/sub.ll vendor/llvm/dist/test/Transforms/InstCombine/trunc.ll vendor/llvm/dist/test/Transforms/InstCombine/vec_demanded_elts.ll vendor/llvm/dist/test/Transforms/InstCombine/vec_shuffle.ll vendor/llvm/dist/test/Transforms/InstCombine/vector-casts.ll vendor/llvm/dist/test/Transforms/InstCombine/xor2.ll vendor/llvm/dist/test/Transforms/JumpThreading/2010-08-26-and.ll vendor/llvm/dist/test/Transforms/JumpThreading/and-and-cond.ll vendor/llvm/dist/test/Transforms/JumpThreading/and-cond.ll vendor/llvm/dist/test/Transforms/JumpThreading/basic.ll vendor/llvm/dist/test/Transforms/JumpThreading/crash.ll vendor/llvm/dist/test/Transforms/JumpThreading/lvi-load.ll vendor/llvm/dist/test/Transforms/JumpThreading/thread-loads.ll vendor/llvm/dist/test/Transforms/LCSSA/2006-06-03-IncorrectIDFPhis.ll vendor/llvm/dist/test/Transforms/LICM/2003-02-27-NestedLoopExitBlocks.ll vendor/llvm/dist/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll vendor/llvm/dist/test/Transforms/LICM/crash.ll vendor/llvm/dist/test/Transforms/LICM/scalar_promote.ll vendor/llvm/dist/test/Transforms/LoopRotate/phi-duplicate.ll vendor/llvm/dist/test/Transforms/LoopSimplify/2003-04-25-AssertFail.ll vendor/llvm/dist/test/Transforms/LoopSimplify/2003-05-12-PreheaderExitOfChild.ll vendor/llvm/dist/test/Transforms/LoopSimplify/2004-02-05-DominatorInfoCorruption.ll vendor/llvm/dist/test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll vendor/llvm/dist/test/Transforms/LoopSimplify/2004-04-01-IncorrectDomUpdate.ll vendor/llvm/dist/test/Transforms/LoopSimplify/2004-04-12-LoopSimplify-SwitchBackedges.ll vendor/llvm/dist/test/Transforms/LoopSimplify/2004-04-13-LoopSimplifyUpdateDomFrontier.ll vendor/llvm/dist/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll vendor/llvm/dist/test/Transforms/LoopSimplify/2010-07-15-IncorrectDomFrontierUpdate.ll vendor/llvm/dist/test/Transforms/LoopSimplify/basictest.ll vendor/llvm/dist/test/Transforms/LoopSimplify/hardertest.ll vendor/llvm/dist/test/Transforms/LoopSimplify/indirectbr-backedge.ll vendor/llvm/dist/test/Transforms/LoopSimplify/indirectbr.ll vendor/llvm/dist/test/Transforms/LoopSimplify/merge-exits.ll vendor/llvm/dist/test/Transforms/LoopSimplify/phi-node-simplify.ll vendor/llvm/dist/test/Transforms/LoopSimplify/unreachable-loop-pred.ll vendor/llvm/dist/test/Transforms/LoopStrengthReduce/pr2570.ll vendor/llvm/dist/test/Transforms/LoopUnroll/2005-03-06-BadLoopInfoUpdate.ll vendor/llvm/dist/test/Transforms/MemCpyOpt/2008-02-24-MultipleUseofSRet.ll vendor/llvm/dist/test/Transforms/MemCpyOpt/2008-03-13-ReturnSlotBitcast.ll vendor/llvm/dist/test/Transforms/MemCpyOpt/align.ll vendor/llvm/dist/test/Transforms/MemCpyOpt/crash.ll vendor/llvm/dist/test/Transforms/MemCpyOpt/form-memset.ll vendor/llvm/dist/test/Transforms/MemCpyOpt/memcpy.ll vendor/llvm/dist/test/Transforms/MemCpyOpt/memmove.ll vendor/llvm/dist/test/Transforms/MemCpyOpt/sret.ll vendor/llvm/dist/test/Transforms/MergeFunc/fold-weak.ll vendor/llvm/dist/test/Transforms/ScalarRepl/basictest.ll vendor/llvm/dist/test/Transforms/ScalarRepl/copy-aggregate.ll vendor/llvm/dist/test/Transforms/ScalarRepl/memcpy-from-global.ll vendor/llvm/dist/test/Transforms/ScalarRepl/vector_promote.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/MagicPointer.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/PhiBlockMerge.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/PhiEliminate.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/basictest.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/indirectbr.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/invoke_unwind.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/switch_create.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/switch_formation.dbg.ll vendor/llvm/dist/test/Transforms/SimplifyLibCalls/2009-02-12-StrTo.ll vendor/llvm/dist/test/Transforms/SimplifyLibCalls/Printf.ll vendor/llvm/dist/test/Transforms/SimplifyLibCalls/Puts.ll vendor/llvm/dist/test/Transforms/SimplifyLibCalls/StrChr.ll vendor/llvm/dist/test/Transforms/SimplifyLibCalls/floor.ll vendor/llvm/dist/test/Transforms/Sink/basic.ll vendor/llvm/dist/test/Unit/lit.cfg vendor/llvm/dist/test/Unit/lit.site.cfg.in vendor/llvm/dist/test/lib/llvm.exp vendor/llvm/dist/test/lit.cfg vendor/llvm/dist/test/lit.site.cfg.in vendor/llvm/dist/test/site.exp.in vendor/llvm/dist/tools/CMakeLists.txt vendor/llvm/dist/tools/Makefile vendor/llvm/dist/tools/bugpoint-passes/CMakeLists.txt vendor/llvm/dist/tools/bugpoint/BugDriver.cpp vendor/llvm/dist/tools/bugpoint/BugDriver.h vendor/llvm/dist/tools/bugpoint/CrashDebugger.cpp vendor/llvm/dist/tools/bugpoint/ExecutionDriver.cpp vendor/llvm/dist/tools/bugpoint/ExtractFunction.cpp vendor/llvm/dist/tools/bugpoint/Miscompilation.cpp vendor/llvm/dist/tools/bugpoint/OptimizerDriver.cpp vendor/llvm/dist/tools/bugpoint/ToolRunner.cpp vendor/llvm/dist/tools/bugpoint/ToolRunner.h vendor/llvm/dist/tools/bugpoint/bugpoint.cpp vendor/llvm/dist/tools/edis/CMakeLists.txt vendor/llvm/dist/tools/edis/Makefile vendor/llvm/dist/tools/gold/Makefile vendor/llvm/dist/tools/gold/gold-plugin.cpp vendor/llvm/dist/tools/llc/llc.cpp vendor/llvm/dist/tools/lli/CMakeLists.txt vendor/llvm/dist/tools/lli/Makefile vendor/llvm/dist/tools/lli/lli.cpp vendor/llvm/dist/tools/llvm-ar/llvm-ar.cpp vendor/llvm/dist/tools/llvm-as/llvm-as.cpp vendor/llvm/dist/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp vendor/llvm/dist/tools/llvm-config/CMakeLists.txt vendor/llvm/dist/tools/llvm-config/llvm-config.in.in vendor/llvm/dist/tools/llvm-diff/llvm-diff.cpp vendor/llvm/dist/tools/llvm-dis/llvm-dis.cpp vendor/llvm/dist/tools/llvm-extract/llvm-extract.cpp vendor/llvm/dist/tools/llvm-ld/CMakeLists.txt vendor/llvm/dist/tools/llvm-ld/Optimize.cpp vendor/llvm/dist/tools/llvm-ld/llvm-ld.cpp vendor/llvm/dist/tools/llvm-link/llvm-link.cpp vendor/llvm/dist/tools/llvm-mc/Disassembler.cpp vendor/llvm/dist/tools/llvm-mc/llvm-mc.cpp vendor/llvm/dist/tools/llvm-nm/CMakeLists.txt vendor/llvm/dist/tools/llvm-nm/Makefile vendor/llvm/dist/tools/llvm-nm/llvm-nm.cpp vendor/llvm/dist/tools/llvm-prof/llvm-prof.cpp vendor/llvm/dist/tools/llvm-ranlib/llvm-ranlib.cpp vendor/llvm/dist/tools/llvm-shlib/Makefile vendor/llvm/dist/tools/llvm-stub/llvm-stub.c vendor/llvm/dist/tools/llvmc/doc/LLVMC-Reference.rst vendor/llvm/dist/tools/llvmc/examples/mcc16/Hooks.cpp vendor/llvm/dist/tools/llvmc/examples/mcc16/Main.cpp vendor/llvm/dist/tools/llvmc/src/Base.td.in vendor/llvm/dist/tools/llvmc/src/Clang.td vendor/llvm/dist/tools/llvmc/src/Hooks.cpp vendor/llvm/dist/tools/lto/LTOCodeGenerator.cpp vendor/llvm/dist/tools/lto/LTOModule.cpp vendor/llvm/dist/tools/lto/LTOModule.h vendor/llvm/dist/tools/lto/Makefile vendor/llvm/dist/tools/lto/lto.cpp vendor/llvm/dist/tools/lto/lto.exports vendor/llvm/dist/tools/opt/GraphPrinters.cpp vendor/llvm/dist/tools/opt/opt.cpp vendor/llvm/dist/unittests/ADT/APIntTest.cpp vendor/llvm/dist/unittests/ADT/BitVectorTest.cpp vendor/llvm/dist/unittests/ADT/ImmutableSetTest.cpp vendor/llvm/dist/unittests/ADT/Makefile vendor/llvm/dist/unittests/ADT/SmallBitVectorTest.cpp vendor/llvm/dist/unittests/ADT/SmallVectorTest.cpp vendor/llvm/dist/unittests/ADT/StringMapTest.cpp vendor/llvm/dist/unittests/ADT/StringRefTest.cpp vendor/llvm/dist/unittests/ADT/TripleTest.cpp vendor/llvm/dist/unittests/ADT/TwineTest.cpp vendor/llvm/dist/unittests/Makefile.unittest vendor/llvm/dist/unittests/Support/ConstantRangeTest.cpp vendor/llvm/dist/unittests/Support/ValueHandleTest.cpp vendor/llvm/dist/unittests/VMCore/ConstantsTest.cpp vendor/llvm/dist/unittests/VMCore/InstructionsTest.cpp vendor/llvm/dist/unittests/VMCore/PassManagerTest.cpp vendor/llvm/dist/unittests/VMCore/VerifierTest.cpp vendor/llvm/dist/utils/FileCheck/CMakeLists.txt vendor/llvm/dist/utils/FileCheck/FileCheck.cpp vendor/llvm/dist/utils/FileCheck/Makefile vendor/llvm/dist/utils/FileUpdate/CMakeLists.txt vendor/llvm/dist/utils/FileUpdate/FileUpdate.cpp vendor/llvm/dist/utils/FileUpdate/Makefile vendor/llvm/dist/utils/GenLibDeps.pl vendor/llvm/dist/utils/GetSourceVersion vendor/llvm/dist/utils/Makefile vendor/llvm/dist/utils/PerfectShuffle/PerfectShuffle.cpp vendor/llvm/dist/utils/TableGen/ARMDecoderEmitter.cpp vendor/llvm/dist/utils/TableGen/ARMDecoderEmitter.h vendor/llvm/dist/utils/TableGen/AsmMatcherEmitter.cpp vendor/llvm/dist/utils/TableGen/AsmWriterEmitter.cpp vendor/llvm/dist/utils/TableGen/AsmWriterInst.cpp vendor/llvm/dist/utils/TableGen/AsmWriterInst.h vendor/llvm/dist/utils/TableGen/CMakeLists.txt vendor/llvm/dist/utils/TableGen/CallingConvEmitter.cpp vendor/llvm/dist/utils/TableGen/ClangASTNodesEmitter.h vendor/llvm/dist/utils/TableGen/ClangAttrEmitter.cpp vendor/llvm/dist/utils/TableGen/ClangAttrEmitter.h vendor/llvm/dist/utils/TableGen/ClangDiagnosticsEmitter.cpp vendor/llvm/dist/utils/TableGen/CodeEmitterGen.cpp vendor/llvm/dist/utils/TableGen/CodeEmitterGen.h vendor/llvm/dist/utils/TableGen/CodeGenDAGPatterns.cpp vendor/llvm/dist/utils/TableGen/CodeGenDAGPatterns.h vendor/llvm/dist/utils/TableGen/CodeGenInstruction.cpp vendor/llvm/dist/utils/TableGen/CodeGenInstruction.h vendor/llvm/dist/utils/TableGen/CodeGenRegisters.h vendor/llvm/dist/utils/TableGen/CodeGenTarget.cpp vendor/llvm/dist/utils/TableGen/CodeGenTarget.h vendor/llvm/dist/utils/TableGen/DAGISelMatcher.cpp vendor/llvm/dist/utils/TableGen/DAGISelMatcher.h vendor/llvm/dist/utils/TableGen/DAGISelMatcherEmitter.cpp vendor/llvm/dist/utils/TableGen/DAGISelMatcherGen.cpp vendor/llvm/dist/utils/TableGen/DAGISelMatcherOpt.cpp vendor/llvm/dist/utils/TableGen/DisassemblerEmitter.cpp vendor/llvm/dist/utils/TableGen/EDEmitter.cpp vendor/llvm/dist/utils/TableGen/FastISelEmitter.cpp vendor/llvm/dist/utils/TableGen/InstrEnumEmitter.cpp vendor/llvm/dist/utils/TableGen/InstrInfoEmitter.cpp vendor/llvm/dist/utils/TableGen/IntrinsicEmitter.cpp vendor/llvm/dist/utils/TableGen/LLVMCConfigurationEmitter.cpp vendor/llvm/dist/utils/TableGen/LLVMCConfigurationEmitter.h vendor/llvm/dist/utils/TableGen/Makefile vendor/llvm/dist/utils/TableGen/NeonEmitter.cpp vendor/llvm/dist/utils/TableGen/NeonEmitter.h vendor/llvm/dist/utils/TableGen/Record.cpp vendor/llvm/dist/utils/TableGen/Record.h vendor/llvm/dist/utils/TableGen/RegisterInfoEmitter.cpp vendor/llvm/dist/utils/TableGen/SubtargetEmitter.cpp vendor/llvm/dist/utils/TableGen/SubtargetEmitter.h vendor/llvm/dist/utils/TableGen/TGLexer.cpp vendor/llvm/dist/utils/TableGen/TGLexer.h vendor/llvm/dist/utils/TableGen/TGParser.cpp vendor/llvm/dist/utils/TableGen/TGParser.h vendor/llvm/dist/utils/TableGen/TableGen.cpp vendor/llvm/dist/utils/TableGen/X86DisassemblerTables.cpp vendor/llvm/dist/utils/TableGen/X86ModRMFilters.h vendor/llvm/dist/utils/TableGen/X86RecognizableInstr.cpp vendor/llvm/dist/utils/TableGen/X86RecognizableInstr.h vendor/llvm/dist/utils/buildit/build_llvm vendor/llvm/dist/utils/emacs/llvm-mode.el vendor/llvm/dist/utils/emacs/tablegen-mode.el vendor/llvm/dist/utils/findmisopt vendor/llvm/dist/utils/findoptdiff vendor/llvm/dist/utils/fpcmp/Makefile vendor/llvm/dist/utils/lit/TODO vendor/llvm/dist/utils/lit/lit/LitConfig.py vendor/llvm/dist/utils/lit/lit/LitFormats.py vendor/llvm/dist/utils/lit/lit/TestFormats.py vendor/llvm/dist/utils/lit/lit/TestRunner.py vendor/llvm/dist/utils/lit/lit/TestingConfig.py vendor/llvm/dist/utils/lit/lit/Util.py vendor/llvm/dist/utils/lit/lit/__init__.py vendor/llvm/dist/utils/lit/setup.py vendor/llvm/dist/utils/llvm-lit/llvm-lit.in vendor/llvm/dist/utils/llvm-native-gcc vendor/llvm/dist/utils/llvm-native-gxx vendor/llvm/dist/utils/not/CMakeLists.txt vendor/llvm/dist/utils/not/Makefile vendor/llvm/dist/utils/not/not.cpp vendor/llvm/dist/utils/profile.pl vendor/llvm/dist/utils/unittest/UnitTestMain/TestMain.cpp vendor/llvm/dist/utils/unittest/googletest/gtest.cc vendor/llvm/dist/utils/unittest/googletest/include/gtest/internal/gtest-port.h vendor/llvm/dist/utils/valgrind/x86_64-pc-linux-gnu.supp vendor/llvm/dist/utils/vim/llvm.vim vendor/llvm/dist/utils/vim/vimrc Added: vendor/llvm/dist/.gitignore ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/llvm/dist/.gitignore Sun Feb 20 12:57:14 2011 (r218885) @@ -0,0 +1,37 @@ +#==============================================================================# +# This file specifies intentionally untracked files that git should ignore. +# See: http://www.kernel.org/pub/software/scm/git/docs/gitignore.html +# +# This file is intentionally different from the output of `git svn show-ignore`, +# as most of those are useless. +#==============================================================================# + +#==============================================================================# +# File extensions to be ignored anywhere in the tree. +#==============================================================================# +# Temp files created by most text editors. +*~ +# Merge files created by git. +*.orig +# Byte compiled python modules. +*.pyc + +#==============================================================================# +# Explicit files to ignore (only matches one). +#==============================================================================# +.gitusers +cscope.files +cscope.out +autoconf/aclocal.m4 +autoconf/autom4te.cache + +#==============================================================================# +# Directories to ignore (do not add trailing '/'s, they skip symlinks). +#==============================================================================# +# External projects that are tracked independently. +projects/* +!projects/sample +!projects/CMakeLists.txt +!projects/Makefile +# Clang, which is tracked independently. +tools/clang Modified: vendor/llvm/dist/CMakeLists.txt ============================================================================== --- vendor/llvm/dist/CMakeLists.txt Sun Feb 20 12:55:16 2011 (r218884) +++ vendor/llvm/dist/CMakeLists.txt Sun Feb 20 12:57:14 2011 (r218885) @@ -10,9 +10,16 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" ) -set(PACKAGE_VERSION "2.8") +set(PACKAGE_VERSION "2.9") + include(VersionFromVCS) -add_version_info_from_vcs(PACKAGE_VERSION) + +option(LLVM_APPEND_VC_REV + "Append the version control system revision id to LLVM version" OFF) + +if( LLVM_APPEND_VC_REV ) + add_version_info_from_vcs(PACKAGE_VERSION) +endif() set(PACKAGE_NAME llvm) set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") @@ -64,8 +71,8 @@ set(LLVM_ALL_TARGETS Mips MBlaze MSP430 - PIC16 PowerPC + PTX Sparc SystemZ X86 @@ -80,36 +87,25 @@ else( MSVC ) CACHE STRING "Semicolon-separated list of targets to build, or \"all\".") endif( MSVC ) -set(C_INCLUDE_DIRS "" CACHE STRING - "Colon separated list of directories clang will search for headers.") +option(LLVM_ENABLE_CBE_PRINTF_A "Set to ON if CBE is enabled for printf %a output" ON) +if(LLVM_ENABLE_CBE_PRINTF_A) + set(ENABLE_CBE_PRINTF_A 1) +endif() + +option(LLVM_ENABLE_TIMESTAMPS "Enable embedding timestamp information in build" ON) +if(LLVM_ENABLE_TIMESTAMPS) + set(ENABLE_TIMESTAMPS 1) +endif() + +option(LLVM_ENABLE_FFI "Use libffi to call external functions from the interpreter" OFF) +set(FFI_LIBRARY_DIR "" CACHE PATH "Additional directory, where CMake should search for libffi.so") +set(FFI_INCLUDE_DIR "" CACHE PATH "Additional directory, where CMake should search for ffi.h or ffi/ffi.h") set(LLVM_TARGET_ARCH "host" CACHE STRING "Set target to use for LLVM JIT or use \"host\" for automatic detection.") option(LLVM_ENABLE_THREADS "Use threads if available." ON) -if( uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" ) - option(LLVM_ENABLE_ASSERTIONS "Enable assertions" OFF) -else() - option(LLVM_ENABLE_ASSERTIONS "Enable assertions" ON) -endif() - -if( LLVM_ENABLE_ASSERTIONS ) - # MSVC doesn't like _DEBUG on release builds. See PR 4379. - if( NOT MSVC ) - add_definitions( -D_DEBUG ) - endif() - # On Release builds cmake automatically defines NDEBUG, so we - # explicitly undefine it: - if( uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" ) - add_definitions( -UNDEBUG ) - endif() -else() - if( NOT uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" ) - add_definitions( -DNDEBUG ) - endif() -endif() - if( LLVM_TARGETS_TO_BUILD STREQUAL "all" ) set( LLVM_TARGETS_TO_BUILD ${LLVM_ALL_TARGETS} ) endif() @@ -135,65 +131,34 @@ set(llvm_builded_incs_dir ${LLVM_BINARY_ include(AddLLVMDefinitions) -if(WIN32) - if(CYGWIN) - set(LLVM_ON_WIN32 0) - set(LLVM_ON_UNIX 1) - else(CYGWIN) - set(LLVM_ON_WIN32 1) - set(LLVM_ON_UNIX 0) - endif(CYGWIN) - set(LTDL_SHLIB_EXT ".dll") - set(EXEEXT ".exe") - # Maximum path length is 160 for non-unicode paths - set(MAXPATHLEN 160) -else(WIN32) - if(UNIX) - set(LLVM_ON_WIN32 0) - set(LLVM_ON_UNIX 1) - if(APPLE) - set(LTDL_SHLIB_EXT ".dylib") - else(APPLE) - set(LTDL_SHLIB_EXT ".so") - endif(APPLE) - set(EXEEXT "") - # FIXME: Maximum path length is currently set to 'safe' fixed value - set(MAXPATHLEN 2024) - else(UNIX) - MESSAGE(SEND_ERROR "Unable to determine platform") - endif(UNIX) -endif(WIN32) +option(LLVM_ENABLE_PIC "Build Position-Independent Code" ON) include(config-ix) -option(LLVM_ENABLE_PIC "Build Position-Independent Code" ON) +include(HandleLLVMOptions) -set(ENABLE_PIC 0) -if( LLVM_ENABLE_PIC ) - if( XCODE ) - # Xcode has -mdynamic-no-pic on by default, which overrides -fPIC. I don't - # know how to disable this, so just force ENABLE_PIC off for now. - message(STATUS "Warning: -fPIC not supported with Xcode.") - else( XCODE ) - if( SUPPORTS_FPIC_FLAG ) - message(STATUS "Building with -fPIC") - add_llvm_definitions(-fPIC) - set(ENABLE_PIC 1) - else( SUPPORTS_FPIC_FLAG ) - message(STATUS "Warning: -fPIC not supported.") - endif() - endif() +if( uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" ) + option(LLVM_ENABLE_ASSERTIONS "Enable assertions" OFF) +else() + option(LLVM_ENABLE_ASSERTIONS "Enable assertions" ON) endif() +configure_file( + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/config.h.cmake + ${LLVM_BINARY_DIR}/include/llvm/Config/config.h) + +configure_file( + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/llvm-config.h.cmake + ${LLVM_BINARY_DIR}/include/llvm/Config/llvm-config.h) + +configure_file( + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Support/DataTypes.h.cmake + ${LLVM_BINARY_DIR}/include/llvm/Support/DataTypes.h) + set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${LLVM_TOOLS_BINARY_DIR} ) set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${LLVM_BINARY_DIR}/lib ) set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${LLVM_BINARY_DIR}/lib ) -# set(CMAKE_VERBOSE_MAKEFILE true) - -add_llvm_definitions( -D__STDC_LIMIT_MACROS ) -add_llvm_definitions( -D__STDC_CONSTANT_MACROS ) - # MSVC has a gazillion warnings with this. if( MSVC ) option(LLVM_ENABLE_WARNINGS "Enable compiler warnings." OFF) @@ -204,65 +169,34 @@ endif() option(LLVM_ENABLE_PEDANTIC "Compile with pedantic enabled." ON) option(LLVM_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF) -if( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT WIN32 ) - # TODO: support other platforms and toolchains. - option(LLVM_BUILD_32_BITS "Build 32 bits executables and libraries." OFF) - if( LLVM_BUILD_32_BITS ) - message(STATUS "Building 32 bits executables and libraries.") - add_llvm_definitions( -m32 ) - list(APPEND CMAKE_EXE_LINKER_FLAGS -m32) - list(APPEND CMAKE_SHARED_LINKER_FLAGS -m32) - endif( LLVM_BUILD_32_BITS ) -endif( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT WIN32 ) - -if( MSVC ) - include(ChooseMSVCCRT) - - add_llvm_definitions( -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS ) - add_llvm_definitions( -D_SCL_SECURE_NO_WARNINGS -DCRT_NONSTDC_NO_WARNINGS ) - add_llvm_definitions( -D_SCL_SECURE_NO_DEPRECATE ) - add_llvm_definitions( -wd4146 -wd4503 -wd4996 -wd4800 -wd4244 -wd4624 ) - add_llvm_definitions( -wd4355 -wd4715 -wd4180 -wd4345 -wd4224 ) - - # Suppress 'new behavior: elements of array 'array' will be default initialized' - add_llvm_definitions( -wd4351 ) - - # Enable warnings - if (LLVM_ENABLE_WARNINGS) - add_llvm_definitions( /W4 /Wall ) - if (LLVM_ENABLE_PEDANTIC) - # No MSVC equivalent available - endif (LLVM_ENABLE_PEDANTIC) - endif (LLVM_ENABLE_WARNINGS) - if (LLVM_ENABLE_WERROR) - add_llvm_definitions( /WX ) - endif (LLVM_ENABLE_WERROR) -elseif( CMAKE_COMPILER_IS_GNUCXX ) - if (LLVM_ENABLE_WARNINGS) - add_llvm_definitions( -Wall -W -Wno-unused-parameter -Wwrite-strings ) - if (LLVM_ENABLE_PEDANTIC) - add_llvm_definitions( -pedantic -Wno-long-long ) - endif (LLVM_ENABLE_PEDANTIC) - endif (LLVM_ENABLE_WARNINGS) - if (LLVM_ENABLE_WERROR) - add_llvm_definitions( -Werror ) - endif (LLVM_ENABLE_WERROR) -endif( MSVC ) +set(CMAKE_INCLUDE_CURRENT_DIR ON) include_directories( ${LLVM_BINARY_DIR}/include ${LLVM_MAIN_INCLUDE_DIR}) if( ${CMAKE_SYSTEM_NAME} MATCHES SunOS ) - SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-include llvm/System/Solaris.h") + SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-include llvm/Support/Solaris.h") endif( ${CMAKE_SYSTEM_NAME} MATCHES SunOS ) include(AddLLVM) include(TableGen) -add_subdirectory(lib/Support) -add_subdirectory(lib/System) +if( MINGW ) + get_system_libs(LLVM_SYSTEM_LIBS_LIST) + foreach(l ${LLVM_SYSTEM_LIBS_LIST}) + set(LLVM_SYSTEM_LIBS "${LLVM_SYSTEM_LIBS} -l${l}") + endforeach() + set(CMAKE_CXX_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIBRARIES}${LLVM_SYSTEM_LIBS}") + set(CMAKE_C_STANDARD_LIBRARIES "${CMAKE_C_STANDARD_LIBRARIES}${LLVM_SYSTEM_LIBS}") +endif() + +if( MINGW ) + # People report that -O3 is unreliable on MinGW. The traditional + # build also uses -O2 for that reason: + llvm_replace_compiler_option(CMAKE_CXX_FLAGS_RELEASE "-O3" "-O2") +endif() -# Everything else depends on Support and System: -set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} ${LLVM_LIBS} ) +# Put this before tblgen. Else we have a circular dependence. +add_subdirectory(lib/Support) set(LLVM_TABLEGEN "tblgen" CACHE STRING "Native TableGen executable. Saves building one when cross-compiling.") @@ -278,87 +212,43 @@ endif( CMAKE_CROSSCOMPILING ) add_subdirectory(include/llvm) -add_subdirectory(lib/VMCore) -add_subdirectory(lib/CodeGen) -add_subdirectory(lib/CodeGen/SelectionDAG) -add_subdirectory(lib/CodeGen/AsmPrinter) -add_subdirectory(lib/Bitcode/Reader) -add_subdirectory(lib/Bitcode/Writer) -add_subdirectory(lib/Transforms/Utils) -add_subdirectory(lib/Transforms/Instrumentation) -add_subdirectory(lib/Transforms/InstCombine) -add_subdirectory(lib/Transforms/Scalar) -add_subdirectory(lib/Transforms/IPO) -add_subdirectory(lib/Transforms/Hello) -add_subdirectory(lib/Linker) -add_subdirectory(lib/Analysis) -add_subdirectory(lib/Analysis/IPA) -add_subdirectory(lib/MC) -add_subdirectory(lib/MC/MCParser) -add_subdirectory(lib/MC/MCDisassembler) -add_subdirectory(test) +add_subdirectory(lib) add_subdirectory(utils/FileCheck) +add_subdirectory(utils/FileUpdate) add_subdirectory(utils/count) add_subdirectory(utils/not) - -set(LLVM_ENUM_ASM_PRINTERS "") -set(LLVM_ENUM_ASM_PARSERS "") -set(LLVM_ENUM_DISASSEMBLERS "") -foreach(t ${LLVM_TARGETS_TO_BUILD}) - message(STATUS "Targeting ${t}") - add_subdirectory(lib/Target/${t}) - add_subdirectory(lib/Target/${t}/TargetInfo) - if( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/AsmPrinter/CMakeLists.txt ) - add_subdirectory(lib/Target/${t}/AsmPrinter) - set(LLVM_ENUM_ASM_PRINTERS - "${LLVM_ENUM_ASM_PRINTERS}LLVM_ASM_PRINTER(${t})\n") - endif( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/AsmPrinter/CMakeLists.txt ) - if( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/AsmParser/CMakeLists.txt ) - add_subdirectory(lib/Target/${t}/AsmParser) - set(LLVM_ENUM_ASM_PARSERS - "${LLVM_ENUM_ASM_PARSERS}LLVM_ASM_PARSER(${t})\n") - endif( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/AsmParser/CMakeLists.txt ) - if( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/Disassembler/CMakeLists.txt ) - add_subdirectory(lib/Target/${t}/Disassembler) - set(LLVM_ENUM_DISASSEMBLERS - "${LLVM_ENUM_DISASSEMBLERS}LLVM_DISASSEMBLER(${t})\n") - endif( EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}/Disassembler/CMakeLists.txt ) - set(CURRENT_LLVM_TARGET) -endforeach(t) - -# Produce llvm/Config/AsmPrinters.def -configure_file( - ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/AsmPrinters.def.in - ${LLVM_BINARY_DIR}/include/llvm/Config/AsmPrinters.def - ) - -# Produce llvm/Config/AsmParsers.def -configure_file( - ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/AsmParsers.def.in - ${LLVM_BINARY_DIR}/include/llvm/Config/AsmParsers.def - ) - -# Produce llvm/Config/Disassemblers.def -configure_file( - ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/Disassemblers.def.in - ${LLVM_BINARY_DIR}/include/llvm/Config/Disassemblers.def - ) - -add_subdirectory(lib/ExecutionEngine) -add_subdirectory(lib/ExecutionEngine/Interpreter) -add_subdirectory(lib/ExecutionEngine/JIT) -add_subdirectory(lib/Target) -add_subdirectory(lib/AsmParser) -add_subdirectory(lib/Archive) +add_subdirectory(utils/llvm-lit) add_subdirectory(projects) -option(LLVM_BUILD_TOOLS "Build LLVM tool programs." ON) -add_subdirectory(tools) +option(LLVM_BUILD_TOOLS + "Build the LLVM tools. If OFF, just generate build targets." ON) +option(LLVM_INCLUDE_TOOLS "Generate build targets for the LLVM tools." ON) +if( LLVM_INCLUDE_TOOLS ) + add_subdirectory(tools) +endif() -option(LLVM_BUILD_EXAMPLES "Build LLVM example programs." OFF) -add_subdirectory(examples) +option(LLVM_BUILD_EXAMPLES + "Build the LLVM example programs. If OFF, just generate build targets." OFF) +option(LLVM_INCLUDE_EXAMPLES "Generate build targets for the LLVM examples" ON) +if( LLVM_INCLUDE_EXAMPLES ) + add_subdirectory(examples) +endif() + +option(LLVM_BUILD_TESTS + "Build LLVM unit tests. If OFF, just generate build targes." OFF) +option(LLVM_INCLUDE_TESTS "Generate build targets for the LLVM unit tests." ON) +if( LLVM_INCLUDE_TESTS ) + add_subdirectory(test) + add_subdirectory(utils/unittest) + add_subdirectory(unittests) + if (MSVC) + # This utility is used to prevent chrashing tests from calling Dr. Watson on + # Windows. + add_subdirectory(utils/KillTheDoctor) + endif() +endif() add_subdirectory(cmake/modules) @@ -385,3 +275,18 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY ) # TODO: make and install documentation. + +set(CPACK_PACKAGE_VENDOR "LLVM") +set(CPACK_PACKAGE_VERSION_MAJOR 2) +set(CPACK_PACKAGE_VERSION_MINOR 9) +add_version_info_from_vcs(CPACK_PACKAGE_VERSION_PATCH) +include(CPack) + +# Workaround for MSVS10 to avoid the Dialog Hell +# FIXME: This could be removed with future version of CMake. +if(MSVC_VERSION EQUAL 1600) + set(LLVM_SLN_FILENAME "${CMAKE_CURRENT_BINARY_DIR}/LLVM.sln") + if( EXISTS "${LLVM_SLN_FILENAME}" ) + file(APPEND "${LLVM_SLN_FILENAME}" "\n# This should be regenerated!\n") + endif() +endif() Modified: vendor/llvm/dist/CREDITS.TXT ============================================================================== --- vendor/llvm/dist/CREDITS.TXT Sun Feb 20 12:55:16 2011 (r218884) +++ vendor/llvm/dist/CREDITS.TXT Sun Feb 20 12:57:14 2011 (r218885) @@ -8,6 +8,7 @@ beautification by scripts. The fields a (W), PGP key ID and fingerprint (P), description (D), and snail-mail address (S). + N: Vikram Adve E: vadve@cs.uiuc.edu W: http://www.cs.uiuc.edu/~vadve/ @@ -39,7 +40,7 @@ N: Misha Brukman E: brukman+llvm@uiuc.edu W: http://misha.brukman.net D: Portions of X86 and Sparc JIT compilers, PowerPC backend -D: Incremental bytecode loader +D: Incremental bitcode loader N: Cameron Buschardt E: buschard@uiuc.edu @@ -328,6 +329,7 @@ D: The `paths' pass N: Michael J. Spencer E: bigcheesegs@gmail.com D: Shepherding Windows COFF support into MC. +D: Lots of Windows stuff. N: Reid Spencer E: rspencer@reidspencer.com Modified: vendor/llvm/dist/Makefile ============================================================================== --- vendor/llvm/dist/Makefile Sun Feb 20 12:55:16 2011 (r218884) +++ vendor/llvm/dist/Makefile Sun Feb 20 12:57:14 2011 (r218885) @@ -10,7 +10,7 @@ LEVEL := . # Top-Level LLVM Build Stages: -# 1. Build lib/System and lib/Support, which are used by utils (tblgen). +# 1. Build lib/Support, which is used by utils (tblgen). # 2. Build utils, which is used by VMCore. # 3. Build VMCore, which builds the Intrinsics.inc file used by libs. # 4. Build libs, which are needed by llvm-config. @@ -27,10 +27,10 @@ LEVEL := . ifneq ($(findstring llvmCore, $(RC_ProjectName)),llvmCore) # Normal build (not "Apple-style"). ifeq ($(BUILD_DIRS_ONLY),1) - DIRS := lib/System lib/Support utils + DIRS := lib/Support utils OPTIONAL_DIRS := else - DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-shlib \ + DIRS := lib/Support utils lib/VMCore lib tools/llvm-shlib \ tools/llvm-config tools runtime docs unittests OPTIONAL_DIRS := projects bindings endif @@ -47,6 +47,10 @@ ifneq ($(ENABLE_SHARED),1) DIRS := $(filter-out tools/llvm-shlib, $(DIRS)) endif +ifneq ($(ENABLE_DOCS),1) + DIRS := $(filter-out docs, $(DIRS)) +endif + ifeq ($(MAKECMDGOALS),libs-only) DIRS := $(filter-out tools runtime docs, $(DIRS)) OPTIONAL_DIRS := @@ -95,6 +99,11 @@ ifeq ($(MAKECMDGOALS),install) OPTIONAL_DIRS := $(filter bindings, $(OPTIONAL_DIRS)) endif +# Don't build unittests when ONLY_TOOLS is set. +ifneq ($(ONLY_TOOLS),) + DIRS := $(filter-out unittests, $(DIRS)) +endif + # If we're cross-compiling, build the build-hosted tools first ifeq ($(LLVM_CROSS_COMPILING),1) all:: cross-compile-build-tools @@ -150,7 +159,7 @@ dist-hook:: $(Echo) Eliminating files constructed by configure $(Verb) $(RM) -f \ $(TopDistDir)/include/llvm/Config/config.h \ - $(TopDistDir)/include/llvm/System/DataTypes.h + $(TopDistDir)/include/llvm/Support/DataTypes.h clang-only: all tools-only: all @@ -169,7 +178,7 @@ FilesToConfig := \ include/llvm/Config/AsmPrinters.def \ include/llvm/Config/AsmParsers.def \ include/llvm/Config/Disassemblers.def \ - include/llvm/System/DataTypes.h \ + include/llvm/Support/DataTypes.h \ tools/llvmc/src/Base.td FilesToConfigPATH := $(addprefix $(LLVM_OBJ_ROOT)/,$(FilesToConfig)) Modified: vendor/llvm/dist/Makefile.config.in ============================================================================== --- vendor/llvm/dist/Makefile.config.in Sun Feb 20 12:55:16 2011 (r218884) +++ vendor/llvm/dist/Makefile.config.in Sun Feb 20 12:57:14 2011 (r218885) @@ -164,7 +164,7 @@ CAT := @CAT@ DOT := @DOT@ DOXYGEN := @DOXYGEN@ GROFF := @GROFF@ -GZIP := @GZIP@ +GZIPBIN := @GZIPBIN@ OCAMLC := @OCAMLC@ OCAMLOPT := @OCAMLOPT@ OCAMLDEP := @OCAMLDEP@ @@ -195,6 +195,7 @@ LLVMGXX := @LLVMGXX@ LLVMCC1 := @LLVMCC1@ LLVMCC1PLUS := @LLVMCC1PLUS@ LLVMGCC_LANGS := @LLVMGCC_LANGS@ +LLVMGCC_DRAGONEGG := @LLVMGCC_DRAGONEGG@ # Information on Clang, if configured. CLANGPATH := @CLANGPATH@ @@ -204,6 +205,10 @@ ENABLE_BUILT_CLANG := @ENABLE_BUILT_CLAN # The LLVM capable compiler to use. LLVMCC_OPTION := @LLVMCC_OPTION@ +# The flag used to emit LLVM IR. +LLVMCC_EMITIR_FLAG = @LLVMCC_EMITIR_FLAG@ +LLVMCC_DISABLEOPT_FLAGS := @LLVMCC_DISABLEOPT_FLAGS@ + # Path to directory where object files should be stored during a build. # Set OBJ_ROOT to "." if you do not want to use a separate place for # object files. @@ -259,6 +264,9 @@ OPTIMIZE_OPTION := @OPTIMIZE_OPTION@ # information to allow gprof to be used to get execution frequencies. #ENABLE_PROFILING = 1 +# When ENABLE_DOCS is disabled, docs/ will not be built. +ENABLE_DOCS = @ENABLE_DOCS@ + # When ENABLE_DOXYGEN is enabled, the doxygen documentation will be built ENABLE_DOXYGEN = @ENABLE_DOXYGEN@ @@ -271,6 +279,9 @@ ENABLE_PIC := @ENABLE_PIC@ # Do we want to build a shared library and link the tools with it? ENABLE_SHARED := @ENABLE_SHARED@ +# Do we want to link the stdc++ into a shared library? (Cygming) +ENABLE_EMBED_STDCXX := @ENABLE_EMBED_STDCXX@ + # Use -fvisibility-inlines-hidden? ENABLE_VISIBILITY_INLINES_HIDDEN := @ENABLE_VISIBILITY_INLINES_HIDDEN@ @@ -341,6 +352,8 @@ NO_MISSING_FIELD_INITIALIZERS = @NO_MISS # -Wno-variadic-macros NO_VARIADIC_MACROS = @NO_VARIADIC_MACROS@ +# Was polly found in tools/polly? +LLVM_HAS_POLLY = @LLVM_HAS_POLLY@ # Flags supported by the linker. # bfd ld / gold --version-script=file HAVE_LINK_VERSION_SCRIPT = @HAVE_LINK_VERSION_SCRIPT@ Modified: vendor/llvm/dist/Makefile.rules ============================================================================== --- vendor/llvm/dist/Makefile.rules Sun Feb 20 12:55:16 2011 (r218884) +++ vendor/llvm/dist/Makefile.rules Sun Feb 20 12:57:14 2011 (r218885) @@ -129,11 +129,8 @@ reconfigure: $(ConfigStatusScript) --recheck $(ConfigureScriptFLAGS) && \ $(ConfigStatusScript) -# FIXME: The {PIC16,MSP430}/AsmPrinter line here is a hack to force a reconfigure to pick -# up AsmPrinter changes. Remove it after a reasonable delay from 2009-08-13. - .PRECIOUS: $(ConfigStatusScript) -$(ConfigStatusScript): $(ConfigureScript) $(LLVM_SRC_ROOT)/lib/Target/PIC16/AsmPrinter/Makefile $(LLVM_SRC_ROOT)/lib/Target/MSP430/AsmPrinter/Makefile +$(ConfigStatusScript): $(ConfigureScript) $(Echo) Reconfiguring with $< $(Verb) cd $(PROJ_OBJ_ROOT) && \ if test -w $(PROJ_OBJ_ROOT)/config.cache ; then \ @@ -161,9 +158,13 @@ endif # If the Makefile in the source tree has been updated, copy it over into the # build tree. But, only do this if the source and object makefiles differ #------------------------------------------------------------------------ +ifndef PROJ_MAKEFILE +PROJ_MAKEFILE := $(PROJ_SRC_DIR)/Makefile +endif + ifneq ($(PROJ_OBJ_DIR),$(PROJ_SRC_DIR)) -Makefile: $(PROJ_SRC_DIR)/Makefile $(ExtraMakefiles) +Makefile: $(PROJ_MAKEFILE) $(ExtraMakefiles) $(Echo) "Updating Makefile" $(Verb) $(MKDIR) $(@D) $(Verb) $(CP) -f $< $@ @@ -171,7 +172,7 @@ Makefile: $(PROJ_SRC_DIR)/Makefile $(Ext # Copy the Makefile.* files unless we're in the root directory which avoids # the copying of Makefile.config.in or other things that should be explicitly # taken care of. -$(PROJ_OBJ_DIR)/Makefile% : $(PROJ_SRC_DIR)/Makefile% +$(PROJ_OBJ_DIR)/Makefile% : $(PROJ_MAKEFILE)% @case '$?' in \ *Makefile.rules) ;; \ *.in) ;; \ @@ -204,7 +205,7 @@ ifdef LLVMC_BASED_DRIVER TOOLNAME = $(LLVMC_BASED_DRIVER) LLVMLIBS = CompilerDriver.a -LINK_COMPONENTS = support system +LINK_COMPONENTS = support endif # LLVMC_BASED_DRIVER @@ -300,7 +301,7 @@ ifneq ($(REQUIRES_RTTI), 1) CXX.Flags += -fno-rtti endif -ifdef ENABLE_COVERAGE +ifeq ($(ENABLE_COVERAGE),1) BuildMode := $(BuildMode)+Coverage CXX.Flags += -ftest-coverage -fprofile-arcs C.Flags += -ftest-coverage -fprofile-arcs @@ -308,17 +309,17 @@ endif # If DISABLE_ASSERTIONS=1 is specified (make command line or configured), # then disable assertions by defining the appropriate preprocessor symbols. -ifndef DISABLE_ASSERTIONS +ifeq ($(DISABLE_ASSERTIONS),1) + CPP.Defines += -DNDEBUG +else BuildMode := $(BuildMode)+Asserts CPP.Defines += -D_DEBUG -else - CPP.Defines += -DNDEBUG endif # If ENABLE_EXPENSIVE_CHECKS=1 is specified (make command line or # configured), then enable expensive checks by defining the # appropriate preprocessor symbols. -ifdef ENABLE_EXPENSIVE_CHECKS +ifeq ($(ENABLE_EXPENSIVE_CHECKS),1) BuildMode := $(BuildMode)+Checks CPP.Defines += -D_GLIBCXX_DEBUG -DXDEBUG endif @@ -387,12 +388,21 @@ ifeq ($(ENABLE_PIC),0) CXX.Flags += -fPIC CPP.BaseFlags += -fPIC endif -endif -ifeq ($(ARCH),Alpha) LD.Flags += -Wl,--no-relax endif +# GNU ld/PECOFF accepts but ignores them below; +# --version-script +# --export-dynamic +# --rpath +# FIXME: autoconf should be aware of them. +ifneq (,$(filter $(HOST_OS),Cygwin MingW)) + HAVE_LINK_VERSION_SCRIPT := 0 + RPATH := + RDYNAMIC := -Wl,--export-all-symbols +endif + #-------------------------------------------------------------------- # Directory locations #-------------------------------------------------------------------- @@ -497,8 +507,8 @@ ifeq ($(HOST_OS),Darwin) # Get "4" out of 10.4 for later pieces in the makefile. DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/') - SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined,suppress \ - -dynamiclib + LoadableModuleOptions := -Wl,-flat_namespace -Wl,-undefined,suppress + SharedLinkOptions := -dynamiclib ifneq ($(ARCH),ARM) SharedLinkOptions += -mmacosx-version-min=$(DARWIN_VERSION) endif @@ -516,10 +526,6 @@ ifdef SHARED_LIBRARY ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) ifneq ($(HOST_OS),Darwin) LD.Flags += $(RPATH) -Wl,'$$ORIGIN' -else -ifneq ($(DARWIN_MAJVERS),4) - LD.Flags += $(RPATH) -Wl,$(SharedLibDir) -endif endif endif endif @@ -547,15 +553,21 @@ ifndef KEEP_SYMBOLS Install.StripFlag += -s endif +ifdef TOOL_NO_EXPORTS + DynamicFlags := +else + DynamicFlag := $(RDYNAMIC) +endif + # Adjust linker flags for building an executable ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) ifneq ($(HOST_OS), Darwin) ifdef TOOLNAME LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib' ifdef EXAMPLE_TOOL - LD.Flags += $(RPATH) -Wl,$(ExmplDir) $(RDYNAMIC) + LD.Flags += $(RPATH) -Wl,$(ExmplDir) $(DynamicFlag) else - LD.Flags += $(RPATH) -Wl,$(ToolDir) $(RDYNAMIC) + LD.Flags += $(RPATH) -Wl,$(ToolDir) $(DynamicFlag) endif endif else @@ -618,11 +630,11 @@ else endif ifeq ($(HOST_OS),SunOS) -CPP.BaseFlags += -include llvm/System/Solaris.h +CPP.BaseFlags += -include llvm/Support/Solaris.h endif ifeq ($(HOST_OS),AuroraUX) -CPP.BaseFlags += -include llvm/System/Solaris.h +CPP.BaseFlags += -include llvm/Support/Solaris.h endif # !HOST_OS - AuroraUX. LD.Flags += -L$(LibDir) -L$(LLVMLibDir) @@ -828,7 +840,9 @@ $(RecursiveTargets):: else $(RecursiveTargets):: $(Verb) for dir in $(OPTIONAL_DIRS); do \ - ($(MAKE) -C$$dir $@ ) || exit 1; \ + if [ -d $(PROJ_SRC_DIR)/$$dir ]; then\ + ($(MAKE) -C$$dir $@ ) || exit 1; \ + fi \ done endif endif @@ -890,10 +904,13 @@ LLVMUsedLibs := $(patsubst %.a.o, lib LLVMLibsPaths := $(addprefix $(LLVMLibDir)/,$(LLVMUsedLibs)) endif -# Win32.DLL may refer to other components. -ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) +# Loadable module for Win32 requires all symbols resolved for linking. +# Then all symbols in LLVM.dll will be available. +ifeq ($(ENABLE_SHARED),1) ifdef LOADABLE_MODULE - LINK_COMPONENTS := all + ifneq (,$(filter $(HOST_OS),Cygwin MingW)) + LINK_COMPONENTS += all + endif endif endif @@ -941,11 +958,6 @@ ifdef EXPORTED_SYMBOL_FILE # First, set up the native export file, which may differ from the source # export file. -# The option --version-script is not effective on GNU ld win32. -ifneq (,$(filter $(HOST_OS),Cygwin MingW)) - HAVE_LINK_VERSION_SCRIPT := 0 -endif - ifeq ($(HOST_OS),Darwin) # Darwin convention prefixes symbols with underscores. NativeExportsFile := $(ObjDir)/$(notdir $(EXPORTED_SYMBOL_FILE)).sed @@ -1073,12 +1085,14 @@ ifdef LIBRARYNAME # Make sure there isn't any extraneous whitespace on the LIBRARYNAME option LIBRARYNAME := $(strip $(LIBRARYNAME)) ifdef LOADABLE_MODULE -LibName.A := $(LibDir)/$(LIBRARYNAME).a -LibName.SO := $(SharedLibDir)/$(LIBRARYNAME)$(SHLIBEXT) +BaseLibName.A := $(LIBRARYNAME).a +BaseLibName.SO := $(LIBRARYNAME)$(SHLIBEXT) else -LibName.A := $(LibDir)/lib$(LIBRARYNAME).a -LibName.SO := $(SharedLibDir)/$(SharedPrefix)$(LIBRARYNAME)$(SHLIBEXT) +BaseLibName.A := lib$(LIBRARYNAME).a +BaseLibName.SO := $(SharedPrefix)$(LIBRARYNAME)$(SHLIBEXT) endif +LibName.A := $(LibDir)/$(BaseLibName.A) +LibName.SO := $(SharedLibDir)/$(BaseLibName.SO) LibName.O := $(LibDir)/$(LIBRARYNAME).o LibName.BCA:= $(LibDir)/lib$(LIBRARYNAME).bca @@ -1099,6 +1113,7 @@ endif ifdef LINK_LIBS_IN_SHARED ifdef LOADABLE_MODULE SharedLibKindMessage := "Loadable Module" +SharedLinkOptions := $(LoadableModuleOptions) $(SharedLinkOptions) else SharedLibKindMessage := "Shared Library" endif @@ -1131,7 +1146,7 @@ DestSharedLibDir := $(DESTDIR)$(PROJ_bin else DestSharedLibDir := $(DESTDIR)$(PROJ_libdir) endif -DestSharedLib := $(DestSharedLibDir)/$(SharedPrefix)$(LIBRARYNAME)$(SHLIBEXT) +DestSharedLib := $(DestSharedLibDir)/$(BaseLibName.SO) install-local:: $(DestSharedLib) @@ -1324,6 +1339,18 @@ endif endif #--------------------------------------------------------- +# Tool Order File Support +#--------------------------------------------------------- + +ifeq ($(HOST_OS),Darwin) +ifdef TOOL_ORDER_FINE + +LD.Flags += -Wl,-order_file,$(TOOL_ORDER_FILE) + +endif +endif + +#--------------------------------------------------------- # Tool Version Info Support #--------------------------------------------------------- @@ -1441,27 +1468,27 @@ DEPEND_OPTIONS = -MMD -MP -MF "$(ObjDir) DEPEND_MOVEFILE = then $(MV) -f "$(ObjDir)/$*.d.tmp" "$(ObjDir)/$*.d"; \ else $(RM) "$(ObjDir)/$*.d.tmp"; exit 1; fi -$(ObjDir)/%.o: %.cpp $(ObjDir)/.dir $(BUILT_SOURCES) $(PROJ_SRC_DIR)/Makefile +$(ObjDir)/%.o: %.cpp $(ObjDir)/.dir $(BUILT_SOURCES) $(PROJ_MAKEFILE) $(Echo) "Compiling $*.cpp for $(BuildMode) build" $(PIC_FLAG) $(Verb) if $(Compile.CXX) $(DEPEND_OPTIONS) $< -o $(ObjDir)/$*.o ; \ $(DEPEND_MOVEFILE) -$(ObjDir)/%.o: %.mm $(ObjDir)/.dir $(BUILT_SOURCES) $(PROJ_SRC_DIR)/Makefile +$(ObjDir)/%.o: %.mm $(ObjDir)/.dir $(BUILT_SOURCES) $(PROJ_MAKEFILE) $(Echo) "Compiling $*.mm for $(BuildMode) build" $(PIC_FLAG) $(Verb) if $(Compile.CXX) $(DEPEND_OPTIONS) $< -o $(ObjDir)/$*.o ; \ $(DEPEND_MOVEFILE) -$(ObjDir)/%.o: %.cc $(ObjDir)/.dir $(BUILT_SOURCES) $(PROJ_SRC_DIR)/Makefile +$(ObjDir)/%.o: %.cc $(ObjDir)/.dir $(BUILT_SOURCES) $(PROJ_MAKEFILE) $(Echo) "Compiling $*.cc for $(BuildMode) build" $(PIC_FLAG) $(Verb) if $(Compile.CXX) $(DEPEND_OPTIONS) $< -o $(ObjDir)/$*.o ; \ $(DEPEND_MOVEFILE) -$(ObjDir)/%.o: %.c $(ObjDir)/.dir $(BUILT_SOURCES) $(PROJ_SRC_DIR)/Makefile +$(ObjDir)/%.o: %.c $(ObjDir)/.dir $(BUILT_SOURCES) $(PROJ_MAKEFILE) $(Echo) "Compiling $*.c for $(BuildMode) build" $(PIC_FLAG) $(Verb) if $(Compile.C) $(DEPEND_OPTIONS) $< -o $(ObjDir)/$*.o ; \ $(DEPEND_MOVEFILE) -$(ObjDir)/%.o: %.m $(ObjDir)/.dir $(BUILT_SOURCES) $(PROJ_SRC_DIR)/Makefile +$(ObjDir)/%.o: %.m $(ObjDir)/.dir $(BUILT_SOURCES) $(PROJ_MAKEFILE) $(Echo) "Compiling $*.m for $(BuildMode) build" $(PIC_FLAG) $(Verb) if $(Compile.C) $(DEPEND_OPTIONS) $< -o $(ObjDir)/$*.o ; \ $(DEPEND_MOVEFILE) @@ -1481,31 +1508,31 @@ BC_DEPEND_MOVEFILE = then $(MV) -f "$(Ob $(ObjDir)/%.ll: %.cpp $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCXX) $(Echo) "Compiling $*.cpp for $(BuildMode) build (bytecode)" $(Verb) if $(BCCompile.CXX) $(BC_DEPEND_OPTIONS) \ - $< -o $(ObjDir)/$*.ll -S -emit-llvm ; \ + $< -o $(ObjDir)/$*.ll -S -$(LLVMCC_EMITIR_FLAG) ; \ $(BC_DEPEND_MOVEFILE) $(ObjDir)/%.ll: %.mm $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCXX) $(Echo) "Compiling $*.mm for $(BuildMode) build (bytecode)" $(Verb) if $(BCCompile.CXX) $(BC_DEPEND_OPTIONS) \ - $< -o $(ObjDir)/$*.ll -S -emit-llvm ; \ + $< -o $(ObjDir)/$*.ll -S -$(LLVMCC_EMITIR_FLAG) ; \ $(BC_DEPEND_MOVEFILE) $(ObjDir)/%.ll: %.cc $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCXX) $(Echo) "Compiling $*.cc for $(BuildMode) build (bytecode)" $(Verb) if $(BCCompile.CXX) $(BC_DEPEND_OPTIONS) \ - $< -o $(ObjDir)/$*.ll -S -emit-llvm ; \ + $< -o $(ObjDir)/$*.ll -S -$(LLVMCC_EMITIR_FLAG) ; \ $(BC_DEPEND_MOVEFILE) $(ObjDir)/%.ll: %.c $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCC) $(Echo) "Compiling $*.c for $(BuildMode) build (bytecode)" $(Verb) if $(BCCompile.C) $(BC_DEPEND_OPTIONS) \ - $< -o $(ObjDir)/$*.ll -S -emit-llvm ; \ + $< -o $(ObjDir)/$*.ll -S -$(LLVMCC_EMITIR_FLAG) ; \ $(BC_DEPEND_MOVEFILE) $(ObjDir)/%.ll: %.m $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCC) $(Echo) "Compiling $*.m for $(BuildMode) build (bytecode)" $(Verb) if $(BCCompile.C) $(BC_DEPEND_OPTIONS) \ - $< -o $(ObjDir)/$*.ll -S -emit-llvm ; \ + $< -o $(ObjDir)/$*.ll -S -$(LLVMCC_EMITIR_FLAG) ; \ $(BC_DEPEND_MOVEFILE) # Provide alternate rule sets if dependencies are disabled @@ -1533,23 +1560,23 @@ $(ObjDir)/%.o: %.m $(ObjDir)/.dir $(BUIL $(ObjDir)/%.ll: %.cpp $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCXX) $(Echo) "Compiling $*.cpp for $(BuildMode) build (bytecode)" - $(BCCompile.CXX) $< -o $@ -S -emit-llvm + $(BCCompile.CXX) $< -o $@ -S -$(LLVMCC_EMITIR_FLAG) $(ObjDir)/%.ll: %.mm $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCXX) $(Echo) "Compiling $*.mm for $(BuildMode) build (bytecode)" - $(BCCompile.CXX) $< -o $@ -S -emit-llvm + $(BCCompile.CXX) $< -o $@ -S -$(LLVMCC_EMITIR_FLAG) $(ObjDir)/%.ll: %.cc $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCXX) $(Echo) "Compiling $*.cc for $(BuildMode) build (bytecode)" - $(BCCompile.CXX) $< -o $@ -S -emit-llvm + $(BCCompile.CXX) $< -o $@ -S -$(LLVMCC_EMITIR_FLAG) $(ObjDir)/%.ll: %.c $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCC) $(Echo) "Compiling $*.c for $(BuildMode) build (bytecode)" - $(BCCompile.C) $< -o $@ -S -emit-llvm + $(BCCompile.C) $< -o $@ -S -$(LLVMCC_EMITIR_FLAG) $(ObjDir)/%.ll: %.m $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCC) $(Echo) "Compiling $*.m for $(BuildMode) build (bytecode)" - $(BCCompile.C) $< -o $@ -S -emit-llvm + $(BCCompile.C) $< -o $@ -S -$(LLVMCC_EMITIR_FLAG) endif @@ -1699,6 +1726,11 @@ $(ObjDir)/%GenAsmMatcher.inc.tmp : %.td $(Echo) "Building $( Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DDF5106566B; Sun, 20 Feb 2011 12:59:04 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E5A4A8FC15; Sun, 20 Feb 2011 12:59:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KCx3Tg033082; Sun, 20 Feb 2011 12:59:03 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KCx3pU033081; Sun, 20 Feb 2011 12:59:03 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102201259.p1KCx3pU033081@svn.freebsd.org> From: Dimitry Andric Date: Sun, 20 Feb 2011 12:59:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218886 - vendor/llvm/llvm-r126079 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 12:59:04 -0000 Author: dim Date: Sun Feb 20 12:59:03 2011 New Revision: 218886 URL: http://svn.freebsd.org/changeset/base/218886 Log: Tag llvm r126079. Added: vendor/llvm/llvm-r126079/ - copied from r218885, vendor/llvm/dist/ From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 13:06:33 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B519106566C; Sun, 20 Feb 2011 13:06:33 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 14F188FC14; Sun, 20 Feb 2011 13:06:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KD6XxR033295; Sun, 20 Feb 2011 13:06:33 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KD6W2E033286; Sun, 20 Feb 2011 13:06:32 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102201306.p1KD6W2E033286@svn.freebsd.org> From: Dimitry Andric Date: Sun, 20 Feb 2011 13:06:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218887 - in vendor/clang/dist: . bindings/python/clang bindings/python/tests/cindex clang.xcodeproj docs docs/tools examples/PrintFunctionNames examples/clang-interpreter examples/wpa ... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 13:06:33 -0000 Author: dim Date: Sun Feb 20 13:06:31 2011 New Revision: 218887 URL: http://svn.freebsd.org/changeset/base/218887 Log: Vendor import of clang trunk r126079: http://llvm.org/svn/llvm-project/cfe/trunk@126079 Added: vendor/clang/dist/include/clang/AST/ASTMutationListener.h vendor/clang/dist/include/clang/AST/EvaluatedExprVisitor.h vendor/clang/dist/include/clang/AST/Mangle.h vendor/clang/dist/include/clang/Analysis/Analyses/UninitializedValuesV2.h vendor/clang/dist/include/clang/Analysis/DomainSpecific/ vendor/clang/dist/include/clang/Analysis/DomainSpecific/CocoaConventions.h vendor/clang/dist/include/clang/Basic/ABI.h vendor/clang/dist/include/clang/Basic/DiagnosticIDs.h vendor/clang/dist/include/clang/Basic/FileSystemOptions.h vendor/clang/dist/include/clang/Basic/FileSystemStatCache.h vendor/clang/dist/include/clang/Basic/OpenCLExtensions.def vendor/clang/dist/include/clang/Basic/Visibility.h vendor/clang/dist/include/clang/Config/ vendor/clang/dist/include/clang/Config/config.h.cmake vendor/clang/dist/include/clang/Frontend/MultiplexConsumer.h vendor/clang/dist/include/clang/Lex/CMakeLists.txt vendor/clang/dist/include/clang/Lex/Makefile vendor/clang/dist/include/clang/Serialization/ASTSerializationListener.h vendor/clang/dist/include/clang/StaticAnalyzer/ vendor/clang/dist/include/clang/StaticAnalyzer/BugReporter/ vendor/clang/dist/include/clang/StaticAnalyzer/Checkers/ vendor/clang/dist/include/clang/StaticAnalyzer/Checkers/CheckerBase.td vendor/clang/dist/include/clang/StaticAnalyzer/Checkers/DereferenceChecker.h vendor/clang/dist/include/clang/StaticAnalyzer/Checkers/LocalCheckers.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/ vendor/clang/dist/include/clang/StaticAnalyzer/Core/BugReporter/ vendor/clang/dist/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/CheckerManager.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/CheckerProvider.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/CheckerV2.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathDiagnosticClients.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/ vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/Checker.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerVisitor.def vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerVisitor.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngineBuilders.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/GRState.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/GRStateTrait.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/ObjCMessage.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/SummaryManager.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/TransferFuncs.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h vendor/clang/dist/include/clang/StaticAnalyzer/Frontend/ vendor/clang/dist/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h vendor/clang/dist/include/clang/StaticAnalyzer/Frontend/FrontendActions.h vendor/clang/dist/include/clang/StaticAnalyzer/PathSensitive/ vendor/clang/dist/lib/AST/DumpXML.cpp vendor/clang/dist/lib/AST/ItaniumMangle.cpp vendor/clang/dist/lib/AST/Mangle.cpp vendor/clang/dist/lib/AST/MicrosoftMangle.cpp vendor/clang/dist/lib/Analysis/CocoaConventions.cpp vendor/clang/dist/lib/Analysis/UninitializedValuesV2.cpp vendor/clang/dist/lib/Basic/DiagnosticIDs.cpp vendor/clang/dist/lib/Basic/FileSystemStatCache.cpp vendor/clang/dist/lib/CodeGen/CGCXXABI.cpp vendor/clang/dist/lib/CodeGen/CGCleanup.cpp vendor/clang/dist/lib/CodeGen/CGCleanup.h vendor/clang/dist/lib/CodeGen/CodeGenTBAA.cpp vendor/clang/dist/lib/CodeGen/CodeGenTBAA.h vendor/clang/dist/lib/Frontend/HeaderIncludeGen.cpp vendor/clang/dist/lib/Frontend/MultiplexConsumer.cpp vendor/clang/dist/lib/Sema/SemaTemplateVariadic.cpp vendor/clang/dist/lib/Sema/TypeLocBuilder.h vendor/clang/dist/lib/StaticAnalyzer/ vendor/clang/dist/lib/StaticAnalyzer/CMakeLists.txt vendor/clang/dist/lib/StaticAnalyzer/Checkers/ vendor/clang/dist/lib/StaticAnalyzer/Checkers/AdjustedReturnValueChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/AttrNonNullChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.h vendor/clang/dist/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/CMakeLists.txt vendor/clang/dist/lib/StaticAnalyzer/Checkers/CStringChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/Checkers.td vendor/clang/dist/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ClangSACheckerProvider.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ClangSACheckerProvider.h vendor/clang/dist/lib/StaticAnalyzer/Checkers/ClangSACheckers.h vendor/clang/dist/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ExperimentalChecks.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ExperimentalChecks.h vendor/clang/dist/lib/StaticAnalyzer/Checkers/ExprEngine.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/IdempotentOperationChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/InternalChecks.h vendor/clang/dist/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/Makefile vendor/clang/dist/lib/StaticAnalyzer/Checkers/MallocChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/OSAtomicChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/StackAddrLeakChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/StreamChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/UndefBranchChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/ vendor/clang/dist/lib/StaticAnalyzer/Core/AggExprVisitor.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/AnalysisManager.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/BasicConstraintManager.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/BasicStore.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/BasicValueFactory.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/BlockCounter.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/BugReporter.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/CFRefCount.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/CMakeLists.txt vendor/clang/dist/lib/StaticAnalyzer/Core/CXXExprEngine.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/Checker.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/CheckerHelpers.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/CheckerManager.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/CoreEngine.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/Environment.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/ExplodedGraph.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/FlatStore.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/GRState.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/Makefile vendor/clang/dist/lib/StaticAnalyzer/Core/MemRegion.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/ObjCMessage.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/PathDiagnostic.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/RegionStore.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/SValBuilder.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/SVals.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/SimpleConstraintManager.h vendor/clang/dist/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/Store.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/SymbolManager.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/TextPathDiagnostics.cpp vendor/clang/dist/lib/StaticAnalyzer/Frontend/ vendor/clang/dist/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp vendor/clang/dist/lib/StaticAnalyzer/Frontend/AnalysisConsumer.h vendor/clang/dist/lib/StaticAnalyzer/Frontend/CMakeLists.txt vendor/clang/dist/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp vendor/clang/dist/lib/StaticAnalyzer/Frontend/FrontendActions.cpp vendor/clang/dist/lib/StaticAnalyzer/Frontend/Makefile vendor/clang/dist/lib/StaticAnalyzer/Makefile vendor/clang/dist/lib/StaticAnalyzer/README.txt vendor/clang/dist/runtime/CMakeLists.txt vendor/clang/dist/runtime/libcxx/ vendor/clang/dist/runtime/libcxx/Makefile vendor/clang/dist/test/ASTMerge/Inputs/class-template1.cpp vendor/clang/dist/test/ASTMerge/Inputs/class-template2.cpp vendor/clang/dist/test/ASTMerge/class-template.cpp vendor/clang/dist/test/Analysis/analyzer-stats.c vendor/clang/dist/test/Analysis/auto-obj-dtors-cfg-output.cpp vendor/clang/dist/test/Analysis/base-init.cpp vendor/clang/dist/test/Analysis/chroot.c vendor/clang/dist/test/Analysis/cxx-crashes.cpp vendor/clang/dist/test/Analysis/derived-to-base.cpp vendor/clang/dist/test/Analysis/dtor.cpp vendor/clang/dist/test/Analysis/dtors-in-dtor-cfg-output.cpp vendor/clang/dist/test/Analysis/idempotent-operations-limited-loops.c vendor/clang/dist/test/Analysis/idempotent-operations.m vendor/clang/dist/test/Analysis/initializer.cpp vendor/clang/dist/test/Analysis/initializers-cfg-output.cpp vendor/clang/dist/test/Analysis/lvalue.cpp vendor/clang/dist/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m vendor/clang/dist/test/Analysis/operator-calls.cpp vendor/clang/dist/test/Analysis/out-of-bounds.c vendor/clang/dist/test/Analysis/plist-output-alternate.m vendor/clang/dist/test/Analysis/properties.m vendor/clang/dist/test/Analysis/self-init.m vendor/clang/dist/test/Analysis/temp-obj-dtors-cfg-output.cpp vendor/clang/dist/test/CXX/basic/basic.scope/basic.scope.hiding/p2.cpp vendor/clang/dist/test/CXX/basic/basic.start/basic.start.main/p2h.cpp vendor/clang/dist/test/CXX/class.access/class.friend/p11.cpp vendor/clang/dist/test/CXX/class.derived/class.member.lookup/p9.cpp vendor/clang/dist/test/CXX/class.derived/class.virtual/p3-0x.cpp vendor/clang/dist/test/CXX/class.derived/p8-0x.cpp vendor/clang/dist/test/CXX/class/class.mem/p13.cpp vendor/clang/dist/test/CXX/class/class.mem/p14.cpp vendor/clang/dist/test/CXX/class/class.mem/p1b.cpp vendor/clang/dist/test/CXX/class/class.mem/p8-0x-pedantic.cpp vendor/clang/dist/test/CXX/class/class.mem/p8-0x.cpp vendor/clang/dist/test/CXX/class/class.nest/p1-cxx0x.cpp vendor/clang/dist/test/CXX/class/p1-0x.cpp vendor/clang/dist/test/CXX/class/p2-0x.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.def/p2.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p4.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p6.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p7.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-0x.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p13.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p14.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p2-cxx0x.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p6-0x.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p6.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p8.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.ref/p6-0x.cpp vendor/clang/dist/test/CXX/dcl.decl/p4-0x.cpp vendor/clang/dist/test/CXX/expr/expr.cast/p4-0x.cpp vendor/clang/dist/test/CXX/expr/expr.cast/p4.cpp vendor/clang/dist/test/CXX/expr/expr.mptr.oper/p5.cpp vendor/clang/dist/test/CXX/expr/expr.mptr.oper/p6-0x.cpp vendor/clang/dist/test/CXX/expr/expr.post/expr.const.cast/p1-0x.cpp vendor/clang/dist/test/CXX/expr/expr.post/expr.dynamic.cast/p3-0x.cpp vendor/clang/dist/test/CXX/expr/expr.post/expr.reinterpret.cast/p1-0x.cpp vendor/clang/dist/test/CXX/expr/expr.post/expr.static.cast/p3-0x.cpp vendor/clang/dist/test/CXX/expr/expr.post/expr.static.cast/p9-0x.cpp vendor/clang/dist/test/CXX/expr/expr.unary/expr.new/p2-cxx0x.cpp vendor/clang/dist/test/CXX/expr/expr.unary/expr.sizeof/p5-0x.cpp vendor/clang/dist/test/CXX/expr/expr.unary/expr.unary.noexcept/ vendor/clang/dist/test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp vendor/clang/dist/test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp vendor/clang/dist/test/CXX/expr/expr.unary/expr.unary.noexcept/ser.h vendor/clang/dist/test/CXX/expr/expr.unary/expr.unary.op/p6.cpp vendor/clang/dist/test/CXX/over/over.built/p1.cpp vendor/clang/dist/test/CXX/over/over.built/p25.cpp vendor/clang/dist/test/CXX/over/over.load/p2-0x.cpp vendor/clang/dist/test/CXX/over/over.match/over.match.best/over.ics.rank/p3-0x.cpp vendor/clang/dist/test/CXX/over/over.match/over.match.funcs/p4-0x.cpp vendor/clang/dist/test/CXX/over/over.over/p2-resolve-single-template-id.cpp vendor/clang/dist/test/CXX/special/class.copy/p33-0x.cpp vendor/clang/dist/test/CXX/special/class.ctor/p4-0x.cpp vendor/clang/dist/test/CXX/special/class.dtor/p2-0x.cpp vendor/clang/dist/test/CXX/special/class.inhctor/elsewhere.cpp vendor/clang/dist/test/CXX/special/class.inhctor/p3.cpp vendor/clang/dist/test/CXX/special/class.inhctor/p7.cpp vendor/clang/dist/test/CXX/stmt.stmt/stmt.label/p1.cpp vendor/clang/dist/test/CXX/temp/temp.arg/temp.arg.template/p3-0x.cpp vendor/clang/dist/test/CXX/temp/temp.arg/temp.arg.type/p2.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class.spec/p8-0x.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class.spec/p9-0x.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class.spec/p9.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3-0x.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.friend/p8.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.mem/p3.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/deduction.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/example-bind.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/example-function.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/example-tuple.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/ext-blocks.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/injected-class-name.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/multi-level-substitution.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/p1.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/p2.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/p4.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/p5.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/partial-ordering.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.arg.explicit/p3-0x.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.arg.explicit/p9-0x.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p1-0x.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3-0x.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p12.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p9-0x.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p10-0x.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p2-0x.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p21.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p22.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p5-0x.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p8-0x.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p9-0x.cpp vendor/clang/dist/test/CXX/temp/temp.param/p11-0x.cpp vendor/clang/dist/test/CXX/temp/temp.param/p9-0x.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp vendor/clang/dist/test/CodeCompletion/stdin.c vendor/clang/dist/test/CodeGen/arm-vector-arguments.c vendor/clang/dist/test/CodeGen/asm-variable.c vendor/clang/dist/test/CodeGen/attr-naked.c vendor/clang/dist/test/CodeGen/blockwithlocalstatic.c vendor/clang/dist/test/CodeGen/bool_test.c vendor/clang/dist/test/CodeGen/char-literal.c vendor/clang/dist/test/CodeGen/debug-info-line.c vendor/clang/dist/test/CodeGen/debug-info-var-location.c vendor/clang/dist/test/CodeGen/exceptions.c vendor/clang/dist/test/CodeGen/imaginary.c vendor/clang/dist/test/CodeGen/may-alias.c vendor/clang/dist/test/CodeGen/mcount.c vendor/clang/dist/test/CodeGen/mms-bitfields.c vendor/clang/dist/test/CodeGen/mmx-builtins.c vendor/clang/dist/test/CodeGen/mmx-shift-with-immediate.c vendor/clang/dist/test/CodeGen/ms-anonymous-struct.c vendor/clang/dist/test/CodeGen/mult-alt-generic.c vendor/clang/dist/test/CodeGen/mult-alt-x86.c vendor/clang/dist/test/CodeGen/pointer-signext.c vendor/clang/dist/test/CodeGen/regparm-flag.c vendor/clang/dist/test/CodeGen/string-literal-short-wstring.c vendor/clang/dist/test/CodeGen/transparent-union.c vendor/clang/dist/test/CodeGen/va_list_test.c vendor/clang/dist/test/CodeGen/volatile-2.c vendor/clang/dist/test/CodeGen/x86_32-arguments-darwin.c vendor/clang/dist/test/CodeGen/x86_32-arguments-linux.c vendor/clang/dist/test/CodeGen/x86_32-arguments-realign.c vendor/clang/dist/test/CodeGenCXX/apple-kext-indirect-call-2.C vendor/clang/dist/test/CodeGenCXX/apple-kext-indirect-call.C vendor/clang/dist/test/CodeGenCXX/apple-kext-indirect-virtual-dtor-call.cpp vendor/clang/dist/test/CodeGenCXX/apple-kext-linkage.C vendor/clang/dist/test/CodeGenCXX/apple-kext-no-staticinit-section.C vendor/clang/dist/test/CodeGenCXX/asm.cpp vendor/clang/dist/test/CodeGenCXX/attr-used.cpp vendor/clang/dist/test/CodeGenCXX/block-byref-cxx-objc.cpp vendor/clang/dist/test/CodeGenCXX/blocks.cpp vendor/clang/dist/test/CodeGenCXX/builtins.cpp vendor/clang/dist/test/CodeGenCXX/constructor-attr.cpp vendor/clang/dist/test/CodeGenCXX/constructor-direct-call.cpp vendor/clang/dist/test/CodeGenCXX/cxx-block-objects.cpp vendor/clang/dist/test/CodeGenCXX/debug-info-ctor2.cpp vendor/clang/dist/test/CodeGenCXX/debug-info-large-constant.cpp vendor/clang/dist/test/CodeGenCXX/debug-info-member.cpp vendor/clang/dist/test/CodeGenCXX/debug-info-method.cpp vendor/clang/dist/test/CodeGenCXX/debug-info-namespace.cpp vendor/clang/dist/test/CodeGenCXX/derived-to-virtual-base-class-calls-final.cpp vendor/clang/dist/test/CodeGenCXX/devirtualize-virtual-function-calls-final.cpp vendor/clang/dist/test/CodeGenCXX/friend-redecl.cpp vendor/clang/dist/test/CodeGenCXX/gnu-conditional-scalar-ext.cpp vendor/clang/dist/test/CodeGenCXX/goto.cpp vendor/clang/dist/test/CodeGenCXX/mangle-abi-examples.cpp vendor/clang/dist/test/CodeGenCXX/mangle-local-class-vtables.cpp vendor/clang/dist/test/CodeGenCXX/mangle-local-classes-nested.cpp vendor/clang/dist/test/CodeGenCXX/mangle-neon-vectors.cpp vendor/clang/dist/test/CodeGenCXX/mangle-ref-qualifiers.cpp vendor/clang/dist/test/CodeGenCXX/mangle-variadic-templates.cpp vendor/clang/dist/test/CodeGenCXX/nrvo-noreturn.cc vendor/clang/dist/test/CodeGenCXX/pr9130.cpp vendor/clang/dist/test/CodeGenCXX/pragma-pack.cpp vendor/clang/dist/test/CodeGenCXX/rtti-visibility.cpp vendor/clang/dist/test/CodeGenCXX/rvalue-references.cpp vendor/clang/dist/test/CodeGenCXX/specialized-static-data-mem-init.cpp vendor/clang/dist/test/CodeGenCXX/stmtexpr.cpp vendor/clang/dist/test/CodeGenCXX/template-dependent-bind-temporary.cpp vendor/clang/dist/test/CodeGenCXX/template-inner-struct-visibility-hidden.cpp vendor/clang/dist/test/CodeGenCXX/thunks-available-externally.cpp vendor/clang/dist/test/CodeGenCXX/variadic-templates.cpp vendor/clang/dist/test/CodeGenCXX/volatile-1.cpp vendor/clang/dist/test/CodeGenCXX/vtable-available-externally.cpp vendor/clang/dist/test/CodeGenCXX/vtable-debug-info.cpp vendor/clang/dist/test/CodeGenCXX/warn-padded-packed.cpp vendor/clang/dist/test/CodeGenObjC/arm-atomic-scalar-setter-getter.m vendor/clang/dist/test/CodeGenObjC/bitfield-gnu.m vendor/clang/dist/test/CodeGenObjC/block-6.m vendor/clang/dist/test/CodeGenObjC/constant-string-class.m vendor/clang/dist/test/CodeGenObjC/debug-info-default-synth-ivar.m vendor/clang/dist/test/CodeGenObjC/debug-info-fnname.m vendor/clang/dist/test/CodeGenObjC/debug-info-foreach.m vendor/clang/dist/test/CodeGenObjC/debug-info-getter-name.m vendor/clang/dist/test/CodeGenObjC/debug-info-selector.m vendor/clang/dist/test/CodeGenObjC/debug-info-self.m vendor/clang/dist/test/CodeGenObjC/debug-info-static-var.m vendor/clang/dist/test/CodeGenObjC/exceptions-nonfragile.m vendor/clang/dist/test/CodeGenObjC/ivar-layout-array0-struct.m vendor/clang/dist/test/CodeGenObjC/local-static-block.m vendor/clang/dist/test/CodeGenObjC/property-ref-cast-to-void.m vendor/clang/dist/test/CodeGenObjC/property-type-mismatch.m vendor/clang/dist/test/CodeGenObjCXX/block-var-layout.mm vendor/clang/dist/test/CodeGenObjCXX/blocks.mm vendor/clang/dist/test/CodeGenObjCXX/property-dot-copy.mm vendor/clang/dist/test/CodeGenObjCXX/property-dot-reference.mm vendor/clang/dist/test/CodeGenObjCXX/property-object-conditional-exp.mm vendor/clang/dist/test/CodeGenObjCXX/refence-assign-write-barrier.mm vendor/clang/dist/test/CodeGenObjCXX/write-barrier-global-assign.mm vendor/clang/dist/test/CodeGenOpenCL/ vendor/clang/dist/test/CodeGenOpenCL/ext-vector-shuffle.cl vendor/clang/dist/test/CodeGenOpenCL/kernel-metadata.cl vendor/clang/dist/test/CodeGenOpenCL/single-precision-constant.cl vendor/clang/dist/test/Driver/apple-kext-mkernel.c vendor/clang/dist/test/Driver/m_and_mm.c vendor/clang/dist/test/Driver/sysroot-flags.c vendor/clang/dist/test/FixIt/fixit-objc-message.m vendor/clang/dist/test/Headers/arm-neon-header.c vendor/clang/dist/test/Headers/stdbool.cpp vendor/clang/dist/test/Index/Inputs/a.h vendor/clang/dist/test/Index/Inputs/b.h vendor/clang/dist/test/Index/Inputs/get-cursor-includes-1.h vendor/clang/dist/test/Index/Inputs/get-cursor-includes-2.h vendor/clang/dist/test/Index/annotate-tokens-cxx0x.cpp vendor/clang/dist/test/Index/c-index-redecls.c vendor/clang/dist/test/Index/cindex-on-invalid-usrs.m vendor/clang/dist/test/Index/complete-driver-errors.c vendor/clang/dist/test/Index/complete-exprs.cpp vendor/clang/dist/test/Index/complete-exprs.m vendor/clang/dist/test/Index/complete-kvc.m vendor/clang/dist/test/Index/complete-synthesized.m vendor/clang/dist/test/Index/fix-its.c vendor/clang/dist/test/Index/get-cursor-includes.c vendor/clang/dist/test/Index/get-cursor.cpp vendor/clang/dist/test/Index/nested-binaryoperators.cpp vendor/clang/dist/test/Index/overrides.cpp vendor/clang/dist/test/Index/overrides.m vendor/clang/dist/test/Index/preamble-reparse-chained.c vendor/clang/dist/test/Index/print-display-names.cpp vendor/clang/dist/test/Index/recursive-cxx-member-calls.cpp vendor/clang/dist/test/Index/recursive-member-access.c vendor/clang/dist/test/Index/retain-target-options.c vendor/clang/dist/test/Index/usrs-cxx0x.cpp vendor/clang/dist/test/Index/warning-flags.c vendor/clang/dist/test/Lexer/clang-keywords.cpp vendor/clang/dist/test/Lexer/has_attribute.cpp vendor/clang/dist/test/Lexer/has_feature_type_traits.cpp vendor/clang/dist/test/Lexer/pragma-message.c vendor/clang/dist/test/Lexer/pragma-operators.cpp vendor/clang/dist/test/Lexer/rdar-8914293.c vendor/clang/dist/test/Lexer/wchar.c vendor/clang/dist/test/Misc/Inputs/working-directory.h vendor/clang/dist/test/Misc/working-directory.c vendor/clang/dist/test/PCH/Inputs/chain-remap-types1.h vendor/clang/dist/test/PCH/Inputs/chain-remap-types2.h vendor/clang/dist/test/PCH/Inputs/typo.h vendor/clang/dist/test/PCH/Inputs/va_arg.h vendor/clang/dist/test/PCH/attrs-PR8406.c vendor/clang/dist/test/PCH/chain-remap-types.m vendor/clang/dist/test/PCH/check-deserializations.cpp vendor/clang/dist/test/PCH/cmdline-include.c vendor/clang/dist/test/PCH/cmdline-include1.h vendor/clang/dist/test/PCH/cmdline-include2.h vendor/clang/dist/test/PCH/cuda-kernel-call.cu vendor/clang/dist/test/PCH/cxx-variadic-templates.cpp vendor/clang/dist/test/PCH/cxx-variadic-templates.h vendor/clang/dist/test/PCH/headersearch.cpp vendor/clang/dist/test/PCH/missing-file.cpp vendor/clang/dist/test/PCH/opencl-extensions.cl vendor/clang/dist/test/PCH/pragma-diag-section.cpp vendor/clang/dist/test/PCH/pragma-diag.c vendor/clang/dist/test/PCH/rdar8852495.c vendor/clang/dist/test/PCH/typo.m vendor/clang/dist/test/PCH/va_arg.cpp vendor/clang/dist/test/Parser/MicrosoftExtensions.cpp vendor/clang/dist/test/Parser/cuda-kernel-call.cu vendor/clang/dist/test/Parser/cxx-in-c.c vendor/clang/dist/test/Parser/cxx0x-in-cxx98.cpp vendor/clang/dist/test/Parser/cxx0x-override-control-keywords.cpp vendor/clang/dist/test/Parser/for.cpp vendor/clang/dist/test/Parser/goto.c vendor/clang/dist/test/Parser/missing-end-2.m vendor/clang/dist/test/Parser/missing-end-3.m vendor/clang/dist/test/Parser/opencl-kernel.cl vendor/clang/dist/test/Parser/opencl-pragma.cl vendor/clang/dist/test/Parser/opencl-storage-class.cl vendor/clang/dist/test/Parser/placeholder-recovery.m vendor/clang/dist/test/Preprocessor/pragma_diagnostic_sections.cpp vendor/clang/dist/test/Preprocessor/predefined-macros.c vendor/clang/dist/test/Preprocessor/print_line_empty_file.c vendor/clang/dist/test/Preprocessor/warn-macro-unused.c vendor/clang/dist/test/Rewriter/blockstruct.m vendor/clang/dist/test/Rewriter/property-dot-syntax.mm vendor/clang/dist/test/Rewriter/rewrite-captured-nested-bvar.c vendor/clang/dist/test/Rewriter/rewrite-nested-blocks-2.mm vendor/clang/dist/test/Rewriter/rewrite-nested-property-in-blocks.mm (contents, props changed) vendor/clang/dist/test/Rewriter/rewrite-property-set-cfstring.mm vendor/clang/dist/test/Rewriter/rewrite-protocol-property.mm vendor/clang/dist/test/Rewriter/rewrite-user-defined-accessors.mm vendor/clang/dist/test/Sema/MicrosoftExtensions.c vendor/clang/dist/test/Sema/arm-neon-types.c vendor/clang/dist/test/Sema/attr-alias.c vendor/clang/dist/test/Sema/attr-deprecated-message.c vendor/clang/dist/test/Sema/attr-naked.c vendor/clang/dist/test/Sema/attr-unavailable-message.c vendor/clang/dist/test/Sema/builtin_objc_msgSend.c vendor/clang/dist/test/Sema/constant-conversion.c vendor/clang/dist/test/Sema/neon-vector-types.c vendor/clang/dist/test/Sema/short-enums.c vendor/clang/dist/test/Sema/typeof-use-deprecated.c vendor/clang/dist/test/Sema/uninit-variables.c vendor/clang/dist/test/Sema/warn-unused-label.c vendor/clang/dist/test/SemaCUDA/ vendor/clang/dist/test/SemaCUDA/config-type.cu vendor/clang/dist/test/SemaCUDA/cuda.h vendor/clang/dist/test/SemaCUDA/kernel-call.cu vendor/clang/dist/test/SemaCUDA/qualifiers.cu vendor/clang/dist/test/SemaCXX/PR7944.cpp vendor/clang/dist/test/SemaCXX/PR8012.cpp vendor/clang/dist/test/SemaCXX/PR8755.cpp vendor/clang/dist/test/SemaCXX/PR8884.cpp vendor/clang/dist/test/SemaCXX/addr-of-overloaded-function-casting.cpp vendor/clang/dist/test/SemaCXX/array-bounds.cpp vendor/clang/dist/test/SemaCXX/attr-nonnull.cpp vendor/clang/dist/test/SemaCXX/attr-weak.cpp vendor/clang/dist/test/SemaCXX/block-call.cpp vendor/clang/dist/test/SemaCXX/builtin_objc_msgSend.cpp vendor/clang/dist/test/SemaCXX/compound-literal.cpp vendor/clang/dist/test/SemaCXX/crashes.cpp vendor/clang/dist/test/SemaCXX/delete.cpp vendor/clang/dist/test/SemaCXX/deleted-function-extension.cpp vendor/clang/dist/test/SemaCXX/dependent-auto.cpp vendor/clang/dist/test/SemaCXX/enum-bitfield.cpp vendor/clang/dist/test/SemaCXX/enum-scoped.cpp vendor/clang/dist/test/SemaCXX/gnu-case-ranges.cpp vendor/clang/dist/test/SemaCXX/if-empty-body.cpp vendor/clang/dist/test/SemaCXX/issue547.cpp vendor/clang/dist/test/SemaCXX/linkage.cpp vendor/clang/dist/test/SemaCXX/lookup-member.cpp vendor/clang/dist/test/SemaCXX/non-empty-class-size-zero.cpp vendor/clang/dist/test/SemaCXX/nullptr-98.cpp vendor/clang/dist/test/SemaCXX/overloaded-builtin-operators-0x.cpp vendor/clang/dist/test/SemaCXX/overloaded-name.cpp vendor/clang/dist/test/SemaCXX/pragma-pack.cpp vendor/clang/dist/test/SemaCXX/pragma-unused.cpp vendor/clang/dist/test/SemaCXX/ptrtomember.cpp vendor/clang/dist/test/SemaCXX/redeclared-auto.cpp vendor/clang/dist/test/SemaCXX/rval-references-examples.cpp vendor/clang/dist/test/SemaCXX/sourceranges.cpp vendor/clang/dist/test/SemaCXX/trailing-return-0x.cpp vendor/clang/dist/test/SemaCXX/type-formatting.cpp vendor/clang/dist/test/SemaCXX/undefined-internal.cpp vendor/clang/dist/test/SemaCXX/uninit-variables.cpp vendor/clang/dist/test/SemaCXX/uninitialized.cpp vendor/clang/dist/test/SemaCXX/unused-with-error.cpp vendor/clang/dist/test/SemaCXX/vtable-instantiation.cc vendor/clang/dist/test/SemaCXX/warn-enum-compare.cpp vendor/clang/dist/test/SemaCXX/warn-large-by-value-copy.cpp vendor/clang/dist/test/SemaCXX/warn-literal-conversion.cpp vendor/clang/dist/test/SemaCXX/warn-overloaded-virtual.cpp vendor/clang/dist/test/SemaCXX/warn-self-assign.cpp vendor/clang/dist/test/SemaCXX/writable-strings-deprecated.cpp vendor/clang/dist/test/SemaObjC/block-return.m vendor/clang/dist/test/SemaObjC/builtin_objc_lib_functions.m vendor/clang/dist/test/SemaObjC/builtin_objc_msgSend.m vendor/clang/dist/test/SemaObjC/comptypes-10.m vendor/clang/dist/test/SemaObjC/custom-atomic-property.m vendor/clang/dist/test/SemaObjC/direct-synthesized-ivar-access.m vendor/clang/dist/test/SemaObjC/error-missing-getter.m vendor/clang/dist/test/SemaObjC/incomplete-implementation.m vendor/clang/dist/test/SemaObjC/method-conflict-1.m vendor/clang/dist/test/SemaObjC/method-conflict-2.m vendor/clang/dist/test/SemaObjC/method-in-class-extension-impl.m vendor/clang/dist/test/SemaObjC/method-lookup-5.m vendor/clang/dist/test/SemaObjC/method-prototype-scope.m vendor/clang/dist/test/SemaObjC/method-typecheck-3.m vendor/clang/dist/test/SemaObjC/no-objc-exceptions.m vendor/clang/dist/test/SemaObjC/nonnull.h vendor/clang/dist/test/SemaObjC/property-dot-receiver.m vendor/clang/dist/test/SemaObjC/provisional-ivar-lookup.m vendor/clang/dist/test/SemaObjC/selector-2.m vendor/clang/dist/test/SemaObjC/selector-3.m vendor/clang/dist/test/SemaObjC/self-assign.m vendor/clang/dist/test/SemaObjC/setter-dotsyntax.m vendor/clang/dist/test/SemaObjC/special-dep-unavail-warning.m vendor/clang/dist/test/SemaObjC/synth-provisional-ivars-1.m vendor/clang/dist/test/SemaObjC/uninit-variables.m vendor/clang/dist/test/SemaObjC/warn-deprecated-implementations.m vendor/clang/dist/test/SemaObjC/warn-implicit-atomic-property.m vendor/clang/dist/test/SemaObjCXX/conversion-ranking.mm vendor/clang/dist/test/SemaObjCXX/propert-dot-error.mm vendor/clang/dist/test/SemaObjCXX/properties.mm vendor/clang/dist/test/SemaObjCXX/property-synthesis-error.mm vendor/clang/dist/test/SemaObjCXX/reserved-keyword-methods.mm vendor/clang/dist/test/SemaOpenCL/ vendor/clang/dist/test/SemaOpenCL/cond.cl vendor/clang/dist/test/SemaOpenCL/extension-fp64.cl vendor/clang/dist/test/SemaOpenCL/init.cl vendor/clang/dist/test/SemaTemplate/enum-forward.cpp vendor/clang/dist/test/SemaTemplate/member-access-ambig.cpp vendor/clang/dist/test/Unit/ vendor/clang/dist/test/Unit/lit.cfg vendor/clang/dist/test/Unit/lit.site.cfg.in vendor/clang/dist/tools/driver/clang_symlink.cmake vendor/clang/dist/tools/libclang/CXString.cpp vendor/clang/dist/tools/libclang/CXString.h vendor/clang/dist/tools/libclang/CXTranslationUnit.h vendor/clang/dist/unittests/ vendor/clang/dist/unittests/Basic/ vendor/clang/dist/unittests/Basic/FileManagerTest.cpp vendor/clang/dist/unittests/Basic/Makefile vendor/clang/dist/unittests/CMakeLists.txt vendor/clang/dist/unittests/Frontend/ vendor/clang/dist/unittests/Frontend/FrontendActionTest.cpp vendor/clang/dist/unittests/Frontend/Makefile vendor/clang/dist/unittests/Makefile vendor/clang/dist/www/analyzer/release_notes.html vendor/clang/dist/www/builtins.py (contents, props changed) vendor/clang/dist/www/favicon.ico (contents, props changed) vendor/clang/dist/www/related.html vendor/clang/dist/www/robots.txt Deleted: vendor/clang/dist/include/clang/AST/FullExpr.h vendor/clang/dist/include/clang/AST/TypeLocBuilder.h vendor/clang/dist/include/clang/Checker/ vendor/clang/dist/lib/AST/FullExpr.cpp vendor/clang/dist/lib/Checker/ vendor/clang/dist/lib/CodeGen/CGCXX.h vendor/clang/dist/lib/CodeGen/Mangle.cpp vendor/clang/dist/lib/CodeGen/Mangle.h vendor/clang/dist/test/CXX/dcl.dcl/dcl.attr/dcl.attr.final/ vendor/clang/dist/test/CodeGen/ext-vector-shuffle.c vendor/clang/dist/test/CodeGen/x86_32-arguments.c vendor/clang/dist/test/CodeGenObjC/encode-test-1.m vendor/clang/dist/test/Index/code-complete-errors.c vendor/clang/dist/test/PCH/Inputs/chain-cxx1.h vendor/clang/dist/test/PCH/Inputs/chain-cxx2.h vendor/clang/dist/test/PCH/attrs.h vendor/clang/dist/test/Parser/goto-ident.c vendor/clang/dist/test/Sema/bitfield-promote-int-16bit.c vendor/clang/dist/test/Sema/if-empty-body.c vendor/clang/dist/test/Sema/opencl-init.c vendor/clang/dist/test/Sema/promote-int-16bit.c vendor/clang/dist/test/SemaCXX/crash-8124080.cpp vendor/clang/dist/test/SemaCXX/crash-PR7625.cpp vendor/clang/dist/test/SemaCXX/format-attribute.cpp vendor/clang/dist/test/SemaCXX/ptrtomember-badcall.cpp vendor/clang/dist/test/SemaCXX/rval-references-xfail.cpp vendor/clang/dist/test/SemaObjCXX/reserved-keyword-selectors.mm vendor/clang/dist/test/SemaTemplate/variadic-class-template-1.cpp vendor/clang/dist/test/SemaTemplate/variadic-class-template-2.cpp vendor/clang/dist/test/SemaTemplate/variadic-parse.cpp vendor/clang/dist/test/SemaTemplate/variadic-unsupported.cpp Modified: vendor/clang/dist/CMakeLists.txt vendor/clang/dist/Makefile vendor/clang/dist/TODO.txt vendor/clang/dist/bindings/python/clang/cindex.py vendor/clang/dist/bindings/python/tests/cindex/test_diagnostics.py vendor/clang/dist/bindings/python/tests/cindex/test_translation_unit.py vendor/clang/dist/clang.xcodeproj/project.pbxproj vendor/clang/dist/docs/Block-ABI-Apple.txt vendor/clang/dist/docs/InternalsManual.html vendor/clang/dist/docs/LanguageExtensions.html vendor/clang/dist/docs/Makefile vendor/clang/dist/docs/PCHInternals.html vendor/clang/dist/docs/UsersManual.html vendor/clang/dist/docs/tools/clang.pod vendor/clang/dist/examples/PrintFunctionNames/CMakeLists.txt vendor/clang/dist/examples/PrintFunctionNames/Makefile vendor/clang/dist/examples/PrintFunctionNames/README.txt vendor/clang/dist/examples/clang-interpreter/CMakeLists.txt vendor/clang/dist/examples/clang-interpreter/Makefile vendor/clang/dist/examples/clang-interpreter/main.cpp vendor/clang/dist/examples/wpa/CMakeLists.txt vendor/clang/dist/examples/wpa/Makefile vendor/clang/dist/examples/wpa/clang-wpa.cpp vendor/clang/dist/include/clang-c/Index.h vendor/clang/dist/include/clang/AST/ASTConsumer.h vendor/clang/dist/include/clang/AST/ASTContext.h vendor/clang/dist/include/clang/AST/ASTDiagnostic.h vendor/clang/dist/include/clang/AST/ASTImporter.h vendor/clang/dist/include/clang/AST/Attr.h vendor/clang/dist/include/clang/AST/CXXInheritance.h vendor/clang/dist/include/clang/AST/CanonicalType.h vendor/clang/dist/include/clang/AST/CharUnits.h vendor/clang/dist/include/clang/AST/Decl.h vendor/clang/dist/include/clang/AST/DeclBase.h vendor/clang/dist/include/clang/AST/DeclCXX.h vendor/clang/dist/include/clang/AST/DeclFriend.h vendor/clang/dist/include/clang/AST/DeclGroup.h vendor/clang/dist/include/clang/AST/DeclObjC.h vendor/clang/dist/include/clang/AST/DeclTemplate.h vendor/clang/dist/include/clang/AST/DeclarationName.h vendor/clang/dist/include/clang/AST/Expr.h vendor/clang/dist/include/clang/AST/ExprCXX.h vendor/clang/dist/include/clang/AST/ExprObjC.h vendor/clang/dist/include/clang/AST/ExternalASTSource.h vendor/clang/dist/include/clang/AST/NestedNameSpecifier.h vendor/clang/dist/include/clang/AST/OperationKinds.h vendor/clang/dist/include/clang/AST/ParentMap.h vendor/clang/dist/include/clang/AST/PrettyPrinter.h vendor/clang/dist/include/clang/AST/RecordLayout.h vendor/clang/dist/include/clang/AST/RecursiveASTVisitor.h vendor/clang/dist/include/clang/AST/Redeclarable.h vendor/clang/dist/include/clang/AST/Stmt.h vendor/clang/dist/include/clang/AST/StmtCXX.h vendor/clang/dist/include/clang/AST/StmtIterator.h vendor/clang/dist/include/clang/AST/StmtObjC.h vendor/clang/dist/include/clang/AST/TemplateBase.h vendor/clang/dist/include/clang/AST/TemplateName.h vendor/clang/dist/include/clang/AST/Type.h vendor/clang/dist/include/clang/AST/TypeLoc.h vendor/clang/dist/include/clang/AST/TypeNodes.def vendor/clang/dist/include/clang/AST/TypeVisitor.h vendor/clang/dist/include/clang/Analysis/Analyses/FormatString.h vendor/clang/dist/include/clang/Analysis/Analyses/LiveVariables.h vendor/clang/dist/include/clang/Analysis/AnalysisContext.h vendor/clang/dist/include/clang/Analysis/AnalysisDiagnostic.h vendor/clang/dist/include/clang/Analysis/CFG.h vendor/clang/dist/include/clang/Analysis/FlowSensitive/DataflowSolver.h vendor/clang/dist/include/clang/Analysis/ProgramPoint.h vendor/clang/dist/include/clang/Analysis/Support/BumpVector.h vendor/clang/dist/include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h vendor/clang/dist/include/clang/Analysis/Visitors/CFGRecStmtVisitor.h vendor/clang/dist/include/clang/Analysis/Visitors/CFGStmtVisitor.h vendor/clang/dist/include/clang/Basic/Attr.td vendor/clang/dist/include/clang/Basic/AttrKinds.h vendor/clang/dist/include/clang/Basic/Builtins.def vendor/clang/dist/include/clang/Basic/Builtins.h vendor/clang/dist/include/clang/Basic/BuiltinsPPC.def vendor/clang/dist/include/clang/Basic/BuiltinsX86.def vendor/clang/dist/include/clang/Basic/DeclNodes.td vendor/clang/dist/include/clang/Basic/Diagnostic.h vendor/clang/dist/include/clang/Basic/Diagnostic.td vendor/clang/dist/include/clang/Basic/DiagnosticASTKinds.td vendor/clang/dist/include/clang/Basic/DiagnosticCommonKinds.td vendor/clang/dist/include/clang/Basic/DiagnosticDriverKinds.td vendor/clang/dist/include/clang/Basic/DiagnosticFrontendKinds.td vendor/clang/dist/include/clang/Basic/DiagnosticGroups.td vendor/clang/dist/include/clang/Basic/DiagnosticLexKinds.td vendor/clang/dist/include/clang/Basic/DiagnosticParseKinds.td vendor/clang/dist/include/clang/Basic/DiagnosticSemaKinds.td vendor/clang/dist/include/clang/Basic/FileManager.h vendor/clang/dist/include/clang/Basic/IdentifierTable.h vendor/clang/dist/include/clang/Basic/LangOptions.h vendor/clang/dist/include/clang/Basic/OnDiskHashTable.h vendor/clang/dist/include/clang/Basic/PartialDiagnostic.h vendor/clang/dist/include/clang/Basic/SourceLocation.h vendor/clang/dist/include/clang/Basic/SourceManager.h vendor/clang/dist/include/clang/Basic/Specifiers.h vendor/clang/dist/include/clang/Basic/StmtNodes.td vendor/clang/dist/include/clang/Basic/TargetInfo.h vendor/clang/dist/include/clang/Basic/TokenKinds.def vendor/clang/dist/include/clang/Basic/TokenKinds.h vendor/clang/dist/include/clang/Basic/TypeTraits.h vendor/clang/dist/include/clang/Basic/Version.h vendor/clang/dist/include/clang/Basic/arm_neon.td vendor/clang/dist/include/clang/CMakeLists.txt vendor/clang/dist/include/clang/CodeGen/CodeGenAction.h vendor/clang/dist/include/clang/Driver/ArgList.h vendor/clang/dist/include/clang/Driver/CC1AsOptions.td vendor/clang/dist/include/clang/Driver/CC1Options.td vendor/clang/dist/include/clang/Driver/Driver.h vendor/clang/dist/include/clang/Driver/DriverDiagnostic.h vendor/clang/dist/include/clang/Driver/HostInfo.h vendor/clang/dist/include/clang/Driver/OptTable.h vendor/clang/dist/include/clang/Driver/Options.td vendor/clang/dist/include/clang/Driver/ToolChain.h vendor/clang/dist/include/clang/Driver/Types.def vendor/clang/dist/include/clang/Frontend/ASTConsumers.h vendor/clang/dist/include/clang/Frontend/ASTUnit.h vendor/clang/dist/include/clang/Frontend/Analyses.def vendor/clang/dist/include/clang/Frontend/AnalyzerOptions.h vendor/clang/dist/include/clang/Frontend/CodeGenOptions.h vendor/clang/dist/include/clang/Frontend/CommandLineSourceLoc.h vendor/clang/dist/include/clang/Frontend/CompilerInstance.h vendor/clang/dist/include/clang/Frontend/CompilerInvocation.h vendor/clang/dist/include/clang/Frontend/DeclXML.def vendor/clang/dist/include/clang/Frontend/DependencyOutputOptions.h vendor/clang/dist/include/clang/Frontend/DiagnosticOptions.h vendor/clang/dist/include/clang/Frontend/FrontendAction.h vendor/clang/dist/include/clang/Frontend/FrontendActions.h vendor/clang/dist/include/clang/Frontend/FrontendDiagnostic.h vendor/clang/dist/include/clang/Frontend/FrontendOptions.h vendor/clang/dist/include/clang/Frontend/HeaderSearchOptions.h vendor/clang/dist/include/clang/Frontend/LangStandards.def vendor/clang/dist/include/clang/Frontend/PreprocessorOptions.h vendor/clang/dist/include/clang/Frontend/PreprocessorOutputOptions.h vendor/clang/dist/include/clang/Frontend/StmtXML.def vendor/clang/dist/include/clang/Frontend/TypeXML.def vendor/clang/dist/include/clang/Frontend/Utils.h vendor/clang/dist/include/clang/Frontend/VerifyDiagnosticsClient.h vendor/clang/dist/include/clang/Lex/ExternalPreprocessorSource.h vendor/clang/dist/include/clang/Lex/HeaderMap.h vendor/clang/dist/include/clang/Lex/HeaderSearch.h vendor/clang/dist/include/clang/Lex/LexDiagnostic.h vendor/clang/dist/include/clang/Lex/Lexer.h vendor/clang/dist/include/clang/Lex/LiteralSupport.h vendor/clang/dist/include/clang/Lex/MacroInfo.h vendor/clang/dist/include/clang/Lex/PPCallbacks.h vendor/clang/dist/include/clang/Lex/PTHManager.h vendor/clang/dist/include/clang/Lex/Pragma.h vendor/clang/dist/include/clang/Lex/PreprocessingRecord.h vendor/clang/dist/include/clang/Lex/Preprocessor.h vendor/clang/dist/include/clang/Lex/PreprocessorLexer.h vendor/clang/dist/include/clang/Lex/Token.h vendor/clang/dist/include/clang/Makefile vendor/clang/dist/include/clang/Parse/ParseDiagnostic.h vendor/clang/dist/include/clang/Parse/Parser.h vendor/clang/dist/include/clang/Rewrite/ASTConsumers.h vendor/clang/dist/include/clang/Rewrite/FixItRewriter.h vendor/clang/dist/include/clang/Sema/AttributeList.h vendor/clang/dist/include/clang/Sema/CodeCompleteConsumer.h vendor/clang/dist/include/clang/Sema/DeclSpec.h vendor/clang/dist/include/clang/Sema/DelayedDiagnostic.h vendor/clang/dist/include/clang/Sema/ExternalSemaSource.h vendor/clang/dist/include/clang/Sema/Initialization.h vendor/clang/dist/include/clang/Sema/Lookup.h vendor/clang/dist/include/clang/Sema/Overload.h vendor/clang/dist/include/clang/Sema/Ownership.h vendor/clang/dist/include/clang/Sema/ParsedTemplate.h vendor/clang/dist/include/clang/Sema/Scope.h vendor/clang/dist/include/clang/Sema/ScopeInfo.h vendor/clang/dist/include/clang/Sema/Sema.h vendor/clang/dist/include/clang/Sema/SemaDiagnostic.h vendor/clang/dist/include/clang/Sema/Template.h vendor/clang/dist/include/clang/Sema/TemplateDeduction.h vendor/clang/dist/include/clang/Serialization/ASTBitCodes.h vendor/clang/dist/include/clang/Serialization/ASTDeserializationListener.h vendor/clang/dist/include/clang/Serialization/ASTReader.h vendor/clang/dist/include/clang/Serialization/ASTWriter.h vendor/clang/dist/lib/AST/ASTContext.cpp vendor/clang/dist/lib/AST/ASTDiagnostic.cpp vendor/clang/dist/lib/AST/ASTImporter.cpp vendor/clang/dist/lib/AST/CMakeLists.txt vendor/clang/dist/lib/AST/CXXABI.h vendor/clang/dist/lib/AST/CXXInheritance.cpp vendor/clang/dist/lib/AST/Decl.cpp vendor/clang/dist/lib/AST/DeclBase.cpp vendor/clang/dist/lib/AST/DeclCXX.cpp vendor/clang/dist/lib/AST/DeclObjC.cpp vendor/clang/dist/lib/AST/DeclPrinter.cpp vendor/clang/dist/lib/AST/DeclTemplate.cpp vendor/clang/dist/lib/AST/DeclarationName.cpp vendor/clang/dist/lib/AST/Expr.cpp vendor/clang/dist/lib/AST/ExprCXX.cpp vendor/clang/dist/lib/AST/ExprClassification.cpp vendor/clang/dist/lib/AST/ExprConstant.cpp vendor/clang/dist/lib/AST/InheritViz.cpp vendor/clang/dist/lib/AST/ItaniumCXXABI.cpp vendor/clang/dist/lib/AST/MicrosoftCXXABI.cpp vendor/clang/dist/lib/AST/NestedNameSpecifier.cpp vendor/clang/dist/lib/AST/ParentMap.cpp vendor/clang/dist/lib/AST/RecordLayout.cpp vendor/clang/dist/lib/AST/RecordLayoutBuilder.cpp vendor/clang/dist/lib/AST/Stmt.cpp vendor/clang/dist/lib/AST/StmtDumper.cpp vendor/clang/dist/lib/AST/StmtIterator.cpp vendor/clang/dist/lib/AST/StmtPrinter.cpp vendor/clang/dist/lib/AST/StmtProfile.cpp vendor/clang/dist/lib/AST/TemplateBase.cpp vendor/clang/dist/lib/AST/TemplateName.cpp vendor/clang/dist/lib/AST/Type.cpp vendor/clang/dist/lib/AST/TypeLoc.cpp vendor/clang/dist/lib/AST/TypePrinter.cpp vendor/clang/dist/lib/Analysis/AnalysisContext.cpp vendor/clang/dist/lib/Analysis/CFG.cpp vendor/clang/dist/lib/Analysis/CFGStmtMap.cpp vendor/clang/dist/lib/Analysis/CMakeLists.txt vendor/clang/dist/lib/Analysis/FormatString.cpp vendor/clang/dist/lib/Analysis/LiveVariables.cpp vendor/clang/dist/lib/Analysis/PrintfFormatString.cpp vendor/clang/dist/lib/Analysis/PseudoConstantAnalysis.cpp vendor/clang/dist/lib/Analysis/ReachableCode.cpp vendor/clang/dist/lib/Analysis/UninitializedValues.cpp vendor/clang/dist/lib/Basic/Builtins.cpp vendor/clang/dist/lib/Basic/CMakeLists.txt vendor/clang/dist/lib/Basic/Diagnostic.cpp vendor/clang/dist/lib/Basic/FileManager.cpp vendor/clang/dist/lib/Basic/IdentifierTable.cpp vendor/clang/dist/lib/Basic/Makefile vendor/clang/dist/lib/Basic/SourceLocation.cpp vendor/clang/dist/lib/Basic/SourceManager.cpp vendor/clang/dist/lib/Basic/TargetInfo.cpp vendor/clang/dist/lib/Basic/Targets.cpp vendor/clang/dist/lib/Basic/Version.cpp vendor/clang/dist/lib/CMakeLists.txt vendor/clang/dist/lib/CodeGen/ABIInfo.h vendor/clang/dist/lib/CodeGen/BackendUtil.cpp vendor/clang/dist/lib/CodeGen/CGBlocks.cpp vendor/clang/dist/lib/CodeGen/CGBlocks.h vendor/clang/dist/lib/CodeGen/CGBuiltin.cpp vendor/clang/dist/lib/CodeGen/CGCXX.cpp vendor/clang/dist/lib/CodeGen/CGCXXABI.h vendor/clang/dist/lib/CodeGen/CGCall.cpp vendor/clang/dist/lib/CodeGen/CGClass.cpp vendor/clang/dist/lib/CodeGen/CGDebugInfo.cpp vendor/clang/dist/lib/CodeGen/CGDebugInfo.h vendor/clang/dist/lib/CodeGen/CGDecl.cpp vendor/clang/dist/lib/CodeGen/CGDeclCXX.cpp vendor/clang/dist/lib/CodeGen/CGException.cpp vendor/clang/dist/lib/CodeGen/CGException.h vendor/clang/dist/lib/CodeGen/CGExpr.cpp vendor/clang/dist/lib/CodeGen/CGExprAgg.cpp vendor/clang/dist/lib/CodeGen/CGExprCXX.cpp vendor/clang/dist/lib/CodeGen/CGExprComplex.cpp vendor/clang/dist/lib/CodeGen/CGExprConstant.cpp vendor/clang/dist/lib/CodeGen/CGExprScalar.cpp vendor/clang/dist/lib/CodeGen/CGObjC.cpp vendor/clang/dist/lib/CodeGen/CGObjCGNU.cpp vendor/clang/dist/lib/CodeGen/CGObjCMac.cpp vendor/clang/dist/lib/CodeGen/CGObjCRuntime.h vendor/clang/dist/lib/CodeGen/CGRTTI.cpp vendor/clang/dist/lib/CodeGen/CGRecordLayout.h vendor/clang/dist/lib/CodeGen/CGRecordLayoutBuilder.cpp vendor/clang/dist/lib/CodeGen/CGStmt.cpp vendor/clang/dist/lib/CodeGen/CGTemporaries.cpp vendor/clang/dist/lib/CodeGen/CGVTT.cpp vendor/clang/dist/lib/CodeGen/CGVTables.cpp vendor/clang/dist/lib/CodeGen/CGVTables.h vendor/clang/dist/lib/CodeGen/CGValue.h vendor/clang/dist/lib/CodeGen/CMakeLists.txt vendor/clang/dist/lib/CodeGen/CodeGenAction.cpp vendor/clang/dist/lib/CodeGen/CodeGenFunction.cpp vendor/clang/dist/lib/CodeGen/CodeGenFunction.h vendor/clang/dist/lib/CodeGen/CodeGenModule.cpp vendor/clang/dist/lib/CodeGen/CodeGenModule.h vendor/clang/dist/lib/CodeGen/CodeGenTypes.cpp vendor/clang/dist/lib/CodeGen/CodeGenTypes.h vendor/clang/dist/lib/CodeGen/GlobalDecl.h vendor/clang/dist/lib/CodeGen/ItaniumCXXABI.cpp vendor/clang/dist/lib/CodeGen/MicrosoftCXXABI.cpp vendor/clang/dist/lib/CodeGen/ModuleBuilder.cpp vendor/clang/dist/lib/CodeGen/TargetInfo.cpp vendor/clang/dist/lib/CodeGen/TargetInfo.h vendor/clang/dist/lib/Driver/Action.cpp vendor/clang/dist/lib/Driver/Arg.cpp vendor/clang/dist/lib/Driver/ArgList.cpp vendor/clang/dist/lib/Driver/CMakeLists.txt vendor/clang/dist/lib/Driver/Compilation.cpp vendor/clang/dist/lib/Driver/Driver.cpp vendor/clang/dist/lib/Driver/DriverOptions.cpp vendor/clang/dist/lib/Driver/HostInfo.cpp vendor/clang/dist/lib/Driver/Job.cpp vendor/clang/dist/lib/Driver/OptTable.cpp vendor/clang/dist/lib/Driver/Option.cpp vendor/clang/dist/lib/Driver/Phases.cpp vendor/clang/dist/lib/Driver/Tool.cpp vendor/clang/dist/lib/Driver/ToolChain.cpp vendor/clang/dist/lib/Driver/ToolChains.cpp vendor/clang/dist/lib/Driver/ToolChains.h vendor/clang/dist/lib/Driver/Tools.cpp vendor/clang/dist/lib/Driver/Tools.h vendor/clang/dist/lib/Driver/Types.cpp vendor/clang/dist/lib/Frontend/ASTConsumers.cpp vendor/clang/dist/lib/Frontend/ASTMerge.cpp vendor/clang/dist/lib/Frontend/ASTUnit.cpp vendor/clang/dist/lib/Frontend/CMakeLists.txt vendor/clang/dist/lib/Frontend/CacheTokens.cpp vendor/clang/dist/lib/Frontend/CompilerInstance.cpp vendor/clang/dist/lib/Frontend/CompilerInvocation.cpp vendor/clang/dist/lib/Frontend/DeclXML.cpp vendor/clang/dist/lib/Frontend/DependencyFile.cpp vendor/clang/dist/lib/Frontend/DocumentXML.cpp vendor/clang/dist/lib/Frontend/FrontendAction.cpp vendor/clang/dist/lib/Frontend/FrontendActions.cpp vendor/clang/dist/lib/Frontend/FrontendOptions.cpp vendor/clang/dist/lib/Frontend/InitHeaderSearch.cpp vendor/clang/dist/lib/Frontend/InitPreprocessor.cpp vendor/clang/dist/lib/Frontend/PrintPreprocessedOutput.cpp vendor/clang/dist/lib/Frontend/StmtXML.cpp vendor/clang/dist/lib/Frontend/TextDiagnosticBuffer.cpp vendor/clang/dist/lib/Frontend/TextDiagnosticPrinter.cpp vendor/clang/dist/lib/Frontend/TypeXML.cpp vendor/clang/dist/lib/Frontend/VerifyDiagnosticsClient.cpp vendor/clang/dist/lib/FrontendTool/CMakeLists.txt vendor/clang/dist/lib/FrontendTool/ExecuteCompilerInvocation.cpp vendor/clang/dist/lib/Headers/CMakeLists.txt vendor/clang/dist/lib/Headers/altivec.h vendor/clang/dist/lib/Headers/emmintrin.h vendor/clang/dist/lib/Headers/limits.h vendor/clang/dist/lib/Headers/mm_malloc.h vendor/clang/dist/lib/Headers/mmintrin.h vendor/clang/dist/lib/Headers/stdbool.h vendor/clang/dist/lib/Headers/stddef.h vendor/clang/dist/lib/Headers/xmmintrin.h vendor/clang/dist/lib/Index/ASTVisitor.h vendor/clang/dist/lib/Index/CMakeLists.txt vendor/clang/dist/lib/Index/CallGraph.cpp vendor/clang/dist/lib/Lex/CMakeLists.txt vendor/clang/dist/lib/Lex/HeaderMap.cpp vendor/clang/dist/lib/Lex/HeaderSearch.cpp vendor/clang/dist/lib/Lex/Lexer.cpp vendor/clang/dist/lib/Lex/LiteralSupport.cpp vendor/clang/dist/lib/Lex/MacroInfo.cpp vendor/clang/dist/lib/Lex/PPDirectives.cpp vendor/clang/dist/lib/Lex/PPExpressions.cpp vendor/clang/dist/lib/Lex/PPLexerChange.cpp vendor/clang/dist/lib/Lex/PPMacroExpansion.cpp vendor/clang/dist/lib/Lex/PTHLexer.cpp vendor/clang/dist/lib/Lex/Pragma.cpp vendor/clang/dist/lib/Lex/PreprocessingRecord.cpp vendor/clang/dist/lib/Lex/Preprocessor.cpp vendor/clang/dist/lib/Lex/TokenConcatenation.cpp vendor/clang/dist/lib/Lex/TokenLexer.cpp vendor/clang/dist/lib/Makefile vendor/clang/dist/lib/Parse/CMakeLists.txt vendor/clang/dist/lib/Parse/ParseAST.cpp vendor/clang/dist/lib/Parse/ParseCXXInlineMethods.cpp vendor/clang/dist/lib/Parse/ParseDecl.cpp vendor/clang/dist/lib/Parse/ParseDeclCXX.cpp vendor/clang/dist/lib/Parse/ParseExpr.cpp vendor/clang/dist/lib/Parse/ParseExprCXX.cpp vendor/clang/dist/lib/Parse/ParseInit.cpp vendor/clang/dist/lib/Parse/ParseObjc.cpp vendor/clang/dist/lib/Parse/ParsePragma.cpp vendor/clang/dist/lib/Parse/ParsePragma.h vendor/clang/dist/lib/Parse/ParseStmt.cpp vendor/clang/dist/lib/Parse/ParseTemplate.cpp vendor/clang/dist/lib/Parse/ParseTentative.cpp vendor/clang/dist/lib/Parse/Parser.cpp vendor/clang/dist/lib/Parse/RAIIObjectsForParser.h vendor/clang/dist/lib/Rewrite/CMakeLists.txt vendor/clang/dist/lib/Rewrite/FixItRewriter.cpp vendor/clang/dist/lib/Rewrite/FrontendActions.cpp vendor/clang/dist/lib/Rewrite/HTMLRewrite.cpp vendor/clang/dist/lib/Rewrite/RewriteMacros.cpp vendor/clang/dist/lib/Rewrite/RewriteObjC.cpp vendor/clang/dist/lib/Rewrite/RewriteRope.cpp vendor/clang/dist/lib/Rewrite/TokenRewriter.cpp vendor/clang/dist/lib/Sema/AnalysisBasedWarnings.cpp vendor/clang/dist/lib/Sema/AttributeList.cpp vendor/clang/dist/lib/Sema/CMakeLists.txt vendor/clang/dist/lib/Sema/CodeCompleteConsumer.cpp vendor/clang/dist/lib/Sema/DeclSpec.cpp vendor/clang/dist/lib/Sema/JumpDiagnostics.cpp vendor/clang/dist/lib/Sema/Sema.cpp vendor/clang/dist/lib/Sema/SemaAccess.cpp vendor/clang/dist/lib/Sema/SemaAttr.cpp vendor/clang/dist/lib/Sema/SemaCXXCast.cpp vendor/clang/dist/lib/Sema/SemaCXXScopeSpec.cpp vendor/clang/dist/lib/Sema/SemaChecking.cpp vendor/clang/dist/lib/Sema/SemaCodeComplete.cpp vendor/clang/dist/lib/Sema/SemaDecl.cpp vendor/clang/dist/lib/Sema/SemaDeclAttr.cpp vendor/clang/dist/lib/Sema/SemaDeclCXX.cpp vendor/clang/dist/lib/Sema/SemaDeclObjC.cpp vendor/clang/dist/lib/Sema/SemaExceptionSpec.cpp vendor/clang/dist/lib/Sema/SemaExpr.cpp vendor/clang/dist/lib/Sema/SemaExprCXX.cpp vendor/clang/dist/lib/Sema/SemaExprObjC.cpp vendor/clang/dist/lib/Sema/SemaInit.cpp vendor/clang/dist/lib/Sema/SemaLookup.cpp vendor/clang/dist/lib/Sema/SemaObjCProperty.cpp vendor/clang/dist/lib/Sema/SemaOverload.cpp vendor/clang/dist/lib/Sema/SemaStmt.cpp vendor/clang/dist/lib/Sema/SemaTemplate.cpp vendor/clang/dist/lib/Sema/SemaTemplateDeduction.cpp vendor/clang/dist/lib/Sema/SemaTemplateInstantiate.cpp vendor/clang/dist/lib/Sema/SemaTemplateInstantiateDecl.cpp vendor/clang/dist/lib/Sema/SemaType.cpp vendor/clang/dist/lib/Sema/TargetAttributesSema.cpp vendor/clang/dist/lib/Sema/TreeTransform.h vendor/clang/dist/lib/Serialization/ASTCommon.cpp vendor/clang/dist/lib/Serialization/ASTCommon.h vendor/clang/dist/lib/Serialization/ASTReader.cpp vendor/clang/dist/lib/Serialization/ASTReaderDecl.cpp vendor/clang/dist/lib/Serialization/ASTReaderStmt.cpp vendor/clang/dist/lib/Serialization/ASTWriter.cpp vendor/clang/dist/lib/Serialization/ASTWriterDecl.cpp vendor/clang/dist/lib/Serialization/ASTWriterStmt.cpp vendor/clang/dist/lib/Serialization/CMakeLists.txt vendor/clang/dist/lib/Serialization/GeneratePCH.cpp vendor/clang/dist/runtime/Makefile vendor/clang/dist/test/ASTMerge/Inputs/category1.m vendor/clang/dist/test/ASTMerge/Inputs/category2.m vendor/clang/dist/test/ASTMerge/Inputs/class1.cpp vendor/clang/dist/test/ASTMerge/Inputs/class2.cpp vendor/clang/dist/test/ASTMerge/Inputs/interface1.m vendor/clang/dist/test/ASTMerge/Inputs/interface2.m vendor/clang/dist/test/ASTMerge/Inputs/property1.m vendor/clang/dist/test/ASTMerge/Inputs/property2.m vendor/clang/dist/test/ASTMerge/category.m vendor/clang/dist/test/ASTMerge/interface.m vendor/clang/dist/test/ASTMerge/property.m vendor/clang/dist/test/Analysis/CFNumber.c vendor/clang/dist/test/Analysis/MissingDealloc.m vendor/clang/dist/test/Analysis/NSString.m vendor/clang/dist/test/Analysis/NSWindow.m vendor/clang/dist/test/Analysis/ObjCRetSigs.m vendor/clang/dist/test/Analysis/PR2978.m vendor/clang/dist/test/Analysis/additive-folding.c vendor/clang/dist/test/Analysis/array-struct-region.c vendor/clang/dist/test/Analysis/array-struct.c vendor/clang/dist/test/Analysis/blocks.m vendor/clang/dist/test/Analysis/bstring.c vendor/clang/dist/test/Analysis/complex.c vendor/clang/dist/test/Analysis/conditional-op-missing-lhs.c vendor/clang/dist/test/Analysis/constant-folding.c vendor/clang/dist/test/Analysis/dead-stores.c vendor/clang/dist/test/Analysis/dead-stores.cpp vendor/clang/dist/test/Analysis/dead-stores.m vendor/clang/dist/test/Analysis/exercise-ps.c vendor/clang/dist/test/Analysis/fields.c vendor/clang/dist/test/Analysis/idempotent-operations.c vendor/clang/dist/test/Analysis/idempotent-operations.cpp vendor/clang/dist/test/Analysis/inline.c vendor/clang/dist/test/Analysis/malloc.c vendor/clang/dist/test/Analysis/method-call.cpp vendor/clang/dist/test/Analysis/misc-ps-64.m vendor/clang/dist/test/Analysis/misc-ps-region-store.cpp vendor/clang/dist/test/Analysis/misc-ps-region-store.m vendor/clang/dist/test/Analysis/misc-ps.m vendor/clang/dist/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m vendor/clang/dist/test/Analysis/null-deref-ps.c vendor/clang/dist/test/Analysis/outofbound.c vendor/clang/dist/test/Analysis/plist-output.m vendor/clang/dist/test/Analysis/ptr-arith.c vendor/clang/dist/test/Analysis/rdar-6442306-1.m vendor/clang/dist/test/Analysis/rdar-6540084.m vendor/clang/dist/test/Analysis/refcnt_naming.m vendor/clang/dist/test/Analysis/reference.cpp vendor/clang/dist/test/Analysis/retain-release-gc-only.m vendor/clang/dist/test/Analysis/retain-release-region-store.m vendor/clang/dist/test/Analysis/retain-release.m vendor/clang/dist/test/Analysis/security-syntax-checks-no-emit.c vendor/clang/dist/test/Analysis/security-syntax-checks.m vendor/clang/dist/test/Analysis/sizeofpointer.c vendor/clang/dist/test/Analysis/stack-addr-ps.c vendor/clang/dist/test/Analysis/stack-addr-ps.cpp vendor/clang/dist/test/Analysis/stackaddrleak.c vendor/clang/dist/test/Analysis/stream.c vendor/clang/dist/test/Analysis/string.c vendor/clang/dist/test/Analysis/uninit-msg-expr.m vendor/clang/dist/test/Analysis/uninit-ps-rdar6145427.m vendor/clang/dist/test/Analysis/uninit-vals-ps-region.m vendor/clang/dist/test/Analysis/uninit-vals-ps.c vendor/clang/dist/test/Analysis/uninit-vals.c vendor/clang/dist/test/Analysis/unix-fns.c vendor/clang/dist/test/Analysis/unreachable-code-path.c vendor/clang/dist/test/Analysis/unused-ivars.m vendor/clang/dist/test/CMakeLists.txt vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.argdep/p4.cpp vendor/clang/dist/test/CXX/class.access/class.friend/p1.cpp vendor/clang/dist/test/CXX/class.access/p4.cpp vendor/clang/dist/test/CXX/class.access/p6.cpp vendor/clang/dist/test/CXX/class.derived/class.abstract/p4.cpp vendor/clang/dist/test/CXX/class.derived/class.abstract/p5.cpp vendor/clang/dist/test/CXX/class/class.friend/p1.cpp vendor/clang/dist/test/CXX/class/class.mem/p1.cpp vendor/clang/dist/test/CXX/class/class.nest/p1.cpp vendor/clang/dist/test/CXX/class/class.union/p1.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.memdef/p3.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p1.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-cxx03-extra-copy.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-examples.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-var.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.init/p6.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.array/p1-cxx0x.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.array/p1.cpp vendor/clang/dist/test/CXX/except/except.handle/p16.cpp vendor/clang/dist/test/CXX/except/except.spec/p14-ir.cpp vendor/clang/dist/test/CXX/expr/expr.unary/expr.delete/p5.cpp vendor/clang/dist/test/CXX/expr/expr.unary/expr.unary.op/p4.cpp vendor/clang/dist/test/CXX/over/over.over/p2.cpp vendor/clang/dist/test/CXX/over/over.over/p4.cpp vendor/clang/dist/test/CXX/special/class.copy/p9.cpp vendor/clang/dist/test/CXX/stmt.stmt/stmt.select/p3.cpp vendor/clang/dist/test/CXX/temp/temp.arg/temp.arg.nontype/p5.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class.spec/p6.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.friend/p1.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.friend/p5.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.mem/p5.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/parameter-matching.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.arg.explicit/p3-nodeduct.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p11.cpp vendor/clang/dist/test/CXX/temp/temp.param/p1.cpp vendor/clang/dist/test/CXX/temp/temp.param/p15-cxx0x.cpp vendor/clang/dist/test/CXX/temp/temp.param/p9.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p2.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p12.cpp vendor/clang/dist/test/CodeCompletion/ordinary-name.c vendor/clang/dist/test/CodeCompletion/ordinary-name.cpp vendor/clang/dist/test/CodeGen/2008-07-17-no-emit-on-error.c vendor/clang/dist/test/CodeGen/2008-07-29-override-alias-decl.c vendor/clang/dist/test/CodeGen/2010-03-09-DbgInfo.c vendor/clang/dist/test/CodeGen/annotate.c vendor/clang/dist/test/CodeGen/asm-errors.c vendor/clang/dist/test/CodeGen/asm-inout.c vendor/clang/dist/test/CodeGen/assign.c vendor/clang/dist/test/CodeGen/atomic.c vendor/clang/dist/test/CodeGen/blocks-1.c vendor/clang/dist/test/CodeGen/blocks.c vendor/clang/dist/test/CodeGen/blocksignature.c vendor/clang/dist/test/CodeGen/blockstret.c vendor/clang/dist/test/CodeGen/builtins-ppc-altivec.c vendor/clang/dist/test/CodeGen/builtins-x86.c vendor/clang/dist/test/CodeGen/conditional-gnu-ext.c vendor/clang/dist/test/CodeGen/const-init.c vendor/clang/dist/test/CodeGen/darwin-string-literals.c vendor/clang/dist/test/CodeGen/debug-info-crash.c vendor/clang/dist/test/CodeGen/designated-initializers.c vendor/clang/dist/test/CodeGen/enum.c vendor/clang/dist/test/CodeGen/exprs.c vendor/clang/dist/test/CodeGen/frame-pointer-elim.c vendor/clang/dist/test/CodeGen/func-in-block.c vendor/clang/dist/test/CodeGen/illegal-UTF8.m vendor/clang/dist/test/CodeGen/init.c vendor/clang/dist/test/CodeGen/integer-overflow.c vendor/clang/dist/test/CodeGen/lineno-dbginfo.c vendor/clang/dist/test/CodeGen/mangle.c vendor/clang/dist/test/CodeGen/no-common.c vendor/clang/dist/test/CodeGen/packed-structure.c vendor/clang/dist/test/CodeGen/palignr.c vendor/clang/dist/test/CodeGen/pascal-wchar-string.c vendor/clang/dist/test/CodeGen/pointer-arithmetic.c vendor/clang/dist/test/CodeGen/pragma-weak.c vendor/clang/dist/test/CodeGen/predefined-expr.c vendor/clang/dist/test/CodeGen/regparm.c vendor/clang/dist/test/CodeGen/sizeof-vla.c vendor/clang/dist/test/CodeGen/statements.c vendor/clang/dist/test/CodeGen/string-literal.c vendor/clang/dist/test/CodeGen/struct-init.c vendor/clang/dist/test/CodeGen/struct-passing.c vendor/clang/dist/test/CodeGen/switch.c vendor/clang/dist/test/CodeGen/thread-specifier.c vendor/clang/dist/test/CodeGen/visibility.c vendor/clang/dist/test/CodeGen/vla.c vendor/clang/dist/test/CodeGen/volatile-1.c vendor/clang/dist/test/CodeGenCXX/PR5050-constructor-conversion.cpp vendor/clang/dist/test/CodeGenCXX/PR5863-unreachable-block.cpp vendor/clang/dist/test/CodeGenCXX/anonymous-namespaces.cpp vendor/clang/dist/test/CodeGenCXX/anonymous-union-member-initializer.cpp vendor/clang/dist/test/CodeGenCXX/arm.cpp vendor/clang/dist/test/CodeGenCXX/array-construction.cpp vendor/clang/dist/test/CodeGenCXX/array-operator-delete-call.cpp vendor/clang/dist/test/CodeGenCXX/array-value-initialize.cpp vendor/clang/dist/test/CodeGenCXX/attr.cpp vendor/clang/dist/test/CodeGenCXX/c99-variable-length-array.cpp vendor/clang/dist/test/CodeGenCXX/call-arg-zero-temp.cpp vendor/clang/dist/test/CodeGenCXX/cast-conversion.cpp vendor/clang/dist/test/CodeGenCXX/class-layout.cpp vendor/clang/dist/test/CodeGenCXX/const-init.cpp vendor/clang/dist/test/CodeGenCXX/constructor-conversion.cpp vendor/clang/dist/test/CodeGenCXX/constructor-convert.cpp vendor/clang/dist/test/CodeGenCXX/constructor-default-arg.cpp vendor/clang/dist/test/CodeGenCXX/constructor-for-array-members.cpp vendor/clang/dist/test/CodeGenCXX/constructor-init.cpp vendor/clang/dist/test/CodeGenCXX/constructors.cpp vendor/clang/dist/test/CodeGenCXX/convert-to-fptr.cpp vendor/clang/dist/test/CodeGenCXX/copy-constructor-elim-2.cpp vendor/clang/dist/test/CodeGenCXX/copy-constructor-synthesis-2.cpp vendor/clang/dist/test/CodeGenCXX/copy-constructor-synthesis.cpp vendor/clang/dist/test/CodeGenCXX/debug-info-template.cpp vendor/clang/dist/test/CodeGenCXX/decl-ref-init.cpp vendor/clang/dist/test/CodeGenCXX/default-arg-temps.cpp vendor/clang/dist/test/CodeGenCXX/default-arguments.cpp vendor/clang/dist/test/CodeGenCXX/default-constructor-for-members.cpp vendor/clang/dist/test/CodeGenCXX/default-constructor-template-member.cpp vendor/clang/dist/test/CodeGenCXX/delete-two-arg.cpp vendor/clang/dist/test/CodeGenCXX/delete.cpp vendor/clang/dist/test/CodeGenCXX/derived-to-base-conv.cpp vendor/clang/dist/test/CodeGenCXX/derived-to-base.cpp vendor/clang/dist/test/CodeGenCXX/destructors.cpp vendor/clang/dist/test/CodeGenCXX/dyncast.cpp vendor/clang/dist/test/CodeGenCXX/eh.cpp vendor/clang/dist/test/CodeGenCXX/empty-classes.cpp vendor/clang/dist/test/CodeGenCXX/exceptions-no-rtti.cpp vendor/clang/dist/test/CodeGenCXX/exceptions.cpp vendor/clang/dist/test/CodeGenCXX/global-init.cpp vendor/clang/dist/test/CodeGenCXX/implicit-copy-constructor.cpp vendor/clang/dist/test/CodeGenCXX/inline-functions.cpp vendor/clang/dist/test/CodeGenCXX/internal-linkage.cpp vendor/clang/dist/test/CodeGenCXX/key-function-vtable.cpp vendor/clang/dist/test/CodeGenCXX/mangle-ms.cpp vendor/clang/dist/test/CodeGenCXX/mangle-subst-std.cpp vendor/clang/dist/test/CodeGenCXX/mangle-template.cpp vendor/clang/dist/test/CodeGenCXX/mangle-unnamed.cpp vendor/clang/dist/test/CodeGenCXX/mangle.cpp vendor/clang/dist/test/CodeGenCXX/member-functions.cpp vendor/clang/dist/test/CodeGenCXX/member-init-assignment.cpp vendor/clang/dist/test/CodeGenCXX/member-pointer-type-convert.cpp vendor/clang/dist/test/CodeGenCXX/member-templates.cpp vendor/clang/dist/test/CodeGenCXX/nrvo.cpp vendor/clang/dist/test/CodeGenCXX/nullptr.cpp vendor/clang/dist/test/CodeGenCXX/pointers-to-data-members.cpp vendor/clang/dist/test/CodeGenCXX/pragma-visibility.cpp vendor/clang/dist/test/CodeGenCXX/predefined-expr.cpp vendor/clang/dist/test/CodeGenCXX/ptr-to-member-function.cpp vendor/clang/dist/test/CodeGenCXX/rtti-fundamental.cpp vendor/clang/dist/test/CodeGenCXX/rtti-linkage.cpp vendor/clang/dist/test/CodeGenCXX/static-data-member.cpp vendor/clang/dist/test/CodeGenCXX/static-init.cpp vendor/clang/dist/test/CodeGenCXX/template-anonymous-types.cpp vendor/clang/dist/test/CodeGenCXX/template-instantiation.cpp vendor/clang/dist/test/CodeGenCXX/template-linkage.cpp vendor/clang/dist/test/CodeGenCXX/temporaries.cpp vendor/clang/dist/test/CodeGenCXX/threadsafe-statics-exceptions.cpp vendor/clang/dist/test/CodeGenCXX/throw-expressions.cpp vendor/clang/dist/test/CodeGenCXX/thunks.cpp vendor/clang/dist/test/CodeGenCXX/value-init.cpp vendor/clang/dist/test/CodeGenCXX/virt-dtor-gen.cpp vendor/clang/dist/test/CodeGenCXX/virt-dtor-key.cpp vendor/clang/dist/test/CodeGenCXX/virt-template-vtable.cpp vendor/clang/dist/test/CodeGenCXX/virtual-base-destructor-call.cpp vendor/clang/dist/test/CodeGenCXX/virtual-bases.cpp vendor/clang/dist/test/CodeGenCXX/virtual-destructor-calls.cpp vendor/clang/dist/test/CodeGenCXX/visibility-inlines-hidden.cpp vendor/clang/dist/test/CodeGenCXX/visibility.cpp vendor/clang/dist/test/CodeGenCXX/volatile.cpp vendor/clang/dist/test/CodeGenCXX/vtable-key-function.cpp vendor/clang/dist/test/CodeGenCXX/vtable-layout.cpp vendor/clang/dist/test/CodeGenCXX/vtable-linkage.cpp vendor/clang/dist/test/CodeGenCXX/vtable-pointer-initialization.cpp vendor/clang/dist/test/CodeGenCXX/vtt-layout.cpp vendor/clang/dist/test/CodeGenObjC/block-var-layout.m vendor/clang/dist/test/CodeGenObjC/blocks-1.m vendor/clang/dist/test/CodeGenObjC/blocks-2.m vendor/clang/dist/test/CodeGenObjC/blocks.m vendor/clang/dist/test/CodeGenObjC/default-property-synthesis.m vendor/clang/dist/test/CodeGenObjC/encode-test.m vendor/clang/dist/test/CodeGenObjC/exceptions.m vendor/clang/dist/test/CodeGenObjC/implicit-objc_msgSend.m vendor/clang/dist/test/CodeGenObjC/interface-layout-64.m vendor/clang/dist/test/CodeGenObjC/ivar-layout-64-bitfields.m vendor/clang/dist/test/CodeGenObjC/ivar-layout-nonfragile-abi2.m vendor/clang/dist/test/CodeGenObjC/ivars.m vendor/clang/dist/test/CodeGenObjC/ns-constant-strings.m vendor/clang/dist/test/CodeGenObjC/objc-read-weak-byref.m vendor/clang/dist/test/CodeGenObjC/objc2-nonfragile-abi-impl.m vendor/clang/dist/test/CodeGenObjC/objc2-weak-block-call.m vendor/clang/dist/test/CodeGenObjC/predefined-expr.m vendor/clang/dist/test/CodeGenObjC/property.m vendor/clang/dist/test/CodeGenObjCXX/encode.mm vendor/clang/dist/test/CodeGenObjCXX/implicit-copy-constructor.mm vendor/clang/dist/test/CodeGenObjCXX/property-derived-to-base-conv.mm vendor/clang/dist/test/CodeGenObjCXX/property-objects.mm vendor/clang/dist/test/CodeGenObjCXX/rtti.mm vendor/clang/dist/test/Coverage/c-language-features.inc vendor/clang/dist/test/Coverage/cxx-language-features.inc vendor/clang/dist/test/Coverage/html-diagnostics.c vendor/clang/dist/test/Coverage/targets.c vendor/clang/dist/test/Driver/clang_f_opts.c vendor/clang/dist/test/Driver/darwin-ld.c vendor/clang/dist/test/Driver/darwin-xarch.c vendor/clang/dist/test/Driver/dragonfly.c vendor/clang/dist/test/Driver/emit-llvm.c vendor/clang/dist/test/Driver/freebsd.c vendor/clang/dist/test/Driver/openbsd.c vendor/clang/dist/test/FixIt/fixit-errors.c vendor/clang/dist/test/FixIt/fixit-objc.m vendor/clang/dist/test/FixIt/fixit-unrecoverable.cpp vendor/clang/dist/test/FixIt/fixit.c vendor/clang/dist/test/FixIt/fixit.cpp vendor/clang/dist/test/FixIt/typo.cpp vendor/clang/dist/test/FixIt/typo.m vendor/clang/dist/test/Headers/x86-intrinsics-headers.c vendor/clang/dist/test/Index/TestClassDecl.m vendor/clang/dist/test/Index/TestClassForwardDecl.m vendor/clang/dist/test/Index/annotate-tokens-include.c vendor/clang/dist/test/Index/annotate-tokens-pp.c vendor/clang/dist/test/Index/annotate-tokens.c vendor/clang/dist/test/Index/annotate-tokens.cpp vendor/clang/dist/test/Index/annotate-tokens.m vendor/clang/dist/test/Index/blocks.c vendor/clang/dist/test/Index/c-index-api-loadTU-test.m vendor/clang/dist/test/Index/c-index-getCursor-pp.c vendor/clang/dist/test/Index/c-index-getCursor-test.m vendor/clang/dist/test/Index/code-completion.cpp vendor/clang/dist/test/Index/complete-at-directives.m vendor/clang/dist/test/Index/complete-at-exprstmt.m vendor/clang/dist/test/Index/complete-blocks.m vendor/clang/dist/test/Index/complete-ctor-inits.cpp vendor/clang/dist/test/Index/complete-declarators.cpp vendor/clang/dist/test/Index/complete-declarators.m vendor/clang/dist/test/Index/complete-enums.c vendor/clang/dist/test/Index/complete-exprs.c vendor/clang/dist/test/Index/complete-hiding.c vendor/clang/dist/test/Index/complete-macros.c vendor/clang/dist/test/Index/complete-member-access.m vendor/clang/dist/test/Index/complete-memfunc-cvquals.cpp vendor/clang/dist/test/Index/complete-method-decls.m vendor/clang/dist/test/Index/complete-objc-message-id.m vendor/clang/dist/test/Index/complete-objc-message.m vendor/clang/dist/test/Index/complete-preprocessor.m vendor/clang/dist/test/Index/complete-properties.m vendor/clang/dist/test/Index/complete-protocols.m vendor/clang/dist/test/Index/complete-recovery.m vendor/clang/dist/test/Index/complete-super.cpp vendor/clang/dist/test/Index/complete-super.m vendor/clang/dist/test/Index/complete-templates.cpp vendor/clang/dist/test/Index/complete-type-factors.m vendor/clang/dist/test/Index/crash-recovery-code-complete.c vendor/clang/dist/test/Index/crash-recovery-reparse.c vendor/clang/dist/test/Index/index-templates.cpp vendor/clang/dist/test/Index/load-decls.c vendor/clang/dist/test/Index/load-exprs.c vendor/clang/dist/test/Index/load-namespaces.cpp vendor/clang/dist/test/Index/load-stmts.cpp vendor/clang/dist/test/Index/local-symbols.m vendor/clang/dist/test/Index/preamble.c vendor/clang/dist/test/Index/print-typekind.c vendor/clang/dist/test/Index/properties-class-extensions.m vendor/clang/dist/test/Index/remap-complete.c vendor/clang/dist/test/Index/remap-cursor-at.c vendor/clang/dist/test/Index/remap-load.c vendor/clang/dist/test/Index/usrs.m vendor/clang/dist/test/Lexer/11-27-2007-FloatLiterals.c vendor/clang/dist/test/Lexer/c90.c vendor/clang/dist/test/Lexer/char-escapes.c vendor/clang/dist/test/Lexer/constants.c vendor/clang/dist/test/Lexer/cxx0x_keyword_as_cxx98.cpp vendor/clang/dist/test/Lexer/digraph.c vendor/clang/dist/test/Lexer/has_feature_cxx0x.cpp vendor/clang/dist/test/Lexer/ms-extensions.c vendor/clang/dist/test/Lexer/preamble.c vendor/clang/dist/test/Lexer/rdr-6096838-2.c vendor/clang/dist/test/Lexer/rdr-6096838.c vendor/clang/dist/test/Makefile vendor/clang/dist/test/Misc/diag-aka-types.cpp vendor/clang/dist/test/Misc/predefines.c vendor/clang/dist/test/PCH/Inputs/chain-macro-override1.h vendor/clang/dist/test/PCH/Inputs/chain-macro-override2.h vendor/clang/dist/test/PCH/Inputs/chain-selectors1.h vendor/clang/dist/test/PCH/Inputs/chain-selectors2.h vendor/clang/dist/test/PCH/Inputs/namespaces.h vendor/clang/dist/test/PCH/attrs.c vendor/clang/dist/test/PCH/chain-cxx.cpp vendor/clang/dist/test/PCH/chain-macro-override.c vendor/clang/dist/test/PCH/chain-macro.c vendor/clang/dist/test/PCH/chain-selectors.m vendor/clang/dist/test/PCH/cxx-templates.cpp vendor/clang/dist/test/PCH/cxx-templates.h vendor/clang/dist/test/PCH/cxx_exprs.cpp vendor/clang/dist/test/PCH/namespaces.cpp vendor/clang/dist/test/PCH/reinclude.cpp vendor/clang/dist/test/PCH/reinclude1.h vendor/clang/dist/test/PCH/reloc.c vendor/clang/dist/test/PCH/types.c vendor/clang/dist/test/Parser/MicrosoftExtensions.c vendor/clang/dist/test/Parser/altivec.c vendor/clang/dist/test/Parser/asm-constraints-pr7869.c vendor/clang/dist/test/Parser/cxx-altivec.cpp vendor/clang/dist/test/Parser/cxx-class.cpp vendor/clang/dist/test/Parser/cxx-decl.cpp vendor/clang/dist/test/Parser/cxx-reference.cpp vendor/clang/dist/test/Parser/cxx-stmt.cpp vendor/clang/dist/test/Parser/cxx-template-argument.cpp vendor/clang/dist/test/Parser/cxx-template-decl.cpp vendor/clang/dist/test/Parser/cxx-throw.cpp vendor/clang/dist/test/Parser/cxx0x-attributes.cpp vendor/clang/dist/test/Parser/encode.m vendor/clang/dist/test/Parser/expressions.c vendor/clang/dist/test/Parser/objc-forcollection-neg-2.m vendor/clang/dist/test/Parser/objc-forcollection-neg.m vendor/clang/dist/test/Parser/objc-foreach-syntax.m vendor/clang/dist/test/Parser/objc-interfaces.m vendor/clang/dist/test/Parser/objc-property-syntax.m vendor/clang/dist/test/Parser/objc-quirks.m vendor/clang/dist/test/Parser/recovery.c vendor/clang/dist/test/Parser/switch-recovery.cpp vendor/clang/dist/test/Preprocessor/assembler-with-cpp.c vendor/clang/dist/test/Preprocessor/clang_headers.c vendor/clang/dist/test/Preprocessor/has_include.c vendor/clang/dist/test/Preprocessor/header_lookup1.c vendor/clang/dist/test/Preprocessor/include-directive2.c vendor/clang/dist/test/Preprocessor/init.c vendor/clang/dist/test/Preprocessor/objc-pp.m vendor/clang/dist/test/Preprocessor/pragma-pushpop-macro.c vendor/clang/dist/test/Preprocessor/pragma_unknown.c vendor/clang/dist/test/Preprocessor/pushable-diagnostics.c vendor/clang/dist/test/Preprocessor/stdint.c vendor/clang/dist/test/Rewriter/dllimport-typedef.c vendor/clang/dist/test/Rewriter/finally.m vendor/clang/dist/test/Rewriter/properties.m vendor/clang/dist/test/Rewriter/rewrite-block-pointer.mm vendor/clang/dist/test/Rewriter/rewrite-protocol-qualified.mm vendor/clang/dist/test/Sema/Inputs/conversion.h vendor/clang/dist/test/Sema/address_spaces.c vendor/clang/dist/test/Sema/altivec-init.c vendor/clang/dist/test/Sema/array-constraint.c vendor/clang/dist/test/Sema/asm.c vendor/clang/dist/test/Sema/attr-aligned.c vendor/clang/dist/test/Sema/attr-deprecated.c vendor/clang/dist/test/Sema/attr-malloc.c vendor/clang/dist/test/Sema/attr-nodebug.c vendor/clang/dist/test/Sema/attr-noinline.c vendor/clang/dist/test/Sema/attr-unused.c vendor/clang/dist/test/Sema/attr-used.c vendor/clang/dist/test/Sema/attr-weak.c vendor/clang/dist/test/Sema/bitfield.c vendor/clang/dist/test/Sema/block-args.c vendor/clang/dist/test/Sema/block-call.c vendor/clang/dist/test/Sema/block-labels.c vendor/clang/dist/test/Sema/block-return.c vendor/clang/dist/test/Sema/builtins.c vendor/clang/dist/test/Sema/cast-to-union.c vendor/clang/dist/test/Sema/cast.c vendor/clang/dist/test/Sema/compare.c vendor/clang/dist/test/Sema/complex-int.c vendor/clang/dist/test/Sema/compound-literal.c vendor/clang/dist/test/Sema/conditional-expr.c vendor/clang/dist/test/Sema/const-eval.c vendor/clang/dist/test/Sema/const-ptr-int-ptr-cast.c vendor/clang/dist/test/Sema/constant-builtins-2.c vendor/clang/dist/test/Sema/constructor-attribute.c vendor/clang/dist/test/Sema/conversion.c vendor/clang/dist/test/Sema/designated-initializers.c vendor/clang/dist/test/Sema/dllimport-dllexport.c vendor/clang/dist/test/Sema/enum.c vendor/clang/dist/test/Sema/exprs.c vendor/clang/dist/test/Sema/flexible-array-init.c vendor/clang/dist/test/Sema/format-strings.c vendor/clang/dist/test/Sema/i-c-e.c vendor/clang/dist/test/Sema/implicit-builtin-decl.c vendor/clang/dist/test/Sema/init.c vendor/clang/dist/test/Sema/knr-def-call.c vendor/clang/dist/test/Sema/parentheses.c vendor/clang/dist/test/Sema/pointer-addition.c vendor/clang/dist/test/Sema/pragma-unused.c vendor/clang/dist/test/Sema/predef.c vendor/clang/dist/test/Sema/private-extern.c vendor/clang/dist/test/Sema/rdr6094103-unordered-compare-promote.c vendor/clang/dist/test/Sema/redefinition.c vendor/clang/dist/test/Sema/return.c vendor/clang/dist/test/Sema/scope-check.c vendor/clang/dist/test/Sema/self-comparison.c vendor/clang/dist/test/Sema/sentinel-attribute.c vendor/clang/dist/test/Sema/shift.c vendor/clang/dist/test/Sema/statements.c vendor/clang/dist/test/Sema/stdcall-fastcall.c vendor/clang/dist/test/Sema/struct-packed-align.c vendor/clang/dist/test/Sema/switch.c vendor/clang/dist/test/Sema/transparent-union.c vendor/clang/dist/test/Sema/typedef-retain.c vendor/clang/dist/test/Sema/unused-expr.c vendor/clang/dist/test/Sema/varargs-x86-64.c vendor/clang/dist/test/Sema/vector-assign.c vendor/clang/dist/test/Sema/vector-init.c vendor/clang/dist/test/Sema/warn-shadow.c vendor/clang/dist/test/Sema/warn-unreachable.c vendor/clang/dist/test/Sema/warn-unused-function.c vendor/clang/dist/test/Sema/warn-unused-value.c vendor/clang/dist/test/Sema/warn-write-strings.c vendor/clang/dist/test/Sema/x86-attr-force-align-arg-pointer.c vendor/clang/dist/test/Sema/x86-builtin-palignr.c vendor/clang/dist/test/SemaCXX/MicrosoftExtensions.cpp vendor/clang/dist/test/SemaCXX/__null.cpp vendor/clang/dist/test/SemaCXX/abstract.cpp vendor/clang/dist/test/SemaCXX/addr-of-overloaded-function.cpp vendor/clang/dist/test/SemaCXX/address-of-temporary.cpp vendor/clang/dist/test/SemaCXX/alignof-sizeof-reference.cpp vendor/clang/dist/test/SemaCXX/altivec.cpp vendor/clang/dist/test/SemaCXX/ambig-user-defined-conversions.cpp vendor/clang/dist/test/SemaCXX/ambiguous-builtin-unary-operator.cpp vendor/clang/dist/test/SemaCXX/anonymous-union.cpp vendor/clang/dist/test/SemaCXX/arrow-operator.cpp vendor/clang/dist/test/SemaCXX/attr-cxx0x.cpp vendor/clang/dist/test/SemaCXX/attr-deprecated.cpp vendor/clang/dist/test/SemaCXX/attr-format.cpp vendor/clang/dist/test/SemaCXX/attr-weakref.cpp vendor/clang/dist/test/SemaCXX/borland-extensions.cpp vendor/clang/dist/test/SemaCXX/builtin-ptrtomember-ambig.cpp vendor/clang/dist/test/SemaCXX/c99-variable-length-array.cpp vendor/clang/dist/test/SemaCXX/c99.cpp vendor/clang/dist/test/SemaCXX/cast-conversion.cpp vendor/clang/dist/test/SemaCXX/class.cpp vendor/clang/dist/test/SemaCXX/compare.cpp vendor/clang/dist/test/SemaCXX/composite-pointer-type.cpp vendor/clang/dist/test/SemaCXX/condition.cpp vendor/clang/dist/test/SemaCXX/conditional-expr.cpp vendor/clang/dist/test/SemaCXX/const-cast.cpp vendor/clang/dist/test/SemaCXX/constructor-initializer.cpp vendor/clang/dist/test/SemaCXX/constructor.cpp vendor/clang/dist/test/SemaCXX/conversion-function.cpp vendor/clang/dist/test/SemaCXX/conversion.cpp vendor/clang/dist/test/SemaCXX/copy-assignment.cpp vendor/clang/dist/test/SemaCXX/copy-initialization.cpp vendor/clang/dist/test/SemaCXX/cstyle-cast.cpp vendor/clang/dist/test/SemaCXX/dcl_ambig_res.cpp vendor/clang/dist/test/SemaCXX/dcl_init_aggr.cpp vendor/clang/dist/test/SemaCXX/decl-expr-ambiguity.cpp vendor/clang/dist/test/SemaCXX/decl-init-ref.cpp vendor/clang/dist/test/SemaCXX/decltype-overloaded-functions.cpp vendor/clang/dist/test/SemaCXX/default2.cpp vendor/clang/dist/test/SemaCXX/destructor.cpp vendor/clang/dist/test/SemaCXX/direct-initializer.cpp vendor/clang/dist/test/SemaCXX/elaborated-type-specifier.cpp vendor/clang/dist/test/SemaCXX/enum.cpp vendor/clang/dist/test/SemaCXX/exceptions.cpp vendor/clang/dist/test/SemaCXX/expressions.cpp vendor/clang/dist/test/SemaCXX/friend.cpp vendor/clang/dist/test/SemaCXX/functional-cast.cpp vendor/clang/dist/test/SemaCXX/init-priority-attr.cpp vendor/clang/dist/test/SemaCXX/invalid-member-expr.cpp vendor/clang/dist/test/SemaCXX/linkage-spec.cpp vendor/clang/dist/test/SemaCXX/member-expr-anonymous-union.cpp vendor/clang/dist/test/SemaCXX/member-expr.cpp vendor/clang/dist/test/SemaCXX/member-operator-expr.cpp vendor/clang/dist/test/SemaCXX/member-pointer.cpp vendor/clang/dist/test/SemaCXX/nested-name-spec.cpp vendor/clang/dist/test/SemaCXX/new-delete.cpp vendor/clang/dist/test/SemaCXX/no-exceptions.cpp vendor/clang/dist/test/SemaCXX/nullptr.cpp vendor/clang/dist/test/SemaCXX/overload-call.cpp vendor/clang/dist/test/SemaCXX/overload-member-call.cpp vendor/clang/dist/test/SemaCXX/overloaded-builtin-operators.cpp vendor/clang/dist/test/SemaCXX/overloaded-operator.cpp vendor/clang/dist/test/SemaCXX/qualified-id-lookup.cpp vendor/clang/dist/test/SemaCXX/ref-init-ambiguous.cpp vendor/clang/dist/test/SemaCXX/references.cpp vendor/clang/dist/test/SemaCXX/reinterpret-cast.cpp vendor/clang/dist/test/SemaCXX/return-noreturn.cpp vendor/clang/dist/test/SemaCXX/return-stack-addr.cpp vendor/clang/dist/test/SemaCXX/return.cpp vendor/clang/dist/test/SemaCXX/rval-references.cpp vendor/clang/dist/test/SemaCXX/scope-check.cpp vendor/clang/dist/test/SemaCXX/static-cast.cpp vendor/clang/dist/test/SemaCXX/type-convert-construct.cpp vendor/clang/dist/test/SemaCXX/type-dependent-exprs.cpp vendor/clang/dist/test/SemaCXX/type-traits-incomplete.cpp vendor/clang/dist/test/SemaCXX/type-traits.cpp vendor/clang/dist/test/SemaCXX/typeid-ref.cpp vendor/clang/dist/test/SemaCXX/unreachable-catch-clauses.cpp vendor/clang/dist/test/SemaCXX/unreachable-code.cpp vendor/clang/dist/test/SemaCXX/using-decl-1.cpp vendor/clang/dist/test/SemaCXX/using-decl-templates.cpp vendor/clang/dist/test/SemaCXX/using-directive.cpp vendor/clang/dist/test/SemaCXX/vector-casts.cpp vendor/clang/dist/test/SemaCXX/virtual-override.cpp vendor/clang/dist/test/SemaCXX/warn-assignment-condition.cpp vendor/clang/dist/test/SemaCXX/warn-global-constructors.cpp vendor/clang/dist/test/SemaCXX/warn-missing-noreturn.cpp vendor/clang/dist/test/SemaCXX/warn-shadow.cpp vendor/clang/dist/test/SemaCXX/warn-unreachable.cpp vendor/clang/dist/test/SemaCXX/warn-unused-filescoped.cpp vendor/clang/dist/test/SemaCXX/warn-unused-variables.cpp vendor/clang/dist/test/SemaCXX/warn_false_to_pointer.cpp vendor/clang/dist/test/SemaObjC/access-property-getter.m vendor/clang/dist/test/SemaObjC/attr-deprecated.m vendor/clang/dist/test/SemaObjC/bad-receiver-1.m vendor/clang/dist/test/SemaObjC/block-attr.m vendor/clang/dist/test/SemaObjC/call-super-2.m vendor/clang/dist/test/SemaObjC/category-1.m vendor/clang/dist/test/SemaObjC/class-conforming-protocol-2.m vendor/clang/dist/test/SemaObjC/class-method-lookup.m vendor/clang/dist/test/SemaObjC/compare-qualified-class.m vendor/clang/dist/test/SemaObjC/compare-qualified-id.m vendor/clang/dist/test/SemaObjC/comptypes-a.m vendor/clang/dist/test/SemaObjC/conditional-expr-4.m vendor/clang/dist/test/SemaObjC/conflict-nonfragile-abi2.m vendor/clang/dist/test/SemaObjC/continuation-class-err.m vendor/clang/dist/test/SemaObjC/crash-label.m vendor/clang/dist/test/SemaObjC/default-synthesize-1.m vendor/clang/dist/test/SemaObjC/default-synthesize.m vendor/clang/dist/test/SemaObjC/duplicate-ivar-in-class-extension.m vendor/clang/dist/test/SemaObjC/duplicate-property-class-extension.m vendor/clang/dist/test/SemaObjC/error-property-gc-attr.m vendor/clang/dist/test/SemaObjC/exprs.m vendor/clang/dist/test/SemaObjC/format-arg-attribute.m vendor/clang/dist/test/SemaObjC/ibaction.m vendor/clang/dist/test/SemaObjC/iboutletcollection-attr.m vendor/clang/dist/test/SemaObjC/ivar-in-class-extension-error.m vendor/clang/dist/test/SemaObjC/ivar-in-class-extension.m vendor/clang/dist/test/SemaObjC/ivar-in-implementations.m vendor/clang/dist/test/SemaObjC/method-arg-decay.m vendor/clang/dist/test/SemaObjC/method-arg-qualifier-warning.m vendor/clang/dist/test/SemaObjC/method-bad-param.m vendor/clang/dist/test/SemaObjC/method-conflict.m vendor/clang/dist/test/SemaObjC/method-def-1.m vendor/clang/dist/test/SemaObjC/method-lookup.m vendor/clang/dist/test/SemaObjC/method-sentinel-attr.m vendor/clang/dist/test/SemaObjC/method-undef-category-warn-1.m vendor/clang/dist/test/SemaObjC/method-undef-extension-warn-1.m vendor/clang/dist/test/SemaObjC/method-undefined-warn-1.m vendor/clang/dist/test/SemaObjC/nonnull.m vendor/clang/dist/test/SemaObjC/property-9.m vendor/clang/dist/test/SemaObjC/property-and-class-extension.m vendor/clang/dist/test/SemaObjC/property-and-ivar-use.m vendor/clang/dist/test/SemaObjC/property-impl-misuse.m vendor/clang/dist/test/SemaObjC/property-in-class-extension.m vendor/clang/dist/test/SemaObjC/property-missing.m vendor/clang/dist/test/SemaObjC/property-user-setter.m vendor/clang/dist/test/SemaObjC/selector-1.m vendor/clang/dist/test/SemaObjC/super-class-protocol-conformance.m vendor/clang/dist/test/SemaObjC/super.m vendor/clang/dist/test/SemaObjC/synth-provisional-ivars.m vendor/clang/dist/test/SemaObjC/synthesized-ivar.m vendor/clang/dist/test/SemaObjC/undef-protocol-methods-1.m vendor/clang/dist/test/SemaObjC/undef-superclass-1.m vendor/clang/dist/test/SemaObjC/warn-incompatible-builtin-types.m vendor/clang/dist/test/SemaObjC/warn-write-strings.m vendor/clang/dist/test/SemaObjCXX/blocks.mm vendor/clang/dist/test/SemaObjCXX/cstyle-cast.mm vendor/clang/dist/test/SemaObjCXX/exceptions-fragile.mm vendor/clang/dist/test/SemaObjCXX/message.mm vendor/clang/dist/test/SemaObjCXX/objc-pointer-conv.mm vendor/clang/dist/test/SemaObjCXX/overload.mm vendor/clang/dist/test/SemaObjCXX/protocol-lookup.mm vendor/clang/dist/test/SemaTemplate/anonymous-union.cpp vendor/clang/dist/test/SemaTemplate/attributes.cpp vendor/clang/dist/test/SemaTemplate/class-template-decl.cpp vendor/clang/dist/test/SemaTemplate/class-template-id.cpp vendor/clang/dist/test/SemaTemplate/class-template-spec.cpp vendor/clang/dist/test/SemaTemplate/constructor-template.cpp vendor/clang/dist/test/SemaTemplate/current-instantiation.cpp vendor/clang/dist/test/SemaTemplate/deduction.cpp vendor/clang/dist/test/SemaTemplate/default-expr-arguments-2.cpp vendor/clang/dist/test/SemaTemplate/default-expr-arguments.cpp vendor/clang/dist/test/SemaTemplate/dependent-base-classes.cpp vendor/clang/dist/test/SemaTemplate/dependent-expr.cpp vendor/clang/dist/test/SemaTemplate/dependent-names.cpp vendor/clang/dist/test/SemaTemplate/elaborated-type-specifier.cpp vendor/clang/dist/test/SemaTemplate/explicit-instantiation.cpp vendor/clang/dist/test/SemaTemplate/explicit-specialization-member.cpp vendor/clang/dist/test/SemaTemplate/friend-template.cpp vendor/clang/dist/test/SemaTemplate/fun-template-def.cpp vendor/clang/dist/test/SemaTemplate/function-template-specialization.cpp vendor/clang/dist/test/SemaTemplate/inject-templated-friend-post.cpp vendor/clang/dist/test/SemaTemplate/inject-templated-friend.cpp vendor/clang/dist/test/SemaTemplate/instantiate-anonymous-union.cpp vendor/clang/dist/test/SemaTemplate/instantiate-cast.cpp vendor/clang/dist/test/SemaTemplate/instantiate-complete.cpp vendor/clang/dist/test/SemaTemplate/instantiate-default-assignment-operator.cpp vendor/clang/dist/test/SemaTemplate/instantiate-expr-4.cpp vendor/clang/dist/test/SemaTemplate/instantiate-field.cpp vendor/clang/dist/test/SemaTemplate/instantiate-function-1.cpp vendor/clang/dist/test/SemaTemplate/instantiate-local-class.cpp vendor/clang/dist/test/SemaTemplate/instantiate-member-expr.cpp vendor/clang/dist/test/SemaTemplate/instantiate-member-pointers.cpp vendor/clang/dist/test/SemaTemplate/instantiate-member-template.cpp vendor/clang/dist/test/SemaTemplate/instantiate-non-type-template-parameter.cpp vendor/clang/dist/test/SemaTemplate/instantiate-static-var.cpp vendor/clang/dist/test/SemaTemplate/instantiate-template-template-parm.cpp vendor/clang/dist/test/SemaTemplate/instantiate-try-catch.cpp vendor/clang/dist/test/SemaTemplate/instantiate-using-decl.cpp vendor/clang/dist/test/SemaTemplate/instantiation-default-1.cpp vendor/clang/dist/test/SemaTemplate/member-access-expr.cpp vendor/clang/dist/test/SemaTemplate/temp_arg_nontype.cpp vendor/clang/dist/test/SemaTemplate/temp_class_spec_neg.cpp vendor/clang/dist/test/SemaTemplate/typename-specifier-4.cpp vendor/clang/dist/test/lit.cfg vendor/clang/dist/test/lit.site.cfg.in vendor/clang/dist/tools/Makefile vendor/clang/dist/tools/c-index-test/CMakeLists.txt vendor/clang/dist/tools/c-index-test/Makefile vendor/clang/dist/tools/c-index-test/c-index-test.c vendor/clang/dist/tools/driver/CMakeLists.txt vendor/clang/dist/tools/driver/Makefile vendor/clang/dist/tools/driver/cc1_main.cpp vendor/clang/dist/tools/driver/cc1as_main.cpp vendor/clang/dist/tools/driver/driver.cpp vendor/clang/dist/tools/libclang/CIndex.cpp vendor/clang/dist/tools/libclang/CIndexCXX.cpp vendor/clang/dist/tools/libclang/CIndexCodeCompletion.cpp vendor/clang/dist/tools/libclang/CIndexDiagnostic.cpp vendor/clang/dist/tools/libclang/CIndexDiagnostic.h vendor/clang/dist/tools/libclang/CIndexInclusionStack.cpp vendor/clang/dist/tools/libclang/CIndexUSRs.cpp vendor/clang/dist/tools/libclang/CIndexer.cpp vendor/clang/dist/tools/libclang/CIndexer.h vendor/clang/dist/tools/libclang/CMakeLists.txt vendor/clang/dist/tools/libclang/CXCursor.cpp vendor/clang/dist/tools/libclang/CXCursor.h vendor/clang/dist/tools/libclang/CXType.cpp vendor/clang/dist/tools/libclang/CXType.h vendor/clang/dist/tools/libclang/Makefile vendor/clang/dist/tools/libclang/libclang.darwin.exports vendor/clang/dist/tools/libclang/libclang.exports vendor/clang/dist/tools/scan-build/ccc-analyzer vendor/clang/dist/tools/scan-build/scan-build vendor/clang/dist/utils/ABITest/ABITestGen.py vendor/clang/dist/utils/ABITest/TypeGen.py vendor/clang/dist/utils/clang-completion-mode.el vendor/clang/dist/www/OpenProjects.html vendor/clang/dist/www/analyzer/annotations.html vendor/clang/dist/www/analyzer/filing_bugs.html vendor/clang/dist/www/analyzer/index.html vendor/clang/dist/www/analyzer/installation.html vendor/clang/dist/www/analyzer/latest_checker.html.incl vendor/clang/dist/www/analyzer/xcode.html vendor/clang/dist/www/compatibility.html vendor/clang/dist/www/cxx_status.html vendor/clang/dist/www/features.html vendor/clang/dist/www/get_started.html vendor/clang/dist/www/hacking.html vendor/clang/dist/www/index.html vendor/clang/dist/www/menu.html.incl Modified: vendor/clang/dist/CMakeLists.txt ============================================================================== --- vendor/clang/dist/CMakeLists.txt Sun Feb 20 12:59:03 2011 (r218886) +++ vendor/clang/dist/CMakeLists.txt Sun Feb 20 13:06:31 2011 (r218887) @@ -1,4 +1,67 @@ -# Clang version information +# If we are not building as a part of LLVM, build Clang as an +# standalone project, using LLVM as an external library: +if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR ) + project(Clang) + cmake_minimum_required(VERSION 2.8) + + set(CLANG_PATH_TO_LLVM_SOURCE "" CACHE PATH + "Path to LLVM source code. Not necessary if using an installed LLVM.") + set(CLANG_PATH_TO_LLVM_BUILD "" CACHE PATH + "Path to the directory where LLVM was built or installed.") + + if( CLANG_PATH_TO_LLVM_SOURCE ) + if( NOT EXISTS "${CLANG_PATH_TO_LLVM_SOURCE}/cmake/config-ix.cmake" ) + message(FATAL_ERROR "Please set CLANG_PATH_TO_LLVM_SOURCE to the root directory of LLVM source code.") + else() + get_filename_component(LLVM_MAIN_SRC_DIR ${CLANG_PATH_TO_LLVM_SOURCE} + ABSOLUTE) + list(APPEND CMAKE_MODULE_PATH "${LLVM_MAIN_SRC_DIR}/cmake/modules") + endif() + endif() + + if( NOT EXISTS "${CLANG_PATH_TO_LLVM_BUILD}/bin/tblgen${CMAKE_EXECUTABLE_SUFFIX}" ) + message(FATAL_ERROR "Please set CLANG_PATH_TO_LLVM_BUILD to a directory containing a LLVM build.") + endif() + + list(APPEND CMAKE_MODULE_PATH "${CLANG_PATH_TO_LLVM_BUILD}/share/llvm/cmake") + + get_filename_component(PATH_TO_LLVM_BUILD ${CLANG_PATH_TO_LLVM_BUILD} + ABSOLUTE) + + include(AddLLVM) + include(TableGen) + include("${CLANG_PATH_TO_LLVM_BUILD}/share/llvm/cmake/LLVM.cmake") + include(HandleLLVMOptions) + + set(PACKAGE_VERSION "${LLVM_PACKAGE_VERSION}") + + set(LLVM_MAIN_INCLUDE_DIR "${LLVM_MAIN_SRC_DIR}/include") + set(LLVM_BINARY_DIR ${CMAKE_BINARY_DIR}) + + set(CMAKE_INCLUDE_CURRENT_DIR ON) + include_directories("${PATH_TO_LLVM_BUILD}/include" "${LLVM_MAIN_INCLUDE_DIR}") + if( NOT PATH_TO_LLVM_BUILD STREQUAL LLVM_MAIN_SRC_DIR ) + include_directories("${LLVM_MAIN_INCLUDE_DIR}") + endif() + link_directories("${PATH_TO_LLVM_BUILD}/lib") + + set(LLVM_TABLEGEN_EXE "${PATH_TO_LLVM_BUILD}/bin/tblgen") + + set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin ) + set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib ) + set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib ) + + add_definitions( -D__STDC_LIMIT_MACROS ) + add_definitions( -D__STDC_CONSTANT_MACROS ) + + set( CLANG_BUILT_STANDALONE 1 ) +endif() + +set(CLANG_RESOURCE_DIR "" CACHE STRING + "Relative directory from the Clang binary to its resource files.") + +set(C_INCLUDE_DIRS "" CACHE STRING + "Colon separated list of directories clang will search for headers.") set(CLANG_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) set(CLANG_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}) @@ -24,7 +87,7 @@ if( NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_ endif() # Compute the Clang version from the LLVM version. -string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" CLANG_VERSION +string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" CLANG_VERSION ${PACKAGE_VERSION}) message(STATUS "Clang version: ${CLANG_VERSION}") @@ -47,23 +110,26 @@ configure_file( # Add appropriate flags for GCC if (CMAKE_COMPILER_IS_GNUCXX) - # FIXME: Turn off exceptions, RTTI: - # -fno-exceptions -fno-rtti - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings") endif () if (APPLE) set(CMAKE_MODULE_LINKER_FLAGS "-Wl,-flat_namespace -Wl,-undefined -Wl,suppress") endif () +configure_file( + ${CLANG_SOURCE_DIR}/include/clang/Config/config.h.cmake + ${CLANG_BINARY_DIR}/include/clang/Config/config.h) + macro(add_clang_library name) - set(srcs ${ARGN}) + llvm_process_sources(srcs ${ARGN}) if(MSVC_IDE OR XCODE) - file( GLOB_RECURSE headers *.h *.td *.def) - set(srcs ${srcs} ${headers}) string( REGEX MATCHALL "/[^/]+" split_path ${CMAKE_CURRENT_SOURCE_DIR}) list( GET split_path -1 dir) - file( GLOB_RECURSE headers + file( GLOB_RECURSE headers + ../../../include/clang/StaticAnalyzer${dir}/*.h + ../../../include/clang/StaticAnalyzer${dir}/*.td + ../../../include/clang/StaticAnalyzer${dir}/*.def ../../include/clang${dir}/*.h ../../include/clang${dir}/*.td ../../include/clang${dir}/*.def) @@ -88,10 +154,15 @@ macro(add_clang_library name) if( LLVM_LINK_COMPONENTS ) llvm_config(${name} ${LLVM_LINK_COMPONENTS}) endif( LLVM_LINK_COMPONENTS ) - get_system_libs(llvm_system_libs) - if( llvm_system_libs ) - target_link_libraries(${name} ${llvm_system_libs}) - endif( llvm_system_libs ) + if (LLVM_COMMON_LIBS) + target_link_libraries(${name} ${LLVM_COMMON_LIBS}) + endif() + if( NOT MINGW ) + get_system_libs(llvm_system_libs) + if( llvm_system_libs ) + target_link_libraries(${name} ${llvm_system_libs}) + endif() + endif() add_dependencies(${name} ClangDiagnosticCommon) if(MSVC) get_target_property(cflag ${name} COMPILE_FLAGS) @@ -107,12 +178,7 @@ macro(add_clang_library name) endmacro(add_clang_library) macro(add_clang_executable name) - set(srcs ${ARGN}) - if(MSVC_IDE) - file( GLOB_RECURSE headers *.h *.td *.def) - set(srcs ${srcs} ${headers}) - endif(MSVC_IDE) - add_llvm_executable( ${name} ${srcs} ) + add_llvm_executable( ${name} ${ARGN} ) endmacro(add_clang_executable) include_directories( @@ -136,7 +202,7 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY PATTERN "*.inc" ) -add_definitions( -D_GNU_SOURCE ) +add_definitions( -D_GNU_SOURCE -DHAVE_CLANG_CONFIG_H ) option(CLANG_BUILD_EXAMPLES "Build CLANG example programs." OFF) if(CLANG_BUILD_EXAMPLES) @@ -146,7 +212,23 @@ endif () add_subdirectory(include) add_subdirectory(lib) add_subdirectory(tools) +add_subdirectory(runtime) # TODO: docs. +if( LLVM_INCLUDE_TESTS ) add_subdirectory(test) +endif() +# FIXME: unittests require gtest. +if( NOT CLANG_BUILT_STANDALONE ) + add_subdirectory(unittests) +endif() + +# Workaround for MSVS10 to avoid the Dialog Hell +# FIXME: This could be removed with future version of CMake. +if( CLANG_BUILT_STANDALONE AND MSVC_VERSION EQUAL 1600 ) + set(CLANG_SLN_FILENAME "${CMAKE_CURRENT_BINARY_DIR}/Clang.sln") + if( EXISTS "${CLANG_SLN_FILENAME}" ) + file(APPEND "${CLANG_SLN_FILENAME}" "\n# This should be regenerated!\n") + endif() +endif() Modified: vendor/clang/dist/Makefile ============================================================================== --- vendor/clang/dist/Makefile Sun Feb 20 12:59:03 2011 (r218886) +++ vendor/clang/dist/Makefile Sun Feb 20 13:06:31 2011 (r218887) @@ -14,7 +14,7 @@ ifndef CLANG_LEVEL IS_TOP_LEVEL := 1 CLANG_LEVEL := . -DIRS := include lib tools runtime docs +DIRS := include lib tools runtime docs unittests PARALLEL_DIRS := @@ -37,6 +37,10 @@ LEVEL := $(CLANG_LEVEL)/../.. # Include LLVM common makefile. include $(LEVEL)/Makefile.common +ifneq ($(ENABLE_DOCS),1) + DIRS := $(filter-out docs, $(DIRS)) +endif + # Set common Clang build flags. CPP.Flags += -I$(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include -I$(PROJ_OBJ_DIR)/$(CLANG_LEVEL)/include ifdef CLANG_VENDOR @@ -44,7 +48,7 @@ CPP.Flags += -DCLANG_VENDOR='"$(CLANG_VE endif # Disable -fstrict-aliasing. Darwin disables it by default (and LLVM doesn't -# work with it enabled with GCC), Clang/llvm-gc don't support it yet, and newer +# work with it enabled with GCC), Clang/llvm-gcc don't support it yet, and newer # GCC's have false positive warnings with it on Linux (which prove a pain to # fix). For example: # http://gcc.gnu.org/PR41874 @@ -60,10 +64,12 @@ ifeq ($(IS_TOP_LEVEL),1) ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT)) $(RecursiveTargets):: - $(Verb) if [ ! -f test/Makefile ]; then \ - $(MKDIR) test; \ - $(CP) $(PROJ_SRC_DIR)/test/Makefile test/Makefile; \ - fi + $(Verb) for dir in test unittests; do \ + if [ ! -f $${dir}/Makefile ]; then \ + $(MKDIR) $${dir}; \ + $(CP) $(PROJ_SRC_DIR)/$${dir}/Makefile $${dir}/Makefile; \ + fi \ + done endif test:: Modified: vendor/clang/dist/TODO.txt ============================================================================== --- vendor/clang/dist/TODO.txt Sun Feb 20 12:59:03 2011 (r218886) +++ vendor/clang/dist/TODO.txt Sun Feb 20 13:06:31 2011 (r218887) @@ -2,7 +2,6 @@ // Minor random things that can be improved //===---------------------------------------------------------------------===// - Warn about "X && 0x1000" saying that the user may mean "X & 0x1000". We should do this for any immediate except zero, so long as it doesn't come from a macro expansion. Likewise for ||. @@ -73,3 +72,4 @@ Options to support: -fpreprocessed mode. -nostdinc++ -imultilib + Modified: vendor/clang/dist/bindings/python/clang/cindex.py ============================================================================== --- vendor/clang/dist/bindings/python/clang/cindex.py Sun Feb 20 12:59:03 2011 (r218886) +++ vendor/clang/dist/bindings/python/clang/cindex.py Sun Feb 20 13:06:31 2011 (r218887) @@ -191,19 +191,19 @@ class Diagnostic(object): self.ptr = ptr def __del__(self): - _clang_disposeDiagnostic(self.ptr) + _clang_disposeDiagnostic(self) @property def severity(self): - return _clang_getDiagnosticSeverity(self.ptr) + return _clang_getDiagnosticSeverity(self) @property def location(self): - return _clang_getDiagnosticLocation(self.ptr) + return _clang_getDiagnosticLocation(self) @property def spelling(self): - return _clang_getDiagnosticSpelling(self.ptr) + return _clang_getDiagnosticSpelling(self) @property def ranges(self): @@ -215,9 +215,11 @@ class Diagnostic(object): return int(_clang_getDiagnosticNumRanges(self.diag)) def __getitem__(self, key): + if (key >= len(self)): + raise IndexError return _clang_getDiagnosticRange(self.diag, key) - return RangeIterator(self.ptr) + return RangeIterator(self) @property def fixits(self): @@ -236,12 +238,15 @@ class Diagnostic(object): return FixIt(range, value) - return FixItIterator(self.ptr) + return FixItIterator(self) def __repr__(self): return "" % ( self.severity, self.location, self.spelling) + def from_param(self): + return self.ptr + class FixIt(object): """ A FixIt represents a transformation to be applied to the source to @@ -397,6 +402,51 @@ CursorKind.OBJC_CATEGORY_IMPL_DECL = Cur # A typedef. CursorKind.TYPEDEF_DECL = CursorKind(20) +# A C++ class method. +CursorKind.CXX_METHOD = CursorKind(21) + +# A C++ namespace. +CursorKind.NAMESPACE = CursorKind(22) + +# A linkage specification, e.g. 'extern "C"'. +CursorKind.LINKAGE_SPEC = CursorKind(23) + +# A C++ constructor. +CursorKind.CONSTRUCTOR = CursorKind(24) + +# A C++ destructor. +CursorKind.DESTRUCTOR = CursorKind(25) + +# A C++ conversion function. +CursorKind.CONVERSION_FUNCTION = CursorKind(26) + +# A C++ template type parameter +CursorKind.TEMPLATE_TYPE_PARAMETER = CursorKind(27) + +# A C++ non-type template paramater. +CursorKind.TEMPLATE_NON_TYPE_PARAMETER = CursorKind(28) + +# A C++ template template parameter. +CursorKind.TEMPLATE_TEMPLATE_PARAMTER = CursorKind(29) + +# A C++ function template. +CursorKind.FUNCTION_TEMPLATE = CursorKind(30) + +# A C++ class template. +CursorKind.CLASS_TEMPLATE = CursorKind(31) + +# A C++ class template partial specialization. +CursorKind.CLASS_TEMPLATE_PARTIAL_SPECIALIZATION = CursorKind(32) + +# A C++ namespace alias declaration. +CursorKind.NAMESPACE_ALIAS = CursorKind(33) + +# A C++ using directive +CursorKind.USING_DIRECTIVE = CursorKind(34) + +# A C++ using declaration +CursorKind.USING_DECLARATION = CursorKind(35) + ### # Reference Kinds @@ -415,6 +465,25 @@ CursorKind.OBJC_CLASS_REF = CursorKind(4 # while the type of the variable "size" is referenced. The cursor # referenced by the type of size is the typedef for size_type. CursorKind.TYPE_REF = CursorKind(43) +CursorKind.CXX_BASE_SPECIFIER = CursorKind(44) + +# A reference to a class template, function template, template +# template parameter, or class template partial specialization. +CursorKind.TEMPLATE_REF = CursorKind(45) + +# A reference to a namespace or namepsace alias. +CursorKind.NAMESPACE_REF = CursorKind(46) + +# A reference to a member of a struct, union, or class that occurs in +# some non-expression context, e.g., a designated initializer. +CursorKind.MEMBER_REF = CursorKind(47) + +# A reference to a labeled statement. +CursorKind.LABEL_REF = CursorKind(48) + +# A reference toa a set of overloaded functions or function templates +# that has not yet been resolved to a specific function or function template. +CursorKind.OVERLOADED_DECL_REF = CursorKind(49) ### # Invalid/Error Kinds @@ -422,6 +491,7 @@ CursorKind.TYPE_REF = CursorKind(43) CursorKind.INVALID_FILE = CursorKind(70) CursorKind.NO_DECL_FOUND = CursorKind(71) CursorKind.NOT_IMPLEMENTED = CursorKind(72) +CursorKind.INVALID_CODE = CursorKind(73) ### # Expression Kinds @@ -447,6 +517,9 @@ CursorKind.CALL_EXPR = CursorKind(103) # An expression that sends a message to an Objective-C object or class. CursorKind.OBJC_MESSAGE_EXPR = CursorKind(104) +# An expression that represents a block literal. +CursorKind.BLOCK_EXPR = CursorKind(105) + # A statement whose specific kind is not exposed via this interface. # # Unexposed statements have the same operations as any other kind of statement; @@ -454,6 +527,10 @@ CursorKind.OBJC_MESSAGE_EXPR = CursorKin # the specific kind of the statement is not reported. CursorKind.UNEXPOSED_STMT = CursorKind(200) +# A labelled statement in a function. +CursorKind.LABEL_STMT = CursorKind(201) + + ### # Other Kinds @@ -463,6 +540,23 @@ CursorKind.UNEXPOSED_STMT = CursorKind(2 # traversing the contents of a translation unit. CursorKind.TRANSLATION_UNIT = CursorKind(300) +### +# Attributes + +# An attribute whoe specific kind is note exposed via this interface +CursorKind.UNEXPOSED_ATTR = CursorKind(400) + +CursorKind.IB_ACTION_ATTR = CursorKind(401) +CursorKind.IB_OUTLET_ATTR = CursorKind(402) +CursorKind.IB_OUTLET_COLLECTION_ATTR = CursorKind(403) + +### +# Preprocessing +CursorKind.PREPROCESSING_DIRECTIVE = CursorKind(500) +CursorKind.MACRO_DEFINITION = CursorKind(501) +CursorKind.MACRO_INSTANTIATION = CursorKind(502) +CursorKind.INCLUSION_DIRECTIVE = CursorKind(503) + ### Cursors ### class Cursor(Structure): @@ -592,40 +686,209 @@ _clang_getDiagnostic.argtypes = [c_objec _clang_getDiagnostic.restype = c_object_p _clang_disposeDiagnostic = lib.clang_disposeDiagnostic -_clang_disposeDiagnostic.argtypes = [c_object_p] +_clang_disposeDiagnostic.argtypes = [Diagnostic] _clang_getDiagnosticSeverity = lib.clang_getDiagnosticSeverity -_clang_getDiagnosticSeverity.argtypes = [c_object_p] +_clang_getDiagnosticSeverity.argtypes = [Diagnostic] _clang_getDiagnosticSeverity.restype = c_int _clang_getDiagnosticLocation = lib.clang_getDiagnosticLocation -_clang_getDiagnosticLocation.argtypes = [c_object_p] +_clang_getDiagnosticLocation.argtypes = [Diagnostic] _clang_getDiagnosticLocation.restype = SourceLocation _clang_getDiagnosticSpelling = lib.clang_getDiagnosticSpelling -_clang_getDiagnosticSpelling.argtypes = [c_object_p] +_clang_getDiagnosticSpelling.argtypes = [Diagnostic] _clang_getDiagnosticSpelling.restype = _CXString _clang_getDiagnosticSpelling.errcheck = _CXString.from_result _clang_getDiagnosticNumRanges = lib.clang_getDiagnosticNumRanges -_clang_getDiagnosticNumRanges.argtypes = [c_object_p] +_clang_getDiagnosticNumRanges.argtypes = [Diagnostic] _clang_getDiagnosticNumRanges.restype = c_uint _clang_getDiagnosticRange = lib.clang_getDiagnosticRange -_clang_getDiagnosticRange.argtypes = [c_object_p, c_uint] +_clang_getDiagnosticRange.argtypes = [Diagnostic, c_uint] _clang_getDiagnosticRange.restype = SourceRange _clang_getDiagnosticNumFixIts = lib.clang_getDiagnosticNumFixIts -_clang_getDiagnosticNumFixIts.argtypes = [c_object_p] +_clang_getDiagnosticNumFixIts.argtypes = [Diagnostic] _clang_getDiagnosticNumFixIts.restype = c_uint _clang_getDiagnosticFixIt = lib.clang_getDiagnosticFixIt -_clang_getDiagnosticFixIt.argtypes = [c_object_p, c_uint, POINTER(SourceRange)] +_clang_getDiagnosticFixIt.argtypes = [Diagnostic, c_uint, POINTER(SourceRange)] _clang_getDiagnosticFixIt.restype = _CXString _clang_getDiagnosticFixIt.errcheck = _CXString.from_result ### +class CompletionChunk: + class Kind: + def __init__(self, name): + self.name = name + + def __str__(self): + return self.name + + def __repr__(self): + return "" % self + + def __init__(self, completionString, key): + self.cs = completionString + self.key = key + + def __repr__(self): + return "{'" + self.spelling + "', " + str(self.kind) + "}" + + @property + def spelling(self): + return _clang_getCompletionChunkText(self.cs, self.key).spelling + + @property + def kind(self): + res = _clang_getCompletionChunkKind(self.cs, self.key) + return completionChunkKindMap[res] + + @property + def string(self): + res = _clang_getCompletionChunkCompletionString(self.cs, self.key) + + if (res): + return CompletionString(res) + else: + None + + def isKindOptional(self): + return self.kind == completionChunkKindMap[0] + + def isKindTypedText(self): + return self.kind == completionChunkKindMap[1] + + def isKindPlaceHolder(self): + return self.kind == completionChunkKindMap[3] + + def isKindInformative(self): + return self.kind == completionChunkKindMap[4] + + def isKindResultType(self): + return self.kind == completionChunkKindMap[15] + +completionChunkKindMap = { + 0: CompletionChunk.Kind("Optional"), + 1: CompletionChunk.Kind("TypedText"), + 2: CompletionChunk.Kind("Text"), + 3: CompletionChunk.Kind("Placeholder"), + 4: CompletionChunk.Kind("Informative"), + 5: CompletionChunk.Kind("CurrentParameter"), + 6: CompletionChunk.Kind("LeftParen"), + 7: CompletionChunk.Kind("RightParen"), + 8: CompletionChunk.Kind("LeftBracket"), + 9: CompletionChunk.Kind("RightBracket"), + 10: CompletionChunk.Kind("LeftBrace"), + 11: CompletionChunk.Kind("RightBrace"), + 12: CompletionChunk.Kind("LeftAngle"), + 13: CompletionChunk.Kind("RightAngle"), + 14: CompletionChunk.Kind("Comma"), + 15: CompletionChunk.Kind("ResultType"), + 16: CompletionChunk.Kind("Colon"), + 17: CompletionChunk.Kind("SemiColon"), + 18: CompletionChunk.Kind("Equal"), + 19: CompletionChunk.Kind("HorizontalSpace"), + 20: CompletionChunk.Kind("VerticalSpace")} + +class CompletionString(ClangObject): + class Availability: + def __init__(self, name): + self.name = name + + def __str__(self): + return self.name + + def __repr__(self): + return "" % self + + def __len__(self): + return _clang_getNumCompletionChunks(self.obj) + + def __getitem__(self, key): + if len(self) <= key: + raise IndexError + return CompletionChunk(self.obj, key) + + @property + def priority(self): + return _clang_getCompletionPriority(self.obj) + + @property + def availability(self): + res = _clang_getCompletionAvailability(self.obj) + return availabilityKinds[res] + + def __repr__(self): + return " | ".join([str(a) for a in self]) \ + + " || Priority: " + str(self.priority) \ + + " || Availability: " + str(self.availability) + +availabilityKinds = { + 0: CompletionChunk.Kind("Available"), + 1: CompletionChunk.Kind("Deprecated"), + 2: CompletionChunk.Kind("NotAvailable")} + +class CodeCompletionResult(Structure): + _fields_ = [('cursorKind', c_int), ('completionString', c_object_p)] + + def __repr__(self): + return str(CompletionString(self.completionString)) + + @property + def kind(self): + return CursorKind.from_id(self.cursorKind) + + @property + def string(self): + return CompletionString(self.completionString) + +class CCRStructure(Structure): + _fields_ = [('results', POINTER(CodeCompletionResult)), + ('numResults', c_int)] + + def __len__(self): + return self.numResults + + def __getitem__(self, key): + if len(self) <= key: + raise IndexError + + return self.results[key] + +class CodeCompletionResults(ClangObject): + def __init__(self, ptr): + assert isinstance(ptr, POINTER(CCRStructure)) and ptr + self.ptr = self._as_parameter_ = ptr + + def from_param(self): + return self._as_parameter_ + + def __del__(self): + CodeCompletionResults_dispose(self) + + @property + def results(self): + return self.ptr.contents + + @property + def diagnostics(self): + class DiagnosticsItr: + def __init__(self, ccr): + self.ccr= ccr + + def __len__(self): + return int(_clang_codeCompleteGetNumDiagnostics(self.ccr)) + + def __getitem__(self, key): + return _clang_codeCompleteGetDiagnostic(self.ccr, key) + + return DiagnosticsItr(self) + + class Index(ClangObject): """ The Index type provides the primary interface to the Clang CIndex library, @@ -650,7 +913,7 @@ class Index(ClangObject): ptr = TranslationUnit_read(self, path) return TranslationUnit(ptr) if ptr else None - def parse(self, path, args = [], unsaved_files = []): + def parse(self, path, args = [], unsaved_files = [], options = 0): """ Load the translation unit from the given source code file by running clang and generating the AST before loading. Additional command line @@ -678,8 +941,9 @@ class Index(ClangObject): unsaved_files_array[i].name = name unsaved_files_array[i].contents = value unsaved_files_array[i].length = len(value) - ptr = TranslationUnit_parse(self, path, len(args), arg_array, - len(unsaved_files), unsaved_files_array) + ptr = TranslationUnit_parse(self, path, arg_array, len(args), + unsaved_files_array, len(unsaved_files), + options) return TranslationUnit(ptr) if ptr else None @@ -744,6 +1008,63 @@ class TranslationUnit(ClangObject): return DiagIterator(self) + def reparse(self, unsaved_files = [], options = 0): + """ + Reparse an already parsed translation unit. + + In-memory contents for files can be provided by passing a list of pairs + as unsaved_files, the first items should be the filenames to be mapped + and the second should be the contents to be substituted for the + file. The contents may be passed as strings or file objects. + """ + unsaved_files_array = 0 + if len(unsaved_files): + unsaved_files_array = (_CXUnsavedFile * len(unsaved_files))() + for i,(name,value) in enumerate(unsaved_files): + if not isinstance(value, str): + # FIXME: It would be great to support an efficient version + # of this, one day. + value = value.read() + print value + if not isinstance(value, str): + raise TypeError,'Unexpected unsaved file contents.' + unsaved_files_array[i].name = name + unsaved_files_array[i].contents = value + unsaved_files_array[i].length = len(value) + ptr = TranslationUnit_reparse(self, len(unsaved_files), + unsaved_files_array, + options) + def codeComplete(self, path, line, column, unsaved_files = [], options = 0): + """ + Code complete in this translation unit. + + In-memory contents for files can be provided by passing a list of pairs + as unsaved_files, the first items should be the filenames to be mapped + and the second should be the contents to be substituted for the + file. The contents may be passed as strings or file objects. + """ + unsaved_files_array = 0 + if len(unsaved_files): + unsaved_files_array = (_CXUnsavedFile * len(unsaved_files))() + for i,(name,value) in enumerate(unsaved_files): + if not isinstance(value, str): + # FIXME: It would be great to support an efficient version + # of this, one day. + value = value.read() + print value + if not isinstance(value, str): + raise TypeError,'Unexpected unsaved file contents.' + unsaved_files_array[i].name = name + unsaved_files_array[i].contents = value + unsaved_files_array[i].length = len(value) + ptr = TranslationUnit_codeComplete(self, path, + line, column, + unsaved_files_array, + len(unsaved_files), + options) + return CodeCompletionResults(ptr) if ptr else None + + class File(ClangObject): """ The File class represents a particular source file that is part of a @@ -893,11 +1214,20 @@ TranslationUnit_read = lib.clang_createT TranslationUnit_read.argtypes = [Index, c_char_p] TranslationUnit_read.restype = c_object_p -TranslationUnit_parse = lib.clang_createTranslationUnitFromSourceFile -TranslationUnit_parse.argtypes = [Index, c_char_p, c_int, c_void_p, - c_int, c_void_p] +TranslationUnit_parse = lib.clang_parseTranslationUnit +TranslationUnit_parse.argtypes = [Index, c_char_p, c_void_p, + c_int, c_void_p, c_int, c_int] TranslationUnit_parse.restype = c_object_p +TranslationUnit_reparse = lib.clang_reparseTranslationUnit +TranslationUnit_reparse.argtypes = [TranslationUnit, c_int, c_void_p, c_int] +TranslationUnit_reparse.restype = c_int + +TranslationUnit_codeComplete = lib.clang_codeCompleteAt +TranslationUnit_codeComplete.argtypes = [TranslationUnit, c_char_p, c_int, + c_int, c_void_p, c_int, c_int] +TranslationUnit_codeComplete.restype = POINTER(CCRStructure) + TranslationUnit_cursor = lib.clang_getTranslationUnitCursor TranslationUnit_cursor.argtypes = [TranslationUnit] TranslationUnit_cursor.restype = Cursor @@ -929,7 +1259,46 @@ File_time = lib.clang_getFileTime File_time.argtypes = [File] File_time.restype = c_uint +# Code completion + +CodeCompletionResults_dispose = lib.clang_disposeCodeCompleteResults +CodeCompletionResults_dispose.argtypes = [CodeCompletionResults] + +_clang_codeCompleteGetNumDiagnostics = lib.clang_codeCompleteGetNumDiagnostics +_clang_codeCompleteGetNumDiagnostics.argtypes = [CodeCompletionResults] +_clang_codeCompleteGetNumDiagnostics.restype = c_int + +_clang_codeCompleteGetDiagnostic = lib.clang_codeCompleteGetDiagnostic +_clang_codeCompleteGetDiagnostic.argtypes = [CodeCompletionResults, c_int] +_clang_codeCompleteGetDiagnostic.restype = Diagnostic + +_clang_getCompletionChunkText = lib.clang_getCompletionChunkText +_clang_getCompletionChunkText.argtypes = [c_void_p, c_int] +_clang_getCompletionChunkText.restype = _CXString + +_clang_getCompletionChunkKind = lib.clang_getCompletionChunkKind +_clang_getCompletionChunkKind.argtypes = [c_void_p, c_int] +_clang_getCompletionChunkKind.restype = c_int + +_clang_getCompletionChunkCompletionString = lib.clang_getCompletionChunkCompletionString +_clang_getCompletionChunkCompletionString.argtypes = [c_void_p, c_int] +_clang_getCompletionChunkCompletionString.restype = c_object_p + +_clang_getNumCompletionChunks = lib.clang_getNumCompletionChunks +_clang_getNumCompletionChunks.argtypes = [c_void_p] +_clang_getNumCompletionChunks.restype = c_int + +_clang_getCompletionAvailability = lib.clang_getCompletionAvailability +_clang_getCompletionAvailability.argtypes = [c_void_p] +_clang_getCompletionAvailability.restype = c_int + +_clang_getCompletionPriority = lib.clang_getCompletionPriority +_clang_getCompletionPriority.argtypes = [c_void_p] +_clang_getCompletionPriority.restype = c_int + + ### __all__ = ['Index', 'TranslationUnit', 'Cursor', 'CursorKind', - 'Diagnostic', 'FixIt', 'SourceRange', 'SourceLocation', 'File'] + 'Diagnostic', 'FixIt', 'CodeCompletionResults', 'SourceRange', + 'SourceLocation', 'File'] Modified: vendor/clang/dist/bindings/python/tests/cindex/test_diagnostics.py ============================================================================== --- vendor/clang/dist/bindings/python/tests/cindex/test_diagnostics.py Sun Feb 20 12:59:03 2011 (r218886) +++ vendor/clang/dist/bindings/python/tests/cindex/test_diagnostics.py Sun Feb 20 13:06:31 2011 (r218887) @@ -3,8 +3,6 @@ from clang.cindex import * def tu_from_source(source): index = Index.create() tu = index.parse('INPUT.c', unsaved_files = [('INPUT.c', source)]) - # FIXME: Remove the need for this. - tu.index = index return tu # FIXME: We need support for invalid translation units to test better. @@ -46,3 +44,26 @@ def test_diagnostic_fixit(): assert tu.diagnostics[0].fixits[0].range.end.line == 1 assert tu.diagnostics[0].fixits[0].range.end.column == 30 assert tu.diagnostics[0].fixits[0].value == '.f0 = ' + +def test_diagnostic_range(): + index = Index.create() + tu = tu_from_source("""void f() { int i = "a" + 1; }""") + assert len(tu.diagnostics) == 1 + assert tu.diagnostics[0].severity == Diagnostic.Warning + assert tu.diagnostics[0].location.line == 1 + assert tu.diagnostics[0].location.column == 16 + assert tu.diagnostics[0].spelling.startswith('incompatible pointer to') + assert len(tu.diagnostics[0].fixits) == 0 + assert len(tu.diagnostics[0].ranges) == 1 + assert tu.diagnostics[0].ranges[0].start.line == 1 + assert tu.diagnostics[0].ranges[0].start.column == 20 + assert tu.diagnostics[0].ranges[0].end.line == 1 + assert tu.diagnostics[0].ranges[0].end.column == 27 + try: + tu.diagnostics[0].ranges[1].start.line + except IndexError: + assert True + else: + assert False + + Modified: vendor/clang/dist/bindings/python/tests/cindex/test_translation_unit.py ============================================================================== --- vendor/clang/dist/bindings/python/tests/cindex/test_translation_unit.py Sun Feb 20 12:59:03 2011 (r218886) +++ vendor/clang/dist/bindings/python/tests/cindex/test_translation_unit.py Sun Feb 20 13:06:31 2011 (r218887) @@ -25,16 +25,24 @@ def test_parse_arguments(): assert spellings[-2] == 'hello' assert spellings[-1] == 'hi' +def test_reparse_arguments(): + path = os.path.join(kInputsDir, 'parse_arguments.c') + index = Index.create() + tu = index.parse(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi']) + tu.reparse() + spellings = [c.spelling for c in tu.cursor.get_children()] + assert spellings[-2] == 'hello' + assert spellings[-1] == 'hi' + def test_unsaved_files(): index = Index.create() - # FIXME: Why can't we just use "fake.h" here (instead of /tmp/fake.h)? - tu = index.parse('fake.c', unsaved_files = [ + tu = index.parse('fake.c', ['-I./'], unsaved_files = [ ('fake.c', """ -#include "/tmp/fake.h" +#include "fake.h" int x; int SOME_DEFINE; """), - ('/tmp/fake.h', """ + ('./fake.h', """ #define SOME_DEFINE y """) ]) Modified: vendor/clang/dist/clang.xcodeproj/project.pbxproj ============================================================================== --- vendor/clang/dist/clang.xcodeproj/project.pbxproj Sun Feb 20 12:59:03 2011 (r218886) +++ vendor/clang/dist/clang.xcodeproj/project.pbxproj Sun Feb 20 13:06:31 2011 (r218887) @@ -19,6 +19,7 @@ 1A2A54C50FD1DD1C00F4CE45 /* Warnings.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A2A54B40FD1DD1C00F4CE45 /* Warnings.cpp */; }; 1A30A9E90B93A4C800201A91 /* ExprCXX.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 1A30A9E80B93A4C800201A91 /* ExprCXX.h */; }; 1A376A2D0D4AED9B002A1C52 /* CGExprConstant.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A376A2C0D4AED9B002A1C52 /* CGExprConstant.cpp */; }; + 1A3D2C4E12A2CD3D0088C44A /* CGCXXABI.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A3D2C4D12A2CD3D0088C44A /* CGCXXABI.cpp */; }; 1A471AB50F437BC500753CE8 /* CGBlocks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A471AB40F437BC500753CE8 /* CGBlocks.cpp */; }; 1A4C41BF105B4C0B0047B5E7 /* CGClass.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A4C41BE105B4C0B0047B5E7 /* CGClass.cpp */; }; 1A5D5E580E5E81010023C059 /* CGCXX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A5D5E570E5E81010023C059 /* CGCXX.cpp */; }; @@ -77,6 +78,96 @@ 1ABD23F71182449800A48E65 /* Type.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23D31182449800A48E65 /* Type.cpp */; }; 1ABD23F81182449800A48E65 /* TypeLoc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23D41182449800A48E65 /* TypeLoc.cpp */; }; 1ABD23F91182449800A48E65 /* TypePrinter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23D51182449800A48E65 /* TypePrinter.cpp */; }; + 1AC1A67D12999D8E006FBC77 /* AnalysisContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67212999D8E006FBC77 /* AnalysisContext.cpp */; }; + 1AC1A67E12999D8E006FBC77 /* CFG.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67312999D8E006FBC77 /* CFG.cpp */; }; + 1AC1A67F12999D8E006FBC77 /* CFGStmtMap.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67412999D8E006FBC77 /* CFGStmtMap.cpp */; }; + 1AC1A68012999D8E006FBC77 /* FormatString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67512999D8E006FBC77 /* FormatString.cpp */; }; + 1AC1A68112999D8E006FBC77 /* LiveVariables.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67712999D8E006FBC77 /* LiveVariables.cpp */; }; + 1AC1A68212999D8E006FBC77 /* PrintfFormatString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67812999D8E006FBC77 /* PrintfFormatString.cpp */; }; + 1AC1A68312999D8E006FBC77 /* PseudoConstantAnalysis.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67912999D8E006FBC77 /* PseudoConstantAnalysis.cpp */; }; + 1AC1A68412999D8E006FBC77 /* ReachableCode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67A12999D8E006FBC77 /* ReachableCode.cpp */; }; + 1AC1A68512999D8E006FBC77 /* ScanfFormatString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67B12999D8E006FBC77 /* ScanfFormatString.cpp */; }; + 1AC1A68612999D8E006FBC77 /* UninitializedValues.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67C12999D8E006FBC77 /* UninitializedValues.cpp */; }; + 1AC1A9EF1299A287006FBC77 /* AdjustedReturnValueChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6881299A284006FBC77 /* AdjustedReturnValueChecker.cpp */; }; + 1AC1A9F01299A287006FBC77 /* AggExprVisitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6891299A284006FBC77 /* AggExprVisitor.cpp */; }; + 1AC1A9F11299A287006FBC77 /* AnalysisConsumer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A68A1299A284006FBC77 /* AnalysisConsumer.cpp */; }; + 1AC1A9F21299A287006FBC77 /* AnalysisManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A68B1299A284006FBC77 /* AnalysisManager.cpp */; }; + 1AC1A9F31299A287006FBC77 /* AnalyzerStatsChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A68C1299A284006FBC77 /* AnalyzerStatsChecker.cpp */; }; + 1AC1A9F41299A287006FBC77 /* ArrayBoundChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A68D1299A284006FBC77 /* ArrayBoundChecker.cpp */; }; + 1AC1A9F51299A287006FBC77 /* AttrNonNullChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A68E1299A284006FBC77 /* AttrNonNullChecker.cpp */; }; + 1AC1A9F61299A287006FBC77 /* BasicConstraintManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A68F1299A284006FBC77 /* BasicConstraintManager.cpp */; }; + 1AC1A9F71299A287006FBC77 /* BasicObjCFoundationChecks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6901299A284006FBC77 /* BasicObjCFoundationChecks.cpp */; }; + 1AC1A9F81299A287006FBC77 /* BasicStore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6921299A284006FBC77 /* BasicStore.cpp */; }; + 1AC1A9F91299A287006FBC77 /* BasicValueFactory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6931299A284006FBC77 /* BasicValueFactory.cpp */; }; + 1AC1A9FA1299A287006FBC77 /* BugReporter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6941299A284006FBC77 /* BugReporter.cpp */; }; + 1AC1A9FB1299A287006FBC77 /* BugReporterVisitors.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6951299A284006FBC77 /* BugReporterVisitors.cpp */; }; + 1AC1A9FC1299A287006FBC77 /* BuiltinFunctionChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6961299A284006FBC77 /* BuiltinFunctionChecker.cpp */; }; + 1AC1A9FD1299A287006FBC77 /* CallAndMessageChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6971299A284006FBC77 /* CallAndMessageChecker.cpp */; }; + 1AC1A9FE1299A287006FBC77 /* CastSizeChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6981299A284006FBC77 /* CastSizeChecker.cpp */; }; + 1AC1A9FF1299A287006FBC77 /* CastToStructChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6991299A284006FBC77 /* CastToStructChecker.cpp */; }; + 1AC1AA001299A287006FBC77 /* CFRefCount.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A69A1299A284006FBC77 /* CFRefCount.cpp */; }; + 1AC1AA011299A287006FBC77 /* CheckDeadStores.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A69B1299A284006FBC77 /* CheckDeadStores.cpp */; }; + 1AC1AA021299A287006FBC77 /* Checker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A69C1299A284006FBC77 /* Checker.cpp */; }; + 1AC1AA031299A287006FBC77 /* CheckerHelpers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A69D1299A284006FBC77 /* CheckerHelpers.cpp */; }; + 1AC1AA041299A287006FBC77 /* CheckObjCDealloc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A69E1299A284006FBC77 /* CheckObjCDealloc.cpp */; }; + 1AC1AA051299A287006FBC77 /* CheckObjCInstMethSignature.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A69F1299A284006FBC77 /* CheckObjCInstMethSignature.cpp */; }; + 1AC1AA061299A287006FBC77 /* CheckSecuritySyntaxOnly.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6A01299A284006FBC77 /* CheckSecuritySyntaxOnly.cpp */; }; + 1AC1AA071299A287006FBC77 /* CheckSizeofPointer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6A11299A284006FBC77 /* CheckSizeofPointer.cpp */; }; + 1AC1AA081299A287006FBC77 /* ChrootChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6A21299A284006FBC77 /* ChrootChecker.cpp */; }; + 1AC1AA091299A287006FBC77 /* CocoaConventions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6A41299A284006FBC77 /* CocoaConventions.cpp */; }; + 1AC1AA0A1299A287006FBC77 /* CStringChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6A51299A284006FBC77 /* CStringChecker.cpp */; }; + 1AC1AB3D1299A287006FBC77 /* DereferenceChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7DC1299A285006FBC77 /* DereferenceChecker.cpp */; }; + 1AC1AB3E1299A287006FBC77 /* DivZeroChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7DD1299A285006FBC77 /* DivZeroChecker.cpp */; }; + 1AC1AB3F1299A287006FBC77 /* Environment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7DE1299A285006FBC77 /* Environment.cpp */; }; + 1AC1AB401299A287006FBC77 /* ExplodedGraph.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7DF1299A285006FBC77 /* ExplodedGraph.cpp */; }; + 1AC1AB411299A287006FBC77 /* FixedAddressChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E01299A285006FBC77 /* FixedAddressChecker.cpp */; }; + 1AC1AB421299A287006FBC77 /* FlatStore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E11299A285006FBC77 /* FlatStore.cpp */; }; + 1AC1AB431299A287006FBC77 /* FrontendActions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E21299A285006FBC77 /* FrontendActions.cpp */; }; + 1AC1AB441299A287006FBC77 /* GRBlockCounter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E31299A285006FBC77 /* GRBlockCounter.cpp */; }; + 1AC1AB451299A287006FBC77 /* GRCoreEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E41299A285006FBC77 /* GRCoreEngine.cpp */; }; + 1AC1AB461299A287006FBC77 /* GRCXXExprEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E51299A285006FBC77 /* GRCXXExprEngine.cpp */; }; + 1AC1AB471299A287006FBC77 /* GRExprEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E61299A285006FBC77 /* GRExprEngine.cpp */; }; + 1AC1AB481299A287006FBC77 /* GRExprEngineExperimentalChecks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E71299A285006FBC77 /* GRExprEngineExperimentalChecks.cpp */; }; + 1AC1AB491299A287006FBC77 /* GRState.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7EA1299A285006FBC77 /* GRState.cpp */; }; + 1AC1AB4A1299A287006FBC77 /* HTMLDiagnostics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7EB1299A285006FBC77 /* HTMLDiagnostics.cpp */; }; + 1AC1AB4B1299A287006FBC77 /* IdempotentOperationChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7EC1299A285006FBC77 /* IdempotentOperationChecker.cpp */; }; + 1AC1AB4C1299A287006FBC77 /* LLVMConventionsChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7ED1299A285006FBC77 /* LLVMConventionsChecker.cpp */; }; + 1AC1AB4D1299A287006FBC77 /* MacOSXAPIChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7EE1299A285006FBC77 /* MacOSXAPIChecker.cpp */; }; + 1AC1AB4F1299A287006FBC77 /* MallocChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F01299A285006FBC77 /* MallocChecker.cpp */; }; + 1AC1AB501299A287006FBC77 /* ManagerRegistry.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F11299A285006FBC77 /* ManagerRegistry.cpp */; }; + 1AC1AB511299A287006FBC77 /* MemRegion.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F21299A285006FBC77 /* MemRegion.cpp */; }; + 1AC1AB521299A287006FBC77 /* NoReturnFunctionChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F31299A285006FBC77 /* NoReturnFunctionChecker.cpp */; }; + 1AC1AB531299A287006FBC77 /* NSAutoreleasePoolChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F41299A285006FBC77 /* NSAutoreleasePoolChecker.cpp */; }; + 1AC1AB541299A287006FBC77 /* NSErrorChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F51299A285006FBC77 /* NSErrorChecker.cpp */; }; + 1AC1AB551299A287006FBC77 /* ObjCAtSyncChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F61299A285006FBC77 /* ObjCAtSyncChecker.cpp */; }; + 1AC1AB561299A287006FBC77 /* ObjCUnusedIVarsChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F71299A285006FBC77 /* ObjCUnusedIVarsChecker.cpp */; }; + 1AC1AB571299A287006FBC77 /* OSAtomicChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F81299A285006FBC77 /* OSAtomicChecker.cpp */; }; + 1AC1AB581299A287006FBC77 /* PathDiagnostic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F91299A285006FBC77 /* PathDiagnostic.cpp */; }; + 1AC1AB591299A287006FBC77 /* PlistDiagnostics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7FA1299A285006FBC77 /* PlistDiagnostics.cpp */; }; + 1AC1AB5A1299A287006FBC77 /* PointerArithChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7FB1299A285006FBC77 /* PointerArithChecker.cpp */; }; + 1AC1AB5B1299A287006FBC77 /* PointerSubChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7FC1299A285006FBC77 /* PointerSubChecker.cpp */; }; + 1AC1AB5C1299A287006FBC77 /* PthreadLockChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7FD1299A285006FBC77 /* PthreadLockChecker.cpp */; }; + 1AC1AB5D1299A287006FBC77 /* RangeConstraintManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7FE1299A285006FBC77 /* RangeConstraintManager.cpp */; }; + 1AC1AB5E1299A287006FBC77 /* RegionStore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A8001299A285006FBC77 /* RegionStore.cpp */; }; + 1AC1AD331299A287006FBC77 /* ReturnPointerRangeChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9DB1299A287006FBC77 /* ReturnPointerRangeChecker.cpp */; }; + 1AC1AD341299A287006FBC77 /* ReturnUndefChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9DC1299A287006FBC77 /* ReturnUndefChecker.cpp */; }; + 1AC1AD351299A287006FBC77 /* SimpleConstraintManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9DD1299A287006FBC77 /* SimpleConstraintManager.cpp */; }; + 1AC1AD361299A287006FBC77 /* SimpleSValuator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9DF1299A287006FBC77 /* SimpleSValuator.cpp */; }; + 1AC1AD371299A287006FBC77 /* StackAddrLeakChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E01299A287006FBC77 /* StackAddrLeakChecker.cpp */; }; + 1AC1AD381299A287006FBC77 /* Store.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E11299A287006FBC77 /* Store.cpp */; }; + 1AC1AD391299A287006FBC77 /* StreamChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E21299A287006FBC77 /* StreamChecker.cpp */; }; + 1AC1AD3A1299A287006FBC77 /* SVals.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E31299A287006FBC77 /* SVals.cpp */; }; + 1AC1AD3B1299A287006FBC77 /* SValuator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E41299A287006FBC77 /* SValuator.cpp */; }; + 1AC1AD3C1299A287006FBC77 /* SymbolManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E51299A287006FBC77 /* SymbolManager.cpp */; }; + 1AC1AD3D1299A287006FBC77 /* UndefBranchChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E61299A287006FBC77 /* UndefBranchChecker.cpp */; }; + 1AC1AD3E1299A287006FBC77 /* UndefCapturedBlockVarChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E71299A287006FBC77 /* UndefCapturedBlockVarChecker.cpp */; }; + 1AC1AD3F1299A287006FBC77 /* UndefinedArraySubscriptChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E81299A287006FBC77 /* UndefinedArraySubscriptChecker.cpp */; }; + 1AC1AD401299A287006FBC77 /* UndefinedAssignmentChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E91299A287006FBC77 /* UndefinedAssignmentChecker.cpp */; }; + 1AC1AD411299A287006FBC77 /* UndefResultChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9EA1299A287006FBC77 /* UndefResultChecker.cpp */; }; + 1AC1AD421299A287006FBC77 /* UnixAPIChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9EB1299A287006FBC77 /* UnixAPIChecker.cpp */; }; + 1AC1AD431299A287006FBC77 /* UnreachableCodeChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9EC1299A287006FBC77 /* UnreachableCodeChecker.cpp */; }; + 1AC1AD441299A287006FBC77 /* ValueManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9ED1299A287006FBC77 /* ValueManager.cpp */; }; + 1AC1AD451299A287006FBC77 /* VLASizeChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9EE1299A287006FBC77 /* VLASizeChecker.cpp */; }; 1ACB57E41105820D0047B991 /* CompilerInstance.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ACB57DB1105820D0047B991 /* CompilerInstance.cpp */; }; 1ACB57E51105820D0047B991 /* CompilerInvocation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ACB57DC1105820D0047B991 /* CompilerInvocation.cpp */; }; 1ACB57E61105820D0047B991 /* DeclXML.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ACB57DD1105820D0047B991 /* DeclXML.cpp */; }; @@ -90,56 +181,32 @@ 1AF1B50F109A4FB800AFAFAC /* CGException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AF1B50E109A4FB800AFAFAC /* CGException.cpp */; }; 1AFDD8721161085D00AE030A /* ASTMerge.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFDD8701161085D00AE030A /* ASTMerge.cpp */; }; 1AFF8AE31012BFC900D248DA /* CGRecordLayoutBuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFF8AE11012BFC900D248DA /* CGRecordLayoutBuilder.cpp */; }; - 3507E4C20E27FE2D00FB7B57 /* CheckObjCInstMethSignature.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3507E4C10E27FE2D00FB7B57 /* CheckObjCInstMethSignature.cpp */; }; 352246E80F5C6BE000D0D279 /* InitHeaderSearch.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 352246E20F5C6BE000D0D279 /* InitHeaderSearch.cpp */; }; 352246EB0F5C6BE000D0D279 /* TextDiagnosticBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 352246E50F5C6BE000D0D279 /* TextDiagnosticBuffer.cpp */; }; 352246EC0F5C6BE000D0D279 /* TextDiagnosticPrinter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 352246E60F5C6BE000D0D279 /* TextDiagnosticPrinter.cpp */; }; 352712510DAFE54700C76352 /* IdentifierResolver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 352712500DAFE54700C76352 /* IdentifierResolver.cpp */; }; 3534A01D0E129849002709B2 /* ParseCXXInlineMethods.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3534A01C0E129849002709B2 /* ParseCXXInlineMethods.cpp */; }; - 3536456B0E23EBF7009C6509 /* Environment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3536456A0E23EBF7009C6509 /* Environment.cpp */; }; 3537AA0E0ECD08A4008F7CDC /* PreprocessorLexer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3537AA0D0ECD08A4008F7CDC /* PreprocessorLexer.cpp */; }; 353959D50EE5F88A00E82461 /* ParseTemplate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 353959D40EE5F88A00E82461 /* ParseTemplate.cpp */; }; 35475B200E79973F0000BFE4 /* CGCall.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 35475B1F0E79973F0000BFE4 /* CGCall.cpp */; }; - 355106860E9A8507006A4E44 /* MemRegion.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 355106850E9A8507006A4E44 /* MemRegion.cpp */; }; 3551068C0E9A8546006A4E44 /* ParsePragma.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3551068A0E9A8546006A4E44 /* ParsePragma.cpp */; }; 3551068D0E9A8546006A4E44 /* ParseTentative.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3551068B0E9A8546006A4E44 /* ParseTentative.cpp */; }; 3552E7550E520D80003A8CA5 /* PPCaching.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3552E7540E520D80003A8CA5 /* PPCaching.cpp */; }; *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 13:07:10 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE10D1065673; Sun, 20 Feb 2011 13:07:10 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 82AD38FC19; Sun, 20 Feb 2011 13:07:10 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KD7ALu033349; Sun, 20 Feb 2011 13:07:10 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KD7AeX033348; Sun, 20 Feb 2011 13:07:10 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102201307.p1KD7AeX033348@svn.freebsd.org> From: Dimitry Andric Date: Sun, 20 Feb 2011 13:07:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218888 - vendor/clang/clang-r126079 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 13:07:10 -0000 Author: dim Date: Sun Feb 20 13:07:10 2011 New Revision: 218888 URL: http://svn.freebsd.org/changeset/base/218888 Log: Tag clang r126079. Added: vendor/clang/clang-r126079/ - copied from r218887, vendor/clang/dist/ From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 14:18:59 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A57C1065673; Sun, 20 Feb 2011 14:18:59 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CCC468FC18; Sun, 20 Feb 2011 14:18:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KEIw0x034895; Sun, 20 Feb 2011 14:18:58 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KEIwPe034890; Sun, 20 Feb 2011 14:18:58 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201102201418.p1KEIwPe034890@svn.freebsd.org> From: Jilles Tjoelker Date: Sun, 20 Feb 2011 14:18:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218889 - in head/tools/regression/bin/sh: builtins parser X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 14:18:59 -0000 Author: jilles Date: Sun Feb 20 14:18:58 2011 New Revision: 218889 URL: http://svn.freebsd.org/changeset/base/218889 Log: sh: Split off some special behaviour into separate tests. This allows some other shells to pass the tests for basic behaviour. Added: head/tools/regression/bin/sh/builtins/trap8.0 (contents, props changed) head/tools/regression/bin/sh/parser/for2.0 (contents, props changed) Modified: head/tools/regression/bin/sh/builtins/trap3.0 head/tools/regression/bin/sh/parser/for1.0 Modified: head/tools/regression/bin/sh/builtins/trap3.0 ============================================================================== --- head/tools/regression/bin/sh/builtins/trap3.0 Sun Feb 20 13:07:10 2011 (r218888) +++ head/tools/regression/bin/sh/builtins/trap3.0 Sun Feb 20 14:18:58 2011 (r218889) @@ -8,5 +8,4 @@ trap - 99999 && exit 3 trap true 99999 && exit 3 } 2>/dev/null -test -n "$(trap true garbage TERM 2>/dev/null || trap)" || exit 3 exit 0 Added: head/tools/regression/bin/sh/builtins/trap8.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/regression/bin/sh/builtins/trap8.0 Sun Feb 20 14:18:58 2011 (r218889) @@ -0,0 +1,7 @@ +# $FreeBSD$ + +# I am not sure if POSIX requires the shell to continue processing +# further trap names in the same trap command after an invalid one. + +test -n "$(trap true garbage TERM 2>/dev/null || trap)" || exit 3 +exit 0 Modified: head/tools/regression/bin/sh/parser/for1.0 ============================================================================== --- head/tools/regression/bin/sh/parser/for1.0 Sun Feb 20 13:07:10 2011 (r218888) +++ head/tools/regression/bin/sh/parser/for1.0 Sun Feb 20 14:18:58 2011 (r218889) @@ -13,7 +13,7 @@ for s1 in "$nl" " "; do done done set -- $list -for s2 in "$nl" " " ";" ";$nl"; do # s2=";" and ";$nl" are extensions to POSIX +for s2 in "$nl" " "; do for s3 in "$nl" " "; do r='' eval "for i${s2}do${s3}r=\"\$r \$i\"; done" Added: head/tools/regression/bin/sh/parser/for2.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/regression/bin/sh/parser/for2.0 Sun Feb 20 14:18:58 2011 (r218889) @@ -0,0 +1,15 @@ +# $FreeBSD$ + +# Common extensions to the 'for' syntax. + +nl=' +' +list=' a b c' +set -- $list +for s2 in ";" ";$nl"; do + for s3 in "$nl" " "; do + r='' + eval "for i${s2}do${s3}r=\"\$r \$i\"; done" + [ "$r" = "$list" ] || exit 1 + done +done From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 16:16:43 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A5691065679; Sun, 20 Feb 2011 16:16:43 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2A1828FC14; Sun, 20 Feb 2011 16:16:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KGGh6m037772; Sun, 20 Feb 2011 16:16:43 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KGGh89037770; Sun, 20 Feb 2011 16:16:43 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201102201616.p1KGGh89037770@svn.freebsd.org> From: Nathan Whitehorn Date: Sun, 20 Feb 2011 16:16:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218890 - head/libexec/rtld-elf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 16:16:43 -0000 Author: nwhitehorn Date: Sun Feb 20 16:16:42 2011 New Revision: 218890 URL: http://svn.freebsd.org/changeset/base/218890 Log: Remove a hack made obsolete by the binutils 2.17 merge. Modified: head/libexec/rtld-elf/Symbol.map Modified: head/libexec/rtld-elf/Symbol.map ============================================================================== --- head/libexec/rtld-elf/Symbol.map Sun Feb 20 14:18:58 2011 (r218889) +++ head/libexec/rtld-elf/Symbol.map Sun Feb 20 16:16:42 2011 (r218890) @@ -15,9 +15,6 @@ FBSD_1.0 { dlinfo; dl_iterate_phdr; r_debug_state; -#ifdef __powerpc64__ - .r_debug_state; -#endif __tls_get_addr; }; From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 16:49:37 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56619106566B; Sun, 20 Feb 2011 16:49:37 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from EXHUB015-4.exch015.msoutlookonline.net (exhub015-4.exch015.msoutlookonline.net [207.5.72.96]) by mx1.freebsd.org (Postfix) with ESMTP id 3FBD48FC08; Sun, 20 Feb 2011 16:49:37 +0000 (UTC) Received: from [192.168.1.2] (173.66.131.189) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.2.254.0; Sun, 20 Feb 2011 08:49:37 -0800 Message-ID: <4D61461E.3000406@p6m7g8.com> Date: Sun, 20 Feb 2011 11:49:34 -0500 From: "Philip M. Gollucci" Organization: P6M7G8 Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Doug Barton References: <201102162123.p1GLN9f9084297@svn.freebsd.org> <4D6065B4.7040709@p6m7g8.com> <4D606FEB.6070806@dougbarton.us> In-Reply-To: <4D606FEB.6070806@dougbarton.us> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218753 - head/etc/namedb X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 16:49:37 -0000 On 2/19/2011 8:35 PM, Doug Barton wrote: > On 02/19/2011 16:52, Philip M. Gollucci wrote: >> On 2/16/2011 4:23 PM, Doug Barton wrote: >>> Author: dougb >>> Date: Wed Feb 16 21:23:09 2011 >>> New Revision: 218753 >>> URL: http://svn.freebsd.org/changeset/base/218753 >>> >>> Log: >>> Remove in-addr.arpa from the list of zones it is possible to slave >>> locally >> This is b/c of the recent change to fix the list of root servers that >> serve this right ? > > Not precisely. in-addr.arpa has moved to its own set of servers operated > jointly by the RIRs and ICANN. At some point in the near future this > zone will no longer be available directly from the root servers at all. We said the same thing, just I said it badly. -- ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 17:28:58 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D1D21065670; Sun, 20 Feb 2011 17:28:58 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8C16E8FC16; Sun, 20 Feb 2011 17:28:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KHSwhn039357; Sun, 20 Feb 2011 17:28:58 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KHSwRa039355; Sun, 20 Feb 2011 17:28:58 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201102201728.p1KHSwRa039355@svn.freebsd.org> From: Jilles Tjoelker Date: Sun, 20 Feb 2011 17:28:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218891 - head/tools/regression/bin/sh/parser X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 17:28:58 -0000 Author: jilles Date: Sun Feb 20 17:28:58 2011 New Revision: 218891 URL: http://svn.freebsd.org/changeset/base/218891 Log: sh: Add some tests for omitting whitespace whereever possible. Added: head/tools/regression/bin/sh/parser/no-space1.0 (contents, props changed) head/tools/regression/bin/sh/parser/no-space2.0 (contents, props changed) Added: head/tools/regression/bin/sh/parser/no-space1.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/regression/bin/sh/parser/no-space1.0 Sun Feb 20 17:28:58 2011 (r218891) @@ -0,0 +1,18 @@ +# $FreeBSD$ + +# These are ugly but are required to work. + +set -e + +while(false)do(:)done +if(false)then(:)fi +if(false)then(:)else(:)fi +(:&&:)||: +until(:)do(:)done +case x in(x);;*)exit 1;(:)esac +case x in(x);;*)exit 1;;esac +for i do(:)done +{(:)} +f(){(:)} +:|: +(:)|(:) Added: head/tools/regression/bin/sh/parser/no-space2.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/regression/bin/sh/parser/no-space2.0 Sun Feb 20 17:28:58 2011 (r218891) @@ -0,0 +1,7 @@ +# $FreeBSD$ + +# This conflicts with ksh extended patterns but occurs in the wild. + +set -e + +!(false) From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 17:54:49 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0A1B106566B; Sun, 20 Feb 2011 17:54:49 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9F5A48FC12; Sun, 20 Feb 2011 17:54:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KHsnfN039912; Sun, 20 Feb 2011 17:54:49 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KHsnaW039910; Sun, 20 Feb 2011 17:54:49 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201102201754.p1KHsnaW039910@svn.freebsd.org> From: Warner Losh Date: Sun, 20 Feb 2011 17:54:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218892 - head/usr.sbin/wpa/wpa_supplicant X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 17:54:49 -0000 Author: imp Date: Sun Feb 20 17:54:49 2011 New Revision: 218892 URL: http://svn.freebsd.org/changeset/base/218892 Log: Add notes about ASCII/Hex WEP keys Modified: head/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5 Modified: head/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5 ============================================================================== --- head/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5 Sun Feb 20 17:28:58 2011 (r218891) +++ head/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5 Sun Feb 20 17:54:49 2011 (r218892) @@ -424,6 +424,16 @@ Enable/disable EAP workarounds for vario with misbehaving authentication servers. By default these workarounds are enabled. Strict EAP conformance can be configured by setting this to 0. +.It Va wep_tx_keyidx +which key to use for transmission of packets. +.It Va wep_keyN key +An +.Tn ASCII +string enclosed in quotation marks to encode the WEP key. +Without quotes this is a hex string of the actual key. +WEP is considered insecure and should be avoided. +The exact translation from an ASCII key to a hex key varies. +Use hex keys where possible. .El .Sh CERTIFICATES Some EAP authentication methods require use of certificates. @@ -540,7 +550,10 @@ network={ scan_ssid=1 key_mgmt=NONE wep_tx_keyidx=0 + # hex keys denoted without quotes wep_key0=42FEEDDEAFBABEDEAFBEEFAA55 + # ASCII keys denoted with quotes. + wep_key1="FreeBSDr0cks!" } .Ed .Sh SEE ALSO From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 19:33:49 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DFC9106564A; Sun, 20 Feb 2011 19:33:49 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3574C8FC08; Sun, 20 Feb 2011 19:33:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KJXnm6042266; Sun, 20 Feb 2011 19:33:49 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KJXm1N042245; Sun, 20 Feb 2011 19:33:48 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102201933.p1KJXm1N042245@svn.freebsd.org> From: Dimitry Andric Date: Sun, 20 Feb 2011 19:33:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218893 - in head: . contrib/llvm/include/llvm contrib/llvm/include/llvm-c contrib/llvm/include/llvm-c/Transforms contrib/llvm/include/llvm/ADT contrib/llvm/include/llvm/Analysis contri... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 19:33:49 -0000 Author: dim Date: Sun Feb 20 19:33:47 2011 New Revision: 218893 URL: http://svn.freebsd.org/changeset/base/218893 Log: Upgrade our copy of llvm/clang to r126079, from upstream's trunk. This contains many improvements, primarily better C++ support, an integrated assembler for x86 and support for -pg. Added: head/contrib/llvm/include/llvm-c/Initialization.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm-c/Initialization.h head/contrib/llvm/include/llvm/ADT/ArrayRef.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/ADT/ArrayRef.h head/contrib/llvm/include/llvm/ADT/InMemoryStruct.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/ADT/InMemoryStruct.h head/contrib/llvm/include/llvm/ADT/IntEqClasses.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/ADT/IntEqClasses.h head/contrib/llvm/include/llvm/ADT/IntervalMap.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/ADT/IntervalMap.h head/contrib/llvm/include/llvm/Analysis/DIBuilder.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Analysis/DIBuilder.h head/contrib/llvm/include/llvm/Analysis/DominanceFrontier.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Analysis/DominanceFrontier.h head/contrib/llvm/include/llvm/Analysis/PathNumbering.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Analysis/PathNumbering.h head/contrib/llvm/include/llvm/Analysis/PathProfileInfo.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Analysis/PathProfileInfo.h head/contrib/llvm/include/llvm/Analysis/RegionPass.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Analysis/RegionPass.h head/contrib/llvm/include/llvm/CodeGen/EdgeBundles.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/CodeGen/EdgeBundles.h head/contrib/llvm/include/llvm/CodeGen/MachineLoopRanges.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/CodeGen/MachineLoopRanges.h head/contrib/llvm/include/llvm/CodeGen/PBQP/ - copied from r218888, vendor/llvm/dist/include/llvm/CodeGen/PBQP/ head/contrib/llvm/include/llvm/CodeGen/RegAllocPBQP.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/CodeGen/RegAllocPBQP.h head/contrib/llvm/include/llvm/CodeGen/ScoreboardHazardRecognizer.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/CodeGen/ScoreboardHazardRecognizer.h head/contrib/llvm/include/llvm/ExecutionEngine/MCJIT.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/ExecutionEngine/MCJIT.h head/contrib/llvm/include/llvm/InitializePasses.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/InitializePasses.h head/contrib/llvm/include/llvm/MC/MCELFObjectWriter.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/MC/MCELFObjectWriter.h head/contrib/llvm/include/llvm/MC/MCFixupKindInfo.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/MC/MCFixupKindInfo.h head/contrib/llvm/include/llvm/MC/MCMachObjectWriter.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/MC/MCMachObjectWriter.h head/contrib/llvm/include/llvm/Object/ - copied from r218888, vendor/llvm/dist/include/llvm/Object/ head/contrib/llvm/include/llvm/Support/AIXDataTypesFix.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/AIXDataTypesFix.h head/contrib/llvm/include/llvm/Support/Atomic.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Atomic.h head/contrib/llvm/include/llvm/Support/DataTypes.h.in - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/DataTypes.h.in head/contrib/llvm/include/llvm/Support/Disassembler.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Disassembler.h head/contrib/llvm/include/llvm/Support/DynamicLibrary.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/DynamicLibrary.h head/contrib/llvm/include/llvm/Support/Endian.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Endian.h head/contrib/llvm/include/llvm/Support/Errno.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Errno.h head/contrib/llvm/include/llvm/Support/FEnv.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/FEnv.h head/contrib/llvm/include/llvm/Support/FileSystem.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/FileSystem.h head/contrib/llvm/include/llvm/Support/Host.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Host.h head/contrib/llvm/include/llvm/Support/IncludeFile.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/IncludeFile.h head/contrib/llvm/include/llvm/Support/Memory.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Memory.h head/contrib/llvm/include/llvm/Support/Mutex.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Mutex.h head/contrib/llvm/include/llvm/Support/Path.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Path.h head/contrib/llvm/include/llvm/Support/PathV1.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/PathV1.h head/contrib/llvm/include/llvm/Support/PathV2.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/PathV2.h head/contrib/llvm/include/llvm/Support/Process.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Process.h head/contrib/llvm/include/llvm/Support/Program.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Program.h head/contrib/llvm/include/llvm/Support/RWMutex.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/RWMutex.h head/contrib/llvm/include/llvm/Support/Signals.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Signals.h head/contrib/llvm/include/llvm/Support/Solaris.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Solaris.h head/contrib/llvm/include/llvm/Support/SwapByteOrder.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/SwapByteOrder.h head/contrib/llvm/include/llvm/Support/ThreadLocal.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/ThreadLocal.h head/contrib/llvm/include/llvm/Support/Threading.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Threading.h head/contrib/llvm/include/llvm/Support/TimeValue.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/TimeValue.h head/contrib/llvm/include/llvm/Support/ToolOutputFile.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/ToolOutputFile.h head/contrib/llvm/include/llvm/Support/Valgrind.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Valgrind.h head/contrib/llvm/include/llvm/Support/system_error.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/system_error.h head/contrib/llvm/include/llvm/Target/TargetAsmInfo.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Target/TargetAsmInfo.h head/contrib/llvm/include/llvm/Target/TargetFrameLowering.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Target/TargetFrameLowering.h head/contrib/llvm/include/llvm/Target/TargetLibraryInfo.h - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Target/TargetLibraryInfo.h head/contrib/llvm/lib/Analysis/DIBuilder.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/DIBuilder.cpp head/contrib/llvm/lib/Analysis/DominanceFrontier.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/DominanceFrontier.cpp head/contrib/llvm/lib/Analysis/IPA/IPA.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/IPA/IPA.cpp head/contrib/llvm/lib/Analysis/MemDepPrinter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/MemDepPrinter.cpp head/contrib/llvm/lib/Analysis/NoAliasAnalysis.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/NoAliasAnalysis.cpp head/contrib/llvm/lib/Analysis/PathNumbering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/PathNumbering.cpp head/contrib/llvm/lib/Analysis/PathProfileInfo.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/PathProfileInfo.cpp head/contrib/llvm/lib/Analysis/PathProfileVerifier.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/PathProfileVerifier.cpp head/contrib/llvm/lib/Analysis/RegionPass.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/RegionPass.cpp head/contrib/llvm/lib/CodeGen/AllocationOrder.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/AllocationOrder.cpp head/contrib/llvm/lib/CodeGen/AllocationOrder.h - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/AllocationOrder.h head/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp head/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfTableException.cpp head/contrib/llvm/lib/CodeGen/CodeGen.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/CodeGen.cpp head/contrib/llvm/lib/CodeGen/EdgeBundles.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/EdgeBundles.cpp head/contrib/llvm/lib/CodeGen/ExpandISelPseudos.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/ExpandISelPseudos.cpp head/contrib/llvm/lib/CodeGen/LiveDebugVariables.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/LiveDebugVariables.cpp head/contrib/llvm/lib/CodeGen/LiveDebugVariables.h - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/LiveDebugVariables.h head/contrib/llvm/lib/CodeGen/LiveIntervalUnion.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/LiveIntervalUnion.cpp head/contrib/llvm/lib/CodeGen/LiveIntervalUnion.h - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/LiveIntervalUnion.h head/contrib/llvm/lib/CodeGen/LiveRangeEdit.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/LiveRangeEdit.cpp head/contrib/llvm/lib/CodeGen/LiveRangeEdit.h - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/LiveRangeEdit.h head/contrib/llvm/lib/CodeGen/MachineLoopRanges.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/MachineLoopRanges.cpp head/contrib/llvm/lib/CodeGen/PHIEliminationUtils.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/PHIEliminationUtils.cpp head/contrib/llvm/lib/CodeGen/PHIEliminationUtils.h - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/PHIEliminationUtils.h head/contrib/llvm/lib/CodeGen/RegAllocBase.h - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/RegAllocBase.h head/contrib/llvm/lib/CodeGen/RegAllocBasic.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/RegAllocBasic.cpp head/contrib/llvm/lib/CodeGen/RegAllocGreedy.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/RegAllocGreedy.cpp head/contrib/llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/ScoreboardHazardRecognizer.cpp head/contrib/llvm/lib/CodeGen/SpillPlacement.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/SpillPlacement.cpp head/contrib/llvm/lib/CodeGen/SpillPlacement.h - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/SpillPlacement.h head/contrib/llvm/lib/ExecutionEngine/MCJIT/ - copied from r218888, vendor/llvm/dist/lib/ExecutionEngine/MCJIT/ head/contrib/llvm/lib/MC/MCELFObjectTargetWriter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/MC/MCELFObjectTargetWriter.cpp head/contrib/llvm/lib/MC/MCMachObjectTargetWriter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/MC/MCMachObjectTargetWriter.cpp head/contrib/llvm/lib/MC/MCParser/COFFAsmParser.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/MC/MCParser/COFFAsmParser.cpp head/contrib/llvm/lib/MC/MCPureStreamer.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/MC/MCPureStreamer.cpp head/contrib/llvm/lib/Object/ - copied from r218888, vendor/llvm/dist/lib/Object/ head/contrib/llvm/lib/Support/Atomic.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Atomic.cpp head/contrib/llvm/lib/Support/Disassembler.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Disassembler.cpp head/contrib/llvm/lib/Support/DynamicLibrary.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/DynamicLibrary.cpp head/contrib/llvm/lib/Support/Errno.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Errno.cpp head/contrib/llvm/lib/Support/Host.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Host.cpp head/contrib/llvm/lib/Support/IncludeFile.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/IncludeFile.cpp head/contrib/llvm/lib/Support/IntEqClasses.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/IntEqClasses.cpp head/contrib/llvm/lib/Support/IntervalMap.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/IntervalMap.cpp head/contrib/llvm/lib/Support/Memory.cpp - copied, changed from r218888, vendor/llvm/dist/lib/Support/Memory.cpp head/contrib/llvm/lib/Support/Mutex.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Mutex.cpp head/contrib/llvm/lib/Support/Path.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Path.cpp head/contrib/llvm/lib/Support/PathV2.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/PathV2.cpp head/contrib/llvm/lib/Support/Process.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Process.cpp head/contrib/llvm/lib/Support/Program.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Program.cpp head/contrib/llvm/lib/Support/RWMutex.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/RWMutex.cpp head/contrib/llvm/lib/Support/SearchForAddressOfSpecialSymbol.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/SearchForAddressOfSpecialSymbol.cpp head/contrib/llvm/lib/Support/Signals.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Signals.cpp head/contrib/llvm/lib/Support/ThreadLocal.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/ThreadLocal.cpp head/contrib/llvm/lib/Support/Threading.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Threading.cpp head/contrib/llvm/lib/Support/TimeValue.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/TimeValue.cpp head/contrib/llvm/lib/Support/ToolOutputFile.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/ToolOutputFile.cpp head/contrib/llvm/lib/Support/Unix/ - copied from r218888, vendor/llvm/dist/lib/Support/Unix/ head/contrib/llvm/lib/Support/Valgrind.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Valgrind.cpp head/contrib/llvm/lib/Support/Windows/ - copied from r218888, vendor/llvm/dist/lib/Support/Windows/ head/contrib/llvm/lib/Support/system_error.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Support/system_error.cpp head/contrib/llvm/lib/Target/ARM/ARMAsmBackend.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMAsmBackend.cpp head/contrib/llvm/lib/Target/ARM/ARMAsmPrinter.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMAsmPrinter.h head/contrib/llvm/lib/Target/ARM/ARMBaseInfo.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMBaseInfo.h head/contrib/llvm/lib/Target/ARM/ARMCallingConv.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMCallingConv.h head/contrib/llvm/lib/Target/ARM/ARMELFWriterInfo.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMELFWriterInfo.cpp head/contrib/llvm/lib/Target/ARM/ARMELFWriterInfo.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMELFWriterInfo.h head/contrib/llvm/lib/Target/ARM/ARMFixupKinds.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMFixupKinds.h head/contrib/llvm/lib/Target/ARM/ARMFrameLowering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMFrameLowering.cpp head/contrib/llvm/lib/Target/ARM/ARMFrameLowering.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMFrameLowering.h head/contrib/llvm/lib/Target/ARM/ARMHazardRecognizer.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMHazardRecognizer.cpp head/contrib/llvm/lib/Target/ARM/ARMHazardRecognizer.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMHazardRecognizer.h head/contrib/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMMCCodeEmitter.cpp head/contrib/llvm/lib/Target/ARM/ARMMCExpr.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMMCExpr.cpp head/contrib/llvm/lib/Target/ARM/ARMMCExpr.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMMCExpr.h head/contrib/llvm/lib/Target/ARM/InstPrinter/ - copied from r218888, vendor/llvm/dist/lib/Target/ARM/InstPrinter/ head/contrib/llvm/lib/Target/ARM/MLxExpansionPass.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/MLxExpansionPass.cpp head/contrib/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/Thumb1FrameLowering.cpp head/contrib/llvm/lib/Target/ARM/Thumb1FrameLowering.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/Thumb1FrameLowering.h head/contrib/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Alpha/AlphaAsmPrinter.cpp head/contrib/llvm/lib/Target/Alpha/AlphaFrameLowering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Alpha/AlphaFrameLowering.cpp head/contrib/llvm/lib/Target/Alpha/AlphaFrameLowering.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Alpha/AlphaFrameLowering.h head/contrib/llvm/lib/Target/Blackfin/BlackfinAsmPrinter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Blackfin/BlackfinAsmPrinter.cpp head/contrib/llvm/lib/Target/Blackfin/BlackfinFrameLowering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Blackfin/BlackfinFrameLowering.cpp head/contrib/llvm/lib/Target/Blackfin/BlackfinFrameLowering.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Blackfin/BlackfinFrameLowering.h head/contrib/llvm/lib/Target/CellSPU/SPUAsmPrinter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/CellSPU/SPUAsmPrinter.cpp head/contrib/llvm/lib/Target/CellSPU/SPUFrameLowering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/CellSPU/SPUFrameLowering.cpp head/contrib/llvm/lib/Target/CellSPU/SPUFrameLowering.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/CellSPU/SPUFrameLowering.h head/contrib/llvm/lib/Target/CellSPU/SPUNopFiller.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/CellSPU/SPUNopFiller.cpp head/contrib/llvm/lib/Target/MBlaze/AsmParser/ - copied from r218888, vendor/llvm/dist/lib/Target/MBlaze/AsmParser/ head/contrib/llvm/lib/Target/MBlaze/Disassembler/ - copied from r218888, vendor/llvm/dist/lib/Target/MBlaze/Disassembler/ head/contrib/llvm/lib/Target/MBlaze/InstPrinter/ - copied from r218888, vendor/llvm/dist/lib/Target/MBlaze/InstPrinter/ head/contrib/llvm/lib/Target/MBlaze/MBlazeAsmBackend.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeAsmBackend.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeAsmPrinter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeAsmPrinter.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeELFWriterInfo.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeELFWriterInfo.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeELFWriterInfo.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeELFWriterInfo.h head/contrib/llvm/lib/Target/MBlaze/MBlazeFrameLowering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeFrameLowering.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeFrameLowering.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeFrameLowering.h head/contrib/llvm/lib/Target/MBlaze/MBlazeMCCodeEmitter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeMCCodeEmitter.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeMCInstLower.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeMCInstLower.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeMCInstLower.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeMCInstLower.h head/contrib/llvm/lib/Target/MBlaze/MBlazeRelocations.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeRelocations.h head/contrib/llvm/lib/Target/MSP430/InstPrinter/ - copied from r218888, vendor/llvm/dist/lib/Target/MSP430/InstPrinter/ head/contrib/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MSP430/MSP430AsmPrinter.cpp head/contrib/llvm/lib/Target/MSP430/MSP430FrameLowering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MSP430/MSP430FrameLowering.cpp head/contrib/llvm/lib/Target/MSP430/MSP430FrameLowering.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MSP430/MSP430FrameLowering.h head/contrib/llvm/lib/Target/MSP430/MSP430MCInstLower.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MSP430/MSP430MCInstLower.cpp head/contrib/llvm/lib/Target/MSP430/MSP430MCInstLower.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MSP430/MSP430MCInstLower.h head/contrib/llvm/lib/Target/Mips/MipsAsmPrinter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Mips/MipsAsmPrinter.cpp head/contrib/llvm/lib/Target/Mips/MipsFrameLowering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Mips/MipsFrameLowering.cpp head/contrib/llvm/lib/Target/Mips/MipsFrameLowering.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Mips/MipsFrameLowering.h head/contrib/llvm/lib/Target/PTX/ - copied from r218888, vendor/llvm/dist/lib/Target/PTX/ head/contrib/llvm/lib/Target/PowerPC/InstPrinter/ - copied from r218888, vendor/llvm/dist/lib/Target/PowerPC/InstPrinter/ head/contrib/llvm/lib/Target/PowerPC/PPCAsmBackend.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/PowerPC/PPCAsmBackend.cpp head/contrib/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/PowerPC/PPCAsmPrinter.cpp head/contrib/llvm/lib/Target/PowerPC/PPCFixupKinds.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/PowerPC/PPCFixupKinds.h head/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/PowerPC/PPCFrameLowering.cpp head/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/PowerPC/PPCFrameLowering.h head/contrib/llvm/lib/Target/PowerPC/PPCMCCodeEmitter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/PowerPC/PPCMCCodeEmitter.cpp head/contrib/llvm/lib/Target/PowerPC/PPCMCInstLower.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/PowerPC/PPCMCInstLower.cpp head/contrib/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Sparc/SparcAsmPrinter.cpp head/contrib/llvm/lib/Target/Sparc/SparcFrameLowering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Sparc/SparcFrameLowering.cpp head/contrib/llvm/lib/Target/Sparc/SparcFrameLowering.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Sparc/SparcFrameLowering.h head/contrib/llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/SystemZ/SystemZAsmPrinter.cpp head/contrib/llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/SystemZ/SystemZFrameLowering.cpp head/contrib/llvm/lib/Target/SystemZ/SystemZFrameLowering.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/SystemZ/SystemZFrameLowering.h head/contrib/llvm/lib/Target/TargetAsmInfo.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/TargetAsmInfo.cpp head/contrib/llvm/lib/Target/TargetFrameLowering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/TargetFrameLowering.cpp head/contrib/llvm/lib/Target/TargetLibraryInfo.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/TargetLibraryInfo.cpp head/contrib/llvm/lib/Target/X86/InstPrinter/ - copied from r218888, vendor/llvm/dist/lib/Target/X86/InstPrinter/ head/contrib/llvm/lib/Target/X86/Utils/ - copied from r218888, vendor/llvm/dist/lib/Target/X86/Utils/ head/contrib/llvm/lib/Target/X86/X86FrameLowering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86FrameLowering.cpp head/contrib/llvm/lib/Target/X86/X86FrameLowering.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86FrameLowering.h head/contrib/llvm/lib/Target/X86/X86Instr3DNow.td - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86Instr3DNow.td head/contrib/llvm/lib/Target/X86/X86InstrArithmetic.td - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrArithmetic.td head/contrib/llvm/lib/Target/X86/X86InstrCMovSetCC.td - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrCMovSetCC.td head/contrib/llvm/lib/Target/X86/X86InstrCompiler.td - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrCompiler.td head/contrib/llvm/lib/Target/X86/X86InstrControl.td - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrControl.td head/contrib/llvm/lib/Target/X86/X86InstrExtension.td - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrExtension.td head/contrib/llvm/lib/Target/X86/X86InstrShiftRotate.td - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrShiftRotate.td head/contrib/llvm/lib/Target/X86/X86InstrSystem.td - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrSystem.td head/contrib/llvm/lib/Target/X86/X86InstrVMX.td - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrVMX.td head/contrib/llvm/lib/Target/X86/X86MachObjectWriter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86MachObjectWriter.cpp head/contrib/llvm/lib/Target/XCore/XCoreAsmPrinter.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/XCore/XCoreAsmPrinter.cpp head/contrib/llvm/lib/Target/XCore/XCoreFrameLowering.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Target/XCore/XCoreFrameLowering.cpp head/contrib/llvm/lib/Target/XCore/XCoreFrameLowering.h - copied unchanged from r218888, vendor/llvm/dist/lib/Target/XCore/XCoreFrameLowering.h head/contrib/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Transforms/Instrumentation/Instrumentation.cpp head/contrib/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Transforms/Instrumentation/PathProfiling.cpp head/contrib/llvm/lib/Transforms/Scalar/EarlyCSE.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Transforms/Scalar/EarlyCSE.cpp head/contrib/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Transforms/Scalar/LoopIdiomRecognize.cpp head/contrib/llvm/lib/Transforms/Scalar/LoopInstSimplify.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Transforms/Scalar/LoopInstSimplify.cpp head/contrib/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Transforms/Utils/SimplifyInstructions.cpp head/contrib/llvm/lib/Transforms/Utils/Utils.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/Transforms/Utils/Utils.cpp head/contrib/llvm/lib/VMCore/User.cpp - copied unchanged from r218888, vendor/llvm/dist/lib/VMCore/User.cpp head/contrib/llvm/tools/clang/include/clang/AST/ASTMutationListener.h - copied unchanged from r218888, vendor/clang/dist/include/clang/AST/ASTMutationListener.h head/contrib/llvm/tools/clang/include/clang/AST/EvaluatedExprVisitor.h - copied unchanged from r218888, vendor/clang/dist/include/clang/AST/EvaluatedExprVisitor.h head/contrib/llvm/tools/clang/include/clang/AST/Mangle.h - copied unchanged from r218888, vendor/clang/dist/include/clang/AST/Mangle.h head/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/UninitializedValuesV2.h - copied unchanged from r218888, vendor/clang/dist/include/clang/Analysis/Analyses/UninitializedValuesV2.h head/contrib/llvm/tools/clang/include/clang/Analysis/DomainSpecific/ - copied from r218888, vendor/clang/dist/include/clang/Analysis/DomainSpecific/ head/contrib/llvm/tools/clang/include/clang/Basic/ABI.h - copied unchanged from r218888, vendor/clang/dist/include/clang/Basic/ABI.h head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticIDs.h - copied unchanged from r218888, vendor/clang/dist/include/clang/Basic/DiagnosticIDs.h head/contrib/llvm/tools/clang/include/clang/Basic/FileSystemOptions.h - copied unchanged from r218888, vendor/clang/dist/include/clang/Basic/FileSystemOptions.h head/contrib/llvm/tools/clang/include/clang/Basic/FileSystemStatCache.h - copied unchanged from r218888, vendor/clang/dist/include/clang/Basic/FileSystemStatCache.h head/contrib/llvm/tools/clang/include/clang/Basic/OpenCLExtensions.def - copied unchanged from r218888, vendor/clang/dist/include/clang/Basic/OpenCLExtensions.def head/contrib/llvm/tools/clang/include/clang/Basic/Visibility.h - copied unchanged from r218888, vendor/clang/dist/include/clang/Basic/Visibility.h head/contrib/llvm/tools/clang/include/clang/Config/ - copied from r218888, vendor/clang/dist/include/clang/Config/ head/contrib/llvm/tools/clang/include/clang/Frontend/MultiplexConsumer.h - copied unchanged from r218888, vendor/clang/dist/include/clang/Frontend/MultiplexConsumer.h head/contrib/llvm/tools/clang/include/clang/Serialization/ASTSerializationListener.h - copied unchanged from r218888, vendor/clang/dist/include/clang/Serialization/ASTSerializationListener.h head/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/ - copied from r218888, vendor/clang/dist/include/clang/StaticAnalyzer/ head/contrib/llvm/tools/clang/lib/AST/DumpXML.cpp - copied unchanged from r218888, vendor/clang/dist/lib/AST/DumpXML.cpp head/contrib/llvm/tools/clang/lib/AST/ItaniumMangle.cpp - copied unchanged from r218888, vendor/clang/dist/lib/AST/ItaniumMangle.cpp head/contrib/llvm/tools/clang/lib/AST/Mangle.cpp - copied unchanged from r218888, vendor/clang/dist/lib/AST/Mangle.cpp head/contrib/llvm/tools/clang/lib/AST/MicrosoftMangle.cpp - copied unchanged from r218888, vendor/clang/dist/lib/AST/MicrosoftMangle.cpp head/contrib/llvm/tools/clang/lib/Analysis/CocoaConventions.cpp - copied unchanged from r218888, vendor/clang/dist/lib/Analysis/CocoaConventions.cpp head/contrib/llvm/tools/clang/lib/Analysis/UninitializedValuesV2.cpp - copied unchanged from r218888, vendor/clang/dist/lib/Analysis/UninitializedValuesV2.cpp head/contrib/llvm/tools/clang/lib/Basic/DiagnosticIDs.cpp - copied unchanged from r218888, vendor/clang/dist/lib/Basic/DiagnosticIDs.cpp head/contrib/llvm/tools/clang/lib/Basic/FileSystemStatCache.cpp - copied unchanged from r218888, vendor/clang/dist/lib/Basic/FileSystemStatCache.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGCXXABI.cpp - copied unchanged from r218888, vendor/clang/dist/lib/CodeGen/CGCXXABI.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGCleanup.cpp - copied unchanged from r218888, vendor/clang/dist/lib/CodeGen/CGCleanup.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGCleanup.h - copied unchanged from r218888, vendor/clang/dist/lib/CodeGen/CGCleanup.h head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTBAA.cpp - copied unchanged from r218888, vendor/clang/dist/lib/CodeGen/CodeGenTBAA.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTBAA.h - copied unchanged from r218888, vendor/clang/dist/lib/CodeGen/CodeGenTBAA.h head/contrib/llvm/tools/clang/lib/Frontend/HeaderIncludeGen.cpp - copied unchanged from r218888, vendor/clang/dist/lib/Frontend/HeaderIncludeGen.cpp head/contrib/llvm/tools/clang/lib/Frontend/MultiplexConsumer.cpp - copied unchanged from r218888, vendor/clang/dist/lib/Frontend/MultiplexConsumer.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaTemplateVariadic.cpp - copied unchanged from r218888, vendor/clang/dist/lib/Sema/SemaTemplateVariadic.cpp head/contrib/llvm/tools/clang/lib/Sema/TypeLocBuilder.h - copied unchanged from r218888, vendor/clang/dist/lib/Sema/TypeLocBuilder.h head/contrib/llvm/tools/clang/lib/StaticAnalyzer/ - copied from r218888, vendor/clang/dist/lib/StaticAnalyzer/ head/contrib/llvm/utils/TableGen/ClangSACheckersEmitter.cpp - copied unchanged from r218888, vendor/llvm/dist/utils/TableGen/ClangSACheckersEmitter.cpp head/contrib/llvm/utils/TableGen/ClangSACheckersEmitter.h - copied unchanged from r218888, vendor/llvm/dist/utils/TableGen/ClangSACheckersEmitter.h head/contrib/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp - copied unchanged from r218888, vendor/llvm/dist/utils/TableGen/FixedLenDecoderEmitter.cpp head/contrib/llvm/utils/TableGen/FixedLenDecoderEmitter.h - copied unchanged from r218888, vendor/llvm/dist/utils/TableGen/FixedLenDecoderEmitter.h head/contrib/llvm/utils/TableGen/StringMatcher.cpp - copied unchanged from r218888, vendor/llvm/dist/utils/TableGen/StringMatcher.cpp head/contrib/llvm/utils/TableGen/StringMatcher.h - copied unchanged from r218888, vendor/llvm/dist/utils/TableGen/StringMatcher.h head/lib/clang/include/ARMGenDecoderTables.inc (contents, props changed) head/lib/clang/include/ARMGenEDInfo.inc (contents, props changed) head/lib/clang/include/ARMGenMCCodeEmitter.inc (contents, props changed) head/lib/clang/include/Checkers.inc (contents, props changed) head/lib/clang/include/PPCGenMCCodeEmitter.inc (contents, props changed) head/lib/clang/include/clang/Lex/ head/lib/clang/include/clang/Lex/AttrSpellings.inc (contents, props changed) head/lib/clang/include/llvm/Support/ head/lib/clang/include/llvm/Support/DataTypes.h (contents, props changed) head/lib/clang/libclangstaticanalyzercheckers/ head/lib/clang/libclangstaticanalyzercheckers/Makefile (contents, props changed) head/lib/clang/libclangstaticanalyzercore/ head/lib/clang/libclangstaticanalyzercore/Makefile (contents, props changed) head/lib/clang/libclangstaticanalyzerfrontend/ head/lib/clang/libclangstaticanalyzerfrontend/Makefile (contents, props changed) head/lib/clang/libllvmarmdisassembler/ head/lib/clang/libllvmarmdisassembler/Makefile (contents, props changed) head/lib/clang/libllvmarminstprinter/ head/lib/clang/libllvmarminstprinter/Makefile (contents, props changed) head/lib/clang/libllvmpowerpcinstprinter/ head/lib/clang/libllvmpowerpcinstprinter/Makefile (contents, props changed) head/lib/clang/libllvmx86instprinter/ head/lib/clang/libllvmx86instprinter/Makefile (contents, props changed) head/lib/clang/libllvmx86utils/ head/lib/clang/libllvmx86utils/Makefile (contents, props changed) Deleted: head/contrib/llvm/include/llvm/Analysis/PointerTracking.h head/contrib/llvm/include/llvm/CodeGen/PostRAHazardRecognizer.h head/contrib/llvm/include/llvm/MC/ELFObjectWriter.h head/contrib/llvm/include/llvm/MC/MachObjectWriter.h head/contrib/llvm/include/llvm/Support/DynamicLinker.h head/contrib/llvm/include/llvm/Support/StableBasicBlockNumbering.h head/contrib/llvm/include/llvm/System/ head/contrib/llvm/include/llvm/Target/TargetFrameInfo.h head/contrib/llvm/include/llvm/Transforms/RSProfiling.h head/contrib/llvm/lib/Analysis/PointerTracking.cpp head/contrib/llvm/lib/CodeGen/PBQP/ head/contrib/llvm/lib/CodeGen/PHIElimination.h head/contrib/llvm/lib/CodeGen/PostRAHazardRecognizer.cpp head/contrib/llvm/lib/System/ head/contrib/llvm/lib/Target/ARM/ARMFrameInfo.h head/contrib/llvm/lib/Target/ARM/ARMMCInstLower.h head/contrib/llvm/lib/Target/ARM/AsmPrinter/ head/contrib/llvm/lib/Target/ARM/NEONPreAllocPass.cpp head/contrib/llvm/lib/Target/ARM/Thumb2HazardRecognizer.cpp head/contrib/llvm/lib/Target/ARM/Thumb2HazardRecognizer.h head/contrib/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp head/contrib/llvm/lib/Target/Alpha/AlphaJITInfo.cpp head/contrib/llvm/lib/Target/Alpha/AlphaJITInfo.h head/contrib/llvm/lib/Target/Alpha/AsmPrinter/ head/contrib/llvm/lib/Target/Blackfin/AsmPrinter/ head/contrib/llvm/lib/Target/CellSPU/AsmPrinter/ head/contrib/llvm/lib/Target/CellSPU/SPUFrameInfo.cpp head/contrib/llvm/lib/Target/CellSPU/SPUFrameInfo.h head/contrib/llvm/lib/Target/MBlaze/AsmPrinter/ head/contrib/llvm/lib/Target/MSP430/AsmPrinter/ head/contrib/llvm/lib/Target/Mips/AsmPrinter/ head/contrib/llvm/lib/Target/PIC16/ head/contrib/llvm/lib/Target/PowerPC/AsmPrinter/ head/contrib/llvm/lib/Target/PowerPC/PPCFrameInfo.h head/contrib/llvm/lib/Target/Sparc/AsmPrinter/ head/contrib/llvm/lib/Target/SystemZ/AsmPrinter/ head/contrib/llvm/lib/Target/TargetFrameInfo.cpp head/contrib/llvm/lib/Target/X86/AsmPrinter/ head/contrib/llvm/lib/Target/X86/X86Instr64bit.td head/contrib/llvm/lib/Target/X86/X86ShuffleDecode.h head/contrib/llvm/lib/Target/XCore/AsmPrinter/ head/contrib/llvm/lib/Target/XCore/XCoreFrameInfo.cpp head/contrib/llvm/lib/Target/XCore/XCoreFrameInfo.h head/contrib/llvm/lib/Transforms/IPO/PartialSpecialization.cpp head/contrib/llvm/lib/Transforms/Scalar/LoopIndexSplit.cpp head/contrib/llvm/tools/clang/include/clang/AST/FullExpr.h head/contrib/llvm/tools/clang/include/clang/AST/TypeLocBuilder.h head/contrib/llvm/tools/clang/include/clang/Checker/ head/contrib/llvm/tools/clang/lib/AST/FullExpr.cpp head/contrib/llvm/tools/clang/lib/Checker/ head/contrib/llvm/tools/clang/lib/CodeGen/CGCXX.h head/contrib/llvm/tools/clang/lib/CodeGen/Mangle.cpp head/contrib/llvm/tools/clang/lib/CodeGen/Mangle.h head/lib/clang/include/llvm/ADT/ head/lib/clang/include/llvm/System/ head/lib/clang/libclangchecker/ head/lib/clang/libllvmarmasmprinter/ head/lib/clang/libllvmmipsasmprinter/ head/lib/clang/libllvmpowerpcasmprinter/ head/lib/clang/libllvmsystem/ head/lib/clang/libllvmx86asmprinter/ Modified: head/Makefile.inc1 head/ObsoleteFiles.inc head/contrib/llvm/include/llvm-c/Core.h head/contrib/llvm/include/llvm-c/EnhancedDisassembly.h head/contrib/llvm/include/llvm-c/LinkTimeOptimizer.h head/contrib/llvm/include/llvm-c/Transforms/Scalar.h head/contrib/llvm/include/llvm-c/lto.h head/contrib/llvm/include/llvm/ADT/APFloat.h head/contrib/llvm/include/llvm/ADT/APInt.h head/contrib/llvm/include/llvm/ADT/APSInt.h head/contrib/llvm/include/llvm/ADT/BitVector.h head/contrib/llvm/include/llvm/ADT/DenseMap.h head/contrib/llvm/include/llvm/ADT/DenseMapInfo.h head/contrib/llvm/include/llvm/ADT/DenseSet.h head/contrib/llvm/include/llvm/ADT/EquivalenceClasses.h head/contrib/llvm/include/llvm/ADT/FoldingSet.h head/contrib/llvm/include/llvm/ADT/ImmutableIntervalMap.h head/contrib/llvm/include/llvm/ADT/ImmutableList.h head/contrib/llvm/include/llvm/ADT/ImmutableMap.h head/contrib/llvm/include/llvm/ADT/ImmutableSet.h head/contrib/llvm/include/llvm/ADT/IndexedMap.h head/contrib/llvm/include/llvm/ADT/Optional.h head/contrib/llvm/include/llvm/ADT/PointerIntPair.h head/contrib/llvm/include/llvm/ADT/PointerUnion.h head/contrib/llvm/include/llvm/ADT/PostOrderIterator.h head/contrib/llvm/include/llvm/ADT/SCCIterator.h head/contrib/llvm/include/llvm/ADT/ScopedHashTable.h head/contrib/llvm/include/llvm/ADT/SetVector.h head/contrib/llvm/include/llvm/ADT/SmallBitVector.h head/contrib/llvm/include/llvm/ADT/SmallPtrSet.h head/contrib/llvm/include/llvm/ADT/SmallString.h head/contrib/llvm/include/llvm/ADT/SmallVector.h head/contrib/llvm/include/llvm/ADT/SparseBitVector.h head/contrib/llvm/include/llvm/ADT/Statistic.h head/contrib/llvm/include/llvm/ADT/StringExtras.h head/contrib/llvm/include/llvm/ADT/StringMap.h head/contrib/llvm/include/llvm/ADT/StringRef.h head/contrib/llvm/include/llvm/ADT/Triple.h head/contrib/llvm/include/llvm/ADT/Twine.h head/contrib/llvm/include/llvm/ADT/ValueMap.h head/contrib/llvm/include/llvm/ADT/ilist.h head/contrib/llvm/include/llvm/Analysis/AliasAnalysis.h head/contrib/llvm/include/llvm/Analysis/AliasSetTracker.h head/contrib/llvm/include/llvm/Analysis/CallGraph.h head/contrib/llvm/include/llvm/Analysis/CodeMetrics.h head/contrib/llvm/include/llvm/Analysis/ConstantFolding.h head/contrib/llvm/include/llvm/Analysis/DOTGraphTraitsPass.h head/contrib/llvm/include/llvm/Analysis/DebugInfo.h head/contrib/llvm/include/llvm/Analysis/DominatorInternals.h head/contrib/llvm/include/llvm/Analysis/Dominators.h head/contrib/llvm/include/llvm/Analysis/FindUsedTypes.h head/contrib/llvm/include/llvm/Analysis/InlineCost.h head/contrib/llvm/include/llvm/Analysis/InstructionSimplify.h head/contrib/llvm/include/llvm/Analysis/IntervalPartition.h head/contrib/llvm/include/llvm/Analysis/LazyValueInfo.h head/contrib/llvm/include/llvm/Analysis/LibCallAliasAnalysis.h head/contrib/llvm/include/llvm/Analysis/LibCallSemantics.h head/contrib/llvm/include/llvm/Analysis/LoopDependenceAnalysis.h head/contrib/llvm/include/llvm/Analysis/LoopInfo.h head/contrib/llvm/include/llvm/Analysis/MemoryBuiltins.h head/contrib/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h head/contrib/llvm/include/llvm/Analysis/Passes.h head/contrib/llvm/include/llvm/Analysis/PostDominators.h head/contrib/llvm/include/llvm/Analysis/ProfileInfoTypes.h head/contrib/llvm/include/llvm/Analysis/RegionInfo.h head/contrib/llvm/include/llvm/Analysis/ScalarEvolution.h head/contrib/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h head/contrib/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h head/contrib/llvm/include/llvm/Analysis/ValueTracking.h head/contrib/llvm/include/llvm/Attributes.h head/contrib/llvm/include/llvm/BasicBlock.h head/contrib/llvm/include/llvm/Bitcode/Archive.h head/contrib/llvm/include/llvm/Bitcode/BitCodes.h head/contrib/llvm/include/llvm/Bitcode/LLVMBitCodes.h head/contrib/llvm/include/llvm/Bitcode/ReaderWriter.h head/contrib/llvm/include/llvm/CallingConv.h head/contrib/llvm/include/llvm/CodeGen/Analysis.h head/contrib/llvm/include/llvm/CodeGen/AsmPrinter.h head/contrib/llvm/include/llvm/CodeGen/BinaryObject.h head/contrib/llvm/include/llvm/CodeGen/CalcSpillWeights.h head/contrib/llvm/include/llvm/CodeGen/CallingConvLower.h head/contrib/llvm/include/llvm/CodeGen/FastISel.h head/contrib/llvm/include/llvm/CodeGen/FunctionLoweringInfo.h head/contrib/llvm/include/llvm/CodeGen/GCMetadata.h head/contrib/llvm/include/llvm/CodeGen/ISDOpcodes.h head/contrib/llvm/include/llvm/CodeGen/IntrinsicLowering.h head/contrib/llvm/include/llvm/CodeGen/JITCodeEmitter.h head/contrib/llvm/include/llvm/CodeGen/LatencyPriorityQueue.h head/contrib/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h head/contrib/llvm/include/llvm/CodeGen/LiveInterval.h head/contrib/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h head/contrib/llvm/include/llvm/CodeGen/LiveStackAnalysis.h head/contrib/llvm/include/llvm/CodeGen/LiveVariables.h head/contrib/llvm/include/llvm/CodeGen/MachORelocation.h head/contrib/llvm/include/llvm/CodeGen/MachineBasicBlock.h head/contrib/llvm/include/llvm/CodeGen/MachineCodeEmitter.h head/contrib/llvm/include/llvm/CodeGen/MachineCodeInfo.h head/contrib/llvm/include/llvm/CodeGen/MachineDominators.h head/contrib/llvm/include/llvm/CodeGen/MachineFrameInfo.h head/contrib/llvm/include/llvm/CodeGen/MachineFunction.h head/contrib/llvm/include/llvm/CodeGen/MachineFunctionAnalysis.h head/contrib/llvm/include/llvm/CodeGen/MachineInstr.h head/contrib/llvm/include/llvm/CodeGen/MachineInstrBuilder.h head/contrib/llvm/include/llvm/CodeGen/MachineLocation.h head/contrib/llvm/include/llvm/CodeGen/MachineLoopInfo.h head/contrib/llvm/include/llvm/CodeGen/MachineMemOperand.h head/contrib/llvm/include/llvm/CodeGen/MachineModuleInfo.h head/contrib/llvm/include/llvm/CodeGen/MachineOperand.h head/contrib/llvm/include/llvm/CodeGen/MachineRegisterInfo.h head/contrib/llvm/include/llvm/CodeGen/MachineRelocation.h head/contrib/llvm/include/llvm/CodeGen/Passes.h head/contrib/llvm/include/llvm/CodeGen/ProcessImplicitDefs.h head/contrib/llvm/include/llvm/CodeGen/RegisterCoalescer.h head/contrib/llvm/include/llvm/CodeGen/ScheduleDAG.h head/contrib/llvm/include/llvm/CodeGen/ScheduleHazardRecognizer.h head/contrib/llvm/include/llvm/CodeGen/SelectionDAG.h head/contrib/llvm/include/llvm/CodeGen/SelectionDAGISel.h head/contrib/llvm/include/llvm/CodeGen/SelectionDAGNodes.h head/contrib/llvm/include/llvm/CodeGen/SlotIndexes.h head/contrib/llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h head/contrib/llvm/include/llvm/CodeGen/ValueTypes.h head/contrib/llvm/include/llvm/CodeGen/ValueTypes.td head/contrib/llvm/include/llvm/CompilerDriver/CompilationGraph.h head/contrib/llvm/include/llvm/CompilerDriver/Tool.h head/contrib/llvm/include/llvm/Constant.h head/contrib/llvm/include/llvm/Constants.h head/contrib/llvm/include/llvm/DerivedTypes.h head/contrib/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h head/contrib/llvm/include/llvm/ExecutionEngine/GenericValue.h head/contrib/llvm/include/llvm/ExecutionEngine/JITEventListener.h head/contrib/llvm/include/llvm/ExecutionEngine/JITMemoryManager.h head/contrib/llvm/include/llvm/Function.h head/contrib/llvm/include/llvm/GlobalAlias.h head/contrib/llvm/include/llvm/GlobalValue.h head/contrib/llvm/include/llvm/GlobalVariable.h head/contrib/llvm/include/llvm/InlineAsm.h head/contrib/llvm/include/llvm/InstrTypes.h head/contrib/llvm/include/llvm/Instruction.h head/contrib/llvm/include/llvm/Instructions.h head/contrib/llvm/include/llvm/IntrinsicInst.h head/contrib/llvm/include/llvm/Intrinsics.td head/contrib/llvm/include/llvm/IntrinsicsARM.td head/contrib/llvm/include/llvm/IntrinsicsX86.td head/contrib/llvm/include/llvm/IntrinsicsXCore.td head/contrib/llvm/include/llvm/LLVMContext.h head/contrib/llvm/include/llvm/LinkAllPasses.h head/contrib/llvm/include/llvm/LinkAllVMCore.h head/contrib/llvm/include/llvm/MC/EDInstInfo.h head/contrib/llvm/include/llvm/MC/MCAsmInfo.h head/contrib/llvm/include/llvm/MC/MCAsmLayout.h head/contrib/llvm/include/llvm/MC/MCAssembler.h head/contrib/llvm/include/llvm/MC/MCCodeEmitter.h head/contrib/llvm/include/llvm/MC/MCContext.h head/contrib/llvm/include/llvm/MC/MCDirectives.h head/contrib/llvm/include/llvm/MC/MCDisassembler.h head/contrib/llvm/include/llvm/MC/MCDwarf.h head/contrib/llvm/include/llvm/MC/MCELFSymbolFlags.h head/contrib/llvm/include/llvm/MC/MCExpr.h head/contrib/llvm/include/llvm/MC/MCFixup.h head/contrib/llvm/include/llvm/MC/MCInst.h head/contrib/llvm/include/llvm/MC/MCInstPrinter.h head/contrib/llvm/include/llvm/MC/MCMachOSymbolFlags.h head/contrib/llvm/include/llvm/MC/MCObjectStreamer.h head/contrib/llvm/include/llvm/MC/MCObjectWriter.h head/contrib/llvm/include/llvm/MC/MCParser/AsmLexer.h head/contrib/llvm/include/llvm/MC/MCParser/MCAsmLexer.h head/contrib/llvm/include/llvm/MC/MCParser/MCAsmParser.h head/contrib/llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h head/contrib/llvm/include/llvm/MC/MCSection.h head/contrib/llvm/include/llvm/MC/MCSectionCOFF.h head/contrib/llvm/include/llvm/MC/MCSectionELF.h head/contrib/llvm/include/llvm/MC/MCSectionMachO.h head/contrib/llvm/include/llvm/MC/MCStreamer.h head/contrib/llvm/include/llvm/MC/MCSymbol.h head/contrib/llvm/include/llvm/MC/MCValue.h head/contrib/llvm/include/llvm/Metadata.h head/contrib/llvm/include/llvm/Module.h head/contrib/llvm/include/llvm/OperandTraits.h head/contrib/llvm/include/llvm/Operator.h head/contrib/llvm/include/llvm/Pass.h head/contrib/llvm/include/llvm/PassManagers.h head/contrib/llvm/include/llvm/PassRegistry.h head/contrib/llvm/include/llvm/PassSupport.h head/contrib/llvm/include/llvm/Support/AlignOf.h head/contrib/llvm/include/llvm/Support/Allocator.h head/contrib/llvm/include/llvm/Support/COFF.h head/contrib/llvm/include/llvm/Support/CallSite.h head/contrib/llvm/include/llvm/Support/Casting.h head/contrib/llvm/include/llvm/Support/Compiler.h head/contrib/llvm/include/llvm/Support/ConstantFolder.h head/contrib/llvm/include/llvm/Support/ConstantRange.h head/contrib/llvm/include/llvm/Support/CrashRecoveryContext.h head/contrib/llvm/include/llvm/Support/Dwarf.h head/contrib/llvm/include/llvm/Support/ELF.h head/contrib/llvm/include/llvm/Support/ErrorHandling.h head/contrib/llvm/include/llvm/Support/FileUtilities.h head/contrib/llvm/include/llvm/Support/GraphWriter.h head/contrib/llvm/include/llvm/Support/IRBuilder.h head/contrib/llvm/include/llvm/Support/IRReader.h head/contrib/llvm/include/llvm/Support/MachO.h head/contrib/llvm/include/llvm/Support/ManagedStatic.h head/contrib/llvm/include/llvm/Support/MathExtras.h head/contrib/llvm/include/llvm/Support/MemoryBuffer.h head/contrib/llvm/include/llvm/Support/MemoryObject.h head/contrib/llvm/include/llvm/Support/MutexGuard.h head/contrib/llvm/include/llvm/Support/NoFolder.h head/contrib/llvm/include/llvm/Support/PatternMatch.h head/contrib/llvm/include/llvm/Support/PointerLikeTypeTraits.h head/contrib/llvm/include/llvm/Support/SourceMgr.h head/contrib/llvm/include/llvm/Support/StandardPasses.h head/contrib/llvm/include/llvm/Support/SystemUtils.h head/contrib/llvm/include/llvm/Support/TargetFolder.h head/contrib/llvm/include/llvm/Support/Timer.h head/contrib/llvm/include/llvm/Support/TypeBuilder.h head/contrib/llvm/include/llvm/Support/raw_ostream.h head/contrib/llvm/include/llvm/Target/Mangler.h head/contrib/llvm/include/llvm/Target/SubtargetFeature.h head/contrib/llvm/include/llvm/Target/Target.td head/contrib/llvm/include/llvm/Target/TargetAsmBackend.h head/contrib/llvm/include/llvm/Target/TargetAsmParser.h head/contrib/llvm/include/llvm/Target/TargetCallingConv.h head/contrib/llvm/include/llvm/Target/TargetData.h head/contrib/llvm/include/llvm/Target/TargetELFWriterInfo.h head/contrib/llvm/include/llvm/Target/TargetInstrDesc.h head/contrib/llvm/include/llvm/Target/TargetInstrInfo.h head/contrib/llvm/include/llvm/Target/TargetInstrItineraries.h head/contrib/llvm/include/llvm/Target/TargetJITInfo.h head/contrib/llvm/include/llvm/Target/TargetLowering.h head/contrib/llvm/include/llvm/Target/TargetLoweringObjectFile.h head/contrib/llvm/include/llvm/Target/TargetMachine.h head/contrib/llvm/include/llvm/Target/TargetRegisterInfo.h head/contrib/llvm/include/llvm/Target/TargetRegistry.h head/contrib/llvm/include/llvm/Target/TargetSchedule.td head/contrib/llvm/include/llvm/Target/TargetSelectionDAG.td head/contrib/llvm/include/llvm/Target/TargetSelectionDAGInfo.h head/contrib/llvm/include/llvm/Transforms/IPO.h head/contrib/llvm/include/llvm/Transforms/Instrumentation.h head/contrib/llvm/include/llvm/Transforms/Scalar.h head/contrib/llvm/include/llvm/Transforms/Utils/AddrModeMatcher.h head/contrib/llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h head/contrib/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h head/contrib/llvm/include/llvm/Transforms/Utils/Cloning.h head/contrib/llvm/include/llvm/Transforms/Utils/Local.h head/contrib/llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h head/contrib/llvm/include/llvm/Transforms/Utils/SSAUpdater.h head/contrib/llvm/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h head/contrib/llvm/include/llvm/Transforms/Utils/ValueMapper.h head/contrib/llvm/include/llvm/Type.h head/contrib/llvm/include/llvm/TypeSymbolTable.h head/contrib/llvm/include/llvm/Use.h head/contrib/llvm/include/llvm/User.h head/contrib/llvm/include/llvm/Value.h head/contrib/llvm/include/llvm/ValueSymbolTable.h head/contrib/llvm/lib/Analysis/AliasAnalysis.cpp head/contrib/llvm/lib/Analysis/AliasAnalysisCounter.cpp head/contrib/llvm/lib/Analysis/AliasAnalysisEvaluator.cpp head/contrib/llvm/lib/Analysis/AliasDebugger.cpp head/contrib/llvm/lib/Analysis/AliasSetTracker.cpp head/contrib/llvm/lib/Analysis/Analysis.cpp head/contrib/llvm/lib/Analysis/BasicAliasAnalysis.cpp head/contrib/llvm/lib/Analysis/CFGPrinter.cpp head/contrib/llvm/lib/Analysis/CaptureTracking.cpp head/contrib/llvm/lib/Analysis/ConstantFolding.cpp head/contrib/llvm/lib/Analysis/DbgInfoPrinter.cpp head/contrib/llvm/lib/Analysis/DebugInfo.cpp head/contrib/llvm/lib/Analysis/DomPrinter.cpp head/contrib/llvm/lib/Analysis/IPA/CallGraph.cpp head/contrib/llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp head/contrib/llvm/lib/Analysis/IPA/FindUsedTypes.cpp head/contrib/llvm/lib/Analysis/IPA/GlobalsModRef.cpp head/contrib/llvm/lib/Analysis/IVUsers.cpp head/contrib/llvm/lib/Analysis/InlineCost.cpp head/contrib/llvm/lib/Analysis/InstCount.cpp head/contrib/llvm/lib/Analysis/InstructionSimplify.cpp head/contrib/llvm/lib/Analysis/IntervalPartition.cpp head/contrib/llvm/lib/Analysis/LazyValueInfo.cpp head/contrib/llvm/lib/Analysis/LibCallAliasAnalysis.cpp head/contrib/llvm/lib/Analysis/Lint.cpp head/contrib/llvm/lib/Analysis/LiveValues.cpp head/contrib/llvm/lib/Analysis/Loads.cpp head/contrib/llvm/lib/Analysis/LoopDependenceAnalysis.cpp head/contrib/llvm/lib/Analysis/LoopInfo.cpp head/contrib/llvm/lib/Analysis/LoopPass.cpp head/contrib/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp head/contrib/llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp head/contrib/llvm/lib/Analysis/PHITransAddr.cpp head/contrib/llvm/lib/Analysis/PostDominators.cpp head/contrib/llvm/lib/Analysis/ProfileEstimatorPass.cpp head/contrib/llvm/lib/Analysis/ProfileInfo.cpp head/contrib/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp head/contrib/llvm/lib/Analysis/ProfileVerifierPass.cpp head/contrib/llvm/lib/Analysis/RegionInfo.cpp head/contrib/llvm/lib/Analysis/RegionPrinter.cpp head/contrib/llvm/lib/Analysis/ScalarEvolution.cpp head/contrib/llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp head/contrib/llvm/lib/Analysis/ScalarEvolutionExpander.cpp head/contrib/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp head/contrib/llvm/lib/Analysis/ValueTracking.cpp head/contrib/llvm/lib/Archive/Archive.cpp head/contrib/llvm/lib/Archive/ArchiveInternals.h head/contrib/llvm/lib/Archive/ArchiveWriter.cpp head/contrib/llvm/lib/AsmParser/LLLexer.cpp head/contrib/llvm/lib/AsmParser/LLLexer.h head/contrib/llvm/lib/AsmParser/LLParser.cpp head/contrib/llvm/lib/AsmParser/LLParser.h head/contrib/llvm/lib/AsmParser/LLToken.h head/contrib/llvm/lib/AsmParser/Parser.cpp head/contrib/llvm/lib/Bitcode/Reader/BitcodeReader.cpp head/contrib/llvm/lib/Bitcode/Reader/BitcodeReader.h head/contrib/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp head/contrib/llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp head/contrib/llvm/lib/CodeGen/Analysis.cpp head/contrib/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp head/contrib/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp head/contrib/llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp head/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp head/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h head/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp head/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfException.h head/contrib/llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp head/contrib/llvm/lib/CodeGen/CalcSpillWeights.cpp head/contrib/llvm/lib/CodeGen/CallingConvLower.cpp head/contrib/llvm/lib/CodeGen/CriticalAntiDepBreaker.cpp head/contrib/llvm/lib/CodeGen/CriticalAntiDepBreaker.h head/contrib/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp head/contrib/llvm/lib/CodeGen/DwarfEHPrepare.cpp head/contrib/llvm/lib/CodeGen/ELF.h head/contrib/llvm/lib/CodeGen/ELFWriter.cpp head/contrib/llvm/lib/CodeGen/GCMetadata.cpp head/contrib/llvm/lib/CodeGen/GCStrategy.cpp head/contrib/llvm/lib/CodeGen/IfConversion.cpp head/contrib/llvm/lib/CodeGen/InlineSpiller.cpp head/contrib/llvm/lib/CodeGen/IntrinsicLowering.cpp head/contrib/llvm/lib/CodeGen/LLVMTargetMachine.cpp head/contrib/llvm/lib/CodeGen/LatencyPriorityQueue.cpp head/contrib/llvm/lib/CodeGen/LiveInterval.cpp head/contrib/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp head/contrib/llvm/lib/CodeGen/LiveStackAnalysis.cpp head/contrib/llvm/lib/CodeGen/LiveVariables.cpp head/contrib/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp head/contrib/llvm/lib/CodeGen/MachineBasicBlock.cpp head/contrib/llvm/lib/CodeGen/MachineCSE.cpp head/contrib/llvm/lib/CodeGen/MachineDominators.cpp head/contrib/llvm/lib/CodeGen/MachineFunction.cpp head/contrib/llvm/lib/CodeGen/MachineFunctionAnalysis.cpp head/contrib/llvm/lib/CodeGen/MachineInstr.cpp head/contrib/llvm/lib/CodeGen/MachineLICM.cpp head/contrib/llvm/lib/CodeGen/MachineLoopInfo.cpp head/contrib/llvm/lib/CodeGen/MachineModuleInfo.cpp head/contrib/llvm/lib/CodeGen/MachineRegisterInfo.cpp head/contrib/llvm/lib/CodeGen/MachineSink.cpp head/contrib/llvm/lib/CodeGen/MachineVerifier.cpp head/contrib/llvm/lib/CodeGen/OptimizePHIs.cpp head/contrib/llvm/lib/CodeGen/PHIElimination.cpp head/contrib/llvm/lib/CodeGen/PeepholeOptimizer.cpp head/contrib/llvm/lib/CodeGen/PostRASchedulerList.cpp head/contrib/llvm/lib/CodeGen/PreAllocSplitting.cpp head/contrib/llvm/lib/CodeGen/ProcessImplicitDefs.cpp head/contrib/llvm/lib/CodeGen/PrologEpilogInserter.cpp head/contrib/llvm/lib/CodeGen/PrologEpilogInserter.h head/contrib/llvm/lib/CodeGen/PseudoSourceValue.cpp head/contrib/llvm/lib/CodeGen/RegAllocFast.cpp head/contrib/llvm/lib/CodeGen/RegAllocLinearScan.cpp head/contrib/llvm/lib/CodeGen/RegAllocPBQP.cpp head/contrib/llvm/lib/CodeGen/RegisterCoalescer.cpp head/contrib/llvm/lib/CodeGen/RenderMachineFunction.cpp head/contrib/llvm/lib/CodeGen/RenderMachineFunction.h head/contrib/llvm/lib/CodeGen/ScheduleDAG.cpp head/contrib/llvm/lib/CodeGen/ScheduleDAGEmit.cpp head/contrib/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp head/contrib/llvm/lib/CodeGen/ScheduleDAGInstrs.h head/contrib/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h head/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h head/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h head/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp head/contrib/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp head/contrib/llvm/lib/CodeGen/ShrinkWrapping.cpp head/contrib/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp head/contrib/llvm/lib/CodeGen/SimpleRegisterCoalescing.h head/contrib/llvm/lib/CodeGen/SjLjEHPrepare.cpp head/contrib/llvm/lib/CodeGen/SlotIndexes.cpp head/contrib/llvm/lib/CodeGen/Spiller.cpp head/contrib/llvm/lib/CodeGen/Spiller.h head/contrib/llvm/lib/CodeGen/SplitKit.cpp head/contrib/llvm/lib/CodeGen/SplitKit.h head/contrib/llvm/lib/CodeGen/Splitter.cpp head/contrib/llvm/lib/CodeGen/Splitter.h head/contrib/llvm/lib/CodeGen/StackProtector.cpp head/contrib/llvm/lib/CodeGen/StackSlotColoring.cpp head/contrib/llvm/lib/CodeGen/StrongPHIElimination.cpp head/contrib/llvm/lib/CodeGen/TailDuplication.cpp head/contrib/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp head/contrib/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp head/contrib/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp head/contrib/llvm/lib/CodeGen/UnreachableBlockElim.cpp head/contrib/llvm/lib/CodeGen/VirtRegMap.cpp head/contrib/llvm/lib/CodeGen/VirtRegMap.h head/contrib/llvm/lib/CodeGen/VirtRegRewriter.cpp head/contrib/llvm/lib/CompilerDriver/Action.cpp head/contrib/llvm/lib/CompilerDriver/CompilationGraph.cpp head/contrib/llvm/lib/CompilerDriver/Main.cpp head/contrib/llvm/lib/CompilerDriver/Tool.cpp head/contrib/llvm/lib/ExecutionEngine/ExecutionEngine.cpp head/contrib/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp head/contrib/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp head/contrib/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h head/contrib/llvm/lib/ExecutionEngine/JIT/Intercept.cpp head/contrib/llvm/lib/ExecutionEngine/JIT/JIT.cpp head/contrib/llvm/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp head/contrib/llvm/lib/ExecutionEngine/JIT/JITDebugRegisterer.h head/contrib/llvm/lib/ExecutionEngine/JIT/JITDwarfEmitter.cpp head/contrib/llvm/lib/ExecutionEngine/JIT/JITDwarfEmitter.h head/contrib/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp head/contrib/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp head/contrib/llvm/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp head/contrib/llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp head/contrib/llvm/lib/Linker/LinkItems.cpp head/contrib/llvm/lib/Linker/LinkModules.cpp head/contrib/llvm/lib/Linker/Linker.cpp head/contrib/llvm/lib/MC/ELFObjectWriter.cpp head/contrib/llvm/lib/MC/MCAsmInfo.cpp head/contrib/llvm/lib/MC/MCAsmInfoDarwin.cpp head/contrib/llvm/lib/MC/MCAsmStreamer.cpp head/contrib/llvm/lib/MC/MCAssembler.cpp head/contrib/llvm/lib/MC/MCCodeEmitter.cpp head/contrib/llvm/lib/MC/MCContext.cpp head/contrib/llvm/lib/MC/MCDisassembler/EDDisassembler.cpp head/contrib/llvm/lib/MC/MCDisassembler/EDDisassembler.h head/contrib/llvm/lib/MC/MCDisassembler/EDInst.cpp head/contrib/llvm/lib/MC/MCDisassembler/EDInst.h head/contrib/llvm/lib/MC/MCDisassembler/EDOperand.cpp head/contrib/llvm/lib/MC/MCDisassembler/EDOperand.h head/contrib/llvm/lib/MC/MCDisassembler/EDToken.h head/contrib/llvm/lib/MC/MCDwarf.cpp head/contrib/llvm/lib/MC/MCELFStreamer.cpp head/contrib/llvm/lib/MC/MCExpr.cpp head/contrib/llvm/lib/MC/MCLoggingStreamer.cpp head/contrib/llvm/lib/MC/MCMachOStreamer.cpp head/contrib/llvm/lib/MC/MCNullStreamer.cpp head/contrib/llvm/lib/MC/MCObjectStreamer.cpp head/contrib/llvm/lib/MC/MCObjectWriter.cpp head/contrib/llvm/lib/MC/MCParser/AsmLexer.cpp head/contrib/llvm/lib/MC/MCParser/AsmParser.cpp head/contrib/llvm/lib/MC/MCParser/DarwinAsmParser.cpp head/contrib/llvm/lib/MC/MCParser/ELFAsmParser.cpp head/contrib/llvm/lib/MC/MCSectionCOFF.cpp head/contrib/llvm/lib/MC/MCSectionELF.cpp head/contrib/llvm/lib/MC/MCSectionMachO.cpp head/contrib/llvm/lib/MC/MCStreamer.cpp head/contrib/llvm/lib/MC/MCSymbol.cpp head/contrib/llvm/lib/MC/MachObjectWriter.cpp head/contrib/llvm/lib/MC/TargetAsmBackend.cpp head/contrib/llvm/lib/MC/WinCOFFObjectWriter.cpp head/contrib/llvm/lib/MC/WinCOFFStreamer.cpp head/contrib/llvm/lib/Support/APFloat.cpp head/contrib/llvm/lib/Support/APInt.cpp head/contrib/llvm/lib/Support/Allocator.cpp head/contrib/llvm/lib/Support/CommandLine.cpp head/contrib/llvm/lib/Support/ConstantRange.cpp head/contrib/llvm/lib/Support/CrashRecoveryContext.cpp head/contrib/llvm/lib/Support/Debug.cpp head/contrib/llvm/lib/Support/Dwarf.cpp head/contrib/llvm/lib/Support/ErrorHandling.cpp head/contrib/llvm/lib/Support/FileUtilities.cpp head/contrib/llvm/lib/Support/FoldingSet.cpp head/contrib/llvm/lib/Support/FormattedStream.cpp head/contrib/llvm/lib/Support/GraphWriter.cpp head/contrib/llvm/lib/Support/ManagedStatic.cpp head/contrib/llvm/lib/Support/MemoryBuffer.cpp head/contrib/llvm/lib/Support/PluginLoader.cpp head/contrib/llvm/lib/Support/PrettyStackTrace.cpp head/contrib/llvm/lib/Support/SourceMgr.cpp head/contrib/llvm/lib/Support/Statistic.cpp head/contrib/llvm/lib/Support/StringMap.cpp head/contrib/llvm/lib/Support/StringRef.cpp head/contrib/llvm/lib/Support/SystemUtils.cpp head/contrib/llvm/lib/Support/TargetRegistry.cpp head/contrib/llvm/lib/Support/Timer.cpp head/contrib/llvm/lib/Support/Triple.cpp head/contrib/llvm/lib/Support/Twine.cpp head/contrib/llvm/lib/Support/raw_ostream.cpp head/contrib/llvm/lib/Support/regexec.c head/contrib/llvm/lib/Target/ARM/ARM.h head/contrib/llvm/lib/Target/ARM/ARM.td head/contrib/llvm/lib/Target/ARM/ARMAddressingModes.h head/contrib/llvm/lib/Target/ARM/ARMAsmPrinter.cpp head/contrib/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp head/contrib/llvm/lib/Target/ARM/ARMBaseInstrInfo.h head/contrib/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp head/contrib/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h head/contrib/llvm/lib/Target/ARM/ARMBuildAttrs.h head/contrib/llvm/lib/Target/ARM/ARMCallingConv.td head/contrib/llvm/lib/Target/ARM/ARMCodeEmitter.cpp head/contrib/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp head/contrib/llvm/lib/Target/ARM/ARMConstantPoolValue.cpp head/contrib/llvm/lib/Target/ARM/ARMConstantPoolValue.h head/contrib/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp head/contrib/llvm/lib/Target/ARM/ARMFastISel.cpp head/contrib/llvm/lib/Target/ARM/ARMGlobalMerge.cpp head/contrib/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp head/contrib/llvm/lib/Target/ARM/ARMISelLowering.cpp head/contrib/llvm/lib/Target/ARM/ARMISelLowering.h head/contrib/llvm/lib/Target/ARM/ARMInstrFormats.td head/contrib/llvm/lib/Target/ARM/ARMInstrInfo.cpp head/contrib/llvm/lib/Target/ARM/ARMInstrInfo.h head/contrib/llvm/lib/Target/ARM/ARMInstrInfo.td head/contrib/llvm/lib/Target/ARM/ARMInstrNEON.td head/contrib/llvm/lib/Target/ARM/ARMInstrThumb.td head/contrib/llvm/lib/Target/ARM/ARMInstrThumb2.td head/contrib/llvm/lib/Target/ARM/ARMInstrVFP.td head/contrib/llvm/lib/Target/ARM/ARMJITInfo.cpp head/contrib/llvm/lib/Target/ARM/ARMJITInfo.h head/contrib/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp head/contrib/llvm/lib/Target/ARM/ARMMCInstLower.cpp head/contrib/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h head/contrib/llvm/lib/Target/ARM/ARMPerfectShuffle.h head/contrib/llvm/lib/Target/ARM/ARMRegisterInfo.cpp head/contrib/llvm/lib/Target/ARM/ARMRegisterInfo.td head/contrib/llvm/lib/Target/ARM/ARMSchedule.td head/contrib/llvm/lib/Target/ARM/ARMScheduleA8.td head/contrib/llvm/lib/Target/ARM/ARMScheduleA9.td head/contrib/llvm/lib/Target/ARM/ARMScheduleV6.td head/contrib/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp head/contrib/llvm/lib/Target/ARM/ARMSelectionDAGInfo.h head/contrib/llvm/lib/Target/ARM/ARMSubtarget.cpp head/contrib/llvm/lib/Target/ARM/ARMSubtarget.h head/contrib/llvm/lib/Target/ARM/ARMTargetMachine.cpp head/contrib/llvm/lib/Target/ARM/ARMTargetMachine.h head/contrib/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp head/contrib/llvm/lib/Target/ARM/ARMTargetObjectFile.h head/contrib/llvm/lib/Target/ARM/AsmParser/ARMAsmLexer.cpp head/contrib/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp head/contrib/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp head/contrib/llvm/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp head/contrib/llvm/lib/Target/ARM/Disassembler/ThumbDisassemblerCore.h head/contrib/llvm/lib/Target/ARM/Thumb1InstrInfo.cpp head/contrib/llvm/lib/Target/ARM/Thumb1InstrInfo.h head/contrib/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp head/contrib/llvm/lib/Target/ARM/Thumb1RegisterInfo.h head/contrib/llvm/lib/Target/ARM/Thumb2InstrInfo.cpp head/contrib/llvm/lib/Target/ARM/Thumb2InstrInfo.h head/contrib/llvm/lib/Target/ARM/Thumb2RegisterInfo.cpp head/contrib/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp head/contrib/llvm/lib/Target/Alpha/Alpha.h head/contrib/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp head/contrib/llvm/lib/Target/Alpha/AlphaISelLowering.cpp head/contrib/llvm/lib/Target/Alpha/AlphaISelLowering.h head/contrib/llvm/lib/Target/Alpha/AlphaInstrInfo.td head/contrib/llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp head/contrib/llvm/lib/Target/Alpha/AlphaRegisterInfo.h head/contrib/llvm/lib/Target/Alpha/AlphaSchedule.td head/contrib/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp head/contrib/llvm/lib/Target/Alpha/AlphaTargetMachine.h head/contrib/llvm/lib/Target/Blackfin/BlackfinISelDAGToDAG.cpp head/contrib/llvm/lib/Target/Blackfin/BlackfinISelLowering.cpp head/contrib/llvm/lib/Target/Blackfin/BlackfinISelLowering.h head/contrib/llvm/lib/Target/Blackfin/BlackfinInstrInfo.td head/contrib/llvm/lib/Target/Blackfin/BlackfinRegisterInfo.cpp head/contrib/llvm/lib/Target/Blackfin/BlackfinRegisterInfo.h head/contrib/llvm/lib/Target/Blackfin/BlackfinRegisterInfo.td head/contrib/llvm/lib/Target/Blackfin/BlackfinTargetMachine.cpp head/contrib/llvm/lib/Target/Blackfin/BlackfinTargetMachine.h head/contrib/llvm/lib/Target/CBackend/CBackend.cpp head/contrib/llvm/lib/Target/CellSPU/SPU.h head/contrib/llvm/lib/Target/CellSPU/SPU64InstrInfo.td head/contrib/llvm/lib/Target/CellSPU/SPUHazardRecognizers.cpp head/contrib/llvm/lib/Target/CellSPU/SPUHazardRecognizers.h head/contrib/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp head/contrib/llvm/lib/Target/CellSPU/SPUISelLowering.cpp head/contrib/llvm/lib/Target/CellSPU/SPUISelLowering.h head/contrib/llvm/lib/Target/CellSPU/SPUInstrInfo.cpp head/contrib/llvm/lib/Target/CellSPU/SPUInstrInfo.h head/contrib/llvm/lib/Target/CellSPU/SPUInstrInfo.td head/contrib/llvm/lib/Target/CellSPU/SPUMCAsmInfo.cpp head/contrib/llvm/lib/Target/CellSPU/SPUNodes.td head/contrib/llvm/lib/Target/CellSPU/SPUOperands.td head/contrib/llvm/lib/Target/CellSPU/SPURegisterInfo.cpp head/contrib/llvm/lib/Target/CellSPU/SPURegisterInfo.h head/contrib/llvm/lib/Target/CellSPU/SPUSchedule.td head/contrib/llvm/lib/Target/CellSPU/SPUSubtarget.cpp head/contrib/llvm/lib/Target/CellSPU/SPUSubtarget.h head/contrib/llvm/lib/Target/CellSPU/SPUTargetMachine.cpp head/contrib/llvm/lib/Target/CellSPU/SPUTargetMachine.h head/contrib/llvm/lib/Target/CppBackend/CPPBackend.cpp head/contrib/llvm/lib/Target/MBlaze/MBlaze.h head/contrib/llvm/lib/Target/MBlaze/MBlaze.td head/contrib/llvm/lib/Target/MBlaze/MBlazeCallingConv.td head/contrib/llvm/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeISelDAGToDAG.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeISelLowering.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeISelLowering.h head/contrib/llvm/lib/Target/MBlaze/MBlazeInstrFPU.td head/contrib/llvm/lib/Target/MBlaze/MBlazeInstrFSL.td head/contrib/llvm/lib/Target/MBlaze/MBlazeInstrFormats.td head/contrib/llvm/lib/Target/MBlaze/MBlazeInstrInfo.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeInstrInfo.h head/contrib/llvm/lib/Target/MBlaze/MBlazeInstrInfo.td head/contrib/llvm/lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeIntrinsics.td head/contrib/llvm/lib/Target/MBlaze/MBlazeMCAsmInfo.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeMCAsmInfo.h head/contrib/llvm/lib/Target/MBlaze/MBlazeMachineFunction.h head/contrib/llvm/lib/Target/MBlaze/MBlazeRegisterInfo.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeRegisterInfo.h head/contrib/llvm/lib/Target/MBlaze/MBlazeRegisterInfo.td head/contrib/llvm/lib/Target/MBlaze/MBlazeSchedule.td head/contrib/llvm/lib/Target/MBlaze/MBlazeTargetMachine.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeTargetMachine.h head/contrib/llvm/lib/Target/MBlaze/MBlazeTargetObjectFile.cpp head/contrib/llvm/lib/Target/MBlaze/MBlazeTargetObjectFile.h head/contrib/llvm/lib/Target/MSP430/MSP430.td head/contrib/llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp head/contrib/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp head/contrib/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp head/contrib/llvm/lib/Target/MSP430/MSP430InstrInfo.h head/contrib/llvm/lib/Target/MSP430/MSP430InstrInfo.td head/contrib/llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp head/contrib/llvm/lib/Target/MSP430/MSP430RegisterInfo.h head/contrib/llvm/lib/Target/MSP430/MSP430RegisterInfo.td head/contrib/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp head/contrib/llvm/lib/Target/MSP430/MSP430TargetMachine.h head/contrib/llvm/lib/Target/Mangler.cpp head/contrib/llvm/lib/Target/Mips/Mips.td head/contrib/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp head/contrib/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp head/contrib/llvm/lib/Target/Mips/MipsISelLowering.cpp head/contrib/llvm/lib/Target/Mips/MipsISelLowering.h head/contrib/llvm/lib/Target/Mips/MipsInstrFPU.td head/contrib/llvm/lib/Target/Mips/MipsInstrInfo.td head/contrib/llvm/lib/Target/Mips/MipsMachineFunction.h head/contrib/llvm/lib/Target/Mips/MipsRegisterInfo.cpp head/contrib/llvm/lib/Target/Mips/MipsRegisterInfo.h head/contrib/llvm/lib/Target/Mips/MipsSchedule.td head/contrib/llvm/lib/Target/Mips/MipsSubtarget.h head/contrib/llvm/lib/Target/Mips/MipsTargetMachine.cpp head/contrib/llvm/lib/Target/Mips/MipsTargetMachine.h head/contrib/llvm/lib/Target/Mips/MipsTargetObjectFile.cpp head/contrib/llvm/lib/Target/PowerPC/PPC.h head/contrib/llvm/lib/Target/PowerPC/PPC.td head/contrib/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp head/contrib/llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp head/contrib/llvm/lib/Target/PowerPC/PPCHazardRecognizers.h head/contrib/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp head/contrib/llvm/lib/Target/PowerPC/PPCISelLowering.cpp head/contrib/llvm/lib/Target/PowerPC/PPCISelLowering.h head/contrib/llvm/lib/Target/PowerPC/PPCInstr64Bit.td head/contrib/llvm/lib/Target/PowerPC/PPCInstrFormats.td head/contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp head/contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.h head/contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.td head/contrib/llvm/lib/Target/PowerPC/PPCJITInfo.cpp head/contrib/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp head/contrib/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp head/contrib/llvm/lib/Target/PowerPC/PPCRegisterInfo.h head/contrib/llvm/lib/Target/PowerPC/PPCRegisterInfo.td head/contrib/llvm/lib/Target/PowerPC/PPCScheduleG3.td head/contrib/llvm/lib/Target/PowerPC/PPCScheduleG4.td head/contrib/llvm/lib/Target/PowerPC/PPCScheduleG4Plus.td head/contrib/llvm/lib/Target/PowerPC/PPCScheduleG5.td head/contrib/llvm/lib/Target/PowerPC/PPCSubtarget.cpp head/contrib/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp head/contrib/llvm/lib/Target/PowerPC/PPCTargetMachine.h head/contrib/llvm/lib/Target/Sparc/DelaySlotFiller.cpp head/contrib/llvm/lib/Target/Sparc/SparcCallingConv.td head/contrib/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp head/contrib/llvm/lib/Target/Sparc/SparcISelLowering.cpp head/contrib/llvm/lib/Target/Sparc/SparcISelLowering.h head/contrib/llvm/lib/Target/Sparc/SparcInstrInfo.cpp head/contrib/llvm/lib/Target/Sparc/SparcInstrInfo.h head/contrib/llvm/lib/Target/Sparc/SparcInstrInfo.td head/contrib/llvm/lib/Target/Sparc/SparcMachineFunctionInfo.h head/contrib/llvm/lib/Target/Sparc/SparcRegisterInfo.cpp head/contrib/llvm/lib/Target/Sparc/SparcRegisterInfo.h head/contrib/llvm/lib/Target/Sparc/SparcRegisterInfo.td head/contrib/llvm/lib/Target/Sparc/SparcTargetMachine.cpp head/contrib/llvm/lib/Target/Sparc/SparcTargetMachine.h head/contrib/llvm/lib/Target/SubtargetFeature.cpp head/contrib/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp head/contrib/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp head/contrib/llvm/lib/Target/SystemZ/SystemZInstrBuilder.h head/contrib/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp head/contrib/llvm/lib/Target/SystemZ/SystemZInstrInfo.h head/contrib/llvm/lib/Target/SystemZ/SystemZInstrInfo.td head/contrib/llvm/lib/Target/SystemZ/SystemZMCAsmInfo.cpp head/contrib/llvm/lib/Target/SystemZ/SystemZOperands.td head/contrib/llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp head/contrib/llvm/lib/Target/SystemZ/SystemZRegisterInfo.h head/contrib/llvm/lib/Target/SystemZ/SystemZRegisterInfo.td head/contrib/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp head/contrib/llvm/lib/Target/SystemZ/SystemZTargetMachine.h head/contrib/llvm/lib/Target/Target.cpp head/contrib/llvm/lib/Target/TargetData.cpp head/contrib/llvm/lib/Target/TargetELFWriterInfo.cpp head/contrib/llvm/lib/Target/TargetInstrInfo.cpp head/contrib/llvm/lib/Target/TargetLoweringObjectFile.cpp head/contrib/llvm/lib/Target/TargetMachine.cpp head/contrib/llvm/lib/Target/TargetRegisterInfo.cpp head/contrib/llvm/lib/Target/X86/AsmParser/X86AsmLexer.cpp head/contrib/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp head/contrib/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp head/contrib/llvm/lib/Target/X86/Disassembler/X86Disassembler.h head/contrib/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c head/contrib/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h head/contrib/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h head/contrib/llvm/lib/Target/X86/X86.h head/contrib/llvm/lib/Target/X86/X86.td head/contrib/llvm/lib/Target/X86/X86AsmBackend.cpp head/contrib/llvm/lib/Target/X86/X86AsmPrinter.cpp head/contrib/llvm/lib/Target/X86/X86AsmPrinter.h head/contrib/llvm/lib/Target/X86/X86CallingConv.td head/contrib/llvm/lib/Target/X86/X86CodeEmitter.cpp head/contrib/llvm/lib/Target/X86/X86ELFWriterInfo.cpp head/contrib/llvm/lib/Target/X86/X86ELFWriterInfo.h head/contrib/llvm/lib/Target/X86/X86FastISel.cpp head/contrib/llvm/lib/Target/X86/X86FixupKinds.h head/contrib/llvm/lib/Target/X86/X86FloatingPoint.cpp head/contrib/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp head/contrib/llvm/lib/Target/X86/X86ISelLowering.cpp head/contrib/llvm/lib/Target/X86/X86ISelLowering.h head/contrib/llvm/lib/Target/X86/X86InstrBuilder.h head/contrib/llvm/lib/Target/X86/X86InstrFPStack.td head/contrib/llvm/lib/Target/X86/X86InstrFormats.td head/contrib/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td head/contrib/llvm/lib/Target/X86/X86InstrInfo.cpp head/contrib/llvm/lib/Target/X86/X86InstrInfo.h head/contrib/llvm/lib/Target/X86/X86InstrInfo.td head/contrib/llvm/lib/Target/X86/X86InstrMMX.td head/contrib/llvm/lib/Target/X86/X86InstrSSE.td head/contrib/llvm/lib/Target/X86/X86JITInfo.cpp head/contrib/llvm/lib/Target/X86/X86MCAsmInfo.cpp head/contrib/llvm/lib/Target/X86/X86MCCodeEmitter.cpp head/contrib/llvm/lib/Target/X86/X86MCInstLower.cpp head/contrib/llvm/lib/Target/X86/X86MCInstLower.h head/contrib/llvm/lib/Target/X86/X86RegisterInfo.cpp head/contrib/llvm/lib/Target/X86/X86RegisterInfo.h head/contrib/llvm/lib/Target/X86/X86RegisterInfo.td head/contrib/llvm/lib/Target/X86/X86SelectionDAGInfo.cpp head/contrib/llvm/lib/Target/X86/X86SelectionDAGInfo.h head/contrib/llvm/lib/Target/X86/X86Subtarget.cpp head/contrib/llvm/lib/Target/X86/X86Subtarget.h head/contrib/llvm/lib/Target/X86/X86TargetMachine.cpp head/contrib/llvm/lib/Target/X86/X86TargetMachine.h head/contrib/llvm/lib/Target/XCore/XCoreCallingConv.td head/contrib/llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp head/contrib/llvm/lib/Target/XCore/XCoreISelLowering.cpp head/contrib/llvm/lib/Target/XCore/XCoreISelLowering.h head/contrib/llvm/lib/Target/XCore/XCoreInstrInfo.cpp head/contrib/llvm/lib/Target/XCore/XCoreInstrInfo.h head/contrib/llvm/lib/Target/XCore/XCoreInstrInfo.td head/contrib/llvm/lib/Target/XCore/XCoreRegisterInfo.cpp head/contrib/llvm/lib/Target/XCore/XCoreRegisterInfo.h head/contrib/llvm/lib/Target/XCore/XCoreRegisterInfo.td head/contrib/llvm/lib/Target/XCore/XCoreTargetMachine.cpp head/contrib/llvm/lib/Target/XCore/XCoreTargetMachine.h head/contrib/llvm/lib/Target/XCore/XCoreTargetObjectFile.cpp head/contrib/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp head/contrib/llvm/lib/Transforms/IPO/ConstantMerge.cpp head/contrib/llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp head/contrib/llvm/lib/Transforms/IPO/DeadTypeElimination.cpp head/contrib/llvm/lib/Transforms/IPO/ExtractGV.cpp head/contrib/llvm/lib/Transforms/IPO/FunctionAttrs.cpp head/contrib/llvm/lib/Transforms/IPO/GlobalDCE.cpp head/contrib/llvm/lib/Transforms/IPO/GlobalOpt.cpp head/contrib/llvm/lib/Transforms/IPO/IPConstantPropagation.cpp head/contrib/llvm/lib/Transforms/IPO/IPO.cpp head/contrib/llvm/lib/Transforms/IPO/InlineAlways.cpp head/contrib/llvm/lib/Transforms/IPO/InlineSimple.cpp head/contrib/llvm/lib/Transforms/IPO/Inliner.cpp head/contrib/llvm/lib/Transforms/IPO/Internalize.cpp head/contrib/llvm/lib/Transforms/IPO/LoopExtractor.cpp head/contrib/llvm/lib/Transforms/IPO/LowerSetJmp.cpp head/contrib/llvm/lib/Transforms/IPO/MergeFunctions.cpp head/contrib/llvm/lib/Transforms/IPO/PartialInlining.cpp head/contrib/llvm/lib/Transforms/IPO/PruneEH.cpp head/contrib/llvm/lib/Transforms/IPO/StripDeadPrototypes.cpp head/contrib/llvm/lib/Transforms/IPO/StripSymbols.cpp head/contrib/llvm/lib/Transforms/IPO/StructRetPromotion.cpp head/contrib/llvm/lib/Transforms/InstCombine/InstCombine.h head/contrib/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp head/contrib/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp head/contrib/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp head/contrib/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp head/contrib/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp head/contrib/llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp head/contrib/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp head/contrib/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp head/contrib/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp head/contrib/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp head/contrib/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp head/contrib/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp head/contrib/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp head/contrib/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp head/contrib/llvm/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp head/contrib/llvm/lib/Transforms/Instrumentation/ProfilingUtils.cpp head/contrib/llvm/lib/Transforms/Instrumentation/ProfilingUtils.h head/contrib/llvm/lib/Transforms/Scalar/ADCE.cpp head/contrib/llvm/lib/Transforms/Scalar/BasicBlockPlacement.cpp head/contrib/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp head/contrib/llvm/lib/Transforms/Scalar/ConstantProp.cpp head/contrib/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp head/contrib/llvm/lib/Transforms/Scalar/DCE.cpp head/contrib/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp head/contrib/llvm/lib/Transforms/Scalar/GEPSplitter.cpp head/contrib/llvm/lib/Transforms/Scalar/GVN.cpp head/contrib/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp head/contrib/llvm/lib/Transforms/Scalar/JumpThreading.cpp head/contrib/llvm/lib/Transforms/Scalar/LICM.cpp head/contrib/llvm/lib/Transforms/Scalar/LoopDeletion.cpp head/contrib/llvm/lib/Transforms/Scalar/LoopRotation.cpp head/contrib/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp head/contrib/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp head/contrib/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp head/contrib/llvm/lib/Transforms/Scalar/LowerAtomic.cpp head/contrib/llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp head/contrib/llvm/lib/Transforms/Scalar/Reassociate.cpp head/contrib/llvm/lib/Transforms/Scalar/Reg2Mem.cpp head/contrib/llvm/lib/Transforms/Scalar/SCCP.cpp head/contrib/llvm/lib/Transforms/Scalar/Scalar.cpp head/contrib/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp head/contrib/llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp head/contrib/llvm/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp head/contrib/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp head/contrib/llvm/lib/Transforms/Scalar/Sink.cpp head/contrib/llvm/lib/Transforms/Scalar/TailDuplication.cpp head/contrib/llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp head/contrib/llvm/lib/Transforms/Utils/AddrModeMatcher.cpp head/contrib/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp head/contrib/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp head/contrib/llvm/lib/Transforms/Utils/BuildLibCalls.cpp head/contrib/llvm/lib/Transforms/Utils/CloneFunction.cpp head/contrib/llvm/lib/Transforms/Utils/CloneLoop.cpp head/contrib/llvm/lib/Transforms/Utils/CloneModule.cpp head/contrib/llvm/lib/Transforms/Utils/CodeExtractor.cpp head/contrib/llvm/lib/Transforms/Utils/DemoteRegToStack.cpp head/contrib/llvm/lib/Transforms/Utils/InlineFunction.cpp head/contrib/llvm/lib/Transforms/Utils/InstructionNamer.cpp head/contrib/llvm/lib/Transforms/Utils/LCSSA.cpp head/contrib/llvm/lib/Transforms/Utils/Local.cpp head/contrib/llvm/lib/Transforms/Utils/LoopSimplify.cpp head/contrib/llvm/lib/Transforms/Utils/LoopUnroll.cpp head/contrib/llvm/lib/Transforms/Utils/LowerInvoke.cpp head/contrib/llvm/lib/Transforms/Utils/LowerSwitch.cpp head/contrib/llvm/lib/Transforms/Utils/Mem2Reg.cpp head/contrib/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp head/contrib/llvm/lib/Transforms/Utils/SSAUpdater.cpp head/contrib/llvm/lib/Transforms/Utils/SimplifyCFG.cpp head/contrib/llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp head/contrib/llvm/lib/Transforms/Utils/ValueMapper.cpp head/contrib/llvm/lib/VMCore/AsmWriter.cpp head/contrib/llvm/lib/VMCore/Attributes.cpp head/contrib/llvm/lib/VMCore/AutoUpgrade.cpp head/contrib/llvm/lib/VMCore/BasicBlock.cpp head/contrib/llvm/lib/VMCore/ConstantFold.cpp head/contrib/llvm/lib/VMCore/ConstantFold.h head/contrib/llvm/lib/VMCore/Constants.cpp head/contrib/llvm/lib/VMCore/ConstantsContext.h head/contrib/llvm/lib/VMCore/Core.cpp head/contrib/llvm/lib/VMCore/Dominators.cpp head/contrib/llvm/lib/VMCore/Function.cpp head/contrib/llvm/lib/VMCore/Globals.cpp head/contrib/llvm/lib/VMCore/IRBuilder.cpp head/contrib/llvm/lib/VMCore/InlineAsm.cpp head/contrib/llvm/lib/VMCore/Instruction.cpp head/contrib/llvm/lib/VMCore/Instructions.cpp head/contrib/llvm/lib/VMCore/LLVMContext.cpp head/contrib/llvm/lib/VMCore/LLVMContextImpl.cpp head/contrib/llvm/lib/VMCore/LLVMContextImpl.h head/contrib/llvm/lib/VMCore/LeakDetector.cpp head/contrib/llvm/lib/VMCore/Metadata.cpp head/contrib/llvm/lib/VMCore/Module.cpp head/contrib/llvm/lib/VMCore/Pass.cpp head/contrib/llvm/lib/VMCore/PassManager.cpp head/contrib/llvm/lib/VMCore/PassRegistry.cpp head/contrib/llvm/lib/VMCore/PrintModulePass.cpp head/contrib/llvm/lib/VMCore/Type.cpp head/contrib/llvm/lib/VMCore/TypesContext.h head/contrib/llvm/lib/VMCore/Use.cpp head/contrib/llvm/lib/VMCore/Value.cpp head/contrib/llvm/lib/VMCore/ValueTypes.cpp head/contrib/llvm/lib/VMCore/Verifier.cpp head/contrib/llvm/tools/clang/include/clang-c/Index.h head/contrib/llvm/tools/clang/include/clang/AST/ASTConsumer.h head/contrib/llvm/tools/clang/include/clang/AST/ASTContext.h head/contrib/llvm/tools/clang/include/clang/AST/ASTDiagnostic.h head/contrib/llvm/tools/clang/include/clang/AST/ASTImporter.h head/contrib/llvm/tools/clang/include/clang/AST/Attr.h head/contrib/llvm/tools/clang/include/clang/AST/CXXInheritance.h head/contrib/llvm/tools/clang/include/clang/AST/CanonicalType.h head/contrib/llvm/tools/clang/include/clang/AST/CharUnits.h head/contrib/llvm/tools/clang/include/clang/AST/Decl.h head/contrib/llvm/tools/clang/include/clang/AST/DeclBase.h head/contrib/llvm/tools/clang/include/clang/AST/DeclCXX.h head/contrib/llvm/tools/clang/include/clang/AST/DeclFriend.h head/contrib/llvm/tools/clang/include/clang/AST/DeclGroup.h head/contrib/llvm/tools/clang/include/clang/AST/DeclObjC.h head/contrib/llvm/tools/clang/include/clang/AST/DeclTemplate.h head/contrib/llvm/tools/clang/include/clang/AST/DeclarationName.h head/contrib/llvm/tools/clang/include/clang/AST/Expr.h head/contrib/llvm/tools/clang/include/clang/AST/ExprCXX.h head/contrib/llvm/tools/clang/include/clang/AST/ExprObjC.h head/contrib/llvm/tools/clang/include/clang/AST/ExternalASTSource.h head/contrib/llvm/tools/clang/include/clang/AST/NestedNameSpecifier.h head/contrib/llvm/tools/clang/include/clang/AST/OperationKinds.h head/contrib/llvm/tools/clang/include/clang/AST/ParentMap.h head/contrib/llvm/tools/clang/include/clang/AST/PrettyPrinter.h head/contrib/llvm/tools/clang/include/clang/AST/RecordLayout.h head/contrib/llvm/tools/clang/include/clang/AST/RecursiveASTVisitor.h head/contrib/llvm/tools/clang/include/clang/AST/Redeclarable.h head/contrib/llvm/tools/clang/include/clang/AST/Stmt.h head/contrib/llvm/tools/clang/include/clang/AST/StmtCXX.h head/contrib/llvm/tools/clang/include/clang/AST/StmtIterator.h head/contrib/llvm/tools/clang/include/clang/AST/StmtObjC.h head/contrib/llvm/tools/clang/include/clang/AST/TemplateBase.h head/contrib/llvm/tools/clang/include/clang/AST/TemplateName.h head/contrib/llvm/tools/clang/include/clang/AST/Type.h head/contrib/llvm/tools/clang/include/clang/AST/TypeLoc.h head/contrib/llvm/tools/clang/include/clang/AST/TypeNodes.def head/contrib/llvm/tools/clang/include/clang/AST/TypeVisitor.h head/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/FormatString.h head/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/LiveVariables.h head/contrib/llvm/tools/clang/include/clang/Analysis/AnalysisContext.h head/contrib/llvm/tools/clang/include/clang/Analysis/AnalysisDiagnostic.h head/contrib/llvm/tools/clang/include/clang/Analysis/CFG.h head/contrib/llvm/tools/clang/include/clang/Analysis/FlowSensitive/DataflowSolver.h head/contrib/llvm/tools/clang/include/clang/Analysis/ProgramPoint.h head/contrib/llvm/tools/clang/include/clang/Analysis/Support/BumpVector.h head/contrib/llvm/tools/clang/include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h head/contrib/llvm/tools/clang/include/clang/Analysis/Visitors/CFGRecStmtVisitor.h head/contrib/llvm/tools/clang/include/clang/Analysis/Visitors/CFGStmtVisitor.h head/contrib/llvm/tools/clang/include/clang/Basic/Attr.td head/contrib/llvm/tools/clang/include/clang/Basic/AttrKinds.h head/contrib/llvm/tools/clang/include/clang/Basic/Builtins.def head/contrib/llvm/tools/clang/include/clang/Basic/Builtins.h head/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsPPC.def head/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsX86.def head/contrib/llvm/tools/clang/include/clang/Basic/DeclNodes.td head/contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.h head/contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.td head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticASTKinds.td head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticCommonKinds.td head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticDriverKinds.td head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticFrontendKinds.td head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticLexKinds.td head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticParseKinds.td head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.td head/contrib/llvm/tools/clang/include/clang/Basic/FileManager.h head/contrib/llvm/tools/clang/include/clang/Basic/IdentifierTable.h head/contrib/llvm/tools/clang/include/clang/Basic/LangOptions.h head/contrib/llvm/tools/clang/include/clang/Basic/OnDiskHashTable.h head/contrib/llvm/tools/clang/include/clang/Basic/PartialDiagnostic.h head/contrib/llvm/tools/clang/include/clang/Basic/SourceLocation.h head/contrib/llvm/tools/clang/include/clang/Basic/SourceManager.h head/contrib/llvm/tools/clang/include/clang/Basic/Specifiers.h head/contrib/llvm/tools/clang/include/clang/Basic/StmtNodes.td head/contrib/llvm/tools/clang/include/clang/Basic/TargetInfo.h head/contrib/llvm/tools/clang/include/clang/Basic/TokenKinds.def head/contrib/llvm/tools/clang/include/clang/Basic/TokenKinds.h head/contrib/llvm/tools/clang/include/clang/Basic/TypeTraits.h head/contrib/llvm/tools/clang/include/clang/Basic/Version.h head/contrib/llvm/tools/clang/include/clang/Basic/arm_neon.td head/contrib/llvm/tools/clang/include/clang/CodeGen/CodeGenAction.h head/contrib/llvm/tools/clang/include/clang/Driver/ArgList.h head/contrib/llvm/tools/clang/include/clang/Driver/CC1AsOptions.td head/contrib/llvm/tools/clang/include/clang/Driver/CC1Options.td head/contrib/llvm/tools/clang/include/clang/Driver/Driver.h head/contrib/llvm/tools/clang/include/clang/Driver/DriverDiagnostic.h head/contrib/llvm/tools/clang/include/clang/Driver/HostInfo.h head/contrib/llvm/tools/clang/include/clang/Driver/OptTable.h head/contrib/llvm/tools/clang/include/clang/Driver/Options.td head/contrib/llvm/tools/clang/include/clang/Driver/ToolChain.h head/contrib/llvm/tools/clang/include/clang/Driver/Types.def head/contrib/llvm/tools/clang/include/clang/Frontend/ASTConsumers.h head/contrib/llvm/tools/clang/include/clang/Frontend/ASTUnit.h head/contrib/llvm/tools/clang/include/clang/Frontend/Analyses.def head/contrib/llvm/tools/clang/include/clang/Frontend/AnalyzerOptions.h head/contrib/llvm/tools/clang/include/clang/Frontend/CodeGenOptions.h head/contrib/llvm/tools/clang/include/clang/Frontend/CommandLineSourceLoc.h head/contrib/llvm/tools/clang/include/clang/Frontend/CompilerInstance.h head/contrib/llvm/tools/clang/include/clang/Frontend/CompilerInvocation.h head/contrib/llvm/tools/clang/include/clang/Frontend/DeclXML.def head/contrib/llvm/tools/clang/include/clang/Frontend/DependencyOutputOptions.h head/contrib/llvm/tools/clang/include/clang/Frontend/DiagnosticOptions.h head/contrib/llvm/tools/clang/include/clang/Frontend/FrontendAction.h head/contrib/llvm/tools/clang/include/clang/Frontend/FrontendActions.h head/contrib/llvm/tools/clang/include/clang/Frontend/FrontendDiagnostic.h head/contrib/llvm/tools/clang/include/clang/Frontend/FrontendOptions.h head/contrib/llvm/tools/clang/include/clang/Frontend/HeaderSearchOptions.h head/contrib/llvm/tools/clang/include/clang/Frontend/LangStandards.def head/contrib/llvm/tools/clang/include/clang/Frontend/PreprocessorOptions.h head/contrib/llvm/tools/clang/include/clang/Frontend/PreprocessorOutputOptions.h head/contrib/llvm/tools/clang/include/clang/Frontend/StmtXML.def head/contrib/llvm/tools/clang/include/clang/Frontend/TypeXML.def head/contrib/llvm/tools/clang/include/clang/Frontend/Utils.h head/contrib/llvm/tools/clang/include/clang/Frontend/VerifyDiagnosticsClient.h head/contrib/llvm/tools/clang/include/clang/Lex/ExternalPreprocessorSource.h head/contrib/llvm/tools/clang/include/clang/Lex/HeaderMap.h head/contrib/llvm/tools/clang/include/clang/Lex/HeaderSearch.h head/contrib/llvm/tools/clang/include/clang/Lex/LexDiagnostic.h head/contrib/llvm/tools/clang/include/clang/Lex/Lexer.h head/contrib/llvm/tools/clang/include/clang/Lex/LiteralSupport.h head/contrib/llvm/tools/clang/include/clang/Lex/MacroInfo.h head/contrib/llvm/tools/clang/include/clang/Lex/PPCallbacks.h head/contrib/llvm/tools/clang/include/clang/Lex/PTHManager.h head/contrib/llvm/tools/clang/include/clang/Lex/Pragma.h head/contrib/llvm/tools/clang/include/clang/Lex/PreprocessingRecord.h head/contrib/llvm/tools/clang/include/clang/Lex/Preprocessor.h head/contrib/llvm/tools/clang/include/clang/Lex/PreprocessorLexer.h head/contrib/llvm/tools/clang/include/clang/Lex/Token.h head/contrib/llvm/tools/clang/include/clang/Parse/ParseDiagnostic.h head/contrib/llvm/tools/clang/include/clang/Parse/Parser.h head/contrib/llvm/tools/clang/include/clang/Rewrite/ASTConsumers.h head/contrib/llvm/tools/clang/include/clang/Rewrite/FixItRewriter.h head/contrib/llvm/tools/clang/include/clang/Sema/AttributeList.h head/contrib/llvm/tools/clang/include/clang/Sema/CodeCompleteConsumer.h head/contrib/llvm/tools/clang/include/clang/Sema/DeclSpec.h head/contrib/llvm/tools/clang/include/clang/Sema/DelayedDiagnostic.h head/contrib/llvm/tools/clang/include/clang/Sema/ExternalSemaSource.h head/contrib/llvm/tools/clang/include/clang/Sema/Initialization.h head/contrib/llvm/tools/clang/include/clang/Sema/Lookup.h head/contrib/llvm/tools/clang/include/clang/Sema/Overload.h head/contrib/llvm/tools/clang/include/clang/Sema/Ownership.h head/contrib/llvm/tools/clang/include/clang/Sema/ParsedTemplate.h head/contrib/llvm/tools/clang/include/clang/Sema/Scope.h head/contrib/llvm/tools/clang/include/clang/Sema/ScopeInfo.h head/contrib/llvm/tools/clang/include/clang/Sema/Sema.h head/contrib/llvm/tools/clang/include/clang/Sema/SemaDiagnostic.h head/contrib/llvm/tools/clang/include/clang/Sema/Template.h head/contrib/llvm/tools/clang/include/clang/Sema/TemplateDeduction.h head/contrib/llvm/tools/clang/include/clang/Serialization/ASTBitCodes.h head/contrib/llvm/tools/clang/include/clang/Serialization/ASTDeserializationListener.h head/contrib/llvm/tools/clang/include/clang/Serialization/ASTReader.h head/contrib/llvm/tools/clang/include/clang/Serialization/ASTWriter.h head/contrib/llvm/tools/clang/lib/AST/ASTContext.cpp head/contrib/llvm/tools/clang/lib/AST/ASTDiagnostic.cpp head/contrib/llvm/tools/clang/lib/AST/ASTImporter.cpp head/contrib/llvm/tools/clang/lib/AST/CXXABI.h head/contrib/llvm/tools/clang/lib/AST/CXXInheritance.cpp head/contrib/llvm/tools/clang/lib/AST/Decl.cpp head/contrib/llvm/tools/clang/lib/AST/DeclBase.cpp head/contrib/llvm/tools/clang/lib/AST/DeclCXX.cpp head/contrib/llvm/tools/clang/lib/AST/DeclObjC.cpp head/contrib/llvm/tools/clang/lib/AST/DeclPrinter.cpp head/contrib/llvm/tools/clang/lib/AST/DeclTemplate.cpp head/contrib/llvm/tools/clang/lib/AST/DeclarationName.cpp head/contrib/llvm/tools/clang/lib/AST/Expr.cpp head/contrib/llvm/tools/clang/lib/AST/ExprCXX.cpp head/contrib/llvm/tools/clang/lib/AST/ExprClassification.cpp head/contrib/llvm/tools/clang/lib/AST/ExprConstant.cpp head/contrib/llvm/tools/clang/lib/AST/InheritViz.cpp head/contrib/llvm/tools/clang/lib/AST/ItaniumCXXABI.cpp head/contrib/llvm/tools/clang/lib/AST/MicrosoftCXXABI.cpp head/contrib/llvm/tools/clang/lib/AST/NestedNameSpecifier.cpp head/contrib/llvm/tools/clang/lib/AST/ParentMap.cpp head/contrib/llvm/tools/clang/lib/AST/RecordLayout.cpp head/contrib/llvm/tools/clang/lib/AST/RecordLayoutBuilder.cpp head/contrib/llvm/tools/clang/lib/AST/Stmt.cpp head/contrib/llvm/tools/clang/lib/AST/StmtDumper.cpp head/contrib/llvm/tools/clang/lib/AST/StmtIterator.cpp head/contrib/llvm/tools/clang/lib/AST/StmtPrinter.cpp head/contrib/llvm/tools/clang/lib/AST/StmtProfile.cpp head/contrib/llvm/tools/clang/lib/AST/TemplateBase.cpp head/contrib/llvm/tools/clang/lib/AST/TemplateName.cpp head/contrib/llvm/tools/clang/lib/AST/Type.cpp head/contrib/llvm/tools/clang/lib/AST/TypeLoc.cpp head/contrib/llvm/tools/clang/lib/AST/TypePrinter.cpp head/contrib/llvm/tools/clang/lib/Analysis/AnalysisContext.cpp head/contrib/llvm/tools/clang/lib/Analysis/CFG.cpp head/contrib/llvm/tools/clang/lib/Analysis/CFGStmtMap.cpp head/contrib/llvm/tools/clang/lib/Analysis/FormatString.cpp head/contrib/llvm/tools/clang/lib/Analysis/LiveVariables.cpp head/contrib/llvm/tools/clang/lib/Analysis/PrintfFormatString.cpp head/contrib/llvm/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp head/contrib/llvm/tools/clang/lib/Analysis/ReachableCode.cpp head/contrib/llvm/tools/clang/lib/Analysis/UninitializedValues.cpp head/contrib/llvm/tools/clang/lib/Basic/Builtins.cpp head/contrib/llvm/tools/clang/lib/Basic/Diagnostic.cpp head/contrib/llvm/tools/clang/lib/Basic/FileManager.cpp head/contrib/llvm/tools/clang/lib/Basic/IdentifierTable.cpp head/contrib/llvm/tools/clang/lib/Basic/SourceLocation.cpp head/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp head/contrib/llvm/tools/clang/lib/Basic/TargetInfo.cpp head/contrib/llvm/tools/clang/lib/Basic/Targets.cpp head/contrib/llvm/tools/clang/lib/Basic/Version.cpp head/contrib/llvm/tools/clang/lib/CodeGen/ABIInfo.h head/contrib/llvm/tools/clang/lib/CodeGen/BackendUtil.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.h head/contrib/llvm/tools/clang/lib/CodeGen/CGBuiltin.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGCXX.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGCXXABI.h head/contrib/llvm/tools/clang/lib/CodeGen/CGCall.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGClass.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.h head/contrib/llvm/tools/clang/lib/CodeGen/CGDecl.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGDeclCXX.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGException.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGException.h head/contrib/llvm/tools/clang/lib/CodeGen/CGExpr.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGExprAgg.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGExprCXX.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGExprComplex.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGExprConstant.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGExprScalar.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGObjC.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGObjCGNU.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGObjCRuntime.h head/contrib/llvm/tools/clang/lib/CodeGen/CGRTTI.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGRecordLayout.h head/contrib/llvm/tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGStmt.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGTemporaries.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGVTT.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGVTables.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CGVTables.h head/contrib/llvm/tools/clang/lib/CodeGen/CGValue.h head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenAction.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.h head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTypes.h head/contrib/llvm/tools/clang/lib/CodeGen/GlobalDecl.h head/contrib/llvm/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp head/contrib/llvm/tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp head/contrib/llvm/tools/clang/lib/CodeGen/ModuleBuilder.cpp head/contrib/llvm/tools/clang/lib/CodeGen/TargetInfo.cpp head/contrib/llvm/tools/clang/lib/CodeGen/TargetInfo.h head/contrib/llvm/tools/clang/lib/Driver/Action.cpp head/contrib/llvm/tools/clang/lib/Driver/Arg.cpp head/contrib/llvm/tools/clang/lib/Driver/ArgList.cpp head/contrib/llvm/tools/clang/lib/Driver/Compilation.cpp head/contrib/llvm/tools/clang/lib/Driver/Driver.cpp head/contrib/llvm/tools/clang/lib/Driver/DriverOptions.cpp head/contrib/llvm/tools/clang/lib/Driver/HostInfo.cpp head/contrib/llvm/tools/clang/lib/Driver/Job.cpp head/contrib/llvm/tools/clang/lib/Driver/OptTable.cpp head/contrib/llvm/tools/clang/lib/Driver/Option.cpp head/contrib/llvm/tools/clang/lib/Driver/Phases.cpp head/contrib/llvm/tools/clang/lib/Driver/Tool.cpp head/contrib/llvm/tools/clang/lib/Driver/ToolChain.cpp head/contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp head/contrib/llvm/tools/clang/lib/Driver/ToolChains.h head/contrib/llvm/tools/clang/lib/Driver/Tools.cpp head/contrib/llvm/tools/clang/lib/Driver/Tools.h head/contrib/llvm/tools/clang/lib/Driver/Types.cpp head/contrib/llvm/tools/clang/lib/Frontend/ASTConsumers.cpp head/contrib/llvm/tools/clang/lib/Frontend/ASTMerge.cpp head/contrib/llvm/tools/clang/lib/Frontend/ASTUnit.cpp head/contrib/llvm/tools/clang/lib/Frontend/CacheTokens.cpp head/contrib/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp head/contrib/llvm/tools/clang/lib/Frontend/CompilerInvocation.cpp head/contrib/llvm/tools/clang/lib/Frontend/DeclXML.cpp head/contrib/llvm/tools/clang/lib/Frontend/DependencyFile.cpp head/contrib/llvm/tools/clang/lib/Frontend/DocumentXML.cpp head/contrib/llvm/tools/clang/lib/Frontend/FrontendAction.cpp head/contrib/llvm/tools/clang/lib/Frontend/FrontendActions.cpp head/contrib/llvm/tools/clang/lib/Frontend/FrontendOptions.cpp head/contrib/llvm/tools/clang/lib/Frontend/InitHeaderSearch.cpp head/contrib/llvm/tools/clang/lib/Frontend/InitPreprocessor.cpp head/contrib/llvm/tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp head/contrib/llvm/tools/clang/lib/Frontend/StmtXML.cpp head/contrib/llvm/tools/clang/lib/Frontend/TextDiagnosticBuffer.cpp head/contrib/llvm/tools/clang/lib/Frontend/TextDiagnosticPrinter.cpp head/contrib/llvm/tools/clang/lib/Frontend/TypeXML.cpp head/contrib/llvm/tools/clang/lib/Frontend/VerifyDiagnosticsClient.cpp head/contrib/llvm/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp head/contrib/llvm/tools/clang/lib/Headers/altivec.h head/contrib/llvm/tools/clang/lib/Headers/emmintrin.h head/contrib/llvm/tools/clang/lib/Headers/limits.h head/contrib/llvm/tools/clang/lib/Headers/mm_malloc.h head/contrib/llvm/tools/clang/lib/Headers/mmintrin.h head/contrib/llvm/tools/clang/lib/Headers/stdbool.h head/contrib/llvm/tools/clang/lib/Headers/stddef.h head/contrib/llvm/tools/clang/lib/Headers/xmmintrin.h head/contrib/llvm/tools/clang/lib/Index/ASTVisitor.h head/contrib/llvm/tools/clang/lib/Index/CallGraph.cpp head/contrib/llvm/tools/clang/lib/Lex/HeaderMap.cpp head/contrib/llvm/tools/clang/lib/Lex/HeaderSearch.cpp head/contrib/llvm/tools/clang/lib/Lex/Lexer.cpp head/contrib/llvm/tools/clang/lib/Lex/LiteralSupport.cpp head/contrib/llvm/tools/clang/lib/Lex/MacroInfo.cpp head/contrib/llvm/tools/clang/lib/Lex/PPDirectives.cpp head/contrib/llvm/tools/clang/lib/Lex/PPExpressions.cpp head/contrib/llvm/tools/clang/lib/Lex/PPLexerChange.cpp head/contrib/llvm/tools/clang/lib/Lex/PPMacroExpansion.cpp head/contrib/llvm/tools/clang/lib/Lex/PTHLexer.cpp head/contrib/llvm/tools/clang/lib/Lex/Pragma.cpp head/contrib/llvm/tools/clang/lib/Lex/PreprocessingRecord.cpp head/contrib/llvm/tools/clang/lib/Lex/Preprocessor.cpp head/contrib/llvm/tools/clang/lib/Lex/TokenConcatenation.cpp head/contrib/llvm/tools/clang/lib/Lex/TokenLexer.cpp head/contrib/llvm/tools/clang/lib/Parse/ParseAST.cpp head/contrib/llvm/tools/clang/lib/Parse/ParseCXXInlineMethods.cpp head/contrib/llvm/tools/clang/lib/Parse/ParseDecl.cpp head/contrib/llvm/tools/clang/lib/Parse/ParseDeclCXX.cpp head/contrib/llvm/tools/clang/lib/Parse/ParseExpr.cpp head/contrib/llvm/tools/clang/lib/Parse/ParseExprCXX.cpp head/contrib/llvm/tools/clang/lib/Parse/ParseInit.cpp head/contrib/llvm/tools/clang/lib/Parse/ParseObjc.cpp head/contrib/llvm/tools/clang/lib/Parse/ParsePragma.cpp head/contrib/llvm/tools/clang/lib/Parse/ParsePragma.h head/contrib/llvm/tools/clang/lib/Parse/ParseStmt.cpp head/contrib/llvm/tools/clang/lib/Parse/ParseTemplate.cpp head/contrib/llvm/tools/clang/lib/Parse/ParseTentative.cpp head/contrib/llvm/tools/clang/lib/Parse/Parser.cpp head/contrib/llvm/tools/clang/lib/Parse/RAIIObjectsForParser.h head/contrib/llvm/tools/clang/lib/Rewrite/FixItRewriter.cpp head/contrib/llvm/tools/clang/lib/Rewrite/FrontendActions.cpp head/contrib/llvm/tools/clang/lib/Rewrite/HTMLRewrite.cpp head/contrib/llvm/tools/clang/lib/Rewrite/RewriteMacros.cpp head/contrib/llvm/tools/clang/lib/Rewrite/RewriteObjC.cpp head/contrib/llvm/tools/clang/lib/Rewrite/RewriteRope.cpp head/contrib/llvm/tools/clang/lib/Rewrite/TokenRewriter.cpp head/contrib/llvm/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp head/contrib/llvm/tools/clang/lib/Sema/AttributeList.cpp head/contrib/llvm/tools/clang/lib/Sema/CodeCompleteConsumer.cpp head/contrib/llvm/tools/clang/lib/Sema/DeclSpec.cpp head/contrib/llvm/tools/clang/lib/Sema/JumpDiagnostics.cpp head/contrib/llvm/tools/clang/lib/Sema/Sema.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaAccess.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaAttr.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaCXXCast.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaCXXScopeSpec.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaChecking.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaCodeComplete.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaDeclAttr.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaDeclCXX.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaDeclObjC.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaExceptionSpec.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaExpr.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaExprCXX.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaExprObjC.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaInit.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaLookup.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaObjCProperty.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaOverload.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaStmt.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaTemplate.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaTemplateDeduction.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp head/contrib/llvm/tools/clang/lib/Sema/SemaType.cpp head/contrib/llvm/tools/clang/lib/Sema/TargetAttributesSema.cpp head/contrib/llvm/tools/clang/lib/Sema/TreeTransform.h head/contrib/llvm/tools/clang/lib/Serialization/ASTCommon.cpp head/contrib/llvm/tools/clang/lib/Serialization/ASTCommon.h head/contrib/llvm/tools/clang/lib/Serialization/ASTReader.cpp head/contrib/llvm/tools/clang/lib/Serialization/ASTReaderDecl.cpp head/contrib/llvm/tools/clang/lib/Serialization/ASTReaderStmt.cpp head/contrib/llvm/tools/clang/lib/Serialization/ASTWriter.cpp head/contrib/llvm/tools/clang/lib/Serialization/ASTWriterDecl.cpp head/contrib/llvm/tools/clang/lib/Serialization/ASTWriterStmt.cpp head/contrib/llvm/tools/clang/lib/Serialization/GeneratePCH.cpp head/contrib/llvm/tools/clang/tools/driver/cc1_main.cpp head/contrib/llvm/tools/clang/tools/driver/cc1as_main.cpp head/contrib/llvm/tools/clang/tools/driver/driver.cpp head/contrib/llvm/utils/TableGen/ARMDecoderEmitter.cpp head/contrib/llvm/utils/TableGen/ARMDecoderEmitter.h head/contrib/llvm/utils/TableGen/AsmMatcherEmitter.cpp head/contrib/llvm/utils/TableGen/AsmWriterEmitter.cpp head/contrib/llvm/utils/TableGen/AsmWriterInst.cpp head/contrib/llvm/utils/TableGen/AsmWriterInst.h head/contrib/llvm/utils/TableGen/CallingConvEmitter.cpp head/contrib/llvm/utils/TableGen/ClangASTNodesEmitter.h head/contrib/llvm/utils/TableGen/ClangAttrEmitter.cpp head/contrib/llvm/utils/TableGen/ClangAttrEmitter.h head/contrib/llvm/utils/TableGen/ClangDiagnosticsEmitter.cpp head/contrib/llvm/utils/TableGen/CodeEmitterGen.cpp head/contrib/llvm/utils/TableGen/CodeEmitterGen.h head/contrib/llvm/utils/TableGen/CodeGenDAGPatterns.cpp head/contrib/llvm/utils/TableGen/CodeGenDAGPatterns.h head/contrib/llvm/utils/TableGen/CodeGenInstruction.cpp head/contrib/llvm/utils/TableGen/CodeGenInstruction.h head/contrib/llvm/utils/TableGen/CodeGenRegisters.h head/contrib/llvm/utils/TableGen/CodeGenTarget.cpp head/contrib/llvm/utils/TableGen/CodeGenTarget.h head/contrib/llvm/utils/TableGen/DAGISelMatcher.cpp head/contrib/llvm/utils/TableGen/DAGISelMatcher.h head/contrib/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp head/contrib/llvm/utils/TableGen/DAGISelMatcherGen.cpp head/contrib/llvm/utils/TableGen/DAGISelMatcherOpt.cpp head/contrib/llvm/utils/TableGen/DisassemblerEmitter.cpp head/contrib/llvm/utils/TableGen/EDEmitter.cpp head/contrib/llvm/utils/TableGen/FastISelEmitter.cpp head/contrib/llvm/utils/TableGen/InstrEnumEmitter.cpp head/contrib/llvm/utils/TableGen/InstrInfoEmitter.cpp head/contrib/llvm/utils/TableGen/IntrinsicEmitter.cpp head/contrib/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp head/contrib/llvm/utils/TableGen/LLVMCConfigurationEmitter.h head/contrib/llvm/utils/TableGen/NeonEmitter.cpp head/contrib/llvm/utils/TableGen/NeonEmitter.h head/contrib/llvm/utils/TableGen/Record.cpp head/contrib/llvm/utils/TableGen/Record.h head/contrib/llvm/utils/TableGen/RegisterInfoEmitter.cpp head/contrib/llvm/utils/TableGen/SubtargetEmitter.cpp head/contrib/llvm/utils/TableGen/SubtargetEmitter.h head/contrib/llvm/utils/TableGen/TGLexer.cpp head/contrib/llvm/utils/TableGen/TGLexer.h head/contrib/llvm/utils/TableGen/TGParser.cpp head/contrib/llvm/utils/TableGen/TGParser.h head/contrib/llvm/utils/TableGen/TableGen.cpp head/contrib/llvm/utils/TableGen/X86DisassemblerTables.cpp head/contrib/llvm/utils/TableGen/X86ModRMFilters.h head/contrib/llvm/utils/TableGen/X86RecognizableInstr.cpp head/contrib/llvm/utils/TableGen/X86RecognizableInstr.h head/etc/mtree/BSD.include.dist head/lib/clang/Makefile head/lib/clang/clang.build.mk head/lib/clang/include/Makefile head/lib/clang/include/clang/Basic/Version.inc head/lib/clang/include/llvm/Config/AsmPrinters.def head/lib/clang/include/llvm/Config/Disassemblers.def head/lib/clang/include/llvm/Config/Targets.def head/lib/clang/include/llvm/Config/config.h head/lib/clang/include/llvm/Config/llvm-config.h head/lib/clang/libclanganalysis/Makefile head/lib/clang/libclangast/Makefile head/lib/clang/libclangbasic/Makefile head/lib/clang/libclangcodegen/Makefile head/lib/clang/libclangfrontend/Makefile head/lib/clang/libclanglex/Makefile head/lib/clang/libclangsema/Makefile head/lib/clang/libllvmanalysis/Makefile head/lib/clang/libllvmarmcodegen/Makefile head/lib/clang/libllvmasmprinter/Makefile head/lib/clang/libllvmcodegen/Makefile head/lib/clang/libllvmcore/Makefile head/lib/clang/libllvmipo/Makefile head/lib/clang/libllvmmc/Makefile head/lib/clang/libllvmmcparser/Makefile head/lib/clang/libllvmmipscodegen/Makefile head/lib/clang/libllvmpowerpccodegen/Makefile head/lib/clang/libllvmscalaropts/Makefile head/lib/clang/libllvmsupport/Makefile head/lib/clang/libllvmtarget/Makefile head/lib/clang/libllvmx86codegen/Makefile head/lib/libz/Makefile head/sys/boot/i386/boot0/Makefile head/sys/boot/i386/btx/btx/Makefile head/sys/boot/i386/btx/btxldr/Makefile head/sys/boot/i386/gptboot/Makefile head/sys/boot/i386/gptzfsboot/Makefile head/sys/boot/i386/libi386/Makefile head/sys/boot/i386/pxeldr/Makefile head/sys/boot/i386/zfsboot/Makefile head/sys/boot/pc98/btx/btx/Makefile head/sys/boot/pc98/btx/btxldr/Makefile head/sys/conf/Makefile.amd64 head/sys/conf/Makefile.i386 head/sys/modules/bios/smapi/Makefile head/sys/modules/linux/Makefile head/usr.bin/clang/clang/Makefile head/usr.bin/clang/tblgen/Makefile Directory Properties: head/contrib/llvm/ (props changed) head/contrib/llvm/tools/clang/ (props changed) Modified: head/Makefile.inc1 ============================================================================== --- head/Makefile.inc1 Sun Feb 20 17:54:49 2011 (r218892) +++ head/Makefile.inc1 Sun Feb 20 19:33:47 2011 (r218893) @@ -974,7 +974,6 @@ _crunchgen= usr.sbin/crunch/crunchgen # with different per-architecture default values. Always build tblgen. _clang_tblgen= \ lib/clang/libllvmsupport \ - lib/clang/libllvmsystem \ usr.bin/clang/tblgen .if ${MK_CDDL} != "no" Modified: head/ObsoleteFiles.inc ============================================================================== --- head/ObsoleteFiles.inc Sun Feb 20 17:54:49 2011 (r218892) +++ head/ObsoleteFiles.inc Sun Feb 20 19:33:47 2011 (r218893) @@ -38,6 +38,14 @@ # xargs -n1 | sort | uniq -d; # done +# 20110220: new clang import which bumps version from 2.8 to 2.9 +OLD_FILES+=usr/include/clang/2.8/emmintrin.h +OLD_FILES+=usr/include/clang/2.8/mm_malloc.h +OLD_FILES+=usr/include/clang/2.8/mmintrin.h +OLD_FILES+=usr/include/clang/2.8/pmmintrin.h +OLD_FILES+=usr/include/clang/2.8/tmmintrin.h +OLD_FILES+=usr/include/clang/2.8/xmmintrin.h +OLD_DIRS+=usr/include/clang/2.8 # 20110119: Remove SYSCTL_*X* sysctl additions. OLD_FILES+=usr/share/man/man9/SYSCTL_XINT.9.gz \ usr/share/man/man9/SYSCTL_XLONG.9.gz Modified: head/contrib/llvm/include/llvm-c/Core.h ============================================================================== --- head/contrib/llvm/include/llvm-c/Core.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm-c/Core.h Sun Feb 20 19:33:47 2011 (r218893) @@ -33,13 +33,14 @@ #ifndef LLVM_C_CORE_H #define LLVM_C_CORE_H -#include "llvm/System/DataTypes.h" +#include "llvm/Support/DataTypes.h" #ifdef __cplusplus /* Need these includes to support the LLVM 'cast' template for the C++ 'wrap' and 'unwrap' conversion functions. */ #include "llvm/Module.h" +#include "llvm/PassRegistry.h" #include "llvm/Support/IRBuilder.h" extern "C" { @@ -92,6 +93,9 @@ typedef struct LLVMOpaqueMemoryBuffer *L /** See the llvm::PassManagerBase class. */ typedef struct LLVMOpaquePassManager *LLVMPassManagerRef; +/** See the llvm::PassRegistry class. */ +typedef struct LLVMOpaquePassRegistry *LLVMPassRegistryRef; + /** Used to get the users and usees of a Value. See the llvm::Use class. */ typedef struct LLVMOpaqueUse *LLVMUseRef; @@ -204,7 +208,8 @@ typedef enum { LLVMPointerTypeKind, /**< Pointers */ LLVMOpaqueTypeKind, /**< Opaque: type with unknown structure */ LLVMVectorTypeKind, /**< SIMD 'packed' format, or other vector type */ - LLVMMetadataTypeKind /**< Metadata */ + LLVMMetadataTypeKind, /**< Metadata */ + LLVMX86_MMXTypeKind /**< X86 MMX */ } LLVMTypeKind; typedef enum { @@ -317,6 +322,7 @@ void LLVMSetTarget(LLVMModuleRef M, cons LLVMBool LLVMAddTypeName(LLVMModuleRef M, const char *Name, LLVMTypeRef Ty); void LLVMDeleteTypeName(LLVMModuleRef M, const char *Name); LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, const char *Name); +const char *LLVMGetTypeName(LLVMModuleRef M, LLVMTypeRef Ty); /** See Module::dump. */ void LLVMDumpModule(LLVMModuleRef M); @@ -324,6 +330,9 @@ void LLVMDumpModule(LLVMModuleRef M); /** See Module::setModuleInlineAsm. */ void LLVMSetModuleInlineAsm(LLVMModuleRef M, const char *Asm); +/** See Module::getContext. */ +LLVMContextRef LLVMGetModuleContext(LLVMModuleRef M); + /*===-- Types -------------------------------------------------------------===*/ /* LLVM types conform to the following hierarchy: @@ -408,10 +417,12 @@ unsigned LLVMGetVectorSize(LLVMTypeRef V LLVMTypeRef LLVMVoidTypeInContext(LLVMContextRef C); LLVMTypeRef LLVMLabelTypeInContext(LLVMContextRef C); LLVMTypeRef LLVMOpaqueTypeInContext(LLVMContextRef C); +LLVMTypeRef LLVMX86MMXTypeInContext(LLVMContextRef C); LLVMTypeRef LLVMVoidType(void); LLVMTypeRef LLVMLabelType(void); LLVMTypeRef LLVMOpaqueType(void); +LLVMTypeRef LLVMX86MMXType(void); /* Operations on type handles */ LLVMTypeHandleRef LLVMCreateTypeHandle(LLVMTypeRef PotentiallyAbstractTy); @@ -540,6 +551,9 @@ LLVMValueRef LLVMMDNode(LLVMValueRef *Va /* Operations on scalar constants */ LLVMValueRef LLVMConstInt(LLVMTypeRef IntTy, unsigned long long N, LLVMBool SignExtend); +LLVMValueRef LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy, + unsigned NumWords, + const uint64_t Words[]); LLVMValueRef LLVMConstIntOfString(LLVMTypeRef IntTy, const char *Text, uint8_t Radix); LLVMValueRef LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy, const char *Text, @@ -1013,6 +1027,11 @@ LLVMBool LLVMCreateMemoryBufferWithSTDIN char **OutMessage); void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf); +/*===-- Pass Registry -----------------------------------------------------===*/ + +/** Return the global pass registry, for use with initialization functions. + See llvm::PassRegistry::getPassRegistry. */ +LLVMPassRegistryRef LLVMGetGlobalPassRegistry(void); /*===-- Pass Managers -----------------------------------------------------===*/ @@ -1101,6 +1120,7 @@ namespace llvm { DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LLVMContext, LLVMContextRef ) DEFINE_SIMPLE_CONVERSION_FUNCTIONS(Use, LLVMUseRef ) DEFINE_STDCXX_CONVERSION_FUNCTIONS(PassManagerBase, LLVMPassManagerRef ) + DEFINE_STDCXX_CONVERSION_FUNCTIONS(PassRegistry, LLVMPassRegistryRef ) /* LLVMModuleProviderRef exists for historical reasons, but now just holds a * Module. */ Modified: head/contrib/llvm/include/llvm-c/EnhancedDisassembly.h ============================================================================== --- head/contrib/llvm/include/llvm-c/EnhancedDisassembly.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm-c/EnhancedDisassembly.h Sun Feb 20 19:33:47 2011 (r218893) @@ -19,7 +19,7 @@ #ifndef LLVM_C_ENHANCEDDISASSEMBLY_H #define LLVM_C_ENHANCEDDISASSEMBLY_H -#include "llvm/System/DataTypes.h" +#include "llvm/Support/DataTypes.h" #ifdef __cplusplus extern "C" { Copied: head/contrib/llvm/include/llvm-c/Initialization.h (from r218888, vendor/llvm/dist/include/llvm-c/Initialization.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/contrib/llvm/include/llvm-c/Initialization.h Sun Feb 20 19:33:47 2011 (r218893, copy of r218888, vendor/llvm/dist/include/llvm-c/Initialization.h) @@ -0,0 +1,40 @@ +/*===-- llvm-c/Initialization.h - Initialization C Interface ------*- C -*-===*\ +|* *| +|* The LLVM Compiler Infrastructure *| +|* *| +|* This file is distributed under the University of Illinois Open Source *| +|* License. See LICENSE.TXT for details. *| +|* *| +|*===----------------------------------------------------------------------===*| +|* *| +|* This header declares the C interface to LLVM initialization routines, *| +|* which must be called before you can use the functionality provided by *| +|* the corresponding LLVM library. *| +|* *| +\*===----------------------------------------------------------------------===*/ + +#ifndef LLVM_C_INITIALIZEPASSES_H +#define LLVM_C_INITIALIZEPASSES_H + +#include "llvm-c/Core.h" + +#ifdef __cplusplus +extern "C" { +#endif + +void LLVMInitializeCore(LLVMPassRegistryRef R); +void LLVMInitializeTransformUtils(LLVMPassRegistryRef R); +void LLVMInitializeScalarOpts(LLVMPassRegistryRef R); +void LLVMInitializeInstCombine(LLVMPassRegistryRef R); +void LLVMInitializeIPO(LLVMPassRegistryRef R); +void LLVMInitializeInstrumentation(LLVMPassRegistryRef R); +void LLVMInitializeAnalysis(LLVMPassRegistryRef R); +void LLVMInitializeIPA(LLVMPassRegistryRef R); +void LLVMInitializeCodeGen(LLVMPassRegistryRef R); +void LLVMInitializeTarget(LLVMPassRegistryRef R); + +#ifdef __cplusplus +} +#endif + +#endif Modified: head/contrib/llvm/include/llvm-c/LinkTimeOptimizer.h ============================================================================== --- head/contrib/llvm/include/llvm-c/LinkTimeOptimizer.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm-c/LinkTimeOptimizer.h Sun Feb 20 19:33:47 2011 (r218893) @@ -8,7 +8,7 @@ //===----------------------------------------------------------------------===// // // This header provides a C API to use the LLVM link time optimization -// library. This is inteded to be used by linkers which are C-only in +// library. This is intended to be used by linkers which are C-only in // their implementation for performing LTO. // //===----------------------------------------------------------------------===// Modified: head/contrib/llvm/include/llvm-c/Transforms/Scalar.h ============================================================================== --- head/contrib/llvm/include/llvm-c/Transforms/Scalar.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm-c/Transforms/Scalar.h Sun Feb 20 19:33:47 2011 (r218893) @@ -52,9 +52,6 @@ void LLVMAddLICMPass(LLVMPassManagerRef /** See llvm::createLoopDeletionPass function. */ void LLVMAddLoopDeletionPass(LLVMPassManagerRef PM); -/** See llvm::createLoopIndexSplitPass function. */ -void LLVMAddLoopIndexSplitPass(LLVMPassManagerRef PM); - /** See llvm::createLoopRotatePass function. */ void LLVMAddLoopRotatePass(LLVMPassManagerRef PM); Modified: head/contrib/llvm/include/llvm-c/lto.h ============================================================================== --- head/contrib/llvm/include/llvm-c/lto.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm-c/lto.h Sun Feb 20 19:33:47 2011 (r218893) @@ -18,27 +18,28 @@ #include #include -#include "llvm/System/DataTypes.h" +#include -#define LTO_API_VERSION 3 +#define LTO_API_VERSION 4 typedef enum { - LTO_SYMBOL_ALIGNMENT_MASK = 0x0000001F, /* log2 of alignment */ - LTO_SYMBOL_PERMISSIONS_MASK = 0x000000E0, - LTO_SYMBOL_PERMISSIONS_CODE = 0x000000A0, - LTO_SYMBOL_PERMISSIONS_DATA = 0x000000C0, - LTO_SYMBOL_PERMISSIONS_RODATA = 0x00000080, - LTO_SYMBOL_DEFINITION_MASK = 0x00000700, - LTO_SYMBOL_DEFINITION_REGULAR = 0x00000100, - LTO_SYMBOL_DEFINITION_TENTATIVE = 0x00000200, - LTO_SYMBOL_DEFINITION_WEAK = 0x00000300, - LTO_SYMBOL_DEFINITION_UNDEFINED = 0x00000400, - LTO_SYMBOL_DEFINITION_WEAKUNDEF = 0x00000500, - LTO_SYMBOL_SCOPE_MASK = 0x00003800, - LTO_SYMBOL_SCOPE_INTERNAL = 0x00000800, - LTO_SYMBOL_SCOPE_HIDDEN = 0x00001000, - LTO_SYMBOL_SCOPE_PROTECTED = 0x00002000, - LTO_SYMBOL_SCOPE_DEFAULT = 0x00001800 + LTO_SYMBOL_ALIGNMENT_MASK = 0x0000001F, /* log2 of alignment */ + LTO_SYMBOL_PERMISSIONS_MASK = 0x000000E0, + LTO_SYMBOL_PERMISSIONS_CODE = 0x000000A0, + LTO_SYMBOL_PERMISSIONS_DATA = 0x000000C0, + LTO_SYMBOL_PERMISSIONS_RODATA = 0x00000080, + LTO_SYMBOL_DEFINITION_MASK = 0x00000700, + LTO_SYMBOL_DEFINITION_REGULAR = 0x00000100, + LTO_SYMBOL_DEFINITION_TENTATIVE = 0x00000200, + LTO_SYMBOL_DEFINITION_WEAK = 0x00000300, + LTO_SYMBOL_DEFINITION_UNDEFINED = 0x00000400, + LTO_SYMBOL_DEFINITION_WEAKUNDEF = 0x00000500, + LTO_SYMBOL_SCOPE_MASK = 0x00003800, + LTO_SYMBOL_SCOPE_INTERNAL = 0x00000800, + LTO_SYMBOL_SCOPE_HIDDEN = 0x00001000, + LTO_SYMBOL_SCOPE_PROTECTED = 0x00002000, + LTO_SYMBOL_SCOPE_DEFAULT = 0x00001800, + LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN = 0x00002800 } lto_symbol_attributes; typedef enum { @@ -121,6 +122,13 @@ lto_module_create(const char* path); extern lto_module_t lto_module_create_from_memory(const void* mem, size_t length); +/** + * Loads an object file from disk. The seek point of fd is not preserved. + * Returns NULL on error (check lto_get_error_message() for details). + */ +extern lto_module_t +lto_module_create_from_fd(int fd, const char *path, off_t size); + /** * Frees all memory internally allocated by the module. @@ -146,7 +154,7 @@ lto_module_set_target_triple(lto_module_ /** * Returns the number of symbols in the object module. */ -extern uint32_t +extern unsigned int lto_module_get_num_symbols(lto_module_t mod); @@ -154,14 +162,14 @@ lto_module_get_num_symbols(lto_module_t * Returns the name of the ith symbol in the object module. */ extern const char* -lto_module_get_symbol_name(lto_module_t mod, uint32_t index); +lto_module_get_symbol_name(lto_module_t mod, unsigned int index); /** * Returns the attributes of the ith symbol in the object module. */ extern lto_symbol_attributes -lto_module_get_symbol_attribute(lto_module_t mod, uint32_t index); +lto_module_get_symbol_attribute(lto_module_t mod, unsigned int index); /** Modified: head/contrib/llvm/include/llvm/ADT/APFloat.h ============================================================================== --- head/contrib/llvm/include/llvm/ADT/APFloat.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm/ADT/APFloat.h Sun Feb 20 19:33:47 2011 (r218893) @@ -246,6 +246,13 @@ namespace llvm { static APFloat getSmallestNormalized(const fltSemantics &Sem, bool Negative = false); + /// getAllOnesValue - Returns a float which is bitcasted from + /// an all one value int. + /// + /// \param BitWidth - Select float type + /// \param isIEEE - If 128 bit number, select between PPC and IEEE + static APFloat getAllOnesValue(unsigned BitWidth, bool isIEEE = false); + /// Profile - Used to insert APFloat objects, or objects that contain /// APFloat objects, into FoldingSets. void Profile(FoldingSetNodeID& NID) const; Modified: head/contrib/llvm/include/llvm/ADT/APInt.h ============================================================================== --- head/contrib/llvm/include/llvm/ADT/APInt.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm/ADT/APInt.h Sun Feb 20 19:33:47 2011 (r218893) @@ -275,12 +275,6 @@ public: /// objects, into FoldingSets. void Profile(FoldingSetNodeID& id) const; - /// @brief Used by the Bitcode serializer to emit APInts to Bitcode. - void Emit(Serializer& S) const; - - /// @brief Used by the Bitcode deserializer to deserialize APInts. - void Read(Deserializer& D); - /// @} /// @name Value Tests /// @{ @@ -302,7 +296,7 @@ public: /// @returns true if this APInt is positive. /// @brief Determine if this APInt Value is positive. bool isStrictlyPositive() const { - return isNonNegative() && (*this) != 0; + return isNonNegative() && !!*this; } /// This checks to see if the value has all bits of the APInt are set or not. @@ -330,15 +324,14 @@ public: /// value for the APInt's bit width. /// @brief Determine if this is the smallest unsigned value. bool isMinValue() const { - return countPopulation() == 0; + return !*this; } /// This checks to see if the value of this APInt is the minimum signed /// value for the APInt's bit width. /// @brief Determine if this is the smallest signed value. bool isMinSignedValue() const { - return BitWidth == 1 ? VAL == 1 : - isNegative() && countPopulation() == 1; + return BitWidth == 1 ? VAL == 1 : isNegative() && isPowerOf2(); } /// @brief Check if this APInt has an N-bits unsigned integer value. @@ -348,10 +341,8 @@ public: return true; if (isSingleWord()) - return VAL == (VAL & (~0ULL >> (64 - N))); - APInt Tmp(N, getNumWords(), pVal); - Tmp.zext(getBitWidth()); - return Tmp == (*this); + return isUIntN(N, VAL); + return APInt(N, getNumWords(), pVal).zext(getBitWidth()) == (*this); } /// @brief Check if this APInt has an N-bits signed integer value. @@ -361,7 +352,11 @@ public: } /// @returns true if the argument APInt value is a power of two > 0. - bool isPowerOf2() const; + bool isPowerOf2() const { + if (isSingleWord()) + return isPowerOf2_64(VAL); + return countPopulationSlowCase() == 1; + } /// isSignBit - Return true if this is the value returned by getSignBit. bool isSignBit() const { return isMinSignedValue(); } @@ -369,7 +364,7 @@ public: /// This converts the APInt to a boolean value as a test against zero. /// @brief Boolean conversion function. bool getBoolValue() const { - return *this != 0; + return !!*this; } /// getLimitedValue - If this value is smaller than the specified limit, @@ -385,12 +380,14 @@ public: /// @{ /// @brief Gets maximum unsigned value of APInt for specific bit width. static APInt getMaxValue(unsigned numBits) { - return APInt(numBits, 0).set(); + return getAllOnesValue(numBits); } /// @brief Gets maximum signed value of APInt for a specific bit width. static APInt getSignedMaxValue(unsigned numBits) { - return APInt(numBits, 0).set().clear(numBits - 1); + APInt API = getAllOnesValue(numBits); + API.clearBit(numBits - 1); + return API; } /// @brief Gets minimum unsigned value of APInt for a specific bit width. @@ -400,7 +397,9 @@ public: /// @brief Gets minimum signed value of APInt for a specific bit width. static APInt getSignedMinValue(unsigned numBits) { - return APInt(numBits, 0).set(numBits - 1); + APInt API(numBits, 0); + API.setBit(numBits - 1); + return API; } /// getSignBit - This is just a wrapper function of getSignedMinValue(), and @@ -413,7 +412,7 @@ public: /// @returns the all-ones value for an APInt of the specified bit-width. /// @brief Get the all-ones value. static APInt getAllOnesValue(unsigned numBits) { - return APInt(numBits, 0).set(); + return APInt(numBits, -1ULL, true); } /// @returns the '0' value for an APInt of the specified bit-width. @@ -432,6 +431,13 @@ public: /// @returns the low "numBits" bits of this APInt. APInt getLoBits(unsigned numBits) const; + /// getOneBitSet - Return an APInt with exactly one bit set in the result. + static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { + APInt Res(numBits, 0); + Res.setBit(BitNo); + return Res; + } + /// Constructs an APInt value that has a contiguous range of bits set. The /// bits from loBit (inclusive) to hiBit (exclusive) will be set. All other /// bits will be zero. For example, with parameters(32, 0, 16) you would get @@ -530,7 +536,7 @@ public: /// @brief Unary bitwise complement operator. APInt operator~() const { APInt Result(*this); - Result.flip(); + Result.flipAllBits(); return Result; } @@ -741,11 +747,11 @@ public: /// RHS are treated as unsigned quantities for purposes of this division. /// @returns a new APInt value containing the division result /// @brief Unsigned division operation. - APInt udiv(const APInt& RHS) const; + APInt udiv(const APInt &RHS) const; /// Signed divide this APInt by APInt RHS. /// @brief Signed division function for APInt. - APInt sdiv(const APInt& RHS) const { + APInt sdiv(const APInt &RHS) const { if (isNegative()) if (RHS.isNegative()) return (-(*this)).udiv(-RHS); @@ -763,11 +769,11 @@ public: /// which is *this. /// @returns a new APInt value containing the remainder result /// @brief Unsigned remainder operation. - APInt urem(const APInt& RHS) const; + APInt urem(const APInt &RHS) const; /// Signed remainder operation on APInt. /// @brief Function for signed remainder operation. - APInt srem(const APInt& RHS) const { + APInt srem(const APInt &RHS) const { if (isNegative()) if (RHS.isNegative()) return -((-(*this)).urem(-RHS)); @@ -788,8 +794,7 @@ public: APInt &Quotient, APInt &Remainder); static void sdivrem(const APInt &LHS, const APInt &RHS, - APInt &Quotient, APInt &Remainder) - { + APInt &Quotient, APInt &Remainder) { if (LHS.isNegative()) { if (RHS.isNegative()) APInt::udivrem(-LHS, -RHS, Quotient, Remainder); @@ -804,6 +809,16 @@ public: APInt::udivrem(LHS, RHS, Quotient, Remainder); } } + + + // Operations that return overflow indicators. + APInt sadd_ov(const APInt &RHS, bool &Overflow) const; + APInt uadd_ov(const APInt &RHS, bool &Overflow) const; + APInt ssub_ov(const APInt &RHS, bool &Overflow) const; + APInt usub_ov(const APInt &RHS, bool &Overflow) const; + APInt sdiv_ov(const APInt &RHS, bool &Overflow) const; + APInt smul_ov(const APInt &RHS, bool &Overflow) const; + APInt sshl_ov(unsigned Amt, bool &Overflow) const; /// @returns the bit value at bitPosition /// @brief Array-indexing support. @@ -868,7 +883,7 @@ public: /// the validity of the less-than relationship. /// @returns true if *this < RHS when both are considered unsigned. /// @brief Unsigned less than comparison - bool ult(const APInt& RHS) const; + bool ult(const APInt &RHS) const; /// Regards both *this as an unsigned quantity and compares it with RHS for /// the validity of the less-than relationship. @@ -988,6 +1003,9 @@ public: return sge(APInt(getBitWidth(), RHS)); } + + + /// This operation tests if there are any pairs of corresponding bits /// between this APInt and RHS that are both set. bool intersects(const APInt &RHS) const { @@ -1000,80 +1018,78 @@ public: /// Truncate the APInt to a specified width. It is an error to specify a width /// that is greater than or equal to the current width. /// @brief Truncate to new width. - APInt &trunc(unsigned width); + APInt trunc(unsigned width) const; /// This operation sign extends the APInt to a new width. If the high order /// bit is set, the fill on the left will be done with 1 bits, otherwise zero. /// It is an error to specify a width that is less than or equal to the /// current width. /// @brief Sign extend to a new width. - APInt &sext(unsigned width); + APInt sext(unsigned width) const; /// This operation zero extends the APInt to a new width. The high order bits /// are filled with 0 bits. It is an error to specify a width that is less /// than or equal to the current width. /// @brief Zero extend to a new width. - APInt &zext(unsigned width); + APInt zext(unsigned width) const; /// Make this APInt have the bit width given by \p width. The value is sign /// extended, truncated, or left alone to make it that width. /// @brief Sign extend or truncate to width - APInt &sextOrTrunc(unsigned width); + APInt sextOrTrunc(unsigned width) const; /// Make this APInt have the bit width given by \p width. The value is zero /// extended, truncated, or left alone to make it that width. /// @brief Zero extend or truncate to width - APInt &zextOrTrunc(unsigned width); + APInt zextOrTrunc(unsigned width) const; /// @} /// @name Bit Manipulation Operators /// @{ /// @brief Set every bit to 1. - APInt& set() { - if (isSingleWord()) { + void setAllBits() { + if (isSingleWord()) VAL = -1ULL; - return clearUnusedBits(); + else { + // Set all the bits in all the words. + for (unsigned i = 0; i < getNumWords(); ++i) + pVal[i] = -1ULL; } - - // Set all the bits in all the words. - for (unsigned i = 0; i < getNumWords(); ++i) - pVal[i] = -1ULL; // Clear the unused ones - return clearUnusedBits(); + clearUnusedBits(); } /// Set the given bit to 1 whose position is given as "bitPosition". /// @brief Set a given bit to 1. - APInt& set(unsigned bitPosition); + void setBit(unsigned bitPosition); /// @brief Set every bit to 0. - APInt& clear() { + void clearAllBits() { if (isSingleWord()) VAL = 0; else memset(pVal, 0, getNumWords() * APINT_WORD_SIZE); - return *this; } /// Set the given bit to 0 whose position is given as "bitPosition". /// @brief Set a given bit to 0. - APInt& clear(unsigned bitPosition); + void clearBit(unsigned bitPosition); /// @brief Toggle every bit to its opposite value. - APInt& flip() { - if (isSingleWord()) { + void flipAllBits() { + if (isSingleWord()) VAL ^= -1ULL; - return clearUnusedBits(); + else { + for (unsigned i = 0; i < getNumWords(); ++i) + pVal[i] ^= -1ULL; } - for (unsigned i = 0; i < getNumWords(); ++i) - pVal[i] ^= -1ULL; - return clearUnusedBits(); + clearUnusedBits(); } /// Toggle a given bit to its opposite value whose position is given /// as "bitPosition". /// @brief Toggles a given bit to its opposite value. - APInt& flip(unsigned bitPosition); + void flipBit(unsigned bitPosition); /// @} /// @name Value Characterization Functions @@ -1281,37 +1297,27 @@ public: } /// The conversion does not do a translation from double to integer, it just - /// re-interprets the bits of the double. Note that it is valid to do this on - /// any bit width but bits from V may get truncated. + /// re-interprets the bits of the double. /// @brief Converts a double to APInt bits. - APInt& doubleToBits(double V) { + static APInt doubleToBits(double V) { union { uint64_t I; double D; } T; T.D = V; - if (isSingleWord()) - VAL = T.I; - else - pVal[0] = T.I; - return clearUnusedBits(); + return APInt(sizeof T * CHAR_BIT, T.I); } /// The conversion does not do a translation from float to integer, it just - /// re-interprets the bits of the float. Note that it is valid to do this on - /// any bit width but bits from V may get truncated. + /// re-interprets the bits of the float. /// @brief Converts a float to APInt bits. - APInt& floatToBits(float V) { + static APInt floatToBits(float V) { union { unsigned I; float F; } T; T.F = V; - if (isSingleWord()) - VAL = T.I; - else - pVal[0] = T.I; - return clearUnusedBits(); + return APInt(sizeof T * CHAR_BIT, T.I); } /// @} Modified: head/contrib/llvm/include/llvm/ADT/APSInt.h ============================================================================== --- head/contrib/llvm/include/llvm/ADT/APSInt.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm/ADT/APSInt.h Sun Feb 20 19:33:47 2011 (r218893) @@ -68,20 +68,22 @@ public: } using APInt::toString; - APSInt& extend(uint32_t width) { + APSInt trunc(uint32_t width) const { + return APSInt(APInt::trunc(width), IsUnsigned); + } + + APSInt extend(uint32_t width) const { if (IsUnsigned) - zext(width); + return APSInt(zext(width), IsUnsigned); else - sext(width); - return *this; + return APSInt(sext(width), IsUnsigned); } - APSInt& extOrTrunc(uint32_t width) { + APSInt extOrTrunc(uint32_t width) const { if (IsUnsigned) - zextOrTrunc(width); + return APSInt(zextOrTrunc(width), IsUnsigned); else - sextOrTrunc(width); - return *this; + return APSInt(sextOrTrunc(width), IsUnsigned); } const APSInt &operator%=(const APSInt &RHS) { Copied: head/contrib/llvm/include/llvm/ADT/ArrayRef.h (from r218888, vendor/llvm/dist/include/llvm/ADT/ArrayRef.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/contrib/llvm/include/llvm/ADT/ArrayRef.h Sun Feb 20 19:33:47 2011 (r218893, copy of r218888, vendor/llvm/dist/include/llvm/ADT/ArrayRef.h) @@ -0,0 +1,121 @@ +//===--- ArrayRef.h - Array Reference Wrapper -------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_ADT_ARRAYREF_H +#define LLVM_ADT_ARRAYREF_H + +#include "llvm/ADT/SmallVector.h" +#include + +namespace llvm { + class APInt; + + /// ArrayRef - Represent a constant reference to an array (0 or more elements + /// consecutively in memory), i.e. a start pointer and a length. It allows + /// various APIs to take consecutive elements easily and conveniently. + /// + /// This class does not own the underlying data, it is expected to be used in + /// situations where the data resides in some other buffer, whose lifetime + /// extends past that of the StringRef. For this reason, it is not in general + /// safe to store a ArrayRef. + /// + /// This is intended to be trivially copyable, so it should be passed by + /// value. + template + class ArrayRef { + public: + typedef const T *iterator; + typedef const T *const_iterator; + typedef size_t size_type; + + private: + /// The start of the array, in an external buffer. + const T *Data; + + /// The number of elements. + size_t Length; + + public: + /// @name Constructors + /// @{ + + /// Construct an empty ArrayRef. + /*implicit*/ ArrayRef() : Data(0), Length(0) {} + + /// Construct an ArrayRef from a single element. + /*implicit*/ ArrayRef(const T &OneElt) + : Data(&OneElt), Length(1) {} + + /// Construct an ArrayRef from a pointer and length. + /*implicit*/ ArrayRef(const T *data, size_t length) + : Data(data), Length(length) {} + + /// Construct an ArrayRef from a SmallVector. + /*implicit*/ ArrayRef(const SmallVectorImpl &Vec) + : Data(Vec.data()), Length(Vec.size()) {} + + /// Construct an ArrayRef from a std::vector. + /*implicit*/ ArrayRef(const std::vector &Vec) + : Data(Vec.empty() ? (T*)0 : &Vec[0]), Length(Vec.size()) {} + + // TODO: C arrays. + + /// @} + /// @name Simple Operations + /// @{ + + iterator begin() const { return Data; } + iterator end() const { return Data + Length; } + + /// empty - Check if the array is empty. + bool empty() const { return Length == 0; } + + /// size - Get the array size. + size_t size() const { return Length; } + + /// front - Get the first element. + const T &front() const { + assert(!empty()); + return Data[0]; + } + + /// back - Get the last element. + const T &back() const { + assert(!empty()); + return Data[Length-1]; + } + + /// @} + /// @name Operator Overloads + /// @{ + + const T &operator[](size_t Index) const { + assert(Index < Length && "Invalid index!"); + return Data[Index]; + } + + /// @} + /// @name Expensive Operations + /// @{ + + std::vector vec() const { + return std::vector(Data, Data+Length); + } + + /// @} + }; + + // ArrayRefs can be treated like a POD type. + template struct isPodLike; + template struct isPodLike > { + static const bool value = true; + }; +} + +#endif Modified: head/contrib/llvm/include/llvm/ADT/BitVector.h ============================================================================== --- head/contrib/llvm/include/llvm/ADT/BitVector.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm/ADT/BitVector.h Sun Feb 20 19:33:47 2011 (r218893) @@ -18,6 +18,7 @@ #include #include #include +#include #include namespace llvm { @@ -77,7 +78,7 @@ public: /// bits are initialized to the specified value. explicit BitVector(unsigned s, bool t = false) : Size(s) { Capacity = NumBitWords(s); - Bits = new BitWord[Capacity]; + Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); init_words(Bits, Capacity, t); if (t) clear_unused_bits(); @@ -92,12 +93,12 @@ public: } Capacity = NumBitWords(RHS.size()); - Bits = new BitWord[Capacity]; - std::copy(RHS.Bits, &RHS.Bits[Capacity], Bits); + Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); + std::memcpy(Bits, RHS.Bits, Capacity * sizeof(BitWord)); } ~BitVector() { - delete[] Bits; + std::free(Bits); } /// empty - Tests whether there are no bits in this bitvector. @@ -127,6 +128,12 @@ public: return false; } + /// all - Returns true if all bits are set. + bool all() const { + // TODO: Optimize this. + return count() == size(); + } + /// none - Returns true if none of the bits are set. bool none() const { return !any(); @@ -335,18 +342,18 @@ public: unsigned RHSWords = NumBitWords(Size); if (Size <= Capacity * BITWORD_SIZE) { if (Size) - std::copy(RHS.Bits, &RHS.Bits[RHSWords], Bits); + std::memcpy(Bits, RHS.Bits, RHSWords * sizeof(BitWord)); clear_unused_bits(); return *this; } // Grow the bitvector to have enough elements. Capacity = RHSWords; - BitWord *NewBits = new BitWord[Capacity]; - std::copy(RHS.Bits, &RHS.Bits[RHSWords], NewBits); + BitWord *NewBits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); + std::memcpy(NewBits, RHS.Bits, Capacity * sizeof(BitWord)); // Destroy the old bits. - delete[] Bits; + std::free(Bits); Bits = NewBits; return *this; @@ -384,17 +391,8 @@ private: } void grow(unsigned NewSize) { - unsigned OldCapacity = Capacity; - Capacity = NumBitWords(NewSize); - BitWord *NewBits = new BitWord[Capacity]; - - // Copy the old bits over. - if (OldCapacity != 0) - std::copy(Bits, &Bits[OldCapacity], NewBits); - - // Destroy the old bits. - delete[] Bits; - Bits = NewBits; + Capacity = std::max(NumBitWords(NewSize), Capacity * 2); + Bits = (BitWord *)std::realloc(Bits, Capacity * sizeof(BitWord)); clear_unused_bits(); } Modified: head/contrib/llvm/include/llvm/ADT/DenseMap.h ============================================================================== --- head/contrib/llvm/include/llvm/ADT/DenseMap.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm/ADT/DenseMap.h Sun Feb 20 19:33:47 2011 (r218893) @@ -18,6 +18,7 @@ #include "llvm/Support/PointerLikeTypeTraits.h" #include "llvm/Support/type_traits.h" #include "llvm/ADT/DenseMapInfo.h" +#include #include #include #include @@ -385,7 +386,7 @@ private: // Insert the key/value into the new table. BucketT *DestBucket; bool FoundVal = LookupBucketFor(B->first, DestBucket); - FoundVal = FoundVal; // silence warning. + (void)FoundVal; // silence warning. assert(!FoundVal && "Key already in new map?"); DestBucket->first = B->first; new (&DestBucket->second) ValueT(B->second); Modified: head/contrib/llvm/include/llvm/ADT/DenseMapInfo.h ============================================================================== --- head/contrib/llvm/include/llvm/ADT/DenseMapInfo.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm/ADT/DenseMapInfo.h Sun Feb 20 19:33:47 2011 (r218893) @@ -102,6 +102,20 @@ template<> struct DenseMapInfo { } }; +// Provide DenseMapInfo for longs. +template<> struct DenseMapInfo { + static inline long getEmptyKey() { + return (1UL << (sizeof(long) * 8 - 1)) - 1L; + } + static inline long getTombstoneKey() { return getEmptyKey() - 1L; } + static unsigned getHashValue(const long& Val) { + return (unsigned)(Val * 37L); + } + static bool isEqual(const long& LHS, const long& RHS) { + return LHS == RHS; + } +}; + // Provide DenseMapInfo for long longs. template<> struct DenseMapInfo { static inline long long getEmptyKey() { return 0x7fffffffffffffffLL; } Modified: head/contrib/llvm/include/llvm/ADT/DenseSet.h ============================================================================== --- head/contrib/llvm/include/llvm/ADT/DenseSet.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm/ADT/DenseSet.h Sun Feb 20 19:33:47 2011 (r218893) @@ -33,6 +33,9 @@ public: bool empty() const { return TheMap.empty(); } unsigned size() const { return TheMap.size(); } + /// Grow the denseset so that it has at least Size buckets. Does not shrink + void resize(size_t Size) { TheMap.resize(Size); } + void clear() { TheMap.clear(); } Modified: head/contrib/llvm/include/llvm/ADT/EquivalenceClasses.h ============================================================================== --- head/contrib/llvm/include/llvm/ADT/EquivalenceClasses.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm/ADT/EquivalenceClasses.h Sun Feb 20 19:33:47 2011 (r218893) @@ -15,7 +15,7 @@ #ifndef LLVM_ADT_EQUIVALENCECLASSES_H #define LLVM_ADT_EQUIVALENCECLASSES_H -#include "llvm/System/DataTypes.h" +#include "llvm/Support/DataTypes.h" #include #include Modified: head/contrib/llvm/include/llvm/ADT/FoldingSet.h ============================================================================== --- head/contrib/llvm/include/llvm/ADT/FoldingSet.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm/ADT/FoldingSet.h Sun Feb 20 19:33:47 2011 (r218893) @@ -16,7 +16,7 @@ #ifndef LLVM_ADT_FOLDINGSET_H #define LLVM_ADT_FOLDINGSET_H -#include "llvm/System/DataTypes.h" +#include "llvm/Support/DataTypes.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" Modified: head/contrib/llvm/include/llvm/ADT/ImmutableIntervalMap.h ============================================================================== --- head/contrib/llvm/include/llvm/ADT/ImmutableIntervalMap.h Sun Feb 20 17:54:49 2011 (r218892) +++ head/contrib/llvm/include/llvm/ADT/ImmutableIntervalMap.h Sun Feb 20 19:33:47 2011 (r218893) @@ -94,7 +94,7 @@ public: : ImutAVLFactory(Alloc) {} TreeTy *Add(TreeTy *T, value_type_ref V) { - T = Add_internal(V,T); + T = add_internal(V,T); this->MarkImmutable(T); return T; *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 20:18:28 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A850E1065675 for ; Sun, 20 Feb 2011 20:18:28 +0000 (UTC) (envelope-from dougb@dougbarton.us) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 168068FC12 for ; Sun, 20 Feb 2011 20:18:27 +0000 (UTC) Received: (qmail 14006 invoked by uid 399); 20 Feb 2011 20:18:27 -0000 Received: from router.ka9q.net (HELO ?192.168.2.9?) (dougb@dougbarton.us@75.60.237.91) by mail2.fluidhosting.com with ESMTPAM; 20 Feb 2011 20:18:27 -0000 X-Originating-IP: 75.60.237.91 X-Sender: dougb@dougbarton.us Message-ID: <4D617713.1010705@dougbarton.us> Date: Sun, 20 Feb 2011 12:18:27 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: "Philip M. Gollucci" References: <201102162123.p1GLN9f9084297@svn.freebsd.org> <4D6065B4.7040709@p6m7g8.com> <4D606FEB.6070806@dougbarton.us> <4D61461E.3000406@p6m7g8.com> In-Reply-To: <4D61461E.3000406@p6m7g8.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218753 - head/etc/namedb X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 20:18:28 -0000 On 2/20/2011 8:49 AM, Philip M. Gollucci wrote: > On 2/19/2011 8:35 PM, Doug Barton wrote: >> On 02/19/2011 16:52, Philip M. Gollucci wrote: >>> On 2/16/2011 4:23 PM, Doug Barton wrote: >>>> Author: dougb >>>> Date: Wed Feb 16 21:23:09 2011 >>>> New Revision: 218753 >>>> URL: http://svn.freebsd.org/changeset/base/218753 >>>> >>>> Log: >>>> Remove in-addr.arpa from the list of zones it is possible to slave >>>> locally >>> This is b/c of the recent change to fix the list of root servers that >>> serve this right ? >> >> Not precisely. in-addr.arpa has moved to its own set of servers operated >> jointly by the RIRs and ICANN. At some point in the near future this >> zone will no longer be available directly from the root servers at all. > > We said the same thing, just I said it badly. Sorry to be pedantic, but it's for a (hopefully) good reason. People often refer to any servers high up in the tree as "the root servers for ..." There is actually only one set of root servers, the ones that serve the actual root zone. For hysterical raisins these servers also served ARPA, and IN-ADDR.ARPA. A little bit better job was done with IP6.ARPA to start with so it was the first to move from one set of servers managed by the RIRs and ICANN to a different set that are similarly named in order to take advantage of name compression in the DNS packet. IN-ADDR.ARPA is the next to move both for compression purposes, and to get the zone off the roots. So, not to pick on you here, my purpose is simply to clarify that they did not change "the list of root servers," they actually changed the delegation of IN-ADDR.ARPA to its own set of name servers. I should probably add that while it's technically possible, it's highly unlikely that ARPA itself will move off the roots. The zone is very small, and very static; and that is incredibly unlikely to change any time in the near future. The IN-ADDR and IP6.ARPA zones on the other hand are both larger, and more dynamic (although IN-ADDR is going to be changing less and less as time goes on). hth, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 21:32:18 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E39041065679; Sun, 20 Feb 2011 21:32:18 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 36BB38FC12; Sun, 20 Feb 2011 21:32:14 +0000 (UTC) Received: from lev.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 2C49A9CB0DE; Sun, 20 Feb 2011 22:32:13 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by lev.vlakno.cz (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z3ExIvCwCkaH; Sun, 20 Feb 2011 22:31:47 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id DF8A79CB4FF; Sun, 20 Feb 2011 22:31:47 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.4/8.14.4/Submit) id p1KLVlYN022714; Sun, 20 Feb 2011 22:31:47 +0100 (CET) (envelope-from rdivacky) Date: Sun, 20 Feb 2011 22:31:47 +0100 From: Roman Divacky To: Dimitry Andric Message-ID: <20110220213147.GA22080@freebsd.org> References: <201102201933.p1KJXm1N042245@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201102201933.p1KJXm1N042245@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r218893 - in head: . contrib/llvm/include/llvm contrib/llvm/include/llvm-c contrib/llvm/include/llvm-c/Transforms contrib/llvm/include/llvm/ADT contrib/llvm/include/llvm/Analysis contri... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 21:32:19 -0000 with this update gnu as is no longer used when compiling stuff on i386 and amd64. if you encounter problems try to add "-no-integrated-as" to the command line and if that fixes the problem please report that to me or dim@. the integrated assembler is considered production ready and generally supports everything gnu as does, there are a few exceptions though. most notably, .code16 support. There are a few files in freebsd that cant be compiled with the integrated assembler because of this but everything else should just work. enjoy using it :) On Sun, Feb 20, 2011 at 07:33:48PM +0000, Dimitry Andric wrote: > Author: dim > Date: Sun Feb 20 19:33:47 2011 > New Revision: 218893 > URL: http://svn.freebsd.org/changeset/base/218893 > > Log: > Upgrade our copy of llvm/clang to r126079, from upstream's trunk. > > This contains many improvements, primarily better C++ support, an > integrated assembler for x86 and support for -pg. > > Added: > head/contrib/llvm/include/llvm-c/Initialization.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm-c/Initialization.h > head/contrib/llvm/include/llvm/ADT/ArrayRef.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/ADT/ArrayRef.h > head/contrib/llvm/include/llvm/ADT/InMemoryStruct.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/ADT/InMemoryStruct.h > head/contrib/llvm/include/llvm/ADT/IntEqClasses.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/ADT/IntEqClasses.h > head/contrib/llvm/include/llvm/ADT/IntervalMap.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/ADT/IntervalMap.h > head/contrib/llvm/include/llvm/Analysis/DIBuilder.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Analysis/DIBuilder.h > head/contrib/llvm/include/llvm/Analysis/DominanceFrontier.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Analysis/DominanceFrontier.h > head/contrib/llvm/include/llvm/Analysis/PathNumbering.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Analysis/PathNumbering.h > head/contrib/llvm/include/llvm/Analysis/PathProfileInfo.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Analysis/PathProfileInfo.h > head/contrib/llvm/include/llvm/Analysis/RegionPass.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Analysis/RegionPass.h > head/contrib/llvm/include/llvm/CodeGen/EdgeBundles.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/CodeGen/EdgeBundles.h > head/contrib/llvm/include/llvm/CodeGen/MachineLoopRanges.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/CodeGen/MachineLoopRanges.h > head/contrib/llvm/include/llvm/CodeGen/PBQP/ > - copied from r218888, vendor/llvm/dist/include/llvm/CodeGen/PBQP/ > head/contrib/llvm/include/llvm/CodeGen/RegAllocPBQP.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/CodeGen/RegAllocPBQP.h > head/contrib/llvm/include/llvm/CodeGen/ScoreboardHazardRecognizer.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/CodeGen/ScoreboardHazardRecognizer.h > head/contrib/llvm/include/llvm/ExecutionEngine/MCJIT.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/ExecutionEngine/MCJIT.h > head/contrib/llvm/include/llvm/InitializePasses.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/InitializePasses.h > head/contrib/llvm/include/llvm/MC/MCELFObjectWriter.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/MC/MCELFObjectWriter.h > head/contrib/llvm/include/llvm/MC/MCFixupKindInfo.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/MC/MCFixupKindInfo.h > head/contrib/llvm/include/llvm/MC/MCMachObjectWriter.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/MC/MCMachObjectWriter.h > head/contrib/llvm/include/llvm/Object/ > - copied from r218888, vendor/llvm/dist/include/llvm/Object/ > head/contrib/llvm/include/llvm/Support/AIXDataTypesFix.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/AIXDataTypesFix.h > head/contrib/llvm/include/llvm/Support/Atomic.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Atomic.h > head/contrib/llvm/include/llvm/Support/DataTypes.h.in > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/DataTypes.h.in > head/contrib/llvm/include/llvm/Support/Disassembler.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Disassembler.h > head/contrib/llvm/include/llvm/Support/DynamicLibrary.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/DynamicLibrary.h > head/contrib/llvm/include/llvm/Support/Endian.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Endian.h > head/contrib/llvm/include/llvm/Support/Errno.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Errno.h > head/contrib/llvm/include/llvm/Support/FEnv.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/FEnv.h > head/contrib/llvm/include/llvm/Support/FileSystem.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/FileSystem.h > head/contrib/llvm/include/llvm/Support/Host.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Host.h > head/contrib/llvm/include/llvm/Support/IncludeFile.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/IncludeFile.h > head/contrib/llvm/include/llvm/Support/Memory.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Memory.h > head/contrib/llvm/include/llvm/Support/Mutex.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Mutex.h > head/contrib/llvm/include/llvm/Support/Path.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Path.h > head/contrib/llvm/include/llvm/Support/PathV1.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/PathV1.h > head/contrib/llvm/include/llvm/Support/PathV2.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/PathV2.h > head/contrib/llvm/include/llvm/Support/Process.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Process.h > head/contrib/llvm/include/llvm/Support/Program.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Program.h > head/contrib/llvm/include/llvm/Support/RWMutex.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/RWMutex.h > head/contrib/llvm/include/llvm/Support/Signals.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Signals.h > head/contrib/llvm/include/llvm/Support/Solaris.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Solaris.h > head/contrib/llvm/include/llvm/Support/SwapByteOrder.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/SwapByteOrder.h > head/contrib/llvm/include/llvm/Support/ThreadLocal.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/ThreadLocal.h > head/contrib/llvm/include/llvm/Support/Threading.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Threading.h > head/contrib/llvm/include/llvm/Support/TimeValue.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/TimeValue.h > head/contrib/llvm/include/llvm/Support/ToolOutputFile.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/ToolOutputFile.h > head/contrib/llvm/include/llvm/Support/Valgrind.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/Valgrind.h > head/contrib/llvm/include/llvm/Support/system_error.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Support/system_error.h > head/contrib/llvm/include/llvm/Target/TargetAsmInfo.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Target/TargetAsmInfo.h > head/contrib/llvm/include/llvm/Target/TargetFrameLowering.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Target/TargetFrameLowering.h > head/contrib/llvm/include/llvm/Target/TargetLibraryInfo.h > - copied unchanged from r218888, vendor/llvm/dist/include/llvm/Target/TargetLibraryInfo.h > head/contrib/llvm/lib/Analysis/DIBuilder.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/DIBuilder.cpp > head/contrib/llvm/lib/Analysis/DominanceFrontier.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/DominanceFrontier.cpp > head/contrib/llvm/lib/Analysis/IPA/IPA.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/IPA/IPA.cpp > head/contrib/llvm/lib/Analysis/MemDepPrinter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/MemDepPrinter.cpp > head/contrib/llvm/lib/Analysis/NoAliasAnalysis.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/NoAliasAnalysis.cpp > head/contrib/llvm/lib/Analysis/PathNumbering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/PathNumbering.cpp > head/contrib/llvm/lib/Analysis/PathProfileInfo.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/PathProfileInfo.cpp > head/contrib/llvm/lib/Analysis/PathProfileVerifier.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/PathProfileVerifier.cpp > head/contrib/llvm/lib/Analysis/RegionPass.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Analysis/RegionPass.cpp > head/contrib/llvm/lib/CodeGen/AllocationOrder.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/AllocationOrder.cpp > head/contrib/llvm/lib/CodeGen/AllocationOrder.h > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/AllocationOrder.h > head/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp > head/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfTableException.cpp > head/contrib/llvm/lib/CodeGen/CodeGen.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/CodeGen.cpp > head/contrib/llvm/lib/CodeGen/EdgeBundles.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/EdgeBundles.cpp > head/contrib/llvm/lib/CodeGen/ExpandISelPseudos.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/ExpandISelPseudos.cpp > head/contrib/llvm/lib/CodeGen/LiveDebugVariables.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/LiveDebugVariables.cpp > head/contrib/llvm/lib/CodeGen/LiveDebugVariables.h > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/LiveDebugVariables.h > head/contrib/llvm/lib/CodeGen/LiveIntervalUnion.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/LiveIntervalUnion.cpp > head/contrib/llvm/lib/CodeGen/LiveIntervalUnion.h > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/LiveIntervalUnion.h > head/contrib/llvm/lib/CodeGen/LiveRangeEdit.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/LiveRangeEdit.cpp > head/contrib/llvm/lib/CodeGen/LiveRangeEdit.h > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/LiveRangeEdit.h > head/contrib/llvm/lib/CodeGen/MachineLoopRanges.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/MachineLoopRanges.cpp > head/contrib/llvm/lib/CodeGen/PHIEliminationUtils.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/PHIEliminationUtils.cpp > head/contrib/llvm/lib/CodeGen/PHIEliminationUtils.h > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/PHIEliminationUtils.h > head/contrib/llvm/lib/CodeGen/RegAllocBase.h > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/RegAllocBase.h > head/contrib/llvm/lib/CodeGen/RegAllocBasic.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/RegAllocBasic.cpp > head/contrib/llvm/lib/CodeGen/RegAllocGreedy.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/RegAllocGreedy.cpp > head/contrib/llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/ScoreboardHazardRecognizer.cpp > head/contrib/llvm/lib/CodeGen/SpillPlacement.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/SpillPlacement.cpp > head/contrib/llvm/lib/CodeGen/SpillPlacement.h > - copied unchanged from r218888, vendor/llvm/dist/lib/CodeGen/SpillPlacement.h > head/contrib/llvm/lib/ExecutionEngine/MCJIT/ > - copied from r218888, vendor/llvm/dist/lib/ExecutionEngine/MCJIT/ > head/contrib/llvm/lib/MC/MCELFObjectTargetWriter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/MC/MCELFObjectTargetWriter.cpp > head/contrib/llvm/lib/MC/MCMachObjectTargetWriter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/MC/MCMachObjectTargetWriter.cpp > head/contrib/llvm/lib/MC/MCParser/COFFAsmParser.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/MC/MCParser/COFFAsmParser.cpp > head/contrib/llvm/lib/MC/MCPureStreamer.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/MC/MCPureStreamer.cpp > head/contrib/llvm/lib/Object/ > - copied from r218888, vendor/llvm/dist/lib/Object/ > head/contrib/llvm/lib/Support/Atomic.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Atomic.cpp > head/contrib/llvm/lib/Support/Disassembler.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Disassembler.cpp > head/contrib/llvm/lib/Support/DynamicLibrary.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/DynamicLibrary.cpp > head/contrib/llvm/lib/Support/Errno.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Errno.cpp > head/contrib/llvm/lib/Support/Host.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Host.cpp > head/contrib/llvm/lib/Support/IncludeFile.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/IncludeFile.cpp > head/contrib/llvm/lib/Support/IntEqClasses.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/IntEqClasses.cpp > head/contrib/llvm/lib/Support/IntervalMap.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/IntervalMap.cpp > head/contrib/llvm/lib/Support/Memory.cpp > - copied, changed from r218888, vendor/llvm/dist/lib/Support/Memory.cpp > head/contrib/llvm/lib/Support/Mutex.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Mutex.cpp > head/contrib/llvm/lib/Support/Path.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Path.cpp > head/contrib/llvm/lib/Support/PathV2.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/PathV2.cpp > head/contrib/llvm/lib/Support/Process.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Process.cpp > head/contrib/llvm/lib/Support/Program.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Program.cpp > head/contrib/llvm/lib/Support/RWMutex.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/RWMutex.cpp > head/contrib/llvm/lib/Support/SearchForAddressOfSpecialSymbol.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/SearchForAddressOfSpecialSymbol.cpp > head/contrib/llvm/lib/Support/Signals.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Signals.cpp > head/contrib/llvm/lib/Support/ThreadLocal.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/ThreadLocal.cpp > head/contrib/llvm/lib/Support/Threading.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Threading.cpp > head/contrib/llvm/lib/Support/TimeValue.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/TimeValue.cpp > head/contrib/llvm/lib/Support/ToolOutputFile.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/ToolOutputFile.cpp > head/contrib/llvm/lib/Support/Unix/ > - copied from r218888, vendor/llvm/dist/lib/Support/Unix/ > head/contrib/llvm/lib/Support/Valgrind.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/Valgrind.cpp > head/contrib/llvm/lib/Support/Windows/ > - copied from r218888, vendor/llvm/dist/lib/Support/Windows/ > head/contrib/llvm/lib/Support/system_error.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Support/system_error.cpp > head/contrib/llvm/lib/Target/ARM/ARMAsmBackend.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMAsmBackend.cpp > head/contrib/llvm/lib/Target/ARM/ARMAsmPrinter.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMAsmPrinter.h > head/contrib/llvm/lib/Target/ARM/ARMBaseInfo.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMBaseInfo.h > head/contrib/llvm/lib/Target/ARM/ARMCallingConv.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMCallingConv.h > head/contrib/llvm/lib/Target/ARM/ARMELFWriterInfo.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMELFWriterInfo.cpp > head/contrib/llvm/lib/Target/ARM/ARMELFWriterInfo.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMELFWriterInfo.h > head/contrib/llvm/lib/Target/ARM/ARMFixupKinds.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMFixupKinds.h > head/contrib/llvm/lib/Target/ARM/ARMFrameLowering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMFrameLowering.cpp > head/contrib/llvm/lib/Target/ARM/ARMFrameLowering.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMFrameLowering.h > head/contrib/llvm/lib/Target/ARM/ARMHazardRecognizer.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMHazardRecognizer.cpp > head/contrib/llvm/lib/Target/ARM/ARMHazardRecognizer.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMHazardRecognizer.h > head/contrib/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMMCCodeEmitter.cpp > head/contrib/llvm/lib/Target/ARM/ARMMCExpr.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMMCExpr.cpp > head/contrib/llvm/lib/Target/ARM/ARMMCExpr.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/ARMMCExpr.h > head/contrib/llvm/lib/Target/ARM/InstPrinter/ > - copied from r218888, vendor/llvm/dist/lib/Target/ARM/InstPrinter/ > head/contrib/llvm/lib/Target/ARM/MLxExpansionPass.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/MLxExpansionPass.cpp > head/contrib/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/Thumb1FrameLowering.cpp > head/contrib/llvm/lib/Target/ARM/Thumb1FrameLowering.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/ARM/Thumb1FrameLowering.h > head/contrib/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Alpha/AlphaAsmPrinter.cpp > head/contrib/llvm/lib/Target/Alpha/AlphaFrameLowering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Alpha/AlphaFrameLowering.cpp > head/contrib/llvm/lib/Target/Alpha/AlphaFrameLowering.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Alpha/AlphaFrameLowering.h > head/contrib/llvm/lib/Target/Blackfin/BlackfinAsmPrinter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Blackfin/BlackfinAsmPrinter.cpp > head/contrib/llvm/lib/Target/Blackfin/BlackfinFrameLowering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Blackfin/BlackfinFrameLowering.cpp > head/contrib/llvm/lib/Target/Blackfin/BlackfinFrameLowering.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Blackfin/BlackfinFrameLowering.h > head/contrib/llvm/lib/Target/CellSPU/SPUAsmPrinter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/CellSPU/SPUAsmPrinter.cpp > head/contrib/llvm/lib/Target/CellSPU/SPUFrameLowering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/CellSPU/SPUFrameLowering.cpp > head/contrib/llvm/lib/Target/CellSPU/SPUFrameLowering.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/CellSPU/SPUFrameLowering.h > head/contrib/llvm/lib/Target/CellSPU/SPUNopFiller.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/CellSPU/SPUNopFiller.cpp > head/contrib/llvm/lib/Target/MBlaze/AsmParser/ > - copied from r218888, vendor/llvm/dist/lib/Target/MBlaze/AsmParser/ > head/contrib/llvm/lib/Target/MBlaze/Disassembler/ > - copied from r218888, vendor/llvm/dist/lib/Target/MBlaze/Disassembler/ > head/contrib/llvm/lib/Target/MBlaze/InstPrinter/ > - copied from r218888, vendor/llvm/dist/lib/Target/MBlaze/InstPrinter/ > head/contrib/llvm/lib/Target/MBlaze/MBlazeAsmBackend.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeAsmBackend.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeAsmPrinter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeAsmPrinter.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeELFWriterInfo.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeELFWriterInfo.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeELFWriterInfo.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeELFWriterInfo.h > head/contrib/llvm/lib/Target/MBlaze/MBlazeFrameLowering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeFrameLowering.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeFrameLowering.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeFrameLowering.h > head/contrib/llvm/lib/Target/MBlaze/MBlazeMCCodeEmitter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeMCCodeEmitter.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeMCInstLower.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeMCInstLower.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeMCInstLower.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeMCInstLower.h > head/contrib/llvm/lib/Target/MBlaze/MBlazeRelocations.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MBlaze/MBlazeRelocations.h > head/contrib/llvm/lib/Target/MSP430/InstPrinter/ > - copied from r218888, vendor/llvm/dist/lib/Target/MSP430/InstPrinter/ > head/contrib/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MSP430/MSP430AsmPrinter.cpp > head/contrib/llvm/lib/Target/MSP430/MSP430FrameLowering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MSP430/MSP430FrameLowering.cpp > head/contrib/llvm/lib/Target/MSP430/MSP430FrameLowering.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MSP430/MSP430FrameLowering.h > head/contrib/llvm/lib/Target/MSP430/MSP430MCInstLower.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MSP430/MSP430MCInstLower.cpp > head/contrib/llvm/lib/Target/MSP430/MSP430MCInstLower.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/MSP430/MSP430MCInstLower.h > head/contrib/llvm/lib/Target/Mips/MipsAsmPrinter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Mips/MipsAsmPrinter.cpp > head/contrib/llvm/lib/Target/Mips/MipsFrameLowering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Mips/MipsFrameLowering.cpp > head/contrib/llvm/lib/Target/Mips/MipsFrameLowering.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Mips/MipsFrameLowering.h > head/contrib/llvm/lib/Target/PTX/ > - copied from r218888, vendor/llvm/dist/lib/Target/PTX/ > head/contrib/llvm/lib/Target/PowerPC/InstPrinter/ > - copied from r218888, vendor/llvm/dist/lib/Target/PowerPC/InstPrinter/ > head/contrib/llvm/lib/Target/PowerPC/PPCAsmBackend.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/PowerPC/PPCAsmBackend.cpp > head/contrib/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/PowerPC/PPCAsmPrinter.cpp > head/contrib/llvm/lib/Target/PowerPC/PPCFixupKinds.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/PowerPC/PPCFixupKinds.h > head/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/PowerPC/PPCFrameLowering.cpp > head/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/PowerPC/PPCFrameLowering.h > head/contrib/llvm/lib/Target/PowerPC/PPCMCCodeEmitter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/PowerPC/PPCMCCodeEmitter.cpp > head/contrib/llvm/lib/Target/PowerPC/PPCMCInstLower.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/PowerPC/PPCMCInstLower.cpp > head/contrib/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Sparc/SparcAsmPrinter.cpp > head/contrib/llvm/lib/Target/Sparc/SparcFrameLowering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Sparc/SparcFrameLowering.cpp > head/contrib/llvm/lib/Target/Sparc/SparcFrameLowering.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/Sparc/SparcFrameLowering.h > head/contrib/llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/SystemZ/SystemZAsmPrinter.cpp > head/contrib/llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/SystemZ/SystemZFrameLowering.cpp > head/contrib/llvm/lib/Target/SystemZ/SystemZFrameLowering.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/SystemZ/SystemZFrameLowering.h > head/contrib/llvm/lib/Target/TargetAsmInfo.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/TargetAsmInfo.cpp > head/contrib/llvm/lib/Target/TargetFrameLowering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/TargetFrameLowering.cpp > head/contrib/llvm/lib/Target/TargetLibraryInfo.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/TargetLibraryInfo.cpp > head/contrib/llvm/lib/Target/X86/InstPrinter/ > - copied from r218888, vendor/llvm/dist/lib/Target/X86/InstPrinter/ > head/contrib/llvm/lib/Target/X86/Utils/ > - copied from r218888, vendor/llvm/dist/lib/Target/X86/Utils/ > head/contrib/llvm/lib/Target/X86/X86FrameLowering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86FrameLowering.cpp > head/contrib/llvm/lib/Target/X86/X86FrameLowering.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86FrameLowering.h > head/contrib/llvm/lib/Target/X86/X86Instr3DNow.td > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86Instr3DNow.td > head/contrib/llvm/lib/Target/X86/X86InstrArithmetic.td > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrArithmetic.td > head/contrib/llvm/lib/Target/X86/X86InstrCMovSetCC.td > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrCMovSetCC.td > head/contrib/llvm/lib/Target/X86/X86InstrCompiler.td > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrCompiler.td > head/contrib/llvm/lib/Target/X86/X86InstrControl.td > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrControl.td > head/contrib/llvm/lib/Target/X86/X86InstrExtension.td > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrExtension.td > head/contrib/llvm/lib/Target/X86/X86InstrShiftRotate.td > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrShiftRotate.td > head/contrib/llvm/lib/Target/X86/X86InstrSystem.td > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrSystem.td > head/contrib/llvm/lib/Target/X86/X86InstrVMX.td > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86InstrVMX.td > head/contrib/llvm/lib/Target/X86/X86MachObjectWriter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/X86/X86MachObjectWriter.cpp > head/contrib/llvm/lib/Target/XCore/XCoreAsmPrinter.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/XCore/XCoreAsmPrinter.cpp > head/contrib/llvm/lib/Target/XCore/XCoreFrameLowering.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/XCore/XCoreFrameLowering.cpp > head/contrib/llvm/lib/Target/XCore/XCoreFrameLowering.h > - copied unchanged from r218888, vendor/llvm/dist/lib/Target/XCore/XCoreFrameLowering.h > head/contrib/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Transforms/Instrumentation/Instrumentation.cpp > head/contrib/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Transforms/Instrumentation/PathProfiling.cpp > head/contrib/llvm/lib/Transforms/Scalar/EarlyCSE.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Transforms/Scalar/EarlyCSE.cpp > head/contrib/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Transforms/Scalar/LoopIdiomRecognize.cpp > head/contrib/llvm/lib/Transforms/Scalar/LoopInstSimplify.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Transforms/Scalar/LoopInstSimplify.cpp > head/contrib/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Transforms/Utils/SimplifyInstructions.cpp > head/contrib/llvm/lib/Transforms/Utils/Utils.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/Transforms/Utils/Utils.cpp > head/contrib/llvm/lib/VMCore/User.cpp > - copied unchanged from r218888, vendor/llvm/dist/lib/VMCore/User.cpp > head/contrib/llvm/tools/clang/include/clang/AST/ASTMutationListener.h > - copied unchanged from r218888, vendor/clang/dist/include/clang/AST/ASTMutationListener.h > head/contrib/llvm/tools/clang/include/clang/AST/EvaluatedExprVisitor.h > - copied unchanged from r218888, vendor/clang/dist/include/clang/AST/EvaluatedExprVisitor.h > head/contrib/llvm/tools/clang/include/clang/AST/Mangle.h > - copied unchanged from r218888, vendor/clang/dist/include/clang/AST/Mangle.h > head/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/UninitializedValuesV2.h > - copied unchanged from r218888, vendor/clang/dist/include/clang/Analysis/Analyses/UninitializedValuesV2.h > head/contrib/llvm/tools/clang/include/clang/Analysis/DomainSpecific/ > - copied from r218888, vendor/clang/dist/include/clang/Analysis/DomainSpecific/ > head/contrib/llvm/tools/clang/include/clang/Basic/ABI.h > - copied unchanged from r218888, vendor/clang/dist/include/clang/Basic/ABI.h > head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticIDs.h > - copied unchanged from r218888, vendor/clang/dist/include/clang/Basic/DiagnosticIDs.h > head/contrib/llvm/tools/clang/include/clang/Basic/FileSystemOptions.h > - copied unchanged from r218888, vendor/clang/dist/include/clang/Basic/FileSystemOptions.h > head/contrib/llvm/tools/clang/include/clang/Basic/FileSystemStatCache.h > - copied unchanged from r218888, vendor/clang/dist/include/clang/Basic/FileSystemStatCache.h > head/contrib/llvm/tools/clang/include/clang/Basic/OpenCLExtensions.def > - copied unchanged from r218888, vendor/clang/dist/include/clang/Basic/OpenCLExtensions.def > head/contrib/llvm/tools/clang/include/clang/Basic/Visibility.h > - copied unchanged from r218888, vendor/clang/dist/include/clang/Basic/Visibility.h > head/contrib/llvm/tools/clang/include/clang/Config/ > - copied from r218888, vendor/clang/dist/include/clang/Config/ > head/contrib/llvm/tools/clang/include/clang/Frontend/MultiplexConsumer.h > - copied unchanged from r218888, vendor/clang/dist/include/clang/Frontend/MultiplexConsumer.h > head/contrib/llvm/tools/clang/include/clang/Serialization/ASTSerializationListener.h > - copied unchanged from r218888, vendor/clang/dist/include/clang/Serialization/ASTSerializationListener.h > head/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/ > - copied from r218888, vendor/clang/dist/include/clang/StaticAnalyzer/ > head/contrib/llvm/tools/clang/lib/AST/DumpXML.cpp > - copied unchanged from r218888, vendor/clang/dist/lib/AST/DumpXML.cpp > head/contrib/llvm/tools/clang/lib/AST/ItaniumMangle.cpp > - copied unchanged from r218888, vendor/clang/dist/lib/AST/ItaniumMangle.cpp > head/contrib/llvm/tools/clang/lib/AST/Mangle.cpp > - copied unchanged from r218888, vendor/clang/dist/lib/AST/Mangle.cpp > head/contrib/llvm/tools/clang/lib/AST/MicrosoftMangle.cpp > - copied unchanged from r218888, vendor/clang/dist/lib/AST/MicrosoftMangle.cpp > head/contrib/llvm/tools/clang/lib/Analysis/CocoaConventions.cpp > - copied unchanged from r218888, vendor/clang/dist/lib/Analysis/CocoaConventions.cpp > head/contrib/llvm/tools/clang/lib/Analysis/UninitializedValuesV2.cpp > - copied unchanged from r218888, vendor/clang/dist/lib/Analysis/UninitializedValuesV2.cpp > head/contrib/llvm/tools/clang/lib/Basic/DiagnosticIDs.cpp > - copied unchanged from r218888, vendor/clang/dist/lib/Basic/DiagnosticIDs.cpp > head/contrib/llvm/tools/clang/lib/Basic/FileSystemStatCache.cpp > - copied unchanged from r218888, vendor/clang/dist/lib/Basic/FileSystemStatCache.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGCXXABI.cpp > - copied unchanged from r218888, vendor/clang/dist/lib/CodeGen/CGCXXABI.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGCleanup.cpp > - copied unchanged from r218888, vendor/clang/dist/lib/CodeGen/CGCleanup.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGCleanup.h > - copied unchanged from r218888, vendor/clang/dist/lib/CodeGen/CGCleanup.h > head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTBAA.cpp > - copied unchanged from r218888, vendor/clang/dist/lib/CodeGen/CodeGenTBAA.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTBAA.h > - copied unchanged from r218888, vendor/clang/dist/lib/CodeGen/CodeGenTBAA.h > head/contrib/llvm/tools/clang/lib/Frontend/HeaderIncludeGen.cpp > - copied unchanged from r218888, vendor/clang/dist/lib/Frontend/HeaderIncludeGen.cpp > head/contrib/llvm/tools/clang/lib/Frontend/MultiplexConsumer.cpp > - copied unchanged from r218888, vendor/clang/dist/lib/Frontend/MultiplexConsumer.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaTemplateVariadic.cpp > - copied unchanged from r218888, vendor/clang/dist/lib/Sema/SemaTemplateVariadic.cpp > head/contrib/llvm/tools/clang/lib/Sema/TypeLocBuilder.h > - copied unchanged from r218888, vendor/clang/dist/lib/Sema/TypeLocBuilder.h > head/contrib/llvm/tools/clang/lib/StaticAnalyzer/ > - copied from r218888, vendor/clang/dist/lib/StaticAnalyzer/ > head/contrib/llvm/utils/TableGen/ClangSACheckersEmitter.cpp > - copied unchanged from r218888, vendor/llvm/dist/utils/TableGen/ClangSACheckersEmitter.cpp > head/contrib/llvm/utils/TableGen/ClangSACheckersEmitter.h > - copied unchanged from r218888, vendor/llvm/dist/utils/TableGen/ClangSACheckersEmitter.h > head/contrib/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp > - copied unchanged from r218888, vendor/llvm/dist/utils/TableGen/FixedLenDecoderEmitter.cpp > head/contrib/llvm/utils/TableGen/FixedLenDecoderEmitter.h > - copied unchanged from r218888, vendor/llvm/dist/utils/TableGen/FixedLenDecoderEmitter.h > head/contrib/llvm/utils/TableGen/StringMatcher.cpp > - copied unchanged from r218888, vendor/llvm/dist/utils/TableGen/StringMatcher.cpp > head/contrib/llvm/utils/TableGen/StringMatcher.h > - copied unchanged from r218888, vendor/llvm/dist/utils/TableGen/StringMatcher.h > head/lib/clang/include/ARMGenDecoderTables.inc (contents, props changed) > head/lib/clang/include/ARMGenEDInfo.inc (contents, props changed) > head/lib/clang/include/ARMGenMCCodeEmitter.inc (contents, props changed) > head/lib/clang/include/Checkers.inc (contents, props changed) > head/lib/clang/include/PPCGenMCCodeEmitter.inc (contents, props changed) > head/lib/clang/include/clang/Lex/ > head/lib/clang/include/clang/Lex/AttrSpellings.inc (contents, props changed) > head/lib/clang/include/llvm/Support/ > head/lib/clang/include/llvm/Support/DataTypes.h (contents, props changed) > head/lib/clang/libclangstaticanalyzercheckers/ > head/lib/clang/libclangstaticanalyzercheckers/Makefile (contents, props changed) > head/lib/clang/libclangstaticanalyzercore/ > head/lib/clang/libclangstaticanalyzercore/Makefile (contents, props changed) > head/lib/clang/libclangstaticanalyzerfrontend/ > head/lib/clang/libclangstaticanalyzerfrontend/Makefile (contents, props changed) > head/lib/clang/libllvmarmdisassembler/ > head/lib/clang/libllvmarmdisassembler/Makefile (contents, props changed) > head/lib/clang/libllvmarminstprinter/ > head/lib/clang/libllvmarminstprinter/Makefile (contents, props changed) > head/lib/clang/libllvmpowerpcinstprinter/ > head/lib/clang/libllvmpowerpcinstprinter/Makefile (contents, props changed) > head/lib/clang/libllvmx86instprinter/ > head/lib/clang/libllvmx86instprinter/Makefile (contents, props changed) > head/lib/clang/libllvmx86utils/ > head/lib/clang/libllvmx86utils/Makefile (contents, props changed) > Deleted: > head/contrib/llvm/include/llvm/Analysis/PointerTracking.h > head/contrib/llvm/include/llvm/CodeGen/PostRAHazardRecognizer.h > head/contrib/llvm/include/llvm/MC/ELFObjectWriter.h > head/contrib/llvm/include/llvm/MC/MachObjectWriter.h > head/contrib/llvm/include/llvm/Support/DynamicLinker.h > head/contrib/llvm/include/llvm/Support/StableBasicBlockNumbering.h > head/contrib/llvm/include/llvm/System/ > head/contrib/llvm/include/llvm/Target/TargetFrameInfo.h > head/contrib/llvm/include/llvm/Transforms/RSProfiling.h > head/contrib/llvm/lib/Analysis/PointerTracking.cpp > head/contrib/llvm/lib/CodeGen/PBQP/ > head/contrib/llvm/lib/CodeGen/PHIElimination.h > head/contrib/llvm/lib/CodeGen/PostRAHazardRecognizer.cpp > head/contrib/llvm/lib/System/ > head/contrib/llvm/lib/Target/ARM/ARMFrameInfo.h > head/contrib/llvm/lib/Target/ARM/ARMMCInstLower.h > head/contrib/llvm/lib/Target/ARM/AsmPrinter/ > head/contrib/llvm/lib/Target/ARM/NEONPreAllocPass.cpp > head/contrib/llvm/lib/Target/ARM/Thumb2HazardRecognizer.cpp > head/contrib/llvm/lib/Target/ARM/Thumb2HazardRecognizer.h > head/contrib/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp > head/contrib/llvm/lib/Target/Alpha/AlphaJITInfo.cpp > head/contrib/llvm/lib/Target/Alpha/AlphaJITInfo.h > head/contrib/llvm/lib/Target/Alpha/AsmPrinter/ > head/contrib/llvm/lib/Target/Blackfin/AsmPrinter/ > head/contrib/llvm/lib/Target/CellSPU/AsmPrinter/ > head/contrib/llvm/lib/Target/CellSPU/SPUFrameInfo.cpp > head/contrib/llvm/lib/Target/CellSPU/SPUFrameInfo.h > head/contrib/llvm/lib/Target/MBlaze/AsmPrinter/ > head/contrib/llvm/lib/Target/MSP430/AsmPrinter/ > head/contrib/llvm/lib/Target/Mips/AsmPrinter/ > head/contrib/llvm/lib/Target/PIC16/ > head/contrib/llvm/lib/Target/PowerPC/AsmPrinter/ > head/contrib/llvm/lib/Target/PowerPC/PPCFrameInfo.h > head/contrib/llvm/lib/Target/Sparc/AsmPrinter/ > head/contrib/llvm/lib/Target/SystemZ/AsmPrinter/ > head/contrib/llvm/lib/Target/TargetFrameInfo.cpp > head/contrib/llvm/lib/Target/X86/AsmPrinter/ > head/contrib/llvm/lib/Target/X86/X86Instr64bit.td > head/contrib/llvm/lib/Target/X86/X86ShuffleDecode.h > head/contrib/llvm/lib/Target/XCore/AsmPrinter/ > head/contrib/llvm/lib/Target/XCore/XCoreFrameInfo.cpp > head/contrib/llvm/lib/Target/XCore/XCoreFrameInfo.h > head/contrib/llvm/lib/Transforms/IPO/PartialSpecialization.cpp > head/contrib/llvm/lib/Transforms/Scalar/LoopIndexSplit.cpp > head/contrib/llvm/tools/clang/include/clang/AST/FullExpr.h > head/contrib/llvm/tools/clang/include/clang/AST/TypeLocBuilder.h > head/contrib/llvm/tools/clang/include/clang/Checker/ > head/contrib/llvm/tools/clang/lib/AST/FullExpr.cpp > head/contrib/llvm/tools/clang/lib/Checker/ > head/contrib/llvm/tools/clang/lib/CodeGen/CGCXX.h > head/contrib/llvm/tools/clang/lib/CodeGen/Mangle.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/Mangle.h > head/lib/clang/include/llvm/ADT/ > head/lib/clang/include/llvm/System/ > head/lib/clang/libclangchecker/ > head/lib/clang/libllvmarmasmprinter/ > head/lib/clang/libllvmmipsasmprinter/ > head/lib/clang/libllvmpowerpcasmprinter/ > head/lib/clang/libllvmsystem/ > head/lib/clang/libllvmx86asmprinter/ > Modified: > head/Makefile.inc1 > head/ObsoleteFiles.inc > head/contrib/llvm/include/llvm-c/Core.h > head/contrib/llvm/include/llvm-c/EnhancedDisassembly.h > head/contrib/llvm/include/llvm-c/LinkTimeOptimizer.h > head/contrib/llvm/include/llvm-c/Transforms/Scalar.h > head/contrib/llvm/include/llvm-c/lto.h > head/contrib/llvm/include/llvm/ADT/APFloat.h > head/contrib/llvm/include/llvm/ADT/APInt.h > head/contrib/llvm/include/llvm/ADT/APSInt.h > head/contrib/llvm/include/llvm/ADT/BitVector.h > head/contrib/llvm/include/llvm/ADT/DenseMap.h > head/contrib/llvm/include/llvm/ADT/DenseMapInfo.h > head/contrib/llvm/include/llvm/ADT/DenseSet.h > head/contrib/llvm/include/llvm/ADT/EquivalenceClasses.h > head/contrib/llvm/include/llvm/ADT/FoldingSet.h > head/contrib/llvm/include/llvm/ADT/ImmutableIntervalMap.h > head/contrib/llvm/include/llvm/ADT/ImmutableList.h > head/contrib/llvm/include/llvm/ADT/ImmutableMap.h > head/contrib/llvm/include/llvm/ADT/ImmutableSet.h > head/contrib/llvm/include/llvm/ADT/IndexedMap.h > head/contrib/llvm/include/llvm/ADT/Optional.h > head/contrib/llvm/include/llvm/ADT/PointerIntPair.h > head/contrib/llvm/include/llvm/ADT/PointerUnion.h > head/contrib/llvm/include/llvm/ADT/PostOrderIterator.h > head/contrib/llvm/include/llvm/ADT/SCCIterator.h > head/contrib/llvm/include/llvm/ADT/ScopedHashTable.h > head/contrib/llvm/include/llvm/ADT/SetVector.h > head/contrib/llvm/include/llvm/ADT/SmallBitVector.h > head/contrib/llvm/include/llvm/ADT/SmallPtrSet.h > head/contrib/llvm/include/llvm/ADT/SmallString.h > head/contrib/llvm/include/llvm/ADT/SmallVector.h > head/contrib/llvm/include/llvm/ADT/SparseBitVector.h > head/contrib/llvm/include/llvm/ADT/Statistic.h > head/contrib/llvm/include/llvm/ADT/StringExtras.h > head/contrib/llvm/include/llvm/ADT/StringMap.h > head/contrib/llvm/include/llvm/ADT/StringRef.h > head/contrib/llvm/include/llvm/ADT/Triple.h > head/contrib/llvm/include/llvm/ADT/Twine.h > head/contrib/llvm/include/llvm/ADT/ValueMap.h > head/contrib/llvm/include/llvm/ADT/ilist.h > head/contrib/llvm/include/llvm/Analysis/AliasAnalysis.h > head/contrib/llvm/include/llvm/Analysis/AliasSetTracker.h > head/contrib/llvm/include/llvm/Analysis/CallGraph.h > head/contrib/llvm/include/llvm/Analysis/CodeMetrics.h > head/contrib/llvm/include/llvm/Analysis/ConstantFolding.h > head/contrib/llvm/include/llvm/Analysis/DOTGraphTraitsPass.h > head/contrib/llvm/include/llvm/Analysis/DebugInfo.h > head/contrib/llvm/include/llvm/Analysis/DominatorInternals.h > head/contrib/llvm/include/llvm/Analysis/Dominators.h > head/contrib/llvm/include/llvm/Analysis/FindUsedTypes.h > head/contrib/llvm/include/llvm/Analysis/InlineCost.h > head/contrib/llvm/include/llvm/Analysis/InstructionSimplify.h > head/contrib/llvm/include/llvm/Analysis/IntervalPartition.h > head/contrib/llvm/include/llvm/Analysis/LazyValueInfo.h > head/contrib/llvm/include/llvm/Analysis/LibCallAliasAnalysis.h > head/contrib/llvm/include/llvm/Analysis/LibCallSemantics.h > head/contrib/llvm/include/llvm/Analysis/LoopDependenceAnalysis.h > head/contrib/llvm/include/llvm/Analysis/LoopInfo.h > head/contrib/llvm/include/llvm/Analysis/MemoryBuiltins.h > head/contrib/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h > head/contrib/llvm/include/llvm/Analysis/Passes.h > head/contrib/llvm/include/llvm/Analysis/PostDominators.h > head/contrib/llvm/include/llvm/Analysis/ProfileInfoTypes.h > head/contrib/llvm/include/llvm/Analysis/RegionInfo.h > head/contrib/llvm/include/llvm/Analysis/ScalarEvolution.h > head/contrib/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h > head/contrib/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h > head/contrib/llvm/include/llvm/Analysis/ValueTracking.h > head/contrib/llvm/include/llvm/Attributes.h > head/contrib/llvm/include/llvm/BasicBlock.h > head/contrib/llvm/include/llvm/Bitcode/Archive.h > head/contrib/llvm/include/llvm/Bitcode/BitCodes.h > head/contrib/llvm/include/llvm/Bitcode/LLVMBitCodes.h > head/contrib/llvm/include/llvm/Bitcode/ReaderWriter.h > head/contrib/llvm/include/llvm/CallingConv.h > head/contrib/llvm/include/llvm/CodeGen/Analysis.h > head/contrib/llvm/include/llvm/CodeGen/AsmPrinter.h > head/contrib/llvm/include/llvm/CodeGen/BinaryObject.h > head/contrib/llvm/include/llvm/CodeGen/CalcSpillWeights.h > head/contrib/llvm/include/llvm/CodeGen/CallingConvLower.h > head/contrib/llvm/include/llvm/CodeGen/FastISel.h > head/contrib/llvm/include/llvm/CodeGen/FunctionLoweringInfo.h > head/contrib/llvm/include/llvm/CodeGen/GCMetadata.h > head/contrib/llvm/include/llvm/CodeGen/ISDOpcodes.h > head/contrib/llvm/include/llvm/CodeGen/IntrinsicLowering.h > head/contrib/llvm/include/llvm/CodeGen/JITCodeEmitter.h > head/contrib/llvm/include/llvm/CodeGen/LatencyPriorityQueue.h > head/contrib/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h > head/contrib/llvm/include/llvm/CodeGen/LiveInterval.h > head/contrib/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h > head/contrib/llvm/include/llvm/CodeGen/LiveStackAnalysis.h > head/contrib/llvm/include/llvm/CodeGen/LiveVariables.h > head/contrib/llvm/include/llvm/CodeGen/MachORelocation.h > head/contrib/llvm/include/llvm/CodeGen/MachineBasicBlock.h > head/contrib/llvm/include/llvm/CodeGen/MachineCodeEmitter.h > head/contrib/llvm/include/llvm/CodeGen/MachineCodeInfo.h > head/contrib/llvm/include/llvm/CodeGen/MachineDominators.h > head/contrib/llvm/include/llvm/CodeGen/MachineFrameInfo.h > head/contrib/llvm/include/llvm/CodeGen/MachineFunction.h > head/contrib/llvm/include/llvm/CodeGen/MachineFunctionAnalysis.h > head/contrib/llvm/include/llvm/CodeGen/MachineInstr.h > head/contrib/llvm/include/llvm/CodeGen/MachineInstrBuilder.h > head/contrib/llvm/include/llvm/CodeGen/MachineLocation.h > head/contrib/llvm/include/llvm/CodeGen/MachineLoopInfo.h > head/contrib/llvm/include/llvm/CodeGen/MachineMemOperand.h > head/contrib/llvm/include/llvm/CodeGen/MachineModuleInfo.h > head/contrib/llvm/include/llvm/CodeGen/MachineOperand.h > head/contrib/llvm/include/llvm/CodeGen/MachineRegisterInfo.h > head/contrib/llvm/include/llvm/CodeGen/MachineRelocation.h > head/contrib/llvm/include/llvm/CodeGen/Passes.h > head/contrib/llvm/include/llvm/CodeGen/ProcessImplicitDefs.h > head/contrib/llvm/include/llvm/CodeGen/RegisterCoalescer.h > head/contrib/llvm/include/llvm/CodeGen/ScheduleDAG.h > head/contrib/llvm/include/llvm/CodeGen/ScheduleHazardRecognizer.h > head/contrib/llvm/include/llvm/CodeGen/SelectionDAG.h > head/contrib/llvm/include/llvm/CodeGen/SelectionDAGISel.h > head/contrib/llvm/include/llvm/CodeGen/SelectionDAGNodes.h > head/contrib/llvm/include/llvm/CodeGen/SlotIndexes.h > head/contrib/llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h > head/contrib/llvm/include/llvm/CodeGen/ValueTypes.h > head/contrib/llvm/include/llvm/CodeGen/ValueTypes.td > head/contrib/llvm/include/llvm/CompilerDriver/CompilationGraph.h > head/contrib/llvm/include/llvm/CompilerDriver/Tool.h > head/contrib/llvm/include/llvm/Constant.h > head/contrib/llvm/include/llvm/Constants.h > head/contrib/llvm/include/llvm/DerivedTypes.h > head/contrib/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h > head/contrib/llvm/include/llvm/ExecutionEngine/GenericValue.h > head/contrib/llvm/include/llvm/ExecutionEngine/JITEventListener.h > head/contrib/llvm/include/llvm/ExecutionEngine/JITMemoryManager.h > head/contrib/llvm/include/llvm/Function.h > head/contrib/llvm/include/llvm/GlobalAlias.h > head/contrib/llvm/include/llvm/GlobalValue.h > head/contrib/llvm/include/llvm/GlobalVariable.h > head/contrib/llvm/include/llvm/InlineAsm.h > head/contrib/llvm/include/llvm/InstrTypes.h > head/contrib/llvm/include/llvm/Instruction.h > head/contrib/llvm/include/llvm/Instructions.h > head/contrib/llvm/include/llvm/IntrinsicInst.h > head/contrib/llvm/include/llvm/Intrinsics.td > head/contrib/llvm/include/llvm/IntrinsicsARM.td > head/contrib/llvm/include/llvm/IntrinsicsX86.td > head/contrib/llvm/include/llvm/IntrinsicsXCore.td > head/contrib/llvm/include/llvm/LLVMContext.h > head/contrib/llvm/include/llvm/LinkAllPasses.h > head/contrib/llvm/include/llvm/LinkAllVMCore.h > head/contrib/llvm/include/llvm/MC/EDInstInfo.h > head/contrib/llvm/include/llvm/MC/MCAsmInfo.h > head/contrib/llvm/include/llvm/MC/MCAsmLayout.h > head/contrib/llvm/include/llvm/MC/MCAssembler.h > head/contrib/llvm/include/llvm/MC/MCCodeEmitter.h > head/contrib/llvm/include/llvm/MC/MCContext.h > head/contrib/llvm/include/llvm/MC/MCDirectives.h > head/contrib/llvm/include/llvm/MC/MCDisassembler.h > head/contrib/llvm/include/llvm/MC/MCDwarf.h > head/contrib/llvm/include/llvm/MC/MCELFSymbolFlags.h > head/contrib/llvm/include/llvm/MC/MCExpr.h > head/contrib/llvm/include/llvm/MC/MCFixup.h > head/contrib/llvm/include/llvm/MC/MCInst.h > head/contrib/llvm/include/llvm/MC/MCInstPrinter.h > head/contrib/llvm/include/llvm/MC/MCMachOSymbolFlags.h > head/contrib/llvm/include/llvm/MC/MCObjectStreamer.h > head/contrib/llvm/include/llvm/MC/MCObjectWriter.h > head/contrib/llvm/include/llvm/MC/MCParser/AsmLexer.h > head/contrib/llvm/include/llvm/MC/MCParser/MCAsmLexer.h > head/contrib/llvm/include/llvm/MC/MCParser/MCAsmParser.h > head/contrib/llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h > head/contrib/llvm/include/llvm/MC/MCSection.h > head/contrib/llvm/include/llvm/MC/MCSectionCOFF.h > head/contrib/llvm/include/llvm/MC/MCSectionELF.h > head/contrib/llvm/include/llvm/MC/MCSectionMachO.h > head/contrib/llvm/include/llvm/MC/MCStreamer.h > head/contrib/llvm/include/llvm/MC/MCSymbol.h > head/contrib/llvm/include/llvm/MC/MCValue.h > head/contrib/llvm/include/llvm/Metadata.h > head/contrib/llvm/include/llvm/Module.h > head/contrib/llvm/include/llvm/OperandTraits.h > head/contrib/llvm/include/llvm/Operator.h > head/contrib/llvm/include/llvm/Pass.h > head/contrib/llvm/include/llvm/PassManagers.h > head/contrib/llvm/include/llvm/PassRegistry.h > head/contrib/llvm/include/llvm/PassSupport.h > head/contrib/llvm/include/llvm/Support/AlignOf.h > head/contrib/llvm/include/llvm/Support/Allocator.h > head/contrib/llvm/include/llvm/Support/COFF.h > head/contrib/llvm/include/llvm/Support/CallSite.h > head/contrib/llvm/include/llvm/Support/Casting.h > head/contrib/llvm/include/llvm/Support/Compiler.h > head/contrib/llvm/include/llvm/Support/ConstantFolder.h > head/contrib/llvm/include/llvm/Support/ConstantRange.h > head/contrib/llvm/include/llvm/Support/CrashRecoveryContext.h > head/contrib/llvm/include/llvm/Support/Dwarf.h > head/contrib/llvm/include/llvm/Support/ELF.h > head/contrib/llvm/include/llvm/Support/ErrorHandling.h > head/contrib/llvm/include/llvm/Support/FileUtilities.h > head/contrib/llvm/include/llvm/Support/GraphWriter.h > head/contrib/llvm/include/llvm/Support/IRBuilder.h > head/contrib/llvm/include/llvm/Support/IRReader.h > head/contrib/llvm/include/llvm/Support/MachO.h > head/contrib/llvm/include/llvm/Support/ManagedStatic.h > head/contrib/llvm/include/llvm/Support/MathExtras.h > head/contrib/llvm/include/llvm/Support/MemoryBuffer.h > head/contrib/llvm/include/llvm/Support/MemoryObject.h > head/contrib/llvm/include/llvm/Support/MutexGuard.h > head/contrib/llvm/include/llvm/Support/NoFolder.h > head/contrib/llvm/include/llvm/Support/PatternMatch.h > head/contrib/llvm/include/llvm/Support/PointerLikeTypeTraits.h > head/contrib/llvm/include/llvm/Support/SourceMgr.h > head/contrib/llvm/include/llvm/Support/StandardPasses.h > head/contrib/llvm/include/llvm/Support/SystemUtils.h > head/contrib/llvm/include/llvm/Support/TargetFolder.h > head/contrib/llvm/include/llvm/Support/Timer.h > head/contrib/llvm/include/llvm/Support/TypeBuilder.h > head/contrib/llvm/include/llvm/Support/raw_ostream.h > head/contrib/llvm/include/llvm/Target/Mangler.h > head/contrib/llvm/include/llvm/Target/SubtargetFeature.h > head/contrib/llvm/include/llvm/Target/Target.td > head/contrib/llvm/include/llvm/Target/TargetAsmBackend.h > head/contrib/llvm/include/llvm/Target/TargetAsmParser.h > head/contrib/llvm/include/llvm/Target/TargetCallingConv.h > head/contrib/llvm/include/llvm/Target/TargetData.h > head/contrib/llvm/include/llvm/Target/TargetELFWriterInfo.h > head/contrib/llvm/include/llvm/Target/TargetInstrDesc.h > head/contrib/llvm/include/llvm/Target/TargetInstrInfo.h > head/contrib/llvm/include/llvm/Target/TargetInstrItineraries.h > head/contrib/llvm/include/llvm/Target/TargetJITInfo.h > head/contrib/llvm/include/llvm/Target/TargetLowering.h > head/contrib/llvm/include/llvm/Target/TargetLoweringObjectFile.h > head/contrib/llvm/include/llvm/Target/TargetMachine.h > head/contrib/llvm/include/llvm/Target/TargetRegisterInfo.h > head/contrib/llvm/include/llvm/Target/TargetRegistry.h > head/contrib/llvm/include/llvm/Target/TargetSchedule.td > head/contrib/llvm/include/llvm/Target/TargetSelectionDAG.td > head/contrib/llvm/include/llvm/Target/TargetSelectionDAGInfo.h > head/contrib/llvm/include/llvm/Transforms/IPO.h > head/contrib/llvm/include/llvm/Transforms/Instrumentation.h > head/contrib/llvm/include/llvm/Transforms/Scalar.h > head/contrib/llvm/include/llvm/Transforms/Utils/AddrModeMatcher.h > head/contrib/llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h > head/contrib/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h > head/contrib/llvm/include/llvm/Transforms/Utils/Cloning.h > head/contrib/llvm/include/llvm/Transforms/Utils/Local.h > head/contrib/llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h > head/contrib/llvm/include/llvm/Transforms/Utils/SSAUpdater.h > head/contrib/llvm/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h > head/contrib/llvm/include/llvm/Transforms/Utils/ValueMapper.h > head/contrib/llvm/include/llvm/Type.h > head/contrib/llvm/include/llvm/TypeSymbolTable.h > head/contrib/llvm/include/llvm/Use.h > head/contrib/llvm/include/llvm/User.h > head/contrib/llvm/include/llvm/Value.h > head/contrib/llvm/include/llvm/ValueSymbolTable.h > head/contrib/llvm/lib/Analysis/AliasAnalysis.cpp > head/contrib/llvm/lib/Analysis/AliasAnalysisCounter.cpp > head/contrib/llvm/lib/Analysis/AliasAnalysisEvaluator.cpp > head/contrib/llvm/lib/Analysis/AliasDebugger.cpp > head/contrib/llvm/lib/Analysis/AliasSetTracker.cpp > head/contrib/llvm/lib/Analysis/Analysis.cpp > head/contrib/llvm/lib/Analysis/BasicAliasAnalysis.cpp > head/contrib/llvm/lib/Analysis/CFGPrinter.cpp > head/contrib/llvm/lib/Analysis/CaptureTracking.cpp > head/contrib/llvm/lib/Analysis/ConstantFolding.cpp > head/contrib/llvm/lib/Analysis/DbgInfoPrinter.cpp > head/contrib/llvm/lib/Analysis/DebugInfo.cpp > head/contrib/llvm/lib/Analysis/DomPrinter.cpp > head/contrib/llvm/lib/Analysis/IPA/CallGraph.cpp > head/contrib/llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp > head/contrib/llvm/lib/Analysis/IPA/FindUsedTypes.cpp > head/contrib/llvm/lib/Analysis/IPA/GlobalsModRef.cpp > head/contrib/llvm/lib/Analysis/IVUsers.cpp > head/contrib/llvm/lib/Analysis/InlineCost.cpp > head/contrib/llvm/lib/Analysis/InstCount.cpp > head/contrib/llvm/lib/Analysis/InstructionSimplify.cpp > head/contrib/llvm/lib/Analysis/IntervalPartition.cpp > head/contrib/llvm/lib/Analysis/LazyValueInfo.cpp > head/contrib/llvm/lib/Analysis/LibCallAliasAnalysis.cpp > head/contrib/llvm/lib/Analysis/Lint.cpp > head/contrib/llvm/lib/Analysis/LiveValues.cpp > head/contrib/llvm/lib/Analysis/Loads.cpp > head/contrib/llvm/lib/Analysis/LoopDependenceAnalysis.cpp > head/contrib/llvm/lib/Analysis/LoopInfo.cpp > head/contrib/llvm/lib/Analysis/LoopPass.cpp > head/contrib/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp > head/contrib/llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp > head/contrib/llvm/lib/Analysis/PHITransAddr.cpp > head/contrib/llvm/lib/Analysis/PostDominators.cpp > head/contrib/llvm/lib/Analysis/ProfileEstimatorPass.cpp > head/contrib/llvm/lib/Analysis/ProfileInfo.cpp > head/contrib/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp > head/contrib/llvm/lib/Analysis/ProfileVerifierPass.cpp > head/contrib/llvm/lib/Analysis/RegionInfo.cpp > head/contrib/llvm/lib/Analysis/RegionPrinter.cpp > head/contrib/llvm/lib/Analysis/ScalarEvolution.cpp > head/contrib/llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp > head/contrib/llvm/lib/Analysis/ScalarEvolutionExpander.cpp > head/contrib/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp > head/contrib/llvm/lib/Analysis/ValueTracking.cpp > head/contrib/llvm/lib/Archive/Archive.cpp > head/contrib/llvm/lib/Archive/ArchiveInternals.h > head/contrib/llvm/lib/Archive/ArchiveWriter.cpp > head/contrib/llvm/lib/AsmParser/LLLexer.cpp > head/contrib/llvm/lib/AsmParser/LLLexer.h > head/contrib/llvm/lib/AsmParser/LLParser.cpp > head/contrib/llvm/lib/AsmParser/LLParser.h > head/contrib/llvm/lib/AsmParser/LLToken.h > head/contrib/llvm/lib/AsmParser/Parser.cpp > head/contrib/llvm/lib/Bitcode/Reader/BitcodeReader.cpp > head/contrib/llvm/lib/Bitcode/Reader/BitcodeReader.h > head/contrib/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp > head/contrib/llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp > head/contrib/llvm/lib/CodeGen/Analysis.cpp > head/contrib/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp > head/contrib/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp > head/contrib/llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp > head/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp > head/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h > head/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp > head/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfException.h > head/contrib/llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp > head/contrib/llvm/lib/CodeGen/CalcSpillWeights.cpp > head/contrib/llvm/lib/CodeGen/CallingConvLower.cpp > head/contrib/llvm/lib/CodeGen/CriticalAntiDepBreaker.cpp > head/contrib/llvm/lib/CodeGen/CriticalAntiDepBreaker.h > head/contrib/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp > head/contrib/llvm/lib/CodeGen/DwarfEHPrepare.cpp > head/contrib/llvm/lib/CodeGen/ELF.h > head/contrib/llvm/lib/CodeGen/ELFWriter.cpp > head/contrib/llvm/lib/CodeGen/GCMetadata.cpp > head/contrib/llvm/lib/CodeGen/GCStrategy.cpp > head/contrib/llvm/lib/CodeGen/IfConversion.cpp > head/contrib/llvm/lib/CodeGen/InlineSpiller.cpp > head/contrib/llvm/lib/CodeGen/IntrinsicLowering.cpp > head/contrib/llvm/lib/CodeGen/LLVMTargetMachine.cpp > head/contrib/llvm/lib/CodeGen/LatencyPriorityQueue.cpp > head/contrib/llvm/lib/CodeGen/LiveInterval.cpp > head/contrib/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp > head/contrib/llvm/lib/CodeGen/LiveStackAnalysis.cpp > head/contrib/llvm/lib/CodeGen/LiveVariables.cpp > head/contrib/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp > head/contrib/llvm/lib/CodeGen/MachineBasicBlock.cpp > head/contrib/llvm/lib/CodeGen/MachineCSE.cpp > head/contrib/llvm/lib/CodeGen/MachineDominators.cpp > head/contrib/llvm/lib/CodeGen/MachineFunction.cpp > head/contrib/llvm/lib/CodeGen/MachineFunctionAnalysis.cpp > head/contrib/llvm/lib/CodeGen/MachineInstr.cpp > head/contrib/llvm/lib/CodeGen/MachineLICM.cpp > head/contrib/llvm/lib/CodeGen/MachineLoopInfo.cpp > head/contrib/llvm/lib/CodeGen/MachineModuleInfo.cpp > head/contrib/llvm/lib/CodeGen/MachineRegisterInfo.cpp > head/contrib/llvm/lib/CodeGen/MachineSink.cpp > head/contrib/llvm/lib/CodeGen/MachineVerifier.cpp > head/contrib/llvm/lib/CodeGen/OptimizePHIs.cpp > head/contrib/llvm/lib/CodeGen/PHIElimination.cpp > head/contrib/llvm/lib/CodeGen/PeepholeOptimizer.cpp > head/contrib/llvm/lib/CodeGen/PostRASchedulerList.cpp > head/contrib/llvm/lib/CodeGen/PreAllocSplitting.cpp > head/contrib/llvm/lib/CodeGen/ProcessImplicitDefs.cpp > head/contrib/llvm/lib/CodeGen/PrologEpilogInserter.cpp > head/contrib/llvm/lib/CodeGen/PrologEpilogInserter.h > head/contrib/llvm/lib/CodeGen/PseudoSourceValue.cpp > head/contrib/llvm/lib/CodeGen/RegAllocFast.cpp > head/contrib/llvm/lib/CodeGen/RegAllocLinearScan.cpp > head/contrib/llvm/lib/CodeGen/RegAllocPBQP.cpp > head/contrib/llvm/lib/CodeGen/RegisterCoalescer.cpp > head/contrib/llvm/lib/CodeGen/RenderMachineFunction.cpp > head/contrib/llvm/lib/CodeGen/RenderMachineFunction.h > head/contrib/llvm/lib/CodeGen/ScheduleDAG.cpp > head/contrib/llvm/lib/CodeGen/ScheduleDAGEmit.cpp > head/contrib/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp > head/contrib/llvm/lib/CodeGen/ScheduleDAGInstrs.h > head/contrib/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h > head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h > head/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h > head/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h > head/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp > head/contrib/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp > head/contrib/llvm/lib/CodeGen/ShrinkWrapping.cpp > head/contrib/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp > head/contrib/llvm/lib/CodeGen/SimpleRegisterCoalescing.h > head/contrib/llvm/lib/CodeGen/SjLjEHPrepare.cpp > head/contrib/llvm/lib/CodeGen/SlotIndexes.cpp > head/contrib/llvm/lib/CodeGen/Spiller.cpp > head/contrib/llvm/lib/CodeGen/Spiller.h > head/contrib/llvm/lib/CodeGen/SplitKit.cpp > head/contrib/llvm/lib/CodeGen/SplitKit.h > head/contrib/llvm/lib/CodeGen/Splitter.cpp > head/contrib/llvm/lib/CodeGen/Splitter.h > head/contrib/llvm/lib/CodeGen/StackProtector.cpp > head/contrib/llvm/lib/CodeGen/StackSlotColoring.cpp > head/contrib/llvm/lib/CodeGen/StrongPHIElimination.cpp > head/contrib/llvm/lib/CodeGen/TailDuplication.cpp > head/contrib/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp > head/contrib/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp > head/contrib/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp > head/contrib/llvm/lib/CodeGen/UnreachableBlockElim.cpp > head/contrib/llvm/lib/CodeGen/VirtRegMap.cpp > head/contrib/llvm/lib/CodeGen/VirtRegMap.h > head/contrib/llvm/lib/CodeGen/VirtRegRewriter.cpp > head/contrib/llvm/lib/CompilerDriver/Action.cpp > head/contrib/llvm/lib/CompilerDriver/CompilationGraph.cpp > head/contrib/llvm/lib/CompilerDriver/Main.cpp > head/contrib/llvm/lib/CompilerDriver/Tool.cpp > head/contrib/llvm/lib/ExecutionEngine/ExecutionEngine.cpp > head/contrib/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp > head/contrib/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp > head/contrib/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h > head/contrib/llvm/lib/ExecutionEngine/JIT/Intercept.cpp > head/contrib/llvm/lib/ExecutionEngine/JIT/JIT.cpp > head/contrib/llvm/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp > head/contrib/llvm/lib/ExecutionEngine/JIT/JITDebugRegisterer.h > head/contrib/llvm/lib/ExecutionEngine/JIT/JITDwarfEmitter.cpp > head/contrib/llvm/lib/ExecutionEngine/JIT/JITDwarfEmitter.h > head/contrib/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp > head/contrib/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp > head/contrib/llvm/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp > head/contrib/llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp > head/contrib/llvm/lib/Linker/LinkItems.cpp > head/contrib/llvm/lib/Linker/LinkModules.cpp > head/contrib/llvm/lib/Linker/Linker.cpp > head/contrib/llvm/lib/MC/ELFObjectWriter.cpp > head/contrib/llvm/lib/MC/MCAsmInfo.cpp > head/contrib/llvm/lib/MC/MCAsmInfoDarwin.cpp > head/contrib/llvm/lib/MC/MCAsmStreamer.cpp > head/contrib/llvm/lib/MC/MCAssembler.cpp > head/contrib/llvm/lib/MC/MCCodeEmitter.cpp > head/contrib/llvm/lib/MC/MCContext.cpp > head/contrib/llvm/lib/MC/MCDisassembler/EDDisassembler.cpp > head/contrib/llvm/lib/MC/MCDisassembler/EDDisassembler.h > head/contrib/llvm/lib/MC/MCDisassembler/EDInst.cpp > head/contrib/llvm/lib/MC/MCDisassembler/EDInst.h > head/contrib/llvm/lib/MC/MCDisassembler/EDOperand.cpp > head/contrib/llvm/lib/MC/MCDisassembler/EDOperand.h > head/contrib/llvm/lib/MC/MCDisassembler/EDToken.h > head/contrib/llvm/lib/MC/MCDwarf.cpp > head/contrib/llvm/lib/MC/MCELFStreamer.cpp > head/contrib/llvm/lib/MC/MCExpr.cpp > head/contrib/llvm/lib/MC/MCLoggingStreamer.cpp > head/contrib/llvm/lib/MC/MCMachOStreamer.cpp > head/contrib/llvm/lib/MC/MCNullStreamer.cpp > head/contrib/llvm/lib/MC/MCObjectStreamer.cpp > head/contrib/llvm/lib/MC/MCObjectWriter.cpp > head/contrib/llvm/lib/MC/MCParser/AsmLexer.cpp > head/contrib/llvm/lib/MC/MCParser/AsmParser.cpp > head/contrib/llvm/lib/MC/MCParser/DarwinAsmParser.cpp > head/contrib/llvm/lib/MC/MCParser/ELFAsmParser.cpp > head/contrib/llvm/lib/MC/MCSectionCOFF.cpp > head/contrib/llvm/lib/MC/MCSectionELF.cpp > head/contrib/llvm/lib/MC/MCSectionMachO.cpp > head/contrib/llvm/lib/MC/MCStreamer.cpp > head/contrib/llvm/lib/MC/MCSymbol.cpp > head/contrib/llvm/lib/MC/MachObjectWriter.cpp > head/contrib/llvm/lib/MC/TargetAsmBackend.cpp > head/contrib/llvm/lib/MC/WinCOFFObjectWriter.cpp > head/contrib/llvm/lib/MC/WinCOFFStreamer.cpp > head/contrib/llvm/lib/Support/APFloat.cpp > head/contrib/llvm/lib/Support/APInt.cpp > head/contrib/llvm/lib/Support/Allocator.cpp > head/contrib/llvm/lib/Support/CommandLine.cpp > head/contrib/llvm/lib/Support/ConstantRange.cpp > head/contrib/llvm/lib/Support/CrashRecoveryContext.cpp > head/contrib/llvm/lib/Support/Debug.cpp > head/contrib/llvm/lib/Support/Dwarf.cpp > head/contrib/llvm/lib/Support/ErrorHandling.cpp > head/contrib/llvm/lib/Support/FileUtilities.cpp > head/contrib/llvm/lib/Support/FoldingSet.cpp > head/contrib/llvm/lib/Support/FormattedStream.cpp > head/contrib/llvm/lib/Support/GraphWriter.cpp > head/contrib/llvm/lib/Support/ManagedStatic.cpp > head/contrib/llvm/lib/Support/MemoryBuffer.cpp > head/contrib/llvm/lib/Support/PluginLoader.cpp > head/contrib/llvm/lib/Support/PrettyStackTrace.cpp > head/contrib/llvm/lib/Support/SourceMgr.cpp > head/contrib/llvm/lib/Support/Statistic.cpp > head/contrib/llvm/lib/Support/StringMap.cpp > head/contrib/llvm/lib/Support/StringRef.cpp > head/contrib/llvm/lib/Support/SystemUtils.cpp > head/contrib/llvm/lib/Support/TargetRegistry.cpp > head/contrib/llvm/lib/Support/Timer.cpp > head/contrib/llvm/lib/Support/Triple.cpp > head/contrib/llvm/lib/Support/Twine.cpp > head/contrib/llvm/lib/Support/raw_ostream.cpp > head/contrib/llvm/lib/Support/regexec.c > head/contrib/llvm/lib/Target/ARM/ARM.h > head/contrib/llvm/lib/Target/ARM/ARM.td > head/contrib/llvm/lib/Target/ARM/ARMAddressingModes.h > head/contrib/llvm/lib/Target/ARM/ARMAsmPrinter.cpp > head/contrib/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp > head/contrib/llvm/lib/Target/ARM/ARMBaseInstrInfo.h > head/contrib/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp > head/contrib/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h > head/contrib/llvm/lib/Target/ARM/ARMBuildAttrs.h > head/contrib/llvm/lib/Target/ARM/ARMCallingConv.td > head/contrib/llvm/lib/Target/ARM/ARMCodeEmitter.cpp > head/contrib/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp > head/contrib/llvm/lib/Target/ARM/ARMConstantPoolValue.cpp > head/contrib/llvm/lib/Target/ARM/ARMConstantPoolValue.h > head/contrib/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp > head/contrib/llvm/lib/Target/ARM/ARMFastISel.cpp > head/contrib/llvm/lib/Target/ARM/ARMGlobalMerge.cpp > head/contrib/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp > head/contrib/llvm/lib/Target/ARM/ARMISelLowering.cpp > head/contrib/llvm/lib/Target/ARM/ARMISelLowering.h > head/contrib/llvm/lib/Target/ARM/ARMInstrFormats.td > head/contrib/llvm/lib/Target/ARM/ARMInstrInfo.cpp > head/contrib/llvm/lib/Target/ARM/ARMInstrInfo.h > head/contrib/llvm/lib/Target/ARM/ARMInstrInfo.td > head/contrib/llvm/lib/Target/ARM/ARMInstrNEON.td > head/contrib/llvm/lib/Target/ARM/ARMInstrThumb.td > head/contrib/llvm/lib/Target/ARM/ARMInstrThumb2.td > head/contrib/llvm/lib/Target/ARM/ARMInstrVFP.td > head/contrib/llvm/lib/Target/ARM/ARMJITInfo.cpp > head/contrib/llvm/lib/Target/ARM/ARMJITInfo.h > head/contrib/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp > head/contrib/llvm/lib/Target/ARM/ARMMCInstLower.cpp > head/contrib/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h > head/contrib/llvm/lib/Target/ARM/ARMPerfectShuffle.h > head/contrib/llvm/lib/Target/ARM/ARMRegisterInfo.cpp > head/contrib/llvm/lib/Target/ARM/ARMRegisterInfo.td > head/contrib/llvm/lib/Target/ARM/ARMSchedule.td > head/contrib/llvm/lib/Target/ARM/ARMScheduleA8.td > head/contrib/llvm/lib/Target/ARM/ARMScheduleA9.td > head/contrib/llvm/lib/Target/ARM/ARMScheduleV6.td > head/contrib/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp > head/contrib/llvm/lib/Target/ARM/ARMSelectionDAGInfo.h > head/contrib/llvm/lib/Target/ARM/ARMSubtarget.cpp > head/contrib/llvm/lib/Target/ARM/ARMSubtarget.h > head/contrib/llvm/lib/Target/ARM/ARMTargetMachine.cpp > head/contrib/llvm/lib/Target/ARM/ARMTargetMachine.h > head/contrib/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp > head/contrib/llvm/lib/Target/ARM/ARMTargetObjectFile.h > head/contrib/llvm/lib/Target/ARM/AsmParser/ARMAsmLexer.cpp > head/contrib/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp > head/contrib/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp > head/contrib/llvm/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp > head/contrib/llvm/lib/Target/ARM/Disassembler/ThumbDisassemblerCore.h > head/contrib/llvm/lib/Target/ARM/Thumb1InstrInfo.cpp > head/contrib/llvm/lib/Target/ARM/Thumb1InstrInfo.h > head/contrib/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp > head/contrib/llvm/lib/Target/ARM/Thumb1RegisterInfo.h > head/contrib/llvm/lib/Target/ARM/Thumb2InstrInfo.cpp > head/contrib/llvm/lib/Target/ARM/Thumb2InstrInfo.h > head/contrib/llvm/lib/Target/ARM/Thumb2RegisterInfo.cpp > head/contrib/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp > head/contrib/llvm/lib/Target/Alpha/Alpha.h > head/contrib/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp > head/contrib/llvm/lib/Target/Alpha/AlphaISelLowering.cpp > head/contrib/llvm/lib/Target/Alpha/AlphaISelLowering.h > head/contrib/llvm/lib/Target/Alpha/AlphaInstrInfo.td > head/contrib/llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp > head/contrib/llvm/lib/Target/Alpha/AlphaRegisterInfo.h > head/contrib/llvm/lib/Target/Alpha/AlphaSchedule.td > head/contrib/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp > head/contrib/llvm/lib/Target/Alpha/AlphaTargetMachine.h > head/contrib/llvm/lib/Target/Blackfin/BlackfinISelDAGToDAG.cpp > head/contrib/llvm/lib/Target/Blackfin/BlackfinISelLowering.cpp > head/contrib/llvm/lib/Target/Blackfin/BlackfinISelLowering.h > head/contrib/llvm/lib/Target/Blackfin/BlackfinInstrInfo.td > head/contrib/llvm/lib/Target/Blackfin/BlackfinRegisterInfo.cpp > head/contrib/llvm/lib/Target/Blackfin/BlackfinRegisterInfo.h > head/contrib/llvm/lib/Target/Blackfin/BlackfinRegisterInfo.td > head/contrib/llvm/lib/Target/Blackfin/BlackfinTargetMachine.cpp > head/contrib/llvm/lib/Target/Blackfin/BlackfinTargetMachine.h > head/contrib/llvm/lib/Target/CBackend/CBackend.cpp > head/contrib/llvm/lib/Target/CellSPU/SPU.h > head/contrib/llvm/lib/Target/CellSPU/SPU64InstrInfo.td > head/contrib/llvm/lib/Target/CellSPU/SPUHazardRecognizers.cpp > head/contrib/llvm/lib/Target/CellSPU/SPUHazardRecognizers.h > head/contrib/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp > head/contrib/llvm/lib/Target/CellSPU/SPUISelLowering.cpp > head/contrib/llvm/lib/Target/CellSPU/SPUISelLowering.h > head/contrib/llvm/lib/Target/CellSPU/SPUInstrInfo.cpp > head/contrib/llvm/lib/Target/CellSPU/SPUInstrInfo.h > head/contrib/llvm/lib/Target/CellSPU/SPUInstrInfo.td > head/contrib/llvm/lib/Target/CellSPU/SPUMCAsmInfo.cpp > head/contrib/llvm/lib/Target/CellSPU/SPUNodes.td > head/contrib/llvm/lib/Target/CellSPU/SPUOperands.td > head/contrib/llvm/lib/Target/CellSPU/SPURegisterInfo.cpp > head/contrib/llvm/lib/Target/CellSPU/SPURegisterInfo.h > head/contrib/llvm/lib/Target/CellSPU/SPUSchedule.td > head/contrib/llvm/lib/Target/CellSPU/SPUSubtarget.cpp > head/contrib/llvm/lib/Target/CellSPU/SPUSubtarget.h > head/contrib/llvm/lib/Target/CellSPU/SPUTargetMachine.cpp > head/contrib/llvm/lib/Target/CellSPU/SPUTargetMachine.h > head/contrib/llvm/lib/Target/CppBackend/CPPBackend.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlaze.h > head/contrib/llvm/lib/Target/MBlaze/MBlaze.td > head/contrib/llvm/lib/Target/MBlaze/MBlazeCallingConv.td > head/contrib/llvm/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeISelDAGToDAG.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeISelLowering.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeISelLowering.h > head/contrib/llvm/lib/Target/MBlaze/MBlazeInstrFPU.td > head/contrib/llvm/lib/Target/MBlaze/MBlazeInstrFSL.td > head/contrib/llvm/lib/Target/MBlaze/MBlazeInstrFormats.td > head/contrib/llvm/lib/Target/MBlaze/MBlazeInstrInfo.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeInstrInfo.h > head/contrib/llvm/lib/Target/MBlaze/MBlazeInstrInfo.td > head/contrib/llvm/lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeIntrinsics.td > head/contrib/llvm/lib/Target/MBlaze/MBlazeMCAsmInfo.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeMCAsmInfo.h > head/contrib/llvm/lib/Target/MBlaze/MBlazeMachineFunction.h > head/contrib/llvm/lib/Target/MBlaze/MBlazeRegisterInfo.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeRegisterInfo.h > head/contrib/llvm/lib/Target/MBlaze/MBlazeRegisterInfo.td > head/contrib/llvm/lib/Target/MBlaze/MBlazeSchedule.td > head/contrib/llvm/lib/Target/MBlaze/MBlazeTargetMachine.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeTargetMachine.h > head/contrib/llvm/lib/Target/MBlaze/MBlazeTargetObjectFile.cpp > head/contrib/llvm/lib/Target/MBlaze/MBlazeTargetObjectFile.h > head/contrib/llvm/lib/Target/MSP430/MSP430.td > head/contrib/llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp > head/contrib/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp > head/contrib/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp > head/contrib/llvm/lib/Target/MSP430/MSP430InstrInfo.h > head/contrib/llvm/lib/Target/MSP430/MSP430InstrInfo.td > head/contrib/llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp > head/contrib/llvm/lib/Target/MSP430/MSP430RegisterInfo.h > head/contrib/llvm/lib/Target/MSP430/MSP430RegisterInfo.td > head/contrib/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp > head/contrib/llvm/lib/Target/MSP430/MSP430TargetMachine.h > head/contrib/llvm/lib/Target/Mangler.cpp > head/contrib/llvm/lib/Target/Mips/Mips.td > head/contrib/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp > head/contrib/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp > head/contrib/llvm/lib/Target/Mips/MipsISelLowering.cpp > head/contrib/llvm/lib/Target/Mips/MipsISelLowering.h > head/contrib/llvm/lib/Target/Mips/MipsInstrFPU.td > head/contrib/llvm/lib/Target/Mips/MipsInstrInfo.td > head/contrib/llvm/lib/Target/Mips/MipsMachineFunction.h > head/contrib/llvm/lib/Target/Mips/MipsRegisterInfo.cpp > head/contrib/llvm/lib/Target/Mips/MipsRegisterInfo.h > head/contrib/llvm/lib/Target/Mips/MipsSchedule.td > head/contrib/llvm/lib/Target/Mips/MipsSubtarget.h > head/contrib/llvm/lib/Target/Mips/MipsTargetMachine.cpp > head/contrib/llvm/lib/Target/Mips/MipsTargetMachine.h > head/contrib/llvm/lib/Target/Mips/MipsTargetObjectFile.cpp > head/contrib/llvm/lib/Target/PowerPC/PPC.h > head/contrib/llvm/lib/Target/PowerPC/PPC.td > head/contrib/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp > head/contrib/llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp > head/contrib/llvm/lib/Target/PowerPC/PPCHazardRecognizers.h > head/contrib/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp > head/contrib/llvm/lib/Target/PowerPC/PPCISelLowering.cpp > head/contrib/llvm/lib/Target/PowerPC/PPCISelLowering.h > head/contrib/llvm/lib/Target/PowerPC/PPCInstr64Bit.td > head/contrib/llvm/lib/Target/PowerPC/PPCInstrFormats.td > head/contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp > head/contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.h > head/contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.td > head/contrib/llvm/lib/Target/PowerPC/PPCJITInfo.cpp > head/contrib/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp > head/contrib/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp > head/contrib/llvm/lib/Target/PowerPC/PPCRegisterInfo.h > head/contrib/llvm/lib/Target/PowerPC/PPCRegisterInfo.td > head/contrib/llvm/lib/Target/PowerPC/PPCScheduleG3.td > head/contrib/llvm/lib/Target/PowerPC/PPCScheduleG4.td > head/contrib/llvm/lib/Target/PowerPC/PPCScheduleG4Plus.td > head/contrib/llvm/lib/Target/PowerPC/PPCScheduleG5.td > head/contrib/llvm/lib/Target/PowerPC/PPCSubtarget.cpp > head/contrib/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp > head/contrib/llvm/lib/Target/PowerPC/PPCTargetMachine.h > head/contrib/llvm/lib/Target/Sparc/DelaySlotFiller.cpp > head/contrib/llvm/lib/Target/Sparc/SparcCallingConv.td > head/contrib/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp > head/contrib/llvm/lib/Target/Sparc/SparcISelLowering.cpp > head/contrib/llvm/lib/Target/Sparc/SparcISelLowering.h > head/contrib/llvm/lib/Target/Sparc/SparcInstrInfo.cpp > head/contrib/llvm/lib/Target/Sparc/SparcInstrInfo.h > head/contrib/llvm/lib/Target/Sparc/SparcInstrInfo.td > head/contrib/llvm/lib/Target/Sparc/SparcMachineFunctionInfo.h > head/contrib/llvm/lib/Target/Sparc/SparcRegisterInfo.cpp > head/contrib/llvm/lib/Target/Sparc/SparcRegisterInfo.h > head/contrib/llvm/lib/Target/Sparc/SparcRegisterInfo.td > head/contrib/llvm/lib/Target/Sparc/SparcTargetMachine.cpp > head/contrib/llvm/lib/Target/Sparc/SparcTargetMachine.h > head/contrib/llvm/lib/Target/SubtargetFeature.cpp > head/contrib/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp > head/contrib/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp > head/contrib/llvm/lib/Target/SystemZ/SystemZInstrBuilder.h > head/contrib/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp > head/contrib/llvm/lib/Target/SystemZ/SystemZInstrInfo.h > head/contrib/llvm/lib/Target/SystemZ/SystemZInstrInfo.td > head/contrib/llvm/lib/Target/SystemZ/SystemZMCAsmInfo.cpp > head/contrib/llvm/lib/Target/SystemZ/SystemZOperands.td > head/contrib/llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp > head/contrib/llvm/lib/Target/SystemZ/SystemZRegisterInfo.h > head/contrib/llvm/lib/Target/SystemZ/SystemZRegisterInfo.td > head/contrib/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp > head/contrib/llvm/lib/Target/SystemZ/SystemZTargetMachine.h > head/contrib/llvm/lib/Target/Target.cpp > head/contrib/llvm/lib/Target/TargetData.cpp > head/contrib/llvm/lib/Target/TargetELFWriterInfo.cpp > head/contrib/llvm/lib/Target/TargetInstrInfo.cpp > head/contrib/llvm/lib/Target/TargetLoweringObjectFile.cpp > head/contrib/llvm/lib/Target/TargetMachine.cpp > head/contrib/llvm/lib/Target/TargetRegisterInfo.cpp > head/contrib/llvm/lib/Target/X86/AsmParser/X86AsmLexer.cpp > head/contrib/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp > head/contrib/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp > head/contrib/llvm/lib/Target/X86/Disassembler/X86Disassembler.h > head/contrib/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c > head/contrib/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h > head/contrib/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h > head/contrib/llvm/lib/Target/X86/X86.h > head/contrib/llvm/lib/Target/X86/X86.td > head/contrib/llvm/lib/Target/X86/X86AsmBackend.cpp > head/contrib/llvm/lib/Target/X86/X86AsmPrinter.cpp > head/contrib/llvm/lib/Target/X86/X86AsmPrinter.h > head/contrib/llvm/lib/Target/X86/X86CallingConv.td > head/contrib/llvm/lib/Target/X86/X86CodeEmitter.cpp > head/contrib/llvm/lib/Target/X86/X86ELFWriterInfo.cpp > head/contrib/llvm/lib/Target/X86/X86ELFWriterInfo.h > head/contrib/llvm/lib/Target/X86/X86FastISel.cpp > head/contrib/llvm/lib/Target/X86/X86FixupKinds.h > head/contrib/llvm/lib/Target/X86/X86FloatingPoint.cpp > head/contrib/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp > head/contrib/llvm/lib/Target/X86/X86ISelLowering.cpp > head/contrib/llvm/lib/Target/X86/X86ISelLowering.h > head/contrib/llvm/lib/Target/X86/X86InstrBuilder.h > head/contrib/llvm/lib/Target/X86/X86InstrFPStack.td > head/contrib/llvm/lib/Target/X86/X86InstrFormats.td > head/contrib/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td > head/contrib/llvm/lib/Target/X86/X86InstrInfo.cpp > head/contrib/llvm/lib/Target/X86/X86InstrInfo.h > head/contrib/llvm/lib/Target/X86/X86InstrInfo.td > head/contrib/llvm/lib/Target/X86/X86InstrMMX.td > head/contrib/llvm/lib/Target/X86/X86InstrSSE.td > head/contrib/llvm/lib/Target/X86/X86JITInfo.cpp > head/contrib/llvm/lib/Target/X86/X86MCAsmInfo.cpp > head/contrib/llvm/lib/Target/X86/X86MCCodeEmitter.cpp > head/contrib/llvm/lib/Target/X86/X86MCInstLower.cpp > head/contrib/llvm/lib/Target/X86/X86MCInstLower.h > head/contrib/llvm/lib/Target/X86/X86RegisterInfo.cpp > head/contrib/llvm/lib/Target/X86/X86RegisterInfo.h > head/contrib/llvm/lib/Target/X86/X86RegisterInfo.td > head/contrib/llvm/lib/Target/X86/X86SelectionDAGInfo.cpp > head/contrib/llvm/lib/Target/X86/X86SelectionDAGInfo.h > head/contrib/llvm/lib/Target/X86/X86Subtarget.cpp > head/contrib/llvm/lib/Target/X86/X86Subtarget.h > head/contrib/llvm/lib/Target/X86/X86TargetMachine.cpp > head/contrib/llvm/lib/Target/X86/X86TargetMachine.h > head/contrib/llvm/lib/Target/XCore/XCoreCallingConv.td > head/contrib/llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp > head/contrib/llvm/lib/Target/XCore/XCoreISelLowering.cpp > head/contrib/llvm/lib/Target/XCore/XCoreISelLowering.h > head/contrib/llvm/lib/Target/XCore/XCoreInstrInfo.cpp > head/contrib/llvm/lib/Target/XCore/XCoreInstrInfo.h > head/contrib/llvm/lib/Target/XCore/XCoreInstrInfo.td > head/contrib/llvm/lib/Target/XCore/XCoreRegisterInfo.cpp > head/contrib/llvm/lib/Target/XCore/XCoreRegisterInfo.h > head/contrib/llvm/lib/Target/XCore/XCoreRegisterInfo.td > head/contrib/llvm/lib/Target/XCore/XCoreTargetMachine.cpp > head/contrib/llvm/lib/Target/XCore/XCoreTargetMachine.h > head/contrib/llvm/lib/Target/XCore/XCoreTargetObjectFile.cpp > head/contrib/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp > head/contrib/llvm/lib/Transforms/IPO/ConstantMerge.cpp > head/contrib/llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp > head/contrib/llvm/lib/Transforms/IPO/DeadTypeElimination.cpp > head/contrib/llvm/lib/Transforms/IPO/ExtractGV.cpp > head/contrib/llvm/lib/Transforms/IPO/FunctionAttrs.cpp > head/contrib/llvm/lib/Transforms/IPO/GlobalDCE.cpp > head/contrib/llvm/lib/Transforms/IPO/GlobalOpt.cpp > head/contrib/llvm/lib/Transforms/IPO/IPConstantPropagation.cpp > head/contrib/llvm/lib/Transforms/IPO/IPO.cpp > head/contrib/llvm/lib/Transforms/IPO/InlineAlways.cpp > head/contrib/llvm/lib/Transforms/IPO/InlineSimple.cpp > head/contrib/llvm/lib/Transforms/IPO/Inliner.cpp > head/contrib/llvm/lib/Transforms/IPO/Internalize.cpp > head/contrib/llvm/lib/Transforms/IPO/LoopExtractor.cpp > head/contrib/llvm/lib/Transforms/IPO/LowerSetJmp.cpp > head/contrib/llvm/lib/Transforms/IPO/MergeFunctions.cpp > head/contrib/llvm/lib/Transforms/IPO/PartialInlining.cpp > head/contrib/llvm/lib/Transforms/IPO/PruneEH.cpp > head/contrib/llvm/lib/Transforms/IPO/StripDeadPrototypes.cpp > head/contrib/llvm/lib/Transforms/IPO/StripSymbols.cpp > head/contrib/llvm/lib/Transforms/IPO/StructRetPromotion.cpp > head/contrib/llvm/lib/Transforms/InstCombine/InstCombine.h > head/contrib/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp > head/contrib/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp > head/contrib/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp > head/contrib/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp > head/contrib/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp > head/contrib/llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp > head/contrib/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp > head/contrib/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp > head/contrib/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp > head/contrib/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp > head/contrib/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp > head/contrib/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp > head/contrib/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp > head/contrib/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp > head/contrib/llvm/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp > head/contrib/llvm/lib/Transforms/Instrumentation/ProfilingUtils.cpp > head/contrib/llvm/lib/Transforms/Instrumentation/ProfilingUtils.h > head/contrib/llvm/lib/Transforms/Scalar/ADCE.cpp > head/contrib/llvm/lib/Transforms/Scalar/BasicBlockPlacement.cpp > head/contrib/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp > head/contrib/llvm/lib/Transforms/Scalar/ConstantProp.cpp > head/contrib/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp > head/contrib/llvm/lib/Transforms/Scalar/DCE.cpp > head/contrib/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp > head/contrib/llvm/lib/Transforms/Scalar/GEPSplitter.cpp > head/contrib/llvm/lib/Transforms/Scalar/GVN.cpp > head/contrib/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp > head/contrib/llvm/lib/Transforms/Scalar/JumpThreading.cpp > head/contrib/llvm/lib/Transforms/Scalar/LICM.cpp > head/contrib/llvm/lib/Transforms/Scalar/LoopDeletion.cpp > head/contrib/llvm/lib/Transforms/Scalar/LoopRotation.cpp > head/contrib/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp > head/contrib/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp > head/contrib/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp > head/contrib/llvm/lib/Transforms/Scalar/LowerAtomic.cpp > head/contrib/llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp > head/contrib/llvm/lib/Transforms/Scalar/Reassociate.cpp > head/contrib/llvm/lib/Transforms/Scalar/Reg2Mem.cpp > head/contrib/llvm/lib/Transforms/Scalar/SCCP.cpp > head/contrib/llvm/lib/Transforms/Scalar/Scalar.cpp > head/contrib/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp > head/contrib/llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp > head/contrib/llvm/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp > head/contrib/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp > head/contrib/llvm/lib/Transforms/Scalar/Sink.cpp > head/contrib/llvm/lib/Transforms/Scalar/TailDuplication.cpp > head/contrib/llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp > head/contrib/llvm/lib/Transforms/Utils/AddrModeMatcher.cpp > head/contrib/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp > head/contrib/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp > head/contrib/llvm/lib/Transforms/Utils/BuildLibCalls.cpp > head/contrib/llvm/lib/Transforms/Utils/CloneFunction.cpp > head/contrib/llvm/lib/Transforms/Utils/CloneLoop.cpp > head/contrib/llvm/lib/Transforms/Utils/CloneModule.cpp > head/contrib/llvm/lib/Transforms/Utils/CodeExtractor.cpp > head/contrib/llvm/lib/Transforms/Utils/DemoteRegToStack.cpp > head/contrib/llvm/lib/Transforms/Utils/InlineFunction.cpp > head/contrib/llvm/lib/Transforms/Utils/InstructionNamer.cpp > head/contrib/llvm/lib/Transforms/Utils/LCSSA.cpp > head/contrib/llvm/lib/Transforms/Utils/Local.cpp > head/contrib/llvm/lib/Transforms/Utils/LoopSimplify.cpp > head/contrib/llvm/lib/Transforms/Utils/LoopUnroll.cpp > head/contrib/llvm/lib/Transforms/Utils/LowerInvoke.cpp > head/contrib/llvm/lib/Transforms/Utils/LowerSwitch.cpp > head/contrib/llvm/lib/Transforms/Utils/Mem2Reg.cpp > head/contrib/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp > head/contrib/llvm/lib/Transforms/Utils/SSAUpdater.cpp > head/contrib/llvm/lib/Transforms/Utils/SimplifyCFG.cpp > head/contrib/llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp > head/contrib/llvm/lib/Transforms/Utils/ValueMapper.cpp > head/contrib/llvm/lib/VMCore/AsmWriter.cpp > head/contrib/llvm/lib/VMCore/Attributes.cpp > head/contrib/llvm/lib/VMCore/AutoUpgrade.cpp > head/contrib/llvm/lib/VMCore/BasicBlock.cpp > head/contrib/llvm/lib/VMCore/ConstantFold.cpp > head/contrib/llvm/lib/VMCore/ConstantFold.h > head/contrib/llvm/lib/VMCore/Constants.cpp > head/contrib/llvm/lib/VMCore/ConstantsContext.h > head/contrib/llvm/lib/VMCore/Core.cpp > head/contrib/llvm/lib/VMCore/Dominators.cpp > head/contrib/llvm/lib/VMCore/Function.cpp > head/contrib/llvm/lib/VMCore/Globals.cpp > head/contrib/llvm/lib/VMCore/IRBuilder.cpp > head/contrib/llvm/lib/VMCore/InlineAsm.cpp > head/contrib/llvm/lib/VMCore/Instruction.cpp > head/contrib/llvm/lib/VMCore/Instructions.cpp > head/contrib/llvm/lib/VMCore/LLVMContext.cpp > head/contrib/llvm/lib/VMCore/LLVMContextImpl.cpp > head/contrib/llvm/lib/VMCore/LLVMContextImpl.h > head/contrib/llvm/lib/VMCore/LeakDetector.cpp > head/contrib/llvm/lib/VMCore/Metadata.cpp > head/contrib/llvm/lib/VMCore/Module.cpp > head/contrib/llvm/lib/VMCore/Pass.cpp > head/contrib/llvm/lib/VMCore/PassManager.cpp > head/contrib/llvm/lib/VMCore/PassRegistry.cpp > head/contrib/llvm/lib/VMCore/PrintModulePass.cpp > head/contrib/llvm/lib/VMCore/Type.cpp > head/contrib/llvm/lib/VMCore/TypesContext.h > head/contrib/llvm/lib/VMCore/Use.cpp > head/contrib/llvm/lib/VMCore/Value.cpp > head/contrib/llvm/lib/VMCore/ValueTypes.cpp > head/contrib/llvm/lib/VMCore/Verifier.cpp > head/contrib/llvm/tools/clang/include/clang-c/Index.h > head/contrib/llvm/tools/clang/include/clang/AST/ASTConsumer.h > head/contrib/llvm/tools/clang/include/clang/AST/ASTContext.h > head/contrib/llvm/tools/clang/include/clang/AST/ASTDiagnostic.h > head/contrib/llvm/tools/clang/include/clang/AST/ASTImporter.h > head/contrib/llvm/tools/clang/include/clang/AST/Attr.h > head/contrib/llvm/tools/clang/include/clang/AST/CXXInheritance.h > head/contrib/llvm/tools/clang/include/clang/AST/CanonicalType.h > head/contrib/llvm/tools/clang/include/clang/AST/CharUnits.h > head/contrib/llvm/tools/clang/include/clang/AST/Decl.h > head/contrib/llvm/tools/clang/include/clang/AST/DeclBase.h > head/contrib/llvm/tools/clang/include/clang/AST/DeclCXX.h > head/contrib/llvm/tools/clang/include/clang/AST/DeclFriend.h > head/contrib/llvm/tools/clang/include/clang/AST/DeclGroup.h > head/contrib/llvm/tools/clang/include/clang/AST/DeclObjC.h > head/contrib/llvm/tools/clang/include/clang/AST/DeclTemplate.h > head/contrib/llvm/tools/clang/include/clang/AST/DeclarationName.h > head/contrib/llvm/tools/clang/include/clang/AST/Expr.h > head/contrib/llvm/tools/clang/include/clang/AST/ExprCXX.h > head/contrib/llvm/tools/clang/include/clang/AST/ExprObjC.h > head/contrib/llvm/tools/clang/include/clang/AST/ExternalASTSource.h > head/contrib/llvm/tools/clang/include/clang/AST/NestedNameSpecifier.h > head/contrib/llvm/tools/clang/include/clang/AST/OperationKinds.h > head/contrib/llvm/tools/clang/include/clang/AST/ParentMap.h > head/contrib/llvm/tools/clang/include/clang/AST/PrettyPrinter.h > head/contrib/llvm/tools/clang/include/clang/AST/RecordLayout.h > head/contrib/llvm/tools/clang/include/clang/AST/RecursiveASTVisitor.h > head/contrib/llvm/tools/clang/include/clang/AST/Redeclarable.h > head/contrib/llvm/tools/clang/include/clang/AST/Stmt.h > head/contrib/llvm/tools/clang/include/clang/AST/StmtCXX.h > head/contrib/llvm/tools/clang/include/clang/AST/StmtIterator.h > head/contrib/llvm/tools/clang/include/clang/AST/StmtObjC.h > head/contrib/llvm/tools/clang/include/clang/AST/TemplateBase.h > head/contrib/llvm/tools/clang/include/clang/AST/TemplateName.h > head/contrib/llvm/tools/clang/include/clang/AST/Type.h > head/contrib/llvm/tools/clang/include/clang/AST/TypeLoc.h > head/contrib/llvm/tools/clang/include/clang/AST/TypeNodes.def > head/contrib/llvm/tools/clang/include/clang/AST/TypeVisitor.h > head/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/FormatString.h > head/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/LiveVariables.h > head/contrib/llvm/tools/clang/include/clang/Analysis/AnalysisContext.h > head/contrib/llvm/tools/clang/include/clang/Analysis/AnalysisDiagnostic.h > head/contrib/llvm/tools/clang/include/clang/Analysis/CFG.h > head/contrib/llvm/tools/clang/include/clang/Analysis/FlowSensitive/DataflowSolver.h > head/contrib/llvm/tools/clang/include/clang/Analysis/ProgramPoint.h > head/contrib/llvm/tools/clang/include/clang/Analysis/Support/BumpVector.h > head/contrib/llvm/tools/clang/include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h > head/contrib/llvm/tools/clang/include/clang/Analysis/Visitors/CFGRecStmtVisitor.h > head/contrib/llvm/tools/clang/include/clang/Analysis/Visitors/CFGStmtVisitor.h > head/contrib/llvm/tools/clang/include/clang/Basic/Attr.td > head/contrib/llvm/tools/clang/include/clang/Basic/AttrKinds.h > head/contrib/llvm/tools/clang/include/clang/Basic/Builtins.def > head/contrib/llvm/tools/clang/include/clang/Basic/Builtins.h > head/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsPPC.def > head/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsX86.def > head/contrib/llvm/tools/clang/include/clang/Basic/DeclNodes.td > head/contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.h > head/contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.td > head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticASTKinds.td > head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticCommonKinds.td > head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticDriverKinds.td > head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticFrontendKinds.td > head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td > head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticLexKinds.td > head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticParseKinds.td > head/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.td > head/contrib/llvm/tools/clang/include/clang/Basic/FileManager.h > head/contrib/llvm/tools/clang/include/clang/Basic/IdentifierTable.h > head/contrib/llvm/tools/clang/include/clang/Basic/LangOptions.h > head/contrib/llvm/tools/clang/include/clang/Basic/OnDiskHashTable.h > head/contrib/llvm/tools/clang/include/clang/Basic/PartialDiagnostic.h > head/contrib/llvm/tools/clang/include/clang/Basic/SourceLocation.h > head/contrib/llvm/tools/clang/include/clang/Basic/SourceManager.h > head/contrib/llvm/tools/clang/include/clang/Basic/Specifiers.h > head/contrib/llvm/tools/clang/include/clang/Basic/StmtNodes.td > head/contrib/llvm/tools/clang/include/clang/Basic/TargetInfo.h > head/contrib/llvm/tools/clang/include/clang/Basic/TokenKinds.def > head/contrib/llvm/tools/clang/include/clang/Basic/TokenKinds.h > head/contrib/llvm/tools/clang/include/clang/Basic/TypeTraits.h > head/contrib/llvm/tools/clang/include/clang/Basic/Version.h > head/contrib/llvm/tools/clang/include/clang/Basic/arm_neon.td > head/contrib/llvm/tools/clang/include/clang/CodeGen/CodeGenAction.h > head/contrib/llvm/tools/clang/include/clang/Driver/ArgList.h > head/contrib/llvm/tools/clang/include/clang/Driver/CC1AsOptions.td > head/contrib/llvm/tools/clang/include/clang/Driver/CC1Options.td > head/contrib/llvm/tools/clang/include/clang/Driver/Driver.h > head/contrib/llvm/tools/clang/include/clang/Driver/DriverDiagnostic.h > head/contrib/llvm/tools/clang/include/clang/Driver/HostInfo.h > head/contrib/llvm/tools/clang/include/clang/Driver/OptTable.h > head/contrib/llvm/tools/clang/include/clang/Driver/Options.td > head/contrib/llvm/tools/clang/include/clang/Driver/ToolChain.h > head/contrib/llvm/tools/clang/include/clang/Driver/Types.def > head/contrib/llvm/tools/clang/include/clang/Frontend/ASTConsumers.h > head/contrib/llvm/tools/clang/include/clang/Frontend/ASTUnit.h > head/contrib/llvm/tools/clang/include/clang/Frontend/Analyses.def > head/contrib/llvm/tools/clang/include/clang/Frontend/AnalyzerOptions.h > head/contrib/llvm/tools/clang/include/clang/Frontend/CodeGenOptions.h > head/contrib/llvm/tools/clang/include/clang/Frontend/CommandLineSourceLoc.h > head/contrib/llvm/tools/clang/include/clang/Frontend/CompilerInstance.h > head/contrib/llvm/tools/clang/include/clang/Frontend/CompilerInvocation.h > head/contrib/llvm/tools/clang/include/clang/Frontend/DeclXML.def > head/contrib/llvm/tools/clang/include/clang/Frontend/DependencyOutputOptions.h > head/contrib/llvm/tools/clang/include/clang/Frontend/DiagnosticOptions.h > head/contrib/llvm/tools/clang/include/clang/Frontend/FrontendAction.h > head/contrib/llvm/tools/clang/include/clang/Frontend/FrontendActions.h > head/contrib/llvm/tools/clang/include/clang/Frontend/FrontendDiagnostic.h > head/contrib/llvm/tools/clang/include/clang/Frontend/FrontendOptions.h > head/contrib/llvm/tools/clang/include/clang/Frontend/HeaderSearchOptions.h > head/contrib/llvm/tools/clang/include/clang/Frontend/LangStandards.def > head/contrib/llvm/tools/clang/include/clang/Frontend/PreprocessorOptions.h > head/contrib/llvm/tools/clang/include/clang/Frontend/PreprocessorOutputOptions.h > head/contrib/llvm/tools/clang/include/clang/Frontend/StmtXML.def > head/contrib/llvm/tools/clang/include/clang/Frontend/TypeXML.def > head/contrib/llvm/tools/clang/include/clang/Frontend/Utils.h > head/contrib/llvm/tools/clang/include/clang/Frontend/VerifyDiagnosticsClient.h > head/contrib/llvm/tools/clang/include/clang/Lex/ExternalPreprocessorSource.h > head/contrib/llvm/tools/clang/include/clang/Lex/HeaderMap.h > head/contrib/llvm/tools/clang/include/clang/Lex/HeaderSearch.h > head/contrib/llvm/tools/clang/include/clang/Lex/LexDiagnostic.h > head/contrib/llvm/tools/clang/include/clang/Lex/Lexer.h > head/contrib/llvm/tools/clang/include/clang/Lex/LiteralSupport.h > head/contrib/llvm/tools/clang/include/clang/Lex/MacroInfo.h > head/contrib/llvm/tools/clang/include/clang/Lex/PPCallbacks.h > head/contrib/llvm/tools/clang/include/clang/Lex/PTHManager.h > head/contrib/llvm/tools/clang/include/clang/Lex/Pragma.h > head/contrib/llvm/tools/clang/include/clang/Lex/PreprocessingRecord.h > head/contrib/llvm/tools/clang/include/clang/Lex/Preprocessor.h > head/contrib/llvm/tools/clang/include/clang/Lex/PreprocessorLexer.h > head/contrib/llvm/tools/clang/include/clang/Lex/Token.h > head/contrib/llvm/tools/clang/include/clang/Parse/ParseDiagnostic.h > head/contrib/llvm/tools/clang/include/clang/Parse/Parser.h > head/contrib/llvm/tools/clang/include/clang/Rewrite/ASTConsumers.h > head/contrib/llvm/tools/clang/include/clang/Rewrite/FixItRewriter.h > head/contrib/llvm/tools/clang/include/clang/Sema/AttributeList.h > head/contrib/llvm/tools/clang/include/clang/Sema/CodeCompleteConsumer.h > head/contrib/llvm/tools/clang/include/clang/Sema/DeclSpec.h > head/contrib/llvm/tools/clang/include/clang/Sema/DelayedDiagnostic.h > head/contrib/llvm/tools/clang/include/clang/Sema/ExternalSemaSource.h > head/contrib/llvm/tools/clang/include/clang/Sema/Initialization.h > head/contrib/llvm/tools/clang/include/clang/Sema/Lookup.h > head/contrib/llvm/tools/clang/include/clang/Sema/Overload.h > head/contrib/llvm/tools/clang/include/clang/Sema/Ownership.h > head/contrib/llvm/tools/clang/include/clang/Sema/ParsedTemplate.h > head/contrib/llvm/tools/clang/include/clang/Sema/Scope.h > head/contrib/llvm/tools/clang/include/clang/Sema/ScopeInfo.h > head/contrib/llvm/tools/clang/include/clang/Sema/Sema.h > head/contrib/llvm/tools/clang/include/clang/Sema/SemaDiagnostic.h > head/contrib/llvm/tools/clang/include/clang/Sema/Template.h > head/contrib/llvm/tools/clang/include/clang/Sema/TemplateDeduction.h > head/contrib/llvm/tools/clang/include/clang/Serialization/ASTBitCodes.h > head/contrib/llvm/tools/clang/include/clang/Serialization/ASTDeserializationListener.h > head/contrib/llvm/tools/clang/include/clang/Serialization/ASTReader.h > head/contrib/llvm/tools/clang/include/clang/Serialization/ASTWriter.h > head/contrib/llvm/tools/clang/lib/AST/ASTContext.cpp > head/contrib/llvm/tools/clang/lib/AST/ASTDiagnostic.cpp > head/contrib/llvm/tools/clang/lib/AST/ASTImporter.cpp > head/contrib/llvm/tools/clang/lib/AST/CXXABI.h > head/contrib/llvm/tools/clang/lib/AST/CXXInheritance.cpp > head/contrib/llvm/tools/clang/lib/AST/Decl.cpp > head/contrib/llvm/tools/clang/lib/AST/DeclBase.cpp > head/contrib/llvm/tools/clang/lib/AST/DeclCXX.cpp > head/contrib/llvm/tools/clang/lib/AST/DeclObjC.cpp > head/contrib/llvm/tools/clang/lib/AST/DeclPrinter.cpp > head/contrib/llvm/tools/clang/lib/AST/DeclTemplate.cpp > head/contrib/llvm/tools/clang/lib/AST/DeclarationName.cpp > head/contrib/llvm/tools/clang/lib/AST/Expr.cpp > head/contrib/llvm/tools/clang/lib/AST/ExprCXX.cpp > head/contrib/llvm/tools/clang/lib/AST/ExprClassification.cpp > head/contrib/llvm/tools/clang/lib/AST/ExprConstant.cpp > head/contrib/llvm/tools/clang/lib/AST/InheritViz.cpp > head/contrib/llvm/tools/clang/lib/AST/ItaniumCXXABI.cpp > head/contrib/llvm/tools/clang/lib/AST/MicrosoftCXXABI.cpp > head/contrib/llvm/tools/clang/lib/AST/NestedNameSpecifier.cpp > head/contrib/llvm/tools/clang/lib/AST/ParentMap.cpp > head/contrib/llvm/tools/clang/lib/AST/RecordLayout.cpp > head/contrib/llvm/tools/clang/lib/AST/RecordLayoutBuilder.cpp > head/contrib/llvm/tools/clang/lib/AST/Stmt.cpp > head/contrib/llvm/tools/clang/lib/AST/StmtDumper.cpp > head/contrib/llvm/tools/clang/lib/AST/StmtIterator.cpp > head/contrib/llvm/tools/clang/lib/AST/StmtPrinter.cpp > head/contrib/llvm/tools/clang/lib/AST/StmtProfile.cpp > head/contrib/llvm/tools/clang/lib/AST/TemplateBase.cpp > head/contrib/llvm/tools/clang/lib/AST/TemplateName.cpp > head/contrib/llvm/tools/clang/lib/AST/Type.cpp > head/contrib/llvm/tools/clang/lib/AST/TypeLoc.cpp > head/contrib/llvm/tools/clang/lib/AST/TypePrinter.cpp > head/contrib/llvm/tools/clang/lib/Analysis/AnalysisContext.cpp > head/contrib/llvm/tools/clang/lib/Analysis/CFG.cpp > head/contrib/llvm/tools/clang/lib/Analysis/CFGStmtMap.cpp > head/contrib/llvm/tools/clang/lib/Analysis/FormatString.cpp > head/contrib/llvm/tools/clang/lib/Analysis/LiveVariables.cpp > head/contrib/llvm/tools/clang/lib/Analysis/PrintfFormatString.cpp > head/contrib/llvm/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp > head/contrib/llvm/tools/clang/lib/Analysis/ReachableCode.cpp > head/contrib/llvm/tools/clang/lib/Analysis/UninitializedValues.cpp > head/contrib/llvm/tools/clang/lib/Basic/Builtins.cpp > head/contrib/llvm/tools/clang/lib/Basic/Diagnostic.cpp > head/contrib/llvm/tools/clang/lib/Basic/FileManager.cpp > head/contrib/llvm/tools/clang/lib/Basic/IdentifierTable.cpp > head/contrib/llvm/tools/clang/lib/Basic/SourceLocation.cpp > head/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp > head/contrib/llvm/tools/clang/lib/Basic/TargetInfo.cpp > head/contrib/llvm/tools/clang/lib/Basic/Targets.cpp > head/contrib/llvm/tools/clang/lib/Basic/Version.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/ABIInfo.h > head/contrib/llvm/tools/clang/lib/CodeGen/BackendUtil.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.h > head/contrib/llvm/tools/clang/lib/CodeGen/CGBuiltin.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGCXX.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGCXXABI.h > head/contrib/llvm/tools/clang/lib/CodeGen/CGCall.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGClass.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.h > head/contrib/llvm/tools/clang/lib/CodeGen/CGDecl.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGDeclCXX.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGException.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGException.h > head/contrib/llvm/tools/clang/lib/CodeGen/CGExpr.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGExprAgg.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGExprCXX.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGExprComplex.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGExprConstant.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGExprScalar.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGObjC.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGObjCGNU.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGObjCRuntime.h > head/contrib/llvm/tools/clang/lib/CodeGen/CGRTTI.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGRecordLayout.h > head/contrib/llvm/tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGStmt.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGTemporaries.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGVTT.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGVTables.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CGVTables.h > head/contrib/llvm/tools/clang/lib/CodeGen/CGValue.h > head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenAction.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h > head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.h > head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTypes.h > head/contrib/llvm/tools/clang/lib/CodeGen/GlobalDecl.h > head/contrib/llvm/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/ModuleBuilder.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/TargetInfo.cpp > head/contrib/llvm/tools/clang/lib/CodeGen/TargetInfo.h > head/contrib/llvm/tools/clang/lib/Driver/Action.cpp > head/contrib/llvm/tools/clang/lib/Driver/Arg.cpp > head/contrib/llvm/tools/clang/lib/Driver/ArgList.cpp > head/contrib/llvm/tools/clang/lib/Driver/Compilation.cpp > head/contrib/llvm/tools/clang/lib/Driver/Driver.cpp > head/contrib/llvm/tools/clang/lib/Driver/DriverOptions.cpp > head/contrib/llvm/tools/clang/lib/Driver/HostInfo.cpp > head/contrib/llvm/tools/clang/lib/Driver/Job.cpp > head/contrib/llvm/tools/clang/lib/Driver/OptTable.cpp > head/contrib/llvm/tools/clang/lib/Driver/Option.cpp > head/contrib/llvm/tools/clang/lib/Driver/Phases.cpp > head/contrib/llvm/tools/clang/lib/Driver/Tool.cpp > head/contrib/llvm/tools/clang/lib/Driver/ToolChain.cpp > head/contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp > head/contrib/llvm/tools/clang/lib/Driver/ToolChains.h > head/contrib/llvm/tools/clang/lib/Driver/Tools.cpp > head/contrib/llvm/tools/clang/lib/Driver/Tools.h > head/contrib/llvm/tools/clang/lib/Driver/Types.cpp > head/contrib/llvm/tools/clang/lib/Frontend/ASTConsumers.cpp > head/contrib/llvm/tools/clang/lib/Frontend/ASTMerge.cpp > head/contrib/llvm/tools/clang/lib/Frontend/ASTUnit.cpp > head/contrib/llvm/tools/clang/lib/Frontend/CacheTokens.cpp > head/contrib/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp > head/contrib/llvm/tools/clang/lib/Frontend/CompilerInvocation.cpp > head/contrib/llvm/tools/clang/lib/Frontend/DeclXML.cpp > head/contrib/llvm/tools/clang/lib/Frontend/DependencyFile.cpp > head/contrib/llvm/tools/clang/lib/Frontend/DocumentXML.cpp > head/contrib/llvm/tools/clang/lib/Frontend/FrontendAction.cpp > head/contrib/llvm/tools/clang/lib/Frontend/FrontendActions.cpp > head/contrib/llvm/tools/clang/lib/Frontend/FrontendOptions.cpp > head/contrib/llvm/tools/clang/lib/Frontend/InitHeaderSearch.cpp > head/contrib/llvm/tools/clang/lib/Frontend/InitPreprocessor.cpp > head/contrib/llvm/tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp > head/contrib/llvm/tools/clang/lib/Frontend/StmtXML.cpp > head/contrib/llvm/tools/clang/lib/Frontend/TextDiagnosticBuffer.cpp > head/contrib/llvm/tools/clang/lib/Frontend/TextDiagnosticPrinter.cpp > head/contrib/llvm/tools/clang/lib/Frontend/TypeXML.cpp > head/contrib/llvm/tools/clang/lib/Frontend/VerifyDiagnosticsClient.cpp > head/contrib/llvm/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp > head/contrib/llvm/tools/clang/lib/Headers/altivec.h > head/contrib/llvm/tools/clang/lib/Headers/emmintrin.h > head/contrib/llvm/tools/clang/lib/Headers/limits.h > head/contrib/llvm/tools/clang/lib/Headers/mm_malloc.h > head/contrib/llvm/tools/clang/lib/Headers/mmintrin.h > head/contrib/llvm/tools/clang/lib/Headers/stdbool.h > head/contrib/llvm/tools/clang/lib/Headers/stddef.h > head/contrib/llvm/tools/clang/lib/Headers/xmmintrin.h > head/contrib/llvm/tools/clang/lib/Index/ASTVisitor.h > head/contrib/llvm/tools/clang/lib/Index/CallGraph.cpp > head/contrib/llvm/tools/clang/lib/Lex/HeaderMap.cpp > head/contrib/llvm/tools/clang/lib/Lex/HeaderSearch.cpp > head/contrib/llvm/tools/clang/lib/Lex/Lexer.cpp > head/contrib/llvm/tools/clang/lib/Lex/LiteralSupport.cpp > head/contrib/llvm/tools/clang/lib/Lex/MacroInfo.cpp > head/contrib/llvm/tools/clang/lib/Lex/PPDirectives.cpp > head/contrib/llvm/tools/clang/lib/Lex/PPExpressions.cpp > head/contrib/llvm/tools/clang/lib/Lex/PPLexerChange.cpp > head/contrib/llvm/tools/clang/lib/Lex/PPMacroExpansion.cpp > head/contrib/llvm/tools/clang/lib/Lex/PTHLexer.cpp > head/contrib/llvm/tools/clang/lib/Lex/Pragma.cpp > head/contrib/llvm/tools/clang/lib/Lex/PreprocessingRecord.cpp > head/contrib/llvm/tools/clang/lib/Lex/Preprocessor.cpp > head/contrib/llvm/tools/clang/lib/Lex/TokenConcatenation.cpp > head/contrib/llvm/tools/clang/lib/Lex/TokenLexer.cpp > head/contrib/llvm/tools/clang/lib/Parse/ParseAST.cpp > head/contrib/llvm/tools/clang/lib/Parse/ParseCXXInlineMethods.cpp > head/contrib/llvm/tools/clang/lib/Parse/ParseDecl.cpp > head/contrib/llvm/tools/clang/lib/Parse/ParseDeclCXX.cpp > head/contrib/llvm/tools/clang/lib/Parse/ParseExpr.cpp > head/contrib/llvm/tools/clang/lib/Parse/ParseExprCXX.cpp > head/contrib/llvm/tools/clang/lib/Parse/ParseInit.cpp > head/contrib/llvm/tools/clang/lib/Parse/ParseObjc.cpp > head/contrib/llvm/tools/clang/lib/Parse/ParsePragma.cpp > head/contrib/llvm/tools/clang/lib/Parse/ParsePragma.h > head/contrib/llvm/tools/clang/lib/Parse/ParseStmt.cpp > head/contrib/llvm/tools/clang/lib/Parse/ParseTemplate.cpp > head/contrib/llvm/tools/clang/lib/Parse/ParseTentative.cpp > head/contrib/llvm/tools/clang/lib/Parse/Parser.cpp > head/contrib/llvm/tools/clang/lib/Parse/RAIIObjectsForParser.h > head/contrib/llvm/tools/clang/lib/Rewrite/FixItRewriter.cpp > head/contrib/llvm/tools/clang/lib/Rewrite/FrontendActions.cpp > head/contrib/llvm/tools/clang/lib/Rewrite/HTMLRewrite.cpp > head/contrib/llvm/tools/clang/lib/Rewrite/RewriteMacros.cpp > head/contrib/llvm/tools/clang/lib/Rewrite/RewriteObjC.cpp > head/contrib/llvm/tools/clang/lib/Rewrite/RewriteRope.cpp > head/contrib/llvm/tools/clang/lib/Rewrite/TokenRewriter.cpp > head/contrib/llvm/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp > head/contrib/llvm/tools/clang/lib/Sema/AttributeList.cpp > head/contrib/llvm/tools/clang/lib/Sema/CodeCompleteConsumer.cpp > head/contrib/llvm/tools/clang/lib/Sema/DeclSpec.cpp > head/contrib/llvm/tools/clang/lib/Sema/JumpDiagnostics.cpp > head/contrib/llvm/tools/clang/lib/Sema/Sema.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaAccess.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaAttr.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaCXXCast.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaCXXScopeSpec.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaChecking.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaCodeComplete.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaDeclAttr.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaDeclCXX.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaDeclObjC.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaExceptionSpec.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaExpr.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaExprCXX.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaExprObjC.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaInit.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaLookup.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaObjCProperty.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaOverload.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaStmt.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaTemplate.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaTemplateDeduction.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp > head/contrib/llvm/tools/clang/lib/Sema/SemaType.cpp > head/contrib/llvm/tools/clang/lib/Sema/TargetAttributesSema.cpp > head/contrib/llvm/tools/clang/lib/Sema/TreeTransform.h > head/contrib/llvm/tools/clang/lib/Serialization/ASTCommon.cpp > head/contrib/llvm/tools/clang/lib/Serialization/ASTCommon.h > head/contrib/llvm/tools/clang/lib/Serialization/ASTReader.cpp > head/contrib/llvm/tools/clang/lib/Serialization/ASTReaderDecl.cpp > head/contrib/llvm/tools/clang/lib/Serialization/ASTReaderStmt.cpp > head/contrib/llvm/tools/clang/lib/Serialization/ASTWriter.cpp > head/contrib/llvm/tools/clang/lib/Serialization/ASTWriterDecl.cpp > head/contrib/llvm/tools/clang/lib/Serialization/ASTWriterStmt.cpp > head/contrib/llvm/tools/clang/lib/Serialization/GeneratePCH.cpp > head/contrib/llvm/tools/clang/tools/driver/cc1_main.cpp > head/contrib/llvm/tools/clang/tools/driver/cc1as_main.cpp > head/contrib/llvm/tools/clang/tools/driver/driver.cpp > head/contrib/llvm/utils/TableGen/ARMDecoderEmitter.cpp > head/contrib/llvm/utils/TableGen/ARMDecoderEmitter.h > head/contrib/llvm/utils/TableGen/AsmMatcherEmitter.cpp > head/contrib/llvm/utils/TableGen/AsmWriterEmitter.cpp > head/contrib/llvm/utils/TableGen/AsmWriterInst.cpp > head/contrib/llvm/utils/TableGen/AsmWriterInst.h > head/contrib/llvm/utils/TableGen/CallingConvEmitter.cpp > head/contrib/llvm/utils/TableGen/ClangASTNodesEmitter.h > head/contrib/llvm/utils/TableGen/ClangAttrEmitter.cpp > head/contrib/llvm/utils/TableGen/ClangAttrEmitter.h > head/contrib/llvm/utils/TableGen/ClangDiagnosticsEmitter.cpp > head/contrib/llvm/utils/TableGen/CodeEmitterGen.cpp > head/contrib/llvm/utils/TableGen/CodeEmitterGen.h > head/contrib/llvm/utils/TableGen/CodeGenDAGPatterns.cpp > head/contrib/llvm/utils/TableGen/CodeGenDAGPatterns.h > head/contrib/llvm/utils/TableGen/CodeGenInstruction.cpp > head/contrib/llvm/utils/TableGen/CodeGenInstruction.h > head/contrib/llvm/utils/TableGen/CodeGenRegisters.h > head/contrib/llvm/utils/TableGen/CodeGenTarget.cpp > head/contrib/llvm/utils/TableGen/CodeGenTarget.h > head/contrib/llvm/utils/TableGen/DAGISelMatcher.cpp > head/contrib/llvm/utils/TableGen/DAGISelMatcher.h > head/contrib/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp > head/contrib/llvm/utils/TableGen/DAGISelMatcherGen.cpp > head/contrib/llvm/utils/TableGen/DAGISelMatcherOpt.cpp > head/contrib/llvm/utils/TableGen/DisassemblerEmitter.cpp > head/contrib/llvm/utils/TableGen/EDEmitter.cpp > head/contrib/llvm/utils/TableGen/FastISelEmitter.cpp > head/contrib/llvm/utils/TableGen/InstrEnumEmitter.cpp > head/contrib/llvm/utils/TableGen/InstrInfoEmitter.cpp > head/contrib/llvm/utils/TableGen/IntrinsicEmitter.cpp > head/contrib/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp > head/contrib/llvm/utils/TableGen/LLVMCConfigurationEmitter.h > head/contrib/llvm/utils/TableGen/NeonEmitter.cpp > head/contrib/llvm/utils/TableGen/NeonEmitter.h > head/contrib/llvm/utils/TableGen/Record.cpp > head/contrib/llvm/utils/TableGen/Record.h > head/contrib/llvm/utils/TableGen/RegisterInfoEmitter.cpp > head/contrib/llvm/utils/TableGen/SubtargetEmitter.cpp > head/contrib/llvm/utils/TableGen/SubtargetEmitter.h > head/contrib/llvm/utils/TableGen/TGLexer.cpp > head/contrib/llvm/utils/TableGen/TGLexer.h > head/contrib/llvm/utils/TableGen/TGParser.cpp > head/contrib/llvm/utils/TableGen/TGParser.h > head/contrib/llvm/utils/TableGen/TableGen.cpp > head/contrib/llvm/utils/TableGen/X86DisassemblerTables.cpp > head/contrib/llvm/utils/TableGen/X86ModRMFilters.h > head/contrib/llvm/utils/TableGen/X86RecognizableInstr.cpp > head/contrib/llvm/utils/TableGen/X86RecognizableInstr.h > head/etc/mtree/BSD.include.dist > head/lib/clang/Makefile > head/lib/clang/clang.build.mk > head/lib/clang/include/Makefile > head/lib/clang/include/clang/Basic/Version.inc > head/lib/clang/include/llvm/Config/AsmPrinters.def > head/lib/clang/include/llvm/Config/Disassemblers.def > head/lib/clang/include/llvm/Config/Targets.def > head/lib/clang/include/llvm/Config/config.h > head/lib/clang/include/llvm/Config/llvm-config.h > head/lib/clang/libclanganalysis/Makefile > head/lib/clang/libclangast/Makefile > head/lib/clang/libclangbasic/Makefile > head/lib/clang/libclangcodegen/Makefile > head/lib/clang/libclangfrontend/Makefile > head/lib/clang/libclanglex/Makefile > head/lib/clang/libclangsema/Makefile > head/lib/clang/libllvmanalysis/Makefile > head/lib/clang/libllvmarmcodegen/Makefile > head/lib/clang/libllvmasmprinter/Makefile > head/lib/clang/libllvmcodegen/Makefile > head/lib/clang/libllvmcore/Makefile > head/lib/clang/libllvmipo/Makefile > head/lib/clang/libllvmmc/Makefile > head/lib/clang/libllvmmcparser/Makefile > head/lib/clang/libllvmmipscodegen/Makefile > head/lib/clang/libllvmpowerpccodegen/Makefile > head/lib/clang/libllvmscalaropts/Makefile > head/lib/clang/libllvmsupport/Makefile > head/lib/clang/libllvmtarget/Makefile > head/lib/clang/libllvmx86codegen/Makefile > head/lib/libz/Makefile > head/sys/boot/i386/boot0/Makefile > head/sys/boot/i386/btx/btx/Makefile > head/sys/boot/i386/btx/btxldr/Makefile > head/sys/boot/i386/gptboot/Makefile > head/sys/boot/i386/gptzfsboot/Makefile > head/sys/boot/i386/libi386/Makefile > head/sys/boot/i386/pxeldr/Makefile > head/sys/boot/i386/zfsboot/Makefile > head/sys/boot/pc98/btx/btx/Makefile > head/sys/boot/pc98/btx/btxldr/Makefile > head/sys/conf/Makefile.amd64 > head/sys/conf/Makefile.i386 > head/sys/modules/bios/smapi/Makefile > head/sys/modules/linux/Makefile > head/usr.bin/clang/clang/Makefile > head/usr.bin/clang/tblgen/Makefile > Directory Properties: > head/contrib/llvm/ (props changed) > head/contrib/llvm/tools/clang/ (props changed) > > Modified: head/Makefile.inc1 > ============================================================================== > --- head/Makefile.inc1 Sun Feb 20 17:54:49 2011 (r218892) > +++ head/Makefile.inc1 Sun Feb 20 19:33:47 2011 (r218893) > @@ -974,7 +974,6 @@ _crunchgen= usr.sbin/crunch/crunchgen > # with different per-architecture default values. Always build tblgen. > _clang_tblgen= \ > lib/clang/libllvmsupport \ > - lib/clang/libllvmsystem \ > usr.bin/clang/tblgen > > .if ${MK_CDDL} != "no" > > Modified: head/ObsoleteFiles.inc > ============================================================================== > --- head/ObsoleteFiles.inc Sun Feb 20 17:54:49 2011 (r218892) > +++ head/ObsoleteFiles.inc Sun Feb 20 19:33:47 2011 (r218893) > @@ -38,6 +38,14 @@ > # xargs -n1 | sort | uniq -d; > # done > > +# 20110220: new clang import which bumps version from 2.8 to 2.9 > +OLD_FILES+=usr/include/clang/2.8/emmintrin.h > +OLD_FILES+=usr/include/clang/2.8/mm_malloc.h > +OLD_FILES+=usr/include/clang/2.8/mmintrin.h > +OLD_FILES+=usr/include/clang/2.8/pmmintrin.h > +OLD_FILES+=usr/include/clang/2.8/tmmintrin.h > +OLD_FILES+=usr/include/clang/2.8/xmmintrin.h > +OLD_DIRS+=usr/include/clang/2.8 > # 20110119: Remove SYSCTL_*X* sysctl additions. > OLD_FILES+=usr/share/man/man9/SYSCTL_XINT.9.gz \ > usr/share/man/man9/SYSCTL_XLONG.9.gz > > Modified: head/contrib/llvm/include/llvm-c/Core.h > ============================================================================== > --- head/contrib/llvm/include/llvm-c/Core.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm-c/Core.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -33,13 +33,14 @@ > #ifndef LLVM_C_CORE_H > #define LLVM_C_CORE_H > > -#include "llvm/System/DataTypes.h" > +#include "llvm/Support/DataTypes.h" > > #ifdef __cplusplus > > /* Need these includes to support the LLVM 'cast' template for the C++ 'wrap' > and 'unwrap' conversion functions. */ > #include "llvm/Module.h" > +#include "llvm/PassRegistry.h" > #include "llvm/Support/IRBuilder.h" > > extern "C" { > @@ -92,6 +93,9 @@ typedef struct LLVMOpaqueMemoryBuffer *L > /** See the llvm::PassManagerBase class. */ > typedef struct LLVMOpaquePassManager *LLVMPassManagerRef; > > +/** See the llvm::PassRegistry class. */ > +typedef struct LLVMOpaquePassRegistry *LLVMPassRegistryRef; > + > /** Used to get the users and usees of a Value. See the llvm::Use class. */ > typedef struct LLVMOpaqueUse *LLVMUseRef; > > @@ -204,7 +208,8 @@ typedef enum { > LLVMPointerTypeKind, /**< Pointers */ > LLVMOpaqueTypeKind, /**< Opaque: type with unknown structure */ > LLVMVectorTypeKind, /**< SIMD 'packed' format, or other vector type */ > - LLVMMetadataTypeKind /**< Metadata */ > + LLVMMetadataTypeKind, /**< Metadata */ > + LLVMX86_MMXTypeKind /**< X86 MMX */ > } LLVMTypeKind; > > typedef enum { > @@ -317,6 +322,7 @@ void LLVMSetTarget(LLVMModuleRef M, cons > LLVMBool LLVMAddTypeName(LLVMModuleRef M, const char *Name, LLVMTypeRef Ty); > void LLVMDeleteTypeName(LLVMModuleRef M, const char *Name); > LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, const char *Name); > +const char *LLVMGetTypeName(LLVMModuleRef M, LLVMTypeRef Ty); > > /** See Module::dump. */ > void LLVMDumpModule(LLVMModuleRef M); > @@ -324,6 +330,9 @@ void LLVMDumpModule(LLVMModuleRef M); > /** See Module::setModuleInlineAsm. */ > void LLVMSetModuleInlineAsm(LLVMModuleRef M, const char *Asm); > > +/** See Module::getContext. */ > +LLVMContextRef LLVMGetModuleContext(LLVMModuleRef M); > + > /*===-- Types -------------------------------------------------------------===*/ > > /* LLVM types conform to the following hierarchy: > @@ -408,10 +417,12 @@ unsigned LLVMGetVectorSize(LLVMTypeRef V > LLVMTypeRef LLVMVoidTypeInContext(LLVMContextRef C); > LLVMTypeRef LLVMLabelTypeInContext(LLVMContextRef C); > LLVMTypeRef LLVMOpaqueTypeInContext(LLVMContextRef C); > +LLVMTypeRef LLVMX86MMXTypeInContext(LLVMContextRef C); > > LLVMTypeRef LLVMVoidType(void); > LLVMTypeRef LLVMLabelType(void); > LLVMTypeRef LLVMOpaqueType(void); > +LLVMTypeRef LLVMX86MMXType(void); > > /* Operations on type handles */ > LLVMTypeHandleRef LLVMCreateTypeHandle(LLVMTypeRef PotentiallyAbstractTy); > @@ -540,6 +551,9 @@ LLVMValueRef LLVMMDNode(LLVMValueRef *Va > /* Operations on scalar constants */ > LLVMValueRef LLVMConstInt(LLVMTypeRef IntTy, unsigned long long N, > LLVMBool SignExtend); > +LLVMValueRef LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy, > + unsigned NumWords, > + const uint64_t Words[]); > LLVMValueRef LLVMConstIntOfString(LLVMTypeRef IntTy, const char *Text, > uint8_t Radix); > LLVMValueRef LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy, const char *Text, > @@ -1013,6 +1027,11 @@ LLVMBool LLVMCreateMemoryBufferWithSTDIN > char **OutMessage); > void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf); > > +/*===-- Pass Registry -----------------------------------------------------===*/ > + > +/** Return the global pass registry, for use with initialization functions. > + See llvm::PassRegistry::getPassRegistry. */ > +LLVMPassRegistryRef LLVMGetGlobalPassRegistry(void); > > /*===-- Pass Managers -----------------------------------------------------===*/ > > @@ -1101,6 +1120,7 @@ namespace llvm { > DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LLVMContext, LLVMContextRef ) > DEFINE_SIMPLE_CONVERSION_FUNCTIONS(Use, LLVMUseRef ) > DEFINE_STDCXX_CONVERSION_FUNCTIONS(PassManagerBase, LLVMPassManagerRef ) > + DEFINE_STDCXX_CONVERSION_FUNCTIONS(PassRegistry, LLVMPassRegistryRef ) > /* LLVMModuleProviderRef exists for historical reasons, but now just holds a > * Module. > */ > > Modified: head/contrib/llvm/include/llvm-c/EnhancedDisassembly.h > ============================================================================== > --- head/contrib/llvm/include/llvm-c/EnhancedDisassembly.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm-c/EnhancedDisassembly.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -19,7 +19,7 @@ > #ifndef LLVM_C_ENHANCEDDISASSEMBLY_H > #define LLVM_C_ENHANCEDDISASSEMBLY_H > > -#include "llvm/System/DataTypes.h" > +#include "llvm/Support/DataTypes.h" > > #ifdef __cplusplus > extern "C" { > > Copied: head/contrib/llvm/include/llvm-c/Initialization.h (from r218888, vendor/llvm/dist/include/llvm-c/Initialization.h) > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/contrib/llvm/include/llvm-c/Initialization.h Sun Feb 20 19:33:47 2011 (r218893, copy of r218888, vendor/llvm/dist/include/llvm-c/Initialization.h) > @@ -0,0 +1,40 @@ > +/*===-- llvm-c/Initialization.h - Initialization C Interface ------*- C -*-===*\ > +|* *| > +|* The LLVM Compiler Infrastructure *| > +|* *| > +|* This file is distributed under the University of Illinois Open Source *| > +|* License. See LICENSE.TXT for details. *| > +|* *| > +|*===----------------------------------------------------------------------===*| > +|* *| > +|* This header declares the C interface to LLVM initialization routines, *| > +|* which must be called before you can use the functionality provided by *| > +|* the corresponding LLVM library. *| > +|* *| > +\*===----------------------------------------------------------------------===*/ > + > +#ifndef LLVM_C_INITIALIZEPASSES_H > +#define LLVM_C_INITIALIZEPASSES_H > + > +#include "llvm-c/Core.h" > + > +#ifdef __cplusplus > +extern "C" { > +#endif > + > +void LLVMInitializeCore(LLVMPassRegistryRef R); > +void LLVMInitializeTransformUtils(LLVMPassRegistryRef R); > +void LLVMInitializeScalarOpts(LLVMPassRegistryRef R); > +void LLVMInitializeInstCombine(LLVMPassRegistryRef R); > +void LLVMInitializeIPO(LLVMPassRegistryRef R); > +void LLVMInitializeInstrumentation(LLVMPassRegistryRef R); > +void LLVMInitializeAnalysis(LLVMPassRegistryRef R); > +void LLVMInitializeIPA(LLVMPassRegistryRef R); > +void LLVMInitializeCodeGen(LLVMPassRegistryRef R); > +void LLVMInitializeTarget(LLVMPassRegistryRef R); > + > +#ifdef __cplusplus > +} > +#endif > + > +#endif > > Modified: head/contrib/llvm/include/llvm-c/LinkTimeOptimizer.h > ============================================================================== > --- head/contrib/llvm/include/llvm-c/LinkTimeOptimizer.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm-c/LinkTimeOptimizer.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -8,7 +8,7 @@ > //===----------------------------------------------------------------------===// > // > // This header provides a C API to use the LLVM link time optimization > -// library. This is inteded to be used by linkers which are C-only in > +// library. This is intended to be used by linkers which are C-only in > // their implementation for performing LTO. > // > //===----------------------------------------------------------------------===// > > Modified: head/contrib/llvm/include/llvm-c/Transforms/Scalar.h > ============================================================================== > --- head/contrib/llvm/include/llvm-c/Transforms/Scalar.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm-c/Transforms/Scalar.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -52,9 +52,6 @@ void LLVMAddLICMPass(LLVMPassManagerRef > /** See llvm::createLoopDeletionPass function. */ > void LLVMAddLoopDeletionPass(LLVMPassManagerRef PM); > > -/** See llvm::createLoopIndexSplitPass function. */ > -void LLVMAddLoopIndexSplitPass(LLVMPassManagerRef PM); > - > /** See llvm::createLoopRotatePass function. */ > void LLVMAddLoopRotatePass(LLVMPassManagerRef PM); > > > Modified: head/contrib/llvm/include/llvm-c/lto.h > ============================================================================== > --- head/contrib/llvm/include/llvm-c/lto.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm-c/lto.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -18,27 +18,28 @@ > > #include > #include > -#include "llvm/System/DataTypes.h" > +#include > > -#define LTO_API_VERSION 3 > +#define LTO_API_VERSION 4 > > typedef enum { > - LTO_SYMBOL_ALIGNMENT_MASK = 0x0000001F, /* log2 of alignment */ > - LTO_SYMBOL_PERMISSIONS_MASK = 0x000000E0, > - LTO_SYMBOL_PERMISSIONS_CODE = 0x000000A0, > - LTO_SYMBOL_PERMISSIONS_DATA = 0x000000C0, > - LTO_SYMBOL_PERMISSIONS_RODATA = 0x00000080, > - LTO_SYMBOL_DEFINITION_MASK = 0x00000700, > - LTO_SYMBOL_DEFINITION_REGULAR = 0x00000100, > - LTO_SYMBOL_DEFINITION_TENTATIVE = 0x00000200, > - LTO_SYMBOL_DEFINITION_WEAK = 0x00000300, > - LTO_SYMBOL_DEFINITION_UNDEFINED = 0x00000400, > - LTO_SYMBOL_DEFINITION_WEAKUNDEF = 0x00000500, > - LTO_SYMBOL_SCOPE_MASK = 0x00003800, > - LTO_SYMBOL_SCOPE_INTERNAL = 0x00000800, > - LTO_SYMBOL_SCOPE_HIDDEN = 0x00001000, > - LTO_SYMBOL_SCOPE_PROTECTED = 0x00002000, > - LTO_SYMBOL_SCOPE_DEFAULT = 0x00001800 > + LTO_SYMBOL_ALIGNMENT_MASK = 0x0000001F, /* log2 of alignment */ > + LTO_SYMBOL_PERMISSIONS_MASK = 0x000000E0, > + LTO_SYMBOL_PERMISSIONS_CODE = 0x000000A0, > + LTO_SYMBOL_PERMISSIONS_DATA = 0x000000C0, > + LTO_SYMBOL_PERMISSIONS_RODATA = 0x00000080, > + LTO_SYMBOL_DEFINITION_MASK = 0x00000700, > + LTO_SYMBOL_DEFINITION_REGULAR = 0x00000100, > + LTO_SYMBOL_DEFINITION_TENTATIVE = 0x00000200, > + LTO_SYMBOL_DEFINITION_WEAK = 0x00000300, > + LTO_SYMBOL_DEFINITION_UNDEFINED = 0x00000400, > + LTO_SYMBOL_DEFINITION_WEAKUNDEF = 0x00000500, > + LTO_SYMBOL_SCOPE_MASK = 0x00003800, > + LTO_SYMBOL_SCOPE_INTERNAL = 0x00000800, > + LTO_SYMBOL_SCOPE_HIDDEN = 0x00001000, > + LTO_SYMBOL_SCOPE_PROTECTED = 0x00002000, > + LTO_SYMBOL_SCOPE_DEFAULT = 0x00001800, > + LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN = 0x00002800 > } lto_symbol_attributes; > > typedef enum { > @@ -121,6 +122,13 @@ lto_module_create(const char* path); > extern lto_module_t > lto_module_create_from_memory(const void* mem, size_t length); > > +/** > + * Loads an object file from disk. The seek point of fd is not preserved. > + * Returns NULL on error (check lto_get_error_message() for details). > + */ > +extern lto_module_t > +lto_module_create_from_fd(int fd, const char *path, off_t size); > + > > /** > * Frees all memory internally allocated by the module. > @@ -146,7 +154,7 @@ lto_module_set_target_triple(lto_module_ > /** > * Returns the number of symbols in the object module. > */ > -extern uint32_t > +extern unsigned int > lto_module_get_num_symbols(lto_module_t mod); > > > @@ -154,14 +162,14 @@ lto_module_get_num_symbols(lto_module_t > * Returns the name of the ith symbol in the object module. > */ > extern const char* > -lto_module_get_symbol_name(lto_module_t mod, uint32_t index); > +lto_module_get_symbol_name(lto_module_t mod, unsigned int index); > > > /** > * Returns the attributes of the ith symbol in the object module. > */ > extern lto_symbol_attributes > -lto_module_get_symbol_attribute(lto_module_t mod, uint32_t index); > +lto_module_get_symbol_attribute(lto_module_t mod, unsigned int index); > > > /** > > Modified: head/contrib/llvm/include/llvm/ADT/APFloat.h > ============================================================================== > --- head/contrib/llvm/include/llvm/ADT/APFloat.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm/ADT/APFloat.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -246,6 +246,13 @@ namespace llvm { > static APFloat getSmallestNormalized(const fltSemantics &Sem, > bool Negative = false); > > + /// getAllOnesValue - Returns a float which is bitcasted from > + /// an all one value int. > + /// > + /// \param BitWidth - Select float type > + /// \param isIEEE - If 128 bit number, select between PPC and IEEE > + static APFloat getAllOnesValue(unsigned BitWidth, bool isIEEE = false); > + > /// Profile - Used to insert APFloat objects, or objects that contain > /// APFloat objects, into FoldingSets. > void Profile(FoldingSetNodeID& NID) const; > > Modified: head/contrib/llvm/include/llvm/ADT/APInt.h > ============================================================================== > --- head/contrib/llvm/include/llvm/ADT/APInt.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm/ADT/APInt.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -275,12 +275,6 @@ public: > /// objects, into FoldingSets. > void Profile(FoldingSetNodeID& id) const; > > - /// @brief Used by the Bitcode serializer to emit APInts to Bitcode. > - void Emit(Serializer& S) const; > - > - /// @brief Used by the Bitcode deserializer to deserialize APInts. > - void Read(Deserializer& D); > - > /// @} > /// @name Value Tests > /// @{ > @@ -302,7 +296,7 @@ public: > /// @returns true if this APInt is positive. > /// @brief Determine if this APInt Value is positive. > bool isStrictlyPositive() const { > - return isNonNegative() && (*this) != 0; > + return isNonNegative() && !!*this; > } > > /// This checks to see if the value has all bits of the APInt are set or not. > @@ -330,15 +324,14 @@ public: > /// value for the APInt's bit width. > /// @brief Determine if this is the smallest unsigned value. > bool isMinValue() const { > - return countPopulation() == 0; > + return !*this; > } > > /// This checks to see if the value of this APInt is the minimum signed > /// value for the APInt's bit width. > /// @brief Determine if this is the smallest signed value. > bool isMinSignedValue() const { > - return BitWidth == 1 ? VAL == 1 : > - isNegative() && countPopulation() == 1; > + return BitWidth == 1 ? VAL == 1 : isNegative() && isPowerOf2(); > } > > /// @brief Check if this APInt has an N-bits unsigned integer value. > @@ -348,10 +341,8 @@ public: > return true; > > if (isSingleWord()) > - return VAL == (VAL & (~0ULL >> (64 - N))); > - APInt Tmp(N, getNumWords(), pVal); > - Tmp.zext(getBitWidth()); > - return Tmp == (*this); > + return isUIntN(N, VAL); > + return APInt(N, getNumWords(), pVal).zext(getBitWidth()) == (*this); > } > > /// @brief Check if this APInt has an N-bits signed integer value. > @@ -361,7 +352,11 @@ public: > } > > /// @returns true if the argument APInt value is a power of two > 0. > - bool isPowerOf2() const; > + bool isPowerOf2() const { > + if (isSingleWord()) > + return isPowerOf2_64(VAL); > + return countPopulationSlowCase() == 1; > + } > > /// isSignBit - Return true if this is the value returned by getSignBit. > bool isSignBit() const { return isMinSignedValue(); } > @@ -369,7 +364,7 @@ public: > /// This converts the APInt to a boolean value as a test against zero. > /// @brief Boolean conversion function. > bool getBoolValue() const { > - return *this != 0; > + return !!*this; > } > > /// getLimitedValue - If this value is smaller than the specified limit, > @@ -385,12 +380,14 @@ public: > /// @{ > /// @brief Gets maximum unsigned value of APInt for specific bit width. > static APInt getMaxValue(unsigned numBits) { > - return APInt(numBits, 0).set(); > + return getAllOnesValue(numBits); > } > > /// @brief Gets maximum signed value of APInt for a specific bit width. > static APInt getSignedMaxValue(unsigned numBits) { > - return APInt(numBits, 0).set().clear(numBits - 1); > + APInt API = getAllOnesValue(numBits); > + API.clearBit(numBits - 1); > + return API; > } > > /// @brief Gets minimum unsigned value of APInt for a specific bit width. > @@ -400,7 +397,9 @@ public: > > /// @brief Gets minimum signed value of APInt for a specific bit width. > static APInt getSignedMinValue(unsigned numBits) { > - return APInt(numBits, 0).set(numBits - 1); > + APInt API(numBits, 0); > + API.setBit(numBits - 1); > + return API; > } > > /// getSignBit - This is just a wrapper function of getSignedMinValue(), and > @@ -413,7 +412,7 @@ public: > /// @returns the all-ones value for an APInt of the specified bit-width. > /// @brief Get the all-ones value. > static APInt getAllOnesValue(unsigned numBits) { > - return APInt(numBits, 0).set(); > + return APInt(numBits, -1ULL, true); > } > > /// @returns the '0' value for an APInt of the specified bit-width. > @@ -432,6 +431,13 @@ public: > /// @returns the low "numBits" bits of this APInt. > APInt getLoBits(unsigned numBits) const; > > + /// getOneBitSet - Return an APInt with exactly one bit set in the result. > + static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { > + APInt Res(numBits, 0); > + Res.setBit(BitNo); > + return Res; > + } > + > /// Constructs an APInt value that has a contiguous range of bits set. The > /// bits from loBit (inclusive) to hiBit (exclusive) will be set. All other > /// bits will be zero. For example, with parameters(32, 0, 16) you would get > @@ -530,7 +536,7 @@ public: > /// @brief Unary bitwise complement operator. > APInt operator~() const { > APInt Result(*this); > - Result.flip(); > + Result.flipAllBits(); > return Result; > } > > @@ -741,11 +747,11 @@ public: > /// RHS are treated as unsigned quantities for purposes of this division. > /// @returns a new APInt value containing the division result > /// @brief Unsigned division operation. > - APInt udiv(const APInt& RHS) const; > + APInt udiv(const APInt &RHS) const; > > /// Signed divide this APInt by APInt RHS. > /// @brief Signed division function for APInt. > - APInt sdiv(const APInt& RHS) const { > + APInt sdiv(const APInt &RHS) const { > if (isNegative()) > if (RHS.isNegative()) > return (-(*this)).udiv(-RHS); > @@ -763,11 +769,11 @@ public: > /// which is *this. > /// @returns a new APInt value containing the remainder result > /// @brief Unsigned remainder operation. > - APInt urem(const APInt& RHS) const; > + APInt urem(const APInt &RHS) const; > > /// Signed remainder operation on APInt. > /// @brief Function for signed remainder operation. > - APInt srem(const APInt& RHS) const { > + APInt srem(const APInt &RHS) const { > if (isNegative()) > if (RHS.isNegative()) > return -((-(*this)).urem(-RHS)); > @@ -788,8 +794,7 @@ public: > APInt &Quotient, APInt &Remainder); > > static void sdivrem(const APInt &LHS, const APInt &RHS, > - APInt &Quotient, APInt &Remainder) > - { > + APInt &Quotient, APInt &Remainder) { > if (LHS.isNegative()) { > if (RHS.isNegative()) > APInt::udivrem(-LHS, -RHS, Quotient, Remainder); > @@ -804,6 +809,16 @@ public: > APInt::udivrem(LHS, RHS, Quotient, Remainder); > } > } > + > + > + // Operations that return overflow indicators. > + APInt sadd_ov(const APInt &RHS, bool &Overflow) const; > + APInt uadd_ov(const APInt &RHS, bool &Overflow) const; > + APInt ssub_ov(const APInt &RHS, bool &Overflow) const; > + APInt usub_ov(const APInt &RHS, bool &Overflow) const; > + APInt sdiv_ov(const APInt &RHS, bool &Overflow) const; > + APInt smul_ov(const APInt &RHS, bool &Overflow) const; > + APInt sshl_ov(unsigned Amt, bool &Overflow) const; > > /// @returns the bit value at bitPosition > /// @brief Array-indexing support. > @@ -868,7 +883,7 @@ public: > /// the validity of the less-than relationship. > /// @returns true if *this < RHS when both are considered unsigned. > /// @brief Unsigned less than comparison > - bool ult(const APInt& RHS) const; > + bool ult(const APInt &RHS) const; > > /// Regards both *this as an unsigned quantity and compares it with RHS for > /// the validity of the less-than relationship. > @@ -988,6 +1003,9 @@ public: > return sge(APInt(getBitWidth(), RHS)); > } > > + > + > + > /// This operation tests if there are any pairs of corresponding bits > /// between this APInt and RHS that are both set. > bool intersects(const APInt &RHS) const { > @@ -1000,80 +1018,78 @@ public: > /// Truncate the APInt to a specified width. It is an error to specify a width > /// that is greater than or equal to the current width. > /// @brief Truncate to new width. > - APInt &trunc(unsigned width); > + APInt trunc(unsigned width) const; > > /// This operation sign extends the APInt to a new width. If the high order > /// bit is set, the fill on the left will be done with 1 bits, otherwise zero. > /// It is an error to specify a width that is less than or equal to the > /// current width. > /// @brief Sign extend to a new width. > - APInt &sext(unsigned width); > + APInt sext(unsigned width) const; > > /// This operation zero extends the APInt to a new width. The high order bits > /// are filled with 0 bits. It is an error to specify a width that is less > /// than or equal to the current width. > /// @brief Zero extend to a new width. > - APInt &zext(unsigned width); > + APInt zext(unsigned width) const; > > /// Make this APInt have the bit width given by \p width. The value is sign > /// extended, truncated, or left alone to make it that width. > /// @brief Sign extend or truncate to width > - APInt &sextOrTrunc(unsigned width); > + APInt sextOrTrunc(unsigned width) const; > > /// Make this APInt have the bit width given by \p width. The value is zero > /// extended, truncated, or left alone to make it that width. > /// @brief Zero extend or truncate to width > - APInt &zextOrTrunc(unsigned width); > + APInt zextOrTrunc(unsigned width) const; > > /// @} > /// @name Bit Manipulation Operators > /// @{ > /// @brief Set every bit to 1. > - APInt& set() { > - if (isSingleWord()) { > + void setAllBits() { > + if (isSingleWord()) > VAL = -1ULL; > - return clearUnusedBits(); > + else { > + // Set all the bits in all the words. > + for (unsigned i = 0; i < getNumWords(); ++i) > + pVal[i] = -1ULL; > } > - > - // Set all the bits in all the words. > - for (unsigned i = 0; i < getNumWords(); ++i) > - pVal[i] = -1ULL; > // Clear the unused ones > - return clearUnusedBits(); > + clearUnusedBits(); > } > > /// Set the given bit to 1 whose position is given as "bitPosition". > /// @brief Set a given bit to 1. > - APInt& set(unsigned bitPosition); > + void setBit(unsigned bitPosition); > > /// @brief Set every bit to 0. > - APInt& clear() { > + void clearAllBits() { > if (isSingleWord()) > VAL = 0; > else > memset(pVal, 0, getNumWords() * APINT_WORD_SIZE); > - return *this; > } > > /// Set the given bit to 0 whose position is given as "bitPosition". > /// @brief Set a given bit to 0. > - APInt& clear(unsigned bitPosition); > + void clearBit(unsigned bitPosition); > > /// @brief Toggle every bit to its opposite value. > - APInt& flip() { > - if (isSingleWord()) { > + void flipAllBits() { > + if (isSingleWord()) > VAL ^= -1ULL; > - return clearUnusedBits(); > + else { > + for (unsigned i = 0; i < getNumWords(); ++i) > + pVal[i] ^= -1ULL; > } > - for (unsigned i = 0; i < getNumWords(); ++i) > - pVal[i] ^= -1ULL; > - return clearUnusedBits(); > + clearUnusedBits(); > } > > /// Toggle a given bit to its opposite value whose position is given > /// as "bitPosition". > /// @brief Toggles a given bit to its opposite value. > - APInt& flip(unsigned bitPosition); > + void flipBit(unsigned bitPosition); > > /// @} > /// @name Value Characterization Functions > @@ -1281,37 +1297,27 @@ public: > } > > /// The conversion does not do a translation from double to integer, it just > - /// re-interprets the bits of the double. Note that it is valid to do this on > - /// any bit width but bits from V may get truncated. > + /// re-interprets the bits of the double. > /// @brief Converts a double to APInt bits. > - APInt& doubleToBits(double V) { > + static APInt doubleToBits(double V) { > union { > uint64_t I; > double D; > } T; > T.D = V; > - if (isSingleWord()) > - VAL = T.I; > - else > - pVal[0] = T.I; > - return clearUnusedBits(); > + return APInt(sizeof T * CHAR_BIT, T.I); > } > > /// The conversion does not do a translation from float to integer, it just > - /// re-interprets the bits of the float. Note that it is valid to do this on > - /// any bit width but bits from V may get truncated. > + /// re-interprets the bits of the float. > /// @brief Converts a float to APInt bits. > - APInt& floatToBits(float V) { > + static APInt floatToBits(float V) { > union { > unsigned I; > float F; > } T; > T.F = V; > - if (isSingleWord()) > - VAL = T.I; > - else > - pVal[0] = T.I; > - return clearUnusedBits(); > + return APInt(sizeof T * CHAR_BIT, T.I); > } > > /// @} > > Modified: head/contrib/llvm/include/llvm/ADT/APSInt.h > ============================================================================== > --- head/contrib/llvm/include/llvm/ADT/APSInt.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm/ADT/APSInt.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -68,20 +68,22 @@ public: > } > using APInt::toString; > > - APSInt& extend(uint32_t width) { > + APSInt trunc(uint32_t width) const { > + return APSInt(APInt::trunc(width), IsUnsigned); > + } > + > + APSInt extend(uint32_t width) const { > if (IsUnsigned) > - zext(width); > + return APSInt(zext(width), IsUnsigned); > else > - sext(width); > - return *this; > + return APSInt(sext(width), IsUnsigned); > } > > - APSInt& extOrTrunc(uint32_t width) { > + APSInt extOrTrunc(uint32_t width) const { > if (IsUnsigned) > - zextOrTrunc(width); > + return APSInt(zextOrTrunc(width), IsUnsigned); > else > - sextOrTrunc(width); > - return *this; > + return APSInt(sextOrTrunc(width), IsUnsigned); > } > > const APSInt &operator%=(const APSInt &RHS) { > > Copied: head/contrib/llvm/include/llvm/ADT/ArrayRef.h (from r218888, vendor/llvm/dist/include/llvm/ADT/ArrayRef.h) > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/contrib/llvm/include/llvm/ADT/ArrayRef.h Sun Feb 20 19:33:47 2011 (r218893, copy of r218888, vendor/llvm/dist/include/llvm/ADT/ArrayRef.h) > @@ -0,0 +1,121 @@ > +//===--- ArrayRef.h - Array Reference Wrapper -------------------*- C++ -*-===// > +// > +// The LLVM Compiler Infrastructure > +// > +// This file is distributed under the University of Illinois Open Source > +// License. See LICENSE.TXT for details. > +// > +//===----------------------------------------------------------------------===// > + > +#ifndef LLVM_ADT_ARRAYREF_H > +#define LLVM_ADT_ARRAYREF_H > + > +#include "llvm/ADT/SmallVector.h" > +#include > + > +namespace llvm { > + class APInt; > + > + /// ArrayRef - Represent a constant reference to an array (0 or more elements > + /// consecutively in memory), i.e. a start pointer and a length. It allows > + /// various APIs to take consecutive elements easily and conveniently. > + /// > + /// This class does not own the underlying data, it is expected to be used in > + /// situations where the data resides in some other buffer, whose lifetime > + /// extends past that of the StringRef. For this reason, it is not in general > + /// safe to store a ArrayRef. > + /// > + /// This is intended to be trivially copyable, so it should be passed by > + /// value. > + template > + class ArrayRef { > + public: > + typedef const T *iterator; > + typedef const T *const_iterator; > + typedef size_t size_type; > + > + private: > + /// The start of the array, in an external buffer. > + const T *Data; > + > + /// The number of elements. > + size_t Length; > + > + public: > + /// @name Constructors > + /// @{ > + > + /// Construct an empty ArrayRef. > + /*implicit*/ ArrayRef() : Data(0), Length(0) {} > + > + /// Construct an ArrayRef from a single element. > + /*implicit*/ ArrayRef(const T &OneElt) > + : Data(&OneElt), Length(1) {} > + > + /// Construct an ArrayRef from a pointer and length. > + /*implicit*/ ArrayRef(const T *data, size_t length) > + : Data(data), Length(length) {} > + > + /// Construct an ArrayRef from a SmallVector. > + /*implicit*/ ArrayRef(const SmallVectorImpl &Vec) > + : Data(Vec.data()), Length(Vec.size()) {} > + > + /// Construct an ArrayRef from a std::vector. > + /*implicit*/ ArrayRef(const std::vector &Vec) > + : Data(Vec.empty() ? (T*)0 : &Vec[0]), Length(Vec.size()) {} > + > + // TODO: C arrays. > + > + /// @} > + /// @name Simple Operations > + /// @{ > + > + iterator begin() const { return Data; } > + iterator end() const { return Data + Length; } > + > + /// empty - Check if the array is empty. > + bool empty() const { return Length == 0; } > + > + /// size - Get the array size. > + size_t size() const { return Length; } > + > + /// front - Get the first element. > + const T &front() const { > + assert(!empty()); > + return Data[0]; > + } > + > + /// back - Get the last element. > + const T &back() const { > + assert(!empty()); > + return Data[Length-1]; > + } > + > + /// @} > + /// @name Operator Overloads > + /// @{ > + > + const T &operator[](size_t Index) const { > + assert(Index < Length && "Invalid index!"); > + return Data[Index]; > + } > + > + /// @} > + /// @name Expensive Operations > + /// @{ > + > + std::vector vec() const { > + return std::vector(Data, Data+Length); > + } > + > + /// @} > + }; > + > + // ArrayRefs can be treated like a POD type. > + template struct isPodLike; > + template struct isPodLike > { > + static const bool value = true; > + }; > +} > + > +#endif > > Modified: head/contrib/llvm/include/llvm/ADT/BitVector.h > ============================================================================== > --- head/contrib/llvm/include/llvm/ADT/BitVector.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm/ADT/BitVector.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -18,6 +18,7 @@ > #include > #include > #include > +#include > #include > > namespace llvm { > @@ -77,7 +78,7 @@ public: > /// bits are initialized to the specified value. > explicit BitVector(unsigned s, bool t = false) : Size(s) { > Capacity = NumBitWords(s); > - Bits = new BitWord[Capacity]; > + Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); > init_words(Bits, Capacity, t); > if (t) > clear_unused_bits(); > @@ -92,12 +93,12 @@ public: > } > > Capacity = NumBitWords(RHS.size()); > - Bits = new BitWord[Capacity]; > - std::copy(RHS.Bits, &RHS.Bits[Capacity], Bits); > + Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); > + std::memcpy(Bits, RHS.Bits, Capacity * sizeof(BitWord)); > } > > ~BitVector() { > - delete[] Bits; > + std::free(Bits); > } > > /// empty - Tests whether there are no bits in this bitvector. > @@ -127,6 +128,12 @@ public: > return false; > } > > + /// all - Returns true if all bits are set. > + bool all() const { > + // TODO: Optimize this. > + return count() == size(); > + } > + > /// none - Returns true if none of the bits are set. > bool none() const { > return !any(); > @@ -335,18 +342,18 @@ public: > unsigned RHSWords = NumBitWords(Size); > if (Size <= Capacity * BITWORD_SIZE) { > if (Size) > - std::copy(RHS.Bits, &RHS.Bits[RHSWords], Bits); > + std::memcpy(Bits, RHS.Bits, RHSWords * sizeof(BitWord)); > clear_unused_bits(); > return *this; > } > > // Grow the bitvector to have enough elements. > Capacity = RHSWords; > - BitWord *NewBits = new BitWord[Capacity]; > - std::copy(RHS.Bits, &RHS.Bits[RHSWords], NewBits); > + BitWord *NewBits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); > + std::memcpy(NewBits, RHS.Bits, Capacity * sizeof(BitWord)); > > // Destroy the old bits. > - delete[] Bits; > + std::free(Bits); > Bits = NewBits; > > return *this; > @@ -384,17 +391,8 @@ private: > } > > void grow(unsigned NewSize) { > - unsigned OldCapacity = Capacity; > - Capacity = NumBitWords(NewSize); > - BitWord *NewBits = new BitWord[Capacity]; > - > - // Copy the old bits over. > - if (OldCapacity != 0) > - std::copy(Bits, &Bits[OldCapacity], NewBits); > - > - // Destroy the old bits. > - delete[] Bits; > - Bits = NewBits; > + Capacity = std::max(NumBitWords(NewSize), Capacity * 2); > + Bits = (BitWord *)std::realloc(Bits, Capacity * sizeof(BitWord)); > > clear_unused_bits(); > } > > Modified: head/contrib/llvm/include/llvm/ADT/DenseMap.h > ============================================================================== > --- head/contrib/llvm/include/llvm/ADT/DenseMap.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm/ADT/DenseMap.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -18,6 +18,7 @@ > #include "llvm/Support/PointerLikeTypeTraits.h" > #include "llvm/Support/type_traits.h" > #include "llvm/ADT/DenseMapInfo.h" > +#include > #include > #include > #include > @@ -385,7 +386,7 @@ private: > // Insert the key/value into the new table. > BucketT *DestBucket; > bool FoundVal = LookupBucketFor(B->first, DestBucket); > - FoundVal = FoundVal; // silence warning. > + (void)FoundVal; // silence warning. > assert(!FoundVal && "Key already in new map?"); > DestBucket->first = B->first; > new (&DestBucket->second) ValueT(B->second); > > Modified: head/contrib/llvm/include/llvm/ADT/DenseMapInfo.h > ============================================================================== > --- head/contrib/llvm/include/llvm/ADT/DenseMapInfo.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm/ADT/DenseMapInfo.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -102,6 +102,20 @@ template<> struct DenseMapInfo { > } > }; > > +// Provide DenseMapInfo for longs. > +template<> struct DenseMapInfo { > + static inline long getEmptyKey() { > + return (1UL << (sizeof(long) * 8 - 1)) - 1L; > + } > + static inline long getTombstoneKey() { return getEmptyKey() - 1L; } > + static unsigned getHashValue(const long& Val) { > + return (unsigned)(Val * 37L); > + } > + static bool isEqual(const long& LHS, const long& RHS) { > + return LHS == RHS; > + } > +}; > + > // Provide DenseMapInfo for long longs. > template<> struct DenseMapInfo { > static inline long long getEmptyKey() { return 0x7fffffffffffffffLL; } > > Modified: head/contrib/llvm/include/llvm/ADT/DenseSet.h > ============================================================================== > --- head/contrib/llvm/include/llvm/ADT/DenseSet.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm/ADT/DenseSet.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -33,6 +33,9 @@ public: > bool empty() const { return TheMap.empty(); } > unsigned size() const { return TheMap.size(); } > > + /// Grow the denseset so that it has at least Size buckets. Does not shrink > + void resize(size_t Size) { TheMap.resize(Size); } > + > void clear() { > TheMap.clear(); > } > > Modified: head/contrib/llvm/include/llvm/ADT/EquivalenceClasses.h > ============================================================================== > --- head/contrib/llvm/include/llvm/ADT/EquivalenceClasses.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm/ADT/EquivalenceClasses.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -15,7 +15,7 @@ > #ifndef LLVM_ADT_EQUIVALENCECLASSES_H > #define LLVM_ADT_EQUIVALENCECLASSES_H > > -#include "llvm/System/DataTypes.h" > +#include "llvm/Support/DataTypes.h" > #include > #include > > > Modified: head/contrib/llvm/include/llvm/ADT/FoldingSet.h > ============================================================================== > --- head/contrib/llvm/include/llvm/ADT/FoldingSet.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm/ADT/FoldingSet.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -16,7 +16,7 @@ > #ifndef LLVM_ADT_FOLDINGSET_H > #define LLVM_ADT_FOLDINGSET_H > > -#include "llvm/System/DataTypes.h" > +#include "llvm/Support/DataTypes.h" > #include "llvm/ADT/SmallVector.h" > #include "llvm/ADT/StringRef.h" > > > Modified: head/contrib/llvm/include/llvm/ADT/ImmutableIntervalMap.h > ============================================================================== > --- head/contrib/llvm/include/llvm/ADT/ImmutableIntervalMap.h Sun Feb 20 17:54:49 2011 (r218892) > +++ head/contrib/llvm/include/llvm/ADT/ImmutableIntervalMap.h Sun Feb 20 19:33:47 2011 (r218893) > @@ -94,7 +94,7 @@ public: > : ImutAVLFactory(Alloc) {} > > TreeTy *Add(TreeTy *T, value_type_ref V) { > - T = Add_internal(V,T); > + T = add_internal(V,T); > this->MarkImmutable(T); > return T; > > *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 21:58:08 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DD24106564A; Sun, 20 Feb 2011 21:58:08 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2B4F18FC13; Sun, 20 Feb 2011 21:58:08 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KLw88M046155; Sun, 20 Feb 2011 21:58:08 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KLw8qC046153; Sun, 20 Feb 2011 21:58:08 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102202158.p1KLw8qC046153@svn.freebsd.org> From: Dimitry Andric Date: Sun, 20 Feb 2011 21:58:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218894 - head/sys/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 21:58:08 -0000 Author: dim Date: Sun Feb 20 21:58:07 2011 New Revision: 218894 URL: http://svn.freebsd.org/changeset/base/218894 Log: Clang now supports profiling, so remove the part that says it doesn't from sys/conf/kern.pre.mk. Modified: head/sys/conf/kern.pre.mk Modified: head/sys/conf/kern.pre.mk ============================================================================== --- head/sys/conf/kern.pre.mk Sun Feb 20 19:33:47 2011 (r218893) +++ head/sys/conf/kern.pre.mk Sun Feb 20 21:58:07 2011 (r218894) @@ -109,8 +109,8 @@ WERROR?= -Werror ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS} .if defined(PROFLEVEL) && ${PROFLEVEL} >= 1 -.if ${CC:T:Micc} == "icc" || ${CC:T:Mclang} == "clang" -.error "Profiling doesn't work with icc or clang yet" +.if ${CC:T:Micc} == "icc" +.error "Profiling doesn't work with icc" .endif CFLAGS+= -DGPROF -falign-functions=16 .if ${PROFLEVEL} >= 2 From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 22:01:45 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 596E81065670; Sun, 20 Feb 2011 22:01:45 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 365D78FC0C; Sun, 20 Feb 2011 22:01:45 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id p1KM1i35056070; Sun, 20 Feb 2011 14:01:44 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id p1KM1iLE056069; Sun, 20 Feb 2011 14:01:44 -0800 (PST) (envelope-from sgk) Date: Sun, 20 Feb 2011 14:01:44 -0800 From: Steve Kargl To: Dimitry Andric Message-ID: <20110220220144.GA56015@troutmask.apl.washington.edu> References: <201102182054.p1IKsDMx071986@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201102182054.p1IKsDMx071986@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218822 - in head: . contrib/binutils contrib/binutils/bfd contrib/binutils/bfd/doc contrib/binutils/bfd/po contrib/binutils/binutils contrib/binutils/binutils/doc contrib/binutils/binu... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 22:01:45 -0000 On Fri, Feb 18, 2011 at 08:54:13PM +0000, Dimitry Andric wrote: > Author: dim > Date: Fri Feb 18 20:54:12 2011 > New Revision: 218822 > URL: http://svn.freebsd.org/changeset/base/218822 > > Log: > Merge binutils 2.17.50 to head. This brings a number of improvements to > x86 CPU support, better support for powerpc64, some new directives, and > many other things. Bump __FreeBSD_version, and add a note to UPDATING. > > Thanks to the many people that have helped to test this. This commit appears to be causing laptop:kargl[205] ~/work/bin/gfortran -o z a.f /usr/bin/ld: error in /usr/home/kargl/work/lib/gcc/i386-unknown-freebsd9.0/4.6.0/crtend.o(.eh_frame); no .eh_frame_hdr table will be created. and laptop:kargl[208] ~/work/bin/gcc -o z h.c /usr/bin/ld: error in /usr/home/kargl/work/lib/gcc/i386-unknown-freebsd9.0/4.6.0/crtend.o(.eh_frame); no .eh_frame_hdr table will be created. Note an executable is created and it appears to work. laptop:kargl[213] ./z Hello world Unfortunately, one can no longer run the GCC testsuite because the testsuite is not expecting the /usr/bin/ld message. So, is there an patch that needs to been sent upstream to GCC to fix crtend.o? Or. can you fix /usr/bin/ld to not emit this seemingly harmless message? -- steve From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 22:09:45 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0D8F106564A; Sun, 20 Feb 2011 22:09:45 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 556128FC15; Sun, 20 Feb 2011 22:09:44 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p1KM9evc075306 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Feb 2011 00:09:40 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p1KM9eZg038067; Mon, 21 Feb 2011 00:09:40 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p1KM9eFT038066; Mon, 21 Feb 2011 00:09:40 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 21 Feb 2011 00:09:40 +0200 From: Kostik Belousov To: Steve Kargl Message-ID: <20110220220940.GP78089@deviant.kiev.zoral.com.ua> References: <201102182054.p1IKsDMx071986@svn.freebsd.org> <20110220220144.GA56015@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ou44OetjGUPv8osT" Content-Disposition: inline In-Reply-To: <20110220220144.GA56015@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Dimitry Andric Subject: Re: svn commit: r218822 - in head: . contrib/binutils contrib/binutils/bfd contrib/binutils/bfd/doc contrib/binutils/bfd/po contrib/binutils/binutils contrib/binutils/binutils/doc contrib/binutils/binu... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 22:09:45 -0000 --ou44OetjGUPv8osT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 20, 2011 at 02:01:44PM -0800, Steve Kargl wrote: > On Fri, Feb 18, 2011 at 08:54:13PM +0000, Dimitry Andric wrote: > > Author: dim > > Date: Fri Feb 18 20:54:12 2011 > > New Revision: 218822 > > URL: http://svn.freebsd.org/changeset/base/218822 > >=20 > > Log: > > Merge binutils 2.17.50 to head. This brings a number of improvements= to > > x86 CPU support, better support for powerpc64, some new directives, a= nd > > many other things. Bump __FreeBSD_version, and add a note to UPDATIN= G. > > =20 > > Thanks to the many people that have helped to test this. >=20 > This commit appears to be causing=20 >=20 > laptop:kargl[205] ~/work/bin/gfortran -o z a.f > /usr/bin/ld: error in /usr/home/kargl/work/lib/gcc/i386-unknown-freebsd9.= 0/4.6.0/crtend.o(.eh_frame); no .eh_frame_hdr table will be created. >=20 > and >=20 > laptop:kargl[208] ~/work/bin/gcc -o z h.c > /usr/bin/ld: error in /usr/home/kargl/work/lib/gcc/i386-unknown-freebsd9.= 0/4.6.0/crtend.o(.eh_frame); no .eh_frame_hdr table will be created. >=20 > Note an executable is created and it appears to work. >=20 > laptop:kargl[213] ./z > Hello world >=20 > Unfortunately, one can no longer run the GCC testsuite because > the testsuite is not expecting the /usr/bin/ld message. >=20 > So, is there an patch that needs to been sent upstream to GCC > to fix crtend.o? Or. can you fix /usr/bin/ld to not emit this > seemingly harmless message? I suspect this is the same issue as was fixed by r209294 in FreeBSD svn repo. Most likely, similar approach would help gcc. --ou44OetjGUPv8osT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk1hkSQACgkQC3+MBN1Mb4jc/wCg46xRQPtDPFbFWD9++FCR09vR PDYAn37qPATtrrhz8H19WAEiYctMz6wb =3dTP -----END PGP SIGNATURE----- --ou44OetjGUPv8osT-- From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 22:20:00 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FEB6106566B; Sun, 20 Feb 2011 22:20:00 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 369848FC0C; Sun, 20 Feb 2011 22:20:00 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id p1KMJxeD056150; Sun, 20 Feb 2011 14:19:59 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id p1KMJx55056149; Sun, 20 Feb 2011 14:19:59 -0800 (PST) (envelope-from sgk) Date: Sun, 20 Feb 2011 14:19:59 -0800 From: Steve Kargl To: Kostik Belousov Message-ID: <20110220221959.GA56100@troutmask.apl.washington.edu> References: <201102182054.p1IKsDMx071986@svn.freebsd.org> <20110220220144.GA56015@troutmask.apl.washington.edu> <20110220220940.GP78089@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110220220940.GP78089@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Dimitry Andric Subject: Re: svn commit: r218822 - in head: . contrib/binutils contrib/binutils/bfd contrib/binutils/bfd/doc contrib/binutils/bfd/po contrib/binutils/binutils contrib/binutils/binutils/doc contrib/binutils/binu... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 22:20:00 -0000 On Mon, Feb 21, 2011 at 12:09:40AM +0200, Kostik Belousov wrote: > On Sun, Feb 20, 2011 at 02:01:44PM -0800, Steve Kargl wrote: > > On Fri, Feb 18, 2011 at 08:54:13PM +0000, Dimitry Andric wrote: > > > Author: dim > > > Date: Fri Feb 18 20:54:12 2011 > > > New Revision: 218822 > > > URL: http://svn.freebsd.org/changeset/base/218822 > > > > > > Log: > > > Merge binutils 2.17.50 to head. This brings a number of improvements to > > > x86 CPU support, better support for powerpc64, some new directives, and > > > many other things. Bump __FreeBSD_version, and add a note to UPDATING. > > > > > > Thanks to the many people that have helped to test this. > > > > This commit appears to be causing > > > > laptop:kargl[205] ~/work/bin/gfortran -o z a.f > > /usr/bin/ld: error in /usr/home/kargl/work/lib/gcc/i386-unknown-freebsd9.0/4.6.0/crtend.o(.eh_frame); no .eh_frame_hdr table will be created. > > > > > > Unfortunately, one can no longer run the GCC testsuite because > > the testsuite is not expecting the /usr/bin/ld message. > > > > So, is there an patch that needs to been sent upstream to GCC > > to fix crtend.o? Or. can you fix /usr/bin/ld to not emit this > > seemingly harmless message? > I suspect this is the same issue as was fixed by r209294 in FreeBSD > svn repo. Most likely, similar approach would help gcc. Thanks for the pointer to r209294. I'll see if I can fix gcc and submit a patch. -- Steve From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 22:25:24 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 065A4106564A; Sun, 20 Feb 2011 22:25:24 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E6DDB8FC1E; Sun, 20 Feb 2011 22:25:23 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KMPNjN046907; Sun, 20 Feb 2011 22:25:23 GMT (envelope-from mm@svn.freebsd.org) Received: (from mm@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KMPNQG046903; Sun, 20 Feb 2011 22:25:23 GMT (envelope-from mm@svn.freebsd.org) Message-Id: <201102202225.p1KMPNQG046903@svn.freebsd.org> From: Martin Matuska Date: Sun, 20 Feb 2011 22:25:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218895 - in head/contrib/gcc: config/i386 doc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 22:25:24 -0000 Author: mm Date: Sun Feb 20 22:25:23 2011 New Revision: 218895 URL: http://svn.freebsd.org/changeset/base/218895 Log: Backport svn r124339 from gcc 4.3 and add opteron-sse3, athlon64-sse3 and k8-sse3 cpu-types for -march=/-mtune= gcc options. These new cpu-types include the SSE3 instruction set that is supported by all newer AMD Athlon 64 and Opteron processors. All three cpu-types are supported by clang and all gcc versions starting with 4.3 SVN rev 124339 (at that time GPLv2 licensed). PR: gnu/154906 Discussed with: kib, kan, dim Obtained from: gcc 4.3 (r124339, GPLv2 licensed) MFC after: 2 weeks Modified: head/contrib/gcc/config/i386/i386.c head/contrib/gcc/doc/gcc.1 head/contrib/gcc/doc/invoke.texi Modified: head/contrib/gcc/config/i386/i386.c ============================================================================== --- head/contrib/gcc/config/i386/i386.c Sun Feb 20 21:58:07 2011 (r218894) +++ head/contrib/gcc/config/i386/i386.c Sun Feb 20 22:25:23 2011 (r218895) @@ -1523,10 +1523,19 @@ override_options (void) | PTA_SSE | PTA_SSE2 }, {"k8", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | PTA_64BIT | PTA_3DNOW_A | PTA_SSE | PTA_SSE2}, + {"k8-sse3", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | PTA_64BIT + | PTA_3DNOW_A | PTA_SSE | PTA_SSE2 + | PTA_SSE3 }, {"opteron", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | PTA_64BIT | PTA_3DNOW_A | PTA_SSE | PTA_SSE2}, + {"opteron-sse3", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | PTA_64BIT + | PTA_3DNOW_A | PTA_SSE | PTA_SSE2 + | PTA_SSE3 }, {"athlon64", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | PTA_64BIT | PTA_3DNOW_A | PTA_SSE | PTA_SSE2}, + {"athlon64-sse3", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | PTA_64BIT + | PTA_3DNOW_A | PTA_SSE | PTA_SSE2 + | PTA_SSE3 }, {"athlon-fx", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | PTA_64BIT | PTA_3DNOW_A | PTA_SSE | PTA_SSE2}, {"generic32", PROCESSOR_GENERIC32, 0 /* flags are only used for -march switch. */ }, Modified: head/contrib/gcc/doc/gcc.1 ============================================================================== --- head/contrib/gcc/doc/gcc.1 Sun Feb 20 21:58:07 2011 (r218894) +++ head/contrib/gcc/doc/gcc.1 Sun Feb 20 22:25:23 2011 (r218895) @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "GCC 1" -.TH GCC 1 "2007-07-19" "gcc-4.2.1" "GNU" +.TH GCC 1 "2011-02-20" "gcc-4.2.1" "GNU" .SH "NAME" gcc \- GNU project C and C++ compiler .SH "SYNOPSIS" @@ -8751,6 +8751,9 @@ instruction set support. .IX Item "k8, opteron, athlon64, athlon-fx" \&\s-1AMD\s0 K8 core based CPUs with x86\-64 instruction set support. (This supersets \&\s-1MMX\s0, \s-1SSE\s0, \s-1SSE2\s0, 3dNOW!, enhanced 3dNOW! and 64\-bit instruction set extensions.) +.IP "\fIk8-sse3, opteron-sse3, athlon64-sse3\fR" 4 +.IX Item "k8-sse3, opteron-sse3, athlon64-sse3" +Improved versions of k8, opteron and athlon64 with \s-1SSE3\s0 instruction set support. .IP "\fIwinchip\-c6\fR" 4 .IX Item "winchip-c6" \&\s-1IDT\s0 Winchip C6 \s-1CPU\s0, dealt in same way as i486 with additional \s-1MMX\s0 instruction Modified: head/contrib/gcc/doc/invoke.texi ============================================================================== --- head/contrib/gcc/doc/invoke.texi Sun Feb 20 21:58:07 2011 (r218894) +++ head/contrib/gcc/doc/invoke.texi Sun Feb 20 22:25:23 2011 (r218895) @@ -9382,6 +9382,8 @@ instruction set support. @item k8, opteron, athlon64, athlon-fx AMD K8 core based CPUs with x86-64 instruction set support. (This supersets MMX, SSE, SSE2, 3dNOW!, enhanced 3dNOW! and 64-bit instruction set extensions.) +@item k8-sse3, opteron-sse3, athlon64-sse3 +Improved versions of k8, opteron and athlon64 with SSE3 instruction set support. @item winchip-c6 IDT Winchip C6 CPU, dealt in same way as i486 with additional MMX instruction set support. From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 22:32:21 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2C45106566B; Sun, 20 Feb 2011 22:32:21 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7588F8FC13; Sun, 20 Feb 2011 22:32:21 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1KMWL4x047091; Sun, 20 Feb 2011 22:32:21 GMT (envelope-from mm@svn.freebsd.org) Received: (from mm@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1KMWLKo047088; Sun, 20 Feb 2011 22:32:21 GMT (envelope-from mm@svn.freebsd.org) Message-Id: <201102202232.p1KMWLKo047088@svn.freebsd.org> From: Martin Matuska Date: Sun, 20 Feb 2011 22:32:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218896 - in head/share: examples/etc mk X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 22:32:21 -0000 Author: mm Date: Sun Feb 20 22:32:21 2011 New Revision: 218896 URL: http://svn.freebsd.org/changeset/base/218896 Log: Add opteron-sse3, athlon64-sse3 and k8-sse3 cpu types to bsd.cpu.mk. - add "sse3" to MACHINE_CPU for the new cpu types - for i386, default to CPUTYPE=prescott for the new cpu types PR: gnu/154906 Discussed with: kib, kan, dim MFC after: 2 weeks Modified: head/share/examples/etc/make.conf head/share/mk/bsd.cpu.mk Modified: head/share/examples/etc/make.conf ============================================================================== --- head/share/examples/etc/make.conf Sun Feb 20 22:25:23 2011 (r218895) +++ head/share/examples/etc/make.conf Sun Feb 20 22:32:21 2011 (r218896) @@ -30,8 +30,9 @@ # NO_CPU_CFLAGS variable below. # Currently the following CPU types are recognized: # Intel x86 architecture: -# (AMD CPUs) opteron athlon64 athlon-mp athlon-xp athlon-4 -# athlon-tbird athlon k8 k6-3 k6-2 k6 k5 +# (AMD CPUs) opteron-sse3 opteron athlon64-sse3 athlon64 athlon-mp +# athlon-xp athlon-4 athlon-tbird athlon k8-sse3 k8 +# k6-3 k6-2 k6 k5 # (Intel CPUs) core2 core nocona pentium4m pentium4 prescott # pentium3m pentium3 pentium-m pentium2 # pentiumpro pentium-mmx pentium i486 i386 Modified: head/share/mk/bsd.cpu.mk ============================================================================== --- head/share/mk/bsd.cpu.mk Sun Feb 20 22:25:23 2011 (r218895) +++ head/share/mk/bsd.cpu.mk Sun Feb 20 22:32:21 2011 (r218896) @@ -49,6 +49,9 @@ CPUTYPE = pentiumpro CPUTYPE = pentium-mmx . elif ${CPUTYPE} == "i586" CPUTYPE = pentium +. elif ${CPUTYPE} == "opteron-sse3" || ${CPUTYPE} == "athlon64-sse3" || \ + ${CPUTYPE} == "k8-sse3" +CPUTYPE = prescott . elif ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" || \ ${CPUTYPE} == "k8" CPUTYPE = athlon-mp @@ -158,7 +161,9 @@ _CPUCFLAGS = -mcpu=ultrasparc3 # presence of a CPU feature. . if ${MACHINE_CPUARCH} == "i386" -. if ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" +. if ${CPUTYPE} == "opteron-sse3" || ${CPUTYPE} == "athlon64-sse3" +MACHINE_CPU = athlon-xp athlon k7 3dnow sse3 sse2 sse mmx k6 k5 i586 i486 i386 +. elif ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" MACHINE_CPU = athlon-xp athlon k7 3dnow sse2 sse mmx k6 k5 i586 i486 i386 . elif ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || \ ${CPUTYPE} == "athlon-4" @@ -197,7 +202,9 @@ MACHINE_CPU = i486 i386 MACHINE_CPU = i386 . endif . elif ${MACHINE_CPUARCH} == "amd64" -. if ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" || ${CPUTYPE} == "k8" +. if ${CPUTYPE} == "opteron-sse3" || ${CPUTYPE} == "athlon64-sse3" || ${CPUTYPE} == "k8-sse3" +MACHINE_CPU = k8 3dnow sse3 +. elif ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" || ${CPUTYPE} == "k8" MACHINE_CPU = k8 3dnow . elif ${CPUTYPE} == "nocona" MACHINE_CPU = sse3 From owner-svn-src-all@FreeBSD.ORG Sun Feb 20 23:32:29 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 62F431065670; Sun, 20 Feb 2011 23:32:29 +0000 (UTC) Date: Sun, 20 Feb 2011 23:32:29 +0000 From: Alexander Best To: Martin Matuska Message-ID: <20110220233229.GA23063@freebsd.org> References: <201102202232.p1KMWLKo047088@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <201102202232.p1KMWLKo047088@svn.freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218896 - in head/share: examples/etc mk X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 23:32:29 -0000 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun Feb 20 11, Martin Matuska wrote: > Author: mm > Date: Sun Feb 20 22:32:21 2011 > New Revision: 218896 > URL: http://svn.freebsd.org/changeset/base/218896 > > Log: > Add opteron-sse3, athlon64-sse3 and k8-sse3 cpu types to bsd.cpu.mk. > - add "sse3" to MACHINE_CPU for the new cpu types > - for i386, default to CPUTYPE=prescott for the new cpu types any thoughts regarding these clang specific changes? i think it will be nice to pass newer CPUTYPEs to clang, yet this will break gnu/lib/libobjc and sys/boot/{i386,pc98}/boot2, which always get built with gcc. cheers. alex > > PR: gnu/154906 > Discussed with: kib, kan, dim > MFC after: 2 weeks > > Modified: > head/share/examples/etc/make.conf > head/share/mk/bsd.cpu.mk > > Modified: head/share/examples/etc/make.conf > ============================================================================== > --- head/share/examples/etc/make.conf Sun Feb 20 22:25:23 2011 (r218895) > +++ head/share/examples/etc/make.conf Sun Feb 20 22:32:21 2011 (r218896) > @@ -30,8 +30,9 @@ > # NO_CPU_CFLAGS variable below. > # Currently the following CPU types are recognized: > # Intel x86 architecture: > -# (AMD CPUs) opteron athlon64 athlon-mp athlon-xp athlon-4 > -# athlon-tbird athlon k8 k6-3 k6-2 k6 k5 > +# (AMD CPUs) opteron-sse3 opteron athlon64-sse3 athlon64 athlon-mp > +# athlon-xp athlon-4 athlon-tbird athlon k8-sse3 k8 > +# k6-3 k6-2 k6 k5 > # (Intel CPUs) core2 core nocona pentium4m pentium4 prescott > # pentium3m pentium3 pentium-m pentium2 > # pentiumpro pentium-mmx pentium i486 i386 > > Modified: head/share/mk/bsd.cpu.mk > ============================================================================== > --- head/share/mk/bsd.cpu.mk Sun Feb 20 22:25:23 2011 (r218895) > +++ head/share/mk/bsd.cpu.mk Sun Feb 20 22:32:21 2011 (r218896) > @@ -49,6 +49,9 @@ CPUTYPE = pentiumpro > CPUTYPE = pentium-mmx > . elif ${CPUTYPE} == "i586" > CPUTYPE = pentium > +. elif ${CPUTYPE} == "opteron-sse3" || ${CPUTYPE} == "athlon64-sse3" || \ > + ${CPUTYPE} == "k8-sse3" > +CPUTYPE = prescott > . elif ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" || \ > ${CPUTYPE} == "k8" > CPUTYPE = athlon-mp > @@ -158,7 +161,9 @@ _CPUCFLAGS = -mcpu=ultrasparc3 > # presence of a CPU feature. > > . if ${MACHINE_CPUARCH} == "i386" > -. if ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" > +. if ${CPUTYPE} == "opteron-sse3" || ${CPUTYPE} == "athlon64-sse3" > +MACHINE_CPU = athlon-xp athlon k7 3dnow sse3 sse2 sse mmx k6 k5 i586 i486 i386 > +. elif ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" > MACHINE_CPU = athlon-xp athlon k7 3dnow sse2 sse mmx k6 k5 i586 i486 i386 > . elif ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || \ > ${CPUTYPE} == "athlon-4" > @@ -197,7 +202,9 @@ MACHINE_CPU = i486 i386 > MACHINE_CPU = i386 > . endif > . elif ${MACHINE_CPUARCH} == "amd64" > -. if ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" || ${CPUTYPE} == "k8" > +. if ${CPUTYPE} == "opteron-sse3" || ${CPUTYPE} == "athlon64-sse3" || ${CPUTYPE} == "k8-sse3" > +MACHINE_CPU = k8 3dnow sse3 > +. elif ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" || ${CPUTYPE} == "k8" > MACHINE_CPU = k8 3dnow > . elif ${CPUTYPE} == "nocona" > MACHINE_CPU = sse3 -- a13x --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mk.diff" Index: share/mk/sys.mk =================================================================== --- share/mk/sys.mk (revision 218896) +++ share/mk/sys.mk (working copy) @@ -355,6 +355,13 @@ .include "${__MAKE_CONF}" .endif +.if !defined(_WITHOUT_SRCCONF) +SRCCONF?=/etc/src.conf +.if exists(${SRCCONF}) +.include "${SRCCONF}" +.endif +.endif + .if defined(__MAKE_SHELL) && !empty(__MAKE_SHELL) SHELL= ${__MAKE_SHELL} .SHELL: path=${__MAKE_SHELL} Index: share/mk/bsd.cpu.mk =================================================================== --- share/mk/bsd.cpu.mk (revision 218896) +++ share/mk/bsd.cpu.mk (working copy) @@ -33,10 +33,14 @@ CPUTYPE = prescott . elif ${CPUTYPE} == "p4" CPUTYPE = pentium4 +. elif ${CPUTYPE} == "p4m" && ${CC:T:Mclang} == "clang" +CPUTYPE = pentium4 . elif ${CPUTYPE} == "p4m" CPUTYPE = pentium4m . elif ${CPUTYPE} == "p3" CPUTYPE = pentium3 +. elif ${CPUTYPE} == "p3m" && ${CC:T:Mclang} == "clang" +CPUTYPE = pentium3 . elif ${CPUTYPE} == "p3m" CPUTYPE = pentium3m . elif ${CPUTYPE} == "p-m" @@ -59,8 +63,10 @@ CPUTYPE = athlon . endif . elif ${MACHINE_CPUARCH} == "amd64" -. if ${CPUTYPE} == "prescott" || ${CPUTYPE} == "core2" +. if ${CPUTYPE} == "prescott" CPUTYPE = nocona +. elif ${CPUTYPE} == "core2" && ${CC:T:Mclang} != "clang" +CPUTYPE = nocona . endif . elif ${MACHINE_ARCH} == "sparc64" . if ${CPUTYPE} == "us" @@ -206,7 +212,7 @@ MACHINE_CPU = k8 3dnow sse3 . elif ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" || ${CPUTYPE} == "k8" MACHINE_CPU = k8 3dnow -. elif ${CPUTYPE} == "nocona" +. elif ${CPUTYPE} == "nocona" || ${CPUTYPE} == "core2" MACHINE_CPU = sse3 . endif MACHINE_CPU += amd64 sse2 sse mmx --3V7upXqbjpZ4EhLz-- From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 00:47:40 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20AD6106566C; Mon, 21 Feb 2011 00:47:40 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0D79C8FC18; Mon, 21 Feb 2011 00:47:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1L0ldqP050092; Mon, 21 Feb 2011 00:47:39 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1L0ldm4050089; Mon, 21 Feb 2011 00:47:39 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102210047.p1L0ldm4050089@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 21 Feb 2011 00:47:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218897 - in stable/8/sys: dev/re pci X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 00:47:40 -0000 Author: yongari Date: Mon Feb 21 00:47:39 2011 New Revision: 218897 URL: http://svn.freebsd.org/changeset/base/218897 Log: MFC r217246,217832: r217246: Implement TSO on RealTek RTL8168/8111 C or later controllers. RealTek changed TX descriptor format for later controllers so these controllers require MSS configuration in different location of TX descriptor. TSO is enabled by default for controllers that use new descriptor format. For old controllers, TSO is still disabled by default due to broken frames under certain conditions but users can enable it. Special thanks to Hayes Wang at RealTek. r217832: Disable TSO for all Realtek controllers. Experimentation showed RTL8111C generated corrupted frames where TCP option header was broken. All other sample controllers I have did not show such problem so it could be RTL8111C specific issue. Because there are too many variants it's hard to tell how many controllers have such issue. Just disable TSO by default but have user override it. Modified: stable/8/sys/dev/re/if_re.c stable/8/sys/pci/if_rlreg.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/dev/re/if_re.c ============================================================================== --- stable/8/sys/dev/re/if_re.c Sun Feb 20 22:32:21 2011 (r218896) +++ stable/8/sys/dev/re/if_re.c Mon Feb 21 00:47:39 2011 (r218897) @@ -1460,8 +1460,8 @@ re_attach(device_t dev) ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_ioctl = re_ioctl; ifp->if_start = re_start; - ifp->if_hwassist = RE_CSUM_FEATURES; - ifp->if_capabilities = IFCAP_HWCSUM; + ifp->if_hwassist = RE_CSUM_FEATURES | CSUM_TSO; + ifp->if_capabilities = IFCAP_HWCSUM | IFCAP_TSO4; ifp->if_capenable = ifp->if_capabilities; ifp->if_init = re_init; IFQ_SET_MAXLEN(&ifp->if_snd, RL_IFQ_MAXLEN); @@ -1472,16 +1472,6 @@ re_attach(device_t dev) TASK_INIT(&sc->rl_inttask, 0, re_int_task, sc); /* - * XXX - * Still have no idea how to make TSO work on 8168C, 8168CP, - * 8111C and 8111CP. - */ - if ((sc->rl_flags & RL_FLAG_DESCV2) == 0) { - ifp->if_hwassist |= CSUM_TSO; - ifp->if_capabilities |= IFCAP_TSO4 | IFCAP_VLAN_HWTSO; - } - - /* * Call MI attach routine. */ ether_ifattach(ifp, eaddr); @@ -1495,9 +1485,9 @@ re_attach(device_t dev) ifp->if_capabilities |= IFCAP_WOL; ifp->if_capenable = ifp->if_capabilities; /* - * Don't enable TSO by default. Under certain - * circumtances the controller generated corrupted - * packets in TSO size. + * Don't enable TSO by default. It is known to generate + * corrupted TCP segments(bad TCP options) under certain + * circumtances. */ ifp->if_hwassist &= ~CSUM_TSO; ifp->if_capenable &= ~(IFCAP_TSO4 | IFCAP_VLAN_HWTSO); @@ -2413,11 +2403,17 @@ re_encap(struct rl_softc *sc, struct mbu */ vlanctl = 0; csum_flags = 0; - if (((*m_head)->m_pkthdr.csum_flags & CSUM_TSO) != 0) - csum_flags = RL_TDESC_CMD_LGSEND | - ((uint32_t)(*m_head)->m_pkthdr.tso_segsz << - RL_TDESC_CMD_MSSVAL_SHIFT); - else { + if (((*m_head)->m_pkthdr.csum_flags & CSUM_TSO) != 0) { + if ((sc->rl_flags & RL_FLAG_DESCV2) != 0) { + csum_flags |= RL_TDESC_CMD_LGSEND; + vlanctl |= ((uint32_t)(*m_head)->m_pkthdr.tso_segsz << + RL_TDESC_CMD_MSSVALV2_SHIFT); + } else { + csum_flags |= RL_TDESC_CMD_LGSEND | + ((uint32_t)(*m_head)->m_pkthdr.tso_segsz << + RL_TDESC_CMD_MSSVAL_SHIFT); + } + } else { /* * Unconditionally enable IP checksum if TCP or UDP * checksum is required. Otherwise, TCP/UDP checksum Modified: stable/8/sys/pci/if_rlreg.h ============================================================================== --- stable/8/sys/pci/if_rlreg.h Sun Feb 20 22:32:21 2011 (r218896) +++ stable/8/sys/pci/if_rlreg.h Mon Feb 21 00:47:39 2011 (r218897) @@ -657,6 +657,8 @@ struct rl_desc { #define RL_TDESC_CMD_UDPCSUMV2 0x80000000 #define RL_TDESC_CMD_TCPCSUMV2 0x40000000 #define RL_TDESC_CMD_IPCSUMV2 0x20000000 +#define RL_TDESC_CMD_MSSVALV2 0x1FFC0000 +#define RL_TDESC_CMD_MSSVALV2_SHIFT 18 /* * Error bits are valid only on the last descriptor of a frame From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 00:50:49 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40AD71065674; Mon, 21 Feb 2011 00:50:49 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2D95F8FC12; Mon, 21 Feb 2011 00:50:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1L0onBn050219; Mon, 21 Feb 2011 00:50:49 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1L0onLL050216; Mon, 21 Feb 2011 00:50:49 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102210050.p1L0onLL050216@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 21 Feb 2011 00:50:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218898 - in stable/7/sys: dev/re pci X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 00:50:49 -0000 Author: yongari Date: Mon Feb 21 00:50:48 2011 New Revision: 218898 URL: http://svn.freebsd.org/changeset/base/218898 Log: MFC r217246,217832: r217246: Implement TSO on RealTek RTL8168/8111 C or later controllers. RealTek changed TX descriptor format for later controllers so these controllers require MSS configuration in different location of TX descriptor. TSO is enabled by default for controllers that use new descriptor format. For old controllers, TSO is still disabled by default due to broken frames under certain conditions but users can enable it. Special thanks to Hayes Wang at RealTek. r217832: Disable TSO for all Realtek controllers. Experimentation showed RTL8111C generated corrupted frames where TCP option header was broken. All other sample controllers I have did not show such problem so it could be RTL8111C specific issue. Because there are too many variants it's hard to tell how many controllers have such issue. Just disable TSO by default but have user override it. Modified: stable/7/sys/dev/re/if_re.c stable/7/sys/pci/if_rlreg.h Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/re/if_re.c ============================================================================== --- stable/7/sys/dev/re/if_re.c Mon Feb 21 00:47:39 2011 (r218897) +++ stable/7/sys/dev/re/if_re.c Mon Feb 21 00:50:48 2011 (r218898) @@ -1461,8 +1461,8 @@ re_attach(device_t dev) ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_ioctl = re_ioctl; ifp->if_start = re_start; - ifp->if_hwassist = RE_CSUM_FEATURES; - ifp->if_capabilities = IFCAP_HWCSUM; + ifp->if_hwassist = RE_CSUM_FEATURES | CSUM_TSO; + ifp->if_capabilities = IFCAP_HWCSUM | IFCAP_TSO4; ifp->if_capenable = ifp->if_capabilities; ifp->if_init = re_init; IFQ_SET_MAXLEN(&ifp->if_snd, RL_IFQ_MAXLEN); @@ -1473,16 +1473,6 @@ re_attach(device_t dev) TASK_INIT(&sc->rl_inttask, 0, re_int_task, sc); /* - * XXX - * Still have no idea how to make TSO work on 8168C, 8168CP, - * 8111C and 8111CP. - */ - if ((sc->rl_flags & RL_FLAG_DESCV2) == 0) { - ifp->if_hwassist |= CSUM_TSO; - ifp->if_capabilities |= IFCAP_TSO4 | IFCAP_VLAN_HWTSO; - } - - /* * Call MI attach routine. */ ether_ifattach(ifp, eaddr); @@ -1496,9 +1486,9 @@ re_attach(device_t dev) ifp->if_capabilities |= IFCAP_WOL; ifp->if_capenable = ifp->if_capabilities; /* - * Don't enable TSO by default. Under certain - * circumtances the controller generated corrupted - * packets in TSO size. + * Don't enable TSO by default. It is known to generate + * corrupted TCP segments(bad TCP options) under certain + * circumtances. */ ifp->if_hwassist &= ~CSUM_TSO; ifp->if_capenable &= ~(IFCAP_TSO4 | IFCAP_VLAN_HWTSO); @@ -2407,11 +2397,17 @@ re_encap(struct rl_softc *sc, struct mbu */ vlanctl = 0; csum_flags = 0; - if (((*m_head)->m_pkthdr.csum_flags & CSUM_TSO) != 0) - csum_flags = RL_TDESC_CMD_LGSEND | - ((uint32_t)(*m_head)->m_pkthdr.tso_segsz << - RL_TDESC_CMD_MSSVAL_SHIFT); - else { + if (((*m_head)->m_pkthdr.csum_flags & CSUM_TSO) != 0) { + if ((sc->rl_flags & RL_FLAG_DESCV2) != 0) { + csum_flags |= RL_TDESC_CMD_LGSEND; + vlanctl |= ((uint32_t)(*m_head)->m_pkthdr.tso_segsz << + RL_TDESC_CMD_MSSVALV2_SHIFT); + } else { + csum_flags |= RL_TDESC_CMD_LGSEND | + ((uint32_t)(*m_head)->m_pkthdr.tso_segsz << + RL_TDESC_CMD_MSSVAL_SHIFT); + } + } else { /* * Unconditionally enable IP checksum if TCP or UDP * checksum is required. Otherwise, TCP/UDP checksum Modified: stable/7/sys/pci/if_rlreg.h ============================================================================== --- stable/7/sys/pci/if_rlreg.h Mon Feb 21 00:47:39 2011 (r218897) +++ stable/7/sys/pci/if_rlreg.h Mon Feb 21 00:50:48 2011 (r218898) @@ -657,6 +657,8 @@ struct rl_desc { #define RL_TDESC_CMD_UDPCSUMV2 0x80000000 #define RL_TDESC_CMD_TCPCSUMV2 0x40000000 #define RL_TDESC_CMD_IPCSUMV2 0x20000000 +#define RL_TDESC_CMD_MSSVALV2 0x1FFC0000 +#define RL_TDESC_CMD_MSSVALV2_SHIFT 18 /* * Error bits are valid only on the last descriptor of a frame From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 00:58:51 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48569106564A; Mon, 21 Feb 2011 00:58:51 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3511B8FC13; Mon, 21 Feb 2011 00:58:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1L0wpxk050478; Mon, 21 Feb 2011 00:58:51 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1L0wphe050476; Mon, 21 Feb 2011 00:58:51 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102210058.p1L0wphe050476@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 21 Feb 2011 00:58:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218899 - stable/8/sys/dev/re X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 00:58:51 -0000 Author: yongari Date: Mon Feb 21 00:58:50 2011 New Revision: 218899 URL: http://svn.freebsd.org/changeset/base/218899 Log: MFC r217247,217381-217382,217384-217385: r217247: When driver is not running, do not send DUMP command to controller and just show old (cached) values. Controller will not respond to the command unless MAC is enabled so DUMP request for down interface caused request timeout. r217381: Allow TX/RX checksum offloading to be configured independently. r217382: re_reset() should be called only after setting device specific features. r217384: Make sure to check validity of dma maps before destroying. r217385: If driver is not able to allocate RX buffer, do not start driver. While I'm here move RX buffer allocation and descriptor initialization up to not touch hardware registers in case of RX buffer allocation failure. Modified: stable/8/sys/dev/re/if_re.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/dev/re/if_re.c ============================================================================== --- stable/8/sys/dev/re/if_re.c Mon Feb 21 00:50:48 2011 (r218898) +++ stable/8/sys/dev/re/if_re.c Mon Feb 21 00:58:50 2011 (r218899) @@ -1258,11 +1258,6 @@ re_attach(device_t dev) CSR_WRITE_1(sc, RL_EECMD, RL_EEMODE_OFF); } - /* Reset the adapter. */ - RL_LOCK(sc); - re_reset(sc); - RL_UNLOCK(sc); - hw_rev = re_hwrevs; hwrev = CSR_READ_4(sc, RL_TXCFG); switch (hwrev & 0x70000000) { @@ -1366,6 +1361,11 @@ re_attach(device_t dev) break; } + /* Reset the adapter. */ + RL_LOCK(sc); + re_reset(sc); + RL_UNLOCK(sc); + /* Enable PME. */ CSR_WRITE_1(sc, RL_EECMD, RL_EE_MODE); cfg = CSR_READ_1(sc, RL_CFG1); @@ -1661,15 +1661,19 @@ re_detach(device_t dev) /* Destroy all the RX and TX buffer maps */ if (sc->rl_ldata.rl_tx_mtag) { - for (i = 0; i < sc->rl_ldata.rl_tx_desc_cnt; i++) - bus_dmamap_destroy(sc->rl_ldata.rl_tx_mtag, - sc->rl_ldata.rl_tx_desc[i].tx_dmamap); + for (i = 0; i < sc->rl_ldata.rl_tx_desc_cnt; i++) { + if (sc->rl_ldata.rl_tx_desc[i].tx_dmamap) + bus_dmamap_destroy(sc->rl_ldata.rl_tx_mtag, + sc->rl_ldata.rl_tx_desc[i].tx_dmamap); + } bus_dma_tag_destroy(sc->rl_ldata.rl_tx_mtag); } if (sc->rl_ldata.rl_rx_mtag) { - for (i = 0; i < sc->rl_ldata.rl_rx_desc_cnt; i++) - bus_dmamap_destroy(sc->rl_ldata.rl_rx_mtag, - sc->rl_ldata.rl_rx_desc[i].rx_dmamap); + for (i = 0; i < sc->rl_ldata.rl_rx_desc_cnt; i++) { + if (sc->rl_ldata.rl_rx_desc[i].rx_dmamap) + bus_dmamap_destroy(sc->rl_ldata.rl_rx_mtag, + sc->rl_ldata.rl_rx_desc[i].rx_dmamap); + } if (sc->rl_ldata.rl_rx_sparemap) bus_dmamap_destroy(sc->rl_ldata.rl_rx_mtag, sc->rl_ldata.rl_rx_sparemap); @@ -2616,6 +2620,16 @@ re_init_locked(struct rl_softc *sc) re_reset(sc); /* + * For C+ mode, initialize the RX descriptors and mbufs. + */ + if (re_rx_list_init(sc) != 0) { + device_printf(sc->rl_dev, "no memory for RX buffers\n"); + re_stop(sc); + return; + } + re_tx_list_init(sc); + + /* * Enable C+ RX and TX mode, as well as VLAN stripping and * RX checksum offload. We must configure the C+ register * before all others. @@ -2667,12 +2681,6 @@ re_init_locked(struct rl_softc *sc) CSR_WRITE_1(sc, RL_EECMD, RL_EEMODE_OFF); /* - * For C+ mode, initialize the RX descriptors and mbufs. - */ - re_rx_list_init(sc); - re_tx_list_init(sc); - - /* * Load the addresses of the RX and TX lists into the chip. */ @@ -2921,14 +2929,20 @@ re_ioctl(struct ifnet *ifp, u_long comma } } #endif /* DEVICE_POLLING */ - if (mask & IFCAP_HWCSUM) { - ifp->if_capenable ^= IFCAP_HWCSUM; - if (ifp->if_capenable & IFCAP_TXCSUM) + if ((mask & IFCAP_TXCSUM) != 0 && + (ifp->if_capabilities & IFCAP_TXCSUM) != 0) { + ifp->if_capenable ^= IFCAP_TXCSUM; + if ((ifp->if_capenable & IFCAP_TXCSUM) != 0) ifp->if_hwassist |= RE_CSUM_FEATURES; else ifp->if_hwassist &= ~RE_CSUM_FEATURES; reinit = 1; } + if ((mask & IFCAP_RXCSUM) != 0 && + (ifp->if_capabilities & IFCAP_RXCSUM) != 0) { + ifp->if_capenable ^= IFCAP_RXCSUM; + reinit = 1; + } if ((mask & IFCAP_TSO4) != 0 && (ifp->if_capabilities & IFCAP_TSO) != 0) { ifp->if_capenable ^= IFCAP_TSO4; @@ -3281,6 +3295,10 @@ re_sysctl_stats(SYSCTL_HANDLER_ARGS) if (result == 1) { sc = (struct rl_softc *)arg1; RL_LOCK(sc); + if ((sc->rl_ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { + RL_UNLOCK(sc); + goto done; + } bus_dmamap_sync(sc->rl_ldata.rl_stag, sc->rl_ldata.rl_smap, BUS_DMASYNC_PREREAD); CSR_WRITE_4(sc, RL_DUMPSTATS_HI, @@ -3304,6 +3322,7 @@ re_sysctl_stats(SYSCTL_HANDLER_ARGS) "DUMP statistics request timedout\n"); return (ETIMEDOUT); } +done: stats = sc->rl_ldata.rl_stats; printf("%s statistics:\n", device_get_nameunit(sc->rl_dev)); printf("Tx frames : %ju\n", From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 01:01:26 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 805691065672; Mon, 21 Feb 2011 01:01:26 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6D5FD8FC0A; Mon, 21 Feb 2011 01:01:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1L11QbM050655; Mon, 21 Feb 2011 01:01:26 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1L11Qj7050653; Mon, 21 Feb 2011 01:01:26 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102210101.p1L11Qj7050653@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 21 Feb 2011 01:01:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218900 - stable/7/sys/dev/re X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 01:01:26 -0000 Author: yongari Date: Mon Feb 21 01:01:26 2011 New Revision: 218900 URL: http://svn.freebsd.org/changeset/base/218900 Log: MFC r217247,217381-217382,217384-217385: r217247: When driver is not running, do not send DUMP command to controller and just show old (cached) values. Controller will not respond to the command unless MAC is enabled so DUMP request for down interface caused request timeout. r217381: Allow TX/RX checksum offloading to be configured independently. r217382: re_reset() should be called only after setting device specific features. r217384: Make sure to check validity of dma maps before destroying. r217385: If driver is not able to allocate RX buffer, do not start driver. While I'm here move RX buffer allocation and descriptor initialization up to not touch hardware registers in case of RX buffer allocation failure. Modified: stable/7/sys/dev/re/if_re.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/re/if_re.c ============================================================================== --- stable/7/sys/dev/re/if_re.c Mon Feb 21 00:58:50 2011 (r218899) +++ stable/7/sys/dev/re/if_re.c Mon Feb 21 01:01:26 2011 (r218900) @@ -1259,11 +1259,6 @@ re_attach(device_t dev) CSR_WRITE_1(sc, RL_EECMD, RL_EEMODE_OFF); } - /* Reset the adapter. */ - RL_LOCK(sc); - re_reset(sc); - RL_UNLOCK(sc); - hw_rev = re_hwrevs; hwrev = CSR_READ_4(sc, RL_TXCFG); switch (hwrev & 0x70000000) { @@ -1367,6 +1362,11 @@ re_attach(device_t dev) break; } + /* Reset the adapter. */ + RL_LOCK(sc); + re_reset(sc); + RL_UNLOCK(sc); + /* Enable PME. */ CSR_WRITE_1(sc, RL_EECMD, RL_EE_MODE); cfg = CSR_READ_1(sc, RL_CFG1); @@ -1662,15 +1662,19 @@ re_detach(device_t dev) /* Destroy all the RX and TX buffer maps */ if (sc->rl_ldata.rl_tx_mtag) { - for (i = 0; i < sc->rl_ldata.rl_tx_desc_cnt; i++) - bus_dmamap_destroy(sc->rl_ldata.rl_tx_mtag, - sc->rl_ldata.rl_tx_desc[i].tx_dmamap); + for (i = 0; i < sc->rl_ldata.rl_tx_desc_cnt; i++) { + if (sc->rl_ldata.rl_tx_desc[i].tx_dmamap) + bus_dmamap_destroy(sc->rl_ldata.rl_tx_mtag, + sc->rl_ldata.rl_tx_desc[i].tx_dmamap); + } bus_dma_tag_destroy(sc->rl_ldata.rl_tx_mtag); } if (sc->rl_ldata.rl_rx_mtag) { - for (i = 0; i < sc->rl_ldata.rl_rx_desc_cnt; i++) - bus_dmamap_destroy(sc->rl_ldata.rl_rx_mtag, - sc->rl_ldata.rl_rx_desc[i].rx_dmamap); + for (i = 0; i < sc->rl_ldata.rl_rx_desc_cnt; i++) { + if (sc->rl_ldata.rl_rx_desc[i].rx_dmamap) + bus_dmamap_destroy(sc->rl_ldata.rl_rx_mtag, + sc->rl_ldata.rl_rx_desc[i].rx_dmamap); + } if (sc->rl_ldata.rl_rx_sparemap) bus_dmamap_destroy(sc->rl_ldata.rl_rx_mtag, sc->rl_ldata.rl_rx_sparemap); @@ -2610,6 +2614,16 @@ re_init_locked(struct rl_softc *sc) re_reset(sc); /* + * For C+ mode, initialize the RX descriptors and mbufs. + */ + if (re_rx_list_init(sc) != 0) { + device_printf(sc->rl_dev, "no memory for RX buffers\n"); + re_stop(sc); + return; + } + re_tx_list_init(sc); + + /* * Enable C+ RX and TX mode, as well as VLAN stripping and * RX checksum offload. We must configure the C+ register * before all others. @@ -2661,12 +2675,6 @@ re_init_locked(struct rl_softc *sc) CSR_WRITE_1(sc, RL_EECMD, RL_EEMODE_OFF); /* - * For C+ mode, initialize the RX descriptors and mbufs. - */ - re_rx_list_init(sc); - re_tx_list_init(sc); - - /* * Load the addresses of the RX and TX lists into the chip. */ @@ -2915,14 +2923,20 @@ re_ioctl(struct ifnet *ifp, u_long comma } } #endif /* DEVICE_POLLING */ - if (mask & IFCAP_HWCSUM) { - ifp->if_capenable ^= IFCAP_HWCSUM; - if (ifp->if_capenable & IFCAP_TXCSUM) + if ((mask & IFCAP_TXCSUM) != 0 && + (ifp->if_capabilities & IFCAP_TXCSUM) != 0) { + ifp->if_capenable ^= IFCAP_TXCSUM; + if ((ifp->if_capenable & IFCAP_TXCSUM) != 0) ifp->if_hwassist |= RE_CSUM_FEATURES; else ifp->if_hwassist &= ~RE_CSUM_FEATURES; reinit = 1; } + if ((mask & IFCAP_RXCSUM) != 0 && + (ifp->if_capabilities & IFCAP_RXCSUM) != 0) { + ifp->if_capenable ^= IFCAP_RXCSUM; + reinit = 1; + } if ((mask & IFCAP_TSO4) != 0 && (ifp->if_capabilities & IFCAP_TSO) != 0) { ifp->if_capenable ^= IFCAP_TSO4; @@ -3275,6 +3289,10 @@ re_sysctl_stats(SYSCTL_HANDLER_ARGS) if (result == 1) { sc = (struct rl_softc *)arg1; RL_LOCK(sc); + if ((sc->rl_ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { + RL_UNLOCK(sc); + goto done; + } bus_dmamap_sync(sc->rl_ldata.rl_stag, sc->rl_ldata.rl_smap, BUS_DMASYNC_PREREAD); CSR_WRITE_4(sc, RL_DUMPSTATS_HI, @@ -3298,6 +3316,7 @@ re_sysctl_stats(SYSCTL_HANDLER_ARGS) "DUMP statistics request timedout\n"); return (ETIMEDOUT); } +done: stats = sc->rl_ldata.rl_stats; printf("%s statistics:\n", device_get_nameunit(sc->rl_dev)); printf("Tx frames : %ju\n", From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 01:04:16 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CF1C106566C; Mon, 21 Feb 2011 01:04:16 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6FD388FC0A; Mon, 21 Feb 2011 01:04:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1L14GpY050753; Mon, 21 Feb 2011 01:04:16 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1L14GRu050750; Mon, 21 Feb 2011 01:04:16 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102210104.p1L14GRu050750@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 21 Feb 2011 01:04:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218901 - in stable/8/sys: dev/re pci X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 01:04:16 -0000 Author: yongari Date: Mon Feb 21 01:04:16 2011 New Revision: 218901 URL: http://svn.freebsd.org/changeset/base/218901 Log: MFC r217498: Add initial support for RTL8168E/8111E-VL PCIe GbE. Modified: stable/8/sys/dev/re/if_re.c stable/8/sys/pci/if_rlreg.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/dev/re/if_re.c ============================================================================== --- stable/8/sys/dev/re/if_re.c Mon Feb 21 01:01:26 2011 (r218900) +++ stable/8/sys/dev/re/if_re.c Mon Feb 21 01:04:16 2011 (r218901) @@ -221,6 +221,7 @@ static struct rl_hwrev re_hwrevs[] = { { RL_HWREV_8168D, RL_8169, "8168D/8111D"}, { RL_HWREV_8168DP, RL_8169, "8168DP/8111DP"}, { RL_HWREV_8168E, RL_8169, "8168E/8111E"}, + { RL_HWREV_8168E_VL, RL_8169, "8168E/8111E-VL"}, { 0, 0, NULL } }; @@ -1346,6 +1347,11 @@ re_attach(device_t dev) RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_NOJUMBO; break; + case RL_HWREV_8168E_VL: + sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR | + RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP | + RL_FLAG_AUTOPAD | RL_FLAG_NOJUMBO; + break; case RL_HWREV_8169_8110SB: case RL_HWREV_8169_8110SBL: case RL_HWREV_8169_8110SC: Modified: stable/8/sys/pci/if_rlreg.h ============================================================================== --- stable/8/sys/pci/if_rlreg.h Mon Feb 21 01:01:26 2011 (r218900) +++ stable/8/sys/pci/if_rlreg.h Mon Feb 21 01:04:16 2011 (r218901) @@ -165,6 +165,7 @@ #define RL_HWREV_8168D 0x28000000 #define RL_HWREV_8168DP 0x28800000 #define RL_HWREV_8168E 0x2C000000 +#define RL_HWREV_8168E_VL 0x2C800000 #define RL_HWREV_8168_SPIN1 0x30000000 #define RL_HWREV_8100E 0x30800000 #define RL_HWREV_8101E 0x34000000 From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 01:05:24 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F00E106566B; Mon, 21 Feb 2011 01:05:24 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 122D28FC0A; Mon, 21 Feb 2011 01:05:24 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1L15NlZ050827; Mon, 21 Feb 2011 01:05:23 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1L15N4a050824; Mon, 21 Feb 2011 01:05:23 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102210105.p1L15N4a050824@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 21 Feb 2011 01:05:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218902 - in stable/7/sys: dev/re pci X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 01:05:24 -0000 Author: yongari Date: Mon Feb 21 01:05:23 2011 New Revision: 218902 URL: http://svn.freebsd.org/changeset/base/218902 Log: MFC r217498: Add initial support for RTL8168E/8111E-VL PCIe GbE. Modified: stable/7/sys/dev/re/if_re.c stable/7/sys/pci/if_rlreg.h Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/re/if_re.c ============================================================================== --- stable/7/sys/dev/re/if_re.c Mon Feb 21 01:04:16 2011 (r218901) +++ stable/7/sys/dev/re/if_re.c Mon Feb 21 01:05:23 2011 (r218902) @@ -221,6 +221,7 @@ static struct rl_hwrev re_hwrevs[] = { { RL_HWREV_8168D, RL_8169, "8168D/8111D"}, { RL_HWREV_8168DP, RL_8169, "8168DP/8111DP"}, { RL_HWREV_8168E, RL_8169, "8168E/8111E"}, + { RL_HWREV_8168E_VL, RL_8169, "8168E/8111E-VL"}, { 0, 0, NULL } }; @@ -1347,6 +1348,11 @@ re_attach(device_t dev) RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_NOJUMBO; break; + case RL_HWREV_8168E_VL: + sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR | + RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP | + RL_FLAG_AUTOPAD | RL_FLAG_NOJUMBO; + break; case RL_HWREV_8169_8110SB: case RL_HWREV_8169_8110SBL: case RL_HWREV_8169_8110SC: Modified: stable/7/sys/pci/if_rlreg.h ============================================================================== --- stable/7/sys/pci/if_rlreg.h Mon Feb 21 01:04:16 2011 (r218901) +++ stable/7/sys/pci/if_rlreg.h Mon Feb 21 01:05:23 2011 (r218902) @@ -165,6 +165,7 @@ #define RL_HWREV_8168D 0x28000000 #define RL_HWREV_8168DP 0x28800000 #define RL_HWREV_8168E 0x2C000000 +#define RL_HWREV_8168E_VL 0x2C800000 #define RL_HWREV_8168_SPIN1 0x30000000 #define RL_HWREV_8100E 0x30800000 #define RL_HWREV_8101E 0x34000000 From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 01:08:13 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F417106564A; Mon, 21 Feb 2011 01:08:13 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4AFD18FC0C; Mon, 21 Feb 2011 01:08:13 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1L18DGs050927; Mon, 21 Feb 2011 01:08:13 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1L18DUG050924; Mon, 21 Feb 2011 01:08:13 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102210108.p1L18DUG050924@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 21 Feb 2011 01:08:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218903 - in stable/8/sys: dev/re pci X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 01:08:13 -0000 Author: yongari Date: Mon Feb 21 01:08:13 2011 New Revision: 218903 URL: http://svn.freebsd.org/changeset/base/218903 Log: MFC r217499: Implement initial jumbo frame support for RTL8168/8111 C/D/E PCIe GbE controllers. It seems these controllers no longer support multi-fragmented RX buffers such that driver have to allocate physically contiguous buffers. o Retire RL_FLAG_NOJUMBO flag and introduce RL_FLAG_JUMBOV2 to mark controllers that use new jumbo frame scheme. o Configure PCIe max read request size to 4096 for standard frames and reduce it to 512 for jumbo frames. o TSO/checksum offloading is not supported for jumbo frames on these controllers. Reflect it to ioctl handler and driver initialization. o Remove unused rl_stats_no_timeout in softc. o Embed a pointer to structure rl_hwrev into softc to keep track of controller MTU limitation and remove rl_hwrev in softc since that information is available through a pointer to structure rl_hwrev. Special thanks to Realtek for donating sample hardwares which made this possible. H/W donated by: Realtek Semiconductor Corp. Modified: stable/8/sys/dev/re/if_re.c stable/8/sys/pci/if_rlreg.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/dev/re/if_re.c ============================================================================== --- stable/8/sys/dev/re/if_re.c Mon Feb 21 01:05:23 2011 (r218902) +++ stable/8/sys/dev/re/if_re.c Mon Feb 21 01:08:13 2011 (r218903) @@ -189,40 +189,40 @@ static struct rl_type re_devs[] = { }; static struct rl_hwrev re_hwrevs[] = { - { RL_HWREV_8139, RL_8139, "" }, - { RL_HWREV_8139A, RL_8139, "A" }, - { RL_HWREV_8139AG, RL_8139, "A-G" }, - { RL_HWREV_8139B, RL_8139, "B" }, - { RL_HWREV_8130, RL_8139, "8130" }, - { RL_HWREV_8139C, RL_8139, "C" }, - { RL_HWREV_8139D, RL_8139, "8139D/8100B/8100C" }, - { RL_HWREV_8139CPLUS, RL_8139CPLUS, "C+"}, - { RL_HWREV_8168_SPIN1, RL_8169, "8168"}, - { RL_HWREV_8169, RL_8169, "8169"}, - { RL_HWREV_8169S, RL_8169, "8169S"}, - { RL_HWREV_8110S, RL_8169, "8110S"}, - { RL_HWREV_8169_8110SB, RL_8169, "8169SB/8110SB"}, - { RL_HWREV_8169_8110SC, RL_8169, "8169SC/8110SC"}, - { RL_HWREV_8169_8110SBL, RL_8169, "8169SBL/8110SBL"}, - { RL_HWREV_8169_8110SCE, RL_8169, "8169SC/8110SC"}, - { RL_HWREV_8100, RL_8139, "8100"}, - { RL_HWREV_8101, RL_8139, "8101"}, - { RL_HWREV_8100E, RL_8169, "8100E"}, - { RL_HWREV_8101E, RL_8169, "8101E"}, - { RL_HWREV_8102E, RL_8169, "8102E"}, - { RL_HWREV_8102EL, RL_8169, "8102EL"}, - { RL_HWREV_8102EL_SPIN1, RL_8169, "8102EL"}, - { RL_HWREV_8103E, RL_8169, "8103E"}, - { RL_HWREV_8168_SPIN2, RL_8169, "8168"}, - { RL_HWREV_8168_SPIN3, RL_8169, "8168"}, - { RL_HWREV_8168C, RL_8169, "8168C/8111C"}, - { RL_HWREV_8168C_SPIN2, RL_8169, "8168C/8111C"}, - { RL_HWREV_8168CP, RL_8169, "8168CP/8111CP"}, - { RL_HWREV_8168D, RL_8169, "8168D/8111D"}, - { RL_HWREV_8168DP, RL_8169, "8168DP/8111DP"}, - { RL_HWREV_8168E, RL_8169, "8168E/8111E"}, - { RL_HWREV_8168E_VL, RL_8169, "8168E/8111E-VL"}, - { 0, 0, NULL } + { RL_HWREV_8139, RL_8139, "", RL_MTU }, + { RL_HWREV_8139A, RL_8139, "A", RL_MTU }, + { RL_HWREV_8139AG, RL_8139, "A-G", RL_MTU }, + { RL_HWREV_8139B, RL_8139, "B", RL_MTU }, + { RL_HWREV_8130, RL_8139, "8130", RL_MTU }, + { RL_HWREV_8139C, RL_8139, "C", RL_MTU }, + { RL_HWREV_8139D, RL_8139, "8139D/8100B/8100C", RL_MTU }, + { RL_HWREV_8139CPLUS, RL_8139CPLUS, "C+", RL_MTU }, + { RL_HWREV_8168_SPIN1, RL_8169, "8168", RL_JUMBO_MTU }, + { RL_HWREV_8169, RL_8169, "8169", RL_JUMBO_MTU }, + { RL_HWREV_8169S, RL_8169, "8169S", RL_JUMBO_MTU }, + { RL_HWREV_8110S, RL_8169, "8110S", RL_JUMBO_MTU }, + { RL_HWREV_8169_8110SB, RL_8169, "8169SB/8110SB", RL_JUMBO_MTU }, + { RL_HWREV_8169_8110SC, RL_8169, "8169SC/8110SC", RL_JUMBO_MTU }, + { RL_HWREV_8169_8110SBL, RL_8169, "8169SBL/8110SBL", RL_JUMBO_MTU }, + { RL_HWREV_8169_8110SCE, RL_8169, "8169SC/8110SC", RL_JUMBO_MTU }, + { RL_HWREV_8100, RL_8139, "8100", RL_MTU }, + { RL_HWREV_8101, RL_8139, "8101", RL_MTU }, + { RL_HWREV_8100E, RL_8169, "8100E", RL_MTU }, + { RL_HWREV_8101E, RL_8169, "8101E", RL_MTU }, + { RL_HWREV_8102E, RL_8169, "8102E", RL_MTU }, + { RL_HWREV_8102EL, RL_8169, "8102EL", RL_MTU }, + { RL_HWREV_8102EL_SPIN1, RL_8169, "8102EL", RL_MTU }, + { RL_HWREV_8103E, RL_8169, "8103E", RL_MTU }, + { RL_HWREV_8168_SPIN2, RL_8169, "8168", RL_JUMBO_MTU }, + { RL_HWREV_8168_SPIN3, RL_8169, "8168", RL_JUMBO_MTU }, + { RL_HWREV_8168C, RL_8169, "8168C/8111C", RL_JUMBO_MTU_6K }, + { RL_HWREV_8168C_SPIN2, RL_8169, "8168C/8111C", RL_JUMBO_MTU_6K }, + { RL_HWREV_8168CP, RL_8169, "8168CP/8111CP", RL_JUMBO_MTU_6K }, + { RL_HWREV_8168D, RL_8169, "8168D/8111D", RL_JUMBO_MTU_9K }, + { RL_HWREV_8168DP, RL_8169, "8168DP/8111DP", RL_JUMBO_MTU_9K }, + { RL_HWREV_8168E, RL_8169, "8168E/8111E", RL_JUMBO_MTU_9K}, + { RL_HWREV_8168E_VL, RL_8169, "8168E/8111E-VL", RL_JUMBO_MTU_6K}, + { 0, 0, NULL, 0 } }; static int re_probe (device_t); @@ -236,7 +236,9 @@ static int re_allocmem (device_t, struc static __inline void re_discard_rxbuf (struct rl_softc *, int); static int re_newbuf (struct rl_softc *, int); +static int re_jumbo_newbuf (struct rl_softc *, int); static int re_rx_list_init (struct rl_softc *); +static int re_jrx_list_init (struct rl_softc *); static int re_tx_list_init (struct rl_softc *); #ifdef RE_FIXUP_RX static __inline void re_fixup_rx @@ -274,6 +276,7 @@ static int re_miibus_readreg (device_t, static int re_miibus_writereg (device_t, int, int, int); static void re_miibus_statchg (device_t); +static void re_set_jumbo (struct rl_softc *, int); static void re_set_rxmode (struct rl_softc *); static void re_reset (struct rl_softc *); static void re_setwol (struct rl_softc *); @@ -699,7 +702,7 @@ re_reset(struct rl_softc *sc) if ((sc->rl_flags & RL_FLAG_MACRESET) != 0) CSR_WRITE_1(sc, 0x82, 1); - if (sc->rl_hwrev == RL_HWREV_8169S) + if (sc->rl_hwrev->rl_rev == RL_HWREV_8169S) re_gmii_writereg(sc->rl_dev, 1, 0x0b, 0); } @@ -991,6 +994,17 @@ re_allocmem(device_t dev, struct rl_soft * Allocate map for RX mbufs. */ + if ((sc->rl_flags & RL_FLAG_JUMBOV2) != 0) { + error = bus_dma_tag_create(sc->rl_parent_tag, sizeof(uint64_t), + 0, BUS_SPACE_MAXADDR, BUS_SPACE_MAXADDR, NULL, NULL, + MJUM9BYTES, 1, MJUM9BYTES, 0, NULL, NULL, + &sc->rl_ldata.rl_jrx_mtag); + if (error) { + device_printf(dev, + "could not allocate jumbo RX DMA tag\n"); + return (error); + } + } error = bus_dma_tag_create(sc->rl_parent_tag, sizeof(uint64_t), 0, BUS_SPACE_MAXADDR, BUS_SPACE_MAXADDR, NULL, NULL, MCLBYTES, 1, MCLBYTES, 0, NULL, NULL, &sc->rl_ldata.rl_rx_mtag); @@ -1082,6 +1096,24 @@ re_allocmem(device_t dev, struct rl_soft /* Create DMA maps for RX buffers */ + if ((sc->rl_flags & RL_FLAG_JUMBOV2) != 0) { + error = bus_dmamap_create(sc->rl_ldata.rl_jrx_mtag, 0, + &sc->rl_ldata.rl_jrx_sparemap); + if (error) { + device_printf(dev, + "could not create spare DMA map for jumbo RX\n"); + return (error); + } + for (i = 0; i < sc->rl_ldata.rl_rx_desc_cnt; i++) { + error = bus_dmamap_create(sc->rl_ldata.rl_jrx_mtag, 0, + &sc->rl_ldata.rl_jrx_desc[i].rx_dmamap); + if (error) { + device_printf(dev, + "could not create DMA map for jumbo RX\n"); + return (error); + } + } + } error = bus_dmamap_create(sc->rl_ldata.rl_rx_mtag, 0, &sc->rl_ldata.rl_rx_sparemap); if (error) { @@ -1197,11 +1229,6 @@ re_attach(device_t dev) msic = 0; if (pci_find_extcap(dev, PCIY_EXPRESS, ®) == 0) { sc->rl_flags |= RL_FLAG_PCIE; - if (devid != RT_DEVICEID_8101E) { - /* Set PCIe maximum read request size to 2048. */ - if (pci_get_max_read_req(dev) < 2048) - pci_set_max_read_req(dev, 2048); - } msic = pci_msi_count(dev); if (bootverbose) device_printf(dev, "MSI count : %d\n", msic); @@ -1276,7 +1303,7 @@ re_attach(device_t dev) while (hw_rev->rl_desc != NULL) { if (hw_rev->rl_rev == hwrev) { sc->rl_type = hw_rev->rl_type; - sc->rl_hwrev = hw_rev->rl_rev; + sc->rl_hwrev = hw_rev; break; } hw_rev++; @@ -1289,26 +1316,23 @@ re_attach(device_t dev) switch (hw_rev->rl_rev) { case RL_HWREV_8139CPLUS: - sc->rl_flags |= RL_FLAG_NOJUMBO | RL_FLAG_FASTETHER | - RL_FLAG_AUTOPAD; + sc->rl_flags |= RL_FLAG_FASTETHER | RL_FLAG_AUTOPAD; break; case RL_HWREV_8100E: case RL_HWREV_8101E: - sc->rl_flags |= RL_FLAG_NOJUMBO | RL_FLAG_PHYWAKE | - RL_FLAG_FASTETHER; + sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_FASTETHER; break; case RL_HWREV_8102E: case RL_HWREV_8102EL: case RL_HWREV_8102EL_SPIN1: - sc->rl_flags |= RL_FLAG_NOJUMBO | RL_FLAG_PHYWAKE | - RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | - RL_FLAG_FASTETHER | RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD; + sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR | RL_FLAG_DESCV2 | + RL_FLAG_MACSTAT | RL_FLAG_FASTETHER | RL_FLAG_CMDSTOP | + RL_FLAG_AUTOPAD; break; case RL_HWREV_8103E: - sc->rl_flags |= RL_FLAG_NOJUMBO | RL_FLAG_PHYWAKE | - RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | - RL_FLAG_FASTETHER | RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | - RL_FLAG_MACSLEEP; + sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR | RL_FLAG_DESCV2 | + RL_FLAG_MACSTAT | RL_FLAG_FASTETHER | RL_FLAG_CMDSTOP | + RL_FLAG_AUTOPAD | RL_FLAG_MACSLEEP; break; case RL_HWREV_8168_SPIN1: case RL_HWREV_8168_SPIN2: @@ -1329,28 +1353,17 @@ re_attach(device_t dev) case RL_HWREV_8168DP: sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP | - RL_FLAG_AUTOPAD; - /* - * These controllers support jumbo frame but it seems - * that enabling it requires touching additional magic - * registers. Depending on MAC revisions some - * controllers need to disable checksum offload. So - * disable jumbo frame until I have better idea what - * it really requires to make it support. - * RTL8168C/CP : supports up to 6KB jumbo frame. - * RTL8111C/CP : supports up to 9KB jumbo frame. - */ - sc->rl_flags |= RL_FLAG_NOJUMBO; + RL_FLAG_AUTOPAD | RL_FLAG_JUMBOV2; break; case RL_HWREV_8168E: sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PHYWAKE_PM | RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | - RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_NOJUMBO; + RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_JUMBOV2; break; case RL_HWREV_8168E_VL: sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP | - RL_FLAG_AUTOPAD | RL_FLAG_NOJUMBO; + RL_FLAG_AUTOPAD | RL_FLAG_JUMBOV2; break; case RL_HWREV_8169_8110SB: case RL_HWREV_8169_8110SBL: @@ -1685,7 +1698,17 @@ re_detach(device_t dev) sc->rl_ldata.rl_rx_sparemap); bus_dma_tag_destroy(sc->rl_ldata.rl_rx_mtag); } - + if (sc->rl_ldata.rl_jrx_mtag) { + for (i = 0; i < sc->rl_ldata.rl_rx_desc_cnt; i++) { + if (sc->rl_ldata.rl_jrx_desc[i].rx_dmamap) + bus_dmamap_destroy(sc->rl_ldata.rl_jrx_mtag, + sc->rl_ldata.rl_jrx_desc[i].rx_dmamap); + } + if (sc->rl_ldata.rl_jrx_sparemap) + bus_dmamap_destroy(sc->rl_ldata.rl_jrx_mtag, + sc->rl_ldata.rl_jrx_sparemap); + bus_dma_tag_destroy(sc->rl_ldata.rl_jrx_mtag); + } /* Unload and free the stats buffer and map */ if (sc->rl_ldata.rl_stag) { @@ -1713,7 +1736,11 @@ re_discard_rxbuf(struct rl_softc *sc, in struct rl_rxdesc *rxd; uint32_t cmdstat; - rxd = &sc->rl_ldata.rl_rx_desc[idx]; + if (sc->rl_ifp->if_mtu > RL_MTU && + (sc->rl_flags & RL_FLAG_JUMBOV2) != 0) + rxd = &sc->rl_ldata.rl_jrx_desc[idx]; + else + rxd = &sc->rl_ldata.rl_rx_desc[idx]; desc = &sc->rl_ldata.rl_rx_list[idx]; desc->rl_vlanctl = 0; cmdstat = rxd->rx_size; @@ -1786,6 +1813,59 @@ re_newbuf(struct rl_softc *sc, int idx) return (0); } +static int +re_jumbo_newbuf(struct rl_softc *sc, int idx) +{ + struct mbuf *m; + struct rl_rxdesc *rxd; + bus_dma_segment_t segs[1]; + bus_dmamap_t map; + struct rl_desc *desc; + uint32_t cmdstat; + int error, nsegs; + + m = m_getjcl(M_DONTWAIT, MT_DATA, M_PKTHDR, MJUM9BYTES); + if (m == NULL) + return (ENOBUFS); + m->m_len = m->m_pkthdr.len = MJUM9BYTES; +#ifdef RE_FIXUP_RX + m_adj(m, RE_ETHER_ALIGN); +#endif + error = bus_dmamap_load_mbuf_sg(sc->rl_ldata.rl_jrx_mtag, + sc->rl_ldata.rl_jrx_sparemap, m, segs, &nsegs, BUS_DMA_NOWAIT); + if (error != 0) { + m_freem(m); + return (ENOBUFS); + } + KASSERT(nsegs == 1, ("%s: %d segment returned!", __func__, nsegs)); + + rxd = &sc->rl_ldata.rl_jrx_desc[idx]; + if (rxd->rx_m != NULL) { + bus_dmamap_sync(sc->rl_ldata.rl_jrx_mtag, rxd->rx_dmamap, + BUS_DMASYNC_POSTREAD); + bus_dmamap_unload(sc->rl_ldata.rl_jrx_mtag, rxd->rx_dmamap); + } + + rxd->rx_m = m; + map = rxd->rx_dmamap; + rxd->rx_dmamap = sc->rl_ldata.rl_jrx_sparemap; + rxd->rx_size = segs[0].ds_len; + sc->rl_ldata.rl_jrx_sparemap = map; + bus_dmamap_sync(sc->rl_ldata.rl_jrx_mtag, rxd->rx_dmamap, + BUS_DMASYNC_PREREAD); + + desc = &sc->rl_ldata.rl_rx_list[idx]; + desc->rl_vlanctl = 0; + desc->rl_bufaddr_lo = htole32(RL_ADDR_LO(segs[0].ds_addr)); + desc->rl_bufaddr_hi = htole32(RL_ADDR_HI(segs[0].ds_addr)); + cmdstat = segs[0].ds_len; + if (idx == sc->rl_ldata.rl_rx_desc_cnt - 1) + cmdstat |= RL_RDESC_CMD_EOR; + desc->rl_cmdstat = htole32(cmdstat | RL_RDESC_CMD_OWN); + + return (0); +} + #ifdef RE_FIXUP_RX static __inline void re_fixup_rx(struct mbuf *m) @@ -1855,6 +1935,29 @@ re_rx_list_init(struct rl_softc *sc) return (0); } +static int +re_jrx_list_init(struct rl_softc *sc) +{ + int error, i; + + bzero(sc->rl_ldata.rl_rx_list, + sc->rl_ldata.rl_rx_desc_cnt * sizeof(struct rl_desc)); + for (i = 0; i < sc->rl_ldata.rl_rx_desc_cnt; i++) { + sc->rl_ldata.rl_jrx_desc[i].rx_m = NULL; + if ((error = re_jumbo_newbuf(sc, i)) != 0) + return (error); + } + + bus_dmamap_sync(sc->rl_ldata.rl_rx_list_tag, + sc->rl_ldata.rl_rx_list_map, + BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD); + + sc->rl_ldata.rl_rx_prodidx = 0; + sc->rl_head = sc->rl_tail = NULL; + + return (0); +} + /* * RX handler for C+ and 8169. For the gigE chips, we support * the reception of jumbo frames that have been fragmented @@ -1865,14 +1968,18 @@ re_rxeof(struct rl_softc *sc, int *rx_np { struct mbuf *m; struct ifnet *ifp; - int i, total_len; + int i, rxerr, total_len; struct rl_desc *cur_rx; u_int32_t rxstat, rxvlan; - int maxpkt = 16, rx_npkts = 0; + int jumbo, maxpkt = 16, rx_npkts = 0; RL_LOCK_ASSERT(sc); ifp = sc->rl_ifp; + if (ifp->if_mtu > RL_MTU && (sc->rl_flags & RL_FLAG_JUMBOV2) != 0) + jumbo = 1; + else + jumbo = 0; /* Invalidate the descriptor memory */ @@ -1890,9 +1997,21 @@ re_rxeof(struct rl_softc *sc, int *rx_np break; total_len = rxstat & sc->rl_rxlenmask; rxvlan = le32toh(cur_rx->rl_vlanctl); - m = sc->rl_ldata.rl_rx_desc[i].rx_m; + if (jumbo != 0) + m = sc->rl_ldata.rl_jrx_desc[i].rx_m; + else + m = sc->rl_ldata.rl_rx_desc[i].rx_m; - if (!(rxstat & RL_RDESC_STAT_EOF)) { + if ((sc->rl_flags & RL_FLAG_JUMBOV2) != 0 && + (rxstat & (RL_RDESC_STAT_SOF | RL_RDESC_STAT_EOF)) != + (RL_RDESC_STAT_SOF | RL_RDESC_STAT_EOF)) { + /* + * RTL8168C or later controllers do not + * support multi-fragment packet. + */ + re_discard_rxbuf(sc, i); + continue; + } else if ((rxstat & RL_RDESC_STAT_EOF) == 0) { if (re_newbuf(sc, i) != 0) { /* * If this is part of a multi-fragment packet, @@ -1939,27 +2058,36 @@ re_rxeof(struct rl_softc *sc, int *rx_np * if total_len > 2^13-1, both _RXERRSUM and _GIANT will be * set, but if CRC is clear, it will still be a valid frame. */ - if (rxstat & RL_RDESC_STAT_RXERRSUM && !(total_len > 8191 && - (rxstat & RL_RDESC_STAT_ERRS) == RL_RDESC_STAT_GIANT)) { - ifp->if_ierrors++; - /* - * If this is part of a multi-fragment packet, - * discard all the pieces. - */ - if (sc->rl_head != NULL) { - m_freem(sc->rl_head); - sc->rl_head = sc->rl_tail = NULL; + if ((rxstat & RL_RDESC_STAT_RXERRSUM) != 0) { + rxerr = 1; + if ((sc->rl_flags & RL_FLAG_JUMBOV2) == 0 && + total_len > 8191 && + (rxstat & RL_RDESC_STAT_ERRS) == RL_RDESC_STAT_GIANT) + rxerr = 0; + if (rxerr != 0) { + ifp->if_ierrors++; + /* + * If this is part of a multi-fragment packet, + * discard all the pieces. + */ + if (sc->rl_head != NULL) { + m_freem(sc->rl_head); + sc->rl_head = sc->rl_tail = NULL; + } + re_discard_rxbuf(sc, i); + continue; } - re_discard_rxbuf(sc, i); - continue; } /* * If allocating a replacement mbuf fails, * reload the current one. */ - - if (re_newbuf(sc, i) != 0) { + if (jumbo != 0) + rxerr = re_jumbo_newbuf(sc, i); + else + rxerr = re_newbuf(sc, i); + if (rxerr != 0) { ifp->if_iqdrops++; if (sc->rl_head != NULL) { m_freem(sc->rl_head); @@ -1970,9 +2098,13 @@ re_rxeof(struct rl_softc *sc, int *rx_np } if (sc->rl_head != NULL) { - m->m_len = total_len % RE_RX_DESC_BUFLEN; - if (m->m_len == 0) - m->m_len = RE_RX_DESC_BUFLEN; + if (jumbo != 0) + m->m_len = total_len; + else { + m->m_len = total_len % RE_RX_DESC_BUFLEN; + if (m->m_len == 0) + m->m_len = RE_RX_DESC_BUFLEN; + } /* * Special case: if there's 4 bytes or less * in this buffer, the mbuf can be discarded: @@ -2589,6 +2721,59 @@ re_start(struct ifnet *ifp) } static void +re_set_jumbo(struct rl_softc *sc, int jumbo) +{ + + if (sc->rl_hwrev->rl_rev == RL_HWREV_8168E_VL) { + pci_set_max_read_req(sc->rl_dev, 4096); + return; + } + + CSR_WRITE_1(sc, RL_EECMD, RL_EEMODE_WRITECFG); + if (jumbo != 0) { + CSR_WRITE_1(sc, RL_CFG3, CSR_READ_1(sc, RL_CFG3) | + RL_CFG3_JUMBO_EN0); + switch (sc->rl_hwrev->rl_rev) { + case RL_HWREV_8168DP: + break; + case RL_HWREV_8168E: + CSR_WRITE_1(sc, RL_CFG4, CSR_READ_1(sc, RL_CFG4) | + 0x01); + break; + default: + CSR_WRITE_1(sc, RL_CFG4, CSR_READ_1(sc, RL_CFG4) | + RL_CFG4_JUMBO_EN1); + } + } else { + CSR_WRITE_1(sc, RL_CFG3, CSR_READ_1(sc, RL_CFG3) & + ~RL_CFG3_JUMBO_EN0); + switch (sc->rl_hwrev->rl_rev) { + case RL_HWREV_8168DP: + break; + case RL_HWREV_8168E: + CSR_WRITE_1(sc, RL_CFG4, CSR_READ_1(sc, RL_CFG4) & + ~0x01); + break; + default: + CSR_WRITE_1(sc, RL_CFG4, CSR_READ_1(sc, RL_CFG4) & + ~RL_CFG4_JUMBO_EN1); + } + } + CSR_WRITE_1(sc, RL_EECMD, RL_EEMODE_OFF); + + switch (sc->rl_hwrev->rl_rev) { + case RL_HWREV_8168DP: + pci_set_max_read_req(sc->rl_dev, 4096); + break; + default: + if (jumbo != 0) + pci_set_max_read_req(sc->rl_dev, 512); + else + pci_set_max_read_req(sc->rl_dev, 4096); + } +} + +static void re_init(void *xsc) { struct rl_softc *sc = xsc; @@ -2628,10 +2813,39 @@ re_init_locked(struct rl_softc *sc) /* * For C+ mode, initialize the RX descriptors and mbufs. */ - if (re_rx_list_init(sc) != 0) { - device_printf(sc->rl_dev, "no memory for RX buffers\n"); - re_stop(sc); - return; + if ((sc->rl_flags & RL_FLAG_JUMBOV2) != 0) { + if (ifp->if_mtu > RL_MTU) { + if (re_jrx_list_init(sc) != 0) { + device_printf(sc->rl_dev, + "no memory for jumbo RX buffers\n"); + re_stop(sc); + return; + } + /* Disable checksum offloading for jumbo frames. */ + ifp->if_capenable &= ~(IFCAP_HWCSUM | IFCAP_TSO4); + ifp->if_hwassist &= ~(RE_CSUM_FEATURES | CSUM_TSO); + } else { + if (re_rx_list_init(sc) != 0) { + device_printf(sc->rl_dev, + "no memory for RX buffers\n"); + re_stop(sc); + return; + } + } + re_set_jumbo(sc, ifp->if_mtu > RL_MTU); + } else { + if (re_rx_list_init(sc) != 0) { + device_printf(sc->rl_dev, "no memory for RX buffers\n"); + re_stop(sc); + return; + } + if ((sc->rl_flags & RL_FLAG_PCIE) != 0 && + pci_get_device(sc->rl_dev) != RT_DEVICEID_8101E) { + if (ifp->if_mtu > RL_MTU) + pci_set_max_read_req(sc->rl_dev, 512); + else + pci_set_max_read_req(sc->rl_dev, 4096); + } } re_tx_list_init(sc); @@ -2652,12 +2866,12 @@ re_init_locked(struct rl_softc *sc) } else cfg |= RL_CPLUSCMD_RXENB | RL_CPLUSCMD_TXENB; CSR_WRITE_2(sc, RL_CPLUS_CMD, cfg); - if (sc->rl_hwrev == RL_HWREV_8169_8110SC || - sc->rl_hwrev == RL_HWREV_8169_8110SCE) { + if (sc->rl_hwrev->rl_rev == RL_HWREV_8169_8110SC || + sc->rl_hwrev->rl_rev == RL_HWREV_8169_8110SCE) { reg = 0x000fff00; if ((CSR_READ_1(sc, RL_CFG2) & RL_CFG2_PCI66MHZ) != 0) reg |= 0x000000ff; - if (sc->rl_hwrev == RL_HWREV_8169_8110SCE) + if (sc->rl_hwrev->rl_rev == RL_HWREV_8169_8110SCE) reg |= 0x00f00000; CSR_WRITE_4(sc, 0x7c, reg); /* Disable interrupt mitigation. */ @@ -2727,7 +2941,7 @@ re_init_locked(struct rl_softc *sc) /* Configure interrupt moderation. */ if (sc->rl_type == RL_8169) { - switch (sc->rl_hwrev) { + switch (sc->rl_hwrev->rl_rev) { case RL_HWREV_8100E: case RL_HWREV_8101E: case RL_HWREV_8102E: @@ -2790,10 +3004,25 @@ re_init_locked(struct rl_softc *sc) * size so we can receive jumbo frames. */ if (sc->rl_type == RL_8169) { - if ((sc->rl_flags & (RL_FLAG_PCIE | RL_FLAG_NOJUMBO)) == - (RL_FLAG_PCIE | RL_FLAG_NOJUMBO)) + if ((sc->rl_flags & RL_FLAG_JUMBOV2) != 0) { + /* + * For controllers that use new jumbo frame scheme, + * set maximum size of jumbo frame depedning on + * controller revisions. + */ + if (ifp->if_mtu > RL_MTU) + CSR_WRITE_2(sc, RL_MAXRXPKTLEN, + sc->rl_hwrev->rl_max_mtu + + ETHER_VLAN_ENCAP_LEN + ETHER_HDR_LEN + + ETHER_CRC_LEN); + else + CSR_WRITE_2(sc, RL_MAXRXPKTLEN, + RE_RX_DESC_BUFLEN); + } else if ((sc->rl_flags & RL_FLAG_PCIE) != 0 && + sc->rl_hwrev->rl_max_mtu == RL_MTU) { + /* RTL810x has no jumbo frame support. */ CSR_WRITE_2(sc, RL_MAXRXPKTLEN, RE_RX_DESC_BUFLEN); - else + } else CSR_WRITE_2(sc, RL_MAXRXPKTLEN, 16383); } @@ -2860,22 +3089,25 @@ re_ioctl(struct ifnet *ifp, u_long comma switch (command) { case SIOCSIFMTU: - if (ifr->ifr_mtu < ETHERMIN || ifr->ifr_mtu > RL_JUMBO_MTU) { - error = EINVAL; - break; - } - if ((sc->rl_flags & RL_FLAG_NOJUMBO) != 0 && - ifr->ifr_mtu > RL_MAX_FRAMELEN) { + if (ifr->ifr_mtu < ETHERMIN || + ifr->ifr_mtu > sc->rl_hwrev->rl_max_mtu) { error = EINVAL; break; } RL_LOCK(sc); - if (ifp->if_mtu != ifr->ifr_mtu) + if (ifp->if_mtu != ifr->ifr_mtu) { ifp->if_mtu = ifr->ifr_mtu; - if (ifp->if_mtu > RL_TSO_MTU && - (ifp->if_capenable & IFCAP_TSO4) != 0) { - ifp->if_capenable &= ~IFCAP_TSO4; - ifp->if_hwassist &= ~CSUM_TSO; + if ((sc->rl_flags & RL_FLAG_JUMBOV2) != 0 && + (ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) { + ifp->if_drv_flags &= ~IFF_DRV_RUNNING; + re_init_locked(sc); + } + if (ifp->if_mtu > RL_TSO_MTU && + (ifp->if_capenable & IFCAP_TSO4) != 0) { + ifp->if_capenable &= ~(IFCAP_TSO4 | + IFCAP_VLAN_HWTSO); + ifp->if_hwassist &= ~CSUM_TSO; + } VLAN_CAPABILITIES(ifp); } RL_UNLOCK(sc); @@ -2973,6 +3205,10 @@ re_ioctl(struct ifnet *ifp, u_long comma ifp->if_capenable &= ~IFCAP_VLAN_HWTSO; reinit = 1; } + if ((sc->rl_flags & RL_FLAG_JUMBOV2) != 0 && + (mask & (IFCAP_HWCSUM | IFCAP_TSO4 | + IFCAP_VLAN_HWTSO)) != 0) + reinit = 1; if ((mask & IFCAP_WOL) != 0 && (ifp->if_capabilities & IFCAP_WOL) != 0) { if ((mask & IFCAP_WOL_UCAST) != 0) Modified: stable/8/sys/pci/if_rlreg.h ============================================================================== --- stable/8/sys/pci/if_rlreg.h Mon Feb 21 01:05:23 2011 (r218902) +++ stable/8/sys/pci/if_rlreg.h Mon Feb 21 01:08:13 2011 (r218903) @@ -429,6 +429,7 @@ #define RL_CFG3_GRANTSEL 0x80 #define RL_CFG3_WOL_MAGIC 0x20 #define RL_CFG3_WOL_LINK 0x10 +#define RL_CFG3_JUMBO_EN0 0x04 /* RTL8168C or later. */ #define RL_CFG3_FAST_B2B 0x01 /* @@ -436,6 +437,7 @@ */ #define RL_CFG4_LWPTN 0x04 #define RL_CFG4_LWPME 0x10 +#define RL_CFG4_JUMBO_EN1 0x02 /* RTL8168C or later. */ /* * Config 5 register @@ -592,6 +594,7 @@ struct rl_hwrev { uint32_t rl_rev; int rl_type; char *rl_desc; + int rl_max_mtu; }; struct rl_mii_frame { @@ -767,6 +770,7 @@ struct rl_stats { #define RL_8139_RX_DESC_CNT 64 #define RL_TX_DESC_CNT RL_8169_TX_DESC_CNT #define RL_RX_DESC_CNT RL_8169_RX_DESC_CNT +#define RL_RX_JUMBO_DESC_CNT RL_RX_DESC_CNT #define RL_NTXSEGS 32 #define RL_RING_ALIGN 256 @@ -801,8 +805,13 @@ struct rl_stats { /* see comment in dev/re/if_re.c */ #define RL_JUMBO_FRAMELEN 7440 -#define RL_JUMBO_MTU (RL_JUMBO_FRAMELEN-ETHER_HDR_LEN-ETHER_CRC_LEN) -#define RL_MAX_FRAMELEN \ +#define RL_JUMBO_MTU \ + (RL_JUMBO_FRAMELEN-ETHER_VLAN_ENCAP_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN) +#define RL_JUMBO_MTU_6K \ + ((6 * 1024) - ETHER_VLAN_ENCAP_LEN - ETHER_HDR_LEN - ETHER_CRC_LEN) +#define RL_JUMBO_MTU_9K \ + ((9 * 1024) - ETHER_VLAN_ENCAP_LEN - ETHER_HDR_LEN - ETHER_CRC_LEN) +#define RL_MTU \ (ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN - ETHER_HDR_LEN - ETHER_CRC_LEN) struct rl_txdesc { @@ -819,6 +828,7 @@ struct rl_rxdesc { struct rl_list_data { struct rl_txdesc rl_tx_desc[RL_TX_DESC_CNT]; struct rl_rxdesc rl_rx_desc[RL_RX_DESC_CNT]; + struct rl_rxdesc rl_jrx_desc[RL_RX_JUMBO_DESC_CNT]; int rl_tx_desc_cnt; int rl_rx_desc_cnt; int rl_tx_prodidx; @@ -827,7 +837,9 @@ struct rl_list_data { int rl_tx_free; bus_dma_tag_t rl_tx_mtag; /* mbuf TX mapping tag */ bus_dma_tag_t rl_rx_mtag; /* mbuf RX mapping tag */ + bus_dma_tag_t rl_jrx_mtag; /* mbuf RX mapping tag */ bus_dmamap_t rl_rx_sparemap; + bus_dmamap_t rl_jrx_sparemap; bus_dma_tag_t rl_stag; /* stats mapping tag */ bus_dmamap_t rl_smap; /* stats map */ struct rl_stats *rl_stats; @@ -857,9 +869,9 @@ struct rl_softc { device_t rl_miibus; bus_dma_tag_t rl_parent_tag; uint8_t rl_type; + struct rl_hwrev *rl_hwrev; int rl_eecmd_read; int rl_eewidth; - uint8_t rl_stats_no_timeout; int rl_txthresh; struct rl_chain_data rl_cdata; struct rl_list_data rl_ldata; @@ -868,7 +880,6 @@ struct rl_softc { struct mtx rl_mtx; struct mbuf *rl_head; struct mbuf *rl_tail; - uint32_t rl_hwrev; uint32_t rl_rxlenmask; int rl_testmode; int rl_if_flags; @@ -890,7 +901,7 @@ struct rl_softc { #define RL_FLAG_AUTOPAD 0x0002 #define RL_FLAG_PHYWAKE_PM 0x0004 #define RL_FLAG_PHYWAKE 0x0008 -#define RL_FLAG_NOJUMBO 0x0010 +#define RL_FLAG_JUMBOV2 0x0010 #define RL_FLAG_PAR 0x0020 #define RL_FLAG_DESCV2 0x0040 #define RL_FLAG_MACSTAT 0x0080 From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 01:15:11 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FBEA106567A; Mon, 21 Feb 2011 01:15:11 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5B5F48FC16; Mon, 21 Feb 2011 01:15:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1L1FBBr051115; Mon, 21 Feb 2011 01:15:11 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1L1FBDd051112; Mon, 21 Feb 2011 01:15:11 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102210115.p1L1FBDd051112@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 21 Feb 2011 01:15:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218904 - in stable/7/sys: dev/re pci X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 01:15:11 -0000 Author: yongari Date: Mon Feb 21 01:15:11 2011 New Revision: 218904 URL: http://svn.freebsd.org/changeset/base/218904 Log: MFC r217499: Implement initial jumbo frame support for RTL8168/8111 C/D/E PCIe GbE controllers. It seems these controllers no longer support multi-fragmented RX buffers such that driver have to allocate physically contiguous buffers. o Retire RL_FLAG_NOJUMBO flag and introduce RL_FLAG_JUMBOV2 to mark controllers that use new jumbo frame scheme. o Configure PCIe max read request size to 4096 for standard frames and reduce it to 512 for jumbo frames. o TSO/checksum offloading is not supported for jumbo frames on these controllers. Reflect it to ioctl handler and driver initialization. o Remove unused rl_stats_no_timeout in softc. o Embed a pointer to structure rl_hwrev into softc to keep track of controller MTU limitation and remove rl_hwrev in softc since that information is available through a pointer to structure rl_hwrev. Special thanks to Realtek for donating sample hardwares which made this possible. H/W donated by: Realtek Semiconductor Corp. Modified: stable/7/sys/dev/re/if_re.c stable/7/sys/pci/if_rlreg.h Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/re/if_re.c ============================================================================== --- stable/7/sys/dev/re/if_re.c Mon Feb 21 01:08:13 2011 (r218903) +++ stable/7/sys/dev/re/if_re.c Mon Feb 21 01:15:11 2011 (r218904) @@ -189,40 +189,40 @@ static struct rl_type re_devs[] = { }; static struct rl_hwrev re_hwrevs[] = { - { RL_HWREV_8139, RL_8139, "" }, - { RL_HWREV_8139A, RL_8139, "A" }, - { RL_HWREV_8139AG, RL_8139, "A-G" }, - { RL_HWREV_8139B, RL_8139, "B" }, - { RL_HWREV_8130, RL_8139, "8130" }, - { RL_HWREV_8139C, RL_8139, "C" }, - { RL_HWREV_8139D, RL_8139, "8139D/8100B/8100C" }, - { RL_HWREV_8139CPLUS, RL_8139CPLUS, "C+"}, - { RL_HWREV_8168_SPIN1, RL_8169, "8168"}, - { RL_HWREV_8169, RL_8169, "8169"}, - { RL_HWREV_8169S, RL_8169, "8169S"}, - { RL_HWREV_8110S, RL_8169, "8110S"}, - { RL_HWREV_8169_8110SB, RL_8169, "8169SB/8110SB"}, - { RL_HWREV_8169_8110SC, RL_8169, "8169SC/8110SC"}, - { RL_HWREV_8169_8110SBL, RL_8169, "8169SBL/8110SBL"}, - { RL_HWREV_8169_8110SCE, RL_8169, "8169SC/8110SC"}, - { RL_HWREV_8100, RL_8139, "8100"}, - { RL_HWREV_8101, RL_8139, "8101"}, - { RL_HWREV_8100E, RL_8169, "8100E"}, - { RL_HWREV_8101E, RL_8169, "8101E"}, - { RL_HWREV_8102E, RL_8169, "8102E"}, - { RL_HWREV_8102EL, RL_8169, "8102EL"}, - { RL_HWREV_8102EL_SPIN1, RL_8169, "8102EL"}, - { RL_HWREV_8103E, RL_8169, "8103E"}, - { RL_HWREV_8168_SPIN2, RL_8169, "8168"}, - { RL_HWREV_8168_SPIN3, RL_8169, "8168"}, - { RL_HWREV_8168C, RL_8169, "8168C/8111C"}, - { RL_HWREV_8168C_SPIN2, RL_8169, "8168C/8111C"}, - { RL_HWREV_8168CP, RL_8169, "8168CP/8111CP"}, - { RL_HWREV_8168D, RL_8169, "8168D/8111D"}, - { RL_HWREV_8168DP, RL_8169, "8168DP/8111DP"}, - { RL_HWREV_8168E, RL_8169, "8168E/8111E"}, - { RL_HWREV_8168E_VL, RL_8169, "8168E/8111E-VL"}, - { 0, 0, NULL } + { RL_HWREV_8139, RL_8139, "", RL_MTU }, + { RL_HWREV_8139A, RL_8139, "A", RL_MTU }, + { RL_HWREV_8139AG, RL_8139, "A-G", RL_MTU }, + { RL_HWREV_8139B, RL_8139, "B", RL_MTU }, + { RL_HWREV_8130, RL_8139, "8130", RL_MTU }, + { RL_HWREV_8139C, RL_8139, "C", RL_MTU }, + { RL_HWREV_8139D, RL_8139, "8139D/8100B/8100C", RL_MTU }, + { RL_HWREV_8139CPLUS, RL_8139CPLUS, "C+", RL_MTU }, + { RL_HWREV_8168_SPIN1, RL_8169, "8168", RL_JUMBO_MTU }, + { RL_HWREV_8169, RL_8169, "8169", RL_JUMBO_MTU }, + { RL_HWREV_8169S, RL_8169, "8169S", RL_JUMBO_MTU }, + { RL_HWREV_8110S, RL_8169, "8110S", RL_JUMBO_MTU }, + { RL_HWREV_8169_8110SB, RL_8169, "8169SB/8110SB", RL_JUMBO_MTU }, + { RL_HWREV_8169_8110SC, RL_8169, "8169SC/8110SC", RL_JUMBO_MTU }, + { RL_HWREV_8169_8110SBL, RL_8169, "8169SBL/8110SBL", RL_JUMBO_MTU }, + { RL_HWREV_8169_8110SCE, RL_8169, "8169SC/8110SC", RL_JUMBO_MTU }, + { RL_HWREV_8100, RL_8139, "8100", RL_MTU }, + { RL_HWREV_8101, RL_8139, "8101", RL_MTU }, + { RL_HWREV_8100E, RL_8169, "8100E", RL_MTU }, + { RL_HWREV_8101E, RL_8169, "8101E", RL_MTU }, + { RL_HWREV_8102E, RL_8169, "8102E", RL_MTU }, + { RL_HWREV_8102EL, RL_8169, "8102EL", RL_MTU }, + { RL_HWREV_8102EL_SPIN1, RL_8169, "8102EL", RL_MTU }, + { RL_HWREV_8103E, RL_8169, "8103E", RL_MTU }, + { RL_HWREV_8168_SPIN2, RL_8169, "8168", RL_JUMBO_MTU }, + { RL_HWREV_8168_SPIN3, RL_8169, "8168", RL_JUMBO_MTU }, + { RL_HWREV_8168C, RL_8169, "8168C/8111C", RL_JUMBO_MTU_6K }, + { RL_HWREV_8168C_SPIN2, RL_8169, "8168C/8111C", RL_JUMBO_MTU_6K }, + { RL_HWREV_8168CP, RL_8169, "8168CP/8111CP", RL_JUMBO_MTU_6K }, + { RL_HWREV_8168D, RL_8169, "8168D/8111D", RL_JUMBO_MTU_9K }, + { RL_HWREV_8168DP, RL_8169, "8168DP/8111DP", RL_JUMBO_MTU_9K }, + { RL_HWREV_8168E, RL_8169, "8168E/8111E", RL_JUMBO_MTU_9K}, + { RL_HWREV_8168E_VL, RL_8169, "8168E/8111E-VL", RL_JUMBO_MTU_6K}, + { 0, 0, NULL, 0 } }; static int re_probe (device_t); @@ -236,7 +236,9 @@ static int re_allocmem (device_t, struc static __inline void re_discard_rxbuf (struct rl_softc *, int); static int re_newbuf (struct rl_softc *, int); +static int re_jumbo_newbuf (struct rl_softc *, int); static int re_rx_list_init (struct rl_softc *); +static int re_jrx_list_init (struct rl_softc *); static int re_tx_list_init (struct rl_softc *); #ifdef RE_FIXUP_RX static __inline void re_fixup_rx @@ -274,6 +276,7 @@ static int re_miibus_readreg (device_t, static int re_miibus_writereg (device_t, int, int, int); static void re_miibus_statchg (device_t); +static void re_set_jumbo (struct rl_softc *, int); static void re_set_rxmode (struct rl_softc *); static void re_reset (struct rl_softc *); static void re_setwol (struct rl_softc *); @@ -700,7 +703,7 @@ re_reset(struct rl_softc *sc) if ((sc->rl_flags & RL_FLAG_MACRESET) != 0) CSR_WRITE_1(sc, 0x82, 1); - if (sc->rl_hwrev == RL_HWREV_8169S) + if (sc->rl_hwrev->rl_rev == RL_HWREV_8169S) re_gmii_writereg(sc->rl_dev, 1, 0x0b, 0); } @@ -992,6 +995,17 @@ re_allocmem(device_t dev, struct rl_soft * Allocate map for RX mbufs. */ + if ((sc->rl_flags & RL_FLAG_JUMBOV2) != 0) { + error = bus_dma_tag_create(sc->rl_parent_tag, sizeof(uint64_t), + 0, BUS_SPACE_MAXADDR, BUS_SPACE_MAXADDR, NULL, NULL, + MJUM9BYTES, 1, MJUM9BYTES, 0, NULL, NULL, + &sc->rl_ldata.rl_jrx_mtag); + if (error) { + device_printf(dev, + "could not allocate jumbo RX DMA tag\n"); + return (error); + } + } error = bus_dma_tag_create(sc->rl_parent_tag, sizeof(uint64_t), 0, BUS_SPACE_MAXADDR, BUS_SPACE_MAXADDR, NULL, NULL, MCLBYTES, 1, MCLBYTES, 0, NULL, NULL, &sc->rl_ldata.rl_rx_mtag); @@ -1083,6 +1097,24 @@ re_allocmem(device_t dev, struct rl_soft /* Create DMA maps for RX buffers */ + if ((sc->rl_flags & RL_FLAG_JUMBOV2) != 0) { + error = bus_dmamap_create(sc->rl_ldata.rl_jrx_mtag, 0, + &sc->rl_ldata.rl_jrx_sparemap); + if (error) { + device_printf(dev, + "could not create spare DMA map for jumbo RX\n"); + return (error); + } + for (i = 0; i < sc->rl_ldata.rl_rx_desc_cnt; i++) { + error = bus_dmamap_create(sc->rl_ldata.rl_jrx_mtag, 0, + &sc->rl_ldata.rl_jrx_desc[i].rx_dmamap); + if (error) { + device_printf(dev, + "could not create DMA map for jumbo RX\n"); + return (error); + } + } + } error = bus_dmamap_create(sc->rl_ldata.rl_rx_mtag, 0, &sc->rl_ldata.rl_rx_sparemap); if (error) { @@ -1198,11 +1230,6 @@ re_attach(device_t dev) msic = 0; if (pci_find_extcap(dev, PCIY_EXPRESS, ®) == 0) { sc->rl_flags |= RL_FLAG_PCIE; - if (devid != RT_DEVICEID_8101E) { - /* Set PCIe maximum read request size to 2048. */ - if (pci_get_max_read_req(dev) < 2048) - pci_set_max_read_req(dev, 2048); - } msic = pci_msi_count(dev); if (bootverbose) device_printf(dev, "MSI count : %d\n", msic); @@ -1277,7 +1304,7 @@ re_attach(device_t dev) while (hw_rev->rl_desc != NULL) { if (hw_rev->rl_rev == hwrev) { sc->rl_type = hw_rev->rl_type; - sc->rl_hwrev = hw_rev->rl_rev; + sc->rl_hwrev = hw_rev; break; } hw_rev++; @@ -1290,26 +1317,23 @@ re_attach(device_t dev) switch (hw_rev->rl_rev) { case RL_HWREV_8139CPLUS: - sc->rl_flags |= RL_FLAG_NOJUMBO | RL_FLAG_FASTETHER | - RL_FLAG_AUTOPAD; + sc->rl_flags |= RL_FLAG_FASTETHER | RL_FLAG_AUTOPAD; break; case RL_HWREV_8100E: case RL_HWREV_8101E: - sc->rl_flags |= RL_FLAG_NOJUMBO | RL_FLAG_PHYWAKE | - RL_FLAG_FASTETHER; + sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_FASTETHER; break; case RL_HWREV_8102E: case RL_HWREV_8102EL: case RL_HWREV_8102EL_SPIN1: - sc->rl_flags |= RL_FLAG_NOJUMBO | RL_FLAG_PHYWAKE | - RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | - RL_FLAG_FASTETHER | RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD; + sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR | RL_FLAG_DESCV2 | + RL_FLAG_MACSTAT | RL_FLAG_FASTETHER | RL_FLAG_CMDSTOP | + RL_FLAG_AUTOPAD; break; case RL_HWREV_8103E: - sc->rl_flags |= RL_FLAG_NOJUMBO | RL_FLAG_PHYWAKE | - RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | - RL_FLAG_FASTETHER | RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | - RL_FLAG_MACSLEEP; + sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR | RL_FLAG_DESCV2 | + RL_FLAG_MACSTAT | RL_FLAG_FASTETHER | RL_FLAG_CMDSTOP | + RL_FLAG_AUTOPAD | RL_FLAG_MACSLEEP; break; case RL_HWREV_8168_SPIN1: case RL_HWREV_8168_SPIN2: @@ -1330,28 +1354,17 @@ re_attach(device_t dev) case RL_HWREV_8168DP: sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP | - RL_FLAG_AUTOPAD; - /* - * These controllers support jumbo frame but it seems - * that enabling it requires touching additional magic - * registers. Depending on MAC revisions some - * controllers need to disable checksum offload. So - * disable jumbo frame until I have better idea what - * it really requires to make it support. - * RTL8168C/CP : supports up to 6KB jumbo frame. - * RTL8111C/CP : supports up to 9KB jumbo frame. - */ - sc->rl_flags |= RL_FLAG_NOJUMBO; + RL_FLAG_AUTOPAD | RL_FLAG_JUMBOV2; break; case RL_HWREV_8168E: sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PHYWAKE_PM | RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | - RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_NOJUMBO; + RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_JUMBOV2; break; case RL_HWREV_8168E_VL: sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP | - RL_FLAG_AUTOPAD | RL_FLAG_NOJUMBO; + RL_FLAG_AUTOPAD | RL_FLAG_JUMBOV2; break; case RL_HWREV_8169_8110SB: case RL_HWREV_8169_8110SBL: @@ -1686,7 +1699,17 @@ re_detach(device_t dev) sc->rl_ldata.rl_rx_sparemap); bus_dma_tag_destroy(sc->rl_ldata.rl_rx_mtag); } - + if (sc->rl_ldata.rl_jrx_mtag) { + for (i = 0; i < sc->rl_ldata.rl_rx_desc_cnt; i++) { + if (sc->rl_ldata.rl_jrx_desc[i].rx_dmamap) + bus_dmamap_destroy(sc->rl_ldata.rl_jrx_mtag, + sc->rl_ldata.rl_jrx_desc[i].rx_dmamap); + } + if (sc->rl_ldata.rl_jrx_sparemap) + bus_dmamap_destroy(sc->rl_ldata.rl_jrx_mtag, + sc->rl_ldata.rl_jrx_sparemap); + bus_dma_tag_destroy(sc->rl_ldata.rl_jrx_mtag); + } /* Unload and free the stats buffer and map */ if (sc->rl_ldata.rl_stag) { @@ -1714,7 +1737,11 @@ re_discard_rxbuf(struct rl_softc *sc, in struct rl_rxdesc *rxd; uint32_t cmdstat; - rxd = &sc->rl_ldata.rl_rx_desc[idx]; + if (sc->rl_ifp->if_mtu > RL_MTU && + (sc->rl_flags & RL_FLAG_JUMBOV2) != 0) + rxd = &sc->rl_ldata.rl_jrx_desc[idx]; + else + rxd = &sc->rl_ldata.rl_rx_desc[idx]; desc = &sc->rl_ldata.rl_rx_list[idx]; desc->rl_vlanctl = 0; cmdstat = rxd->rx_size; @@ -1787,6 +1814,59 @@ re_newbuf(struct rl_softc *sc, int idx) return (0); } +static int +re_jumbo_newbuf(struct rl_softc *sc, int idx) +{ + struct mbuf *m; + struct rl_rxdesc *rxd; + bus_dma_segment_t segs[1]; + bus_dmamap_t map; + struct rl_desc *desc; + uint32_t cmdstat; + int error, nsegs; + + m = m_getjcl(M_DONTWAIT, MT_DATA, M_PKTHDR, MJUM9BYTES); + if (m == NULL) + return (ENOBUFS); + m->m_len = m->m_pkthdr.len = MJUM9BYTES; +#ifdef RE_FIXUP_RX + m_adj(m, RE_ETHER_ALIGN); +#endif + error = bus_dmamap_load_mbuf_sg(sc->rl_ldata.rl_jrx_mtag, + sc->rl_ldata.rl_jrx_sparemap, m, segs, &nsegs, BUS_DMA_NOWAIT); + if (error != 0) { + m_freem(m); + return (ENOBUFS); + } + KASSERT(nsegs == 1, ("%s: %d segment returned!", __func__, nsegs)); + + rxd = &sc->rl_ldata.rl_jrx_desc[idx]; + if (rxd->rx_m != NULL) { + bus_dmamap_sync(sc->rl_ldata.rl_jrx_mtag, rxd->rx_dmamap, + BUS_DMASYNC_POSTREAD); + bus_dmamap_unload(sc->rl_ldata.rl_jrx_mtag, rxd->rx_dmamap); + } + + rxd->rx_m = m; + map = rxd->rx_dmamap; + rxd->rx_dmamap = sc->rl_ldata.rl_jrx_sparemap; + rxd->rx_size = segs[0].ds_len; + sc->rl_ldata.rl_jrx_sparemap = map; + bus_dmamap_sync(sc->rl_ldata.rl_jrx_mtag, rxd->rx_dmamap, + BUS_DMASYNC_PREREAD); + + desc = &sc->rl_ldata.rl_rx_list[idx]; + desc->rl_vlanctl = 0; + desc->rl_bufaddr_lo = htole32(RL_ADDR_LO(segs[0].ds_addr)); + desc->rl_bufaddr_hi = htole32(RL_ADDR_HI(segs[0].ds_addr)); + cmdstat = segs[0].ds_len; + if (idx == sc->rl_ldata.rl_rx_desc_cnt - 1) + cmdstat |= RL_RDESC_CMD_EOR; + desc->rl_cmdstat = htole32(cmdstat | RL_RDESC_CMD_OWN); + + return (0); +} + #ifdef RE_FIXUP_RX static __inline void re_fixup_rx(struct mbuf *m) @@ -1856,6 +1936,29 @@ re_rx_list_init(struct rl_softc *sc) return (0); } +static int +re_jrx_list_init(struct rl_softc *sc) +{ + int error, i; + + bzero(sc->rl_ldata.rl_rx_list, + sc->rl_ldata.rl_rx_desc_cnt * sizeof(struct rl_desc)); + for (i = 0; i < sc->rl_ldata.rl_rx_desc_cnt; i++) { + sc->rl_ldata.rl_jrx_desc[i].rx_m = NULL; + if ((error = re_jumbo_newbuf(sc, i)) != 0) + return (error); + } + + bus_dmamap_sync(sc->rl_ldata.rl_rx_list_tag, + sc->rl_ldata.rl_rx_list_map, + BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD); + + sc->rl_ldata.rl_rx_prodidx = 0; + sc->rl_head = sc->rl_tail = NULL; + + return (0); +} + /* * RX handler for C+ and 8169. For the gigE chips, we support * the reception of jumbo frames that have been fragmented @@ -1866,14 +1969,18 @@ re_rxeof(struct rl_softc *sc) { struct mbuf *m; struct ifnet *ifp; - int i, total_len; + int i, rxerr, total_len; struct rl_desc *cur_rx; u_int32_t rxstat, rxvlan; - int maxpkt = 16; + int jumbo, maxpkt = 16; RL_LOCK_ASSERT(sc); ifp = sc->rl_ifp; + if (ifp->if_mtu > RL_MTU && (sc->rl_flags & RL_FLAG_JUMBOV2) != 0) + jumbo = 1; + else + jumbo = 0; /* Invalidate the descriptor memory */ @@ -1891,9 +1998,21 @@ re_rxeof(struct rl_softc *sc) break; total_len = rxstat & sc->rl_rxlenmask; rxvlan = le32toh(cur_rx->rl_vlanctl); - m = sc->rl_ldata.rl_rx_desc[i].rx_m; + if (jumbo != 0) + m = sc->rl_ldata.rl_jrx_desc[i].rx_m; + else + m = sc->rl_ldata.rl_rx_desc[i].rx_m; - if (!(rxstat & RL_RDESC_STAT_EOF)) { + if ((sc->rl_flags & RL_FLAG_JUMBOV2) != 0 && + (rxstat & (RL_RDESC_STAT_SOF | RL_RDESC_STAT_EOF)) != + (RL_RDESC_STAT_SOF | RL_RDESC_STAT_EOF)) { + /* + * RTL8168C or later controllers do not + * support multi-fragment packet. + */ + re_discard_rxbuf(sc, i); + continue; + } else if ((rxstat & RL_RDESC_STAT_EOF) == 0) { if (re_newbuf(sc, i) != 0) { /* * If this is part of a multi-fragment packet, @@ -1940,27 +2059,36 @@ re_rxeof(struct rl_softc *sc) * if total_len > 2^13-1, both _RXERRSUM and _GIANT will be * set, but if CRC is clear, it will still be a valid frame. */ - if (rxstat & RL_RDESC_STAT_RXERRSUM && !(total_len > 8191 && - (rxstat & RL_RDESC_STAT_ERRS) == RL_RDESC_STAT_GIANT)) { - ifp->if_ierrors++; - /* - * If this is part of a multi-fragment packet, - * discard all the pieces. - */ - if (sc->rl_head != NULL) { - m_freem(sc->rl_head); - sc->rl_head = sc->rl_tail = NULL; + if ((rxstat & RL_RDESC_STAT_RXERRSUM) != 0) { + rxerr = 1; + if ((sc->rl_flags & RL_FLAG_JUMBOV2) == 0 && + total_len > 8191 && + (rxstat & RL_RDESC_STAT_ERRS) == RL_RDESC_STAT_GIANT) + rxerr = 0; + if (rxerr != 0) { + ifp->if_ierrors++; + /* + * If this is part of a multi-fragment packet, + * discard all the pieces. + */ + if (sc->rl_head != NULL) { + m_freem(sc->rl_head); + sc->rl_head = sc->rl_tail = NULL; + } + re_discard_rxbuf(sc, i); + continue; } - re_discard_rxbuf(sc, i); - continue; } /* * If allocating a replacement mbuf fails, * reload the current one. */ - - if (re_newbuf(sc, i) != 0) { + if (jumbo != 0) + rxerr = re_jumbo_newbuf(sc, i); + else + rxerr = re_newbuf(sc, i); + if (rxerr != 0) { ifp->if_iqdrops++; if (sc->rl_head != NULL) { m_freem(sc->rl_head); @@ -1971,9 +2099,13 @@ re_rxeof(struct rl_softc *sc) } if (sc->rl_head != NULL) { - m->m_len = total_len % RE_RX_DESC_BUFLEN; - if (m->m_len == 0) - m->m_len = RE_RX_DESC_BUFLEN; + if (jumbo != 0) + m->m_len = total_len; + else { + m->m_len = total_len % RE_RX_DESC_BUFLEN; + if (m->m_len == 0) + m->m_len = RE_RX_DESC_BUFLEN; + } /* * Special case: if there's 4 bytes or less * in this buffer, the mbuf can be discarded: @@ -2583,6 +2715,59 @@ re_start(struct ifnet *ifp) } static void +re_set_jumbo(struct rl_softc *sc, int jumbo) +{ + + if (sc->rl_hwrev->rl_rev == RL_HWREV_8168E_VL) { + pci_set_max_read_req(sc->rl_dev, 4096); + return; + } + + CSR_WRITE_1(sc, RL_EECMD, RL_EEMODE_WRITECFG); + if (jumbo != 0) { + CSR_WRITE_1(sc, RL_CFG3, CSR_READ_1(sc, RL_CFG3) | + RL_CFG3_JUMBO_EN0); + switch (sc->rl_hwrev->rl_rev) { + case RL_HWREV_8168DP: + break; + case RL_HWREV_8168E: + CSR_WRITE_1(sc, RL_CFG4, CSR_READ_1(sc, RL_CFG4) | + 0x01); + break; + default: + CSR_WRITE_1(sc, RL_CFG4, CSR_READ_1(sc, RL_CFG4) | + RL_CFG4_JUMBO_EN1); + } + } else { + CSR_WRITE_1(sc, RL_CFG3, CSR_READ_1(sc, RL_CFG3) & + ~RL_CFG3_JUMBO_EN0); + switch (sc->rl_hwrev->rl_rev) { + case RL_HWREV_8168DP: + break; + case RL_HWREV_8168E: + CSR_WRITE_1(sc, RL_CFG4, CSR_READ_1(sc, RL_CFG4) & + ~0x01); + break; + default: + CSR_WRITE_1(sc, RL_CFG4, CSR_READ_1(sc, RL_CFG4) & + ~RL_CFG4_JUMBO_EN1); + } + } + CSR_WRITE_1(sc, RL_EECMD, RL_EEMODE_OFF); + + switch (sc->rl_hwrev->rl_rev) { + case RL_HWREV_8168DP: + pci_set_max_read_req(sc->rl_dev, 4096); + break; + default: + if (jumbo != 0) + pci_set_max_read_req(sc->rl_dev, 512); + else + pci_set_max_read_req(sc->rl_dev, 4096); + } +} + +static void re_init(void *xsc) { struct rl_softc *sc = xsc; @@ -2622,10 +2807,39 @@ re_init_locked(struct rl_softc *sc) /* * For C+ mode, initialize the RX descriptors and mbufs. */ - if (re_rx_list_init(sc) != 0) { - device_printf(sc->rl_dev, "no memory for RX buffers\n"); - re_stop(sc); - return; + if ((sc->rl_flags & RL_FLAG_JUMBOV2) != 0) { + if (ifp->if_mtu > RL_MTU) { + if (re_jrx_list_init(sc) != 0) { + device_printf(sc->rl_dev, + "no memory for jumbo RX buffers\n"); + re_stop(sc); + return; + } + /* Disable checksum offloading for jumbo frames. */ + ifp->if_capenable &= ~(IFCAP_HWCSUM | IFCAP_TSO4); + ifp->if_hwassist &= ~(RE_CSUM_FEATURES | CSUM_TSO); + } else { + if (re_rx_list_init(sc) != 0) { + device_printf(sc->rl_dev, + "no memory for RX buffers\n"); + re_stop(sc); + return; + } + } + re_set_jumbo(sc, ifp->if_mtu > RL_MTU); + } else { + if (re_rx_list_init(sc) != 0) { + device_printf(sc->rl_dev, "no memory for RX buffers\n"); + re_stop(sc); + return; + } + if ((sc->rl_flags & RL_FLAG_PCIE) != 0 && + pci_get_device(sc->rl_dev) != RT_DEVICEID_8101E) { + if (ifp->if_mtu > RL_MTU) + pci_set_max_read_req(sc->rl_dev, 512); + else + pci_set_max_read_req(sc->rl_dev, 4096); + } } re_tx_list_init(sc); @@ -2646,12 +2860,12 @@ re_init_locked(struct rl_softc *sc) } else cfg |= RL_CPLUSCMD_RXENB | RL_CPLUSCMD_TXENB; CSR_WRITE_2(sc, RL_CPLUS_CMD, cfg); - if (sc->rl_hwrev == RL_HWREV_8169_8110SC || - sc->rl_hwrev == RL_HWREV_8169_8110SCE) { + if (sc->rl_hwrev->rl_rev == RL_HWREV_8169_8110SC || + sc->rl_hwrev->rl_rev == RL_HWREV_8169_8110SCE) { reg = 0x000fff00; if ((CSR_READ_1(sc, RL_CFG2) & RL_CFG2_PCI66MHZ) != 0) reg |= 0x000000ff; - if (sc->rl_hwrev == RL_HWREV_8169_8110SCE) + if (sc->rl_hwrev->rl_rev == RL_HWREV_8169_8110SCE) reg |= 0x00f00000; CSR_WRITE_4(sc, 0x7c, reg); /* Disable interrupt mitigation. */ @@ -2721,7 +2935,7 @@ re_init_locked(struct rl_softc *sc) /* Configure interrupt moderation. */ if (sc->rl_type == RL_8169) { - switch (sc->rl_hwrev) { + switch (sc->rl_hwrev->rl_rev) { case RL_HWREV_8100E: case RL_HWREV_8101E: case RL_HWREV_8102E: @@ -2784,10 +2998,25 @@ re_init_locked(struct rl_softc *sc) * size so we can receive jumbo frames. */ if (sc->rl_type == RL_8169) { - if ((sc->rl_flags & (RL_FLAG_PCIE | RL_FLAG_NOJUMBO)) == - (RL_FLAG_PCIE | RL_FLAG_NOJUMBO)) + if ((sc->rl_flags & RL_FLAG_JUMBOV2) != 0) { + /* + * For controllers that use new jumbo frame scheme, + * set maximum size of jumbo frame depedning on + * controller revisions. + */ + if (ifp->if_mtu > RL_MTU) + CSR_WRITE_2(sc, RL_MAXRXPKTLEN, + sc->rl_hwrev->rl_max_mtu + + ETHER_VLAN_ENCAP_LEN + ETHER_HDR_LEN + + ETHER_CRC_LEN); + else + CSR_WRITE_2(sc, RL_MAXRXPKTLEN, + RE_RX_DESC_BUFLEN); + } else if ((sc->rl_flags & RL_FLAG_PCIE) != 0 && + sc->rl_hwrev->rl_max_mtu == RL_MTU) { + /* RTL810x has no jumbo frame support. */ CSR_WRITE_2(sc, RL_MAXRXPKTLEN, RE_RX_DESC_BUFLEN); - else + } else CSR_WRITE_2(sc, RL_MAXRXPKTLEN, 16383); } @@ -2854,22 +3083,25 @@ re_ioctl(struct ifnet *ifp, u_long comma switch (command) { case SIOCSIFMTU: - if (ifr->ifr_mtu < ETHERMIN || ifr->ifr_mtu > RL_JUMBO_MTU) { - error = EINVAL; - break; - } - if ((sc->rl_flags & RL_FLAG_NOJUMBO) != 0 && - ifr->ifr_mtu > RL_MAX_FRAMELEN) { + if (ifr->ifr_mtu < ETHERMIN || + ifr->ifr_mtu > sc->rl_hwrev->rl_max_mtu) { error = EINVAL; break; } RL_LOCK(sc); - if (ifp->if_mtu != ifr->ifr_mtu) + if (ifp->if_mtu != ifr->ifr_mtu) { ifp->if_mtu = ifr->ifr_mtu; - if (ifp->if_mtu > RL_TSO_MTU && - (ifp->if_capenable & IFCAP_TSO4) != 0) { - ifp->if_capenable &= ~IFCAP_TSO4; - ifp->if_hwassist &= ~CSUM_TSO; + if ((sc->rl_flags & RL_FLAG_JUMBOV2) != 0 && + (ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) { + ifp->if_drv_flags &= ~IFF_DRV_RUNNING; + re_init_locked(sc); + } + if (ifp->if_mtu > RL_TSO_MTU && + (ifp->if_capenable & IFCAP_TSO4) != 0) { + ifp->if_capenable &= ~(IFCAP_TSO4 | + IFCAP_VLAN_HWTSO); + ifp->if_hwassist &= ~CSUM_TSO; + } VLAN_CAPABILITIES(ifp); } RL_UNLOCK(sc); @@ -2967,6 +3199,10 @@ re_ioctl(struct ifnet *ifp, u_long comma ifp->if_capenable &= ~IFCAP_VLAN_HWTSO; reinit = 1; } + if ((sc->rl_flags & RL_FLAG_JUMBOV2) != 0 && + (mask & (IFCAP_HWCSUM | IFCAP_TSO4 | + IFCAP_VLAN_HWTSO)) != 0) + reinit = 1; if ((mask & IFCAP_WOL) != 0 && (ifp->if_capabilities & IFCAP_WOL) != 0) { if ((mask & IFCAP_WOL_UCAST) != 0) Modified: stable/7/sys/pci/if_rlreg.h ============================================================================== --- stable/7/sys/pci/if_rlreg.h Mon Feb 21 01:08:13 2011 (r218903) +++ stable/7/sys/pci/if_rlreg.h Mon Feb 21 01:15:11 2011 (r218904) @@ -429,6 +429,7 @@ #define RL_CFG3_GRANTSEL 0x80 #define RL_CFG3_WOL_MAGIC 0x20 #define RL_CFG3_WOL_LINK 0x10 +#define RL_CFG3_JUMBO_EN0 0x04 /* RTL8168C or later. */ #define RL_CFG3_FAST_B2B 0x01 /* @@ -436,6 +437,7 @@ */ #define RL_CFG4_LWPTN 0x04 #define RL_CFG4_LWPME 0x10 +#define RL_CFG4_JUMBO_EN1 0x02 /* RTL8168C or later. */ /* * Config 5 register @@ -592,6 +594,7 @@ struct rl_hwrev { uint32_t rl_rev; int rl_type; char *rl_desc; + int rl_max_mtu; }; struct rl_mii_frame { @@ -767,6 +770,7 @@ struct rl_stats { #define RL_8139_RX_DESC_CNT 64 #define RL_TX_DESC_CNT RL_8169_TX_DESC_CNT #define RL_RX_DESC_CNT RL_8169_RX_DESC_CNT +#define RL_RX_JUMBO_DESC_CNT RL_RX_DESC_CNT #define RL_NTXSEGS 32 #define RL_RING_ALIGN 256 @@ -801,8 +805,13 @@ struct rl_stats { /* see comment in dev/re/if_re.c */ #define RL_JUMBO_FRAMELEN 7440 -#define RL_JUMBO_MTU (RL_JUMBO_FRAMELEN-ETHER_HDR_LEN-ETHER_CRC_LEN) -#define RL_MAX_FRAMELEN \ +#define RL_JUMBO_MTU \ + (RL_JUMBO_FRAMELEN-ETHER_VLAN_ENCAP_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN) +#define RL_JUMBO_MTU_6K \ + ((6 * 1024) - ETHER_VLAN_ENCAP_LEN - ETHER_HDR_LEN - ETHER_CRC_LEN) +#define RL_JUMBO_MTU_9K \ + ((9 * 1024) - ETHER_VLAN_ENCAP_LEN - ETHER_HDR_LEN - ETHER_CRC_LEN) +#define RL_MTU \ (ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN - ETHER_HDR_LEN - ETHER_CRC_LEN) struct rl_txdesc { @@ -819,6 +828,7 @@ struct rl_rxdesc { struct rl_list_data { struct rl_txdesc rl_tx_desc[RL_TX_DESC_CNT]; struct rl_rxdesc rl_rx_desc[RL_RX_DESC_CNT]; + struct rl_rxdesc rl_jrx_desc[RL_RX_JUMBO_DESC_CNT]; int rl_tx_desc_cnt; int rl_rx_desc_cnt; int rl_tx_prodidx; @@ -827,7 +837,9 @@ struct rl_list_data { int rl_tx_free; bus_dma_tag_t rl_tx_mtag; /* mbuf TX mapping tag */ bus_dma_tag_t rl_rx_mtag; /* mbuf RX mapping tag */ + bus_dma_tag_t rl_jrx_mtag; /* mbuf RX mapping tag */ bus_dmamap_t rl_rx_sparemap; + bus_dmamap_t rl_jrx_sparemap; bus_dma_tag_t rl_stag; /* stats mapping tag */ bus_dmamap_t rl_smap; /* stats map */ struct rl_stats *rl_stats; @@ -857,9 +869,9 @@ struct rl_softc { device_t rl_miibus; bus_dma_tag_t rl_parent_tag; uint8_t rl_type; + struct rl_hwrev *rl_hwrev; int rl_eecmd_read; int rl_eewidth; - uint8_t rl_stats_no_timeout; int rl_txthresh; struct rl_chain_data rl_cdata; struct rl_list_data rl_ldata; @@ -868,7 +880,6 @@ struct rl_softc { struct mtx rl_mtx; struct mbuf *rl_head; struct mbuf *rl_tail; - uint32_t rl_hwrev; uint32_t rl_rxlenmask; int rl_testmode; int rl_if_flags; @@ -890,7 +901,7 @@ struct rl_softc { #define RL_FLAG_AUTOPAD 0x0002 #define RL_FLAG_PHYWAKE_PM 0x0004 #define RL_FLAG_PHYWAKE 0x0008 -#define RL_FLAG_NOJUMBO 0x0010 +#define RL_FLAG_JUMBOV2 0x0010 #define RL_FLAG_PAR 0x0020 #define RL_FLAG_DESCV2 0x0040 #define RL_FLAG_MACSTAT 0x0080 From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 01:19:09 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4DC11065674; Mon, 21 Feb 2011 01:19:09 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C1F7A8FC0C; Mon, 21 Feb 2011 01:19:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1L1J98o051252; Mon, 21 Feb 2011 01:19:09 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1L1J9Z0051249; Mon, 21 Feb 2011 01:19:09 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102210119.p1L1J9Z0051249@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 21 Feb 2011 01:19:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218905 - in stable/8/sys: dev/re pci X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 01:19:09 -0000 Author: yongari Date: Mon Feb 21 01:19:09 2011 New Revision: 218905 URL: http://svn.freebsd.org/changeset/base/218905 Log: MFC r217524,217766: Change model names of controller RTL_HWREV_8168_SPIN[123] to real ones. s/RL_HWREV_8168_SPIN1/RL_HWREV_8168B_SPIN1/g s/RL_HWREV_8168_SPIN2/RL_HWREV_8168B_SPIN2/g s/RL_HWREV_8168_SPIN3/RL_HWREV_8168B_SPIN3/g No functional changes. r217766: Apply TX interrupt moderation to all RTL810xE PCIe Fast Ethernet controllers. Experimentation with RTL8102E, RTL8103E and RTL8105E showed dramatic decrement of TX completion interrupts under high TX load(e.g. from 147k interrupts/second to 10k interrupts/second) With this change, TX interrupt moderation is applied to all controllers except RTL8139C+. Modified: stable/8/sys/dev/re/if_re.c stable/8/sys/pci/if_rlreg.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/dev/re/if_re.c ============================================================================== --- stable/8/sys/dev/re/if_re.c Mon Feb 21 01:15:11 2011 (r218904) +++ stable/8/sys/dev/re/if_re.c Mon Feb 21 01:19:09 2011 (r218905) @@ -197,7 +197,7 @@ static struct rl_hwrev re_hwrevs[] = { { RL_HWREV_8139C, RL_8139, "C", RL_MTU }, { RL_HWREV_8139D, RL_8139, "8139D/8100B/8100C", RL_MTU }, { RL_HWREV_8139CPLUS, RL_8139CPLUS, "C+", RL_MTU }, - { RL_HWREV_8168_SPIN1, RL_8169, "8168", RL_JUMBO_MTU }, + { RL_HWREV_8168B_SPIN1, RL_8169, "8168", RL_JUMBO_MTU }, { RL_HWREV_8169, RL_8169, "8169", RL_JUMBO_MTU }, { RL_HWREV_8169S, RL_8169, "8169S", RL_JUMBO_MTU }, { RL_HWREV_8110S, RL_8169, "8110S", RL_JUMBO_MTU }, @@ -213,8 +213,8 @@ static struct rl_hwrev re_hwrevs[] = { { RL_HWREV_8102EL, RL_8169, "8102EL", RL_MTU }, { RL_HWREV_8102EL_SPIN1, RL_8169, "8102EL", RL_MTU }, { RL_HWREV_8103E, RL_8169, "8103E", RL_MTU }, - { RL_HWREV_8168_SPIN2, RL_8169, "8168", RL_JUMBO_MTU }, - { RL_HWREV_8168_SPIN3, RL_8169, "8168", RL_JUMBO_MTU }, + { RL_HWREV_8168B_SPIN2, RL_8169, "8168", RL_JUMBO_MTU }, + { RL_HWREV_8168B_SPIN3, RL_8169, "8168", RL_JUMBO_MTU }, { RL_HWREV_8168C, RL_8169, "8168C/8111C", RL_JUMBO_MTU_6K }, { RL_HWREV_8168C_SPIN2, RL_8169, "8168C/8111C", RL_JUMBO_MTU_6K }, { RL_HWREV_8168CP, RL_8169, "8168CP/8111CP", RL_JUMBO_MTU_6K }, @@ -1334,11 +1334,11 @@ re_attach(device_t dev) RL_FLAG_MACSTAT | RL_FLAG_FASTETHER | RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_MACSLEEP; break; - case RL_HWREV_8168_SPIN1: - case RL_HWREV_8168_SPIN2: + case RL_HWREV_8168B_SPIN1: + case RL_HWREV_8168B_SPIN2: sc->rl_flags |= RL_FLAG_WOLRXENB; /* FALLTHROUGH */ - case RL_HWREV_8168_SPIN3: + case RL_HWREV_8168B_SPIN3: sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_MACSTAT; break; case RL_HWREV_8168C_SPIN2: @@ -2941,20 +2941,8 @@ re_init_locked(struct rl_softc *sc) /* Configure interrupt moderation. */ if (sc->rl_type == RL_8169) { - switch (sc->rl_hwrev->rl_rev) { - case RL_HWREV_8100E: - case RL_HWREV_8101E: - case RL_HWREV_8102E: - case RL_HWREV_8102EL: - case RL_HWREV_8102EL_SPIN1: - case RL_HWREV_8103E: - CSR_WRITE_2(sc, RL_INTRMOD, 0); - break; - default: - /* Magic from vendor. */ - CSR_WRITE_2(sc, RL_INTRMOD, 0x5100); - break; - } + /* Magic from vendor. */ + CSR_WRITE_2(sc, RL_INTRMOD, 0x5100); } #ifdef DEVICE_POLLING Modified: stable/8/sys/pci/if_rlreg.h ============================================================================== --- stable/8/sys/pci/if_rlreg.h Mon Feb 21 01:15:11 2011 (r218904) +++ stable/8/sys/pci/if_rlreg.h Mon Feb 21 01:19:09 2011 (r218905) @@ -166,13 +166,13 @@ #define RL_HWREV_8168DP 0x28800000 #define RL_HWREV_8168E 0x2C000000 #define RL_HWREV_8168E_VL 0x2C800000 -#define RL_HWREV_8168_SPIN1 0x30000000 +#define RL_HWREV_8168B_SPIN1 0x30000000 #define RL_HWREV_8100E 0x30800000 #define RL_HWREV_8101E 0x34000000 #define RL_HWREV_8102E 0x34800000 #define RL_HWREV_8103E 0x34C00000 -#define RL_HWREV_8168_SPIN2 0x38000000 -#define RL_HWREV_8168_SPIN3 0x38400000 +#define RL_HWREV_8168B_SPIN2 0x38000000 +#define RL_HWREV_8168B_SPIN3 0x38400000 #define RL_HWREV_8168C 0x3C000000 #define RL_HWREV_8168C_SPIN2 0x3C400000 #define RL_HWREV_8168CP 0x3C800000 From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 01:20:57 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0332D1065673; Mon, 21 Feb 2011 01:20:57 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E49528FC15; Mon, 21 Feb 2011 01:20:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1L1KuiC051353; Mon, 21 Feb 2011 01:20:56 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1L1Kusi051350; Mon, 21 Feb 2011 01:20:56 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102210120.p1L1Kusi051350@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 21 Feb 2011 01:20:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218906 - in stable/7/sys: dev/re pci X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 01:20:57 -0000 Author: yongari Date: Mon Feb 21 01:20:56 2011 New Revision: 218906 URL: http://svn.freebsd.org/changeset/base/218906 Log: MFC r217524,217766: r217524: Change model names of controller RTL_HWREV_8168_SPIN[123] to real ones. s/RL_HWREV_8168_SPIN1/RL_HWREV_8168B_SPIN1/g s/RL_HWREV_8168_SPIN2/RL_HWREV_8168B_SPIN2/g s/RL_HWREV_8168_SPIN3/RL_HWREV_8168B_SPIN3/g No functional changes. r217766: Apply TX interrupt moderation to all RTL810xE PCIe Fast Ethernet controllers. Experimentation with RTL8102E, RTL8103E and RTL8105E showed dramatic decrement of TX completion interrupts under high TX load(e.g. from 147k interrupts/second to 10k interrupts/second) With this change, TX interrupt moderation is applied to all controllers except RTL8139C+. Modified: stable/7/sys/dev/re/if_re.c stable/7/sys/pci/if_rlreg.h Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/re/if_re.c ============================================================================== --- stable/7/sys/dev/re/if_re.c Mon Feb 21 01:19:09 2011 (r218905) +++ stable/7/sys/dev/re/if_re.c Mon Feb 21 01:20:56 2011 (r218906) @@ -197,7 +197,7 @@ static struct rl_hwrev re_hwrevs[] = { { RL_HWREV_8139C, RL_8139, "C", RL_MTU }, { RL_HWREV_8139D, RL_8139, "8139D/8100B/8100C", RL_MTU }, { RL_HWREV_8139CPLUS, RL_8139CPLUS, "C+", RL_MTU }, - { RL_HWREV_8168_SPIN1, RL_8169, "8168", RL_JUMBO_MTU }, + { RL_HWREV_8168B_SPIN1, RL_8169, "8168", RL_JUMBO_MTU }, { RL_HWREV_8169, RL_8169, "8169", RL_JUMBO_MTU }, { RL_HWREV_8169S, RL_8169, "8169S", RL_JUMBO_MTU }, { RL_HWREV_8110S, RL_8169, "8110S", RL_JUMBO_MTU }, @@ -213,8 +213,8 @@ static struct rl_hwrev re_hwrevs[] = { { RL_HWREV_8102EL, RL_8169, "8102EL", RL_MTU }, { RL_HWREV_8102EL_SPIN1, RL_8169, "8102EL", RL_MTU }, { RL_HWREV_8103E, RL_8169, "8103E", RL_MTU }, - { RL_HWREV_8168_SPIN2, RL_8169, "8168", RL_JUMBO_MTU }, - { RL_HWREV_8168_SPIN3, RL_8169, "8168", RL_JUMBO_MTU }, + { RL_HWREV_8168B_SPIN2, RL_8169, "8168", RL_JUMBO_MTU }, + { RL_HWREV_8168B_SPIN3, RL_8169, "8168", RL_JUMBO_MTU }, { RL_HWREV_8168C, RL_8169, "8168C/8111C", RL_JUMBO_MTU_6K }, { RL_HWREV_8168C_SPIN2, RL_8169, "8168C/8111C", RL_JUMBO_MTU_6K }, { RL_HWREV_8168CP, RL_8169, "8168CP/8111CP", RL_JUMBO_MTU_6K }, @@ -1335,11 +1335,11 @@ re_attach(device_t dev) RL_FLAG_MACSTAT | RL_FLAG_FASTETHER | RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_MACSLEEP; break; - case RL_HWREV_8168_SPIN1: - case RL_HWREV_8168_SPIN2: + case RL_HWREV_8168B_SPIN1: + case RL_HWREV_8168B_SPIN2: sc->rl_flags |= RL_FLAG_WOLRXENB; /* FALLTHROUGH */ - case RL_HWREV_8168_SPIN3: + case RL_HWREV_8168B_SPIN3: sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_MACSTAT; break; case RL_HWREV_8168C_SPIN2: @@ -2935,20 +2935,8 @@ re_init_locked(struct rl_softc *sc) /* Configure interrupt moderation. */ if (sc->rl_type == RL_8169) { - switch (sc->rl_hwrev->rl_rev) { - case RL_HWREV_8100E: - case RL_HWREV_8101E: - case RL_HWREV_8102E: - case RL_HWREV_8102EL: - case RL_HWREV_8102EL_SPIN1: - case RL_HWREV_8103E: - CSR_WRITE_2(sc, RL_INTRMOD, 0); - break; - default: - /* Magic from vendor. */ - CSR_WRITE_2(sc, RL_INTRMOD, 0x5100); - break; - } + /* Magic from vendor. */ + CSR_WRITE_2(sc, RL_INTRMOD, 0x5100); } #ifdef DEVICE_POLLING Modified: stable/7/sys/pci/if_rlreg.h ============================================================================== --- stable/7/sys/pci/if_rlreg.h Mon Feb 21 01:19:09 2011 (r218905) +++ stable/7/sys/pci/if_rlreg.h Mon Feb 21 01:20:56 2011 (r218906) @@ -166,13 +166,13 @@ #define RL_HWREV_8168DP 0x28800000 #define RL_HWREV_8168E 0x2C000000 #define RL_HWREV_8168E_VL 0x2C800000 -#define RL_HWREV_8168_SPIN1 0x30000000 +#define RL_HWREV_8168B_SPIN1 0x30000000 #define RL_HWREV_8100E 0x30800000 #define RL_HWREV_8101E 0x34000000 #define RL_HWREV_8102E 0x34800000 #define RL_HWREV_8103E 0x34C00000 -#define RL_HWREV_8168_SPIN2 0x38000000 -#define RL_HWREV_8168_SPIN3 0x38400000 +#define RL_HWREV_8168B_SPIN2 0x38000000 +#define RL_HWREV_8168B_SPIN3 0x38400000 #define RL_HWREV_8168C 0x3C000000 #define RL_HWREV_8168C_SPIN2 0x3C400000 #define RL_HWREV_8168CP 0x3C800000 From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 03:52:52 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 763F5106564A; Mon, 21 Feb 2011 03:52:52 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4AAA28FC12; Mon, 21 Feb 2011 03:52:52 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1L3qqNi054940; Mon, 21 Feb 2011 03:52:52 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1L3qq9F054938; Mon, 21 Feb 2011 03:52:52 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201102210352.p1L3qq9F054938@svn.freebsd.org> From: Adrian Chadd Date: Mon, 21 Feb 2011 03:52:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218907 - head/sys/dev/ath X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 03:52:52 -0000 Author: adrian Date: Mon Feb 21 03:52:51 2011 New Revision: 218907 URL: http://svn.freebsd.org/changeset/base/218907 Log: Implement setting the short preamble bit if it's needed for the current node. Short preamble rates are only for legacy rates; MCS rate codes don't have a short preamble code like this. Modified: head/sys/dev/ath/if_ath_tx_ht.c Modified: head/sys/dev/ath/if_ath_tx_ht.c ============================================================================== --- head/sys/dev/ath/if_ath_tx_ht.c Mon Feb 21 01:20:56 2011 (r218906) +++ head/sys/dev/ath/if_ath_tx_ht.c Mon Feb 21 03:52:51 2011 (r218907) @@ -103,7 +103,6 @@ ath_rateseries_setup(struct ath_softc *s HAL_BOOL shortPreamble = AH_FALSE; const HAL_RATE_TABLE *rt = sc->sc_currates; int i; - uint8_t txrate; if ((ic->ic_flags & IEEE80211_F_SHPREAMBLE) && (ni->ni_capinfo & IEEE80211_CAPINFO_SHORT_PREAMBLE)) @@ -111,7 +110,6 @@ ath_rateseries_setup(struct ath_softc *s memset(series, 0, sizeof(HAL_11N_RATE_SERIES) * 4); for (i = 0; i < 4; i++) { - txrate = rt->info[rix[i]].rateCode; series[i].Tries = try[i]; series[i].ChSel = sc->sc_txchainmask; if (ic->ic_protmode == IEEE80211_PROT_RTSCTS || @@ -128,14 +126,16 @@ ath_rateseries_setup(struct ath_softc *s if (ni->ni_htcap & IEEE80211_HTCAP_SHORTGI40) series[i].RateFlags |= HAL_RATESERIES_HALFGI; - /* XXX should this check the short preamble value should be set for legacy rates? -adrian */ - series[i].Rate = txrate; + series[i].Rate = rt->info[rix[i]].rateCode; + /* the short preamble field is only applicable for non-MCS rates */ + if (shortPreamble && ! (series[i].Rate & IEEE80211_RATE_MCS)) + series[i].Rate |= rt->info[rix[i]].shortPreamble; /* PktDuration doesn't include slot, ACK, RTS, etc timing - it's just the packet duration */ - if (txrate & IEEE80211_RATE_MCS) { + if (series[i].Rate & IEEE80211_RATE_MCS) { series[i].PktDuration = ath_computedur_ht(pktlen - , txrate + , series[i].Rate , ic->ic_txstream , (ni->ni_htcap & IEEE80211_HTCAP_CHWIDTH40) , series[i].RateFlags & HAL_RATESERIES_HALFGI); From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 04:13:37 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 917381065672; Mon, 21 Feb 2011 04:13:37 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 6CD308FC0A; Mon, 21 Feb 2011 04:13:37 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id p1L4DawE057589; Sun, 20 Feb 2011 20:13:36 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id p1L4Danb057588; Sun, 20 Feb 2011 20:13:36 -0800 (PST) (envelope-from sgk) Date: Sun, 20 Feb 2011 20:13:36 -0800 From: Steve Kargl To: Kostik Belousov Message-ID: <20110221041336.GA57571@troutmask.apl.washington.edu> References: <201102182054.p1IKsDMx071986@svn.freebsd.org> <20110220220144.GA56015@troutmask.apl.washington.edu> <20110220220940.GP78089@deviant.kiev.zoral.com.ua> <20110220221959.GA56100@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110220221959.GA56100@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Dimitry Andric Subject: Re: svn commit: r218822 - in head: . contrib/binutils contrib/binutils/bfd contrib/binutils/bfd/doc contrib/binutils/bfd/po contrib/binutils/binutils contrib/binutils/binutils/doc contrib/binutils/binu... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 04:13:37 -0000 On Sun, Feb 20, 2011 at 02:19:59PM -0800, Steve Kargl wrote: > On Mon, Feb 21, 2011 at 12:09:40AM +0200, Kostik Belousov wrote: > > On Sun, Feb 20, 2011 at 02:01:44PM -0800, Steve Kargl wrote: > > > > > > laptop:kargl[205] ~/work/bin/gfortran -o z a.f > > > /usr/bin/ld: error in /usr/home/kargl/work/lib/gcc/i386-unknown-freebsd9.0/4.6.0/crtend.o(.eh_frame); no .eh_frame_hdr table will be created. > > > > > > > > > Unfortunately, one can no longer run the GCC testsuite because > > > the testsuite is not expecting the /usr/bin/ld message. > > > > > > So, is there an patch that needs to been sent upstream to GCC > > > to fix crtend.o? Or. can you fix /usr/bin/ld to not emit this > > > seemingly harmless message? > > I suspect this is the same issue as was fixed by r209294 in FreeBSD > > svn repo. Most likely, similar approach would help gcc. > > Thanks for the pointer to r209294. I'll see if I can fix > gcc and submit a patch. > I have a patch that I'll submit to GCC. -- Steve From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 05:10:34 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C837910656D3; Mon, 21 Feb 2011 05:10:34 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B5A178FC34; Mon, 21 Feb 2011 05:10:34 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1L5AYs2057590; Mon, 21 Feb 2011 05:10:34 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1L5AYXA057588; Mon, 21 Feb 2011 05:10:34 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201102210510.p1L5AYXA057588@svn.freebsd.org> From: Adrian Chadd Date: Mon, 21 Feb 2011 05:10:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218908 - head/sys/dev/ath/ath_hal/ar5416 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 05:10:35 -0000 Author: adrian Date: Mon Feb 21 05:10:34 2011 New Revision: 218908 URL: http://svn.freebsd.org/changeset/base/218908 Log: Modify the AR5416 11na rate table to use 24mb OFDM 11a for control traffic, rather than MCS 0. Using MCS0 for protecting 11a rates seems a bit silly. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_phy.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_phy.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar5416/ar5416_phy.c Mon Feb 21 03:52:51 2011 (r218907) +++ head/sys/dev/ath/ath_hal/ar5416/ar5416_phy.c Mon Feb 21 05:10:34 2011 (r218908) @@ -77,25 +77,25 @@ static HAL_RATE_TABLE ar5416_11na_table /* 12 Mb */ { AH_TRUE, OFDM, 12000, 0x0a, 0x00, (0x80|24), 2 }, /* 18 Mb */ { AH_TRUE, OFDM, 18000, 0x0e, 0x00, 36, 2 }, /* 24 Mb */ { AH_TRUE, OFDM, 24000, 0x09, 0x00, (0x80|48), 4 }, -/* 36 Mb */ { AH_TRUE, OFDM, 36000, 0x0d, 0x00, 72, 8 }, -/* 48 Mb */ { AH_TRUE, OFDM, 48000, 0x08, 0x00, 96, 8 }, -/* 54 Mb */ { AH_TRUE, OFDM, 54000, 0x0c, 0x00, 108, 8 }, -/* 6.5 Mb */ { AH_TRUE, HT, 6500, 0x80, 0x00, 0, 8 }, -/* 13 Mb */ { AH_TRUE, HT, 13000, 0x81, 0x00, 1, 8 }, -/*19.5 Mb */ { AH_TRUE, HT, 19500, 0x82, 0x00, 2, 8 }, -/* 26 Mb */ { AH_TRUE, HT, 26000, 0x83, 0x00, 3, 8 }, -/* 39 Mb */ { AH_TRUE, HT, 39000, 0x84, 0x00, 4, 8 }, -/* 52 Mb */ { AH_TRUE, HT, 52000, 0x85, 0x00, 5, 8 }, -/*58.5 Mb */ { AH_TRUE, HT, 58500, 0x86, 0x00, 6, 8 }, -/* 65 Mb */ { AH_TRUE, HT, 65000, 0x87, 0x00, 7, 8 }, -/* 13 Mb */ { AH_TRUE, HT, 13000, 0x88, 0x00, 8, 8 }, -/* 26 Mb */ { AH_TRUE, HT, 26000, 0x89, 0x00, 9, 8 }, -/* 39 Mb */ { AH_TRUE, HT, 39000, 0x8a, 0x00, 10, 8 }, -/* 52 Mb */ { AH_TRUE, HT, 52000, 0x8b, 0x00, 11, 8 }, -/* 78 Mb */ { AH_TRUE, HT, 78000, 0x8c, 0x00, 12, 8 }, -/* 104 Mb */ { AH_TRUE, HT, 104000, 0x8d, 0x00, 13, 8 }, -/* 117 Mb */ { AH_TRUE, HT, 117000, 0x8e, 0x00, 14, 8 }, -/* 130 Mb */ { AH_TRUE, HT, 130000, 0x8f, 0x00, 15, 8 }, +/* 36 Mb */ { AH_TRUE, OFDM, 36000, 0x0d, 0x00, 72, 4 }, +/* 48 Mb */ { AH_TRUE, OFDM, 48000, 0x08, 0x00, 96, 4 }, +/* 54 Mb */ { AH_TRUE, OFDM, 54000, 0x0c, 0x00, 108, 4 }, +/* 6.5 Mb */ { AH_TRUE, HT, 6500, 0x80, 0x00, 0, 4 }, +/* 13 Mb */ { AH_TRUE, HT, 13000, 0x81, 0x00, 1, 4 }, +/*19.5 Mb */ { AH_TRUE, HT, 19500, 0x82, 0x00, 2, 4 }, +/* 26 Mb */ { AH_TRUE, HT, 26000, 0x83, 0x00, 3, 4 }, +/* 39 Mb */ { AH_TRUE, HT, 39000, 0x84, 0x00, 4, 4 }, +/* 52 Mb */ { AH_TRUE, HT, 52000, 0x85, 0x00, 5, 4 }, +/*58.5 Mb */ { AH_TRUE, HT, 58500, 0x86, 0x00, 6, 4 }, +/* 65 Mb */ { AH_TRUE, HT, 65000, 0x87, 0x00, 7, 4 }, +/* 13 Mb */ { AH_TRUE, HT, 13000, 0x88, 0x00, 8, 4 }, +/* 26 Mb */ { AH_TRUE, HT, 26000, 0x89, 0x00, 9, 4 }, +/* 39 Mb */ { AH_TRUE, HT, 39000, 0x8a, 0x00, 10, 4 }, +/* 52 Mb */ { AH_TRUE, HT, 52000, 0x8b, 0x00, 11, 4 }, +/* 78 Mb */ { AH_TRUE, HT, 78000, 0x8c, 0x00, 12, 4 }, +/* 104 Mb */ { AH_TRUE, HT, 104000, 0x8d, 0x00, 13, 4 }, +/* 117 Mb */ { AH_TRUE, HT, 117000, 0x8e, 0x00, 14, 4 }, +/* 130 Mb */ { AH_TRUE, HT, 130000, 0x8f, 0x00, 15, 4 }, }, }; From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 08:58:39 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35EF5106564A; Mon, 21 Feb 2011 08:58:39 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from smtp.zeninc.net (smtp.zeninc.net [80.67.176.25]) by mx1.freebsd.org (Postfix) with ESMTP id A4F108FC0A; Mon, 21 Feb 2011 08:58:38 +0000 (UTC) Received: from astro.zen.inc (astro.zen.inc [192.168.1.239]) by smtp.zeninc.net (smtpd) with ESMTP id 13CB22798BC; Mon, 21 Feb 2011 09:40:26 +0100 (CET) Received: by astro.zen.inc (Postfix, from userid 1000) id 00A7217059; Mon, 21 Feb 2011 09:40:25 +0100 (CET) Date: Mon, 21 Feb 2011 09:40:25 +0100 From: VANHULLEBUS Yvan To: Pawel Jakub Dawidek Message-ID: <20110221084025.GA14934@zeninc.net> References: <201102180940.p1I9eD29050530@svn.freebsd.org> <20110219073412.GC2016@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110219073412.GC2016@garage.freebsd.pl> User-Agent: All mail clients suck. This one just sucks less. Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218794 - in head: . sys/netipsec X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 08:58:39 -0000 Hi. On Sat, Feb 19, 2011 at 08:34:12AM +0100, Pawel Jakub Dawidek wrote: > On Fri, Feb 18, 2011 at 09:40:13AM +0000, VANHULLEBUS Yvan wrote: > > Author: vanhu > > Date: Fri Feb 18 09:40:13 2011 > > New Revision: 218794 > > URL: http://svn.freebsd.org/changeset/base/218794 > > > > Log: > > Fixed IPsec's HMAC_SHA256-512 support to be RFC4868 compliant. > > This will break interoperability with all older versions of > > FreeBSD for those algorithms. > > > > Reviewed by: bz, gnn > > Obtained from: NETASQ > > MFC after: 1w > > First of all, I can't see such a change being merged to stable, where > going from 8.2 to 8.3 will break IPsec tunnels. No. It will break IPsec tunnels *which use HMAC_SHA2 for hash in phase2*. In the real world, we are still at the level where we're trying to make people understand that using an hash algorithm in phase2 is important. I just don't know if some people use actually HMAC_SHA2 for phase2, those who does really care about security and do really want HMAC_SHA2 will upgrade both peers, the others (including people that do know that HMAC_SHA1 is *not* as weak as SHA1 starts to be) will just have to switch back to HMAC_SHA1 until peer does support RFC4868. > Second of all I really think that an UPDATING entry is not enough. > We should at least provide sysctl to change it back I sent a mail on freebsd-net@ at the beginning of january, to ask some feedback from users, and got NO response at all. So I considered implementing such a sysctl would be just time waste. And it is also a quite bad solution, as it does not solves situations where you want to do IPsec using HMAC_SHA2 with two peers, one which is RFC4868 compliant, and the other which uses the old round-96 bits draft for it's implementation.... > and if we can detect > this based on packet size, Afaik, you can't. Well, of course, you can still try both RFC4868 and round96 bits hashs, and consider that the packet is valid if one of the checks is good.... Feel free to send me your benchmarks results if you do such an implementation... But what will you do if you have to send the first packet in the tunnel ? > it would be best to log a warning that the > other side is using old implementation and it (the other side) should be > either upgraded or this sysctl should be changed locally to enable old > behaviour. As said upper, afaik, you just can't detect such things without wasting LOTS of CPU cycles.... > I'm happy to remove such sysctl after one full major release, > so we won't support tunnels between FreeBSD 8 and FreeBSD 10, but we > should IMHO definitely support tunnels between both 8-9 and 9-10. The only thing you may do is to include again the old code and put some #ifdef RFC4868_SUPPORT / #else / #endif in kernel code, or set up a global sysctl (which will be quite intrusive for such a small patchset) so people will be able to decide if they want their whole IPsec stack to be RFC4868 or draft-round96 compliant.... But once again, this will NOT solve issues with multiple peers, and once again, the "simple" solution when you can't upgrade both peers is to switch back to HMAC_SHA1, which is actually really strong enough, and which is NOT affected by this patch. Yvan. From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 09:01:36 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E437106566B; Mon, 21 Feb 2011 09:01:36 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 282F88FC2B; Mon, 21 Feb 2011 09:01:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1L91avu063259; Mon, 21 Feb 2011 09:01:36 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1L91YoI063173; Mon, 21 Feb 2011 09:01:34 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102210901.p1L91YoI063173@svn.freebsd.org> From: Bruce Cran Date: Mon, 21 Feb 2011 09:01:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218909 - in head: bin/df bin/sh lib/libc/arm/gen lib/libc/ia64/gen lib/libc/mips/gen lib/libc/powerpc/gen lib/libc/powerpc64/gen lib/libpkg lib/libstand lib/msun/src sys/amd64/amd64 sy... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 09:01:36 -0000 Author: brucec Date: Mon Feb 21 09:01:34 2011 New Revision: 218909 URL: http://svn.freebsd.org/changeset/base/218909 Log: Fix typos - remove duplicate "the". PR: bin/154928 Submitted by: Eitan Adler MFC after: 3 days Modified: head/bin/df/df.c head/bin/sh/expand.c head/lib/libc/arm/gen/modf.c head/lib/libc/ia64/gen/modf.c head/lib/libc/mips/gen/modf.c head/lib/libc/powerpc/gen/modf.c head/lib/libc/powerpc64/gen/modf.c head/lib/libpkg/version.c head/lib/libstand/environment.c head/lib/msun/src/s_cbrt.c head/sys/amd64/amd64/trap.c head/sys/arm/xscale/i80321/iq80321.c head/sys/boot/ficl/words.c head/sys/cam/cam_xpt.c head/sys/cam/scsi/scsi_sa.c head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c head/sys/cddl/dev/dtrace/i386/dtrace_subr.c head/sys/compat/ndis/subr_ntoskrnl.c head/sys/dev/advansys/adwcam.c head/sys/dev/aic7xxx/aic79xx_osm.h head/sys/dev/aic7xxx/aic7xxx_osm.h head/sys/dev/asr/i2omsg.h head/sys/dev/bktr/bktr_card.c head/sys/dev/ctau/ctau.c head/sys/dev/ctau/ctddk.h head/sys/dev/cxgb/cxgb_main.c head/sys/dev/drm/mach64_dma.c head/sys/dev/drm/r300_reg.h head/sys/dev/e1000/e1000_82575.c head/sys/dev/e1000/e1000_ich8lan.c head/sys/dev/ep/if_epreg.h head/sys/dev/fdc/fdc.c head/sys/dev/ixgb/ixgb_ee.c head/sys/dev/malo/if_malohal.h head/sys/dev/mwl/mwlhal.h head/sys/dev/nxge/xgehal/xgehal-device.c head/sys/dev/nxge/xgehal/xgehal-ring-fp.c head/sys/dev/random/randomdev_soft.c head/sys/dev/sound/pci/es137x.c head/sys/dev/sym/sym_fw1.h head/sys/dev/sym/sym_fw2.h head/sys/dev/uart/uart_dev_ns8250.c head/sys/dev/usb/usb_process.c head/sys/dev/vx/if_vxreg.h head/sys/dev/wpi/if_wpi.c head/sys/fs/fdescfs/fdesc_vnops.c head/sys/fs/msdosfs/msdosfs_vnops.c head/sys/geom/geom_vfs.c head/sys/geom/part/g_part_ebr.c head/sys/geom/sched/gs_scheduler.h head/sys/gnu/fs/xfs/xfs_dir_leaf.c head/sys/gnu/fs/xfs/xfs_itable.c head/sys/i386/i386/trap.c head/sys/kern/subr_unit.c head/sys/kern/subr_witness.c head/sys/kern/uipc_mbuf.c head/sys/mips/mips/pmap.c head/sys/mips/rmi/fmn.c head/sys/mips/sibyte/sb_zbpci.c head/sys/net/if_media.c head/sys/net/route.c head/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c head/sys/netgraph/ng_source.c head/sys/netinet/if_ether.c head/sys/netinet/ip_input.c head/sys/netinet/ipfw/ip_fw_private.h head/sys/netinet/libalias/alias_sctp.c head/sys/netinet/tcp_offload.h head/sys/netinet/tcp_subr.c head/sys/netinet/tcp_syncache.c head/sys/netinet/tcp_timewait.c head/sys/netinet6/in6.h head/sys/pc98/cbus/fdc.c head/sys/sparc64/include/iommureg.h head/sys/sparc64/pci/sbbc.c head/sys/sparc64/sparc64/trap.c head/sys/sys/aac_ioctl.h head/usr.bin/lex/misc.c head/usr.bin/m4/gnum4.c head/usr.bin/make/lst.c head/usr.bin/rpcinfo/rpcinfo.c head/usr.bin/xinstall/xinstall.c head/usr.sbin/moused/moused.c head/usr.sbin/rpcbind/util.c head/usr.sbin/sysinstall/install.c Modified: head/bin/df/df.c ============================================================================== --- head/bin/df/df.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/bin/df/df.c Mon Feb 21 09:01:34 2011 (r218909) @@ -125,7 +125,7 @@ main(int argc, char *argv[]) /* FALLTHROUGH */ case 'P': /* - * POSIX specifically discusses the the behavior of + * POSIX specifically discusses the behavior of * both -k and -P. It states that the blocksize should * be set to 1024. Thus, if this occurs, simply break * rather than clobbering the old blocksize. Modified: head/bin/sh/expand.c ============================================================================== --- head/bin/sh/expand.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/bin/sh/expand.c Mon Feb 21 09:01:34 2011 (r218909) @@ -959,7 +959,7 @@ numvar: /* - * Record the the fact that we have to scan this region of the + * Record the fact that we have to scan this region of the * string for IFS characters. */ Modified: head/lib/libc/arm/gen/modf.c ============================================================================== --- head/lib/libc/arm/gen/modf.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/lib/libc/arm/gen/modf.c Mon Feb 21 09:01:34 2011 (r218909) @@ -86,7 +86,7 @@ modf(val, iptr) * If you look at the math involved for a few seconds, it's * plain to see that the integral part is the input, with the * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, - * the the fractional part is the part with the rest of the + * the fractional part is the part with the rest of the * bits zeroed. Just zeroing the high bits to get the * fractional part would yield a fraction in need of * normalization. Therefore, we take the easy way out, and Modified: head/lib/libc/ia64/gen/modf.c ============================================================================== --- head/lib/libc/ia64/gen/modf.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/lib/libc/ia64/gen/modf.c Mon Feb 21 09:01:34 2011 (r218909) @@ -85,7 +85,7 @@ modf(val, iptr) * If you look at the math involved for a few seconds, it's * plain to see that the integral part is the input, with the * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, - * the the fractional part is the part with the rest of the + * the fractional part is the part with the rest of the * bits zeroed. Just zeroing the high bits to get the * fractional part would yield a fraction in need of * normalization. Therefore, we take the easy way out, and Modified: head/lib/libc/mips/gen/modf.c ============================================================================== --- head/lib/libc/mips/gen/modf.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/lib/libc/mips/gen/modf.c Mon Feb 21 09:01:34 2011 (r218909) @@ -86,7 +86,7 @@ modf(val, iptr) * If you look at the math involved for a few seconds, it's * plain to see that the integral part is the input, with the * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, - * the the fractional part is the part with the rest of the + * the fractional part is the part with the rest of the * bits zeroed. Just zeroing the high bits to get the * fractional part would yield a fraction in need of * normalization. Therefore, we take the easy way out, and Modified: head/lib/libc/powerpc/gen/modf.c ============================================================================== --- head/lib/libc/powerpc/gen/modf.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/lib/libc/powerpc/gen/modf.c Mon Feb 21 09:01:34 2011 (r218909) @@ -86,7 +86,7 @@ modf(val, iptr) * If you look at the math involved for a few seconds, it's * plain to see that the integral part is the input, with the * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, - * the the fractional part is the part with the rest of the + * the fractional part is the part with the rest of the * bits zeroed. Just zeroing the high bits to get the * fractional part would yield a fraction in need of * normalization. Therefore, we take the easy way out, and Modified: head/lib/libc/powerpc64/gen/modf.c ============================================================================== --- head/lib/libc/powerpc64/gen/modf.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/lib/libc/powerpc64/gen/modf.c Mon Feb 21 09:01:34 2011 (r218909) @@ -86,7 +86,7 @@ modf(val, iptr) * If you look at the math involved for a few seconds, it's * plain to see that the integral part is the input, with the * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, - * the the fractional part is the part with the rest of the + * the fractional part is the part with the rest of the * bits zeroed. Just zeroing the high bits to get the * fractional part would yield a fraction in need of * normalization. Therefore, we take the easy way out, and Modified: head/lib/libpkg/version.c ============================================================================== --- head/lib/libpkg/version.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/lib/libpkg/version.c Mon Feb 21 09:01:34 2011 (r218909) @@ -76,7 +76,7 @@ split_version(const char *pkgname, const if (pkgname == NULL) errx(2, "%s: Passed NULL pkgname.", __func__); - /* Look for the last '-' the the pkgname */ + /* Look for the last '-' the pkgname */ ch = strrchr(pkgname, '-'); /* Cheat if we are just passed a version, not a valid package name */ versionstr = ch ? ch + 1 : pkgname; Modified: head/lib/libstand/environment.c ============================================================================== --- head/lib/libstand/environment.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/lib/libstand/environment.c Mon Feb 21 09:01:34 2011 (r218909) @@ -59,7 +59,7 @@ env_getenv(const char *name) * Some notes: * * If the EV_VOLATILE flag is set, a copy of the variable is made. - * If EV_DYNAMIC is set, the the variable has been allocated with + * If EV_DYNAMIC is set, the variable has been allocated with * malloc and ownership transferred to the environment. * If (value) is NULL, the variable is set but has no value. */ Modified: head/lib/msun/src/s_cbrt.c ============================================================================== --- head/lib/msun/src/s_cbrt.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/lib/msun/src/s_cbrt.c Mon Feb 21 09:01:34 2011 (r218909) @@ -94,7 +94,7 @@ cbrt(double x) * 2 23-bit ulps larger). With rounding towards zero, the error bound * would be ~5/6 instead of ~4/6. With a maximum error of 2 23-bit ulps * in the rounded t, the infinite-precision error in the Newton - * approximation barely affects third digit in the the final error + * approximation barely affects third digit in the final error * 0.667; the error in the rounded t can be up to about 3 23-bit ulps * before the final error is larger than 0.667 ulps. */ Modified: head/sys/amd64/amd64/trap.c ============================================================================== --- head/sys/amd64/amd64/trap.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/amd64/amd64/trap.c Mon Feb 21 09:01:34 2011 (r218909) @@ -235,7 +235,7 @@ trap(struct trapframe *frame) * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * If the DTrace kernel module has registered a trap handler, Modified: head/sys/arm/xscale/i80321/iq80321.c ============================================================================== --- head/sys/arm/xscale/i80321/iq80321.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/arm/xscale/i80321/iq80321.c Mon Feb 21 09:01:34 2011 (r218909) @@ -139,7 +139,7 @@ iq80321_attach(device_t dev) device_get_name(dev)); /* - * We have mapped the the PCI I/O windows in the early + * We have mapped the PCI I/O windows in the early * bootstrap phase. */ sc->sc_iow_vaddr = IQ80321_IOW_VBASE; Modified: head/sys/boot/ficl/words.c ============================================================================== --- head/sys/boot/ficl/words.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/boot/ficl/words.c Mon Feb 21 09:01:34 2011 (r218909) @@ -1293,7 +1293,7 @@ static void ifCoIm(FICL_VM *pVM) ** compiles an "else"... ** 1) Compile a branch and a patch address; the address gets patched ** by "endif" to point past the "else" code. -** 2) Pop the the "if" patch address +** 2) Pop the "if" patch address ** 3) Patch the "if" branch to point to the current compile address. ** 4) Push the "else" patch address. ("endif" patches this to jump past ** the "else" code. Modified: head/sys/cam/cam_xpt.c ============================================================================== --- head/sys/cam/cam_xpt.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/cam/cam_xpt.c Mon Feb 21 09:01:34 2011 (r218909) @@ -317,7 +317,7 @@ xpt_schedule_dev_allocq(struct cam_eb *b CAMQ_GET_PRIO(&dev->drvq))) == 0)) { /* * The priority of a device waiting for CCB resources - * is that of the the highest priority peripheral driver + * is that of the highest priority peripheral driver * enqueued. */ retval = xpt_schedule_dev(&bus->sim->devq->alloc_queue, @@ -340,7 +340,7 @@ xpt_schedule_dev_sendq(struct cam_eb *bu (cam_ccbq_frozen_top(&dev->ccbq) == 0)) { /* * The priority of a device waiting for controller - * resources is that of the the highest priority CCB + * resources is that of the highest priority CCB * enqueued. */ retval = Modified: head/sys/cam/scsi/scsi_sa.c ============================================================================== --- head/sys/cam/scsi/scsi_sa.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/cam/scsi/scsi_sa.c Mon Feb 21 09:01:34 2011 (r218909) @@ -2654,7 +2654,7 @@ retry: struct scsi_dev_conf_page *cp = &ntcs->dconf; /* * We don't really know whether this device supports - * Data Compression if the the algorithm field is + * Data Compression if the algorithm field is * zero. Just say we do. */ *comp_supported = TRUE; Modified: head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c ============================================================================== --- head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c Mon Feb 21 09:01:34 2011 (r218909) @@ -487,7 +487,7 @@ dtrace_trap(struct trapframe *frame, u_i * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * Check if DTrace has enabled 'no-fault' mode: Modified: head/sys/cddl/dev/dtrace/i386/dtrace_subr.c ============================================================================== --- head/sys/cddl/dev/dtrace/i386/dtrace_subr.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/cddl/dev/dtrace/i386/dtrace_subr.c Mon Feb 21 09:01:34 2011 (r218909) @@ -487,7 +487,7 @@ dtrace_trap(struct trapframe *frame, u_i * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * Check if DTrace has enabled 'no-fault' mode: Modified: head/sys/compat/ndis/subr_ntoskrnl.c ============================================================================== --- head/sys/compat/ndis/subr_ntoskrnl.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/compat/ndis/subr_ntoskrnl.c Mon Feb 21 09:01:34 2011 (r218909) @@ -3355,7 +3355,7 @@ KeSetEvent(nt_kevent *kevent, uint32_t i * setting the state to signalled since we're supposed * to automatically clear synchronization events anyway). * - * If it's a notification event, or the the first + * If it's a notification event, or the first * waiter is doing a WAITTYPE_ALL wait, go through * the full wait satisfaction process. */ Modified: head/sys/dev/advansys/adwcam.c ============================================================================== --- head/sys/dev/advansys/adwcam.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/advansys/adwcam.c Mon Feb 21 09:01:34 2011 (r218909) @@ -1,5 +1,5 @@ /*- - * CAM SCSI interface for the the Advanced Systems Inc. + * CAM SCSI interface for the Advanced Systems Inc. * Second Generation SCSI controllers. * * Product specific probe and attach routines can be found in: Modified: head/sys/dev/aic7xxx/aic79xx_osm.h ============================================================================== --- head/sys/dev/aic7xxx/aic79xx_osm.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/aic7xxx/aic79xx_osm.h Mon Feb 21 09:01:34 2011 (r218909) @@ -103,7 +103,7 @@ * The number of dma segments supported. The sequencer can handle any number * of physically contiguous S/G entrys. To reduce the driver's memory * consumption, we limit the number supported to be sufficient to handle - * the largest mapping supported by the the legacy kernel MAXPHYS setting of + * the largest mapping supported by the legacy kernel MAXPHYS setting of * 128K. This can be increased once some testing is done. Assuming the * transfer is as fragmented as possible and unaligned, this turns out to * be the number of paged sized transfers in MAXPHYS plus an extra element Modified: head/sys/dev/aic7xxx/aic7xxx_osm.h ============================================================================== --- head/sys/dev/aic7xxx/aic7xxx_osm.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/aic7xxx/aic7xxx_osm.h Mon Feb 21 09:01:34 2011 (r218909) @@ -115,7 +115,7 @@ extern devclass_t ahc_devclass; * The number of dma segments supported. The sequencer can handle any number * of physically contiguous S/G entrys. To reduce the driver's memory * consumption, we limit the number supported to be sufficient to handle - * the largest mapping supported by the the legacy kernel MAXPHYS setting of + * the largest mapping supported by the legacy kernel MAXPHYS setting of * 128K. This can be increased once some testing is done. Assuming the * be the number of paged sized transfers in MAXPHYS plus an extra element * to handle any unaligned residual. The sequencer fetches SG elements Modified: head/sys/dev/asr/i2omsg.h ============================================================================== --- head/sys/dev/asr/i2omsg.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/asr/i2omsg.h Mon Feb 21 09:01:34 2011 (r218909) @@ -183,7 +183,7 @@ PRAGMA_PACK_PUSH #define I2O_VERSION_OFFSET_SGL_TRL_OFFSET_MASK 0xF0 /* Defines for the Message Flags Field. */ -/* Please Note the the FAIL bit is only set in the Transport Fail Message. */ +/* Please Note the FAIL bit is only set in the Transport Fail Message. */ #define I2O_MESSAGE_FLAGS_STATIC 0x01 #define I2O_MESSAGE_FLAGS_64BIT_CONTEXT 0x02 #define I2O_MESSAGE_FLAGS_MULTIPLE 0x10 Modified: head/sys/dev/bktr/bktr_card.c ============================================================================== --- head/sys/dev/bktr/bktr_card.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/bktr/bktr_card.c Mon Feb 21 09:01:34 2011 (r218909) @@ -570,7 +570,7 @@ static int locate_eeprom_address( bktr_p * * However some makes of card (eg Hauppauge) come with a configuration eeprom * which tells us the make of the card. Most eeproms also tell us the - * tuner type and other features of the the cards. + * tuner type and other features of the cards. * * The current probe code works as follows * A) If the card uses a Bt878/879: Modified: head/sys/dev/ctau/ctau.c ============================================================================== --- head/sys/dev/ctau/ctau.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/ctau/ctau.c Mon Feb 21 09:01:34 2011 (r218909) @@ -1734,7 +1734,7 @@ ct_board_opt_t ct_board_opt_dflt = { 0, /* board control register 2 */ { /* DMA priority control register */ PCR_PRIO_ROTATE, - 0, /* all channels share the the bus hold */ + 0, /* all channels share the bus hold */ 0, /* hold the bus until all transfers done */ }, CFG_A, /* E1/G.703 config: two independent channels */ Modified: head/sys/dev/ctau/ctddk.h ============================================================================== --- head/sys/dev/ctau/ctddk.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/ctau/ctddk.h Mon Feb 21 09:01:34 2011 (r218909) @@ -206,7 +206,7 @@ typedef struct { typedef struct { unsigned prio : 3; /* priority of channels */ unsigned noshare : 1; /* 1 - chan holds the bus until end of data */ - /* 0 - all channels share the the bus hold */ + /* 0 - all channels share the bus hold */ unsigned release : 1; /* 1 - release the bus between transfers */ /* 0 - hold the bus until all transfers done */ } ct_pcr_t; Modified: head/sys/dev/cxgb/cxgb_main.c ============================================================================== --- head/sys/dev/cxgb/cxgb_main.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/cxgb/cxgb_main.c Mon Feb 21 09:01:34 2011 (r218909) @@ -1908,7 +1908,7 @@ cxgb_uninit_synchronized(struct port_inf /* * Clear this port's bit from the open device map, and then drain all * the tasks that can access/manipulate this port's port_info or ifp. - * We disable this port's interrupts here and so the the slow/ext + * We disable this port's interrupts here and so the slow/ext * interrupt tasks won't be enqueued. The tick task will continue to * be enqueued every second but the runs after this drain will not see * this port in the open device map. @@ -2858,7 +2858,7 @@ cxgb_extension_ioctl(struct cdev *dev, u u64 buf[32]; /* - * Use these to avoid modifying len/addr in the the return + * Use these to avoid modifying len/addr in the return * struct */ uint32_t len = t->len, addr = t->addr; Modified: head/sys/dev/drm/mach64_dma.c ============================================================================== --- head/sys/dev/drm/mach64_dma.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/drm/mach64_dma.c Mon Feb 21 09:01:34 2011 (r218909) @@ -173,7 +173,7 @@ static int mach64_ring_idle(drm_mach64_p } /** - * Reset the the ring buffer descriptors. + * Reset the ring buffer descriptors. * * \sa mach64_do_engine_reset() */ Modified: head/sys/dev/drm/r300_reg.h ============================================================================== --- head/sys/dev/drm/r300_reg.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/drm/r300_reg.h Mon Feb 21 09:01:34 2011 (r218909) @@ -353,7 +353,7 @@ __FBSDID("$FreeBSD$"); # define R300_PVS_CNTL_1_PROGRAM_START_SHIFT 0 # define R300_PVS_CNTL_1_POS_END_SHIFT 10 # define R300_PVS_CNTL_1_PROGRAM_END_SHIFT 20 -/* Addresses are relative the the vertex program parameters area. */ +/* Addresses are relative the vertex program parameters area. */ #define R300_VAP_PVS_CNTL_2 0x22D4 # define R300_PVS_CNTL_2_PARAM_OFFSET_SHIFT 0 # define R300_PVS_CNTL_2_PARAM_COUNT_SHIFT 16 Modified: head/sys/dev/e1000/e1000_82575.c ============================================================================== --- head/sys/dev/e1000/e1000_82575.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/e1000/e1000_82575.c Mon Feb 21 09:01:34 2011 (r218909) @@ -1986,7 +1986,7 @@ out: * e1000_reset_mdicnfg_82580 - Reset MDICNFG destination and com_mdio bits * @hw: pointer to the HW structure * - * This resets the the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on + * This resets the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on * the values found in the EEPROM. This addresses an issue in which these * bits are not restored from EEPROM after reset. **/ Modified: head/sys/dev/e1000/e1000_ich8lan.c ============================================================================== --- head/sys/dev/e1000/e1000_ich8lan.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/e1000/e1000_ich8lan.c Mon Feb 21 09:01:34 2011 (r218909) @@ -3218,7 +3218,7 @@ out: * @hw: pointer to the HW structure * * ICH8 use the PCI Express bus, but does not contain a PCI Express Capability - * register, so the the bus width is hard coded. + * register, so the bus width is hard coded. **/ static s32 e1000_get_bus_info_ich8lan(struct e1000_hw *hw) { Modified: head/sys/dev/ep/if_epreg.h ============================================================================== --- head/sys/dev/ep/if_epreg.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/ep/if_epreg.h Mon Feb 21 09:01:34 2011 (r218909) @@ -113,7 +113,7 @@ /************************************************************************** * * * These are the registers for the 3Com 3c509 and their bit patterns when * - * applicable. They have been taken out the the "EtherLink III Parallel * + * applicable. They have been taken out the "EtherLink III Parallel * * Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual * * from 3com. * * * Modified: head/sys/dev/fdc/fdc.c ============================================================================== --- head/sys/dev/fdc/fdc.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/fdc/fdc.c Mon Feb 21 09:01:34 2011 (r218909) @@ -1261,7 +1261,7 @@ fdmisccmd(struct fd_data *fd, u_int cmd, /* * Set up a bio request for fdstrategy(). bio_offset is faked - * so that fdstrategy() will seek to the the requested + * so that fdstrategy() will seek to the requested * cylinder, and use the desired head. */ bp->bio_cmd = cmd; Modified: head/sys/dev/ixgb/ixgb_ee.c ============================================================================== --- head/sys/dev/ixgb/ixgb_ee.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/ixgb/ixgb_ee.c Mon Feb 21 09:01:34 2011 (r218909) @@ -325,7 +325,7 @@ ixgb_wait_eeprom_command(struct ixgb_hw * hw - Struct containing variables accessed by shared code * * Reads the first 64 16 bit words of the EEPROM and sums the values read. - * If the the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is + * If the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is * valid. * * Returns: Modified: head/sys/dev/malo/if_malohal.h ============================================================================== --- head/sys/dev/malo/if_malohal.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/malo/if_malohal.h Mon Feb 21 09:01:34 2011 (r218909) @@ -133,7 +133,7 @@ struct malo_hal_hwstats { /* * Set Antenna Configuration (legacy operation). * - * The RX antenna can be selected using the the bitmask + * The RX antenna can be selected using the bitmask * ant (bit 0 = antenna 1, bit 1 = antenna 2, etc.) * (diversity?XXX) */ Modified: head/sys/dev/mwl/mwlhal.h ============================================================================== --- head/sys/dev/mwl/mwlhal.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/mwl/mwlhal.h Mon Feb 21 09:01:34 2011 (r218909) @@ -291,7 +291,7 @@ int mwl_hal_setradio(struct mwl_hal *mh, /* * Set Antenna Configuration (legacy operation). * - * The RX antenna can be selected using the the bitmask + * The RX antenna can be selected using the bitmask * ant (bit 0 = antenna 1, bit 1 = antenna 2, etc.) * (diversity?XXX) */ Modified: head/sys/dev/nxge/xgehal/xgehal-device.c ============================================================================== --- head/sys/dev/nxge/xgehal/xgehal-device.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/nxge/xgehal/xgehal-device.c Mon Feb 21 09:01:34 2011 (r218909) @@ -4418,7 +4418,7 @@ xge_hal_device_status(xge_hal_device_t * #ifndef XGE_HAL_HERC_EMULATION /* * Andrew: in PCI 33 mode, the P_PLL is not used, and therefore, - * the the P_PLL_LOCK bit in the adapter_status register will + * the P_PLL_LOCK bit in the adapter_status register will * not be asserted. */ if (!(tmp64 & XGE_HAL_ADAPTER_STATUS_P_PLL_LOCK) && Modified: head/sys/dev/nxge/xgehal/xgehal-ring-fp.c ============================================================================== --- head/sys/dev/nxge/xgehal/xgehal-ring-fp.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/nxge/xgehal/xgehal-ring-fp.c Mon Feb 21 09:01:34 2011 (r218909) @@ -801,7 +801,7 @@ xge_hal_ring_dtr_free(xge_hal_channel_h * xge_hal_ring_is_next_dtr_completed - Check if the next dtr is completed * @channelh: Channel handle. * - * Checks if the the _next_ completed descriptor is in host memory + * Checks if the _next_ completed descriptor is in host memory * * Returns: XGE_HAL_OK - success. * XGE_HAL_INF_NO_MORE_COMPLETED_DESCRIPTORS - No completed descriptors Modified: head/sys/dev/random/randomdev_soft.c ============================================================================== --- head/sys/dev/random/randomdev_soft.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/random/randomdev_soft.c Mon Feb 21 09:01:34 2011 (r218909) @@ -347,7 +347,7 @@ random_yarrow_write(void *buf, int count /* * Break the input up into HARVESTSIZE chunks. The writer has too - * much control here, so "estimate" the the entropy as zero. + * much control here, so "estimate" the entropy as zero. */ for (i = 0; i < count; i += HARVESTSIZE) { chunk = HARVESTSIZE; Modified: head/sys/dev/sound/pci/es137x.c ============================================================================== --- head/sys/dev/sound/pci/es137x.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/sound/pci/es137x.c Mon Feb 21 09:01:34 2011 (r218909) @@ -584,7 +584,7 @@ eschan1370_setspeed(kobj_t obj, void *da /* * DAC1 does not support continuous rate settings. * Pick the nearest and use it since FEEDER_RATE will - * do the the proper conversion for us. + * do the proper conversion for us. */ es->ctrl &= ~CTRL_WTSRSEL; if (speed < 8268) { Modified: head/sys/dev/sym/sym_fw1.h ============================================================================== --- head/sys/dev/sym/sym_fw1.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/sym/sym_fw1.h Mon Feb 21 09:01:34 2011 (r218909) @@ -262,7 +262,7 @@ static const struct SYM_FWA_SCR SYM_FWA_ * The below GETJOB_BEGIN to GETJOB_END section of SCRIPTS * is a critical path. If it is partially executed, it then * may happen that the job address is not yet in the DSA - * and the the next queue position points to the next JOB. + * and the next queue position points to the next JOB. */ }/*-------------------------< GETJOB_BEGIN >---------------------*/,{ /* Modified: head/sys/dev/sym/sym_fw2.h ============================================================================== --- head/sys/dev/sym/sym_fw2.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/sym/sym_fw2.h Mon Feb 21 09:01:34 2011 (r218909) @@ -252,7 +252,7 @@ static const struct SYM_FWA_SCR SYM_FWA_ * The below GETJOB_BEGIN to GETJOB_END section of SCRIPTS * is a critical path. If it is partially executed, it then * may happen that the job address is not yet in the DSA - * and the the next queue position points to the next JOB. + * and the next queue position points to the next JOB. */ SCR_LOAD_ABS (dsa, 4), PADDR_B (startpos), Modified: head/sys/dev/uart/uart_dev_ns8250.c ============================================================================== --- head/sys/dev/uart/uart_dev_ns8250.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/uart/uart_dev_ns8250.c Mon Feb 21 09:01:34 2011 (r218909) @@ -693,7 +693,7 @@ ns8250_bus_probe(struct uart_softc *sc) /* * We should have a sufficiently clean "pipe" to determine the * size of the FIFOs. We send as much characters as is reasonable - * and wait for the the overflow bit in the LSR register to be + * and wait for the overflow bit in the LSR register to be * asserted, counting the characters as we send them. Based on * that count we know the FIFO size. */ Modified: head/sys/dev/usb/usb_process.c ============================================================================== --- head/sys/dev/usb/usb_process.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/usb/usb_process.c Mon Feb 21 09:01:34 2011 (r218909) @@ -462,7 +462,7 @@ usb_proc_drain(struct usb_process *up) /*------------------------------------------------------------------------* * usb_proc_rewakeup * - * This function is called to re-wakeup the the given USB + * This function is called to re-wakeup the given USB * process. This usually happens after that the USB system has been in * polling mode, like during a panic. This function must be called * having "up->up_mtx" locked. Modified: head/sys/dev/vx/if_vxreg.h ============================================================================== --- head/sys/dev/vx/if_vxreg.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/vx/if_vxreg.h Mon Feb 21 09:01:34 2011 (r218909) @@ -112,7 +112,7 @@ /************************************************************************** * These are the registers for the 3Com 3c509 and their bit patterns when * - * applicable. They have been taken out the the "EtherLink III Parallel * + * applicable. They have been taken out the "EtherLink III Parallel * * Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual * * from 3com. * **************************************************************************/ Modified: head/sys/dev/wpi/if_wpi.c ============================================================================== --- head/sys/dev/wpi/if_wpi.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/dev/wpi/if_wpi.c Mon Feb 21 09:01:34 2011 (r218909) @@ -29,7 +29,7 @@ __FBSDID("$FreeBSD$"); * state and told to load boot firmware. The boot firmware loads an init and a * main binary firmware image into SRAM on the card via DMA. * Once the firmware is loaded, the driver/hw then - * communicate by way of circular dma rings via the the SRAM to the firmware. + * communicate by way of circular dma rings via the SRAM to the firmware. * * There is 6 memory rings. 1 command ring, 1 rx data ring & 4 tx data rings. * The 4 tx data rings allow for prioritization QoS. Modified: head/sys/fs/fdescfs/fdesc_vnops.c ============================================================================== --- head/sys/fs/fdescfs/fdesc_vnops.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/fs/fdescfs/fdesc_vnops.c Mon Feb 21 09:01:34 2011 (r218909) @@ -368,7 +368,7 @@ fdesc_open(ap) return (0); /* - * XXX Kludge: set td->td_proc->p_dupfd to contain the value of the the file + * XXX Kludge: set td->td_proc->p_dupfd to contain the value of the file * descriptor being sought for duplication. The error return ensures * that the vnode for this device will be released by vn_open. Open * will detect this special error and take the actions in dupfdopen. Modified: head/sys/fs/msdosfs/msdosfs_vnops.c ============================================================================== --- head/sys/fs/msdosfs/msdosfs_vnops.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/fs/msdosfs/msdosfs_vnops.c Mon Feb 21 09:01:34 2011 (r218909) @@ -1530,7 +1530,7 @@ msdosfs_readdir(ap) /* * msdosfs_readdir() won't operate properly on regular files since - * it does i/o only with the the filesystem vnode, and hence can + * it does i/o only with the filesystem vnode, and hence can * retrieve the wrong block from the buffer cache for a plain file. * So, fail attempts to readdir() on a plain file. */ Modified: head/sys/geom/geom_vfs.c ============================================================================== --- head/sys/geom/geom_vfs.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/geom/geom_vfs.c Mon Feb 21 09:01:34 2011 (r218909) @@ -109,7 +109,7 @@ g_vfs_strategy(struct bufobj *bo, struct /* G_VALID_CONSUMER(cp); We likely lack topology lock */ /* - * If the the provider has orphaned us, just return EXIO. + * If the provider has orphaned us, just return EXIO. */ if (cp->provider == NULL) { bp->b_error = ENXIO; Modified: head/sys/geom/part/g_part_ebr.c ============================================================================== --- head/sys/geom/part/g_part_ebr.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/geom/part/g_part_ebr.c Mon Feb 21 09:01:34 2011 (r218909) @@ -591,7 +591,7 @@ g_part_ebr_write(struct g_part_table *ba while (baseentry != NULL && baseentry->gpe_deleted) baseentry = LIST_NEXT(baseentry, gpe_entry); - /* Wipe-out the the first EBR when there are no slices. */ + /* Wipe-out the first EBR when there are no slices. */ if (baseentry == NULL) { error = g_write_data(cp, 0, buf, pp->sectorsize); goto out; Modified: head/sys/geom/sched/gs_scheduler.h ============================================================================== --- head/sys/geom/sched/gs_scheduler.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/geom/sched/gs_scheduler.h Mon Feb 21 09:01:34 2011 (r218909) @@ -144,7 +144,7 @@ struct g_sched_class { /* * Manipulate the classifier's data. g_sched_get_class() gets a reference - * to the the class corresponding to bp in gp, allocating and initializing + * to the class corresponding to bp in gp, allocating and initializing * it if necessary. g_sched_put_class() releases the reference. * The returned value points to the private data for the class. */ Modified: head/sys/gnu/fs/xfs/xfs_dir_leaf.c ============================================================================== --- head/sys/gnu/fs/xfs/xfs_dir_leaf.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/gnu/fs/xfs/xfs_dir_leaf.c Mon Feb 21 09:01:34 2011 (r218909) @@ -2153,7 +2153,7 @@ xfs_dir_leaf_getdents_int( } /* - * Format a dirent64 structure and copy it out the the user's buffer. + * Format a dirent64 structure and copy it out the user's buffer. */ int xfs_dir_put_dirent64_direct(xfs_dir_put_args_t *pa) @@ -2185,7 +2185,7 @@ xfs_dir_put_dirent64_direct(xfs_dir_put_ } /* - * Format a dirent64 structure and copy it out the the user's buffer. + * Format a dirent64 structure and copy it out the user's buffer. */ int xfs_dir_put_dirent64_uio(xfs_dir_put_args_t *pa) Modified: head/sys/gnu/fs/xfs/xfs_itable.c ============================================================================== --- head/sys/gnu/fs/xfs/xfs_itable.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/gnu/fs/xfs/xfs_itable.c Mon Feb 21 09:01:34 2011 (r218909) @@ -777,7 +777,7 @@ xfs_inumbers( xfs_buf_relse(agbp); agbp = NULL; /* - * Move up the the last inode in the current + * Move up the last inode in the current * chunk. The lookup_ge will always get * us the first inode in the next chunk. */ Modified: head/sys/i386/i386/trap.c ============================================================================== --- head/sys/i386/i386/trap.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/i386/i386/trap.c Mon Feb 21 09:01:34 2011 (r218909) @@ -255,7 +255,7 @@ trap(struct trapframe *frame) * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * If the DTrace kernel module has registered a trap handler, Modified: head/sys/kern/subr_unit.c ============================================================================== --- head/sys/kern/subr_unit.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/kern/subr_unit.c Mon Feb 21 09:01:34 2011 (r218909) @@ -41,7 +41,7 @@ * * If a mutex is not provided when the unit number space is created, a * default global mutex is used. The advantage to passing a mutex in, is - * that the the alloc_unrl() function can be called with the mutex already + * that the alloc_unrl() function can be called with the mutex already * held (it will not be released by alloc_unrl()). * * The allocation function alloc_unr{l}() never sleeps (but it may block on @@ -52,7 +52,7 @@ * * A userland test program is included. * - * Memory usage is a very complex function of the the exact allocation + * Memory usage is a very complex function of the exact allocation * pattern, but always very compact: * * For the very typical case where a single unbroken run of unit * numbers are allocated 44 bytes are used on i386. Modified: head/sys/kern/subr_witness.c ============================================================================== --- head/sys/kern/subr_witness.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/kern/subr_witness.c Mon Feb 21 09:01:34 2011 (r218909) @@ -1175,7 +1175,7 @@ witness_checkorder(struct lock_object *l mtx_assert(&w_mtx, MA_OWNED); /* - * If we know that the the lock we are acquiring comes after + * If we know that the lock we are acquiring comes after * the lock we most recently acquired in the lock order tree, * then there is no need for any further checks. */ Modified: head/sys/kern/uipc_mbuf.c ============================================================================== --- head/sys/kern/uipc_mbuf.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/kern/uipc_mbuf.c Mon Feb 21 09:01:34 2011 (r218909) @@ -280,7 +280,7 @@ mb_free_ext(struct mbuf *m) } /* - * Attach the the cluster from *m to *n, set up m_ext in *n + * Attach the cluster from *m to *n, set up m_ext in *n * and bump the refcount of the cluster. */ static void Modified: head/sys/mips/mips/pmap.c ============================================================================== --- head/sys/mips/mips/pmap.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/mips/mips/pmap.c Mon Feb 21 09:01:34 2011 (r218909) @@ -2018,7 +2018,7 @@ validate: pmap_update_page(pmap, va, newpte); /* - * Sync I & D caches for executable pages. Do this only if the the + * Sync I & D caches for executable pages. Do this only if the * target pmap belongs to the current process. Otherwise, an * unresolvable TLB miss may occur. */ @@ -2152,7 +2152,7 @@ pmap_enter_quick_locked(pmap_t pmap, vm_ else { *pte |= PTE_RO; /* - * Sync I & D caches. Do this only if the the target pmap + * Sync I & D caches. Do this only if the target pmap * belongs to the current process. Otherwise, an * unresolvable TLB miss may occur. */ if (pmap == &curproc->p_vmspace->vm_pmap) { Modified: head/sys/mips/rmi/fmn.c ============================================================================== --- head/sys/mips/rmi/fmn.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/mips/rmi/fmn.c Mon Feb 21 09:01:34 2011 (r218909) @@ -99,7 +99,7 @@ static int msgring_maxthreads = 3; TUNABLE_INT("hw.fmn.maxthreads", &msgring_maxthreads); /* - * The device drivers can register a handler for the the messages sent + * The device drivers can register a handler for the messages sent * from a station (corresponding to the device). */ struct tx_stn_handler { @@ -148,7 +148,7 @@ xlr_msgring_cpu_init(void) * For sending FMN messages, we need credits on the destination * bucket. Program the credits this core has on the 128 possible * destination buckets. - * We cannot use a loop here, because the the first argument has + * We cannot use a loop here, because the first argument has * to be a constant integer value. */ MSGRNG_CC_INIT_CPU_DEST(0, cc_config->counters); Modified: head/sys/mips/sibyte/sb_zbpci.c ============================================================================== --- head/sys/mips/sibyte/sb_zbpci.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/mips/sibyte/sb_zbpci.c Mon Feb 21 09:01:34 2011 (r218909) @@ -110,7 +110,7 @@ zbpci_attach(device_t dev) panic("%s: port_rman", __func__); /* - * Reserve the the physical memory that is used to read/write to the + * Reserve the physical memory that is used to read/write to the * pci config space but don't activate it. We are using a page worth * of KVA as a window over this region. */ Modified: head/sys/net/if_media.c ============================================================================== --- head/sys/net/if_media.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/net/if_media.c Mon Feb 21 09:01:34 2011 (r218909) @@ -235,7 +235,7 @@ ifmedia_ioctl(ifp, ifr, ifm, cmd) /* * If no change, we're done. * XXX Automedia may invole software intervention. - * Keep going in case the the connected media changed. + * Keep going in case the connected media changed. * Similarly, if best match changed (kernel debugger?). */ if ((IFM_SUBTYPE(newmedia) != IFM_AUTO) && Modified: head/sys/net/route.c ============================================================================== --- head/sys/net/route.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/net/route.c Mon Feb 21 09:01:34 2011 (r218909) @@ -539,7 +539,7 @@ rtredirect_fib(struct sockaddr *dst, goto done; /* * Create a new entry if we just got back a wildcard entry - * or the the lookup failed. This is necessary for hosts + * or the lookup failed. This is necessary for hosts * which use routing redirects generated by smart gateways * to dynamically build the routing tables. */ Modified: head/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c ============================================================================== --- head/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c Mon Feb 21 09:01:34 2011 (r218909) @@ -560,7 +560,7 @@ ng_btsocket_rfcomm_connect(struct socket soclose(l2so); /* we don't need new L2CAP socket */ /* - * Check if we already have the same DLCI the the same session + * Check if we already have the same DLCI the same session */ mtx_lock(&s->session_mtx); Modified: head/sys/netgraph/ng_source.c ============================================================================== --- head/sys/netgraph/ng_source.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/netgraph/ng_source.c Mon Feb 21 09:01:34 2011 (r218909) @@ -604,7 +604,7 @@ ng_source_disconnect(hook_p hook) } /* - * Set sc->output_ifp to point to the the struct ifnet of the interface + * Set sc->output_ifp to point to the struct ifnet of the interface * reached via our output hook. */ static int Modified: head/sys/netinet/if_ether.c ============================================================================== --- head/sys/netinet/if_ether.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/netinet/if_ether.c Mon Feb 21 09:01:34 2011 (r218909) @@ -810,7 +810,7 @@ reply: /* * Also check that the node which sent the ARP packet - * is on the the interface we expect it to be on. This + * is on the interface we expect it to be on. This * avoids ARP chaos if an interface is connected to the * wrong network. */ Modified: head/sys/netinet/ip_input.c ============================================================================== --- head/sys/netinet/ip_input.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/netinet/ip_input.c Mon Feb 21 09:01:34 2011 (r218909) @@ -1031,7 +1031,7 @@ found: * segment. If it provides all of our data, drop us, otherwise * stick new segment in the proper place. * - * If some of the data is dropped from the the preceding + * If some of the data is dropped from the preceding * segment, then it's checksum is invalidated. */ if (p) { Modified: head/sys/netinet/ipfw/ip_fw_private.h ============================================================================== --- head/sys/netinet/ipfw/ip_fw_private.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/netinet/ipfw/ip_fw_private.h Mon Feb 21 09:01:34 2011 (r218909) @@ -90,7 +90,7 @@ struct ip_fw_args { /* * On return, it points to the matching rule. * On entry, rule.slot > 0 means the info is valid and - * contains the the starting rule for an ipfw search. + * contains the starting rule for an ipfw search. * If chain_id == chain->id && slot >0 then jump to that slot. * Otherwise, we locate the first rule >= rulenum:rule_id */ Modified: head/sys/netinet/libalias/alias_sctp.c ============================================================================== --- head/sys/netinet/libalias/alias_sctp.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/netinet/libalias/alias_sctp.c Mon Feb 21 09:01:34 2011 (r218909) @@ -1929,7 +1929,7 @@ UP_process(struct libalias *la, int dire * @brief Process SCTP message while association is in the process of closing * * This function waits for a SHUT-COMP to close the association. Depending on - * the the setting of sysctl_holddown_timer it may not remove the association + * the setting of sysctl_holddown_timer it may not remove the association * immediately, but leave it up until SN_X_T(la). Only SHUT-COMP, SHUT-ACK, and * ABORT packets are permitted in this state. All other packets are dropped. * Modified: head/sys/netinet/tcp_offload.h ============================================================================== --- head/sys/netinet/tcp_offload.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/netinet/tcp_offload.h Mon Feb 21 09:01:34 2011 (r218909) @@ -56,7 +56,7 @@ * * It is assumed that individuals deploying TOE will want connections * to be offloaded without software changes so all connections on an - * interface providing TOE are offloaded unless the the SO_NO_OFFLOAD + * interface providing TOE are offloaded unless the SO_NO_OFFLOAD * flag is set on the socket. * * Modified: head/sys/netinet/tcp_subr.c ============================================================================== --- head/sys/netinet/tcp_subr.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/netinet/tcp_subr.c Mon Feb 21 09:01:34 2011 (r218909) @@ -1383,7 +1383,7 @@ tcp_ctlinput(int cmd, struct sockaddr *s mtu = V_tcp_minmss + sizeof(struct tcpiphdr); /* - * Only cache the the MTU if it + * Only cache the MTU if it * is smaller than the interface * or route MTU. tcp_mtudisc() * will do right thing by itself. Modified: head/sys/netinet/tcp_syncache.c ============================================================================== --- head/sys/netinet/tcp_syncache.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/netinet/tcp_syncache.c Mon Feb 21 09:01:34 2011 (r218909) @@ -524,7 +524,7 @@ syncache_chkrst(struct in_conninfo *inc, * used, or we are under memory pressure, a valid RST * may not find a syncache entry. In that case we're * done and no SYN|ACK retransmissions will happen. - * Otherwise the the RST was misdirected or spoofed. + * Otherwise the RST was misdirected or spoofed. */ if (sc == NULL) { if ((s = tcp_log_addrs(inc, th, NULL, NULL))) Modified: head/sys/netinet/tcp_timewait.c ============================================================================== --- head/sys/netinet/tcp_timewait.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/netinet/tcp_timewait.c Mon Feb 21 09:01:34 2011 (r218909) @@ -397,7 +397,7 @@ tcp_twcheck(struct inpcb *inp, struct tc } /* - * Drop the the segment if it does not contain an ACK. + * Drop the segment if it does not contain an ACK. */ if ((thflags & TH_ACK) == 0) goto drop; Modified: head/sys/netinet6/in6.h ============================================================================== --- head/sys/netinet6/in6.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/netinet6/in6.h Mon Feb 21 09:01:34 2011 (r218909) @@ -78,7 +78,7 @@ /* * IPv6 port allocation rules should mirror the IPv4 rules and are controlled - * by the the net.inet.ip.portrange sysctl tree. The following defines exist + * by the net.inet.ip.portrange sysctl tree. The following defines exist * for compatibility with userland applications that need them. */ #if __BSD_VISIBLE Modified: head/sys/pc98/cbus/fdc.c ============================================================================== --- head/sys/pc98/cbus/fdc.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/pc98/cbus/fdc.c Mon Feb 21 09:01:34 2011 (r218909) @@ -2378,7 +2378,7 @@ fdmisccmd(struct cdev *dev, u_int cmd, v /* * Set up a bio request for fdstrategy(). bio_offset is faked - * so that fdstrategy() will seek to the the requested + * so that fdstrategy() will seek to the requested * cylinder, and use the desired head. */ bp->bio_cmd = cmd; Modified: head/sys/sparc64/include/iommureg.h ============================================================================== --- head/sys/sparc64/include/iommureg.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/sparc64/include/iommureg.h Mon Feb 21 09:01:34 2011 (r218909) @@ -194,7 +194,7 @@ * Unfortunately, sabres on UltraSPARC IIi and IIe processors does not use * this scheme to determine the IOVA base address. Instead, bits 31-29 are * used to check against the Target Address Space register in the IIi and - * the the IOMMU is used if they hit. God knows what goes on in the IIe. + * the IOMMU is used if they hit. God knows what goes on in the IIe. * */ Modified: head/sys/sparc64/pci/sbbc.c ============================================================================== --- head/sys/sparc64/pci/sbbc.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/sparc64/pci/sbbc.c Mon Feb 21 09:01:34 2011 (r218909) @@ -335,7 +335,7 @@ sbbc_pci_attach(device_t dev) rid = SBBC_PCI_BAR; /* * Note that we don't activate the resource so it's not mapped twice - * but only once by the the firmware. + * but only once by the firmware. */ sc->sc_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 0); if (sc->sc_res == NULL) { Modified: head/sys/sparc64/sparc64/trap.c ============================================================================== --- head/sys/sparc64/sparc64/trap.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/sparc64/sparc64/trap.c Mon Feb 21 09:01:34 2011 (r218909) @@ -433,7 +433,7 @@ trap_cecc(void) cache_flush(); /* Ensure the caches are still turned on (should be). */ cache_enable(PCPU_GET(impl)); - /* Clear the the error from the AFSR. */ + /* Clear the error from the AFSR. */ stxa_sync(0, ASI_AFSR, ldxa(0, ASI_AFSR)); corrected_ecc++; printf("corrected ECC error\n"); Modified: head/sys/sys/aac_ioctl.h ============================================================================== --- head/sys/sys/aac_ioctl.h Mon Feb 21 05:10:34 2011 (r218908) +++ head/sys/sys/aac_ioctl.h Mon Feb 21 09:01:34 2011 (r218909) @@ -117,7 +117,7 @@ union aac_statrequest { /* Do the native version of the ioctls. Since the BSD encoding scheme * conflicts with the 'standard' AAC encoding scheme, the resulting numbers * will be different. The '8' comes from the fact that the previous scheme - * used 12 bits for the number, with the the 12th bit being the only set + * used 12 bits for the number, with the 12th bit being the only set * bit above bit 8. Thus the value of 8, with the lower 8 bits holding the * command number. 9 is used for the odd overflow case. */ Modified: head/usr.bin/lex/misc.c ============================================================================== --- head/usr.bin/lex/misc.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/usr.bin/lex/misc.c Mon Feb 21 09:01:34 2011 (r218909) @@ -707,7 +707,7 @@ const char str[]; } -/* readable_form - return the the human-readable form of a character +/* readable_form - return the human-readable form of a character * * The returned string is in static storage. */ Modified: head/usr.bin/m4/gnum4.c ============================================================================== --- head/usr.bin/m4/gnum4.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/usr.bin/m4/gnum4.c Mon Feb 21 09:01:34 2011 (r218909) @@ -54,7 +54,7 @@ int mimic_gnu = 0; /* * Support for include path search - * First search in the the current directory. + * First search in the current directory. * If not found, and the path is not absolute, include path kicks in. * First, -I options, in the order found on the command line. * Then M4PATH env variable Modified: head/usr.bin/make/lst.c ============================================================================== --- head/usr.bin/make/lst.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/usr.bin/make/lst.c Mon Feb 21 09:01:34 2011 (r218909) @@ -98,7 +98,7 @@ Lst_Append(Lst *list, LstNode *ln, void * LST_CONCLINK if should just be relinked * * Side Effects: - * New elements are created and appended the the first list. + * New elements are created and appended the first list. */ void Lst_Concat(Lst *list1, Lst *list2, int flags) Modified: head/usr.bin/rpcinfo/rpcinfo.c ============================================================================== --- head/usr.bin/rpcinfo/rpcinfo.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/usr.bin/rpcinfo/rpcinfo.c Mon Feb 21 09:01:34 2011 (r218909) @@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$"); /* * rpcinfo: ping a particular rpc program - * or dump the the registered programs on the remote machine. + * or dump the registered programs on the remote machine. */ /* Modified: head/usr.bin/xinstall/xinstall.c ============================================================================== --- head/usr.bin/xinstall/xinstall.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/usr.bin/xinstall/xinstall.c Mon Feb 21 09:01:34 2011 (r218909) @@ -492,7 +492,7 @@ install(const char *from_name, const cha * flags, except for the dump flag. * NFS does not support flags. Ignore EOPNOTSUPP flags if we're just * trying to turn off UF_NODUMP. If we're trying to set real flags, - * then warn if the the fs doesn't support it, otherwise fail. + * then warn if the fs doesn't support it, otherwise fail. */ if (!devnull && (flags & SETFLAGS || (from_sb.st_flags & ~UF_NODUMP) != to_sb.st_flags) && Modified: head/usr.sbin/moused/moused.c ============================================================================== --- head/usr.sbin/moused/moused.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/usr.sbin/moused/moused.c Mon Feb 21 09:01:34 2011 (r218909) @@ -931,7 +931,7 @@ main(int argc, char *argv[]) /* * We cannot continue because of error. Exit if the * program has not become a daemon. Otherwise, block - * until the the user corrects the problem and issues SIGHUP. + * until the user corrects the problem and issues SIGHUP. */ if (!background) exit(1); Modified: head/usr.sbin/rpcbind/util.c ============================================================================== --- head/usr.sbin/rpcbind/util.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/usr.sbin/rpcbind/util.c Mon Feb 21 09:01:34 2011 (r218909) @@ -237,7 +237,7 @@ addrmerge(struct netbuf *caller, char *s found: /* - * Construct the new address using the the address from + * Construct the new address using the address from * `bestif', and the port number from `serv_uaddr'. */ serv_nbp = uaddr2taddr(nconf, serv_uaddr); Modified: head/usr.sbin/sysinstall/install.c ============================================================================== --- head/usr.sbin/sysinstall/install.c Mon Feb 21 05:10:34 2011 (r218908) +++ head/usr.sbin/sysinstall/install.c Mon Feb 21 09:01:34 2011 (r218909) @@ -953,7 +953,7 @@ installFixupBase(dialogMenuItem *self) vsystem("mtree -deU -f /etc/mtree/BSD.usr.dist -p /usr"); #ifdef __ia64__ - /* Move /boot to the the EFI partition and make /boot a link to it. */ + /* Move /boot to the EFI partition and make /boot a link to it. */ efi_mntpt = (EfiChunk != NULL) ? ((PartInfo *)EfiChunk->private_data)->mountpoint : NULL; if (efi_mntpt != NULL) { vsystem("if [ ! -L /boot ]; then mv /boot %s; fi", efi_mntpt); From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 09:22:11 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 056B2106566B; Mon, 21 Feb 2011 09:22:11 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 7D9958FC17; Mon, 21 Feb 2011 09:22:09 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 7B26845684; Mon, 21 Feb 2011 10:22:07 +0100 (CET) Received: from localhost (58.wheelsystems.com [83.12.187.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 1655F45EEF; Mon, 21 Feb 2011 10:22:02 +0100 (CET) Date: Mon, 21 Feb 2011 10:21:43 +0100 From: Pawel Jakub Dawidek To: VANHULLEBUS Yvan Message-ID: <20110221092143.GA1766@garage.freebsd.pl> References: <201102180940.p1I9eD29050530@svn.freebsd.org> <20110219073412.GC2016@garage.freebsd.pl> <20110221084025.GA14934@zeninc.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <20110221084025.GA14934@zeninc.net> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.5 tests=ALL_TRUSTED,BAYES_00, RCVD_IN_SORBS_DUL autolearn=ham version=3.0.4 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218794 - in head: . sys/netipsec X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 09:22:11 -0000 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 21, 2011 at 09:40:25AM +0100, VANHULLEBUS Yvan wrote: > > Second of all I really think that an UPDATING entry is not enough. > > We should at least provide sysctl to change it back >=20 > I sent a mail on freebsd-net@ at the beginning of january, to ask some > feedback from users, and got NO response at all. > So I considered implementing such a sysctl would be just time waste. > And it is also a quite bad solution, as it does not solves situations > where you want to do IPsec using HMAC_SHA2 with two peers, one which > is RFC4868 compliant, and the other which uses the old round-96 bits > draft for it's implementation.... You can't talk to two such peers with sysctl or without anyway. I assume that if someone already has tunnels configured and they work, they work, because the other end uses 96 bits hashes. Once he upgrades there is no way to get old behaviour back quickly. You are changing on-the-wire protocol in the middle of stable branch. Am I alone in thinking that this is bad idea? I'm not saying using larger hash is wrong. Quite the opposite. I actually implemented this for a customer, but never got around merging it to FreeBSD, because of the on-the-wire protocol change. Imagine a situation where someone does upgrade from 8.2 to 8.3 one of his IPsec machines. Tunnels stop to work. How can he tell what went wrong? We don't even log hash mismatches, we only bump some counter. This is not user-friendly. Situations like that make people angry and make them want to use FreeBSD a little bit less. > Feel free to send me your benchmarks results if you do such an > implementation... I'm sorry, but is really lame way to deal with criticism. > > it would be best to log a warning that the > > other side is using old implementation and it (the other side) should be > > either upgraded or this sysctl should be changed locally to enable old > > behaviour. >=20 > As said upper, afaik, you just can't detect such things without > wasting LOTS of CPU cycles.... Well, checking two hashes isn't really so time consuming. The hash is only truncated, so if you calculate a larger one you also have smaller one to compare. Even better, in common case the larger one will simply match and you have no additional overhead whatsoever. Having said that, I don't think this is the right solution. We want larger hash to be more secure and falling back to smaller hash defeats this goal and there is also the problem when we are initiator. Hmm, although on hash mismatch we could try comparing smaller hash and if it matches discard the packet, but log a warning that the other end is using unsupported, 96 bits hash. > > I'm happy to remove such sysctl after one full major release, > > so we won't support tunnels between FreeBSD 8 and FreeBSD 10, but we > > should IMHO definitely support tunnels between both 8-9 and 9-10. >=20 > The only thing you may do is to include again the old code and put > some #ifdef RFC4868_SUPPORT / #else / #endif in kernel code, or set up > a global sysctl (which will be quite intrusive for such a small > patchset) so people will be able to decide if they want their whole > IPsec stack to be RFC4868 or draft-round96 compliant.... Small patchset in what sense? In terms of diff size, yes, but because you change on-the-wire protocol I think the impact is not small at all. > But once again, this will NOT solve issues with multiple peers, and > once again, the "simple" solution when you can't upgrade both peers is > to switch back to HMAC_SHA1, which is actually really strong enough, > and which is NOT affected by this patch. The "multiple peers issue" is no a valid argument, as I said, because we can't handle those anyway in any case. I'm happy that we tell users to switch to HMAC/SHA1, but we currently don't do that. No warning is logged, for example. All in all, I don't really feel convinced. If nobody supports my concerns, I'll let go sysctl addition, but I'd still strongly recommend not to MFC this change to stable/8. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk1iLqcACgkQForvXbEpPzSbhQCgiVSd5DnMhjByrVMuh4cAYAfK VkQAnjk5E8n05GduiKG8Ij7xO4tmPzkd =65VV -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF-- From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 09:56:08 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4F4C106566B; Mon, 21 Feb 2011 09:56:08 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D393F8FC0A; Mon, 21 Feb 2011 09:56:08 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1L9u8et064565; Mon, 21 Feb 2011 09:56:08 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1L9u8Qp064563; Mon, 21 Feb 2011 09:56:08 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102210956.p1L9u8Qp064563@svn.freebsd.org> From: Bruce Cran Date: Mon, 21 Feb 2011 09:56:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218910 - head/usr.sbin/fdformat X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 09:56:09 -0000 Author: brucec Date: Mon Feb 21 09:56:08 2011 New Revision: 218910 URL: http://svn.freebsd.org/changeset/base/218910 Log: The FD_FORM ioctl used to ignore errors from the floppy controller; now when it encounters an error it returns an error from the ioctl. Ignore any errors when using the FD_FORM ioctl. PR: kern/103862 MFC after: 3 days Modified: head/usr.sbin/fdformat/fdformat.c Modified: head/usr.sbin/fdformat/fdformat.c ============================================================================== --- head/usr.sbin/fdformat/fdformat.c Mon Feb 21 09:01:34 2011 (r218909) +++ head/usr.sbin/fdformat/fdformat.c Mon Feb 21 09:56:08 2011 (r218910) @@ -75,8 +75,7 @@ format_track(int fd, int cyl, int secs, f.fd_formb_secno(i) = il[i+1]; f.fd_formb_secsize(i) = secsize; } - if(ioctl(fd, FD_FORM, (caddr_t)&f) < 0) - err(EX_OSERR, "ioctl(FD_FORM)"); + (void)ioctl(fd, FD_FORM, (caddr_t)&f); } static int From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 10:08:48 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 000651065673; Mon, 21 Feb 2011 10:08:47 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E0DE68FC0A; Mon, 21 Feb 2011 10:08:47 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LA8lsc064974; Mon, 21 Feb 2011 10:08:47 GMT (envelope-from mm@svn.freebsd.org) Received: (from mm@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LA8lmt064969; Mon, 21 Feb 2011 10:08:47 GMT (envelope-from mm@svn.freebsd.org) Message-Id: <201102211008.p1LA8lmt064969@svn.freebsd.org> From: Martin Matuska Date: Mon, 21 Feb 2011 10:08:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218911 - stable/8/usr.sbin/newsyslog X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 10:08:48 -0000 Author: mm Date: Mon Feb 21 10:08:47 2011 New Revision: 218911 URL: http://svn.freebsd.org/changeset/base/218911 Log: MFC r218127, r218128: Add xz(1) support to newsyslog. Rewrite and simplify logfile compression code. Approved by: gad Modified: stable/8/usr.sbin/newsyslog/newsyslog.8 stable/8/usr.sbin/newsyslog/newsyslog.c stable/8/usr.sbin/newsyslog/newsyslog.conf.5 stable/8/usr.sbin/newsyslog/pathnames.h Directory Properties: stable/8/usr.sbin/newsyslog/ (props changed) Modified: stable/8/usr.sbin/newsyslog/newsyslog.8 ============================================================================== --- stable/8/usr.sbin/newsyslog/newsyslog.8 Mon Feb 21 09:56:08 2011 (r218910) +++ stable/8/usr.sbin/newsyslog/newsyslog.8 Mon Feb 21 10:08:47 2011 (r218911) @@ -17,7 +17,7 @@ .\" the suitability of this software for any purpose. It is .\" provided "as is" without express or implied warranty. .\" -.Dd July 23, 2010 +.Dd January 31, 2011 .Dt NEWSYSLOG 8 .Os .Sh NAME @@ -279,6 +279,7 @@ accepted for backwards compatibility. .Sh SEE ALSO .Xr bzip2 1 , .Xr gzip 1 , +.Xr xz 1 , .Xr syslog 3 , .Xr newsyslog.conf 5 , .Xr chown 8 , Modified: stable/8/usr.sbin/newsyslog/newsyslog.c ============================================================================== --- stable/8/usr.sbin/newsyslog/newsyslog.c Mon Feb 21 09:56:08 2011 (r218910) +++ stable/8/usr.sbin/newsyslog/newsyslog.c Mon Feb 21 10:08:47 2011 (r218911) @@ -57,12 +57,6 @@ __FBSDID("$FreeBSD$"); #define OSF -#ifndef COMPRESS_POSTFIX -#define COMPRESS_POSTFIX ".gz" -#endif -#ifndef BZCOMPRESS_POSTFIX -#define BZCOMPRESS_POSTFIX ".bz2" -#endif #include #include @@ -92,10 +86,35 @@ __FBSDID("$FreeBSD$"); #include "extern.h" /* + * Compression suffixes + */ +#ifndef COMPRESS_SUFFIX_GZ +#define COMPRESS_SUFFIX_GZ ".gz" +#endif + +#ifndef COMPRESS_SUFFIX_BZ2 +#define COMPRESS_SUFFIX_BZ2 ".bz2" +#endif + +#ifndef COMPRESS_SUFFIX_XZ +#define COMPRESS_SUFFIX_XZ ".xz" +#endif + +#define COMPRESS_SUFFIX_MAXLEN MAX(MAX(sizeof(COMPRESS_SUFFIX_GZ),sizeof(COMPRESS_SUFFIX_BZ2)),sizeof(COMPRESS_SUFFIX_XZ)) + +/* + * Compression types + */ +#define COMPRESS_TYPES 4 /* Number of supported compression types */ + +#define COMPRESS_NONE 0 +#define COMPRESS_GZIP 1 +#define COMPRESS_BZIP2 2 +#define COMPRESS_XZ 3 + +/* * Bit-values for the 'flags' parsed from a config-file entry. */ -#define CE_COMPACT 0x0001 /* Compact the archived log files with gzip. */ -#define CE_BZCOMPACT 0x0002 /* Compact the archived log files with bzip2. */ #define CE_BINARY 0x0008 /* Logfile is in binary, do not add status */ /* messages to logfile(s) when rotating. */ #define CE_NOSIGNAL 0x0010 /* There is no process to signal when */ @@ -119,6 +138,19 @@ __FBSDID("$FreeBSD$"); #define MAX_OLDLOGS 65536 /* Default maximum number of old logfiles */ +struct compress_types { + const char *flag; /* Flag in configuration file */ + const char *suffix; /* Compression suffix */ + const char *path; /* Path to compression program */ +}; + +const struct compress_types compress_type[COMPRESS_TYPES] = { + { "", "", "" }, /* no compression */ + { "Z", COMPRESS_SUFFIX_GZ, _PATH_GZIP }, /* gzip compression */ + { "J", COMPRESS_SUFFIX_BZ2, _PATH_BZIP2 }, /* bzip2 compression */ + { "X", COMPRESS_SUFFIX_XZ, _PATH_XZ } /* xz compression */ +}; + struct conf_entry { STAILQ_ENTRY(conf_entry) cf_nextp; char *log; /* Name of the log */ @@ -134,7 +166,8 @@ struct conf_entry { int hours; /* Hours between log trimming */ struct ptime_data *trim_at; /* Specific time to do trimming */ unsigned int permissions; /* File permissions on the log */ - int flags; /* CE_COMPACT, CE_BZCOMPACT, CE_BINARY */ + int flags; /* CE_BINARY */ + int compress; /* Compression */ int sig; /* Signal to send */ int def_cfg; /* Using the rule for this file */ }; @@ -218,6 +251,7 @@ static int isnumberstr(const char *); static int isglobstr(const char *); static char *missing_field(char *p, char *errline); static void change_attrs(const char *, const struct conf_entry *); +static const char *get_logfile_suffix(const char *logfile); static fk_entry do_entry(struct conf_entry *); static fk_entry do_rotate(const struct conf_entry *); static void do_sigwork(struct sigwork_entry *); @@ -367,6 +401,7 @@ init_entry(const char *fname, struct con tempwork->trim_at = ptime_init(src_entry->trim_at); tempwork->permissions = src_entry->permissions; tempwork->flags = src_entry->flags; + tempwork->compress = src_entry->compress; tempwork->sig = src_entry->sig; tempwork->def_cfg = src_entry->def_cfg; } else { @@ -384,6 +419,7 @@ init_entry(const char *fname, struct con tempwork->trim_at = NULL; tempwork->permissions = 0; tempwork->flags = 0; + tempwork->compress = COMPRESS_NONE; tempwork->sig = SIGHUP; tempwork->def_cfg = 0; } @@ -448,14 +484,9 @@ do_entry(struct conf_entry * ent) char temp_reason[REASON_MAX]; free_or_keep = FREE_ENT; - if (verbose) { - if (ent->flags & CE_COMPACT) - printf("%s <%dZ>: ", ent->log, ent->numlogs); - else if (ent->flags & CE_BZCOMPACT) - printf("%s <%dJ>: ", ent->log, ent->numlogs); - else - printf("%s <%d>: ", ent->log, ent->numlogs); - } + if (verbose) + printf("%s <%d%s>: ", ent->log, ent->numlogs, + compress_type[ent->compress].flag); ent->fsize = sizefile(ent->log); modtime = age_old_log(ent->log); ent->rotate = 0; @@ -560,17 +591,10 @@ do_entry(struct conf_entry * ent) ent->r_reason = strdup(temp_reason); if (verbose) printf("--> trimming log....\n"); - if (noaction && !verbose) { - if (ent->flags & CE_COMPACT) - printf("%s <%dZ>: trimming\n", - ent->log, ent->numlogs); - else if (ent->flags & CE_BZCOMPACT) - printf("%s <%dJ>: trimming\n", - ent->log, ent->numlogs); - else - printf("%s <%d>: trimming\n", - ent->log, ent->numlogs); - } + if (noaction && !verbose) + printf("%s <%d%s>: trimming\n", ent->log, + ent->numlogs, + compress_type[ent->compress].flag); free_or_keep = do_rotate(ent); } else { if (verbose) @@ -1183,6 +1207,7 @@ parse_file(FILE *cf, struct cflist *work } working->flags = 0; + working->compress = COMPRESS_NONE; q = parse = missing_field(sob(++parse), errline); parse = son(parse); eol = !*parse; @@ -1261,7 +1286,7 @@ no_trimat: working->flags |= CE_GLOB; break; case 'j': - working->flags |= CE_BZCOMPACT; + working->compress = COMPRESS_BZIP2; break; case 'n': working->flags |= CE_NOSIGNAL; @@ -1272,8 +1297,11 @@ no_trimat: case 'w': /* Depreciated flag - keep for compatibility purposes */ break; + case 'x': + working->compress = COMPRESS_XZ; + break; case 'z': - working->flags |= CE_COMPACT; + working->compress = COMPRESS_GZIP; break; case '-': break; @@ -1415,7 +1443,7 @@ static void delete_oldest_timelog(const struct conf_entry *ent, const char *archive_dir) { char *logfname, *s, *dir, errbuf[80]; - int logcnt, max_logcnt, dirfd, i; + int dirfd, i, logcnt, max_logcnt, valid; struct oldlog_entry *oldlogs; size_t logfname_len; struct dirent *dp; @@ -1485,9 +1513,12 @@ delete_oldest_timelog(const struct conf_ "match time format\n", dp->d_name); continue; } - if (*s != '\0' && !(strcmp(s, BZCOMPRESS_POSTFIX) == 0 || - strcmp(s, COMPRESS_POSTFIX) == 0)) { - if (verbose) + + for (int c = 0; c < COMPRESS_TYPES; c++) + if (strcmp(s, compress_type[c].suffix) == 0) + valid = 1; + if (valid != 1) { + if (verbose) printf("Ignoring %s which has unexpected " "extension '%s'\n", dp->d_name, s); continue; @@ -1586,13 +1617,35 @@ add_to_queue(const char *fname, struct i STAILQ_INSERT_TAIL(inclist, inc, inc_nextp); } +/* + * Search for logfile and return its compression suffix (if supported) + * The suffix detection is first-match in the order of compress_types + * + * Note: if logfile without suffix exists (uncompressed, COMPRESS_NONE) + * a zero-length string is returned + */ +static const char * +get_logfile_suffix(const char *logfile) +{ + struct stat st; + char zfile[MAXPATHLEN]; + + for (int c = 0; c < COMPRESS_TYPES; c++) { + (void) strlcpy(zfile, logfile, MAXPATHLEN); + (void) strlcat(zfile, compress_type[c].suffix, MAXPATHLEN); + if (lstat(zfile, &st) == 0) + return (compress_type[c].suffix); + } + return (NULL); +} + static fk_entry do_rotate(const struct conf_entry *ent) { char dirpart[MAXPATHLEN], namepart[MAXPATHLEN]; char file1[MAXPATHLEN], file2[MAXPATHLEN]; char zfile1[MAXPATHLEN], zfile2[MAXPATHLEN]; - char jfile1[MAXPATHLEN]; + const char *logfile_suffix; char datetimestr[30]; int flags, numlogs_c; fk_entry free_or_keep; @@ -1650,19 +1703,13 @@ do_rotate(const struct conf_entry *ent) delete_oldest_timelog(ent, dirpart); else { /* name of oldest log */ - (void) snprintf(zfile1, sizeof(zfile1), "%s%s", file1, - COMPRESS_POSTFIX); - snprintf(jfile1, sizeof(jfile1), "%s%s", file1, - BZCOMPRESS_POSTFIX); - - if (noaction) { - printf("\trm -f %s\n", file1); - printf("\trm -f %s\n", zfile1); - printf("\trm -f %s\n", jfile1); - } else { - (void) unlink(file1); - (void) unlink(zfile1); - (void) unlink(jfile1); + for (int c = 0; c < COMPRESS_TYPES; c++) { + (void) snprintf(zfile1, sizeof(zfile1), "%s%s", file1, + compress_type[c].suffix); + if (noaction) + printf("\trm -f %s\n", zfile1); + else + (void) unlink(zfile1); } } @@ -1697,24 +1744,14 @@ do_rotate(const struct conf_entry *ent) (void) snprintf(file1, sizeof(file1), "%s.%d", ent->log, numlogs_c); - (void) strlcpy(zfile1, file1, sizeof(zfile1)); - (void) strlcpy(zfile2, file2, sizeof(zfile2)); - if (lstat(file1, &st)) { - (void) strlcat(zfile1, COMPRESS_POSTFIX, - sizeof(zfile1)); - (void) strlcat(zfile2, COMPRESS_POSTFIX, - sizeof(zfile2)); - if (lstat(zfile1, &st)) { - strlcpy(zfile1, file1, sizeof(zfile1)); - strlcpy(zfile2, file2, sizeof(zfile2)); - strlcat(zfile1, BZCOMPRESS_POSTFIX, - sizeof(zfile1)); - strlcat(zfile2, BZCOMPRESS_POSTFIX, - sizeof(zfile2)); - if (lstat(zfile1, &st)) - continue; - } - } + logfile_suffix = get_logfile_suffix(file1); + if (logfile_suffix == NULL) + continue; + (void) strlcpy(zfile1, file1, MAXPATHLEN); + (void) strlcpy(zfile2, file2, MAXPATHLEN); + (void) strlcat(zfile1, logfile_suffix, MAXPATHLEN); + (void) strlcat(zfile2, logfile_suffix, MAXPATHLEN); + if (noaction) printf("\tmv %s %s\n", zfile1, zfile2); else { @@ -1760,7 +1797,7 @@ do_rotate(const struct conf_entry *ent) swork = NULL; if (ent->pid_file != NULL) swork = save_sigwork(ent); - if (ent->numlogs > 0 && (flags & (CE_COMPACT | CE_BZCOMPACT))) { + if (ent->numlogs > 0 && ent->compress > COMPRESS_NONE) { /* * The zipwork_entry will include a pointer to this * conf_entry, so the conf_entry should not be freed. @@ -1855,15 +1892,16 @@ do_zipwork(struct zipwork_entry *zwork) pgm_path = NULL; strlcpy(zresult, zwork->zw_fname, sizeof(zresult)); - if (zwork != NULL && zwork->zw_conf != NULL) { - if (zwork->zw_conf->flags & CE_COMPACT) { - pgm_path = _PATH_GZIP; - strlcat(zresult, COMPRESS_POSTFIX, sizeof(zresult)); - } else if (zwork->zw_conf->flags & CE_BZCOMPACT) { - pgm_path = _PATH_BZIP2; - strlcat(zresult, BZCOMPRESS_POSTFIX, sizeof(zresult)); + if (zwork != NULL && zwork->zw_conf != NULL && + zwork->zw_conf->compress > COMPRESS_NONE) + for (int c = 1; c < COMPRESS_TYPES; c++) { + if (zwork->zw_conf->compress == c) { + pgm_path = compress_type[c].path; + (void) strlcat(zresult, + compress_type[c].suffix, sizeof(zresult)); + break; + } } - } if (pgm_path == NULL) { warnx("invalid entry for %s in do_zipwork", zwork->zw_fname); return; @@ -2141,9 +2179,8 @@ static int age_old_log(char *file) { struct stat sb; - char *endp; - char tmp[MAXPATHLEN + sizeof(".0") + sizeof(COMPRESS_POSTFIX) + - sizeof(BZCOMPRESS_POSTFIX) + 1]; + const char *logfile_suffix; + char tmp[MAXPATHLEN + sizeof(".0") + COMPRESS_SUFFIX_MAXLEN + 1]; if (archtodir) { char *p; @@ -2173,21 +2210,12 @@ age_old_log(char *file) } strlcat(tmp, ".0", sizeof(tmp)); - if (stat(tmp, &sb) < 0) { - /* - * A plain '.0' file does not exist. Try again, first - * with the added suffix of '.gz', then with an added - * suffix of '.bz2' instead of '.gz'. - */ - endp = strchr(tmp, '\0'); - strlcat(tmp, COMPRESS_POSTFIX, sizeof(tmp)); - if (stat(tmp, &sb) < 0) { - *endp = '\0'; /* Remove .gz */ - strlcat(tmp, BZCOMPRESS_POSTFIX, sizeof(tmp)); - if (stat(tmp, &sb) < 0) - return (-1); - } - } + logfile_suffix = get_logfile_suffix(tmp); + if (logfile_suffix == NULL) + return (-1); + (void) strlcat(tmp, logfile_suffix, sizeof(tmp)); + if (stat(tmp, &sb) < 0) + return (-1); return ((int)(ptimeget_secs(timenow) - sb.st_mtime + 1800) / 3600); } Modified: stable/8/usr.sbin/newsyslog/newsyslog.conf.5 ============================================================================== --- stable/8/usr.sbin/newsyslog/newsyslog.conf.5 Mon Feb 21 09:56:08 2011 (r218910) +++ stable/8/usr.sbin/newsyslog/newsyslog.conf.5 Mon Feb 21 10:08:47 2011 (r218911) @@ -21,7 +21,7 @@ .\" the suitability of this software for any purpose. It is .\" provided "as is" without express or implied warranty. .\" -.Dd July 23, 2010 +.Dd January 31, 2011 .Dt NEWSYSLOG.CONF 5 .Os .Sh NAME @@ -292,6 +292,12 @@ indicates that should attempt to save disk space by compressing the rotated log file using .Xr bzip2 1 . +.It Cm X +indicates that +.Xr newsyslog 8 +should attempt to save disk space by compressing the rotated +log file using +.Xr xz 1 . .It Cm N indicates that there is no process which needs to be signaled when this log file is rotated. @@ -346,6 +352,7 @@ signal will be sent. .Sh SEE ALSO .Xr bzip2 1 , .Xr gzip 1 , +.Xr xz 1 , .Xr syslog 3 , .Xr chown 8 , .Xr newsyslog 8 , Modified: stable/8/usr.sbin/newsyslog/pathnames.h ============================================================================== --- stable/8/usr.sbin/newsyslog/pathnames.h Mon Feb 21 09:56:08 2011 (r218910) +++ stable/8/usr.sbin/newsyslog/pathnames.h Mon Feb 21 10:08:47 2011 (r218911) @@ -22,7 +22,8 @@ provided "as is" without express or impl */ -#define _PATH_CONF "/etc/newsyslog.conf" -#define _PATH_SYSLOGPID _PATH_VARRUN "syslog.pid" -#define _PATH_BZIP2 "/usr/bin/bzip2" -#define _PATH_GZIP "/usr/bin/gzip" +#define _PATH_CONF "/etc/newsyslog.conf" +#define _PATH_SYSLOGPID _PATH_VARRUN "syslog.pid" +#define _PATH_BZIP2 "/usr/bin/bzip2" +#define _PATH_GZIP "/usr/bin/gzip" +#define _PATH_XZ "/usr/bin/xz" From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 10:35:07 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A195C1065674; Mon, 21 Feb 2011 10:35:07 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 46A9C8FC13; Mon, 21 Feb 2011 10:35:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id A480D41C7A6; Mon, 21 Feb 2011 11:35:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id xxD9WA2w8VfQ; Mon, 21 Feb 2011 11:35:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id BF4DB41C7B7; Mon, 21 Feb 2011 11:35:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 54B694448F3; Mon, 21 Feb 2011 10:30:26 +0000 (UTC) Date: Mon, 21 Feb 2011 10:30:26 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Pawel Jakub Dawidek In-Reply-To: <20110221092143.GA1766@garage.freebsd.pl> Message-ID: <20110221100635.F13400@maildrop.int.zabbadoz.net> References: <201102180940.p1I9eD29050530@svn.freebsd.org> <20110219073412.GC2016@garage.freebsd.pl> <20110221084025.GA14934@zeninc.net> <20110221092143.GA1766@garage.freebsd.pl> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, VANHULLEBUS Yvan , src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r218794 - in head: . sys/netipsec X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 10:35:07 -0000 On Mon, 21 Feb 2011, Pawel Jakub Dawidek wrote: Hi, > On Mon, Feb 21, 2011 at 09:40:25AM +0100, VANHULLEBUS Yvan wrote: >>> Second of all I really think that an UPDATING entry is not enough. >>> We should at least provide sysctl to change it back >> >> I sent a mail on freebsd-net@ at the beginning of january, to ask some >> feedback from users, and got NO response at all. >> So I considered implementing such a sysctl would be just time waste. >> And it is also a quite bad solution, as it does not solves situations >> where you want to do IPsec using HMAC_SHA2 with two peers, one which >> is RFC4868 compliant, and the other which uses the old round-96 bits >> draft for it's implementation.... > > You can't talk to two such peers with sysctl or without anyway. I assume > that if someone already has tunnels configured and they work, they work, > because the other end uses 96 bits hashes. Once he upgrades there is no > way to get old behaviour back quickly. > > You are changing on-the-wire protocol in the middle of stable branch. Am > I alone in thinking that this is bad idea? > > I'm not saying using larger hash is wrong. Quite the opposite. > I actually implemented this for a customer, but never got around merging > it to FreeBSD, because of the on-the-wire protocol change. > > Imagine a situation where someone does upgrade from 8.2 to 8.3 one of > his IPsec machines. Tunnels stop to work. How can he tell what went > wrong? We don't even log hash mismatches, we only bump some counter. > This is not user-friendly. Situations like that make people angry and > make them want to use FreeBSD a little bit less. So let me hijack this one. I am not sure about merging it either but frankly it doesn't matter much if you go from 8.2->8.3 with your custom kernels (you have to build them anyway as IPSEC is not in GENERIC) and the UPDATING note is in place so you have the heads up, or eventually going from 7.x or 8.x to 9.x and hit the same problem. The fact that we still need to do it now rather than doing years ago is the real problem and we have lots of similar issues in other areas where we have excellent state of the art draft code but not final or updated RFC updates and we'll see these kinds of situations a lot more in the future also for GENERIC features. That said doing the full hash and if it fails checking the truncated is what I consider (by design) bad magic in security and as Yvan had pointed out doesn't help if you are the initiator but only if you are the responder (not even thinking about possible security implications yet). I think the counter is actually the right thing rather than spitting log() messages per packet on the console for those kinds of things. netstat -s is un underutilized debugging tool unfortunately. Educating users is what needs to be done (in addition to fixing more counters). The longer we are going to stay on the earlier version though the more likely we will run into interop problems with other stacks no matter what. Having been through this pros and cons before during the review I convinced myself that we'll eventually have to bite the bullet -- so rather now than later. That said if you can come up with a clean solution that will work in all cases I am happy to hear that. Adding a single global sysctl or compile time option to avoid POLA problems for the MFC is probably the thing I could be talked into with clear mentioning in NOTES/man page that it'll be gone from 9. That said a sysctl is probably the most user friendly given that they can update all kernels and then switch the sysctls with all peers, flush and be done w/o reboot or anything. /bz -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family. From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 10:41:25 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1614D106566B; Mon, 21 Feb 2011 10:41:25 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id D68B48FC0C; Mon, 21 Feb 2011 10:41:24 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 751E920571; Mon, 21 Feb 2011 05:23:40 -0500 (EST) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 21 Feb 2011 05:23:40 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; s=smtpout; bh=TtNdt/Dd62XR9QF+NvR7j3Cmz7U=; b=I90hbogNg7scsqlCqd6pPjVyQbjkeCyCjtOCCWXjlOiSqmbkmeVfZdznxhbdUSNT7cnlryNCBS3JEqtzGXjJdxLeQF1IUYqttfTPx8LGexy5gl06pUtaPAH9ZEs2VTlKqwQOyk28GssUrpkKjeiBJ0+AHfZjNdYbMSiE3hbDaZ8= X-Sasl-enc: ODKB0UUk3miP15zwka7z/vbejQbzs0QKRAAha8qO/Yfk 1298283819 Received: from localhost (110.249.69.111.dynamic.snap.net.nz [111.69.249.110]) by mail.messagingengine.com (Postfix) with ESMTPA id DCCEC406046; Mon, 21 Feb 2011 05:23:38 -0500 (EST) Date: Mon, 21 Feb 2011 23:23:57 +1300 From: Andrew Turner To: Olivier Houchard Message-ID: <20110221232357.2ae44d4b@fubar.geek.nz> In-Reply-To: <201102132002.p1DK2kRg051314@svn.freebsd.org> References: <201102132002.p1DK2kRg051314@svn.freebsd.org> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.0) X-Pirate: Arrrr Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218666 - in head/sys/arm: at91 econa sa11x0 xscale/i80321 xscale/ixp425 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 10:41:25 -0000 On Sun, 13 Feb 2011 20:02:46 +0000 (UTC) Olivier Houchard wrote: > Modified: head/sys/arm/at91/at91_machdep.c > ============================================================================== > --- head/sys/arm/at91/at91_machdep.c Sun Feb 13 19:46:55 > 2011 (r218665) +++ head/sys/arm/at91/at91_machdep.c Sun > Feb 13 20:02:46 2011 (r218666) @@ -234,7 +234,7 @@ > at91_ramsize(void) bw = (cr & AT91SAM9G20_SDRAMC_CR_DBW_16) ? 1 : 2; > } > > - return (1 << (cols + rows + banks + bw)); > + return ((1 << (cols + rows + banks + bw)); > } > > void * > @@ -302,6 +302,8 @@ initarm(void *arg, void *arg2) > valloc_pages(kernelstack, KSTACK_PAGES); > valloc_pages(msgbufpv, round_page(msgbufsize) / PAGE_SIZE); > > + /* Do basic tuning, hz etc */ > + init_param1(); This appears to be wrong. As msgbufsize is set in init_param1 it is used before being set in the at91 initarm function. Andrew From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 11:02:00 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB65D106566C; Mon, 21 Feb 2011 11:02:00 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from smtp.zeninc.net (smtp.zeninc.net [80.67.176.25]) by mx1.freebsd.org (Postfix) with ESMTP id DA3958FC17; Mon, 21 Feb 2011 11:01:59 +0000 (UTC) Received: from astro.zen.inc (astro.zen.inc [192.168.1.239]) by smtp.zeninc.net (smtpd) with ESMTP id 24C0F2798BC; Mon, 21 Feb 2011 12:01:57 +0100 (CET) Received: by astro.zen.inc (Postfix, from userid 1000) id 16A7E17059; Mon, 21 Feb 2011 12:01:57 +0100 (CET) Date: Mon, 21 Feb 2011 12:01:56 +0100 From: VANHULLEBUS Yvan To: Pawel Jakub Dawidek Message-ID: <20110221110156.GA15358@zeninc.net> References: <201102180940.p1I9eD29050530@svn.freebsd.org> <20110219073412.GC2016@garage.freebsd.pl> <20110221084025.GA14934@zeninc.net> <20110221092143.GA1766@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110221092143.GA1766@garage.freebsd.pl> User-Agent: All mail clients suck. This one just sucks less. Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218794 - in head: . sys/netipsec X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 11:02:00 -0000 On Mon, Feb 21, 2011 at 10:21:43AM +0100, Pawel Jakub Dawidek wrote: > On Mon, Feb 21, 2011 at 09:40:25AM +0100, VANHULLEBUS Yvan wrote: [RFC4868 and MFC] > You can't talk to two such peers with sysctl or without anyway. I assume > that if someone already has tunnels configured and they work, they work, > because the other end uses 96 bits hashes. Once he upgrades there is no > way to get old behaviour back quickly. > > You are changing on-the-wire protocol in the middle of stable branch. Am > I alone in thinking that this is bad idea? That's a good question. Of other people also think it's a bad idea, I can just forget the MFC. But the same problem will happen when we'll release 9.0. Of course, this is easier to explain, as this will be a new branch. > I'm not saying using larger hash is wrong. Quite the opposite. > I actually implemented this for a customer, but never got around merging > it to FreeBSD, because of the on-the-wire protocol change. Well... I'm not "changing the protocol".... I.... just fixed a bug to be RFC compliant..... Yes, for people who may actually use HMAC_SHA2, the result will be the same: broken tunnels. > Imagine a situation where someone does upgrade from 8.2 to 8.3 one of > his IPsec machines. Tunnels stop to work. How can he tell what went > wrong? We don't even log hash mismatches, we only bump some counter. > This is not user-friendly. Situations like that make people angry and > make them want to use FreeBSD a little bit less. The same issue actually does exist: imagine a situation where someone tries to set up an IPsec tunnel (still using HMAC_SHA2) between a FreeBSD (any stable version) and .... a MacOSX, a recent OpenBSD, a recent Linux, or some commercial appliance which provides RFC compliant HMAC_SHA2 support. It won't work, FreeBSD won't log anything but packet rejected due to bad hashes (peer will probably do the same). Afaik, OpenBSD and Linux just switched from round-96 bits draft to RFC4868, without any way to go back to round-96 bits, and it seems there have been no major issues with that. I guess this is because quite no one actually uses HMAC_SHA2 for IPsec phase2. > > Feel free to send me your benchmarks results if you do such an > > implementation... > > I'm sorry, but is really lame way to deal with criticism. Between other people at my work and other FreeBSD people in private discussions, this must be the 6th time I'm having such discussions, so having to do it once again a monday morning made me a bit upset. But of course, you couldn't know that, sorry for the sarcastic reply. > > > it would be best to log a warning that the > > > other side is using old implementation and it (the other side) should be > > > either upgraded or this sysctl should be changed locally to enable old > > > behaviour. > > > > As said upper, afaik, you just can't detect such things without > > wasting LOTS of CPU cycles.... > > Well, checking two hashes isn't really so time consuming. Actually, simply switching from NO_AUTH to HMAC_SHA1 makes loosing between 10 and 20% perfs in our benchs (we loose less on products with hardware SHA1). Of course, this is the whole authentication process, but I strongly guess hash computation is an important part of that job. > The hash is > only truncated, so if you calculate a larger one you also have smaller > one to compare. Yes, if you code looks like that: hash=SHAx_compute(data); truncate_hash(hash, size); memcmp(hash, orighash); IPsec stack is implemented using callbacks to crypto framework, hashes sizes and rounds are sent as parameters to crypto framework functions, which may also be used elsewhere, I'm really not sure we can easilly implement the dual check you're talking about. > Even better, in common case the larger one will simply > match and you have no additional overhead whatsoever. Having said that, > I don't think this is the right solution. We want larger hash to be more > secure and falling back to smaller hash defeats this goal and there is > also the problem when we are initiator. > Hmm, although on hash mismatch we could try comparing smaller hash and > if it matches discard the packet, but log a warning that the other end > is using unsupported, 96 bits hash. Doing that on the first ever IPsec packet sounds good. But doing that on any received packets sounds like wasting lots of CPU cycles, as we don't know how much packets broken peer will send (and how much packets a man in the middle may send, which will eats twice as CPU for hash check as usual). So we would have to keep some flag to remind that this peer is broken, which would require a change in a kernel structure.... between 8.2 and 8.3 ? [....] > > The only thing you may do is to include again the old code and put > > some #ifdef RFC4868_SUPPORT / #else / #endif in kernel code, or set up > > a global sysctl (which will be quite intrusive for such a small > > patchset) so people will be able to decide if they want their whole > > IPsec stack to be RFC4868 or draft-round96 compliant.... > > Small patchset in what sense? In terms of diff size, yes, but because > you change on-the-wire protocol I think the impact is not small at all. Of course, I was talking in terms of diff size. > > But once again, this will NOT solve issues with multiple peers, and > > once again, the "simple" solution when you can't upgrade both peers is > > to switch back to HMAC_SHA1, which is actually really strong enough, > > and which is NOT affected by this patch. > > The "multiple peers issue" is no a valid argument, as I said, because we > can't handle those anyway in any case. I'm happy that we tell users to > switch to HMAC/SHA1, but we currently don't do that. No warning is > logged, for example. Telling that in UPDATING is the best way I found..... well, in fact, the only way I found.... > All in all, I don't really feel convinced. If nobody supports my > concerns, I'll let go sysctl addition, but I'd still strongly recommend > not to MFC this change to stable/8. If the MFC seems to be a problem, I can just forgot that and just keep the fixed code in HEAD, but the question will be there again when we'll release 9.0, and that day, we may have more people using HMAC_SHA2 because they've been told that "SHA1 is not secure anymore" (even if we're takling here about HMAC_SHA1, for packets which have a validity of a few seconds....). Yvan. From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 11:21:05 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9BBC106566C; Mon, 21 Feb 2011 11:21:05 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id E572F8FC14; Mon, 21 Feb 2011 11:21:04 +0000 (UTC) Received: by qwj9 with SMTP id 9so4742572qwj.13 for ; Mon, 21 Feb 2011 03:21:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=QduX0D+CJ98+yFcMObTO8QgDb8CP+zMZ/lFj4hAAV44=; b=c12xDcyqPk9EpB30JeRQKK4I7tX008MZEVp5OObIfP3qZOLpCOl7GQssivyo+AVrhn g6o+deBfh7hWT0DxnnX+gSwfI9Kvhw5OCum2FVwZosywdyeQIW43B2sFyr3y3Wm9MIUu l+rNKHO77f7qb72HSpf4mN7EEvKUZbcNIigiI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=uOS2YMmh8+ZqZj7OO6Nb8Y3wqhu/eqNUcQUXtk4ssr7gK6Rat1DPdnkwQ9gS5ondL8 oNzPOyI4/toMJEq7rUT/G4nsRs+bwPuNIWJTLVNUCa/+KyisrpVWP6+WhWnz4BOxaSRV UqJUD6BrLX9aZG2XqdH/2nrqDHlXuebGq7gzs= MIME-Version: 1.0 Received: by 10.224.6.80 with SMTP id 16mr960078qay.286.1298287263963; Mon, 21 Feb 2011 03:21:03 -0800 (PST) Sender: pluknet@gmail.com Received: by 10.229.215.15 with HTTP; Mon, 21 Feb 2011 03:21:03 -0800 (PST) In-Reply-To: <20110221232357.2ae44d4b@fubar.geek.nz> References: <201102132002.p1DK2kRg051314@svn.freebsd.org> <20110221232357.2ae44d4b@fubar.geek.nz> Date: Mon, 21 Feb 2011 14:21:03 +0300 X-Google-Sender-Auth: kmB6QortDBqNd3blN7vTXHcoyTE Message-ID: From: Sergey Kandaurov To: Andrew Turner Content-Type: multipart/mixed; boundary=0015175cb4442f5a2d049cc90f1e Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Olivier Houchard Subject: Re: svn commit: r218666 - in head/sys/arm: at91 econa sa11x0 xscale/i80321 xscale/ixp425 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 11:21:05 -0000 --0015175cb4442f5a2d049cc90f1e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 21 February 2011 13:23, Andrew Turner wrote: > On Sun, 13 Feb 2011 20:02:46 +0000 (UTC) > Olivier Houchard wrote: >> Modified: head/sys/arm/at91/at91_machdep.c >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D >> --- head/sys/arm/at91/at91_machdep.c =A0Sun Feb 13 19:46:55 >> 2011 =A0(r218665) +++ head/sys/arm/at91/at91_machdep.c =A0Sun >> Feb 13 20:02:46 2011 =A0(r218666) @@ -234,7 +234,7 @@ >> at91_ramsize(void) bw =3D (cr & AT91SAM9G20_SDRAMC_CR_DBW_16) ? 1 : 2; >> =A0 =A0 =A0 } >> >> - =A0 =A0 return (1 << (cols + rows + banks + bw)); >> + =A0 =A0 return ((1 << (cols + rows + banks + bw)); >> =A0} >> >> =A0void * >> @@ -302,6 +302,8 @@ initarm(void *arg, void *arg2) >> =A0 =A0 =A0 valloc_pages(kernelstack, KSTACK_PAGES); >> =A0 =A0 =A0 valloc_pages(msgbufpv, round_page(msgbufsize) / PAGE_SIZE); >> >> + =A0 =A0 /* Do basic tuning, hz etc */ >> + =A0 =A0 init_param1(); > This appears to be wrong. As msgbufsize is set in init_param1 it is > used before being set in the at91 initarm function. > > Andrew > Oh, this should work (see also in attach). init_param1() moved under PCPU_SET(curthread, &thread0). Index: sys/arm/xscale/i8134x/crb_machdep.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/arm/xscale/i8134x/crb_machdep.c (revision 218911) +++ sys/arm/xscale/i8134x/crb_machdep.c (working copy) @@ -196,6 +196,9 @@ pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); + /* Do basic tuning, hz etc */ + init_param1(); + freemempos =3D 0x00200000; /* Define a macro to simplify memory allocation */ #define valloc_pages(var, np) \ @@ -389,8 +392,6 @@ phys_avail[i++] =3D 0; phys_avail[i] =3D 0; - /* Do basic tuning, hz etc */ - init_param1(); init_param2(physmem); kdb_init(); return ((void *)(kernelstack.pv_va + USPACE_SVC_STACK_TOP - Index: sys/arm/xscale/pxa/pxa_machdep.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/arm/xscale/pxa/pxa_machdep.c (revision 218911) +++ sys/arm/xscale/pxa/pxa_machdep.c (working copy) @@ -182,6 +182,9 @@ pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); + /* Do basic tuning, hz etc */ + init_param1(); + freemempos =3D 0xa0200000; /* Define a macro to simplify memory allocation */ #define valloc_pages(var, np) \ @@ -424,8 +427,6 @@ phys_avail[0] =3D round_page(virtual_avail - KERNBASE + phys_avail[= 0]); #endif - /* Do basic tuning, hz etc */ - init_param1(); init_param2(physmem); kdb_init(); return ((void *)(kernelstack.pv_va + USPACE_SVC_STACK_TOP - Index: sys/arm/s3c2xx0/s3c24x0_machdep.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/arm/s3c2xx0/s3c24x0_machdep.c (revision 218911) +++ sys/arm/s3c2xx0/s3c24x0_machdep.c (working copy) @@ -257,6 +257,9 @@ pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); + /* Do basic tuning, hz etc */ + init_param1(); + #define KERNEL_TEXT_BASE (KERNBASE) freemempos =3D (lastaddr + PAGE_MASK) & ~PAGE_MASK; /* Define a macro to simplify memory allocation */ @@ -438,8 +441,6 @@ phys_avail[2] =3D 0; phys_avail[3] =3D 0; - /* Do basic tuning, hz etc */ - init_param1(); init_param2(physmem); kdb_init(); Index: sys/arm/at91/at91_machdep.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/arm/at91/at91_machdep.c (revision 218911) +++ sys/arm/at91/at91_machdep.c (working copy) @@ -256,6 +256,9 @@ pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); + /* Do basic tuning, hz etc */ + init_param1(); + freemempos =3D (lastaddr + PAGE_MASK) & ~PAGE_MASK; /* Define a macro to simplify memory allocation */ #define valloc_pages(var, np) \ @@ -302,8 +305,6 @@ valloc_pages(kernelstack, KSTACK_PAGES); valloc_pages(msgbufpv, round_page(msgbufsize) / PAGE_SIZE); - /* Do basic tuning, hz etc */ - init_param1(); /* * Now we start construction of the L1 page table * We start by mapping the L2 page tables into the L1. --=20 wbr, pluknet --0015175cb4442f5a2d049cc90f1e Content-Type: application/octet-stream; name="arm_msgbufsize_cleanup.diff" Content-Disposition: attachment; filename="arm_msgbufsize_cleanup.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gkfamtux0 SW5kZXg6IHN5cy9hcm0veHNjYWxlL2k4MTM0eC9jcmJfbWFjaGRlcC5jCj09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0t IHN5cy9hcm0veHNjYWxlL2k4MTM0eC9jcmJfbWFjaGRlcC5jCShyZXZpc2lvbiAyMTg5MTEpCisr KyBzeXMvYXJtL3hzY2FsZS9pODEzNHgvY3JiX21hY2hkZXAuYwkod29ya2luZyBjb3B5KQpAQCAt MTk2LDYgKzE5Niw5IEBACiAJcGNwdV9pbml0KHBjcHVwLCAwLCBzaXplb2Yoc3RydWN0IHBjcHUp KTsKIAlQQ1BVX1NFVChjdXJ0aHJlYWQsICZ0aHJlYWQwKTsKIAorCS8qIERvIGJhc2ljIHR1bmlu ZywgaHogZXRjICovCisJaW5pdF9wYXJhbTEoKTsKKwogCWZyZWVtZW1wb3MgPSAweDAwMjAwMDAw OwogCS8qIERlZmluZSBhIG1hY3JvIHRvIHNpbXBsaWZ5IG1lbW9yeSBhbGxvY2F0aW9uICovCiAj ZGVmaW5lCXZhbGxvY19wYWdlcyh2YXIsIG5wKQkJCVwKQEAgLTM4OSw4ICszOTIsNiBAQAogCXBo eXNfYXZhaWxbaSsrXSA9IDA7CiAJcGh5c19hdmFpbFtpXSA9IDA7CiAJCi0JLyogRG8gYmFzaWMg dHVuaW5nLCBoeiBldGMgKi8KLQlpbml0X3BhcmFtMSgpOwogCWluaXRfcGFyYW0yKHBoeXNtZW0p OwogCWtkYl9pbml0KCk7CiAJcmV0dXJuICgodm9pZCAqKShrZXJuZWxzdGFjay5wdl92YSArIFVT UEFDRV9TVkNfU1RBQ0tfVE9QIC0KSW5kZXg6IHN5cy9hcm0veHNjYWxlL3B4YS9weGFfbWFjaGRl cC5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT0KLS0tIHN5cy9hcm0veHNjYWxlL3B4YS9weGFfbWFjaGRlcC5jCShyZXZp c2lvbiAyMTg5MTEpCisrKyBzeXMvYXJtL3hzY2FsZS9weGEvcHhhX21hY2hkZXAuYwkod29ya2lu ZyBjb3B5KQpAQCAtMTgyLDYgKzE4Miw5IEBACiAJcGNwdV9pbml0KHBjcHVwLCAwLCBzaXplb2Yo c3RydWN0IHBjcHUpKTsKIAlQQ1BVX1NFVChjdXJ0aHJlYWQsICZ0aHJlYWQwKTsKIAorCS8qIERv IGJhc2ljIHR1bmluZywgaHogZXRjICovCisJaW5pdF9wYXJhbTEoKTsKKwogCWZyZWVtZW1wb3Mg PSAweGEwMjAwMDAwOwogCS8qIERlZmluZSBhIG1hY3JvIHRvIHNpbXBsaWZ5IG1lbW9yeSBhbGxv Y2F0aW9uICovCiAjZGVmaW5lCXZhbGxvY19wYWdlcyh2YXIsIG5wKQkJCVwKQEAgLTQyNCw4ICs0 MjcsNiBAQAogCXBoeXNfYXZhaWxbMF0gPSByb3VuZF9wYWdlKHZpcnR1YWxfYXZhaWwgLSBLRVJO QkFTRSArIHBoeXNfYXZhaWxbMF0pOwogI2VuZGlmCiAKLQkvKiBEbyBiYXNpYyB0dW5pbmcsIGh6 IGV0YyAqLwotCWluaXRfcGFyYW0xKCk7CiAJaW5pdF9wYXJhbTIocGh5c21lbSk7CiAJa2RiX2lu aXQoKTsKIAlyZXR1cm4gKCh2b2lkICopKGtlcm5lbHN0YWNrLnB2X3ZhICsgVVNQQUNFX1NWQ19T VEFDS19UT1AgLQpJbmRleDogc3lzL2FybS9zM2MyeHgwL3MzYzI0eDBfbWFjaGRlcC5jCj09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT0KLS0tIHN5cy9hcm0vczNjMnh4MC9zM2MyNHgwX21hY2hkZXAuYwkocmV2aXNpb24gMjE4 OTExKQorKysgc3lzL2FybS9zM2MyeHgwL3MzYzI0eDBfbWFjaGRlcC5jCSh3b3JraW5nIGNvcHkp CkBAIC0yNTcsNiArMjU3LDkgQEAKIAlwY3B1X2luaXQocGNwdXAsIDAsIHNpemVvZihzdHJ1Y3Qg cGNwdSkpOwogCVBDUFVfU0VUKGN1cnRocmVhZCwgJnRocmVhZDApOwogCisJLyogRG8gYmFzaWMg dHVuaW5nLCBoeiBldGMgKi8KKwlpbml0X3BhcmFtMSgpOworCiAjZGVmaW5lIEtFUk5FTF9URVhU X0JBU0UgKEtFUk5CQVNFKQogCWZyZWVtZW1wb3MgPSAobGFzdGFkZHIgKyBQQUdFX01BU0spICYg flBBR0VfTUFTSzsKIAkvKiBEZWZpbmUgYSBtYWNybyB0byBzaW1wbGlmeSBtZW1vcnkgYWxsb2Nh dGlvbiAqLwpAQCAtNDM4LDggKzQ0MSw2IEBACiAJcGh5c19hdmFpbFsyXSA9IDA7CiAJcGh5c19h dmFpbFszXSA9IDA7CiAKLQkvKiBEbyBiYXNpYyB0dW5pbmcsIGh6IGV0YyAqLwotCWluaXRfcGFy YW0xKCk7CiAJaW5pdF9wYXJhbTIocGh5c21lbSk7CiAJa2RiX2luaXQoKTsKIApJbmRleDogc3lz L2FybS9hdDkxL2F0OTFfbWFjaGRlcC5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHN5cy9hcm0vYXQ5MS9hdDkx X21hY2hkZXAuYwkocmV2aXNpb24gMjE4OTExKQorKysgc3lzL2FybS9hdDkxL2F0OTFfbWFjaGRl cC5jCSh3b3JraW5nIGNvcHkpCkBAIC0yNTYsNiArMjU2LDkgQEAKIAlwY3B1X2luaXQocGNwdXAs IDAsIHNpemVvZihzdHJ1Y3QgcGNwdSkpOwogCVBDUFVfU0VUKGN1cnRocmVhZCwgJnRocmVhZDAp OwogCisJLyogRG8gYmFzaWMgdHVuaW5nLCBoeiBldGMgKi8KKwlpbml0X3BhcmFtMSgpOworCiAJ ZnJlZW1lbXBvcyA9IChsYXN0YWRkciArIFBBR0VfTUFTSykgJiB+UEFHRV9NQVNLOwogCS8qIERl ZmluZSBhIG1hY3JvIHRvIHNpbXBsaWZ5IG1lbW9yeSBhbGxvY2F0aW9uICovCiAjZGVmaW5lIHZh bGxvY19wYWdlcyh2YXIsIG5wKSAgICAgICAgICAgICAgICAgICBcCkBAIC0zMDIsOCArMzA1LDYg QEAKIAl2YWxsb2NfcGFnZXMoa2VybmVsc3RhY2ssIEtTVEFDS19QQUdFUyk7CiAJdmFsbG9jX3Bh Z2VzKG1zZ2J1ZnB2LCByb3VuZF9wYWdlKG1zZ2J1ZnNpemUpIC8gUEFHRV9TSVpFKTsKIAotCS8q IERvIGJhc2ljIHR1bmluZywgaHogZXRjICovCi0JaW5pdF9wYXJhbTEoKTsKIAkvKgogCSAqIE5v dyB3ZSBzdGFydCBjb25zdHJ1Y3Rpb24gb2YgdGhlIEwxIHBhZ2UgdGFibGUKIAkgKiBXZSBzdGFy dCBieSBtYXBwaW5nIHRoZSBMMiBwYWdlIHRhYmxlcyBpbnRvIHRoZSBMMS4K --0015175cb4442f5a2d049cc90f1e-- From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 11:56:12 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04283106566B; Mon, 21 Feb 2011 11:56:12 +0000 (UTC) (envelope-from lstewart@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E492A8FC08; Mon, 21 Feb 2011 11:56:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LBuB0d069557; Mon, 21 Feb 2011 11:56:11 GMT (envelope-from lstewart@svn.freebsd.org) Received: (from lstewart@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LBuBUa069545; Mon, 21 Feb 2011 11:56:11 GMT (envelope-from lstewart@svn.freebsd.org) Message-Id: <201102211156.p1LBuBUa069545@svn.freebsd.org> From: Lawrence Stewart Date: Mon, 21 Feb 2011 11:56:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218912 - in head/share/man: man4 man9 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 11:56:12 -0000 Author: lstewart Date: Mon Feb 21 11:56:11 2011 New Revision: 218912 URL: http://svn.freebsd.org/changeset/base/218912 Log: Final commit to round out the "Five New TCP Congestion Control Algorithms for FreeBSD" FreeBSD Foundation funded project. - Add new man pages for the modular congestion control, Khelp and Hhook frameworks (cc.4, cc.9, khelp.9 and hhook.9). - Add new man pages for each available congestion control algorithm (cc_chd.4, cc_cubic.4, cc_hd.4, cc_htcp.4, cc_newreno.4 and cc_vegas.4). - Add a new man page for the Enhanced Round Trip Time (ERTT) Khelp module (h_ertt.4). - Update the TCP (tcp.4) man page to mention the TCP_CONGESTION socket option, cross reference to cc.4 and remove references to the retired "net.inet.tcp.newreno" sysctl MIB variable. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation MFC after: 3 months Added: head/share/man/man4/cc.4 (contents, props changed) head/share/man/man4/cc_chd.4 (contents, props changed) head/share/man/man4/cc_cubic.4 (contents, props changed) head/share/man/man4/cc_hd.4 (contents, props changed) head/share/man/man4/cc_htcp.4 (contents, props changed) head/share/man/man4/cc_newreno.4 (contents, props changed) head/share/man/man4/cc_vegas.4 (contents, props changed) head/share/man/man4/h_ertt.4 (contents, props changed) head/share/man/man9/cc.9 (contents, props changed) head/share/man/man9/hhook.9 (contents, props changed) head/share/man/man9/khelp.9 (contents, props changed) Modified: head/share/man/man4/Makefile head/share/man/man4/tcp.4 head/share/man/man9/Makefile Modified: head/share/man/man4/Makefile ============================================================================== --- head/share/man/man4/Makefile Mon Feb 21 10:08:47 2011 (r218911) +++ head/share/man/man4/Makefile Mon Feb 21 11:56:11 2011 (r218912) @@ -69,6 +69,13 @@ MAN= aac.4 \ cardbus.4 \ carp.4 \ cas.4 \ + cc.4 \ + cc_chd.4 \ + cc_cubic.4 \ + cc_hd.4 \ + cc_htcp.4 \ + cc_newreno.4 \ + cc_vegas.4 \ ccd.4 \ cd.4 \ cdce.4 \ @@ -131,6 +138,7 @@ MAN= aac.4 \ gif.4 \ gpib.4 \ gre.4 \ + h_ertt.4 \ harp.4 \ hatm.4 \ hfa.4 \ Added: head/share/man/man4/cc.4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/cc.4 Mon Feb 21 11:56:11 2011 (r218912) @@ -0,0 +1,118 @@ +.\" +.\" Copyright (c) 2010-2011 The FreeBSD Foundation +.\" All rights reserved. +.\" +.\" This documentation was written at the Centre for Advanced Internet +.\" Architectures, Swinburne University, Melbourne, Australia by David Hayes and +.\" Lawrence Stewart under sponsorship from the FreeBSD Foundation. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR +.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd February 15, 2011 +.Dt cc 4 +.Os +.Sh NAME +.Nm cc +.Nd Modular congestion control +.Sh DESCRIPTION +The modular congestion control framework allows the TCP implementation to +dynamically change the congestion control algorithm used by new and existing +connections. +Algorithms are identified by a unique +.Xr ascii 7 +name. +Algorithm modules can be compiled into the kernel or loaded as kernel modules +using the +.Xr kld 4 +facility. +.Pp +The default algorithm is NewReno, and all connections use the default unless +explicitly overridden using the TCP_CONGESTION socket option (see +.Xr tcp 4 +for details). +The default can be changed using a +.Xr sysctl 3 +MIB variable detailed in the +.Sx MIB Variables +section below. +.Sh MIB Variables +The framework exposes the following variables in the +.Va net.inet.tcp.cc +branch of the +.Xr sysctl 3 +MIB: +.Bl -tag -width ".Va available" +.It Va available +Read-only list of currently available congestion control algorithms by name. +.El +.Bl -tag -width ".Va algorithm" +.It Va algorithm +Returns the current default congestion control algorithm when read, and changes +the default when set. +When attempting to change the default algorithm, this variable should be set to +one of the names listed by the +.Va net.inet.tcp.cc.available +MIB variable. +.El +.Sh SEE ALSO +.Xr cc_chd 4 , +.Xr cc_cubic 4 , +.Xr cc_hd 4 , +.Xr cc_htcp 4 , +.Xr cc_newreno 4 , +.Xr cc_vegas 4 , +.Xr tcp 4 , +.Xr cc 9 +.Sh ACKNOWLEDGEMENTS +Development and testing of this software were made possible in part by grants +from the FreeBSD Foundation and Cisco University Research Program Fund at +Community Foundation Silicon Valley. +.Sh HISTORY +The +.Nm +modular congestion control framework first appeared in +.Fx 9.0 . +.Pp +The framework was first released in 2007 by James Healy and Lawrence Stewart +whilst working on the NewTCP research project at Swinburne University's Centre +for Advanced Internet Architectures, Melbourne, Australia, which was made +possible in part by a grant from the Cisco University Research Program Fund at +Community Foundation Silicon Valley. +More details are available at: +.Pp +http://caia.swin.edu.au/urp/newtcp/ +.Sh AUTHORS +.An -nosplit +The +.Nm +facility was written by +.An Lawrence Stewart Aq lstewart@FreeBSD.org , +.An James Healy Aq jimmy@deefa.com +and +.An David Hayes Aq david.hayes@ieee.org . +.Pp +This manual page was written by +.An David Hayes Aq david.hayes@ieee.org +and +.An Lawrence Stewart Aq lstewart@FreeBSD.org . Added: head/share/man/man4/cc_chd.4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/cc_chd.4 Mon Feb 21 11:56:11 2011 (r218912) @@ -0,0 +1,127 @@ +.\" +.\" Copyright (c) 2010-2011 The FreeBSD Foundation +.\" All rights reserved. +.\" +.\" This documentation was written at the Centre for Advanced Internet +.\" Architectures, Swinburne University, Melbourne, Australia by David Hayes +.\" under sponsorship from the FreeBSD Foundation. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR +.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd February 15, 2011 +.Dt CC_CHD 4 +.Os +.Sh NAME +.Nm cc_chd +.Nd CHD Congestion Control Algorithm +.Sh DESCRIPTION +CHD enhances the HD algorithm implemented in +.Xr cc_hd 4 . +It provides tolerance to non-congestion related packet loss and improvements to +coexistence with traditional loss-based TCP flows, especially when the +bottleneck link is lightly multiplexed. +.Pp +Like HD, the algorithm aims to keep network queuing delays below a particular +threshold (queue_threshold) and decides to reduce the congestion window (cwnd) +probabilistically based on its estimate of the network queuing delay. +.Pp +It differs from HD in three key aspects: +.Bl -bullet +.It +The probability of cwnd reduction due to congestion is calculated once per round +trip time instead of each time an acknowledgement is received as done by +.Xr cc_hd 4 . +.It +Packet losses that occur while the queuing delay is less than queue_threshold +do not cause cwnd to be reduced. +.It +CHD uses a shadow window to help regain lost transmission opportunities when +competing with loss-based TCP flows. +.Sh MIB Variables +The algorithm exposes the following tunable variables in the +.Va net.inet.tcp.cc.chd +branch of the +.Xr sysctl 3 +MIB: +.Bl -tag -width ".Va queue_threshold" +.It Va queue_threshold +Queueing congestion threshold (qth) in ticks. +Default is 20. +.It Va pmax +Per RTT maximum backoff probability as a percentage. +Default is 50. +.It Va qmin +Minimum queuing delay threshold (qmin) in ticks. +Default is 5. +.It Va loss_fair +If 1, cwnd is adjusted using the shadow window when a congestion +related loss is detected. +Default is 1. +.It Va use_max +If 1, the maximum RTT seen within the measurement period is used as the basic +delay measurement for the algorithm, otherwise a sampled RTT measurement +is used. +Default is 1. +.El +.Sh SEE ALSO +.Xr cc 4 , +.Xr cc_cubic 4 , +.Xr cc_hd 4 , +.Xr cc_htcp 4 , +.Xr cc_newreno 4 , +.Xr cc_vegas 4 , +.Xr h_ertt 4 , +.Xr tcp 4 , +.Xr cc 9 , +.Xr khelp 9 +.Rs +.%A "D. A. Hayes" +.%A "G. Armitage" +.%T "Improved coexistence and loss tolerance for delay based TCP congestion control" +.%J "in 35th Annual IEEE Conference on Local Computer Networks" +.%D "October 2010" +.%P "24-31" +.Re +.Sh ACKNOWLEDGEMENTS +Development and testing of this software were made possible in part by grants +from the FreeBSD Foundation and Cisco University Research Program Fund at +Community Foundation Silicon Valley. +.Sh HISTORY +The +.Nm +congestion control module first appeared in +.Fx 9.0 . +.Pp +The module was first released in 2010 by David Hayes whilst working on the +NewTCP research project at Swinburne University's Centre for Advanced Internet +Architectures, Melbourne, Australia. +More details are available at: +.Pp +http://caia.swin.edu.au/urp/newtcp/ +.Sh AUTHORS +.An -nosplit +The +.Nm +congestion control module and this manual page were written by +.An David Hayes Aq david.hayes@ieee.org . Added: head/share/man/man4/cc_cubic.4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/cc_cubic.4 Mon Feb 21 11:56:11 2011 (r218912) @@ -0,0 +1,114 @@ +.\" +.\" Copyright (c) 2009 Lawrence Stewart +.\" Copyright (c) 2010-2011 The FreeBSD Foundation +.\" All rights reserved. +.\" +.\" Portions of this documentation were written at the Centre for Advanced +.\" Internet Architectures, Swinburne University, Melbourne, Australia by +.\" David Hayes under sponsorship from the FreeBSD Foundation. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR +.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd February 15, 2011 +.Dt CC_CUBIC 4 +.Os +.Sh NAME +.Nm cc_cubic +.Nd CUBIC Congestion Control Algorithm +.Sh DESCRIPTION +The CUBIC congestion control algorithm was designed to provide increased +throughput in fast and long-distance networks. +It attempts to maintain fairness when competing with legacy NewReno TCP in lower +speed scenarios where NewReno is able to operate adequately. +.Pp +The congestion window is increased as a function of the time elapsed since the +last congestion event. +During regular operation, the window increase function follows a cubic function, +with the inflection point set to be the congestion window value reached at the +last congestion event. +CUBIC also calculates an estimate of the congestion window that NewReno would +have achieved at a given time after a congestion event. +When updating the congestion window, the algorithm will choose the larger of the +calculated CUBIC and estimated NewReno windows. +.Pp +CUBIC also backs off less on congestion by changing the multiplicative decrease +factor from 1/2 (used by standard NewReno TCP) to 4/5. +.Pp +The implementation was done in a clean-room fashion, and is based on the +Internet Draft and paper referenced in the +.Sx SEE ALSO +section below. +.Sh MIB Variables +There are currently no tunable MIB variables. +.Sh SEE ALSO +.Xr cc 4 , +.Xr cc_chd 4 , +.Xr cc_hd 4 , +.Xr cc_htcp 4 , +.Xr cc_newreno 4 , +.Xr cc_vegas 4 , +.Xr tcp 4 , +.Xr cc 9 +.Rs +.%A "Sangtae Ha" +.%A "Injong Rhee" +.%A "Lisong Xu" +.%T "CUBIC for Fast Long-Distance Networks" +.%U "http://tools.ietf.org/id/draft-rhee-tcpm-cubic-02.txt" +.Re +.Rs +.%A "Sangtae Ha" +.%A "Injong Rhee" +.%A "Lisong Xu" +.%T "CUBIC: a new TCP-friendly high-speed TCP variant" +.%J "SIGOPS Oper. Syst. Rev." +.%V "42" +.%N "5" +.%D "July 2008" +.%P "64-74" +.Re +.Sh ACKNOWLEDGEMENTS +Development and testing of this software were made possible in part by grants +from the FreeBSD Foundation and Cisco University Research Program Fund at +Community Foundation Silicon Valley. +.Sh HISTORY +The +.Nm +congestion control module first appeared in +.Fx 9.0 . +.Pp +The module was first released in 2009 by Lawrence Stewart whilst studying at +Swinburne University's Centre for Advanced Internet Architectures, Melbourne, +Australia. +More details are available at: +.Pp +http://caia.swin.edu.au/urp/newtcp/ +.Sh AUTHORS +.An -nosplit +The +.Nm +congestion control module and this manual page were written by +.An Lawrence Stewart Aq lstewart@FreeBSD.org +and +.An David Hayes Aq david.hayes@ieee.org . Added: head/share/man/man4/cc_hd.4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/cc_hd.4 Mon Feb 21 11:56:11 2011 (r218912) @@ -0,0 +1,120 @@ +.\" +.\" Copyright (c) 2010-2011 The FreeBSD Foundation +.\" All rights reserved. +.\" +.\" This documentation was written at the Centre for Advanced Internet +.\" Architectures, Swinburne University, Melbourne, Australia by David Hayes +.\" under sponsorship from the FreeBSD Foundation. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR +.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd February 15, 2011 +.Dt CC_HD 4 +.Os +.Sh NAME +.Nm cc_hd +.Nd HD Congestion Control Algorithm +.Sh DESCRIPTION +The HD congestion control algorithm is an implementation of the Hamilton +Institute's delay-based congestion control which aims to keep network queuing +delays below a particular threshold (queue_threshold). +.Pp +HD probabilistically reduces the congestion window (cwnd) based on its estimate +of the network queuing delay. +The probability of reducing cwnd is zero at hd_qmin or less, rising to a maximum +at queue_threshold, and then back to zero at the maximum queuing delay. +.Pp +Loss-based congestion control algorithms such as NewReno probe for network +capacity by filling queues until there is a packet loss. +HD competes with loss-based congestion control algorithms by allowing its +probability of reducing cwnd to drop from a maximum at queue_threshold to be +zero at the maximum queuing delay. +This has been shown to work well when the bottleneck link is highly multiplexed. +.Sh MIB Variables +The algorithm exposes the following tunable variables in the +.Va net.inet.tcp.cc.hd +branch of the +.Xr sysctl 3 +MIB: +.Bl -tag -width ".Va queue_threshold" +.It Va queue_threshold +Queueing congestion threshold (qth) in ticks. +Default is 20. +.It Va pmax +Per packet maximum backoff probability as a percentage. +Default is 5. +.It Va qmin +Minimum queuing delay threshold (qmin) in ticks. +Default is 5. +.El +.Sh SEE ALSO +.Xr cc 4 , +.Xr cc_chd 4 , +.Xr cc_cubic 4 , +.Xr cc_htcp 4 , +.Xr cc_newreno 4 , +.Xr cc_vegas 4 , +.Xr h_ertt 4 , +.Xr tcp 4 , +.Xr cc 9 , +.Xr khelp 9 +.Rs +.%A "L. Budzisz" +.%A "R. Stanojevic" +.%A "R. Shorten" +.%A "F. Baker" +.%T "A strategy for fair coexistence of loss and delay-based congestion control algorithms" +.%J "IEEE Commun. Lett." +.%D "Jul 2009" +.%V "13" +.%N "7" +.%P "555-557" +.Re +.Sh ACKNOWLEDGEMENTS +Development and testing of this software were made possible in part by grants +from the FreeBSD Foundation and Cisco University Research Program Fund at +Community Foundation Silicon Valley. +.Sh FUTURE WORK +The Hamilton Institute have recently made some improvements to the algorithm +implemented by this module and have called it Coexistent-TCP (C-TCP). +The improvments should be evaluated and potentially incorporated into this +module. +.Sh HISTORY +The +.Nm +congestion control module first appeared in +.Fx 9.0 . +.Pp +The module was first released in 2010 by David Hayes whilst working on the +NewTCP research project at Swinburne University's Centre for Advanced Internet +Architectures, Melbourne, Australia. +More details are available at: +.Pp +http://caia.swin.edu.au/urp/newtcp/ +.Sh AUTHORS +.An -nosplit +The +.Nm +congestion control module and this manual page were written by +.An David Hayes Aq david.hayes@ieee.org . Added: head/share/man/man4/cc_htcp.4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/cc_htcp.4 Mon Feb 21 11:56:11 2011 (r218912) @@ -0,0 +1,136 @@ +.\" +.\" Copyright (c) 2008 Lawrence Stewart +.\" Copyright (c) 2010-2011 The FreeBSD Foundation +.\" All rights reserved. +.\" +.\" Portions of this documentation were written at the Centre for Advanced +.\" Internet Architectures, Swinburne University, Melbourne, Australia by +.\" David Hayes under sponsorship from the FreeBSD Foundation. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR +.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd February 15, 2011 +.Dt CC_HTCP 4 +.Os +.Sh NAME +.Nm cc_htcp +.Nd H-TCP Congestion Control Algorithm +.Sh DESCRIPTION +The H-TCP congestion control algorithm was designed to provide increased +throughput in fast and long-distance networks. +It attempts to maintain fairness when competing with legacy NewReno TCP in lower +speed scenarios where NewReno is able to operate adequately. +.Pp +The congestion window is increased as a function of the time elapsed since the +last congestion event. +The window increase algorithm operates like NewReno for the first second after a +congestion event, and then switches to a high-speed mode based on a quadratic +increase function. +.Pp +The implementation was done in a clean-room fashion, and is based on the +Internet Draft and other documents referenced in the +.Sx SEE ALSO +section below. +.Sh MIB Variables +The algorithm exposes the following tunable variables in the +.Va net.inet.tcp.cc.htcp +branch of the +.Xr sysctl 3 +MIB: +.Bl -tag -width ".Va adaptive_backoff" +.It Va adaptive_backoff +Controls use of the adaptive backoff algorithm, which is designed to keep +network queues non-empty during congestion recovery episodes. +Default is 0 (disabled). +.It Va rtt_scaling +Controls use of the RTT scaling algorithm, which is designed to make congestion +window increase during congestion avoidance mode invariant with respect to RTT. +Default is 0 (disabled). +.El +.Sh SEE ALSO +.Xr cc 4 , +.Xr cc_chd 4 , +.Xr cc_cubic 4 , +.Xr cc_hd 4 , +.Xr cc_newreno 4 , +.Xr cc_vegas 4 , +.Xr tcp 4 , +.Xr cc 9 +.Rs +.%A "D. Leith" +.%A "R. Shorten" +.%T "H-TCP: TCP Congestion Control for High Bandwidth-Delay Product Paths" +.%U "http://tools.ietf.org/id/draft-leith-tcp-htcp-06.txt" +.Re +.Rs +.%A "D. Leith" +.%A "R. Shorten" +.%A "T. Yee" +.%T "H-TCP: A framework for congestion control in high-speed and long-distance networks" +.%B "Proc. PFLDnet" +.%D "2005" +.Re +.Rs +.%A "G. Armitage" +.%A "L. Stewart" +.%A "M. Welzl" +.%A "J. Healy" +.%T "An independent H-TCP implementation under FreeBSD 7.0: description and observed behaviour" +.%J "SIGCOMM Comput. Commun. Rev." +.%V "38" +.%N "3" +.%D "July 2008" +.%P "27-38" +.Re +.Sh ACKNOWLEDGEMENTS +Development and testing of this software were made possible in part by grants +from the FreeBSD Foundation and Cisco University Research Program Fund at +Community Foundation Silicon Valley. +.Sh HISTORY +The +.Nm +congestion control module first appeared in +.Fx 9.0 . +.Pp +The module was first released in 2007 by James Healy and Lawrence Stewart whilst +working on the NewTCP research project at Swinburne University's Centre for +Advanced Internet Architectures, Melbourne, Australia, which was made possible +in part by a grant from the Cisco University Research Program Fund at Community +Foundation Silicon Valley. +More details are available at: +.Pp +http://caia.swin.edu.au/urp/newtcp/ +.Sh AUTHORS +.An -nosplit +The +.Nm +congestion control module was written by +.An James Healy Aq jimmy@deefa.com +and +.An Lawrence Stewart Aq lstewart@FreeBSD.org . +.Pp +This manual page was written by +.An Lawrence Stewart Aq lstewart@FreeBSD.org +and +.An David Hayes Aq david.hayes@ieee.org . Added: head/share/man/man4/cc_newreno.4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/cc_newreno.4 Mon Feb 21 11:56:11 2011 (r218912) @@ -0,0 +1,82 @@ +.\" +.\" Copyright (c) 2009 Lawrence Stewart +.\" Copyright (c) 2011 The FreeBSD Foundation +.\" All rights reserved. +.\" +.\" Portions of this documentation were written at the Centre for Advanced +.\" Internet Architectures, Swinburne University, Melbourne, Australia by +.\" Lawrence Stewart under sponsorship from the FreeBSD Foundation. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR +.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd February 15, 2011 +.Dt CC_NEWRENO 4 +.Os +.Sh NAME +.Nm cc_newreno +.Nd NewReno Congestion Control Algorithm +.Sh DESCRIPTION +The NewReno congestion control algorithm is the default for TCP. +Details about the algorithm can be found in RFC5681. +.Sh MIB Variables +There are currently no tunable MIB variables. +.Sh SEE ALSO +.Xr cc 4 , +.Xr cc_chd 4 , +.Xr cc_cubic 4 , +.Xr cc_hd 4 , +.Xr cc_htcp 4 , +.Xr cc_vegas 4 , +.Xr tcp 4 , +.Xr cc 9 +.Sh ACKNOWLEDGEMENTS +Development and testing of this software were made possible in part by grants +from the FreeBSD Foundation and Cisco University Research Program Fund at +Community Foundation Silicon Valley. +.Sh HISTORY +The +.Nm +congestion control algorithm first appeared in its modular form in +.Fx 9.0 . +.Pp +The module was first released in 2007 by James Healy and Lawrence Stewart whilst +working on the NewTCP research project at Swinburne University's Centre for +Advanced Internet Architectures, Melbourne, Australia, which was made possible +in part by a grant from the Cisco University Research Program Fund at Community +Foundation Silicon Valley. +More details are available at: +.Pp +http://caia.swin.edu.au/urp/newtcp/ +.Sh AUTHORS +.An -nosplit +The +.Nm +congestion control module was written by +.An James Healy Aq jimmy@deefa.com , +.An Lawrence Stewart Aq lstewart@FreeBSD.org +and +.An David Hayes Aq david.hayes@ieee.org . +.Pp +This manual page was written by +.An Lawrence Stewart Aq lstewart@FreeBSD.org . Added: head/share/man/man4/cc_vegas.4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/cc_vegas.4 Mon Feb 21 11:56:11 2011 (r218912) @@ -0,0 +1,138 @@ +.\" +.\" Copyright (c) 2010-2011 The FreeBSD Foundation +.\" All rights reserved. +.\" +.\" This documentation was written at the Centre for Advanced Internet +.\" Architectures, Swinburne University, Melbourne, Australia by David Hayes +.\" under sponsorship from the FreeBSD Foundation. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR +.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd February 15, 2011 +.Dt CC_VEGAS 4 +.Os +.Sh NAME +.Nm cc_vegas +.Nd Vegas Congestion Control Algorithm +.Sh DESCRIPTION +The Vegas congestion control algorithm uses what the authors term the actual and +expected transmission rates to determine whether there is congestion along the +network path i.e. +.Pp +.Bl -item -offset indent +.It +actual rate = (total data sent in a RTT) / RTT +.It +expected rate = cwnd / RTTmin +.It +diff = expected - actual +.El +.Pp +where RTT is the measured instantaneous round trip time and RTTmin is the +smallest round trip time observed during the connection. +.Pp +The algorithm aims to keep diff between two parameters alpha and beta, such +that: +.Pp +.Bl -item -offset indent +.It +alpha < diff < beta +.El +.Pp +If diff > beta, congestion is inferred and cwnd is decremented by one packet (or +the maximum TCP segment size). +If diff < alpha, then cwnd is incremented by one packet. +Alpha and beta govern the amount of buffering along the path. +.Pp +The implementation was done in a clean-room fashion, and is based on the +paper referenced in the +.Sx SEE ALSO +section below. +.Sh IMPLEMENTATION NOTES +The time from the transmission of a marked packet until the receipt of an +acknowledgement for that packet is measured once per RTT. +This implementation does not implement Brakmo's and Peterson's original +duplicate ACK policy since clock ticks in today's machines are not as coarse as +they were (i.e. 500ms) when Vegas was originally designed. +Note that modern TCP recovery processes such as fast retransmit and SACK are +enabled by default in the TCP stack. +.Sh MIB Variables +The algorithm exposes the following tunable variables in the +.Va net.inet.tcp.cc.vegas +branch of the +.Xr sysctl 3 +MIB: +.Bl -tag -width ".Va alpha" +.It Va alpha +Query or set the Vegas alpha parameter as a number of buffers on the path. +When setting alpha, the value must satisfy: 0 < alpha < beta. +Default is 1. +.It Va beta +Query or set the Vegas beta parameter as a number of buffers on the path. +When setting beta, the value must satisfy: 0 < alpha < beta. +Default is 3. +.El +.Sh SEE ALSO +.Xr cc 4 , +.Xr cc_chd 4 , +.Xr cc_cubic 4 , +.Xr cc_hd 4 , +.Xr cc_htcp 4 , +.Xr cc_newreno 4 , +.Xr h_ertt 4 , +.Xr tcp 4 , +.Xr cc 9 , +.Xr khelp 9 +.Rs +.%A "L. S. Brakmo" +.%A "L. L. Peterson" +.%T "TCP Vegas: end to end congestion avoidance on a global internet" +.%J "IEEE J. Sel. Areas Commun." +.%D "October 1995" +.%V "13" +.%N "8" +.%P "1465-1480" +.Re +.Sh ACKNOWLEDGEMENTS +Development and testing of this software were made possible in part by grants +from the FreeBSD Foundation and Cisco University Research Program Fund at +Community Foundation Silicon Valley. +.Sh HISTORY +The +.Nm +congestion control module first appeared in +.Fx 9.0 . +.Pp +The module was first released in 2010 by David Hayes whilst working on the +NewTCP research project at Swinburne University's Centre for Advanced Internet +Architectures, Melbourne, Australia. +More details are available at: +.Pp +http://caia.swin.edu.au/urp/newtcp/ +.Sh AUTHORS +.An -nosplit +The +.Nm +congestion control module and this manual page were written by +.An David Hayes Aq david.hayes@ieee.org . Added: head/share/man/man4/h_ertt.4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/h_ertt.4 Mon Feb 21 11:56:11 2011 (r218912) @@ -0,0 +1,143 @@ +.\" +.\" Copyright (c) 2010-2011 The FreeBSD Foundation +.\" All rights reserved. +.\" +.\" This documentation was written at the Centre for Advanced Internet +.\" Architectures, Swinburne University, Melbourne, Australia by David Hayes +.\" under sponsorship from the FreeBSD Foundation. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR +.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd February 15, 2011 +.Dt h_ertt 9 +.Os +.Sh NAME +.Nm h_ertt +.Nd Enhanced Round Trip Time Khelp module +.Sh SYNOPSIS +.In netinet/khelp/h_ertt.h +.Sh DESCRIPTION +The +.Nm +Khelp module works within the +.Xr khelp 9 +framework to provide TCP with a per-connection, low noise estimate of the +instantaneous RTT. +The implementation attempts to be robust in the face of delayed +acknowledgements, TCP Segmentation Offload (TSO), receivers who manipulate TCP +timestamps and lack of the TCP timestamp option altogether. +.Pp +TCP receivers using delayed acknowledgements either acknowledge every second packet +(reflecting the time stamp of the first) or use a timeout to trigger the +acknowledgement if no second packet arrives. +If the heuristic used by +.Nm +determines that the receiver is using delayed acknowledgements, it measures the +RTT using the second packet (the one that triggers the acknowledgement). +It does not measure the RTT if the acknowledgement is for the +first packet, since it cannot be accurately determined. +.Pp +When TSO is in use, +.Nm +will momentarily disable TSO whilst marking a packet to use for a new +measurement. +The process has negligible impact on the connection. +.Pp +.Nm +associates the following struct with each connection's TCP control block: +.Bd -literal +struct ertt { + TAILQ_HEAD(txseginfo_head, txseginfo) txsegi_q; /* Private. */ + long bytes_tx_in_rtt; /* Private. */ + long bytes_tx_in_marked_rtt; + unsigned long marked_snd_cwnd; + int rtt; + int maxrtt; + int minrtt; + int dlyack_rx; /* Private. */ + int timestamp_errors; /* Private. */ + int markedpkt_rtt; /* Private. */ + uint32_t flags; +}; +.Ed +.Pp +The fields marked as private should not be manipulated by any code outside of +the +.Nm +implementation. +The non-private fields provide the following data: +.Bl -tag -width ".Va bytes_tx_in_marked_rtt" -offset indent +.It Va bytes_tx_in_marked_rtt +The number of bytes transmitted in the +.Va markedpkt_rtt . +.It Va marked_snd_cwnd +The value of cwnd for the marked rtt measurement. +.It Va rtt +The most recent RTT measurement. +.It Va maxrtt +The longest RTT measurement that has been taken. +.It Va minrtt +The shortest RTT measurement that has been taken. +.It Va flags +The ERTT_NEW_MEASUREMENT flag will be set by the implementation when a new +measurement is available. +It is the responsibility of +.Nm +consumers to unset the flag if they wish to use it as a notification method for +new measurements. +.El +.Sh SEE ALSO +.Xr cc 4 , +.Xr cc_chd 4 , +.Xr cc_hd 4 , +.Xr cc_vegas 4 , +.Xr hhook 9 , +.Xr khelp 9 +.Sh ACKNOWLEDGEMENTS *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 13:11:06 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0653A1065672; Mon, 21 Feb 2011 13:11:06 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CE52E8FC1B; Mon, 21 Feb 2011 13:11:05 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LDB5Hq071371; Mon, 21 Feb 2011 13:11:05 GMT (envelope-from cognet@svn.freebsd.org) Received: (from cognet@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LDB5KY071367; Mon, 21 Feb 2011 13:11:05 GMT (envelope-from cognet@svn.freebsd.org) Message-Id: <201102211311.p1LDB5KY071367@svn.freebsd.org> From: Olivier Houchard Date: Mon, 21 Feb 2011 13:11:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218913 - in head/sys/arm: at91 s3c2xx0 xscale/pxa X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 13:11:06 -0000 Author: cognet Date: Mon Feb 21 13:11:05 2011 New Revision: 218913 URL: http://svn.freebsd.org/changeset/base/218913 Log: Get myself a brain, move the call to init_param1() before the first use in at91_machdep.c, and do it for the files I forgot the first time Reported by: andrew Submitted by: pluknet Modified: head/sys/arm/at91/at91_machdep.c head/sys/arm/s3c2xx0/s3c24x0_machdep.c head/sys/arm/xscale/pxa/pxa_machdep.c Modified: head/sys/arm/at91/at91_machdep.c ============================================================================== --- head/sys/arm/at91/at91_machdep.c Mon Feb 21 11:56:11 2011 (r218912) +++ head/sys/arm/at91/at91_machdep.c Mon Feb 21 13:11:05 2011 (r218913) @@ -256,6 +256,9 @@ initarm(void *arg, void *arg2) pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); + /* Do basic tuning, hz etc */ + init_param1(); + freemempos = (lastaddr + PAGE_MASK) & ~PAGE_MASK; /* Define a macro to simplify memory allocation */ #define valloc_pages(var, np) \ @@ -302,8 +305,6 @@ initarm(void *arg, void *arg2) valloc_pages(kernelstack, KSTACK_PAGES); valloc_pages(msgbufpv, round_page(msgbufsize) / PAGE_SIZE); - /* Do basic tuning, hz etc */ - init_param1(); /* * Now we start construction of the L1 page table * We start by mapping the L2 page tables into the L1. Modified: head/sys/arm/s3c2xx0/s3c24x0_machdep.c ============================================================================== --- head/sys/arm/s3c2xx0/s3c24x0_machdep.c Mon Feb 21 11:56:11 2011 (r218912) +++ head/sys/arm/s3c2xx0/s3c24x0_machdep.c Mon Feb 21 13:11:05 2011 (r218913) @@ -257,6 +257,9 @@ initarm(void *arg, void *arg2) pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); + /* Do basic tuning, hz etc */ + init_param1(); + #define KERNEL_TEXT_BASE (KERNBASE) freemempos = (lastaddr + PAGE_MASK) & ~PAGE_MASK; /* Define a macro to simplify memory allocation */ @@ -438,8 +441,6 @@ initarm(void *arg, void *arg2) phys_avail[2] = 0; phys_avail[3] = 0; - /* Do basic tuning, hz etc */ - init_param1(); init_param2(physmem); kdb_init(); Modified: head/sys/arm/xscale/pxa/pxa_machdep.c ============================================================================== --- head/sys/arm/xscale/pxa/pxa_machdep.c Mon Feb 21 11:56:11 2011 (r218912) +++ head/sys/arm/xscale/pxa/pxa_machdep.c Mon Feb 21 13:11:05 2011 (r218913) @@ -182,6 +182,9 @@ initarm(void *arg, void *arg2) pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); + /* Do basic tuning, hz etc */ + init_param1(); + freemempos = 0xa0200000; /* Define a macro to simplify memory allocation */ #define valloc_pages(var, np) \ @@ -424,8 +427,6 @@ initarm(void *arg, void *arg2) phys_avail[0] = round_page(virtual_avail - KERNBASE + phys_avail[0]); #endif - /* Do basic tuning, hz etc */ - init_param1(); init_param2(physmem); kdb_init(); return ((void *)(kernelstack.pv_va + USPACE_SVC_STACK_TOP - From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 13:22:29 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86517106566C; Mon, 21 Feb 2011 13:22:29 +0000 (UTC) (envelope-from lstewart@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 74F318FC18; Mon, 21 Feb 2011 13:22:29 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LDMT2T071673; Mon, 21 Feb 2011 13:22:29 GMT (envelope-from lstewart@svn.freebsd.org) Received: (from lstewart@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LDMTC0071670; Mon, 21 Feb 2011 13:22:29 GMT (envelope-from lstewart@svn.freebsd.org) Message-Id: <201102211322.p1LDMTC0071670@svn.freebsd.org> From: Lawrence Stewart Date: Mon, 21 Feb 2011 13:22:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218914 - in head: etc/mtree share/examples X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 13:22:29 -0000 Author: lstewart Date: Mon Feb 21 13:22:29 2011 New Revision: 218914 URL: http://svn.freebsd.org/changeset/base/218914 Log: Actually install the example Khelp module committed in r218545. Sponsored by: FreeBSD Foundation MFC after: 4 weeks X-MFC with: r218545 Modified: head/etc/mtree/BSD.usr.dist head/share/examples/Makefile Modified: head/etc/mtree/BSD.usr.dist ============================================================================== --- head/etc/mtree/BSD.usr.dist Mon Feb 21 13:11:05 2011 (r218913) +++ head/etc/mtree/BSD.usr.dist Mon Feb 21 13:22:29 2011 (r218914) @@ -244,6 +244,8 @@ fwimage .. .. + khelp + .. syscall module .. Modified: head/share/examples/Makefile ============================================================================== --- head/share/examples/Makefile Mon Feb 21 13:11:05 2011 (r218913) +++ head/share/examples/Makefile Mon Feb 21 13:22:29 2011 (r218914) @@ -100,6 +100,9 @@ XFILES= BSD_daemon/FreeBSD.pfa \ kld/firmware/fwconsumer/fw_consumer.c \ kld/firmware/fwimage/Makefile \ kld/firmware/fwimage/firmware.img \ + kld/khelp/Makefile \ + kld/khelp/README \ + kld/khelp/h_example.c \ kld/syscall/Makefile \ kld/syscall/module/Makefile \ kld/syscall/module/syscall.c \ From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 14:23:16 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FD8E106566B; Mon, 21 Feb 2011 14:23:16 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15]) by mx1.freebsd.org (Postfix) with ESMTP id 193408FC16; Mon, 21 Feb 2011 14:23:15 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71) (envelope-from ) id 1PrWLg-0005UY-DO; Mon, 21 Feb 2011 17:02:48 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id ACD22B84D; Mon, 21 Feb 2011 17:02:47 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 996DFB823; Mon, 21 Feb 2011 17:02:47 +0300 (MSK) Date: Mon, 21 Feb 2011 17:02:47 +0300 From: Dmitry Marakasov To: Martin Matuska Message-ID: <20110221140247.GA67440@hades.panopticon> References: <201102202232.p1KMWLKo047088@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201102202232.p1KMWLKo047088@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218896 - in head/share: examples/etc mk X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 14:23:16 -0000 * Martin Matuska (mm@FreeBSD.org) wrote: > Log: > Add opteron-sse3, athlon64-sse3 and k8-sse3 cpu types to bsd.cpu.mk. > - add "sse3" to MACHINE_CPU for the new cpu types > - for i386, default to CPUTYPE=prescott for the new cpu types Any chance for a same thing for intel CPUs? prescott-sse3? -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 14:28:32 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 410DC1065673; Mon, 21 Feb 2011 14:28:32 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2E9F38FC08; Mon, 21 Feb 2011 14:28:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LESWjw073220; Mon, 21 Feb 2011 14:28:32 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LESWui073217; Mon, 21 Feb 2011 14:28:32 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201102211428.p1LESWui073217@svn.freebsd.org> From: Nathan Whitehorn Date: Mon, 21 Feb 2011 14:28:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218915 - in head/usr.sbin/bsdinstall: distextract distfetch X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 14:28:32 -0000 Author: nwhitehorn Date: Mon Feb 21 14:28:31 2011 New Revision: 218915 URL: http://svn.freebsd.org/changeset/base/218915 Log: Add some error checking on the return values of chdir() and calloc(). The first might actually happen, so it displays the error message in a prettier way. Found by: Coverity Prevent(tm) CID: 9121, 9122, 9123, 9124 Modified: head/usr.sbin/bsdinstall/distextract/distextract.c head/usr.sbin/bsdinstall/distfetch/distfetch.c Modified: head/usr.sbin/bsdinstall/distextract/distextract.c ============================================================================== --- head/usr.sbin/bsdinstall/distextract/distextract.c Mon Feb 21 13:22:29 2011 (r218914) +++ head/usr.sbin/bsdinstall/distextract/distextract.c Mon Feb 21 14:28:31 2011 (r218915) @@ -46,12 +46,31 @@ main(void) ndists++; /* Last one */ dists = calloc(ndists, sizeof(const char *)); + if (dists == NULL) { + fprintf(stderr, "Out of memory!\n"); + return (1); + } + for (i = 0; i < ndists; i++) dists[i] = strsep(&diststring, " \t"); - chdir(getenv("BSDINSTALL_CHROOT")); + init_dialog(stdin, stdout); + dialog_vars.backtitle = __DECONST(char *, "FreeBSD Installer"); + dlg_put_backtitle(); + + if (chdir(getenv("BSDINSTALL_CHROOT")) != 0) { + char error[512]; + sprintf(error, "Could could change to directory %s: %s\n", + getenv("BSDINSTALL_DISTDIR"), strerror(errno)); + dialog_msgbox("Error", error, 0, 0, TRUE); + end_dialog(); + return (1); + } + retval = extract_files(ndists, dists); + end_dialog(); + free(diststring); free(dists); @@ -84,9 +103,6 @@ extract_files(int nfiles, const char **f items[i*2 + 1] = "Pending"; } - init_dialog(stdin, stdout); - dialog_vars.backtitle = __DECONST(char *, "FreeBSD Installer"); - dlg_put_backtitle(); dialog_msgbox("", "Checking distribution archives.\nPlease wait...", 0, 0, FALSE); @@ -105,7 +121,7 @@ extract_files(int nfiles, const char **f items[i*2 + 1] = "Failed"; dialog_msgbox("Extract Error", errormsg, 0, 0, TRUE); - goto exit; + return (err); } archive_files[i] = 0; while (archive_read_next_header(archive, &entry) == ARCHIVE_OK) @@ -162,15 +178,11 @@ extract_files(int nfiles, const char **f items[i*2 + 1] = "Failed"; dialog_msgbox("Extract Error", errormsg, 0, 0, TRUE); - goto exit; + return (err); } archive_read_free(archive); } - err = 0; -exit: - end_dialog(); - - return (err); + return (0); } Modified: head/usr.sbin/bsdinstall/distfetch/distfetch.c ============================================================================== --- head/usr.sbin/bsdinstall/distfetch/distfetch.c Mon Feb 21 13:22:29 2011 (r218914) +++ head/usr.sbin/bsdinstall/distfetch/distfetch.c Mon Feb 21 14:28:31 2011 (r218915) @@ -46,15 +46,34 @@ main(void) ndists++; /* Last one */ urls = calloc(ndists, sizeof(const char *)); + if (urls == NULL) { + fprintf(stderr, "Out of memory!\n"); + return (1); + } + + init_dialog(stdin, stdout); + dialog_vars.backtitle = __DECONST(char *, "FreeBSD Installer"); + dlg_put_backtitle(); + for (i = 0; i < ndists; i++) { urls[i] = malloc(PATH_MAX); sprintf(urls[i], "%s/%s", getenv("BSDINSTALL_DISTSITE"), strsep(&diststring, " \t")); } - chdir(getenv("BSDINSTALL_DISTDIR")); + if (chdir(getenv("BSDINSTALL_DISTDIR")) != 0) { + char error[512]; + sprintf(error, "Could could change to directory %s: %s\n", + getenv("BSDINSTALL_DISTDIR"), strerror(errno)); + dialog_msgbox("Error", error, 0, 0, TRUE); + end_dialog(); + return (1); + } + nfetched = fetch_files(ndists, urls); + end_dialog(); + free(diststring); for (i = 0; i < ndists; i++) free(urls[i]); @@ -81,6 +100,11 @@ fetch_files(int nfiles, char **urls) /* Make the transfer list for dialog */ items = calloc(sizeof(char *), nfiles * 2); + if (items == NULL) { + fprintf(stderr, "Out of memory!\n"); + return (-1); + } + for (i = 0; i < nfiles; i++) { items[i*2] = strrchr(urls[i], '/'); if (items[i*2] != NULL) @@ -90,10 +114,6 @@ fetch_files(int nfiles, char **urls) items[i*2 + 1] = "Pending"; } - init_dialog(stdin, stdout); - dialog_vars.backtitle = __DECONST(char *, "FreeBSD Installer"); - dlg_put_backtitle(); - dialog_msgbox("", "Connecting to server.\nPlease wait...", 0, 0, FALSE); /* Try to stat all the files */ @@ -180,8 +200,8 @@ fetch_files(int nfiles, char **urls) fclose(fetch_out); fclose(file_out); } - end_dialog(); free(items); return (nsuccess); } + From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 15:49:59 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD03F106566B; Mon, 21 Feb 2011 15:49:59 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A16F38FC0A; Mon, 21 Feb 2011 15:49:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LFnxPe075014; Mon, 21 Feb 2011 15:49:59 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LFnx0H075012; Mon, 21 Feb 2011 15:49:59 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201102211549.p1LFnx0H075012@svn.freebsd.org> From: Adrian Chadd Date: Mon, 21 Feb 2011 15:49:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218916 - head/sys/net80211 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 15:49:59 -0000 Author: adrian Date: Mon Feb 21 15:49:59 2011 New Revision: 218916 URL: http://svn.freebsd.org/changeset/base/218916 Log: Default to the lowest negotiated rate for mgmt/multicast traffic in 11n mode The current code transmits management and multicast frames at MCS 0. What it should do is check whether the negotiated basic set is zero (and the MCS set is not) before making this decision. For now, simply default to the lowest negotiated rate, rather than MCS 0. This fixes the behaviour with at least the DLINK DIR-825, which ACKs but silently ignores block-ack (BA) response frames. Modified: head/sys/net80211/ieee80211_proto.c Modified: head/sys/net80211/ieee80211_proto.c ============================================================================== --- head/sys/net80211/ieee80211_proto.c Mon Feb 21 14:28:31 2011 (r218915) +++ head/sys/net80211/ieee80211_proto.c Mon Feb 21 15:49:59 2011 (r218916) @@ -207,6 +207,21 @@ ieee80211_proto_vattach(struct ieee80211 const struct ieee80211_rateset *rs = &ic->ic_sup_rates[i]; vap->iv_txparms[i].ucastrate = IEEE80211_FIXED_RATE_NONE; + + /* + * Setting the management rate to MCS 0 assumes that the + * BSS Basic rate set is empty and the BSS Basic MCS set + * is not. + * + * Since we're not checking this, default to the lowest + * defined rate for this mode. + * + * At least one 11n AP (DLINK DIR-825) is reported to drop + * some MCS management traffic (eg BA response frames.) + * + * See also: 9.6.0 of the 802.11n-2009 specification. + */ +#ifdef NOTYET if (i == IEEE80211_MODE_11NA || i == IEEE80211_MODE_11NG) { vap->iv_txparms[i].mgmtrate = 0 | IEEE80211_RATE_MCS; vap->iv_txparms[i].mcastrate = 0 | IEEE80211_RATE_MCS; @@ -216,6 +231,9 @@ ieee80211_proto_vattach(struct ieee80211 vap->iv_txparms[i].mcastrate = rs->rs_rates[0] & IEEE80211_RATE_VAL; } +#endif + vap->iv_txparms[i].mgmtrate = rs->rs_rates[0] & IEEE80211_RATE_VAL; + vap->iv_txparms[i].mcastrate = rs->rs_rates[0] & IEEE80211_RATE_VAL; vap->iv_txparms[i].maxretry = IEEE80211_TXMAX_DEFAULT; } vap->iv_roaming = IEEE80211_ROAMING_AUTO; From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 16:03:40 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43D2A106564A; Mon, 21 Feb 2011 16:03:40 +0000 (UTC) (envelope-from pluknet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 328D88FC1E; Mon, 21 Feb 2011 16:03:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LG3e3S075361; Mon, 21 Feb 2011 16:03:40 GMT (envelope-from pluknet@svn.freebsd.org) Received: (from pluknet@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LG3erJ075359; Mon, 21 Feb 2011 16:03:40 GMT (envelope-from pluknet@svn.freebsd.org) Message-Id: <201102211603.p1LG3erJ075359@svn.freebsd.org> From: Sergey Kandaurov Date: Mon, 21 Feb 2011 16:03:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218917 - head/bin/kenv X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 16:03:40 -0000 Author: pluknet Date: Mon Feb 21 16:03:39 2011 New Revision: 218917 URL: http://svn.freebsd.org/changeset/base/218917 Log: mdoc(7) markup. Approved by: avg (mentor), kib (mentor) MFC after: 3 days Modified: head/bin/kenv/kenv.1 Modified: head/bin/kenv/kenv.1 ============================================================================== --- head/bin/kenv/kenv.1 Mon Feb 21 15:49:59 2011 (r218916) +++ head/bin/kenv/kenv.1 Mon Feb 21 16:03:39 2011 (r218917) @@ -69,7 +69,7 @@ option is set, warnings normally printed perform the requested operation will be suppressed. .Pp Variables can be added to the kernel environment using the -.Xr /boot/loader.conf +.Pa /boot/loader.conf file, or also statically compiled into the kernel using the statement .Pp .Dl Ic env Ar filename From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 16:21:43 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA985106564A; Mon, 21 Feb 2011 16:21:43 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9EAE68FC1C; Mon, 21 Feb 2011 16:21:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LGLhql075880; Mon, 21 Feb 2011 16:21:43 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LGLhsF075878; Mon, 21 Feb 2011 16:21:43 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102211621.p1LGLhsF075878@svn.freebsd.org> From: Bruce Cran Date: Mon, 21 Feb 2011 16:21:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218918 - head/sys/crypto/sha2 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 16:21:43 -0000 Author: brucec Date: Mon Feb 21 16:21:43 2011 New Revision: 218918 URL: http://svn.freebsd.org/changeset/base/218918 Log: Make private functions static. PR: kern/43611 Submitted by: Matt Emmerton Reviewed by: kib MFC after: 3 days Modified: head/sys/crypto/sha2/sha2.c Modified: head/sys/crypto/sha2/sha2.c ============================================================================== --- head/sys/crypto/sha2/sha2.c Mon Feb 21 16:03:39 2011 (r218917) +++ head/sys/crypto/sha2/sha2.c Mon Feb 21 16:21:43 2011 (r218918) @@ -206,9 +206,9 @@ typedef u_int64_t sha2_word64; /* Exactl * library -- they are intended for private internal visibility/use * only. */ -void SHA512_Last(SHA512_CTX*); -void SHA256_Transform(SHA256_CTX*, const sha2_word32*); -void SHA512_Transform(SHA512_CTX*, const sha2_word64*); +static void SHA512_Last(SHA512_CTX*); +static void SHA256_Transform(SHA256_CTX*, const sha2_word32*); +static void SHA512_Transform(SHA512_CTX*, const sha2_word64*); /*** SHA-XYZ INITIAL HASH VALUES AND CONSTANTS ************************/ @@ -366,7 +366,7 @@ void SHA256_Init(SHA256_CTX* context) { (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \ j++ -void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { +static void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { sha2_word32 a, b, c, d, e, f, g, h, s0, s1; sha2_word32 T1, *W256; int j; @@ -424,7 +424,7 @@ void SHA256_Transform(SHA256_CTX* contex #else /* SHA2_UNROLL_TRANSFORM */ -void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { +static void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { sha2_word32 a, b, c, d, e, f, g, h, s0, s1; sha2_word32 T1, T2, *W256; int j; @@ -693,7 +693,7 @@ void SHA512_Init(SHA512_CTX* context) { (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \ j++ -void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { +static void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { sha2_word64 a, b, c, d, e, f, g, h, s0, s1; sha2_word64 T1, *W512 = (sha2_word64*)context->buffer; int j; @@ -748,7 +748,7 @@ void SHA512_Transform(SHA512_CTX* contex #else /* SHA2_UNROLL_TRANSFORM */ -void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { +static void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { sha2_word64 a, b, c, d, e, f, g, h, s0, s1; sha2_word64 T1 = 0, T2 = 0, *W512 = (sha2_word64*)context->buffer; int j; @@ -874,7 +874,7 @@ void SHA512_Update(SHA512_CTX* context, usedspace = freespace = 0; } -void SHA512_Last(SHA512_CTX* context) { +static void SHA512_Last(SHA512_CTX* context) { unsigned int usedspace; usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 16:30:27 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2EC3106566B; Mon, 21 Feb 2011 16:30:27 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A0E3B8FC26; Mon, 21 Feb 2011 16:30:27 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LGURtL076216; Mon, 21 Feb 2011 16:30:27 GMT (envelope-from jh@svn.freebsd.org) Received: (from jh@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LGURlt076214; Mon, 21 Feb 2011 16:30:27 GMT (envelope-from jh@svn.freebsd.org) Message-Id: <201102211630.p1LGURlt076214@svn.freebsd.org> From: Jaakko Heinonen Date: Mon, 21 Feb 2011 16:30:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218919 - stable/8/sys/geom/label X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 16:30:27 -0000 Author: jh Date: Mon Feb 21 16:30:27 2011 New Revision: 218919 URL: http://svn.freebsd.org/changeset/base/218919 Log: MFC r216098: - Report an error when a label with invalid name is attempted to be created with glabel(8). - Fix a typo in an error message. - Fix comment typos. Modified: stable/8/sys/geom/label/g_label.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/geom/label/g_label.c ============================================================================== --- stable/8/sys/geom/label/g_label.c Mon Feb 21 16:21:43 2011 (r218918) +++ stable/8/sys/geom/label/g_label.c Mon Feb 21 16:30:27 2011 (r218919) @@ -124,13 +124,13 @@ g_label_is_name_ok(const char *label) { const char *s; - /* Check is the label starts from ../ */ + /* Check if the label starts from ../ */ if (strncmp(label, "../", 3) == 0) return (0); - /* Check is the label contains /../ */ + /* Check if the label contains /../ */ if (strstr(label, "/../") != NULL) return (0); - /* Check is the label ends at ../ */ + /* Check if the label ends at ../ */ if ((s = strstr(label, "/..")) != NULL && s[3] == '\0') return (0); return (1); @@ -151,6 +151,8 @@ g_label_create(struct gctl_req *req, str G_LABEL_DEBUG(0, "%s contains suspicious label, skipping.", pp->name); G_LABEL_DEBUG(1, "%s suspicious label is: %s", pp->name, label); + if (req != NULL) + gctl_error(req, "Label name %s is invalid.", label); return (NULL); } gp = NULL; @@ -346,7 +348,7 @@ g_label_ctl_create(struct gctl_req *req, return; } if (*nargs != 2) { - gctl_error(req, "Invalid number of argument."); + gctl_error(req, "Invalid number of arguments."); return; } /* From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 16:33:01 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68FA31065673; Mon, 21 Feb 2011 16:33:01 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 568FB8FC17; Mon, 21 Feb 2011 16:33:01 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LGX1Ui076318; Mon, 21 Feb 2011 16:33:01 GMT (envelope-from jh@svn.freebsd.org) Received: (from jh@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LGX1wY076316; Mon, 21 Feb 2011 16:33:01 GMT (envelope-from jh@svn.freebsd.org) Message-Id: <201102211633.p1LGX1wY076316@svn.freebsd.org> From: Jaakko Heinonen Date: Mon, 21 Feb 2011 16:33:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218920 - stable/7/sys/geom/label X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 16:33:01 -0000 Author: jh Date: Mon Feb 21 16:33:01 2011 New Revision: 218920 URL: http://svn.freebsd.org/changeset/base/218920 Log: MFC r216098: - Report an error when a label with invalid name is attempted to be created with glabel(8). - Fix a typo in an error message. - Fix comment typos. Modified: stable/7/sys/geom/label/g_label.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/geom/label/g_label.c ============================================================================== --- stable/7/sys/geom/label/g_label.c Mon Feb 21 16:30:27 2011 (r218919) +++ stable/7/sys/geom/label/g_label.c Mon Feb 21 16:33:01 2011 (r218920) @@ -123,13 +123,13 @@ g_label_is_name_ok(const char *label) { const char *s; - /* Check is the label starts from ../ */ + /* Check if the label starts from ../ */ if (strncmp(label, "../", 3) == 0) return (0); - /* Check is the label contains /../ */ + /* Check if the label contains /../ */ if (strstr(label, "/../") != NULL) return (0); - /* Check is the label ends at ../ */ + /* Check if the label ends at ../ */ if ((s = strstr(label, "/..")) != NULL && s[3] == '\0') return (0); return (1); @@ -150,6 +150,8 @@ g_label_create(struct gctl_req *req, str G_LABEL_DEBUG(0, "%s contains suspicious label, skipping.", pp->name); G_LABEL_DEBUG(1, "%s suspicious label is: %s", pp->name, label); + if (req != NULL) + gctl_error(req, "Label name %s is invalid.", label); return (NULL); } gp = NULL; @@ -339,7 +341,7 @@ g_label_ctl_create(struct gctl_req *req, return; } if (*nargs != 2) { - gctl_error(req, "Invalid number of argument."); + gctl_error(req, "Invalid number of arguments."); return; } /* From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 16:47:13 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6349B10656AA; Mon, 21 Feb 2011 16:47:13 +0000 (UTC) (envelope-from trhodes@FreeBSD.org) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by mx1.freebsd.org (Postfix) with ESMTP id 3F1728FC20; Mon, 21 Feb 2011 16:47:13 +0000 (UTC) Received: from homiemail-a31.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by hapkido.dreamhost.com (Postfix) with ESMTP id 1A1081780E7; Mon, 21 Feb 2011 08:14:45 -0800 (PST) Received: from homiemail-a31.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a31.g.dreamhost.com (Postfix) with ESMTP id DCC5C202022; Mon, 21 Feb 2011 08:14:44 -0800 (PST) Received: from fbsdlab.fbsdsecure.org (c-98-231-183-112.hsd1.va.comcast.net [98.231.183.112]) (Authenticated sender: trhodes@fbsdsecure.org) by homiemail-a31.g.dreamhost.com (Postfix) with ESMTPA id 7C33C20203C; Mon, 21 Feb 2011 08:14:43 -0800 (PST) Date: Mon, 21 Feb 2011 11:14:48 -0500 From: Tom Rhodes To: Doug Barton Message-Id: <20110221111448.575858b0.trhodes@FreeBSD.org> In-Reply-To: <4D6051D0.8050704@dougbarton.us> References: <201102131818.p1DIIuLL046962@svn.freebsd.org> <201102192007.32979.bruce@cran.org.uk> <4D6051D0.8050704@dougbarton.us> X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: unixmania@gmail.com, bruce@cran.org.uk, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r218650 - head/games/fortune/datfiles X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 16:47:13 -0000 On Sat, 19 Feb 2011 15:27:12 -0800 Doug Barton wrote: > On 02/19/2011 15:12, Carlos A. M. dos Santos wrote: > > On Sat, Feb 19, 2011 at 6:07 PM, Bruce Cran wrote: > >> On Saturday 19 February 2011 17:25:32 Carlos A. M. dos Santos wrote: > >> > >>> Did anybody complain about this? If not, would you mid either revert > >>> this commit or just go ahead and move all "potentially" offensive > >>> jokes to fortunes-o? Anything from Grouch Marx or Mark Twain will > >>> probably qualify. > >> > >> I'm happy to revert the checkin if you think the fortune should be in the main > >> file, since it appears the PR submitter was complaining just as much about > >> being unprofessional as offensive. Would you like me to go ahead and revert > >> the move? > > > > I suggest you to revert the commit > > Serious overkill, particularly since: > 1. The commit has already been MFC'ed, and > 2. The fortune in question actually _is_ potentially offensive > ... $ man fortune ... WARNING: Integrating fortune and your email will cause wide spread whining, crying, or panic which may or may not result in a lecture about how someone else is morally superior to yourself. By integrating this program into your email client, you are accepting the risk of not being pc-enough for your peers (ones that you would probably never have a beer with). -- Tom Rhodes From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 16:55:54 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52BD6106566C; Mon, 21 Feb 2011 16:55:54 +0000 (UTC) (envelope-from ken@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 40A2B8FC14; Mon, 21 Feb 2011 16:55:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LGtsQj076946; Mon, 21 Feb 2011 16:55:54 GMT (envelope-from ken@svn.freebsd.org) Received: (from ken@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LGtsk5076942; Mon, 21 Feb 2011 16:55:54 GMT (envelope-from ken@svn.freebsd.org) Message-Id: <201102211655.p1LGtsk5076942@svn.freebsd.org> From: "Kenneth D. Merry" Date: Mon, 21 Feb 2011 16:55:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218921 - stable/8/sys/dev/mps X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 16:55:54 -0000 Author: ken Date: Mon Feb 21 16:55:53 2011 New Revision: 218921 URL: http://svn.freebsd.org/changeset/base/218921 Log: MFC: r218811: In the MPS driver, during device removal processing, don't assume that the controller firmware will return all of our commands. Instead, keep track of outstanding I/Os and return them to CAM once device removal processing completes. mpsvar.h: Declare the new "io_list" in the mps_softc. mps.c: Initialize the new "io_list" in the mps softc. mps_sas.c: o Track SCSI I/O requests on the io_list from the time of mpssas_action() through mpssas_scsiio_complete(). o Zero out the request structures used for device removal commands prior to filling them out. o Once the target reset task management function completes during device removal processing, assume any SCSI I/O commands that are still oustanding will never return from the controller, and process them manually. Submitted by: gibbs Modified: stable/8/sys/dev/mps/mps.c stable/8/sys/dev/mps/mps_sas.c stable/8/sys/dev/mps/mpsvar.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/dev/mps/mps.c ============================================================================== --- stable/8/sys/dev/mps/mps.c Mon Feb 21 16:33:01 2011 (r218920) +++ stable/8/sys/dev/mps/mps.c Mon Feb 21 16:55:53 2011 (r218921) @@ -898,6 +898,7 @@ mps_attach(struct mps_softc *sc) TAILQ_INIT(&sc->req_list); TAILQ_INIT(&sc->chain_list); TAILQ_INIT(&sc->tm_list); + TAILQ_INIT(&sc->io_list); if (((error = mps_alloc_queues(sc)) != 0) || ((error = mps_alloc_replies(sc)) != 0) || Modified: stable/8/sys/dev/mps/mps_sas.c ============================================================================== --- stable/8/sys/dev/mps/mps_sas.c Mon Feb 21 16:33:01 2011 (r218920) +++ stable/8/sys/dev/mps/mps_sas.c Mon Feb 21 16:55:53 2011 (r218921) @@ -486,7 +486,10 @@ mpssas_prepare_remove(struct mpssas_soft return; } + mps_dprint(sc, MPS_INFO, "Preparing to remove target %d\n", targ->tid); + req = (MPI2_SCSI_TASK_MANAGE_REQUEST *)cm->cm_req; + memset(req, 0, sizeof(*req)); req->DevHandle = targ->handle; req->Function = MPI2_FUNCTION_SCSI_TASK_MGMT; req->TaskType = MPI2_SCSITASKMGMT_TASKTYPE_TARGET_RESET; @@ -507,6 +510,7 @@ mpssas_remove_device(struct mps_softc *s MPI2_SCSI_TASK_MANAGE_REPLY *reply; MPI2_SAS_IOUNIT_CONTROL_REQUEST *req; struct mpssas_target *targ; + struct mps_command *next_cm; uint16_t handle; mps_dprint(sc, MPS_TRACE, "%s\n", __func__); @@ -523,11 +527,13 @@ mpssas_remove_device(struct mps_softc *s return; } - mps_printf(sc, "Reset aborted %d commands\n", reply->TerminationCount); + mps_dprint(sc, MPS_INFO, "Reset aborted %u commands\n", + reply->TerminationCount); mps_free_reply(sc, cm->cm_reply_data); /* Reuse the existing command */ req = (MPI2_SAS_IOUNIT_CONTROL_REQUEST *)cm->cm_req; + memset(req, 0, sizeof(*req)); req->Function = MPI2_FUNCTION_SAS_IO_UNIT_CONTROL; req->Operation = MPI2_SAS_OP_REMOVE_DEVICE; req->DevHandle = handle; @@ -539,6 +545,17 @@ mpssas_remove_device(struct mps_softc *s mps_map_command(sc, cm); mps_dprint(sc, MPS_INFO, "clearing target handle 0x%04x\n", handle); + TAILQ_FOREACH_SAFE(cm, &sc->io_list, cm_link, next_cm) { + union ccb *ccb; + + if (cm->cm_targ->handle != handle) + continue; + + mps_dprint(sc, MPS_INFO, "Completing missed command %p\n", cm); + ccb = cm->cm_complete_data; + ccb->ccb_h.status = CAM_DEV_NOT_THERE; + mpssas_scsiio_complete(sc, cm); + } targ = mpssas_find_target(sc->sassc, 0, handle); if (targ != NULL) { targ->handle = 0x0; @@ -1430,6 +1447,7 @@ mpssas_action_scsiio(struct mpssas_softc cm->cm_complete_data = ccb; cm->cm_targ = targ; + TAILQ_INSERT_TAIL(&sc->io_list, cm, cm_link); callout_reset(&cm->cm_callout, (ccb->ccb_h.timeout * hz) / 1000, mpssas_scsiio_timeout, cm); @@ -1449,6 +1467,7 @@ mpssas_scsiio_complete(struct mps_softc mps_dprint(sc, MPS_TRACE, "%s\n", __func__); callout_stop(&cm->cm_callout); + TAILQ_REMOVE(&sc->io_list, cm, cm_link); sassc = sc->sassc; ccb = cm->cm_complete_data; @@ -1470,8 +1489,10 @@ mpssas_scsiio_complete(struct mps_softc /* Take the fast path to completion */ if (cm->cm_reply == NULL) { - ccb->ccb_h.status = CAM_REQ_CMP; - ccb->csio.scsi_status = SCSI_STATUS_OK; + if ((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_INPROG) { + ccb->ccb_h.status = CAM_REQ_CMP; + ccb->csio.scsi_status = SCSI_STATUS_OK; + } mps_free_command(sc, cm); xpt_done(ccb); return; Modified: stable/8/sys/dev/mps/mpsvar.h ============================================================================== --- stable/8/sys/dev/mps/mpsvar.h Mon Feb 21 16:33:01 2011 (r218920) +++ stable/8/sys/dev/mps/mpsvar.h Mon Feb 21 16:55:53 2011 (r218921) @@ -133,6 +133,7 @@ struct mps_softc { TAILQ_HEAD(, mps_command) req_list; TAILQ_HEAD(, mps_chain) chain_list; TAILQ_HEAD(, mps_command) tm_list; + TAILQ_HEAD(, mps_command) io_list; int replypostindex; int replyfreeindex; From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 18:11:56 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA71810656B0; Mon, 21 Feb 2011 18:11:56 +0000 (UTC) (envelope-from ken@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9720F8FC0C; Mon, 21 Feb 2011 18:11:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LIBu3h078772; Mon, 21 Feb 2011 18:11:56 GMT (envelope-from ken@svn.freebsd.org) Received: (from ken@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LIBuGu078768; Mon, 21 Feb 2011 18:11:56 GMT (envelope-from ken@svn.freebsd.org) Message-Id: <201102211811.p1LIBuGu078768@svn.freebsd.org> From: "Kenneth D. Merry" Date: Mon, 21 Feb 2011 18:11:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218922 - stable/8/sys/dev/mps X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 18:11:56 -0000 Author: ken Date: Mon Feb 21 18:11:56 2011 New Revision: 218922 URL: http://svn.freebsd.org/changeset/base/218922 Log: MFC: r218812 Fix several issues with the mps(4) driver. When the driver ran out of DMA chaining buffers, it kept the timeout for the I/O, and I/O would stall. The driver was not freezing the device queue on errors. mps.c: Pull command completion logic into a separate function, and call the callback/wakeup for commands that are never sent due to lack of chain buffers. Add a number of extra diagnostic sysctl variables. Handle pre-hardware errors for configuration I/O. This doesn't panic the system, but it will fail the configuration I/O and there is no retry mechanism. So the device probe will not succeed. This should be a very uncommon situation, however. mps_sas.c: Freeze the SIM queue when we run out of chain buffers, and unfreeze it when more commands complete. Freeze the device queue when errors occur, so that CAM can insure proper command ordering. Report pre-hardware errors for task management commands. In general, that shouldn't be possible because task management commands don't have S/G lists, and that is currently the only error path before we get to the hardware. Handle pre-hardware errors (like out of chain elements) for SMP requests. That shouldn't happen either, since we should have enough space for two S/G elements in the standard request. For commands that end with MPI2_IOCSTATUS_SCSI_IOC_TERMINATED and MPI2_IOCSTATUS_SCSI_EXT_TERMINATED, return them with CAM_REQUEUE_REQ to retry them unconditionally. These seem to be related to back end, transport related problems that are hopefully transient. We don't want to go through the retry count for something that is not a permanent error. Keep track of the number of outstanding I/Os. mpsvar.h: Track the number of free chain elements. Add variables for the number of outstanding I/Os, and I/O high water mark. Add variables to track the number of free chain buffers and the chain low water mark, as well as the number of chain allocation failures. Add I/O state flags and an attach done flag. Modified: stable/8/sys/dev/mps/mps.c stable/8/sys/dev/mps/mps_sas.c stable/8/sys/dev/mps/mpsvar.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/dev/mps/mps.c ============================================================================== --- stable/8/sys/dev/mps/mps.c Mon Feb 21 16:55:53 2011 (r218921) +++ stable/8/sys/dev/mps/mps.c Mon Feb 21 18:11:56 2011 (r218922) @@ -62,6 +62,7 @@ static void mps_startup(void *arg); static void mps_startup_complete(struct mps_softc *sc, struct mps_command *cm); static int mps_send_iocinit(struct mps_softc *sc); static int mps_attach_log(struct mps_softc *sc); +static __inline void mps_complete_command(struct mps_command *cm); static void mps_dispatch_event(struct mps_softc *sc, uintptr_t data, MPI2_EVENT_NOTIFICATION_REPLY *reply); static void mps_config_complete(struct mps_softc *sc, struct mps_command *cm); static void mps_periodic(void *); @@ -387,6 +388,15 @@ mps_enqueue_request(struct mps_softc *sc mps_dprint(sc, MPS_TRACE, "%s\n", __func__); + if (sc->mps_flags & MPS_FLAGS_ATTACH_DONE) + mtx_assert(&sc->mps_mtx, MA_OWNED); + + if ((cm->cm_desc.Default.SMID < 1) + || (cm->cm_desc.Default.SMID >= sc->num_reqs)) { + mps_printf(sc, "%s: invalid SMID %d, desc %#x %#x\n", + __func__, cm->cm_desc.Default.SMID, + cm->cm_desc.Words.High, cm->cm_desc.Words.Low); + } mps_regwrite(sc, MPI2_REQUEST_DESCRIPTOR_POST_LOW_OFFSET, cm->cm_desc.Words.Low); mps_regwrite(sc, MPI2_REQUEST_DESCRIPTOR_POST_HIGH_OFFSET, @@ -732,6 +742,7 @@ mps_alloc_requests(struct mps_softc *sc) chain->chain_busaddr = sc->chain_busaddr + i * sc->facts->IOCRequestFrameSize * 4; mps_free_chain(sc, chain); + sc->chain_free_lowwater++; } /* XXX Need to pick a more precise value */ @@ -855,6 +866,26 @@ mps_attach(struct mps_softc *sc) &sc->allow_multiple_tm_cmds, 0, "allow multiple simultaneous task management cmds"); + SYSCTL_ADD_INT(&sc->sysctl_ctx, SYSCTL_CHILDREN(sc->sysctl_tree), + OID_AUTO, "io_cmds_active", CTLFLAG_RD, + &sc->io_cmds_active, 0, "number of currently active commands"); + + SYSCTL_ADD_INT(&sc->sysctl_ctx, SYSCTL_CHILDREN(sc->sysctl_tree), + OID_AUTO, "io_cmds_highwater", CTLFLAG_RD, + &sc->io_cmds_highwater, 0, "maximum active commands seen"); + + SYSCTL_ADD_INT(&sc->sysctl_ctx, SYSCTL_CHILDREN(sc->sysctl_tree), + OID_AUTO, "chain_free", CTLFLAG_RD, + &sc->chain_free, 0, "number of free chain elements"); + + SYSCTL_ADD_INT(&sc->sysctl_ctx, SYSCTL_CHILDREN(sc->sysctl_tree), + OID_AUTO, "chain_free_lowwater", CTLFLAG_RD, + &sc->chain_free_lowwater, 0,"lowest number of free chain elements"); + + SYSCTL_ADD_QUAD(&sc->sysctl_ctx, SYSCTL_CHILDREN(sc->sysctl_tree), + OID_AUTO, "chain_alloc_fail", CTLFLAG_RD, + &sc->chain_alloc_fail, "chain allocation failures"); + if ((error = mps_transition_ready(sc)) != 0) return (error); @@ -895,6 +926,8 @@ mps_attach(struct mps_softc *sc) sc->num_reqs = MIN(MPS_REQ_FRAMES, sc->facts->RequestCredit); sc->num_replies = MIN(MPS_REPLY_FRAMES + MPS_EVT_REPLY_FRAMES, sc->facts->MaxReplyDescriptorPostQueueDepth) - 1; + mps_dprint(sc, MPS_INFO, "num_reqs %d, num_replies %d\n", sc->num_reqs, + sc->num_replies); TAILQ_INIT(&sc->req_list); TAILQ_INIT(&sc->chain_list); TAILQ_INIT(&sc->tm_list); @@ -968,6 +1001,8 @@ mps_attach(struct mps_softc *sc) error = EINVAL; } + sc->mps_flags |= MPS_FLAGS_ATTACH_DONE; + return (error); } @@ -1167,6 +1202,22 @@ mps_free(struct mps_softc *sc) return (0); } +static __inline void +mps_complete_command(struct mps_command *cm) +{ + if (cm->cm_flags & MPS_CM_FLAGS_POLLED) + cm->cm_flags |= MPS_CM_FLAGS_COMPLETE; + + if (cm->cm_complete != NULL) + cm->cm_complete(cm->cm_sc, cm); + + if (cm->cm_flags & MPS_CM_FLAGS_WAKEUP) { + mps_dprint(cm->cm_sc, MPS_TRACE, "%s: waking up %p\n", + __func__, cm); + wakeup(cm); + } +} + void mps_intr(void *data) { @@ -1293,16 +1344,8 @@ mps_intr_locked(void *data) break; } - if (cm != NULL) { - if (cm->cm_flags & MPS_CM_FLAGS_POLLED) - cm->cm_flags |= MPS_CM_FLAGS_COMPLETE; - - if (cm->cm_complete != NULL) - cm->cm_complete(sc, cm); - - if (cm->cm_flags & MPS_CM_FLAGS_WAKEUP) - wakeup(cm); - } + if (cm != NULL) + mps_complete_command(cm); desc->Words.Low = 0xffffffff; desc->Words.High = 0xffffffff; @@ -1663,6 +1706,8 @@ mps_data_cb(void *arg, bus_dma_segment_t if (error != 0) { /* Resource shortage, roll back! */ mps_printf(sc, "out of chain frames\n"); + cm->cm_flags |= MPS_CM_FLAGS_CHAIN_FAILED; + mps_complete_command(cm); return; } } @@ -1802,6 +1847,15 @@ mps_config_complete(struct mps_softc *sc bus_dmamap_unload(sc->buffer_dmat, cm->cm_dmamap); } + /* + * XXX KDM need to do more error recovery? This results in the + * device in question not getting probed. + */ + if ((cm->cm_flags & MPS_CM_FLAGS_ERROR_MASK) != 0) { + params->status = MPI2_IOCSTATUS_BUSY; + goto bailout; + } + reply = (MPI2_CONFIG_REPLY *)cm->cm_reply; params->status = reply->IOCStatus; if (params->hdr.Ext.ExtPageType != 0) { @@ -1814,6 +1868,8 @@ mps_config_complete(struct mps_softc *sc params->hdr.Struct.PageVersion = reply->Header.PageVersion; } +bailout: + mps_free_command(sc, cm); if (params->callback != NULL) params->callback(sc, params); Modified: stable/8/sys/dev/mps/mps_sas.c ============================================================================== --- stable/8/sys/dev/mps/mps_sas.c Mon Feb 21 16:55:53 2011 (r218921) +++ stable/8/sys/dev/mps/mps_sas.c Mon Feb 21 18:11:56 2011 (r218922) @@ -520,6 +520,18 @@ mpssas_remove_device(struct mps_softc *s mpssas_complete_tm_request(sc, cm, /*free_cm*/ 0); + /* + * Currently there should be no way we can hit this case. It only + * happens when we have a failure to allocate chain frames, and + * task management commands don't have S/G lists. + */ + if ((cm->cm_flags & MPS_CM_FLAGS_ERROR_MASK) != 0) { + mps_printf(sc, "%s: cm_flags = %#x for remove of handle %#04x! " + "This should not happen!\n", __func__, cm->cm_flags, + handle); + return; + } + if (reply->IOCStatus != MPI2_IOCSTATUS_SUCCESS) { mps_printf(sc, "Failure 0x%x reseting device 0x%04x\n", reply->IOCStatus, handle); @@ -1100,6 +1112,17 @@ mpssas_abort_complete(struct mps_softc * req = (MPI2_SCSI_TASK_MANAGE_REQUEST *)cm->cm_req; + /* + * Currently there should be no way we can hit this case. It only + * happens when we have a failure to allocate chain frames, and + * task management commands don't have S/G lists. + */ + if ((cm->cm_flags & MPS_CM_FLAGS_ERROR_MASK) != 0) { + mps_printf(sc, "%s: cm_flags = %#x for abort on handle %#04x! " + "This should not happen!\n", __func__, cm->cm_flags, + req->DevHandle); + } + mps_printf(sc, "%s: abort request on handle %#04x SMID %d " "complete\n", __func__, req->DevHandle, req->TaskMID); @@ -1216,7 +1239,8 @@ mpssas_tm_complete(struct mps_softc *sc, resp = (MPI2_SCSI_TASK_MANAGE_REPLY *)cm->cm_reply; - resp->ResponseCode = error; + if (resp != NULL) + resp->ResponseCode = error; /* * Call the callback for this command, it will be @@ -1366,6 +1390,7 @@ mpssas_action_scsiio(struct mpssas_softc } req = (MPI2_SCSI_IO_REQUEST *)cm->cm_req; + bzero(req, sizeof(*req)); req->DevHandle = targ->handle; req->Function = MPI2_FUNCTION_SCSI_IO_REQUEST; req->MsgFlags = 0; @@ -1447,6 +1472,10 @@ mpssas_action_scsiio(struct mpssas_softc cm->cm_complete_data = ccb; cm->cm_targ = targ; + sc->io_cmds_active++; + if (sc->io_cmds_active > sc->io_cmds_highwater) + sc->io_cmds_highwater = sc->io_cmds_active; + TAILQ_INSERT_TAIL(&sc->io_list, cm, cm_link); callout_reset(&cm->cm_callout, (ccb->ccb_h.timeout * hz) / 1000, mpssas_scsiio_timeout, cm); @@ -1468,11 +1497,17 @@ mpssas_scsiio_complete(struct mps_softc callout_stop(&cm->cm_callout); TAILQ_REMOVE(&sc->io_list, cm, cm_link); + sc->io_cmds_active--; sassc = sc->sassc; ccb = cm->cm_complete_data; rep = (MPI2_SCSI_IO_REPLY *)cm->cm_reply; + /* + * XXX KDM if the chain allocation fails, does it matter if we do + * the sync and unload here? It is simpler to do it in every case, + * assuming it doesn't cause problems. + */ if (cm->cm_data != NULL) { if (cm->cm_flags & MPS_CM_FLAGS_DATAIN) dir = BUS_DMASYNC_POSTREAD; @@ -1482,9 +1517,34 @@ mpssas_scsiio_complete(struct mps_softc bus_dmamap_unload(sc->buffer_dmat, cm->cm_dmamap); } - if (sassc->flags & MPSSAS_QUEUE_FROZEN) { - ccb->ccb_h.flags |= CAM_RELEASE_SIMQ; - sassc->flags &= ~MPSSAS_QUEUE_FROZEN; + if ((cm->cm_flags & MPS_CM_FLAGS_ERROR_MASK) != 0) { + /* + * We ran into an error after we tried to map the command, + * so we're getting a callback without queueing the command + * to the hardware. So we set the status here, and it will + * be retained below. We'll go through the "fast path", + * because there can be no reply when we haven't actually + * gone out to the hardware. + */ + ccb->ccb_h.status |= CAM_REQUEUE_REQ; + + /* + * Currently the only error included in the mask is + * MPS_CM_FLAGS_CHAIN_FAILED, which means we're out of + * chain frames. We need to freeze the queue until we get + * a command that completed without this error, which will + * hopefully have some chain frames attached that we can + * use. If we wanted to get smarter about it, we would + * only unfreeze the queue in this condition when we're + * sure that we're getting some chain frames back. That's + * probably unnecessary. + */ + if ((sassc->flags & MPSSAS_QUEUE_FROZEN) == 0) { + xpt_freeze_simq(sassc->sim, 1); + sassc->flags |= MPSSAS_QUEUE_FROZEN; + mps_printf(sc, "Error sending command, freezing " + "SIM queue\n"); + } } /* Take the fast path to completion */ @@ -1492,6 +1552,15 @@ mpssas_scsiio_complete(struct mps_softc if ((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_INPROG) { ccb->ccb_h.status = CAM_REQ_CMP; ccb->csio.scsi_status = SCSI_STATUS_OK; + + if (sassc->flags & MPSSAS_QUEUE_FROZEN) { + ccb->ccb_h.status |= CAM_RELEASE_SIMQ; + sassc->flags &= ~MPSSAS_QUEUE_FROZEN; + mps_printf(sc, "Unfreezing SIM queue\n"); + } + } else { + ccb->ccb_h.status |= CAM_DEV_QFRZN; + xpt_freeze_devq(ccb->ccb_h.path, /*count*/ 1); } mps_free_command(sc, cm); xpt_done(ccb); @@ -1547,7 +1616,16 @@ mpssas_scsiio_complete(struct mps_softc break; case MPI2_IOCSTATUS_SCSI_IOC_TERMINATED: case MPI2_IOCSTATUS_SCSI_EXT_TERMINATED: +#if 0 ccb->ccb_h.status = CAM_REQ_ABORTED; +#endif + mps_printf(sc, "(%d:%d:%d) terminated ioc %x scsi %x state %x " + "xfer %u\n", xpt_path_path_id(ccb->ccb_h.path), + xpt_path_target_id(ccb->ccb_h.path), + xpt_path_lun_id(ccb->ccb_h.path), + rep->IOCStatus, rep->SCSIStatus, rep->SCSIState, + rep->TransferCount); + ccb->ccb_h.status = CAM_REQUEUE_REQ; break; case MPI2_IOCSTATUS_INVALID_SGL: mps_print_scsiio_cmd(sc, cm); @@ -1601,6 +1679,15 @@ mpssas_scsiio_complete(struct mps_softc if (rep->SCSIState & MPI2_SCSI_STATE_RESPONSE_INFO_VALID) ccb->ccb_h.status = CAM_REQ_CMP_ERR; + if (sassc->flags & MPSSAS_QUEUE_FROZEN) { + ccb->ccb_h.status |= CAM_RELEASE_SIMQ; + sassc->flags &= ~MPSSAS_QUEUE_FROZEN; + mps_printf(sc, "Command completed, unfreezing SIM queue\n"); + } + if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { + ccb->ccb_h.status |= CAM_DEV_QFRZN; + xpt_freeze_devq(ccb->ccb_h.path, /*count*/ 1); + } mps_free_command(sc, cm); xpt_done(ccb); } @@ -1615,6 +1702,20 @@ mpssas_smpio_complete(struct mps_softc * union ccb *ccb; ccb = cm->cm_complete_data; + + /* + * Currently there should be no way we can hit this case. It only + * happens when we have a failure to allocate chain frames, and SMP + * commands require two S/G elements only. That should be handled + * in the standard request size. + */ + if ((cm->cm_flags & MPS_CM_FLAGS_ERROR_MASK) != 0) { + mps_printf(sc, "%s: cm_flags = %#x on SMP request!\n", + __func__, cm->cm_flags); + ccb->ccb_h.status = CAM_REQ_CMP_ERR; + goto bailout; + } + rpl = (MPI2_SMP_PASSTHROUGH_REPLY *)cm->cm_reply; if (rpl == NULL) { mps_dprint(sc, MPS_INFO, "%s: NULL cm_reply!\n", __func__); @@ -1994,6 +2095,19 @@ mpssas_resetdev_complete(struct mps_soft resp = (MPI2_SCSI_TASK_MANAGE_REPLY *)cm->cm_reply; ccb = cm->cm_complete_data; + if ((cm->cm_flags & MPS_CM_FLAGS_ERROR_MASK) != 0) { + MPI2_SCSI_TASK_MANAGE_REQUEST *req; + + req = (MPI2_SCSI_TASK_MANAGE_REQUEST *)cm->cm_req; + + mps_printf(sc, "%s: cm_flags = %#x for reset of handle %#04x! " + "This should not happen!\n", __func__, cm->cm_flags, + req->DevHandle); + + ccb->ccb_h.status = CAM_REQ_CMP_ERR; + goto bailout; + } + printf("resetdev complete IOCStatus= 0x%x ResponseCode= 0x%x\n", resp->IOCStatus, resp->ResponseCode); @@ -2002,6 +2116,7 @@ mpssas_resetdev_complete(struct mps_soft else ccb->ccb_h.status = CAM_REQ_CMP_ERR; +bailout: mpssas_complete_tm_request(sc, cm, /*free_cm*/ 1); xpt_done(ccb); Modified: stable/8/sys/dev/mps/mpsvar.h ============================================================================== --- stable/8/sys/dev/mps/mpsvar.h Mon Feb 21 16:55:53 2011 (r218921) +++ stable/8/sys/dev/mps/mpsvar.h Mon Feb 21 18:11:56 2011 (r218922) @@ -92,6 +92,8 @@ struct mps_command { #define MPS_CM_FLAGS_ACTIVE (1 << 6) #define MPS_CM_FLAGS_USE_UIO (1 << 7) #define MPS_CM_FLAGS_SMP_PASS (1 << 8) +#define MPS_CM_FLAGS_CHAIN_FAILED (1 << 9) +#define MPS_CM_FLAGS_ERROR_MASK MPS_CM_FLAGS_CHAIN_FAILED u_int cm_state; #define MPS_CM_STATE_FREE 0 #define MPS_CM_STATE_BUSY 1 @@ -119,9 +121,15 @@ struct mps_softc { #define MPS_FLAGS_MSI (1 << 1) #define MPS_FLAGS_BUSY (1 << 2) #define MPS_FLAGS_SHUTDOWN (1 << 3) +#define MPS_FLAGS_ATTACH_DONE (1 << 4) u_int mps_debug; u_int allow_multiple_tm_cmds; int tm_cmds_active; + int io_cmds_active; + int io_cmds_highwater; + int chain_free; + int chain_free_lowwater; + uint64_t chain_alloc_fail; struct sysctl_ctx_list sysctl_ctx; struct sysctl_oid *sysctl_tree; struct mps_command *commands; @@ -229,8 +237,13 @@ mps_alloc_chain(struct mps_softc *sc) { struct mps_chain *chain; - if ((chain = TAILQ_FIRST(&sc->chain_list)) != NULL) + if ((chain = TAILQ_FIRST(&sc->chain_list)) != NULL) { TAILQ_REMOVE(&sc->chain_list, chain, chain_link); + sc->chain_free--; + if (sc->chain_free < sc->chain_free_lowwater) + sc->chain_free_lowwater = sc->chain_free; + } else + sc->chain_alloc_fail++; return (chain); } @@ -240,6 +253,7 @@ mps_free_chain(struct mps_softc *sc, str #if 0 bzero(chain->chain, 128); #endif + sc->chain_free++; TAILQ_INSERT_TAIL(&sc->chain_list, chain, chain_link); } From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 18:58:58 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83FF1106564A; Mon, 21 Feb 2011 18:58:58 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 727888FC0C; Mon, 21 Feb 2011 18:58:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LIww1x080007; Mon, 21 Feb 2011 18:58:58 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LIwwJI080005; Mon, 21 Feb 2011 18:58:58 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201102211858.p1LIwwJI080005@svn.freebsd.org> From: Adrian Chadd Date: Mon, 21 Feb 2011 18:58:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218923 - head/sys/dev/ath/ath_hal X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 18:58:58 -0000 Author: adrian Date: Mon Feb 21 18:58:58 2011 New Revision: 218923 URL: http://svn.freebsd.org/changeset/base/218923 Log: Add a vocal warning to ath_hal_computetxtime() function is used for non-11n rates. It's used to calculate: * the initial per-rate entries for short/long preamble ACK durations; * packet durations for TDMA slot decisions; * RTS/CTS protection durations; * updating the duration field in the 802.11 frame header This way invalid durations will generate a warning, prompting for it to be fixed. Modified: head/sys/dev/ath/ath_hal/ah.c Modified: head/sys/dev/ath/ath_hal/ah.c ============================================================================== --- head/sys/dev/ath/ath_hal/ah.c Mon Feb 21 18:11:56 2011 (r218922) +++ head/sys/dev/ath/ath_hal/ah.c Mon Feb 21 18:58:58 2011 (r218923) @@ -318,6 +318,11 @@ ath_hal_computetxtime(struct ath_hal *ah uint32_t bitsPerSymbol, numBits, numSymbols, phyTime, txTime; uint32_t kbps; + /* Warn if this function is called for 11n rates; it should not be! */ + if (IS_HT_RATE(rates->info[rateix].rateCode)) + ath_hal_printf(ah, "%s: MCS rate? (index %d; hwrate 0x%x)\n", + __func__, rateix, rates->info[rateix].rateCode); + kbps = rates->info[rateix].rateKbps; /* * index can be invalid duting dynamic Turbo transitions. From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 19:14:14 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D40151065673 for ; Mon, 21 Feb 2011 19:14:14 +0000 (UTC) (envelope-from dougb@dougbarton.us) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 7961D8FC1C for ; Mon, 21 Feb 2011 19:14:14 +0000 (UTC) Received: (qmail 29216 invoked by uid 399); 21 Feb 2011 19:14:10 -0000 Received: from router.ka9q.net (HELO doug-optiplex.ka9q.net) (dougb@dougbarton.us@75.60.237.91) by mail2.fluidhosting.com with ESMTPAM; 21 Feb 2011 19:14:10 -0000 X-Originating-IP: 75.60.237.91 X-Sender: dougb@dougbarton.us Message-ID: <4D62B980.2090606@dougbarton.us> Date: Mon, 21 Feb 2011 11:14:08 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110129 Thunderbird/3.1.7 MIME-Version: 1.0 To: VANHULLEBUS Yvan References: <201102180940.p1I9eD29050530@svn.freebsd.org> <20110219073412.GC2016@garage.freebsd.pl> <20110221084025.GA14934@zeninc.net> <20110221092143.GA1766@garage.freebsd.pl> <20110221110156.GA15358@zeninc.net> In-Reply-To: <20110221110156.GA15358@zeninc.net> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Pawel Jakub Dawidek Subject: Re: svn commit: r218794 - in head: . sys/netipsec X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 19:14:14 -0000 On 02/21/2011 03:01, VANHULLEBUS Yvan wrote: > On Mon, Feb 21, 2011 at 10:21:43AM +0100, Pawel Jakub Dawidek wrote: >> > On Mon, Feb 21, 2011 at 09:40:25AM +0100, VANHULLEBUS Yvan wrote: > [RFC4868 and MFC] >> > You can't talk to two such peers with sysctl or without anyway. I assume >> > that if someone already has tunnels configured and they work, they work, >> > because the other end uses 96 bits hashes. Once he upgrades there is no >> > way to get old behaviour back quickly. >> > >> > You are changing on-the-wire protocol in the middle of stable branch. Am >> > I alone in thinking that this is bad idea? > That's a good question. > Of other people also think it's a bad idea, I can just forget the MFC. > But the same problem will happen when we'll release 9.0. > Of course, this is easier to explain, as this will be a new branch. IMO RFC compliance trumps -stable here. Admittedly some small percentage of users will be inconvenienced, and that is unfortunate. However all users who start using this technology from here forward should get the full RFC compliant version. As Bjoern pointed out, we'll see more of this, not less because oddly enough RFC publication (like many other external factors) do not revolve around our release schedules. :) hth, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 19:19:05 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93641106564A; Mon, 21 Feb 2011 19:19:05 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8212F8FC12; Mon, 21 Feb 2011 19:19:05 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LJJ5Hb080474; Mon, 21 Feb 2011 19:19:05 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LJJ53h080471; Mon, 21 Feb 2011 19:19:05 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201102211919.p1LJJ53h080471@svn.freebsd.org> From: Adrian Chadd Date: Mon, 21 Feb 2011 19:19:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218924 - head/sys/dev/ath X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 19:19:05 -0000 Author: adrian Date: Mon Feb 21 19:19:05 2011 New Revision: 218924 URL: http://svn.freebsd.org/changeset/base/218924 Log: Add a new counter which tracks frames TX'ed with HT protection. Modified: head/sys/dev/ath/if_ath.c head/sys/dev/ath/if_athioctl.h Modified: head/sys/dev/ath/if_ath.c ============================================================================== --- head/sys/dev/ath/if_ath.c Mon Feb 21 18:58:58 2011 (r218923) +++ head/sys/dev/ath/if_ath.c Mon Feb 21 19:19:05 2011 (r218924) @@ -6604,6 +6604,8 @@ ath_sysctl_stats_attach(struct ath_softc SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_post_crc_err", CTLFLAG_RD, &sc->sc_stats.ast_rx_post_crc_err, 0, ""); SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_decrypt_busy_err", CTLFLAG_RD, &sc->sc_stats.ast_rx_decrypt_busy_err, 0, ""); SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_hi_rx_chain", CTLFLAG_RD, &sc->sc_stats.ast_rx_hi_rx_chain, 0, ""); + SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_tx_htprotect", CTLFLAG_RD, + &sc->sc_stats.ast_tx_htprotect, 0, "HT tx frames with protection"); /* Attach the RX phy error array */ ath_sysctl_stats_attach_rxphyerr(sc, child); Modified: head/sys/dev/ath/if_athioctl.h ============================================================================== --- head/sys/dev/ath/if_athioctl.h Mon Feb 21 18:58:58 2011 (r218923) +++ head/sys/dev/ath/if_athioctl.h Mon Feb 21 19:19:05 2011 (r218924) @@ -127,7 +127,8 @@ struct ath_stats { u_int32_t ast_rx_post_crc_err; u_int32_t ast_rx_decrypt_busy_err; u_int32_t ast_rx_hi_rx_chain; - u_int32_t ast_pad[4]; + u_int32_t ast_tx_htprotect; /* HT tx frames with protection */ + u_int32_t ast_pad[3]; }; #define SIOCGATHSTATS _IOWR('i', 137, struct ifreq) From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 19:22:46 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75A86106564A; Mon, 21 Feb 2011 19:22:46 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 30B348FC0A; Mon, 21 Feb 2011 19:22:46 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LJMkg0080600; Mon, 21 Feb 2011 19:22:46 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LJMk3B080598; Mon, 21 Feb 2011 19:22:46 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201102211922.p1LJMk3B080598@svn.freebsd.org> From: Adrian Chadd Date: Mon, 21 Feb 2011 19:22:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218925 - head/sys/dev/ath X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 19:22:46 -0000 Author: adrian Date: Mon Feb 21 19:22:45 2011 New Revision: 218925 URL: http://svn.freebsd.org/changeset/base/218925 Log: Fix formatting of new stat sysctls; add descriptions Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ============================================================================== --- head/sys/dev/ath/if_ath.c Mon Feb 21 19:19:05 2011 (r218924) +++ head/sys/dev/ath/if_ath.c Mon Feb 21 19:22:45 2011 (r218925) @@ -6598,12 +6598,18 @@ ath_sysctl_stats_attach(struct ath_softc SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_agg", CTLFLAG_RD, &sc->sc_stats.ast_rx_agg, 0, "number of aggregate frames received"); - SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_halfgi", CTLFLAG_RD, &sc->sc_stats.ast_rx_halfgi, 0, ""); - SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_2040", CTLFLAG_RD, &sc->sc_stats.ast_rx_2040, 0, ""); - SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_pre_crc_err", CTLFLAG_RD, &sc->sc_stats.ast_rx_pre_crc_err, 0, ""); - SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_post_crc_err", CTLFLAG_RD, &sc->sc_stats.ast_rx_post_crc_err, 0, ""); - SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_decrypt_busy_err", CTLFLAG_RD, &sc->sc_stats.ast_rx_decrypt_busy_err, 0, ""); - SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_hi_rx_chain", CTLFLAG_RD, &sc->sc_stats.ast_rx_hi_rx_chain, 0, ""); + SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_halfgi", CTLFLAG_RD, + &sc->sc_stats.ast_rx_halfgi, 0, "number of frames received with half-GI"); + SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_2040", CTLFLAG_RD, + &sc->sc_stats.ast_rx_2040, 0, "number of HT/40 frames received"); + SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_pre_crc_err", CTLFLAG_RD, + &sc->sc_stats.ast_rx_pre_crc_err, 0, "number of delimeter-CRC errors detected"); + SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_post_crc_err", CTLFLAG_RD, + &sc->sc_stats.ast_rx_post_crc_err, 0, "number of post-delimiter CRC errors detected"); + SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_decrypt_busy_err", CTLFLAG_RD, + &sc->sc_stats.ast_rx_decrypt_busy_err, 0, "number of frames received w/ busy decrypt engine"); + SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_hi_rx_chain", CTLFLAG_RD, + &sc->sc_stats.ast_rx_hi_rx_chain, 0, ""); SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_tx_htprotect", CTLFLAG_RD, &sc->sc_stats.ast_tx_htprotect, 0, "HT tx frames with protection"); From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 19:46:02 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B92281065679; Mon, 21 Feb 2011 19:46:02 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A7CD08FC1C; Mon, 21 Feb 2011 19:46:02 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LJk2Dm081225; Mon, 21 Feb 2011 19:46:02 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LJk2a4081223; Mon, 21 Feb 2011 19:46:02 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102211946.p1LJk2a4081223@svn.freebsd.org> From: Dimitry Andric Date: Mon, 21 Feb 2011 19:46:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218926 - head/sys/boot/i386/boot2 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 19:46:02 -0000 Author: dim Date: Mon Feb 21 19:46:02 2011 New Revision: 218926 URL: http://svn.freebsd.org/changeset/base/218926 Log: In sys/boot/i386/boot2/boot2.c, change the type of the 'opts' variable from uint16_t back to uint32_t. The actual option bitmasks (RB_* and RBX_*) assume at least a 32 bit variable. Submitted by: rdivacky Modified: head/sys/boot/i386/boot2/boot2.c Modified: head/sys/boot/i386/boot2/boot2.c ============================================================================== --- head/sys/boot/i386/boot2/boot2.c Mon Feb 21 19:22:45 2011 (r218925) +++ head/sys/boot/i386/boot2/boot2.c Mon Feb 21 19:46:02 2011 (r218926) @@ -132,7 +132,7 @@ static struct dsk { } dsk; static char cmd[512], cmddup[512]; static char kname[1024]; -static uint16_t opts; +static uint32_t opts; static int comspeed = SIOSPD; static struct bootinfo bootinfo; static uint8_t ioctrl = IO_KEYBOARD; From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 19:59:44 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F865106566B; Mon, 21 Feb 2011 19:59:44 +0000 (UTC) (envelope-from bschmidt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F0D818FC0A; Mon, 21 Feb 2011 19:59:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LJxhHN081577; Mon, 21 Feb 2011 19:59:43 GMT (envelope-from bschmidt@svn.freebsd.org) Received: (from bschmidt@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LJxhVr081568; Mon, 21 Feb 2011 19:59:43 GMT (envelope-from bschmidt@svn.freebsd.org) Message-Id: <201102211959.p1LJxhVr081568@svn.freebsd.org> From: Bernhard Schmidt Date: Mon, 21 Feb 2011 19:59:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218927 - head/sys/net80211 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 19:59:44 -0000 Author: bschmidt Date: Mon Feb 21 19:59:43 2011 New Revision: 218927 URL: http://svn.freebsd.org/changeset/base/218927 Log: Add a new mgmt subtype "ACTION NO ACK" defined in 802.11n-2009, while here clean up parts of the *_recv_mgmt() functions. - make sure appropriate counters are bumped and debug messages are printed - order the unhandled subtypes by value and add a few missing ones - fix some whitespace nits - remove duplicate code in adhoc_recv_mgmt() - remove a useless comment, probably left in while c&p Modified: head/sys/net80211/ieee80211.h head/sys/net80211/ieee80211_adhoc.c head/sys/net80211/ieee80211_hostap.c head/sys/net80211/ieee80211_input.c head/sys/net80211/ieee80211_mesh.c head/sys/net80211/ieee80211_proto.c head/sys/net80211/ieee80211_sta.c head/sys/net80211/ieee80211_wds.c Modified: head/sys/net80211/ieee80211.h ============================================================================== --- head/sys/net80211/ieee80211.h Mon Feb 21 19:46:02 2011 (r218926) +++ head/sys/net80211/ieee80211.h Mon Feb 21 19:59:43 2011 (r218927) @@ -131,6 +131,7 @@ struct ieee80211_qosframe_addr4 { #define IEEE80211_FC0_SUBTYPE_AUTH 0xb0 #define IEEE80211_FC0_SUBTYPE_DEAUTH 0xc0 #define IEEE80211_FC0_SUBTYPE_ACTION 0xd0 +#define IEEE80211_FC0_SUBTYPE_ACTION_NOACK 0xe0 /* for TYPE_CTL */ #define IEEE80211_FC0_SUBTYPE_BAR 0x80 #define IEEE80211_FC0_SUBTYPE_BA 0x90 Modified: head/sys/net80211/ieee80211_adhoc.c ============================================================================== --- head/sys/net80211/ieee80211_adhoc.c Mon Feb 21 19:46:02 2011 (r218926) +++ head/sys/net80211/ieee80211_adhoc.c Mon Feb 21 19:59:43 2011 (r218927) @@ -823,80 +823,35 @@ adhoc_recv_mgmt(struct ieee80211_node *n is11bclient(rates, xrates) ? IEEE80211_SEND_LEGACY_11B : 0); break; - case IEEE80211_FC0_SUBTYPE_ACTION: { - const struct ieee80211_action *ia; - - if (vap->iv_state != IEEE80211_S_RUN) { + case IEEE80211_FC0_SUBTYPE_ACTION: + case IEEE80211_FC0_SUBTYPE_ACTION_NOACK: + if (vap->iv_state == IEEE80211_S_RUN) { + if (ieee80211_parse_action(ni, m0) == 0) + (void)ic->ic_recv_action(ni, wh, frm, efrm); + } else { IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, wh, NULL, "wrong state %s", ieee80211_state_name[vap->iv_state]); vap->iv_stats.is_rx_mgtdiscard++; - return; } - /* - * action frame format: - * [1] category - * [1] action - * [tlv] parameters - */ - IEEE80211_VERIFY_LENGTH(efrm - frm, - sizeof(struct ieee80211_action), return); - ia = (const struct ieee80211_action *) frm; - - vap->iv_stats.is_rx_action++; - IEEE80211_NODE_STAT(ni, rx_action); - - /* verify frame payloads but defer processing */ - /* XXX maybe push this to method */ - switch (ia->ia_category) { - case IEEE80211_ACTION_CAT_BA: - switch (ia->ia_action) { - case IEEE80211_ACTION_BA_ADDBA_REQUEST: - IEEE80211_VERIFY_LENGTH(efrm - frm, - sizeof(struct ieee80211_action_ba_addbarequest), - return); - break; - case IEEE80211_ACTION_BA_ADDBA_RESPONSE: - IEEE80211_VERIFY_LENGTH(efrm - frm, - sizeof(struct ieee80211_action_ba_addbaresponse), - return); - break; - case IEEE80211_ACTION_BA_DELBA: - IEEE80211_VERIFY_LENGTH(efrm - frm, - sizeof(struct ieee80211_action_ba_delba), - return); - break; - } - break; - case IEEE80211_ACTION_CAT_HT: - switch (ia->ia_action) { - case IEEE80211_ACTION_HT_TXCHWIDTH: - IEEE80211_VERIFY_LENGTH(efrm - frm, - sizeof(struct ieee80211_action_ht_txchwidth), - return); - break; - } - break; - } - ic->ic_recv_action(ni, wh, frm, efrm); break; - } - case IEEE80211_FC0_SUBTYPE_AUTH: case IEEE80211_FC0_SUBTYPE_ASSOC_REQ: - case IEEE80211_FC0_SUBTYPE_REASSOC_REQ: case IEEE80211_FC0_SUBTYPE_ASSOC_RESP: + case IEEE80211_FC0_SUBTYPE_REASSOC_REQ: case IEEE80211_FC0_SUBTYPE_REASSOC_RESP: - case IEEE80211_FC0_SUBTYPE_DEAUTH: + case IEEE80211_FC0_SUBTYPE_ATIM: case IEEE80211_FC0_SUBTYPE_DISASSOC: + case IEEE80211_FC0_SUBTYPE_AUTH: + case IEEE80211_FC0_SUBTYPE_DEAUTH: IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, - wh, NULL, "%s", "not handled"); + wh, NULL, "%s", "not handled"); vap->iv_stats.is_rx_mgtdiscard++; - return; + break; default: IEEE80211_DISCARD(vap, IEEE80211_MSG_ANY, - wh, "mgt", "subtype 0x%x not handled", subtype); + wh, "mgt", "subtype 0x%x not handled", subtype); vap->iv_stats.is_rx_badsubtype++; break; } @@ -910,6 +865,7 @@ ahdemo_recv_mgmt(struct ieee80211_node * { struct ieee80211vap *vap = ni->ni_vap; struct ieee80211com *ic = ni->ni_ic; + struct ieee80211_frame *wh; /* * Process management frames when scanning; useful for doing @@ -917,8 +873,33 @@ ahdemo_recv_mgmt(struct ieee80211_node * */ if (ic->ic_flags & IEEE80211_F_SCAN) adhoc_recv_mgmt(ni, m0, subtype, rssi, nf); - else - vap->iv_stats.is_rx_mgtdiscard++; + else { + wh = mtod(m0, struct ieee80211_frame *); + switch (subtype) { + case IEEE80211_FC0_SUBTYPE_ASSOC_REQ: + case IEEE80211_FC0_SUBTYPE_ASSOC_RESP: + case IEEE80211_FC0_SUBTYPE_REASSOC_REQ: + case IEEE80211_FC0_SUBTYPE_REASSOC_RESP: + case IEEE80211_FC0_SUBTYPE_PROBE_REQ: + case IEEE80211_FC0_SUBTYPE_PROBE_RESP: + case IEEE80211_FC0_SUBTYPE_BEACON: + case IEEE80211_FC0_SUBTYPE_ATIM: + case IEEE80211_FC0_SUBTYPE_DISASSOC: + case IEEE80211_FC0_SUBTYPE_AUTH: + case IEEE80211_FC0_SUBTYPE_DEAUTH: + case IEEE80211_FC0_SUBTYPE_ACTION: + case IEEE80211_FC0_SUBTYPE_ACTION_NOACK: + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "%s", "not handled"); + vap->iv_stats.is_rx_mgtdiscard++; + break; + default: + IEEE80211_DISCARD(vap, IEEE80211_MSG_ANY, + wh, "mgt", "subtype 0x%x not handled", subtype); + vap->iv_stats.is_rx_badsubtype++; + break; + } + } } static void Modified: head/sys/net80211/ieee80211_hostap.c ============================================================================== --- head/sys/net80211/ieee80211_hostap.c Mon Feb 21 19:46:02 2011 (r218926) +++ head/sys/net80211/ieee80211_hostap.c Mon Feb 21 19:59:43 2011 (r218927) @@ -2194,18 +2194,29 @@ hostap_recv_mgmt(struct ieee80211_node * } case IEEE80211_FC0_SUBTYPE_ACTION: + case IEEE80211_FC0_SUBTYPE_ACTION_NOACK: if (vap->iv_state == IEEE80211_S_RUN) { if (ieee80211_parse_action(ni, m0) == 0) - ic->ic_recv_action(ni, wh, frm, efrm); - } else + (void)ic->ic_recv_action(ni, wh, frm, efrm); + } else { + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "wrong state %s", + ieee80211_state_name[vap->iv_state]); vap->iv_stats.is_rx_mgtdiscard++; + } break; case IEEE80211_FC0_SUBTYPE_ASSOC_RESP: case IEEE80211_FC0_SUBTYPE_REASSOC_RESP: + case IEEE80211_FC0_SUBTYPE_ATIM: + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "%s", "not handled"); + vap->iv_stats.is_rx_mgtdiscard++; + break; + default: IEEE80211_DISCARD(vap, IEEE80211_MSG_ANY, - wh, "mgt", "subtype 0x%x not handled", subtype); + wh, "mgt", "subtype 0x%x not handled", subtype); vap->iv_stats.is_rx_badsubtype++; break; } Modified: head/sys/net80211/ieee80211_input.c ============================================================================== --- head/sys/net80211/ieee80211_input.c Mon Feb 21 19:46:02 2011 (r218926) +++ head/sys/net80211/ieee80211_input.c Mon Feb 21 19:59:43 2011 (r218927) @@ -677,7 +677,6 @@ ieee80211_parse_action(struct ieee80211_ IEEE80211_NODE_STAT(ni, rx_action); /* verify frame payloads but defer processing */ - /* XXX maybe push this to method */ switch (ia->ia_category) { case IEEE80211_ACTION_CAT_BA: switch (ia->ia_action) { Modified: head/sys/net80211/ieee80211_mesh.c ============================================================================== --- head/sys/net80211/ieee80211_mesh.c Mon Feb 21 19:46:02 2011 (r218926) +++ head/sys/net80211/ieee80211_mesh.c Mon Feb 21 19:59:43 2011 (r218927) @@ -1489,11 +1489,9 @@ mesh_recv_mgmt(struct ieee80211_node *ni ieee80211_send_proberesp(vap, wh->i_addr2, 0); break; } + case IEEE80211_FC0_SUBTYPE_ACTION: - if (vap->iv_state != IEEE80211_S_RUN) { - vap->iv_stats.is_rx_mgtdiscard++; - break; - } + case IEEE80211_FC0_SUBTYPE_ACTION_NOACK: /* * We received an action for an unknown neighbor. * XXX: wait for it to beacon or create ieee80211_node? @@ -1506,6 +1504,7 @@ mesh_recv_mgmt(struct ieee80211_node *ni } /* * Discard if not for us. + * XXX: if from us too? */ if (!IEEE80211_ADDR_EQ(vap->iv_myaddr, wh->i_addr1) && !IEEE80211_IS_MULTICAST(wh->i_addr1)) { @@ -1514,21 +1513,30 @@ mesh_recv_mgmt(struct ieee80211_node *ni vap->iv_stats.is_rx_mgtdiscard++; break; } - /* XXX parse_action is a bit useless now */ - if (ieee80211_parse_action(ni, m0) == 0) - ic->ic_recv_action(ni, wh, frm, efrm); + if (vap->iv_state == IEEE80211_S_RUN) { + if (ieee80211_parse_action(ni, m0) == 0) + (void)ic->ic_recv_action(ni, wh, frm, efrm); + } else { + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "wrong state %s", + ieee80211_state_name[vap->iv_state]); + vap->iv_stats.is_rx_mgtdiscard++; + } break; - case IEEE80211_FC0_SUBTYPE_AUTH: + case IEEE80211_FC0_SUBTYPE_ASSOC_REQ: - case IEEE80211_FC0_SUBTYPE_REASSOC_REQ: case IEEE80211_FC0_SUBTYPE_ASSOC_RESP: + case IEEE80211_FC0_SUBTYPE_REASSOC_REQ: case IEEE80211_FC0_SUBTYPE_REASSOC_RESP: - case IEEE80211_FC0_SUBTYPE_DEAUTH: + case IEEE80211_FC0_SUBTYPE_ATIM: case IEEE80211_FC0_SUBTYPE_DISASSOC: + case IEEE80211_FC0_SUBTYPE_AUTH: + case IEEE80211_FC0_SUBTYPE_DEAUTH: IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, wh, NULL, "%s", "not handled"); vap->iv_stats.is_rx_mgtdiscard++; - return; + break; + default: IEEE80211_DISCARD(vap, IEEE80211_MSG_ANY, wh, "mgt", "subtype 0x%x not handled", subtype); Modified: head/sys/net80211/ieee80211_proto.c ============================================================================== --- head/sys/net80211/ieee80211_proto.c Mon Feb 21 19:46:02 2011 (r218926) +++ head/sys/net80211/ieee80211_proto.c Mon Feb 21 19:59:43 2011 (r218927) @@ -64,7 +64,7 @@ const char *ieee80211_mgt_subtype_name[] "assoc_req", "assoc_resp", "reassoc_req", "reassoc_resp", "probe_req", "probe_resp", "reserved#6", "reserved#7", "beacon", "atim", "disassoc", "auth", - "deauth", "action", "reserved#14", "reserved#15" + "deauth", "action", "action_noack", "reserved#15" }; const char *ieee80211_ctl_subtype_name[] = { "reserved#0", "reserved#1", "reserved#2", "reserved#3", Modified: head/sys/net80211/ieee80211_sta.c ============================================================================== --- head/sys/net80211/ieee80211_sta.c Mon Feb 21 19:46:02 2011 (r218926) +++ head/sys/net80211/ieee80211_sta.c Mon Feb 21 19:59:43 2011 (r218927) @@ -1718,21 +1718,30 @@ sta_recv_mgmt(struct ieee80211_node *ni, } case IEEE80211_FC0_SUBTYPE_ACTION: + case IEEE80211_FC0_SUBTYPE_ACTION_NOACK: if (vap->iv_state == IEEE80211_S_RUN) { if (ieee80211_parse_action(ni, m0) == 0) - ic->ic_recv_action(ni, wh, frm, efrm); - } else + (void)ic->ic_recv_action(ni, wh, frm, efrm); + } else { + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "wrong state %s", + ieee80211_state_name[vap->iv_state]); vap->iv_stats.is_rx_mgtdiscard++; + } break; - case IEEE80211_FC0_SUBTYPE_PROBE_REQ: case IEEE80211_FC0_SUBTYPE_ASSOC_REQ: case IEEE80211_FC0_SUBTYPE_REASSOC_REQ: + case IEEE80211_FC0_SUBTYPE_PROBE_REQ: + case IEEE80211_FC0_SUBTYPE_ATIM: + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "%s", "not handled"); vap->iv_stats.is_rx_mgtdiscard++; - return; + break; + default: IEEE80211_DISCARD(vap, IEEE80211_MSG_ANY, - wh, "mgt", "subtype 0x%x not handled", subtype); + wh, "mgt", "subtype 0x%x not handled", subtype); vap->iv_stats.is_rx_badsubtype++; break; } Modified: head/sys/net80211/ieee80211_wds.c ============================================================================== --- head/sys/net80211/ieee80211_wds.c Mon Feb 21 19:46:02 2011 (r218926) +++ head/sys/net80211/ieee80211_wds.c Mon Feb 21 19:59:43 2011 (r218927) @@ -756,31 +756,46 @@ wds_recv_mgmt(struct ieee80211_node *ni, frm = (u_int8_t *)&wh[1]; efrm = mtod(m0, u_int8_t *) + m0->m_len; switch (subtype) { - case IEEE80211_FC0_SUBTYPE_DEAUTH: - case IEEE80211_FC0_SUBTYPE_PROBE_RESP: - case IEEE80211_FC0_SUBTYPE_BEACON: - case IEEE80211_FC0_SUBTYPE_PROBE_REQ: - case IEEE80211_FC0_SUBTYPE_AUTH: + case IEEE80211_FC0_SUBTYPE_ACTION: + case IEEE80211_FC0_SUBTYPE_ACTION_NOACK: + if (IEEE80211_IS_MULTICAST(wh->i_addr1)) { + IEEE80211_DISCARD(vap, IEEE80211_MSG_MESH, + wh, NULL, "%s", "not directed to us"); + vap->iv_stats.is_rx_mgtdiscard++; + break; + } else + ni->ni_inact = ni->ni_inact_reload; + + if (vap->iv_state == IEEE80211_S_RUN) { + if (ieee80211_parse_action(ni, m0) == 0) + (void)ic->ic_recv_action(ni, wh, frm, efrm); + } else { + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "wrong state %s", + ieee80211_state_name[vap->iv_state]); + vap->iv_stats.is_rx_mgtdiscard++; + } + break; + case IEEE80211_FC0_SUBTYPE_ASSOC_REQ: - case IEEE80211_FC0_SUBTYPE_REASSOC_REQ: case IEEE80211_FC0_SUBTYPE_ASSOC_RESP: + case IEEE80211_FC0_SUBTYPE_REASSOC_REQ: case IEEE80211_FC0_SUBTYPE_REASSOC_RESP: + case IEEE80211_FC0_SUBTYPE_PROBE_REQ: + case IEEE80211_FC0_SUBTYPE_PROBE_RESP: + case IEEE80211_FC0_SUBTYPE_BEACON: + case IEEE80211_FC0_SUBTYPE_ATIM: case IEEE80211_FC0_SUBTYPE_DISASSOC: + case IEEE80211_FC0_SUBTYPE_AUTH: + case IEEE80211_FC0_SUBTYPE_DEAUTH: + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "%s", "not handled"); vap->iv_stats.is_rx_mgtdiscard++; break; - case IEEE80211_FC0_SUBTYPE_ACTION: - if (vap->iv_state != IEEE80211_S_RUN || - IEEE80211_IS_MULTICAST(wh->i_addr1)) { - vap->iv_stats.is_rx_mgtdiscard++; - break; - } - ni->ni_inact = ni->ni_inact_reload; - if (ieee80211_parse_action(ni, m0) == 0) - ic->ic_recv_action(ni, wh, frm, efrm); - break; + default: IEEE80211_DISCARD(vap, IEEE80211_MSG_ANY, - wh, "mgt", "subtype 0x%x not handled", subtype); + wh, "mgt", "subtype 0x%x not handled", subtype); vap->iv_stats.is_rx_badsubtype++; break; } From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 20:02:03 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B49D106564A; Mon, 21 Feb 2011 20:02:03 +0000 (UTC) (envelope-from bschmidt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2991D8FC12; Mon, 21 Feb 2011 20:02:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LK235F081762; Mon, 21 Feb 2011 20:02:03 GMT (envelope-from bschmidt@svn.freebsd.org) Received: (from bschmidt@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LK23UH081760; Mon, 21 Feb 2011 20:02:03 GMT (envelope-from bschmidt@svn.freebsd.org) Message-Id: <201102212002.p1LK23UH081760@svn.freebsd.org> From: Bernhard Schmidt Date: Mon, 21 Feb 2011 20:02:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218928 - head/sys/net80211 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 20:02:03 -0000 Author: bschmidt Date: Mon Feb 21 20:02:02 2011 New Revision: 218928 URL: http://svn.freebsd.org/changeset/base/218928 Log: It is IEEE80211_SUPPORT_XXX not IEEE80211_XXX_SUPPORT. Modified: head/sys/net80211/ieee80211_output.c Modified: head/sys/net80211/ieee80211_output.c ============================================================================== --- head/sys/net80211/ieee80211_output.c Mon Feb 21 19:59:43 2011 (r218927) +++ head/sys/net80211/ieee80211_output.c Mon Feb 21 20:02:02 2011 (r218928) @@ -2922,13 +2922,13 @@ ieee80211_beacon_update(struct ieee80211 bo->bo_tim_trailer += adjust; bo->bo_erp += adjust; bo->bo_htinfo += adjust; -#ifdef IEEE80211_SUPERG_SUPPORT +#ifdef IEEE80211_SUPPORT_SUPERG bo->bo_ath += adjust; #endif -#ifdef IEEE80211_TDMA_SUPPORT +#ifdef IEEE80211_SUPPORT_TDMA bo->bo_tdma += adjust; #endif -#ifdef IEEE80211_MESH_SUPPORT +#ifdef IEEE80211_SUPPORT_MESH bo->bo_meshconf += adjust; #endif bo->bo_appie += adjust; @@ -2976,13 +2976,13 @@ ieee80211_beacon_update(struct ieee80211 bo->bo_erp += sizeof(*csa); bo->bo_htinfo += sizeof(*csa); bo->bo_wme += sizeof(*csa); -#ifdef IEEE80211_SUPERG_SUPPORT +#ifdef IEEE80211_SUPPORT_SUPERG bo->bo_ath += sizeof(*csa); #endif -#ifdef IEEE80211_TDMA_SUPPORT +#ifdef IEEE80211_SUPPORT_TDMA bo->bo_tdma += sizeof(*csa); #endif -#ifdef IEEE80211_MESH_SUPPORT +#ifdef IEEE80211_SUPPORT_MESH bo->bo_meshconf += sizeof(*csa); #endif bo->bo_appie += sizeof(*csa); From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 20:08:47 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5145110656A9; Mon, 21 Feb 2011 20:08:47 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0B0C08FC1F; Mon, 21 Feb 2011 20:08:46 +0000 (UTC) Received: from lev.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 0262F9CB0C5; Mon, 21 Feb 2011 21:08:45 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by lev.vlakno.cz (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PRDRv7sVX-hc; Mon, 21 Feb 2011 21:08:32 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id C5DE19CB472; Mon, 21 Feb 2011 21:08:32 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.4/8.14.4/Submit) id p1LK8WIP023911; Mon, 21 Feb 2011 21:08:32 +0100 (CET) (envelope-from rdivacky) Date: Mon, 21 Feb 2011 21:08:32 +0100 From: Roman Divacky To: Dimitry Andric Message-ID: <20110221200832.GA23843@freebsd.org> References: <201102211946.p1LJk2a4081223@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201102211946.p1LJk2a4081223@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r218926 - head/sys/boot/i386/boot2 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 20:08:47 -0000 On Mon, Feb 21, 2011 at 07:46:02PM +0000, Dimitry Andric wrote: > Author: dim > Date: Mon Feb 21 19:46:02 2011 > New Revision: 218926 > URL: http://svn.freebsd.org/changeset/base/218926 > > Log: > In sys/boot/i386/boot2/boot2.c, change the type of the 'opts' variable > from uint16_t back to uint32_t. The actual option bitmasks (RB_* and > RBX_*) assume at least a 32 bit variable. > > Submitted by: rdivacky actually, pointy hat to me :( From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 20:12:20 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C56F31065672; Mon, 21 Feb 2011 20:12:20 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 058038FC1B; Mon, 21 Feb 2011 20:12:19 +0000 (UTC) Received: by wwf26 with SMTP id 26so6309438wwf.31 for ; Mon, 21 Feb 2011 12:12:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UYtV5cOKQLk+nl65H9OVLNZD/OS84+YZa5QcMd2cpYY=; b=VkG9UwIssiafSmIyHubT3wO0ezPWNMkjoz9i+wyP3NZ3UC0SD/EIj5pwswX6zG9P5f n3y3r7CkOuxGBDs6sYe6avUrw7FNMN7ulwSrVzj6ykPoSIxPQV4k3Rw0b8c3gPrb5/1Z NHCNKLvPDrPkgg5VsZeDH5DXutiLHk2HOJjI0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=SX5N6yXQu+roaALLpLuRzmvf320BOpJcX8fORi9/hOEBs11TEthMdNAt/WHBewKyUg VUvIPuSW/h/C8rpuVTfWr89OAq9BWU4iWrm1TdzTU5X5Zb/sqLmnHWdAazw0qnLi54cH 6K0k9pRhXbn1Xrhr1IX0QAW8B4Ty8kW3sUgS8= MIME-Version: 1.0 Received: by 10.216.51.130 with SMTP id b2mr1602704wec.42.1298319138660; Mon, 21 Feb 2011 12:12:18 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.71.200 with HTTP; Mon, 21 Feb 2011 12:12:18 -0800 (PST) In-Reply-To: <20110221111448.575858b0.trhodes@FreeBSD.org> References: <201102131818.p1DIIuLL046962@svn.freebsd.org> <201102192007.32979.bruce@cran.org.uk> <4D6051D0.8050704@dougbarton.us> <20110221111448.575858b0.trhodes@FreeBSD.org> Date: Mon, 21 Feb 2011 12:12:18 -0800 X-Google-Sender-Auth: Omj-x3XKF0tAbWv47rbCfGKco40 Message-ID: From: Garrett Cooper To: Tom Rhodes Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: unixmania@gmail.com, bruce@cran.org.uk, src-committers@freebsd.org, svn-src-all@freebsd.org, Doug Barton , svn-src-head@freebsd.org Subject: Re: svn commit: r218650 - head/games/fortune/datfiles X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 20:12:20 -0000 On Mon, Feb 21, 2011 at 8:14 AM, Tom Rhodes wrote: > On Sat, 19 Feb 2011 15:27:12 -0800 > Doug Barton wrote: > >> On 02/19/2011 15:12, Carlos A. M. dos Santos wrote: >> > On Sat, Feb 19, 2011 at 6:07 PM, Bruce Cran =A0wrot= e: >> >> On Saturday 19 February 2011 17:25:32 Carlos A. M. dos Santos wrote: >> >> >> >>> Did anybody complain about this? If not, would you mid either revert >> >>> this commit or just go ahead and move all "potentially" offensive >> >>> jokes to fortunes-o? Anything from Grouch Marx or Mark Twain will >> >>> probably qualify. >> >> >> >> I'm happy to revert the checkin if you think the fortune should be in= the main >> >> file, since it appears the PR submitter was complaining just as much = about >> >> being unprofessional as offensive. =A0Would you like me to go ahead a= nd revert >> >> the move? >> > >> > I suggest you to revert the commit >> >> Serious overkill, particularly since: >> 1. The commit has already been MFC'ed, and >> 2. The fortune in question actually _is_ potentially offensive >> > > ... > $ man fortune > ... > WARNING: Integrating fortune and your email will cause wide > spread whining, crying, or panic which may or may not result > in a lecture about how someone else is morally superior to > yourself. =A0By integrating this program into your email client, > you are accepting the risk of not being pc-enough for your > peers (ones that you would probably never have a beer with). "Depending on how lucky you are, your fortune may rub people the wrong way"= :). Cheers, -Garrett "Never rub another man's rhubarb!"- The Joker From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 20:15:25 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4101D1065674; Mon, 21 Feb 2011 20:15:25 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id E315F8FC08; Mon, 21 Feb 2011 20:15:23 +0000 (UTC) Received: by wyb32 with SMTP id 32so2189395wyb.13 for ; Mon, 21 Feb 2011 12:15:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=WFkgB+g4A7xwhg9WAiGuGyJubPwf+2xe0hWcZ7nqF9c=; b=IEDDvrS+SZshUu/30XtRk255362ajSYogyExlH5IWR+XaQ5qXBGvCZt4D3vmiw90jI 2C4otSesnp68+0PdKvr3r6n8+UaqD5Kk1wgNg5zlIjxV+/P0OHghWjJ7OGSr0mGeL9dA qccFB4t+ZKVXpltHIr6+L6Vv9aoX4GJa3fRdA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qphPaZoS3DDjPcIwqk3MeIHe6gZTgLiG49WYAY0TmEcayvs9XDVPx98Inv9axATKnx 9sRBmm/9GHjOIDgRb/6sJzclFmup7mF35UlYgwjtxJeiCsKpjSTjGnIE/Flbl7L+MkjU +QdBuSHcL2IYtt/eutdI+rcbZ3piZCqfznFMo= MIME-Version: 1.0 Received: by 10.216.3.3 with SMTP id 3mr2566998weg.57.1298319323099; Mon, 21 Feb 2011 12:15:23 -0800 (PST) Received: by 10.216.71.200 with HTTP; Mon, 21 Feb 2011 12:15:22 -0800 (PST) In-Reply-To: <4D62B980.2090606@dougbarton.us> References: <201102180940.p1I9eD29050530@svn.freebsd.org> <20110219073412.GC2016@garage.freebsd.pl> <20110221084025.GA14934@zeninc.net> <20110221092143.GA1766@garage.freebsd.pl> <20110221110156.GA15358@zeninc.net> <4D62B980.2090606@dougbarton.us> Date: Mon, 21 Feb 2011 12:15:22 -0800 Message-ID: From: Garrett Cooper To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, VANHULLEBUS Yvan , src-committers@freebsd.org, Pawel Jakub Dawidek , svn-src-all@freebsd.org Subject: Re: svn commit: r218794 - in head: . sys/netipsec X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 20:15:25 -0000 On Mon, Feb 21, 2011 at 11:14 AM, Doug Barton wrote: > On 02/21/2011 03:01, VANHULLEBUS Yvan wrote: >> >> On Mon, Feb 21, 2011 at 10:21:43AM +0100, Pawel Jakub Dawidek wrote: >>> >>> > =A0On Mon, Feb 21, 2011 at 09:40:25AM +0100, VANHULLEBUS Yvan wrote: >> >> [RFC4868 and MFC] >>> >>> > =A0You can't talk to two such peers with sysctl or without anyway. I >>> > assume >>> > =A0that if someone already has tunnels configured and they work, they >>> > work, >>> > =A0because the other end uses 96 bits hashes. Once he upgrades there = is >>> > no >>> > =A0way to get old behaviour back quickly. >>> > >>> > =A0You are changing on-the-wire protocol in the middle of stable bran= ch. >>> > Am >>> > =A0I alone in thinking that this is bad idea? >> >> That's a good question. >> Of other people also think it's a bad idea, I can just forget the MFC. >> But the same problem will happen when we'll release 9.0. >> Of course, this is easier to explain, as this will be a new branch. > > IMO RFC compliance trumps -stable here. Admittedly some small percentage = of > users will be inconvenienced, and that is unfortunate. However all users = who > start using this technology from here forward should get the full RFC > compliant version. > > As Bjoern pointed out, we'll see more of this, not less because oddly eno= ugh > RFC publication (like many other external factors) do not revolve around = our > release schedules. :) Or maybe the statement: "Conformance and stability with the rest of the conforming machines trumps incorrectness and stability within just older versions of FreeBSD"? Is the right way to say things? Personally I think Yvan's doing the right thing as a bug's a bug, but that's just me. *shrugs* -Garrett From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 21:00:30 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36B26106564A; Mon, 21 Feb 2011 21:00:30 +0000 (UTC) (envelope-from bschmidt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 240C18FC08; Mon, 21 Feb 2011 21:00:30 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LL0UpF083192; Mon, 21 Feb 2011 21:00:30 GMT (envelope-from bschmidt@svn.freebsd.org) Received: (from bschmidt@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LL0U4p083190; Mon, 21 Feb 2011 21:00:30 GMT (envelope-from bschmidt@svn.freebsd.org) Message-Id: <201102212100.p1LL0U4p083190@svn.freebsd.org> From: Bernhard Schmidt Date: Mon, 21 Feb 2011 21:00:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218929 - stable/8/sys/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 21:00:30 -0000 Author: bschmidt Date: Mon Feb 21 21:00:29 2011 New Revision: 218929 URL: http://svn.freebsd.org/changeset/base/218929 Log: MFC r218368: Fix cut&paste mistake. Modified: stable/8/sys/conf/files Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/conf/files ============================================================================== --- stable/8/sys/conf/files Mon Feb 21 20:02:02 2011 (r218928) +++ stable/8/sys/conf/files Mon Feb 21 21:00:29 2011 (r218929) @@ -1204,7 +1204,7 @@ iwn6050.fw optional iwn6050fw | iwnfw dependency ".PHONY" \ compile-with "uudecode -o ${.TARGET} $S/contrib/dev/iwn/iwlwifi-6050-9.201.4.1.fw.uu" \ no-obj no-implicit-rule \ - clean "iwn6000.fw" + clean "iwn6050.fw" dev/ixgb/if_ixgb.c optional ixgb dev/ixgb/ixgb_ee.c optional ixgb dev/ixgb/ixgb_hw.c optional ixgb From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 21:13:18 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80256106566B; Mon, 21 Feb 2011 21:13:18 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 53DF58FC1B; Mon, 21 Feb 2011 21:13:18 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1LLDIoo083585; Mon, 21 Feb 2011 21:13:18 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1LLDICL083583; Mon, 21 Feb 2011 21:13:18 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201102212113.p1LLDICL083583@svn.freebsd.org> From: Marius Strobl Date: Mon, 21 Feb 2011 21:13:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218930 - head/sys/sparc64/pci X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 21:13:18 -0000 Author: marius Date: Mon Feb 21 21:13:18 2011 New Revision: 218930 URL: http://svn.freebsd.org/changeset/base/218930 Log: Resurrect ofw_pci_if.m from r178578. Added: head/sys/sparc64/pci/ofw_pci_if.m - copied unchanged from r178578, head/sys/sparc64/pci/ofw_pci_if.m Copied: head/sys/sparc64/pci/ofw_pci_if.m (from r178578, head/sys/sparc64/pci/ofw_pci_if.m) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/sparc64/pci/ofw_pci_if.m Mon Feb 21 21:13:18 2011 (r218930, copy of r178578, head/sys/sparc64/pci/ofw_pci_if.m) @@ -0,0 +1,53 @@ +#- +# Copyright (c) 2001, 2003 by Thomas Moestl +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +# IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# $FreeBSD$ + +#include + +#include + +#include + +INTERFACE ofw_pci; + +CODE { + static ofw_pci_intr_pending_t ofw_pci_default_intr_pending; + + static int + ofw_pci_default_intr_pending(device_t dev, ofw_pci_intr_t intr) + { + + if (device_get_parent(dev) != NULL) + return (OFW_PCI_INTR_PENDING(device_get_parent(dev), + intr)); + return (0); + } +}; + +# Return whether an interrupt request is pending for the INO intr. +METHOD int intr_pending { + device_t dev; + ofw_pci_intr_t intr; +} DEFAULT ofw_pci_default_intr_pending; From owner-svn-src-all@FreeBSD.ORG Mon Feb 21 23:51:25 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 1C0301065670; Mon, 21 Feb 2011 23:51:25 +0000 (UTC) Date: Mon, 21 Feb 2011 23:51:25 +0000 From: Alexander Best To: Bruce Cran Message-ID: <20110221235125.GA98118@freebsd.org> References: <201102210901.p1L91YoI063173@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201102210901.p1L91YoI063173@svn.freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218909 - in head: bin/df bin/sh lib/libc/arm/gen lib/libc/ia64/gen lib/libc/mips/gen lib/libc/powerpc/gen lib/libc/powerpc64/gen lib/libpkg lib/libstand lib/msun/src sys/amd64/amd64 sy... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 23:51:25 -0000 On Mon Feb 21 11, Bruce Cran wrote: > Author: brucec > Date: Mon Feb 21 09:01:34 2011 > New Revision: 218909 > URL: http://svn.freebsd.org/changeset/base/218909 > > Log: > Fix typos - remove duplicate "the". nice! ...also i just found these: otaku% find ./ -name "*.[0-9]" -exec grep " and and " {} + ./secure/lib/libssl/man/ssl.3:containing the prototypes for the data structures and and functions: ./usr.sbin/ntp/doc/ntp.conf.5:by increasing address values and and then by increasing mask values. otaku% find ./ -name "*.[0-9]" -exec grep " for for " {} + ./lib/libelf/elf_cntl.3:internally, this function is a no-op for for ELF objects opened in otaku% find ./ -name "*.[0-9]" -exec grep " then then " {} + ./secure/lib/libcrypto/man/BIO_s_fd.3:If the close flag is set then then \fIclose()\fR is called on the underlying cheers. alex > > PR: bin/154928 > Submitted by: Eitan Adler > MFC after: 3 days > > Modified: > head/bin/df/df.c > head/bin/sh/expand.c > head/lib/libc/arm/gen/modf.c > head/lib/libc/ia64/gen/modf.c > head/lib/libc/mips/gen/modf.c > head/lib/libc/powerpc/gen/modf.c > head/lib/libc/powerpc64/gen/modf.c > head/lib/libpkg/version.c > head/lib/libstand/environment.c > head/lib/msun/src/s_cbrt.c > head/sys/amd64/amd64/trap.c > head/sys/arm/xscale/i80321/iq80321.c > head/sys/boot/ficl/words.c > head/sys/cam/cam_xpt.c > head/sys/cam/scsi/scsi_sa.c > head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c > head/sys/cddl/dev/dtrace/i386/dtrace_subr.c > head/sys/compat/ndis/subr_ntoskrnl.c > head/sys/dev/advansys/adwcam.c > head/sys/dev/aic7xxx/aic79xx_osm.h > head/sys/dev/aic7xxx/aic7xxx_osm.h > head/sys/dev/asr/i2omsg.h > head/sys/dev/bktr/bktr_card.c > head/sys/dev/ctau/ctau.c > head/sys/dev/ctau/ctddk.h > head/sys/dev/cxgb/cxgb_main.c > head/sys/dev/drm/mach64_dma.c > head/sys/dev/drm/r300_reg.h > head/sys/dev/e1000/e1000_82575.c > head/sys/dev/e1000/e1000_ich8lan.c > head/sys/dev/ep/if_epreg.h > head/sys/dev/fdc/fdc.c > head/sys/dev/ixgb/ixgb_ee.c > head/sys/dev/malo/if_malohal.h > head/sys/dev/mwl/mwlhal.h > head/sys/dev/nxge/xgehal/xgehal-device.c > head/sys/dev/nxge/xgehal/xgehal-ring-fp.c > head/sys/dev/random/randomdev_soft.c > head/sys/dev/sound/pci/es137x.c > head/sys/dev/sym/sym_fw1.h > head/sys/dev/sym/sym_fw2.h > head/sys/dev/uart/uart_dev_ns8250.c > head/sys/dev/usb/usb_process.c > head/sys/dev/vx/if_vxreg.h > head/sys/dev/wpi/if_wpi.c > head/sys/fs/fdescfs/fdesc_vnops.c > head/sys/fs/msdosfs/msdosfs_vnops.c > head/sys/geom/geom_vfs.c > head/sys/geom/part/g_part_ebr.c > head/sys/geom/sched/gs_scheduler.h > head/sys/gnu/fs/xfs/xfs_dir_leaf.c > head/sys/gnu/fs/xfs/xfs_itable.c > head/sys/i386/i386/trap.c > head/sys/kern/subr_unit.c > head/sys/kern/subr_witness.c > head/sys/kern/uipc_mbuf.c > head/sys/mips/mips/pmap.c > head/sys/mips/rmi/fmn.c > head/sys/mips/sibyte/sb_zbpci.c > head/sys/net/if_media.c > head/sys/net/route.c > head/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c > head/sys/netgraph/ng_source.c > head/sys/netinet/if_ether.c > head/sys/netinet/ip_input.c > head/sys/netinet/ipfw/ip_fw_private.h > head/sys/netinet/libalias/alias_sctp.c > head/sys/netinet/tcp_offload.h > head/sys/netinet/tcp_subr.c > head/sys/netinet/tcp_syncache.c > head/sys/netinet/tcp_timewait.c > head/sys/netinet6/in6.h > head/sys/pc98/cbus/fdc.c > head/sys/sparc64/include/iommureg.h > head/sys/sparc64/pci/sbbc.c > head/sys/sparc64/sparc64/trap.c > head/sys/sys/aac_ioctl.h > head/usr.bin/lex/misc.c > head/usr.bin/m4/gnum4.c > head/usr.bin/make/lst.c > head/usr.bin/rpcinfo/rpcinfo.c > head/usr.bin/xinstall/xinstall.c > head/usr.sbin/moused/moused.c > head/usr.sbin/rpcbind/util.c > head/usr.sbin/sysinstall/install.c > > Modified: head/bin/df/df.c > ============================================================================== > --- head/bin/df/df.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/bin/df/df.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -125,7 +125,7 @@ main(int argc, char *argv[]) > /* FALLTHROUGH */ > case 'P': > /* > - * POSIX specifically discusses the the behavior of > + * POSIX specifically discusses the behavior of > * both -k and -P. It states that the blocksize should > * be set to 1024. Thus, if this occurs, simply break > * rather than clobbering the old blocksize. > > Modified: head/bin/sh/expand.c > ============================================================================== > --- head/bin/sh/expand.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/bin/sh/expand.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -959,7 +959,7 @@ numvar: > > > /* > - * Record the the fact that we have to scan this region of the > + * Record the fact that we have to scan this region of the > * string for IFS characters. > */ > > > Modified: head/lib/libc/arm/gen/modf.c > ============================================================================== > --- head/lib/libc/arm/gen/modf.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/lib/libc/arm/gen/modf.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -86,7 +86,7 @@ modf(val, iptr) > * If you look at the math involved for a few seconds, it's > * plain to see that the integral part is the input, with the > * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, > - * the the fractional part is the part with the rest of the > + * the fractional part is the part with the rest of the > * bits zeroed. Just zeroing the high bits to get the > * fractional part would yield a fraction in need of > * normalization. Therefore, we take the easy way out, and > > Modified: head/lib/libc/ia64/gen/modf.c > ============================================================================== > --- head/lib/libc/ia64/gen/modf.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/lib/libc/ia64/gen/modf.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -85,7 +85,7 @@ modf(val, iptr) > * If you look at the math involved for a few seconds, it's > * plain to see that the integral part is the input, with the > * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, > - * the the fractional part is the part with the rest of the > + * the fractional part is the part with the rest of the > * bits zeroed. Just zeroing the high bits to get the > * fractional part would yield a fraction in need of > * normalization. Therefore, we take the easy way out, and > > Modified: head/lib/libc/mips/gen/modf.c > ============================================================================== > --- head/lib/libc/mips/gen/modf.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/lib/libc/mips/gen/modf.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -86,7 +86,7 @@ modf(val, iptr) > * If you look at the math involved for a few seconds, it's > * plain to see that the integral part is the input, with the > * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, > - * the the fractional part is the part with the rest of the > + * the fractional part is the part with the rest of the > * bits zeroed. Just zeroing the high bits to get the > * fractional part would yield a fraction in need of > * normalization. Therefore, we take the easy way out, and > > Modified: head/lib/libc/powerpc/gen/modf.c > ============================================================================== > --- head/lib/libc/powerpc/gen/modf.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/lib/libc/powerpc/gen/modf.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -86,7 +86,7 @@ modf(val, iptr) > * If you look at the math involved for a few seconds, it's > * plain to see that the integral part is the input, with the > * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, > - * the the fractional part is the part with the rest of the > + * the fractional part is the part with the rest of the > * bits zeroed. Just zeroing the high bits to get the > * fractional part would yield a fraction in need of > * normalization. Therefore, we take the easy way out, and > > Modified: head/lib/libc/powerpc64/gen/modf.c > ============================================================================== > --- head/lib/libc/powerpc64/gen/modf.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/lib/libc/powerpc64/gen/modf.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -86,7 +86,7 @@ modf(val, iptr) > * If you look at the math involved for a few seconds, it's > * plain to see that the integral part is the input, with the > * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, > - * the the fractional part is the part with the rest of the > + * the fractional part is the part with the rest of the > * bits zeroed. Just zeroing the high bits to get the > * fractional part would yield a fraction in need of > * normalization. Therefore, we take the easy way out, and > > Modified: head/lib/libpkg/version.c > ============================================================================== > --- head/lib/libpkg/version.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/lib/libpkg/version.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -76,7 +76,7 @@ split_version(const char *pkgname, const > if (pkgname == NULL) > errx(2, "%s: Passed NULL pkgname.", __func__); > > - /* Look for the last '-' the the pkgname */ > + /* Look for the last '-' the pkgname */ > ch = strrchr(pkgname, '-'); > /* Cheat if we are just passed a version, not a valid package name */ > versionstr = ch ? ch + 1 : pkgname; > > Modified: head/lib/libstand/environment.c > ============================================================================== > --- head/lib/libstand/environment.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/lib/libstand/environment.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -59,7 +59,7 @@ env_getenv(const char *name) > * Some notes: > * > * If the EV_VOLATILE flag is set, a copy of the variable is made. > - * If EV_DYNAMIC is set, the the variable has been allocated with > + * If EV_DYNAMIC is set, the variable has been allocated with > * malloc and ownership transferred to the environment. > * If (value) is NULL, the variable is set but has no value. > */ > > Modified: head/lib/msun/src/s_cbrt.c > ============================================================================== > --- head/lib/msun/src/s_cbrt.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/lib/msun/src/s_cbrt.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -94,7 +94,7 @@ cbrt(double x) > * 2 23-bit ulps larger). With rounding towards zero, the error bound > * would be ~5/6 instead of ~4/6. With a maximum error of 2 23-bit ulps > * in the rounded t, the infinite-precision error in the Newton > - * approximation barely affects third digit in the the final error > + * approximation barely affects third digit in the final error > * 0.667; the error in the rounded t can be up to about 3 23-bit ulps > * before the final error is larger than 0.667 ulps. > */ > > Modified: head/sys/amd64/amd64/trap.c > ============================================================================== > --- head/sys/amd64/amd64/trap.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/amd64/amd64/trap.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -235,7 +235,7 @@ trap(struct trapframe *frame) > * A trap can occur while DTrace executes a probe. Before > * executing the probe, DTrace blocks re-scheduling and sets > * a flag in it's per-cpu flags to indicate that it doesn't > - * want to fault. On returning from the the probe, the no-fault > + * want to fault. On returning from the probe, the no-fault > * flag is cleared and finally re-scheduling is enabled. > * > * If the DTrace kernel module has registered a trap handler, > > Modified: head/sys/arm/xscale/i80321/iq80321.c > ============================================================================== > --- head/sys/arm/xscale/i80321/iq80321.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/arm/xscale/i80321/iq80321.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -139,7 +139,7 @@ iq80321_attach(device_t dev) > device_get_name(dev)); > > /* > - * We have mapped the the PCI I/O windows in the early > + * We have mapped the PCI I/O windows in the early > * bootstrap phase. > */ > sc->sc_iow_vaddr = IQ80321_IOW_VBASE; > > Modified: head/sys/boot/ficl/words.c > ============================================================================== > --- head/sys/boot/ficl/words.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/boot/ficl/words.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -1293,7 +1293,7 @@ static void ifCoIm(FICL_VM *pVM) > ** compiles an "else"... > ** 1) Compile a branch and a patch address; the address gets patched > ** by "endif" to point past the "else" code. > -** 2) Pop the the "if" patch address > +** 2) Pop the "if" patch address > ** 3) Patch the "if" branch to point to the current compile address. > ** 4) Push the "else" patch address. ("endif" patches this to jump past > ** the "else" code. > > Modified: head/sys/cam/cam_xpt.c > ============================================================================== > --- head/sys/cam/cam_xpt.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/cam/cam_xpt.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -317,7 +317,7 @@ xpt_schedule_dev_allocq(struct cam_eb *b > CAMQ_GET_PRIO(&dev->drvq))) == 0)) { > /* > * The priority of a device waiting for CCB resources > - * is that of the the highest priority peripheral driver > + * is that of the highest priority peripheral driver > * enqueued. > */ > retval = xpt_schedule_dev(&bus->sim->devq->alloc_queue, > @@ -340,7 +340,7 @@ xpt_schedule_dev_sendq(struct cam_eb *bu > (cam_ccbq_frozen_top(&dev->ccbq) == 0)) { > /* > * The priority of a device waiting for controller > - * resources is that of the the highest priority CCB > + * resources is that of the highest priority CCB > * enqueued. > */ > retval = > > Modified: head/sys/cam/scsi/scsi_sa.c > ============================================================================== > --- head/sys/cam/scsi/scsi_sa.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/cam/scsi/scsi_sa.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -2654,7 +2654,7 @@ retry: > struct scsi_dev_conf_page *cp = &ntcs->dconf; > /* > * We don't really know whether this device supports > - * Data Compression if the the algorithm field is > + * Data Compression if the algorithm field is > * zero. Just say we do. > */ > *comp_supported = TRUE; > > Modified: head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c > ============================================================================== > --- head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -487,7 +487,7 @@ dtrace_trap(struct trapframe *frame, u_i > * A trap can occur while DTrace executes a probe. Before > * executing the probe, DTrace blocks re-scheduling and sets > * a flag in it's per-cpu flags to indicate that it doesn't > - * want to fault. On returning from the the probe, the no-fault > + * want to fault. On returning from the probe, the no-fault > * flag is cleared and finally re-scheduling is enabled. > * > * Check if DTrace has enabled 'no-fault' mode: > > Modified: head/sys/cddl/dev/dtrace/i386/dtrace_subr.c > ============================================================================== > --- head/sys/cddl/dev/dtrace/i386/dtrace_subr.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/cddl/dev/dtrace/i386/dtrace_subr.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -487,7 +487,7 @@ dtrace_trap(struct trapframe *frame, u_i > * A trap can occur while DTrace executes a probe. Before > * executing the probe, DTrace blocks re-scheduling and sets > * a flag in it's per-cpu flags to indicate that it doesn't > - * want to fault. On returning from the the probe, the no-fault > + * want to fault. On returning from the probe, the no-fault > * flag is cleared and finally re-scheduling is enabled. > * > * Check if DTrace has enabled 'no-fault' mode: > > Modified: head/sys/compat/ndis/subr_ntoskrnl.c > ============================================================================== > --- head/sys/compat/ndis/subr_ntoskrnl.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/compat/ndis/subr_ntoskrnl.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -3355,7 +3355,7 @@ KeSetEvent(nt_kevent *kevent, uint32_t i > * setting the state to signalled since we're supposed > * to automatically clear synchronization events anyway). > * > - * If it's a notification event, or the the first > + * If it's a notification event, or the first > * waiter is doing a WAITTYPE_ALL wait, go through > * the full wait satisfaction process. > */ > > Modified: head/sys/dev/advansys/adwcam.c > ============================================================================== > --- head/sys/dev/advansys/adwcam.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/advansys/adwcam.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -1,5 +1,5 @@ > /*- > - * CAM SCSI interface for the the Advanced Systems Inc. > + * CAM SCSI interface for the Advanced Systems Inc. > * Second Generation SCSI controllers. > * > * Product specific probe and attach routines can be found in: > > Modified: head/sys/dev/aic7xxx/aic79xx_osm.h > ============================================================================== > --- head/sys/dev/aic7xxx/aic79xx_osm.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/aic7xxx/aic79xx_osm.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -103,7 +103,7 @@ > * The number of dma segments supported. The sequencer can handle any number > * of physically contiguous S/G entrys. To reduce the driver's memory > * consumption, we limit the number supported to be sufficient to handle > - * the largest mapping supported by the the legacy kernel MAXPHYS setting of > + * the largest mapping supported by the legacy kernel MAXPHYS setting of > * 128K. This can be increased once some testing is done. Assuming the > * transfer is as fragmented as possible and unaligned, this turns out to > * be the number of paged sized transfers in MAXPHYS plus an extra element > > Modified: head/sys/dev/aic7xxx/aic7xxx_osm.h > ============================================================================== > --- head/sys/dev/aic7xxx/aic7xxx_osm.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/aic7xxx/aic7xxx_osm.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -115,7 +115,7 @@ extern devclass_t ahc_devclass; > * The number of dma segments supported. The sequencer can handle any number > * of physically contiguous S/G entrys. To reduce the driver's memory > * consumption, we limit the number supported to be sufficient to handle > - * the largest mapping supported by the the legacy kernel MAXPHYS setting of > + * the largest mapping supported by the legacy kernel MAXPHYS setting of > * 128K. This can be increased once some testing is done. Assuming the > * be the number of paged sized transfers in MAXPHYS plus an extra element > * to handle any unaligned residual. The sequencer fetches SG elements > > Modified: head/sys/dev/asr/i2omsg.h > ============================================================================== > --- head/sys/dev/asr/i2omsg.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/asr/i2omsg.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -183,7 +183,7 @@ PRAGMA_PACK_PUSH > #define I2O_VERSION_OFFSET_SGL_TRL_OFFSET_MASK 0xF0 > > /* Defines for the Message Flags Field. */ > -/* Please Note the the FAIL bit is only set in the Transport Fail Message. */ > +/* Please Note the FAIL bit is only set in the Transport Fail Message. */ > #define I2O_MESSAGE_FLAGS_STATIC 0x01 > #define I2O_MESSAGE_FLAGS_64BIT_CONTEXT 0x02 > #define I2O_MESSAGE_FLAGS_MULTIPLE 0x10 > > Modified: head/sys/dev/bktr/bktr_card.c > ============================================================================== > --- head/sys/dev/bktr/bktr_card.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/bktr/bktr_card.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -570,7 +570,7 @@ static int locate_eeprom_address( bktr_p > * > * However some makes of card (eg Hauppauge) come with a configuration eeprom > * which tells us the make of the card. Most eeproms also tell us the > - * tuner type and other features of the the cards. > + * tuner type and other features of the cards. > * > * The current probe code works as follows > * A) If the card uses a Bt878/879: > > Modified: head/sys/dev/ctau/ctau.c > ============================================================================== > --- head/sys/dev/ctau/ctau.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/ctau/ctau.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -1734,7 +1734,7 @@ ct_board_opt_t ct_board_opt_dflt = { > 0, /* board control register 2 */ > { /* DMA priority control register */ > PCR_PRIO_ROTATE, > - 0, /* all channels share the the bus hold */ > + 0, /* all channels share the bus hold */ > 0, /* hold the bus until all transfers done */ > }, > CFG_A, /* E1/G.703 config: two independent channels */ > > Modified: head/sys/dev/ctau/ctddk.h > ============================================================================== > --- head/sys/dev/ctau/ctddk.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/ctau/ctddk.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -206,7 +206,7 @@ typedef struct { > typedef struct { > unsigned prio : 3; /* priority of channels */ > unsigned noshare : 1; /* 1 - chan holds the bus until end of data */ > - /* 0 - all channels share the the bus hold */ > + /* 0 - all channels share the bus hold */ > unsigned release : 1; /* 1 - release the bus between transfers */ > /* 0 - hold the bus until all transfers done */ > } ct_pcr_t; > > Modified: head/sys/dev/cxgb/cxgb_main.c > ============================================================================== > --- head/sys/dev/cxgb/cxgb_main.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/cxgb/cxgb_main.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -1908,7 +1908,7 @@ cxgb_uninit_synchronized(struct port_inf > /* > * Clear this port's bit from the open device map, and then drain all > * the tasks that can access/manipulate this port's port_info or ifp. > - * We disable this port's interrupts here and so the the slow/ext > + * We disable this port's interrupts here and so the slow/ext > * interrupt tasks won't be enqueued. The tick task will continue to > * be enqueued every second but the runs after this drain will not see > * this port in the open device map. > @@ -2858,7 +2858,7 @@ cxgb_extension_ioctl(struct cdev *dev, u > u64 buf[32]; > > /* > - * Use these to avoid modifying len/addr in the the return > + * Use these to avoid modifying len/addr in the return > * struct > */ > uint32_t len = t->len, addr = t->addr; > > Modified: head/sys/dev/drm/mach64_dma.c > ============================================================================== > --- head/sys/dev/drm/mach64_dma.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/drm/mach64_dma.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -173,7 +173,7 @@ static int mach64_ring_idle(drm_mach64_p > } > > /** > - * Reset the the ring buffer descriptors. > + * Reset the ring buffer descriptors. > * > * \sa mach64_do_engine_reset() > */ > > Modified: head/sys/dev/drm/r300_reg.h > ============================================================================== > --- head/sys/dev/drm/r300_reg.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/drm/r300_reg.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -353,7 +353,7 @@ __FBSDID("$FreeBSD$"); > # define R300_PVS_CNTL_1_PROGRAM_START_SHIFT 0 > # define R300_PVS_CNTL_1_POS_END_SHIFT 10 > # define R300_PVS_CNTL_1_PROGRAM_END_SHIFT 20 > -/* Addresses are relative the the vertex program parameters area. */ > +/* Addresses are relative the vertex program parameters area. */ > #define R300_VAP_PVS_CNTL_2 0x22D4 > # define R300_PVS_CNTL_2_PARAM_OFFSET_SHIFT 0 > # define R300_PVS_CNTL_2_PARAM_COUNT_SHIFT 16 > > Modified: head/sys/dev/e1000/e1000_82575.c > ============================================================================== > --- head/sys/dev/e1000/e1000_82575.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/e1000/e1000_82575.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -1986,7 +1986,7 @@ out: > * e1000_reset_mdicnfg_82580 - Reset MDICNFG destination and com_mdio bits > * @hw: pointer to the HW structure > * > - * This resets the the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on > + * This resets the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on > * the values found in the EEPROM. This addresses an issue in which these > * bits are not restored from EEPROM after reset. > **/ > > Modified: head/sys/dev/e1000/e1000_ich8lan.c > ============================================================================== > --- head/sys/dev/e1000/e1000_ich8lan.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/e1000/e1000_ich8lan.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -3218,7 +3218,7 @@ out: > * @hw: pointer to the HW structure > * > * ICH8 use the PCI Express bus, but does not contain a PCI Express Capability > - * register, so the the bus width is hard coded. > + * register, so the bus width is hard coded. > **/ > static s32 e1000_get_bus_info_ich8lan(struct e1000_hw *hw) > { > > Modified: head/sys/dev/ep/if_epreg.h > ============================================================================== > --- head/sys/dev/ep/if_epreg.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/ep/if_epreg.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -113,7 +113,7 @@ > /************************************************************************** > * * > * These are the registers for the 3Com 3c509 and their bit patterns when * > - * applicable. They have been taken out the the "EtherLink III Parallel * > + * applicable. They have been taken out the "EtherLink III Parallel * > * Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual * > * from 3com. * > * * > > Modified: head/sys/dev/fdc/fdc.c > ============================================================================== > --- head/sys/dev/fdc/fdc.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/fdc/fdc.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -1261,7 +1261,7 @@ fdmisccmd(struct fd_data *fd, u_int cmd, > > /* > * Set up a bio request for fdstrategy(). bio_offset is faked > - * so that fdstrategy() will seek to the the requested > + * so that fdstrategy() will seek to the requested > * cylinder, and use the desired head. > */ > bp->bio_cmd = cmd; > > Modified: head/sys/dev/ixgb/ixgb_ee.c > ============================================================================== > --- head/sys/dev/ixgb/ixgb_ee.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/ixgb/ixgb_ee.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -325,7 +325,7 @@ ixgb_wait_eeprom_command(struct ixgb_hw > * hw - Struct containing variables accessed by shared code > * > * Reads the first 64 16 bit words of the EEPROM and sums the values read. > - * If the the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is > + * If the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is > * valid. > * > * Returns: > > Modified: head/sys/dev/malo/if_malohal.h > ============================================================================== > --- head/sys/dev/malo/if_malohal.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/malo/if_malohal.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -133,7 +133,7 @@ struct malo_hal_hwstats { > /* > * Set Antenna Configuration (legacy operation). > * > - * The RX antenna can be selected using the the bitmask > + * The RX antenna can be selected using the bitmask > * ant (bit 0 = antenna 1, bit 1 = antenna 2, etc.) > * (diversity?XXX) > */ > > Modified: head/sys/dev/mwl/mwlhal.h > ============================================================================== > --- head/sys/dev/mwl/mwlhal.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/mwl/mwlhal.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -291,7 +291,7 @@ int mwl_hal_setradio(struct mwl_hal *mh, > /* > * Set Antenna Configuration (legacy operation). > * > - * The RX antenna can be selected using the the bitmask > + * The RX antenna can be selected using the bitmask > * ant (bit 0 = antenna 1, bit 1 = antenna 2, etc.) > * (diversity?XXX) > */ > > Modified: head/sys/dev/nxge/xgehal/xgehal-device.c > ============================================================================== > --- head/sys/dev/nxge/xgehal/xgehal-device.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/nxge/xgehal/xgehal-device.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -4418,7 +4418,7 @@ xge_hal_device_status(xge_hal_device_t * > #ifndef XGE_HAL_HERC_EMULATION > /* > * Andrew: in PCI 33 mode, the P_PLL is not used, and therefore, > - * the the P_PLL_LOCK bit in the adapter_status register will > + * the P_PLL_LOCK bit in the adapter_status register will > * not be asserted. > */ > if (!(tmp64 & XGE_HAL_ADAPTER_STATUS_P_PLL_LOCK) && > > Modified: head/sys/dev/nxge/xgehal/xgehal-ring-fp.c > ============================================================================== > --- head/sys/dev/nxge/xgehal/xgehal-ring-fp.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/nxge/xgehal/xgehal-ring-fp.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -801,7 +801,7 @@ xge_hal_ring_dtr_free(xge_hal_channel_h > * xge_hal_ring_is_next_dtr_completed - Check if the next dtr is completed > * @channelh: Channel handle. > * > - * Checks if the the _next_ completed descriptor is in host memory > + * Checks if the _next_ completed descriptor is in host memory > * > * Returns: XGE_HAL_OK - success. > * XGE_HAL_INF_NO_MORE_COMPLETED_DESCRIPTORS - No completed descriptors > > Modified: head/sys/dev/random/randomdev_soft.c > ============================================================================== > --- head/sys/dev/random/randomdev_soft.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/random/randomdev_soft.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -347,7 +347,7 @@ random_yarrow_write(void *buf, int count > > /* > * Break the input up into HARVESTSIZE chunks. The writer has too > - * much control here, so "estimate" the the entropy as zero. > + * much control here, so "estimate" the entropy as zero. > */ > for (i = 0; i < count; i += HARVESTSIZE) { > chunk = HARVESTSIZE; > > Modified: head/sys/dev/sound/pci/es137x.c > ============================================================================== > --- head/sys/dev/sound/pci/es137x.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/sound/pci/es137x.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -584,7 +584,7 @@ eschan1370_setspeed(kobj_t obj, void *da > /* > * DAC1 does not support continuous rate settings. > * Pick the nearest and use it since FEEDER_RATE will > - * do the the proper conversion for us. > + * do the proper conversion for us. > */ > es->ctrl &= ~CTRL_WTSRSEL; > if (speed < 8268) { > > Modified: head/sys/dev/sym/sym_fw1.h > ============================================================================== > --- head/sys/dev/sym/sym_fw1.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/sym/sym_fw1.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -262,7 +262,7 @@ static const struct SYM_FWA_SCR SYM_FWA_ > * The below GETJOB_BEGIN to GETJOB_END section of SCRIPTS > * is a critical path. If it is partially executed, it then > * may happen that the job address is not yet in the DSA > - * and the the next queue position points to the next JOB. > + * and the next queue position points to the next JOB. > */ > }/*-------------------------< GETJOB_BEGIN >---------------------*/,{ > /* > > Modified: head/sys/dev/sym/sym_fw2.h > ============================================================================== > --- head/sys/dev/sym/sym_fw2.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/sym/sym_fw2.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -252,7 +252,7 @@ static const struct SYM_FWA_SCR SYM_FWA_ > * The below GETJOB_BEGIN to GETJOB_END section of SCRIPTS > * is a critical path. If it is partially executed, it then > * may happen that the job address is not yet in the DSA > - * and the the next queue position points to the next JOB. > + * and the next queue position points to the next JOB. > */ > SCR_LOAD_ABS (dsa, 4), > PADDR_B (startpos), > > Modified: head/sys/dev/uart/uart_dev_ns8250.c > ============================================================================== > --- head/sys/dev/uart/uart_dev_ns8250.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/uart/uart_dev_ns8250.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -693,7 +693,7 @@ ns8250_bus_probe(struct uart_softc *sc) > /* > * We should have a sufficiently clean "pipe" to determine the > * size of the FIFOs. We send as much characters as is reasonable > - * and wait for the the overflow bit in the LSR register to be > + * and wait for the overflow bit in the LSR register to be > * asserted, counting the characters as we send them. Based on > * that count we know the FIFO size. > */ > > Modified: head/sys/dev/usb/usb_process.c > ============================================================================== > --- head/sys/dev/usb/usb_process.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/usb/usb_process.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -462,7 +462,7 @@ usb_proc_drain(struct usb_process *up) > /*------------------------------------------------------------------------* > * usb_proc_rewakeup > * > - * This function is called to re-wakeup the the given USB > + * This function is called to re-wakeup the given USB > * process. This usually happens after that the USB system has been in > * polling mode, like during a panic. This function must be called > * having "up->up_mtx" locked. > > Modified: head/sys/dev/vx/if_vxreg.h > ============================================================================== > --- head/sys/dev/vx/if_vxreg.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/vx/if_vxreg.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -112,7 +112,7 @@ > > /************************************************************************** > * These are the registers for the 3Com 3c509 and their bit patterns when * > - * applicable. They have been taken out the the "EtherLink III Parallel * > + * applicable. They have been taken out the "EtherLink III Parallel * > * Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual * > * from 3com. * > **************************************************************************/ > > Modified: head/sys/dev/wpi/if_wpi.c > ============================================================================== > --- head/sys/dev/wpi/if_wpi.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/dev/wpi/if_wpi.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -29,7 +29,7 @@ __FBSDID("$FreeBSD$"); > * state and told to load boot firmware. The boot firmware loads an init and a > * main binary firmware image into SRAM on the card via DMA. > * Once the firmware is loaded, the driver/hw then > - * communicate by way of circular dma rings via the the SRAM to the firmware. > + * communicate by way of circular dma rings via the SRAM to the firmware. > * > * There is 6 memory rings. 1 command ring, 1 rx data ring & 4 tx data rings. > * The 4 tx data rings allow for prioritization QoS. > > Modified: head/sys/fs/fdescfs/fdesc_vnops.c > ============================================================================== > --- head/sys/fs/fdescfs/fdesc_vnops.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/fs/fdescfs/fdesc_vnops.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -368,7 +368,7 @@ fdesc_open(ap) > return (0); > > /* > - * XXX Kludge: set td->td_proc->p_dupfd to contain the value of the the file > + * XXX Kludge: set td->td_proc->p_dupfd to contain the value of the file > * descriptor being sought for duplication. The error return ensures > * that the vnode for this device will be released by vn_open. Open > * will detect this special error and take the actions in dupfdopen. > > Modified: head/sys/fs/msdosfs/msdosfs_vnops.c > ============================================================================== > --- head/sys/fs/msdosfs/msdosfs_vnops.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/fs/msdosfs/msdosfs_vnops.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -1530,7 +1530,7 @@ msdosfs_readdir(ap) > > /* > * msdosfs_readdir() won't operate properly on regular files since > - * it does i/o only with the the filesystem vnode, and hence can > + * it does i/o only with the filesystem vnode, and hence can > * retrieve the wrong block from the buffer cache for a plain file. > * So, fail attempts to readdir() on a plain file. > */ > > Modified: head/sys/geom/geom_vfs.c > ============================================================================== > --- head/sys/geom/geom_vfs.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/geom/geom_vfs.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -109,7 +109,7 @@ g_vfs_strategy(struct bufobj *bo, struct > /* G_VALID_CONSUMER(cp); We likely lack topology lock */ > > /* > - * If the the provider has orphaned us, just return EXIO. > + * If the provider has orphaned us, just return EXIO. > */ > if (cp->provider == NULL) { > bp->b_error = ENXIO; > > Modified: head/sys/geom/part/g_part_ebr.c > ============================================================================== > --- head/sys/geom/part/g_part_ebr.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/geom/part/g_part_ebr.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -591,7 +591,7 @@ g_part_ebr_write(struct g_part_table *ba > while (baseentry != NULL && baseentry->gpe_deleted) > baseentry = LIST_NEXT(baseentry, gpe_entry); > > - /* Wipe-out the the first EBR when there are no slices. */ > + /* Wipe-out the first EBR when there are no slices. */ > if (baseentry == NULL) { > error = g_write_data(cp, 0, buf, pp->sectorsize); > goto out; > > Modified: head/sys/geom/sched/gs_scheduler.h > ============================================================================== > --- head/sys/geom/sched/gs_scheduler.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/geom/sched/gs_scheduler.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -144,7 +144,7 @@ struct g_sched_class { > > /* > * Manipulate the classifier's data. g_sched_get_class() gets a reference > - * to the the class corresponding to bp in gp, allocating and initializing > + * to the class corresponding to bp in gp, allocating and initializing > * it if necessary. g_sched_put_class() releases the reference. > * The returned value points to the private data for the class. > */ > > Modified: head/sys/gnu/fs/xfs/xfs_dir_leaf.c > ============================================================================== > --- head/sys/gnu/fs/xfs/xfs_dir_leaf.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/gnu/fs/xfs/xfs_dir_leaf.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -2153,7 +2153,7 @@ xfs_dir_leaf_getdents_int( > } > > /* > - * Format a dirent64 structure and copy it out the the user's buffer. > + * Format a dirent64 structure and copy it out the user's buffer. > */ > int > xfs_dir_put_dirent64_direct(xfs_dir_put_args_t *pa) > @@ -2185,7 +2185,7 @@ xfs_dir_put_dirent64_direct(xfs_dir_put_ > } > > /* > - * Format a dirent64 structure and copy it out the the user's buffer. > + * Format a dirent64 structure and copy it out the user's buffer. > */ > int > xfs_dir_put_dirent64_uio(xfs_dir_put_args_t *pa) > > Modified: head/sys/gnu/fs/xfs/xfs_itable.c > ============================================================================== > --- head/sys/gnu/fs/xfs/xfs_itable.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/gnu/fs/xfs/xfs_itable.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -777,7 +777,7 @@ xfs_inumbers( > xfs_buf_relse(agbp); > agbp = NULL; > /* > - * Move up the the last inode in the current > + * Move up the last inode in the current > * chunk. The lookup_ge will always get > * us the first inode in the next chunk. > */ > > Modified: head/sys/i386/i386/trap.c > ============================================================================== > --- head/sys/i386/i386/trap.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/i386/i386/trap.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -255,7 +255,7 @@ trap(struct trapframe *frame) > * A trap can occur while DTrace executes a probe. Before > * executing the probe, DTrace blocks re-scheduling and sets > * a flag in it's per-cpu flags to indicate that it doesn't > - * want to fault. On returning from the the probe, the no-fault > + * want to fault. On returning from the probe, the no-fault > * flag is cleared and finally re-scheduling is enabled. > * > * If the DTrace kernel module has registered a trap handler, > > Modified: head/sys/kern/subr_unit.c > ============================================================================== > --- head/sys/kern/subr_unit.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/kern/subr_unit.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -41,7 +41,7 @@ > * > * If a mutex is not provided when the unit number space is created, a > * default global mutex is used. The advantage to passing a mutex in, is > - * that the the alloc_unrl() function can be called with the mutex already > + * that the alloc_unrl() function can be called with the mutex already > * held (it will not be released by alloc_unrl()). > * > * The allocation function alloc_unr{l}() never sleeps (but it may block on > @@ -52,7 +52,7 @@ > * > * A userland test program is included. > * > - * Memory usage is a very complex function of the the exact allocation > + * Memory usage is a very complex function of the exact allocation > * pattern, but always very compact: > * * For the very typical case where a single unbroken run of unit > * numbers are allocated 44 bytes are used on i386. > > Modified: head/sys/kern/subr_witness.c > ============================================================================== > --- head/sys/kern/subr_witness.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/kern/subr_witness.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -1175,7 +1175,7 @@ witness_checkorder(struct lock_object *l > mtx_assert(&w_mtx, MA_OWNED); > > /* > - * If we know that the the lock we are acquiring comes after > + * If we know that the lock we are acquiring comes after > * the lock we most recently acquired in the lock order tree, > * then there is no need for any further checks. > */ > > Modified: head/sys/kern/uipc_mbuf.c > ============================================================================== > --- head/sys/kern/uipc_mbuf.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/kern/uipc_mbuf.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -280,7 +280,7 @@ mb_free_ext(struct mbuf *m) > } > > /* > - * Attach the the cluster from *m to *n, set up m_ext in *n > + * Attach the cluster from *m to *n, set up m_ext in *n > * and bump the refcount of the cluster. > */ > static void > > Modified: head/sys/mips/mips/pmap.c > ============================================================================== > --- head/sys/mips/mips/pmap.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/mips/mips/pmap.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -2018,7 +2018,7 @@ validate: > pmap_update_page(pmap, va, newpte); > > /* > - * Sync I & D caches for executable pages. Do this only if the the > + * Sync I & D caches for executable pages. Do this only if the > * target pmap belongs to the current process. Otherwise, an > * unresolvable TLB miss may occur. > */ > @@ -2152,7 +2152,7 @@ pmap_enter_quick_locked(pmap_t pmap, vm_ > else { > *pte |= PTE_RO; > /* > - * Sync I & D caches. Do this only if the the target pmap > + * Sync I & D caches. Do this only if the target pmap > * belongs to the current process. Otherwise, an > * unresolvable TLB miss may occur. */ > if (pmap == &curproc->p_vmspace->vm_pmap) { > > Modified: head/sys/mips/rmi/fmn.c > ============================================================================== > --- head/sys/mips/rmi/fmn.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/mips/rmi/fmn.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -99,7 +99,7 @@ static int msgring_maxthreads = 3; > TUNABLE_INT("hw.fmn.maxthreads", &msgring_maxthreads); > > /* > - * The device drivers can register a handler for the the messages sent > + * The device drivers can register a handler for the messages sent > * from a station (corresponding to the device). > */ > struct tx_stn_handler { > @@ -148,7 +148,7 @@ xlr_msgring_cpu_init(void) > * For sending FMN messages, we need credits on the destination > * bucket. Program the credits this core has on the 128 possible > * destination buckets. > - * We cannot use a loop here, because the the first argument has > + * We cannot use a loop here, because the first argument has > * to be a constant integer value. > */ > MSGRNG_CC_INIT_CPU_DEST(0, cc_config->counters); > > Modified: head/sys/mips/sibyte/sb_zbpci.c > ============================================================================== > --- head/sys/mips/sibyte/sb_zbpci.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/mips/sibyte/sb_zbpci.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -110,7 +110,7 @@ zbpci_attach(device_t dev) > panic("%s: port_rman", __func__); > > /* > - * Reserve the the physical memory that is used to read/write to the > + * Reserve the physical memory that is used to read/write to the > * pci config space but don't activate it. We are using a page worth > * of KVA as a window over this region. > */ > > Modified: head/sys/net/if_media.c > ============================================================================== > --- head/sys/net/if_media.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/net/if_media.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -235,7 +235,7 @@ ifmedia_ioctl(ifp, ifr, ifm, cmd) > /* > * If no change, we're done. > * XXX Automedia may invole software intervention. > - * Keep going in case the the connected media changed. > + * Keep going in case the connected media changed. > * Similarly, if best match changed (kernel debugger?). > */ > if ((IFM_SUBTYPE(newmedia) != IFM_AUTO) && > > Modified: head/sys/net/route.c > ============================================================================== > --- head/sys/net/route.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/net/route.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -539,7 +539,7 @@ rtredirect_fib(struct sockaddr *dst, > goto done; > /* > * Create a new entry if we just got back a wildcard entry > - * or the the lookup failed. This is necessary for hosts > + * or the lookup failed. This is necessary for hosts > * which use routing redirects generated by smart gateways > * to dynamically build the routing tables. > */ > > Modified: head/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c > ============================================================================== > --- head/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -560,7 +560,7 @@ ng_btsocket_rfcomm_connect(struct socket > soclose(l2so); /* we don't need new L2CAP socket */ > > /* > - * Check if we already have the same DLCI the the same session > + * Check if we already have the same DLCI the same session > */ > > mtx_lock(&s->session_mtx); > > Modified: head/sys/netgraph/ng_source.c > ============================================================================== > --- head/sys/netgraph/ng_source.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/netgraph/ng_source.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -604,7 +604,7 @@ ng_source_disconnect(hook_p hook) > } > > /* > - * Set sc->output_ifp to point to the the struct ifnet of the interface > + * Set sc->output_ifp to point to the struct ifnet of the interface > * reached via our output hook. > */ > static int > > Modified: head/sys/netinet/if_ether.c > ============================================================================== > --- head/sys/netinet/if_ether.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/netinet/if_ether.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -810,7 +810,7 @@ reply: > > /* > * Also check that the node which sent the ARP packet > - * is on the the interface we expect it to be on. This > + * is on the interface we expect it to be on. This > * avoids ARP chaos if an interface is connected to the > * wrong network. > */ > > Modified: head/sys/netinet/ip_input.c > ============================================================================== > --- head/sys/netinet/ip_input.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/netinet/ip_input.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -1031,7 +1031,7 @@ found: > * segment. If it provides all of our data, drop us, otherwise > * stick new segment in the proper place. > * > - * If some of the data is dropped from the the preceding > + * If some of the data is dropped from the preceding > * segment, then it's checksum is invalidated. > */ > if (p) { > > Modified: head/sys/netinet/ipfw/ip_fw_private.h > ============================================================================== > --- head/sys/netinet/ipfw/ip_fw_private.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/netinet/ipfw/ip_fw_private.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -90,7 +90,7 @@ struct ip_fw_args { > /* > * On return, it points to the matching rule. > * On entry, rule.slot > 0 means the info is valid and > - * contains the the starting rule for an ipfw search. > + * contains the starting rule for an ipfw search. > * If chain_id == chain->id && slot >0 then jump to that slot. > * Otherwise, we locate the first rule >= rulenum:rule_id > */ > > Modified: head/sys/netinet/libalias/alias_sctp.c > ============================================================================== > --- head/sys/netinet/libalias/alias_sctp.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/netinet/libalias/alias_sctp.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -1929,7 +1929,7 @@ UP_process(struct libalias *la, int dire > * @brief Process SCTP message while association is in the process of closing > * > * This function waits for a SHUT-COMP to close the association. Depending on > - * the the setting of sysctl_holddown_timer it may not remove the association > + * the setting of sysctl_holddown_timer it may not remove the association > * immediately, but leave it up until SN_X_T(la). Only SHUT-COMP, SHUT-ACK, and > * ABORT packets are permitted in this state. All other packets are dropped. > * > > Modified: head/sys/netinet/tcp_offload.h > ============================================================================== > --- head/sys/netinet/tcp_offload.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/netinet/tcp_offload.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -56,7 +56,7 @@ > * > * It is assumed that individuals deploying TOE will want connections > * to be offloaded without software changes so all connections on an > - * interface providing TOE are offloaded unless the the SO_NO_OFFLOAD > + * interface providing TOE are offloaded unless the SO_NO_OFFLOAD > * flag is set on the socket. > * > * > > Modified: head/sys/netinet/tcp_subr.c > ============================================================================== > --- head/sys/netinet/tcp_subr.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/netinet/tcp_subr.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -1383,7 +1383,7 @@ tcp_ctlinput(int cmd, struct sockaddr *s > mtu = V_tcp_minmss > + sizeof(struct tcpiphdr); > /* > - * Only cache the the MTU if it > + * Only cache the MTU if it > * is smaller than the interface > * or route MTU. tcp_mtudisc() > * will do right thing by itself. > > Modified: head/sys/netinet/tcp_syncache.c > ============================================================================== > --- head/sys/netinet/tcp_syncache.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/netinet/tcp_syncache.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -524,7 +524,7 @@ syncache_chkrst(struct in_conninfo *inc, > * used, or we are under memory pressure, a valid RST > * may not find a syncache entry. In that case we're > * done and no SYN|ACK retransmissions will happen. > - * Otherwise the the RST was misdirected or spoofed. > + * Otherwise the RST was misdirected or spoofed. > */ > if (sc == NULL) { > if ((s = tcp_log_addrs(inc, th, NULL, NULL))) > > Modified: head/sys/netinet/tcp_timewait.c > ============================================================================== > --- head/sys/netinet/tcp_timewait.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/netinet/tcp_timewait.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -397,7 +397,7 @@ tcp_twcheck(struct inpcb *inp, struct tc > } > > /* > - * Drop the the segment if it does not contain an ACK. > + * Drop the segment if it does not contain an ACK. > */ > if ((thflags & TH_ACK) == 0) > goto drop; > > Modified: head/sys/netinet6/in6.h > ============================================================================== > --- head/sys/netinet6/in6.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/netinet6/in6.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -78,7 +78,7 @@ > > /* > * IPv6 port allocation rules should mirror the IPv4 rules and are controlled > - * by the the net.inet.ip.portrange sysctl tree. The following defines exist > + * by the net.inet.ip.portrange sysctl tree. The following defines exist > * for compatibility with userland applications that need them. > */ > #if __BSD_VISIBLE > > Modified: head/sys/pc98/cbus/fdc.c > ============================================================================== > --- head/sys/pc98/cbus/fdc.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/pc98/cbus/fdc.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -2378,7 +2378,7 @@ fdmisccmd(struct cdev *dev, u_int cmd, v > > /* > * Set up a bio request for fdstrategy(). bio_offset is faked > - * so that fdstrategy() will seek to the the requested > + * so that fdstrategy() will seek to the requested > * cylinder, and use the desired head. > */ > bp->bio_cmd = cmd; > > Modified: head/sys/sparc64/include/iommureg.h > ============================================================================== > --- head/sys/sparc64/include/iommureg.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/sparc64/include/iommureg.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -194,7 +194,7 @@ > * Unfortunately, sabres on UltraSPARC IIi and IIe processors does not use > * this scheme to determine the IOVA base address. Instead, bits 31-29 are > * used to check against the Target Address Space register in the IIi and > - * the the IOMMU is used if they hit. God knows what goes on in the IIe. > + * the IOMMU is used if they hit. God knows what goes on in the IIe. > * > */ > > > Modified: head/sys/sparc64/pci/sbbc.c > ============================================================================== > --- head/sys/sparc64/pci/sbbc.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/sparc64/pci/sbbc.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -335,7 +335,7 @@ sbbc_pci_attach(device_t dev) > rid = SBBC_PCI_BAR; > /* > * Note that we don't activate the resource so it's not mapped twice > - * but only once by the the firmware. > + * but only once by the firmware. > */ > sc->sc_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 0); > if (sc->sc_res == NULL) { > > Modified: head/sys/sparc64/sparc64/trap.c > ============================================================================== > --- head/sys/sparc64/sparc64/trap.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/sparc64/sparc64/trap.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -433,7 +433,7 @@ trap_cecc(void) > cache_flush(); > /* Ensure the caches are still turned on (should be). */ > cache_enable(PCPU_GET(impl)); > - /* Clear the the error from the AFSR. */ > + /* Clear the error from the AFSR. */ > stxa_sync(0, ASI_AFSR, ldxa(0, ASI_AFSR)); > corrected_ecc++; > printf("corrected ECC error\n"); > > Modified: head/sys/sys/aac_ioctl.h > ============================================================================== > --- head/sys/sys/aac_ioctl.h Mon Feb 21 05:10:34 2011 (r218908) > +++ head/sys/sys/aac_ioctl.h Mon Feb 21 09:01:34 2011 (r218909) > @@ -117,7 +117,7 @@ union aac_statrequest { > /* Do the native version of the ioctls. Since the BSD encoding scheme > * conflicts with the 'standard' AAC encoding scheme, the resulting numbers > * will be different. The '8' comes from the fact that the previous scheme > - * used 12 bits for the number, with the the 12th bit being the only set > + * used 12 bits for the number, with the 12th bit being the only set > * bit above bit 8. Thus the value of 8, with the lower 8 bits holding the > * command number. 9 is used for the odd overflow case. > */ > > Modified: head/usr.bin/lex/misc.c > ============================================================================== > --- head/usr.bin/lex/misc.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/usr.bin/lex/misc.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -707,7 +707,7 @@ const char str[]; > } > > > -/* readable_form - return the the human-readable form of a character > +/* readable_form - return the human-readable form of a character > * > * The returned string is in static storage. > */ > > Modified: head/usr.bin/m4/gnum4.c > ============================================================================== > --- head/usr.bin/m4/gnum4.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/usr.bin/m4/gnum4.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -54,7 +54,7 @@ int mimic_gnu = 0; > > /* > * Support for include path search > - * First search in the the current directory. > + * First search in the current directory. > * If not found, and the path is not absolute, include path kicks in. > * First, -I options, in the order found on the command line. > * Then M4PATH env variable > > Modified: head/usr.bin/make/lst.c > ============================================================================== > --- head/usr.bin/make/lst.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/usr.bin/make/lst.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -98,7 +98,7 @@ Lst_Append(Lst *list, LstNode *ln, void > * LST_CONCLINK if should just be relinked > * > * Side Effects: > - * New elements are created and appended the the first list. > + * New elements are created and appended the first list. > */ > void > Lst_Concat(Lst *list1, Lst *list2, int flags) > > Modified: head/usr.bin/rpcinfo/rpcinfo.c > ============================================================================== > --- head/usr.bin/rpcinfo/rpcinfo.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/usr.bin/rpcinfo/rpcinfo.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$"); > > /* > * rpcinfo: ping a particular rpc program > - * or dump the the registered programs on the remote machine. > + * or dump the registered programs on the remote machine. > */ > > /* > > Modified: head/usr.bin/xinstall/xinstall.c > ============================================================================== > --- head/usr.bin/xinstall/xinstall.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/usr.bin/xinstall/xinstall.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -492,7 +492,7 @@ install(const char *from_name, const cha > * flags, except for the dump flag. > * NFS does not support flags. Ignore EOPNOTSUPP flags if we're just > * trying to turn off UF_NODUMP. If we're trying to set real flags, > - * then warn if the the fs doesn't support it, otherwise fail. > + * then warn if the fs doesn't support it, otherwise fail. > */ > if (!devnull && (flags & SETFLAGS || > (from_sb.st_flags & ~UF_NODUMP) != to_sb.st_flags) && > > Modified: head/usr.sbin/moused/moused.c > ============================================================================== > --- head/usr.sbin/moused/moused.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/usr.sbin/moused/moused.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -931,7 +931,7 @@ main(int argc, char *argv[]) > /* > * We cannot continue because of error. Exit if the > * program has not become a daemon. Otherwise, block > - * until the the user corrects the problem and issues SIGHUP. > + * until the user corrects the problem and issues SIGHUP. > */ > if (!background) > exit(1); > > Modified: head/usr.sbin/rpcbind/util.c > ============================================================================== > --- head/usr.sbin/rpcbind/util.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/usr.sbin/rpcbind/util.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -237,7 +237,7 @@ addrmerge(struct netbuf *caller, char *s > > found: > /* > - * Construct the new address using the the address from > + * Construct the new address using the address from > * `bestif', and the port number from `serv_uaddr'. > */ > serv_nbp = uaddr2taddr(nconf, serv_uaddr); > > Modified: head/usr.sbin/sysinstall/install.c > ============================================================================== > --- head/usr.sbin/sysinstall/install.c Mon Feb 21 05:10:34 2011 (r218908) > +++ head/usr.sbin/sysinstall/install.c Mon Feb 21 09:01:34 2011 (r218909) > @@ -953,7 +953,7 @@ installFixupBase(dialogMenuItem *self) > vsystem("mtree -deU -f /etc/mtree/BSD.usr.dist -p /usr"); > > #ifdef __ia64__ > - /* Move /boot to the the EFI partition and make /boot a link to it. */ > + /* Move /boot to the EFI partition and make /boot a link to it. */ > efi_mntpt = (EfiChunk != NULL) ? ((PartInfo *)EfiChunk->private_data)->mountpoint : NULL; > if (efi_mntpt != NULL) { > vsystem("if [ ! -L /boot ]; then mv /boot %s; fi", efi_mntpt); -- a13x From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 00:01:19 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 801EE1065670; Tue, 22 Feb 2011 00:01:19 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6DA438FC13; Tue, 22 Feb 2011 00:01:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1M01J81087404; Tue, 22 Feb 2011 00:01:19 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1M01Jud087402; Tue, 22 Feb 2011 00:01:19 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201102220001.p1M01Jud087402@svn.freebsd.org> From: Adrian Chadd Date: Tue, 22 Feb 2011 00:01:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218931 - head/sys/dev/ath X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 00:01:19 -0000 Author: adrian Date: Tue Feb 22 00:01:19 2011 New Revision: 218931 URL: http://svn.freebsd.org/changeset/base/218931 Log: * Don't setup the scenario if the try count is 0 * Comment what else is going on during rate scenario setup Modified: head/sys/dev/ath/if_ath_tx_ht.c Modified: head/sys/dev/ath/if_ath_tx_ht.c ============================================================================== --- head/sys/dev/ath/if_ath_tx_ht.c Mon Feb 21 21:13:18 2011 (r218930) +++ head/sys/dev/ath/if_ath_tx_ht.c Tue Feb 22 00:01:19 2011 (r218931) @@ -110,11 +110,29 @@ ath_rateseries_setup(struct ath_softc *s memset(series, 0, sizeof(HAL_11N_RATE_SERIES) * 4); for (i = 0; i < 4; i++) { + /* Only set flags for actual TX attempts */ + if (try[i] == 0) + continue; + series[i].Tries = try[i]; + + /* + * XXX this isn't strictly correct - sc_txchainmask + * XXX isn't the currently active chainmask; + * XXX it's the interface chainmask at startup. + * XXX It's overridden in the HAL rate scenario function + * XXX for now. + */ series[i].ChSel = sc->sc_txchainmask; + + /* + * This merely enables RTS or RTS/CTS for the given scenario; + * it needs to be enabled elsewhere. + */ if (ic->ic_protmode == IEEE80211_PROT_RTSCTS || ic->ic_protmode == IEEE80211_PROT_CTSONLY) series[i].RateFlags |= HAL_RATESERIES_RTS_CTS; + if (ni->ni_htcap & IEEE80211_HTCAP_CHWIDTH40) series[i].RateFlags |= HAL_RATESERIES_2040; From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 00:37:53 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A8D3106566B; Tue, 22 Feb 2011 00:37:53 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 579768FC18; Tue, 22 Feb 2011 00:37:53 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1M0brn0088273; Tue, 22 Feb 2011 00:37:53 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1M0brv3088271; Tue, 22 Feb 2011 00:37:53 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201102220037.p1M0brv3088271@svn.freebsd.org> From: Adrian Chadd Date: Tue, 22 Feb 2011 00:37:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218932 - head/sys/dev/ath X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 00:37:53 -0000 Author: adrian Date: Tue Feb 22 00:37:53 2011 New Revision: 218932 URL: http://svn.freebsd.org/changeset/base/218932 Log: Shuffle around the RTS/CTS rate/duration logic. * Turn ath_tx_calc_ctsduration() into a function that returns the ctsduration, or -1 for HT rates; * add a printf() to ath_tx_calc_ctsduration() which will be very loud if somehow that function is called with an MCS rate; * Add ath_tx_get_rtscts_rate() which returns the RTS/CTS rate to use for the given data rate, incl. the short preamble flag; * Only call ath_tx_calc_ctsduration() for non-11n chipsets; 11n chipsets don't require the rtscts duration to be calculated. Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath/if_ath_tx.c ============================================================================== --- head/sys/dev/ath/if_ath_tx.c Tue Feb 22 00:01:19 2011 (r218931) +++ head/sys/dev/ath/if_ath_tx.c Tue Feb 22 00:37:53 2011 (r218932) @@ -420,11 +420,12 @@ ath_tx_tag_crypto(struct ath_softc *sc, return 1; } -static void -ath_tx_calc_ctsduration(struct ath_hal *ah, int rix, int cix, - int shortPreamble, int pktlen, const HAL_RATE_TABLE *rt, - int flags, u_int8_t *ctsrate, int *ctsduration) +static uint8_t +ath_tx_get_rtscts_rate(struct ath_hal *ah, const HAL_RATE_TABLE *rt, + int rix, int cix, int shortPreamble) { + uint8_t ctsrate; + /* * CTS transmit rate is derived from the transmit rate * by looking in the h/w rate table. We must also factor @@ -432,7 +433,33 @@ ath_tx_calc_ctsduration(struct ath_hal * */ /* NB: cix is set above where RTS/CTS is enabled */ KASSERT(cix != 0xff, ("cix not setup")); - (*ctsrate) = rt->info[cix].rateCode; + ctsrate = rt->info[cix].rateCode; + + /* XXX this should only matter for legacy rates */ + if (shortPreamble) + ctsrate |= rt->info[cix].shortPreamble; + + return ctsrate; +} + + +/* + * Calculate the RTS/CTS duration for legacy frames. + */ +static int +ath_tx_calc_ctsduration(struct ath_hal *ah, int rix, int cix, + int shortPreamble, int pktlen, const HAL_RATE_TABLE *rt, + int flags) +{ + int ctsduration = 0; + + /* This mustn't be called for HT modes */ + if (rt->info[cix].phy == IEEE80211_T_HT) { + printf("%s: HT rate where it shouldn't be (0x%x)\n", + __func__, rt->info[cix].rateCode); + return -1; + } + /* * Compute the transmit duration based on the frame * size and the size of an ACK frame. We call into the @@ -443,21 +470,22 @@ ath_tx_calc_ctsduration(struct ath_hal * * use the precalculated ACK durations. */ if (shortPreamble) { - (*ctsrate) |= rt->info[cix].shortPreamble; if (flags & HAL_TXDESC_RTSENA) /* SIFS + CTS */ - (*ctsduration) += rt->info[cix].spAckDuration; - (*ctsduration) += ath_hal_computetxtime(ah, + ctsduration += rt->info[cix].spAckDuration; + ctsduration += ath_hal_computetxtime(ah, rt, pktlen, rix, AH_TRUE); if ((flags & HAL_TXDESC_NOACK) == 0) /* SIFS + ACK */ - (*ctsduration) += rt->info[rix].spAckDuration; + ctsduration += rt->info[rix].spAckDuration; } else { if (flags & HAL_TXDESC_RTSENA) /* SIFS + CTS */ - (*ctsduration) += rt->info[cix].lpAckDuration; - (*ctsduration) += ath_hal_computetxtime(ah, + ctsduration += rt->info[cix].lpAckDuration; + ctsduration += ath_hal_computetxtime(ah, rt, pktlen, rix, AH_FALSE); if ((flags & HAL_TXDESC_NOACK) == 0) /* SIFS + ACK */ - (*ctsduration) += rt->info[rix].lpAckDuration; + ctsduration += rt->info[rix].lpAckDuration; } + + return ctsduration; } int @@ -714,8 +742,12 @@ ath_tx_start(struct ath_softc *sc, struc */ ctsduration = 0; if (flags & (HAL_TXDESC_RTSENA|HAL_TXDESC_CTSENA)) { - (void) ath_tx_calc_ctsduration(ah, rix, cix, shortPreamble, pktlen, - rt, flags, &ctsrate, &ctsduration); + ctsrate = ath_tx_get_rtscts_rate(ah, rt, rix, cix, shortPreamble); + + /* The 11n chipsets do ctsduration calculations for you */ + if (! ath_tx_is_11n(sc)) + ctsduration = ath_tx_calc_ctsduration(ah, rix, cix, shortPreamble, + pktlen, rt, flags); /* * Must disable multi-rate retry when using RTS/CTS. */ @@ -893,9 +925,12 @@ ath_tx_raw_start(struct ath_softc *sc, s ctsduration = 0; if (flags & (HAL_TXDESC_RTSENA|HAL_TXDESC_CTSENA)) { cix = ath_tx_findrix(sc, params->ibp_ctsrate); - (void) ath_tx_calc_ctsduration(ah, rix, cix, - params->ibp_flags & IEEE80211_BPF_SHORTPRE, pktlen, - rt, flags, &ctsrate, &ctsduration); + ctsrate = ath_tx_get_rtscts_rate(ah, rt, rix, cix, params->ibp_flags & IEEE80211_BPF_SHORTPRE); + /* The 11n chipsets do ctsduration calculations for you */ + if (! ath_tx_is_11n(sc)) + ctsduration = ath_tx_calc_ctsduration(ah, rix, cix, + params->ibp_flags & IEEE80211_BPF_SHORTPRE, pktlen, + rt, flags); /* * Must disable multi-rate retry when using RTS/CTS. */ From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 04:03:33 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C86D6106566B; Tue, 22 Feb 2011 04:03:33 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B67108FC08; Tue, 22 Feb 2011 04:03:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1M43XL7093238; Tue, 22 Feb 2011 04:03:33 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1M43X1k093236; Tue, 22 Feb 2011 04:03:33 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201102220403.p1M43X1k093236@svn.freebsd.org> From: Warner Losh Date: Tue, 22 Feb 2011 04:03:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218933 - head/share/mk X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 04:03:33 -0000 Author: imp Date: Tue Feb 22 04:03:33 2011 New Revision: 218933 URL: http://svn.freebsd.org/changeset/base/218933 Log: Testing based on MACHINE_ARCH is problematic. Default to yes to build clang. A separate change will fix buildworld to default to yes or no based on the target. Modified: head/share/mk/bsd.own.mk Modified: head/share/mk/bsd.own.mk ============================================================================== --- head/share/mk/bsd.own.mk Tue Feb 22 00:37:53 2011 (r218932) +++ head/share/mk/bsd.own.mk Tue Feb 22 04:03:33 2011 (r218933) @@ -282,18 +282,6 @@ WITH_IDEA= .endif # -# Default behaviour of MK_CLANG depends on the architecture. -# -.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \ - ${MACHINE_ARCH} == "powerpc" -_clang_yes=CLANG -_clang_no= -.else -_clang_yes= -_clang_no=CLANG -.endif - -# # MK_* options which default to "yes". # .for var in \ @@ -320,7 +308,7 @@ _clang_no=CLANG BZIP2 \ CALENDAR \ CDDL \ - ${_clang_yes} \ + CLANG \ CPP \ CRYPT \ CTM \ @@ -424,7 +412,6 @@ MK_${var}:= yes BIND_SIGCHASE \ BIND_XML \ BSD_GREP \ - ${_clang_no} \ GPIO \ HESIOD \ IDEA From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 04:07:15 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68C0B106564A; Tue, 22 Feb 2011 04:07:15 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 56EA78FC19; Tue, 22 Feb 2011 04:07:15 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1M47FC9093367; Tue, 22 Feb 2011 04:07:15 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1M47FWE093365; Tue, 22 Feb 2011 04:07:15 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201102220407.p1M47FWE093365@svn.freebsd.org> From: Warner Losh Date: Tue, 22 Feb 2011 04:07:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218934 - head X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 04:07:15 -0000 Author: imp Date: Tue Feb 22 04:07:15 2011 New Revision: 218934 URL: http://svn.freebsd.org/changeset/base/218934 Log: Select building CLANG based on ${TARGET_ARCH} and existence of WITH{,OUT}_CLANG. We default to yes on some archs, no on others, unless WITHOUT_CLANG or WITH_CLANG is defined respectively. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ============================================================================== --- head/Makefile.inc1 Tue Feb 22 04:03:33 2011 (r218933) +++ head/Makefile.inc1 Tue Feb 22 04:07:15 2011 (r218934) @@ -42,6 +42,20 @@ TARGET_ARCH=${TARGET} .include .include +# Clang is a special case. We have to use it to bootstrap the target, not +# where we're building from. +.if ${TARGET_ARCH} == i386 || ${TARGET_ARCH} == amd64 || \ + ${TARGET_ARCH} == arm || ${TARGET_ARCH} == powerpc64 || \ + ${TARGET_ARCH} == powerpc +.if !defined(WITHOUT_CLANG) +MK_CLANG=yes +.endif +.else +.if !defined(WITH_CLANG) +MK_CLANG=no +.endif +.endif + # We must do share/info early so that installation of info `dir' # entries works correctly. Do it first since it is less likely to # grow dependencies on include and lib than vice versa. @@ -970,11 +984,11 @@ _gensnmptree= usr.sbin/bsnmpd/gensnmptre _crunchgen= usr.sbin/crunch/crunchgen .endif -# XXX: There is no way to specify bootstrap tools depending on MK-flags -# with different per-architecture default values. Always build tblgen. +.if ${MK_CLANG} != "no" _clang_tblgen= \ lib/clang/libllvmsupport \ usr.bin/clang/tblgen +.endif .if ${MK_CDDL} != "no" _dtrace_tools= cddl/usr.bin/sgsmsg cddl/lib/libctf lib/libelf \ From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 04:41:05 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C2F91065675; Tue, 22 Feb 2011 04:41:05 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 401528FC15; Tue, 22 Feb 2011 04:41:05 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1M4f51n094188; Tue, 22 Feb 2011 04:41:05 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1M4f5Ht094186; Tue, 22 Feb 2011 04:41:05 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201102220441.p1M4f5Ht094186@svn.freebsd.org> From: Adrian Chadd Date: Tue, 22 Feb 2011 04:41:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218935 - head/sys/dev/ath X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 04:41:05 -0000 Author: adrian Date: Tue Feb 22 04:41:04 2011 New Revision: 218935 URL: http://svn.freebsd.org/changeset/base/218935 Log: Don't set the RTS/CTS enable bit per-scenario if the global RTS/CTS flags aren't set. Modified: head/sys/dev/ath/if_ath_tx_ht.c Modified: head/sys/dev/ath/if_ath_tx_ht.c ============================================================================== --- head/sys/dev/ath/if_ath_tx_ht.c Tue Feb 22 04:07:15 2011 (r218934) +++ head/sys/dev/ath/if_ath_tx_ht.c Tue Feb 22 04:41:04 2011 (r218935) @@ -96,7 +96,7 @@ __FBSDID("$FreeBSD$"); static void ath_rateseries_setup(struct ath_softc *sc, struct ieee80211_node *ni, HAL_11N_RATE_SERIES *series, unsigned int pktlen, uint8_t *rix, - uint8_t *try) + uint8_t *try, int flags) { struct ieee80211com *ic = ni->ni_ic; struct ath_hal *ah = sc->sc_ah; @@ -125,12 +125,7 @@ ath_rateseries_setup(struct ath_softc *s */ series[i].ChSel = sc->sc_txchainmask; - /* - * This merely enables RTS or RTS/CTS for the given scenario; - * it needs to be enabled elsewhere. - */ - if (ic->ic_protmode == IEEE80211_PROT_RTSCTS || - ic->ic_protmode == IEEE80211_PROT_CTSONLY) + if (flags & (HAL_TXDESC_RTSENA | HAL_TXDESC_CTSENA)) series[i].RateFlags |= HAL_RATESERIES_RTS_CTS; if (ni->ni_htcap & IEEE80211_HTCAP_CHWIDTH40) @@ -201,7 +196,7 @@ ath_buf_set_rate(struct ath_softc *sc, s /* Setup rate scenario */ memset(&series, 0, sizeof(series)); - ath_rateseries_setup(sc, ni, series, pktlen, rix, try); + ath_rateseries_setup(sc, ni, series, pktlen, rix, try, flags); /* Enforce AR5416 aggregate limit - can't do RTS w/ an agg frame > 8k */ @@ -210,6 +205,11 @@ ath_buf_set_rate(struct ath_softc *sc, s /* Get a pointer to the last tx descriptor in the list */ lastds = &bf->bf_desc[bf->bf_nseg - 1]; +#if 0 + printf("pktlen: %d; flags 0x%x\n", pktlen, flags); + ath_rateseries_print(series); +#endif + /* Set rate scenario */ ath_hal_set11nratescenario(ah, ds, !is_pspoll, /* whether to override the duration or not */ From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 04:49:57 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73B70106566B; Tue, 22 Feb 2011 04:49:57 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 61BF08FC12; Tue, 22 Feb 2011 04:49:57 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1M4nvFA094452; Tue, 22 Feb 2011 04:49:57 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1M4nvIL094449; Tue, 22 Feb 2011 04:49:57 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201102220449.p1M4nvIL094449@svn.freebsd.org> From: Warner Losh Date: Tue, 22 Feb 2011 04:49:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218936 - in head: . share/mk X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 04:49:57 -0000 Author: imp Date: Tue Feb 22 04:49:57 2011 New Revision: 218936 URL: http://svn.freebsd.org/changeset/base/218936 Log: Back out 218933 and 281934. The easy cases still worked, but some hard cases broke in worse ways than the status quo. Back them out until that can be resolved. Modified: head/Makefile.inc1 head/share/mk/bsd.own.mk Modified: head/Makefile.inc1 ============================================================================== --- head/Makefile.inc1 Tue Feb 22 04:41:04 2011 (r218935) +++ head/Makefile.inc1 Tue Feb 22 04:49:57 2011 (r218936) @@ -42,20 +42,6 @@ TARGET_ARCH=${TARGET} .include .include -# Clang is a special case. We have to use it to bootstrap the target, not -# where we're building from. -.if ${TARGET_ARCH} == i386 || ${TARGET_ARCH} == amd64 || \ - ${TARGET_ARCH} == arm || ${TARGET_ARCH} == powerpc64 || \ - ${TARGET_ARCH} == powerpc -.if !defined(WITHOUT_CLANG) -MK_CLANG=yes -.endif -.else -.if !defined(WITH_CLANG) -MK_CLANG=no -.endif -.endif - # We must do share/info early so that installation of info `dir' # entries works correctly. Do it first since it is less likely to # grow dependencies on include and lib than vice versa. @@ -984,11 +970,11 @@ _gensnmptree= usr.sbin/bsnmpd/gensnmptre _crunchgen= usr.sbin/crunch/crunchgen .endif -.if ${MK_CLANG} != "no" +# XXX: There is no way to specify bootstrap tools depending on MK-flags +# with different per-architecture default values. Always build tblgen. _clang_tblgen= \ lib/clang/libllvmsupport \ usr.bin/clang/tblgen -.endif .if ${MK_CDDL} != "no" _dtrace_tools= cddl/usr.bin/sgsmsg cddl/lib/libctf lib/libelf \ Modified: head/share/mk/bsd.own.mk ============================================================================== --- head/share/mk/bsd.own.mk Tue Feb 22 04:41:04 2011 (r218935) +++ head/share/mk/bsd.own.mk Tue Feb 22 04:49:57 2011 (r218936) @@ -282,6 +282,18 @@ WITH_IDEA= .endif # +# Default behaviour of MK_CLANG depends on the architecture. +# +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \ + ${MACHINE_ARCH} == "powerpc" +_clang_yes=CLANG +_clang_no= +.else +_clang_yes= +_clang_no=CLANG +.endif + +# # MK_* options which default to "yes". # .for var in \ @@ -301,6 +313,7 @@ WITH_IDEA= BIND_MTREE \ BIND_NAMED \ BIND_UTILS \ + BINUTILS \ BLUETOOTH \ BOOT \ BSD_CPIO \ @@ -308,7 +321,7 @@ WITH_IDEA= BZIP2 \ CALENDAR \ CDDL \ - CLANG \ + ${_clang_yes} \ CPP \ CRYPT \ CTM \ @@ -323,6 +336,7 @@ WITH_IDEA= FP_LIBC \ FREEBSD_UPDATE \ GAMES \ + GCC \ GCOV \ GDB \ GNU \ @@ -412,6 +426,7 @@ MK_${var}:= yes BIND_SIGCHASE \ BIND_XML \ BSD_GREP \ + ${_clang_no} \ GPIO \ HESIOD \ IDEA From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 05:10:13 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A78C5106566C; Tue, 22 Feb 2011 05:10:13 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7C0708FC1A; Tue, 22 Feb 2011 05:10:13 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1M5ADtv094941; Tue, 22 Feb 2011 05:10:13 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1M5ADes094940; Tue, 22 Feb 2011 05:10:13 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201102220510.p1M5ADes094940@svn.freebsd.org> From: Martin Wilke Date: Tue, 22 Feb 2011 05:10:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218937 - head/sys/dev/drm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 05:10:13 -0000 Author: miwi Date: Tue Feb 22 05:10:13 2011 New Revision: 218937 URL: http://svn.freebsd.org/changeset/base/218937 Log: - Remove no longer in use PR: kern/152354 Submitted by: vehemens Discussion with:kib Approved by: rwatson (mentor) Deleted: head/sys/dev/drm/drm-preprocess.sh head/sys/dev/drm/drm-subprocess.pl From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 05:13:27 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47283106564A; Tue, 22 Feb 2011 05:13:27 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 352CC8FC0C; Tue, 22 Feb 2011 05:13:27 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1M5DRSa095044; Tue, 22 Feb 2011 05:13:27 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1M5DRrQ095042; Tue, 22 Feb 2011 05:13:27 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201102220513.p1M5DRrQ095042@svn.freebsd.org> From: Martin Wilke Date: Tue, 22 Feb 2011 05:13:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218938 - head/tools/regression/aio/kqueue X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 05:13:27 -0000 Author: miwi Date: Tue Feb 22 05:13:26 2011 New Revision: 218938 URL: http://svn.freebsd.org/changeset/base/218938 Log: - Fix QA issues PR: misc/146687 Submitted by: Garrett Cooper Approved by: rwatson (mentor) Modified: head/tools/regression/aio/kqueue/aio_kqueue.c Modified: head/tools/regression/aio/kqueue/aio_kqueue.c ============================================================================== --- head/tools/regression/aio/kqueue/aio_kqueue.c Tue Feb 22 05:10:13 2011 (r218937) +++ head/tools/regression/aio/kqueue/aio_kqueue.c Tue Feb 22 05:13:26 2011 (r218938) @@ -26,18 +26,24 @@ */ /* + * Prerequisities: + * - AIO support must be compiled into the kernel (see sys//NOTES for + * more details). + * * Note: it is a good idea to run this against a physical drive to * exercise the physio fast path (ie. aio_kqueue /dev/) */ +#include +#include +#include #include +#include +#include #include #include #include -#include -#include -#include -#include +#include #include #define PATH_TEMPLATE "/tmp/aio.XXXXXXXXXX" @@ -46,7 +52,9 @@ #define MAX_RUNS 300 /* #define DEBUG */ -main(int argc, char *argv[]){ +int +main (int argc, char *argv[]) +{ int fd; struct aiocb *iocb[MAX], *kq_iocb; int i, result, run, error, j; @@ -55,7 +63,7 @@ main(int argc, char *argv[]){ struct kevent ke, kq_returned; struct timespec ts; int cancel, pending, tmp_file = 0, failed = 0; - char *file, pathname[sizeof(PATH_TEMPLATE)-1]; + char *file, pathname[sizeof(PATH_TEMPLATE)+1]; if (kq < 0) { perror("No kqeueue\n"); @@ -71,23 +79,22 @@ main(int argc, char *argv[]){ file = argv[1]; fd = open(file, O_RDWR|O_CREAT, 0666); } - if (fd < 0){ - fprintf(stderr, "Can't open %s\n", file); - perror(""); - exit(1); - } + if (fd == -1) + err(1, "Can't open %s\n", file); for (run = 0; run < MAX_RUNS; run++){ #ifdef DEBUG printf("Run %d\n", run); #endif - for(i = 0; i < MAX; i++) { - iocb[i] = (struct aiocb *)malloc(sizeof(struct aiocb)); - bzero(iocb[i], sizeof(struct aiocb)); + for (i = 0; i < MAX; i++) { + iocb[i] = (struct aiocb *)calloc(1, + sizeof(struct aiocb)); + if (iocb[i] == NULL) + err(1, "calloc"); } pending = 0; - for(i = 0; i < MAX; i++) { + for (i = 0; i < MAX; i++) { pending++; iocb[i]->aio_nbytes = sizeof(buffer); iocb[i]->aio_buf = buffer; @@ -101,7 +108,7 @@ main(int argc, char *argv[]){ result = aio_write(iocb[i]); if (result != 0) { perror("aio_write"); - printf("Result %d iteration %d\n",result, i); + printf("Result %d iteration %d\n", result, i); exit(1); } #ifdef DEBUG @@ -116,7 +123,7 @@ main(int argc, char *argv[]){ #endif if (result == AIO_CANCELED) { aio_return(iocb[i]); - iocb[i]=NULL; + iocb[i] = NULL; pending--; } } @@ -125,8 +132,10 @@ main(int argc, char *argv[]){ cancel = MAX - pending; i = 0; - while(pending) { - for(;;) { + while (pending) { + + for (;;) { + bzero(&ke, sizeof(ke)); bzero(&kq_returned, sizeof(ke)); ts.tv_sec = 0; @@ -134,9 +143,8 @@ main(int argc, char *argv[]){ result = kevent(kq, NULL, 0, &kq_returned, 1, &ts); error = errno; - if (result < 0) { + if (result < 0) perror("kevent error: "); - } kq_iocb = kq_returned.udata; #ifdef DEBUG printf("kevent %d %d errno %d return.ident %p " @@ -147,51 +155,53 @@ main(int argc, char *argv[]){ kq_iocb); #endif - if(kq_iocb) + if (kq_iocb) break; #ifdef DEBUG - printf("Try again left %d out of %d %d\n",pending, MAX, cancel); + printf("Try again left %d out of %d %d\n", + pending, MAX, cancel); #endif } - for(j = 0; j < MAX; j++) { - if (iocb[j] == kq_iocb) { - break; - } - } + for (j = 0; j < MAX && iocb[j] != kq_iocb; + j++) ; #ifdef DEBUG printf("kq_iocb %p\n", kq_iocb); - printf("Error Result for %d is %d pending %d\n", j, result, pending); + printf("Error Result for %d is %d pending %d\n", + j, result, pending); #endif result = aio_return(kq_iocb); #ifdef DEBUG - printf("Return Result for %d is %d\n", j, result); - printf("\n"); + printf("Return Result for %d is %d\n\n", j, result); #endif if (result != sizeof(buffer)) { - printf("FAIL: run %d, operation %d, result %d (errno=%d) should be %d\n", run, pending, result, errno, sizeof(buffer)); - failed = 1; - } else { - printf("PASS: run %d, left %d\n", run, pending - 1); - } + printf("FAIL: run %d, operation %d, result %d " + " (errno=%d) should be %d\n", run, pending, + result, errno, sizeof(buffer)); + failed++; + } else + printf("PASS: run %d, left %d\n", run, + pending - 1); free(kq_iocb); iocb[j] = NULL; pending--; i++; } + + for (i = 0; i < MAX; i++) + free(iocb[i]); + } - if (tmp_file) { + if (tmp_file) unlink(pathname); - } - if (failed) { - printf("FAIL: Atleast one\n"); - exit(1); - } else { - printf("PASS: All\n"); - exit(0); - } + if (failed != 0) + printf("FAIL: %d tests failed\n", failed); + else + printf("PASS: All tests passed\n"); + + exit (failed == 0 ? 0 : 1); } From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 07:49:51 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C964106564A; Tue, 22 Feb 2011 07:49:51 +0000 (UTC) (envelope-from jchandra@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6B6448FC0C; Tue, 22 Feb 2011 07:49:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1M7np9m098770; Tue, 22 Feb 2011 07:49:51 GMT (envelope-from jchandra@svn.freebsd.org) Received: (from jchandra@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1M7npLt098768; Tue, 22 Feb 2011 07:49:51 GMT (envelope-from jchandra@svn.freebsd.org) Message-Id: <201102220749.p1M7npLt098768@svn.freebsd.org> From: "Jayachandran C." Date: Tue, 22 Feb 2011 07:49:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218939 - head/lib/libc/mips/string X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 07:49:51 -0000 Author: jchandra Date: Tue Feb 22 07:49:51 2011 New Revision: 218939 URL: http://svn.freebsd.org/changeset/base/218939 Log: Fix bzero() for 64-bit. The existing implementation of bzero incorrectly clears bytes when the start address is not word aligned. Fix it by using REG_SHI macro which works on both 32 and 64 bit. Submitted by: Artem Belevich (fbsdlist at src cx) Modified: head/lib/libc/mips/string/bzero.S Modified: head/lib/libc/mips/string/bzero.S ============================================================================== --- head/lib/libc/mips/string/bzero.S Tue Feb 22 05:13:26 2011 (r218938) +++ head/lib/libc/mips/string/bzero.S Tue Feb 22 07:49:51 2011 (r218939) @@ -58,27 +58,9 @@ LEAF(bzero) PTR_SUBU a3, zero, a0 # compute # bytes to word align address and a3, a3, SZREG-1 beq a3, zero, 1f # skip if word aligned -#if SZREG == 4 PTR_SUBU a1, a1, a3 # subtract from remaining count - SWHI zero, 0(a0) # clear 1, 2, or 3 bytes to align + REG_SHI zero, 0(a0) # clear 1, 2, or 3 bytes to align PTR_ADDU a0, a0, a3 -#endif -#if SZREG == 8 - PTR_SUBU a1, a1, a3 # subtract from remaining count - PTR_ADDU a0, a0, a3 # align dst to next word - sll a3, a3, 3 # bits to bytes - li a2, -1 # make a mask -#if _BYTE_ORDER == _BIG_ENDIAN - REG_SRLV a2, a2, a3 # we want to keep the MSB bytes -#endif -#if _BYTE_ORDER == _LITTLE_ENDIAN - REG_SLLV a2, a2, a3 # we want to keep the LSB bytes -#endif - nor a2, zero, a2 # complement the mask - REG_L v0, -SZREG(a0) # load the word to partially clear - and v0, v0, a2 # clear the bytes - REG_S v0, -SZREG(a0) # store it back -#endif 1: and v0, a1, SZREG-1 # compute number of words left PTR_SUBU a3, a1, v0 From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 08:07:17 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 989A0106566C; Tue, 22 Feb 2011 08:07:17 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6D6F38FC19; Tue, 22 Feb 2011 08:07:17 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1M87HSi099279; Tue, 22 Feb 2011 08:07:17 GMT (envelope-from uqs@svn.freebsd.org) Received: (from uqs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1M87HH6099276; Tue, 22 Feb 2011 08:07:17 GMT (envelope-from uqs@svn.freebsd.org) Message-Id: <201102220807.p1M87HH6099276@svn.freebsd.org> From: Ulrich Spoerlein Date: Tue, 22 Feb 2011 08:07:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218940 - in head: tools usr.bin/xinstall X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 08:07:17 -0000 Author: uqs Date: Tue Feb 22 08:07:17 2011 New Revision: 218940 URL: http://svn.freebsd.org/changeset/base/218940 Log: Teach tools/install.sh the -d directory mode. Sync up with flags understood by install(1) [1], and make install(1)'s usage output not hide the clearly documented -M flag. PR: misc/154739 [1] Submitted by: arundel Modified: head/tools/install.sh head/usr.bin/xinstall/xinstall.c Modified: head/tools/install.sh ============================================================================== --- head/tools/install.sh Tue Feb 22 07:49:51 2011 (r218939) +++ head/tools/install.sh Tue Feb 22 08:07:17 2011 (r218940) @@ -29,14 +29,30 @@ # $FreeBSD$ # parse install's options and ignore them completely. +dirmode="" while [ $# -gt 0 ]; do case $1 in - -[bCcMpSs]) shift;; + -d) dirmode="YES"; shift;; + -[bCcMpSsv]) shift;; -[Bfgmo]) shift; shift;; -[Bfgmo]*) shift;; *) break; esac done +if [ "$#" -eq 0 ]; then + echo "$0: no files/dirs specified" >&2 + exit 1 +fi + +if [ -z "$dirmode" ] && [ "$#" -lt 2 ]; then + echo "$0: no target specified" >&2 + exit 1 +fi + # the remaining arguments are assumed to be files/dirs only. -exec install -p $* +if [ -z "$dirmode" ]; then + exec install -p "$@" +else + exec install -d "$@" +fi Modified: head/usr.bin/xinstall/xinstall.c ============================================================================== --- head/usr.bin/xinstall/xinstall.c Tue Feb 22 07:49:51 2011 (r218939) +++ head/usr.bin/xinstall/xinstall.c Tue Feb 22 08:07:17 2011 (r218940) @@ -769,9 +769,9 @@ static void usage(void) { (void)fprintf(stderr, -"usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]\n" +"usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]\n" " [-o owner] file1 file2\n" -" install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]\n" +" install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]\n" " [-o owner] file1 ... fileN directory\n" " install -d [-v] [-g group] [-m mode] [-o owner] directory ...\n"); exit(EX_USAGE); From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 08:13:50 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47EEA106566C; Tue, 22 Feb 2011 08:13:50 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 355018FC0C; Tue, 22 Feb 2011 08:13:50 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1M8DoF8099498; Tue, 22 Feb 2011 08:13:50 GMT (envelope-from uqs@svn.freebsd.org) Received: (from uqs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1M8DnMh099488; Tue, 22 Feb 2011 08:13:50 GMT (envelope-from uqs@svn.freebsd.org) Message-Id: <201102220813.p1M8DnMh099488@svn.freebsd.org> From: Ulrich Spoerlein Date: Tue, 22 Feb 2011 08:13:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218941 - in head: . etc etc/mtree share/doc tools/build/mk tools/build/options usr.bin X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 08:13:50 -0000 Author: uqs Date: Tue Feb 22 08:13:49 2011 New Revision: 218941 URL: http://svn.freebsd.org/changeset/base/218941 Log: Flesh out WITHOUT_GROFF support to DTRT. A full featured groff is required during buildworld, so build it always and don't rely on it being present on the host system. vgrind(1) is tightly coupled to a roff processor and will not be built/installed when groff is disabled. Also much of the roff'ed documentation under share/doc will not be built/installed when WITHOUT_GROFF is defined. Reviewed by: ru (partial) Added: head/etc/mtree/BSD.groff.dist (contents, props changed) Modified: head/Makefile.inc1 head/etc/Makefile head/etc/mtree/BSD.usr.dist head/etc/mtree/Makefile head/share/doc/Makefile head/tools/build/mk/OptionalObsoleteFiles.inc head/tools/build/options/WITHOUT_GROFF head/usr.bin/Makefile Modified: head/Makefile.inc1 ============================================================================== --- head/Makefile.inc1 Tue Feb 22 08:07:17 2011 (r218940) +++ head/Makefile.inc1 Tue Feb 22 08:13:49 2011 (r218941) @@ -213,13 +213,15 @@ BOOTSTRAPPING?= 0 CROSSENV= MAKEOBJDIRPREFIX=${OBJTREE} \ MACHINE_ARCH=${TARGET_ARCH} \ MACHINE=${TARGET} \ - CPUTYPE=${TARGET_CPUTYPE} \ - GROFF_BIN_PATH=${WORLDTMP}/legacy/usr/bin \ - GROFF_FONT_PATH=${WORLDTMP}/legacy/usr/share/groff_font \ - GROFF_TMAC_PATH=${WORLDTMP}/legacy/usr/share/tmac + CPUTYPE=${TARGET_CPUTYPE} .if ${OSRELDATE} < 700044 CROSSENV+= AR=gnu-ar RANLIB=gnu-ranlib .endif +.if ${MK_GROFF} != "no" +CROSSENV+= GROFF_BIN_PATH=${WORLDTMP}/legacy/usr/bin \ + GROFF_FONT_PATH=${WORLDTMP}/legacy/usr/share/groff_font \ + GROFF_TMAC_PATH=${WORLDTMP}/legacy/usr/share/tmac +.endif # bootstrap-tools stage BMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \ @@ -364,6 +366,10 @@ _worldtmp: .endfor mtree -deU -f ${.CURDIR}/etc/mtree/BSD.usr.dist \ -p ${WORLDTMP}/legacy/usr >/dev/null +.if ${MK_GROFF} != "no" + mtree -deU -f ${.CURDIR}/etc/mtree/BSD.groff.dist \ + -p ${WORLDTMP}/legacy/usr >/dev/null +.endif mtree -deU -f ${.CURDIR}/etc/mtree/BSD.usr.dist \ -p ${WORLDTMP}/usr >/dev/null mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \ @@ -937,11 +943,10 @@ _strfile= games/fortune/strfile .if ${MK_CXX} != "no" _gperf= gnu/usr.bin/gperf -.if ${BOOTSTRAPPING} < 700004 -_groff= gnu/usr.bin/groff -.else -_groff= gnu/usr.bin/groff/tmac .endif + +.if ${MK_GROFF} != "no" +_groff= gnu/usr.bin/groff .endif .if ${BOOTSTRAPPING} >= 700044 && ${BOOTSTRAPPING} < 800022 Modified: head/etc/Makefile ============================================================================== --- head/etc/Makefile Tue Feb 22 08:07:17 2011 (r218940) +++ head/etc/Makefile Tue Feb 22 08:13:49 2011 (r218941) @@ -271,6 +271,9 @@ distrib-dirs: mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BIND.chroot.dist \ -p ${DESTDIR}/var/named .endif +.if ${MK_GROFF} != "no" + mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.groff.dist -p ${DESTDIR}/usr +.endif .if ${MK_SENDMAIL} != "no" mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.sendmail.dist -p ${DESTDIR}/ .endif Added: head/etc/mtree/BSD.groff.dist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/etc/mtree/BSD.groff.dist Tue Feb 22 08:13:49 2011 (r218941) @@ -0,0 +1,48 @@ +# $FreeBSD$ +# +# Please see the file src/etc/mtree/README before making changes to this file. +# + +/set type=dir uname=root gname=wheel mode=0755 +. + share + groff_font + devX100 + .. + devX100-12 + .. + devX75 + .. + devX75-12 + .. + devascii + .. + devcp1047 + .. + devdvi + .. + devhtml + .. + devkoi8-r + .. + devlatin1 + .. + devlbp + .. + devlj4 + .. + devps + .. + devutf8 + .. + .. + me + .. + tmac + mdoc + .. + mm + .. + .. + .. +.. Modified: head/etc/mtree/BSD.usr.dist ============================================================================== --- head/etc/mtree/BSD.usr.dist Tue Feb 22 08:07:17 2011 (r218940) +++ head/etc/mtree/BSD.usr.dist Tue Feb 22 08:13:49 2011 (r218941) @@ -310,36 +310,6 @@ fortune .. .. - groff_font - devX100 - .. - devX100-12 - .. - devX75 - .. - devX75-12 - .. - devascii - .. - devcp1047 - .. - devdvi - .. - devhtml - .. - devkoi8-r - .. - devlatin1 - .. - devlbp - .. - devlj4 - .. - devps - .. - devutf8 - .. - .. info .. locale @@ -890,8 +860,6 @@ man9 .. .. - me - .. misc fonts .. @@ -1266,12 +1234,6 @@ .. tabset .. - tmac - mdoc - .. - mm - .. - .. vi catalog .. Modified: head/etc/mtree/Makefile ============================================================================== --- head/etc/mtree/Makefile Tue Feb 22 08:07:17 2011 (r218940) +++ head/etc/mtree/Makefile Tue Feb 22 08:13:49 2011 (r218941) @@ -16,6 +16,9 @@ _BIND.chroot.dist= BIND.chroot.dist _BIND.include.dist= BIND.include.dist .endif .endif +.if ${MK_GROFF} != "no" +_BSD.groff.dist= BSD.groff.dist +.endif .if ${MK_SENDMAIL} != "no" _BSD.sendmail.dist= BSD.sendmail.dist .endif Modified: head/share/doc/Makefile ============================================================================== --- head/share/doc/Makefile Tue Feb 22 08:07:17 2011 (r218940) +++ head/share/doc/Makefile Tue Feb 22 08:13:49 2011 (r218941) @@ -3,12 +3,17 @@ .include -SUBDIR= ${_bind9} IPv6 legal papers psd smm usd +SUBDIR= ${_bind9} IPv6 legal ${_roffdocs} .if ${MK_BIND} != "no" _bind9= bind9 .endif +# FIXME this is not a real solution ... +.if ${MK_GROFF} != "no" +_roffdocs= papers psd smm usd +.endif + # Default output format for troff documents is ascii. # To generate postscript versions of troff documents, use: # make PRINTERDEVICE=ps Modified: head/tools/build/mk/OptionalObsoleteFiles.inc ============================================================================== --- head/tools/build/mk/OptionalObsoleteFiles.inc Tue Feb 22 08:07:17 2011 (r218940) +++ head/tools/build/mk/OptionalObsoleteFiles.inc Tue Feb 22 08:13:49 2011 (r218941) @@ -813,6 +813,491 @@ OLD_FILES+=usr/sbin/gpioctl OLD_FILES+=usr/share/man/man8/gpioctl.8.gz .endif +# Also includes vgrind(1) +.if ${MK_GROFF} == no +OLD_FILES+=usr/bin/addftinfo +OLD_FILES+=usr/bin/afmtodit +OLD_FILES+=usr/bin/eqn +OLD_FILES+=usr/bin/grn +OLD_FILES+=usr/bin/grodvi +OLD_FILES+=usr/bin/groff +OLD_FILES+=usr/bin/grog +OLD_FILES+=usr/bin/grolbp +OLD_FILES+=usr/bin/grolj4 +OLD_FILES+=usr/bin/grops +OLD_FILES+=usr/bin/grotty +OLD_FILES+=usr/bin/hpftodit +OLD_FILES+=usr/bin/indxbib +OLD_FILES+=usr/bin/lkbib +OLD_FILES+=usr/bin/lookbib +OLD_FILES+=usr/bin/mmroff +OLD_FILES+=usr/bin/neqn +OLD_FILES+=usr/bin/nroff +OLD_FILES+=usr/bin/pfbtops +OLD_FILES+=usr/bin/pic +OLD_FILES+=usr/bin/post-grohtml +OLD_FILES+=usr/bin/pre-grohtml +OLD_FILES+=usr/bin/psroff +OLD_FILES+=usr/bin/refer +OLD_FILES+=usr/bin/soelim +OLD_FILES+=usr/bin/tbl +OLD_FILES+=usr/bin/tfmtodit +OLD_FILES+=usr/bin/troff +OLD_FILES+=usr/bin/vgrind +OLD_FILES+=usr/libexec/vfontedpr +OLD_FILES+=usr/share/groff_font/devX100-12/CB +OLD_FILES+=usr/share/groff_font/devX100-12/CBI +OLD_FILES+=usr/share/groff_font/devX100-12/CI +OLD_FILES+=usr/share/groff_font/devX100-12/CR +OLD_FILES+=usr/share/groff_font/devX100-12/DESC +OLD_FILES+=usr/share/groff_font/devX100-12/HB +OLD_FILES+=usr/share/groff_font/devX100-12/HBI +OLD_FILES+=usr/share/groff_font/devX100-12/HI +OLD_FILES+=usr/share/groff_font/devX100-12/HR +OLD_FILES+=usr/share/groff_font/devX100-12/NB +OLD_FILES+=usr/share/groff_font/devX100-12/NBI +OLD_FILES+=usr/share/groff_font/devX100-12/NI +OLD_FILES+=usr/share/groff_font/devX100-12/NR +OLD_FILES+=usr/share/groff_font/devX100-12/S +OLD_FILES+=usr/share/groff_font/devX100-12/TB +OLD_FILES+=usr/share/groff_font/devX100-12/TBI +OLD_FILES+=usr/share/groff_font/devX100-12/TI +OLD_FILES+=usr/share/groff_font/devX100-12/TR +OLD_DIRS+=usr/share/groff_font/devX100-12 +OLD_FILES+=usr/share/groff_font/devX100/CB +OLD_FILES+=usr/share/groff_font/devX100/CBI +OLD_FILES+=usr/share/groff_font/devX100/CI +OLD_FILES+=usr/share/groff_font/devX100/CR +OLD_FILES+=usr/share/groff_font/devX100/DESC +OLD_FILES+=usr/share/groff_font/devX100/HB +OLD_FILES+=usr/share/groff_font/devX100/HBI +OLD_FILES+=usr/share/groff_font/devX100/HI +OLD_FILES+=usr/share/groff_font/devX100/HR +OLD_FILES+=usr/share/groff_font/devX100/NB +OLD_FILES+=usr/share/groff_font/devX100/NBI +OLD_FILES+=usr/share/groff_font/devX100/NI +OLD_FILES+=usr/share/groff_font/devX100/NR +OLD_FILES+=usr/share/groff_font/devX100/S +OLD_FILES+=usr/share/groff_font/devX100/TB +OLD_FILES+=usr/share/groff_font/devX100/TBI +OLD_FILES+=usr/share/groff_font/devX100/TI +OLD_FILES+=usr/share/groff_font/devX100/TR +OLD_DIRS+=usr/share/groff_font/devX100 +OLD_FILES+=usr/share/groff_font/devX75-12/CB +OLD_FILES+=usr/share/groff_font/devX75-12/CBI +OLD_FILES+=usr/share/groff_font/devX75-12/CI +OLD_FILES+=usr/share/groff_font/devX75-12/CR +OLD_FILES+=usr/share/groff_font/devX75-12/DESC +OLD_FILES+=usr/share/groff_font/devX75-12/HB +OLD_FILES+=usr/share/groff_font/devX75-12/HBI +OLD_FILES+=usr/share/groff_font/devX75-12/HI +OLD_FILES+=usr/share/groff_font/devX75-12/HR +OLD_FILES+=usr/share/groff_font/devX75-12/NB +OLD_FILES+=usr/share/groff_font/devX75-12/NBI +OLD_FILES+=usr/share/groff_font/devX75-12/NI +OLD_FILES+=usr/share/groff_font/devX75-12/NR +OLD_FILES+=usr/share/groff_font/devX75-12/S +OLD_FILES+=usr/share/groff_font/devX75-12/TB +OLD_FILES+=usr/share/groff_font/devX75-12/TBI +OLD_FILES+=usr/share/groff_font/devX75-12/TI +OLD_FILES+=usr/share/groff_font/devX75-12/TR +OLD_DIRS+=usr/share/groff_font/devX75-12 +OLD_FILES+=usr/share/groff_font/devX75/CB +OLD_FILES+=usr/share/groff_font/devX75/CBI +OLD_FILES+=usr/share/groff_font/devX75/CI +OLD_FILES+=usr/share/groff_font/devX75/CR +OLD_FILES+=usr/share/groff_font/devX75/DESC +OLD_FILES+=usr/share/groff_font/devX75/HB +OLD_FILES+=usr/share/groff_font/devX75/HBI +OLD_FILES+=usr/share/groff_font/devX75/HI +OLD_FILES+=usr/share/groff_font/devX75/HR +OLD_FILES+=usr/share/groff_font/devX75/NB +OLD_FILES+=usr/share/groff_font/devX75/NBI +OLD_FILES+=usr/share/groff_font/devX75/NI +OLD_FILES+=usr/share/groff_font/devX75/NR +OLD_FILES+=usr/share/groff_font/devX75/S +OLD_FILES+=usr/share/groff_font/devX75/TB +OLD_FILES+=usr/share/groff_font/devX75/TBI +OLD_FILES+=usr/share/groff_font/devX75/TI +OLD_FILES+=usr/share/groff_font/devX75/TR +OLD_DIRS+=usr/share/groff_font/devX75 +OLD_FILES+=usr/share/groff_font/devascii/B +OLD_FILES+=usr/share/groff_font/devascii/BI +OLD_FILES+=usr/share/groff_font/devascii/CW +OLD_FILES+=usr/share/groff_font/devascii/DESC +OLD_FILES+=usr/share/groff_font/devascii/I +OLD_FILES+=usr/share/groff_font/devascii/L +OLD_FILES+=usr/share/groff_font/devascii/R +OLD_FILES+=usr/share/groff_font/devascii/S +OLD_DIRS+=usr/share/groff_font/devascii +OLD_FILES+=usr/share/groff_font/devcp1047/B +OLD_FILES+=usr/share/groff_font/devcp1047/BI +OLD_FILES+=usr/share/groff_font/devcp1047/CW +OLD_FILES+=usr/share/groff_font/devcp1047/DESC +OLD_FILES+=usr/share/groff_font/devcp1047/I +OLD_FILES+=usr/share/groff_font/devcp1047/L +OLD_FILES+=usr/share/groff_font/devcp1047/R +OLD_FILES+=usr/share/groff_font/devcp1047/S +OLD_DIRS+=usr/share/groff_font/devcp1047 +OLD_FILES+=usr/share/groff_font/devdvi/CW +OLD_FILES+=usr/share/groff_font/devdvi/CWEC +OLD_FILES+=usr/share/groff_font/devdvi/CWI +OLD_FILES+=usr/share/groff_font/devdvi/CWIEC +OLD_FILES+=usr/share/groff_font/devdvi/CWITC +OLD_FILES+=usr/share/groff_font/devdvi/CWTC +OLD_FILES+=usr/share/groff_font/devdvi/CompileFonts +OLD_FILES+=usr/share/groff_font/devdvi/DESC +OLD_FILES+=usr/share/groff_font/devdvi/EX +OLD_FILES+=usr/share/groff_font/devdvi/HB +OLD_FILES+=usr/share/groff_font/devdvi/HBEC +OLD_FILES+=usr/share/groff_font/devdvi/HBI +OLD_FILES+=usr/share/groff_font/devdvi/HBIEC +OLD_FILES+=usr/share/groff_font/devdvi/HBITC +OLD_FILES+=usr/share/groff_font/devdvi/HBTC +OLD_FILES+=usr/share/groff_font/devdvi/HI +OLD_FILES+=usr/share/groff_font/devdvi/HIEC +OLD_FILES+=usr/share/groff_font/devdvi/HITC +OLD_FILES+=usr/share/groff_font/devdvi/HR +OLD_FILES+=usr/share/groff_font/devdvi/HREC +OLD_FILES+=usr/share/groff_font/devdvi/HRTC +OLD_FILES+=usr/share/groff_font/devdvi/MI +OLD_FILES+=usr/share/groff_font/devdvi/Makefile +OLD_FILES+=usr/share/groff_font/devdvi/S +OLD_FILES+=usr/share/groff_font/devdvi/SA +OLD_FILES+=usr/share/groff_font/devdvi/SB +OLD_FILES+=usr/share/groff_font/devdvi/SC +OLD_FILES+=usr/share/groff_font/devdvi/TB +OLD_FILES+=usr/share/groff_font/devdvi/TBEC +OLD_FILES+=usr/share/groff_font/devdvi/TBI +OLD_FILES+=usr/share/groff_font/devdvi/TBIEC +OLD_FILES+=usr/share/groff_font/devdvi/TBITC +OLD_FILES+=usr/share/groff_font/devdvi/TBTC +OLD_FILES+=usr/share/groff_font/devdvi/TI +OLD_FILES+=usr/share/groff_font/devdvi/TIEC +OLD_FILES+=usr/share/groff_font/devdvi/TITC +OLD_FILES+=usr/share/groff_font/devdvi/TR +OLD_FILES+=usr/share/groff_font/devdvi/TREC +OLD_FILES+=usr/share/groff_font/devdvi/TRTC +OLD_FILES+=usr/share/groff_font/devdvi/ec.map +OLD_FILES+=usr/share/groff_font/devdvi/msam.map +OLD_FILES+=usr/share/groff_font/devdvi/msbm.map +OLD_FILES+=usr/share/groff_font/devdvi/tc.map +OLD_FILES+=usr/share/groff_font/devdvi/texb.map +OLD_FILES+=usr/share/groff_font/devdvi/texex.map +OLD_FILES+=usr/share/groff_font/devdvi/texi.map +OLD_FILES+=usr/share/groff_font/devdvi/texmi.map +OLD_FILES+=usr/share/groff_font/devdvi/texr.map +OLD_FILES+=usr/share/groff_font/devdvi/texsy.map +OLD_FILES+=usr/share/groff_font/devdvi/textex.map +OLD_FILES+=usr/share/groff_font/devdvi/textt.map +OLD_DIRS+=usr/share/groff_font/devdvi +OLD_FILES+=usr/share/groff_font/devhtml/B +OLD_FILES+=usr/share/groff_font/devhtml/BI +OLD_FILES+=usr/share/groff_font/devhtml/CB +OLD_FILES+=usr/share/groff_font/devhtml/CBI +OLD_FILES+=usr/share/groff_font/devhtml/CI +OLD_FILES+=usr/share/groff_font/devhtml/CR +OLD_FILES+=usr/share/groff_font/devhtml/DESC +OLD_FILES+=usr/share/groff_font/devhtml/I +OLD_FILES+=usr/share/groff_font/devhtml/R +OLD_FILES+=usr/share/groff_font/devhtml/S +OLD_DIRS+=usr/share/groff_font/devhtml +OLD_FILES+=usr/share/groff_font/devkoi8-r/B +OLD_FILES+=usr/share/groff_font/devkoi8-r/BI +OLD_FILES+=usr/share/groff_font/devkoi8-r/CW +OLD_FILES+=usr/share/groff_font/devkoi8-r/DESC +OLD_FILES+=usr/share/groff_font/devkoi8-r/I +OLD_FILES+=usr/share/groff_font/devkoi8-r/L +OLD_FILES+=usr/share/groff_font/devkoi8-r/R +OLD_FILES+=usr/share/groff_font/devkoi8-r/S +OLD_DIRS+=usr/share/groff_font/devkoi8-r +OLD_FILES+=usr/share/groff_font/devlatin1/B +OLD_FILES+=usr/share/groff_font/devlatin1/BI +OLD_FILES+=usr/share/groff_font/devlatin1/CW +OLD_FILES+=usr/share/groff_font/devlatin1/DESC +OLD_FILES+=usr/share/groff_font/devlatin1/I +OLD_FILES+=usr/share/groff_font/devlatin1/L +OLD_FILES+=usr/share/groff_font/devlatin1/R +OLD_FILES+=usr/share/groff_font/devlatin1/S +OLD_DIRS+=usr/share/groff_font/devlatin1 +OLD_FILES+=usr/share/groff_font/devlbp/CB +OLD_FILES+=usr/share/groff_font/devlbp/CI +OLD_FILES+=usr/share/groff_font/devlbp/CR +OLD_FILES+=usr/share/groff_font/devlbp/DESC +OLD_FILES+=usr/share/groff_font/devlbp/EB +OLD_FILES+=usr/share/groff_font/devlbp/EI +OLD_FILES+=usr/share/groff_font/devlbp/ER +OLD_FILES+=usr/share/groff_font/devlbp/HB +OLD_FILES+=usr/share/groff_font/devlbp/HBI +OLD_FILES+=usr/share/groff_font/devlbp/HI +OLD_FILES+=usr/share/groff_font/devlbp/HNB +OLD_FILES+=usr/share/groff_font/devlbp/HNBI +OLD_FILES+=usr/share/groff_font/devlbp/HNI +OLD_FILES+=usr/share/groff_font/devlbp/HNR +OLD_FILES+=usr/share/groff_font/devlbp/HR +OLD_FILES+=usr/share/groff_font/devlbp/TB +OLD_FILES+=usr/share/groff_font/devlbp/TBI +OLD_FILES+=usr/share/groff_font/devlbp/TI +OLD_FILES+=usr/share/groff_font/devlbp/TR +OLD_DIRS+=usr/share/groff_font/devlbp +OLD_FILES+=usr/share/groff_font/devlj4/AB +OLD_FILES+=usr/share/groff_font/devlj4/ABI +OLD_FILES+=usr/share/groff_font/devlj4/AI +OLD_FILES+=usr/share/groff_font/devlj4/ALBB +OLD_FILES+=usr/share/groff_font/devlj4/ALBR +OLD_FILES+=usr/share/groff_font/devlj4/AOB +OLD_FILES+=usr/share/groff_font/devlj4/AOI +OLD_FILES+=usr/share/groff_font/devlj4/AOR +OLD_FILES+=usr/share/groff_font/devlj4/AR +OLD_FILES+=usr/share/groff_font/devlj4/CB +OLD_FILES+=usr/share/groff_font/devlj4/CBI +OLD_FILES+=usr/share/groff_font/devlj4/CI +OLD_FILES+=usr/share/groff_font/devlj4/CLARENDON +OLD_FILES+=usr/share/groff_font/devlj4/CORONET +OLD_FILES+=usr/share/groff_font/devlj4/CR +OLD_FILES+=usr/share/groff_font/devlj4/DESC +OLD_FILES+=usr/share/groff_font/devlj4/GB +OLD_FILES+=usr/share/groff_font/devlj4/GBI +OLD_FILES+=usr/share/groff_font/devlj4/GI +OLD_FILES+=usr/share/groff_font/devlj4/GR +OLD_FILES+=usr/share/groff_font/devlj4/LGB +OLD_FILES+=usr/share/groff_font/devlj4/LGI +OLD_FILES+=usr/share/groff_font/devlj4/LGR +OLD_FILES+=usr/share/groff_font/devlj4/MARIGOLD +OLD_FILES+=usr/share/groff_font/devlj4/OB +OLD_FILES+=usr/share/groff_font/devlj4/OBI +OLD_FILES+=usr/share/groff_font/devlj4/OI +OLD_FILES+=usr/share/groff_font/devlj4/OR +OLD_FILES+=usr/share/groff_font/devlj4/S +OLD_FILES+=usr/share/groff_font/devlj4/SYMBOL +OLD_FILES+=usr/share/groff_font/devlj4/TB +OLD_FILES+=usr/share/groff_font/devlj4/TBI +OLD_FILES+=usr/share/groff_font/devlj4/TI +OLD_FILES+=usr/share/groff_font/devlj4/TNRB +OLD_FILES+=usr/share/groff_font/devlj4/TNRBI +OLD_FILES+=usr/share/groff_font/devlj4/TNRI +OLD_FILES+=usr/share/groff_font/devlj4/TNRR +OLD_FILES+=usr/share/groff_font/devlj4/TR +OLD_FILES+=usr/share/groff_font/devlj4/UB +OLD_FILES+=usr/share/groff_font/devlj4/UBI +OLD_FILES+=usr/share/groff_font/devlj4/UCB +OLD_FILES+=usr/share/groff_font/devlj4/UCBI +OLD_FILES+=usr/share/groff_font/devlj4/UCI +OLD_FILES+=usr/share/groff_font/devlj4/UCR +OLD_FILES+=usr/share/groff_font/devlj4/UI +OLD_FILES+=usr/share/groff_font/devlj4/UR +OLD_FILES+=usr/share/groff_font/devlj4/WINGDINGS +OLD_DIRS+=usr/share/groff_font/devlj4 +OLD_FILES+=usr/share/groff_font/devps/AB +OLD_FILES+=usr/share/groff_font/devps/ABI +OLD_FILES+=usr/share/groff_font/devps/AI +OLD_FILES+=usr/share/groff_font/devps/AR +OLD_FILES+=usr/share/groff_font/devps/BMB +OLD_FILES+=usr/share/groff_font/devps/BMBI +OLD_FILES+=usr/share/groff_font/devps/BMI +OLD_FILES+=usr/share/groff_font/devps/BMR +OLD_FILES+=usr/share/groff_font/devps/CB +OLD_FILES+=usr/share/groff_font/devps/CBI +OLD_FILES+=usr/share/groff_font/devps/CI +OLD_FILES+=usr/share/groff_font/devps/CR +OLD_FILES+=usr/share/groff_font/devps/DESC +OLD_FILES+=usr/share/groff_font/devps/EURO +OLD_FILES+=usr/share/groff_font/devps/HB +OLD_FILES+=usr/share/groff_font/devps/HBI +OLD_FILES+=usr/share/groff_font/devps/HI +OLD_FILES+=usr/share/groff_font/devps/HNB +OLD_FILES+=usr/share/groff_font/devps/HNBI +OLD_FILES+=usr/share/groff_font/devps/HNI +OLD_FILES+=usr/share/groff_font/devps/HNR +OLD_FILES+=usr/share/groff_font/devps/HR +OLD_FILES+=usr/share/groff_font/devps/Makefile +OLD_FILES+=usr/share/groff_font/devps/NB +OLD_FILES+=usr/share/groff_font/devps/NBI +OLD_FILES+=usr/share/groff_font/devps/NI +OLD_FILES+=usr/share/groff_font/devps/NR +OLD_FILES+=usr/share/groff_font/devps/PB +OLD_FILES+=usr/share/groff_font/devps/PBI +OLD_FILES+=usr/share/groff_font/devps/PI +OLD_FILES+=usr/share/groff_font/devps/PR +OLD_FILES+=usr/share/groff_font/devps/S +OLD_FILES+=usr/share/groff_font/devps/SS +OLD_FILES+=usr/share/groff_font/devps/TB +OLD_FILES+=usr/share/groff_font/devps/TBI +OLD_FILES+=usr/share/groff_font/devps/TI +OLD_FILES+=usr/share/groff_font/devps/TR +OLD_FILES+=usr/share/groff_font/devps/ZCMI +OLD_FILES+=usr/share/groff_font/devps/ZD +OLD_FILES+=usr/share/groff_font/devps/ZDR +OLD_FILES+=usr/share/groff_font/devps/afmname +OLD_FILES+=usr/share/groff_font/devps/dingbats.map +OLD_FILES+=usr/share/groff_font/devps/dingbats.rmap +OLD_FILES+=usr/share/groff_font/devps/download +OLD_FILES+=usr/share/groff_font/devps/freeeuro.pfa +OLD_FILES+=usr/share/groff_font/devps/lgreekmap +OLD_FILES+=usr/share/groff_font/devps/prologue +OLD_FILES+=usr/share/groff_font/devps/symbol.sed +OLD_FILES+=usr/share/groff_font/devps/symbolchars +OLD_FILES+=usr/share/groff_font/devps/symbolsl.afm +OLD_FILES+=usr/share/groff_font/devps/symbolsl.pfa +OLD_FILES+=usr/share/groff_font/devps/text.enc +OLD_FILES+=usr/share/groff_font/devps/textmap +OLD_FILES+=usr/share/groff_font/devps/zapfdr.pfa +OLD_DIRS+=usr/share/groff_font/devps +OLD_FILES+=usr/share/groff_font/devutf8/B +OLD_FILES+=usr/share/groff_font/devutf8/BI +OLD_FILES+=usr/share/groff_font/devutf8/CW +OLD_FILES+=usr/share/groff_font/devutf8/DESC +OLD_FILES+=usr/share/groff_font/devutf8/I +OLD_FILES+=usr/share/groff_font/devutf8/L +OLD_FILES+=usr/share/groff_font/devutf8/R +OLD_FILES+=usr/share/groff_font/devutf8/S +OLD_DIRS+=usr/share/groff_font/devutf8 +OLD_DIRS+=usr/share/groff_font +OLD_FILES+=usr/share/info/groff.info.gz +OLD_FILES+=usr/share/man/man1/addftinfo.1.gz +OLD_FILES+=usr/share/man/man1/afmtodit.1.gz +OLD_FILES+=usr/share/man/man1/eqn.1.gz +OLD_FILES+=usr/share/man/man1/grn.1.gz +OLD_FILES+=usr/share/man/man1/grodvi.1.gz +OLD_FILES+=usr/share/man/man1/groff.1.gz +OLD_FILES+=usr/share/man/man1/grog.1.gz +OLD_FILES+=usr/share/man/man1/grolbp.1.gz +OLD_FILES+=usr/share/man/man1/grolj4.1.gz +OLD_FILES+=usr/share/man/man1/grops.1.gz +OLD_FILES+=usr/share/man/man1/grotty.1.gz +OLD_FILES+=usr/share/man/man1/hpftodit.1.gz +OLD_FILES+=usr/share/man/man1/indxbib.1.gz +OLD_FILES+=usr/share/man/man1/lkbib.1.gz +OLD_FILES+=usr/share/man/man1/lookbib.1.gz +OLD_FILES+=usr/share/man/man1/mmroff.1.gz +OLD_FILES+=usr/share/man/man1/neqn.1.gz +OLD_FILES+=usr/share/man/man1/nroff.1.gz +OLD_FILES+=usr/share/man/man1/pfbtops.1.gz +OLD_FILES+=usr/share/man/man1/pic.1.gz +OLD_FILES+=usr/share/man/man1/psroff.1.gz +OLD_FILES+=usr/share/man/man1/refer.1.gz +OLD_FILES+=usr/share/man/man1/soelim.1.gz +OLD_FILES+=usr/share/man/man1/tbl.1.gz +OLD_FILES+=usr/share/man/man1/tfmtodit.1.gz +OLD_FILES+=usr/share/man/man1/troff.1.gz +OLD_FILES+=usr/share/man/man1/vgrind.1.gz +OLD_FILES+=usr/share/man/man5/groff_font.5.gz +OLD_FILES+=usr/share/man/man5/groff_out.5.gz +OLD_FILES+=usr/share/man/man5/groff_tmac.5.gz +OLD_FILES+=usr/share/man/man5/lj4_font.5.gz +OLD_FILES+=usr/share/man/man5/tmac.5.gz +OLD_FILES+=usr/share/man/man5/vgrindefs.5.gz +OLD_FILES+=usr/share/man/man7/ditroff.7.gz +OLD_FILES+=usr/share/man/man7/groff.7.gz +OLD_FILES+=usr/share/man/man7/groff_char.7.gz +OLD_FILES+=usr/share/man/man7/groff_diff.7.gz +OLD_FILES+=usr/share/man/man7/groff_man.7.gz +OLD_FILES+=usr/share/man/man7/groff_mdoc.7.gz +OLD_FILES+=usr/share/man/man7/groff_me.7.gz +OLD_FILES+=usr/share/man/man7/groff_mm.7.gz +OLD_FILES+=usr/share/man/man7/groff_mmse.7.gz +OLD_FILES+=usr/share/man/man7/groff_ms.7.gz +OLD_FILES+=usr/share/man/man7/groff_trace.7.gz +OLD_FILES+=usr/share/man/man7/groff_www.7.gz +OLD_FILES+=usr/share/man/man7/man.7.gz +OLD_FILES+=usr/share/man/man7/mdoc.7.gz +OLD_FILES+=usr/share/man/man7/mdoc.samples.7.gz +OLD_FILES+=usr/share/man/man7/me.7.gz +OLD_FILES+=usr/share/man/man7/mm.7.gz +OLD_FILES+=usr/share/man/man7/mmse.7.gz +OLD_FILES+=usr/share/man/man7/ms.7.gz +OLD_FILES+=usr/share/man/man7/orig_me.7.gz +OLD_FILES+=usr/share/man/man7/roff.7.gz +OLD_FILES+=usr/share/me/acm.me +OLD_FILES+=usr/share/me/chars.me +OLD_FILES+=usr/share/me/deltext.me +OLD_FILES+=usr/share/me/eqn.me +OLD_FILES+=usr/share/me/float.me +OLD_FILES+=usr/share/me/footnote.me +OLD_FILES+=usr/share/me/index.me +OLD_FILES+=usr/share/me/letterhead.me +OLD_FILES+=usr/share/me/local.me +OLD_FILES+=usr/share/me/null.me +OLD_FILES+=usr/share/me/refer.me +OLD_FILES+=usr/share/me/revisions +OLD_FILES+=usr/share/me/sh.me +OLD_FILES+=usr/share/me/tbl.me +OLD_FILES+=usr/share/me/thesis.me +OLD_DIRS+=usr/share/me +OLD_FILES+=usr/share/misc/vgrindefs +OLD_FILES+=usr/share/misc/vgrindefs.db +OLD_FILES+=usr/share/tmac/X.tmac +OLD_FILES+=usr/share/tmac/Xps.tmac +OLD_FILES+=usr/share/tmac/a4.tmac +OLD_FILES+=usr/share/tmac/an-old.tmac +OLD_FILES+=usr/share/tmac/an.tmac +OLD_FILES+=usr/share/tmac/andoc.tmac +OLD_FILES+=usr/share/tmac/composite.tmac +OLD_FILES+=usr/share/tmac/cp1047.tmac +OLD_FILES+=usr/share/tmac/devtag.tmac +OLD_FILES+=usr/share/tmac/doc.tmac +OLD_FILES+=usr/share/tmac/dvi.tmac +OLD_FILES+=usr/share/tmac/e.tmac +OLD_FILES+=usr/share/tmac/ec.tmac +OLD_FILES+=usr/share/tmac/eqnrc +OLD_FILES+=usr/share/tmac/europs.tmac +OLD_FILES+=usr/share/tmac/html-end.tmac +OLD_FILES+=usr/share/tmac/html.tmac +OLD_FILES+=usr/share/tmac/hyphen.ru +OLD_FILES+=usr/share/tmac/hyphen.us +OLD_FILES+=usr/share/tmac/hyphenex.us +OLD_FILES+=usr/share/tmac/koi8-r.tmac +OLD_FILES+=usr/share/tmac/latin1.tmac +OLD_FILES+=usr/share/tmac/latin2.tmac +OLD_FILES+=usr/share/tmac/latin9.tmac +OLD_FILES+=usr/share/tmac/lbp.tmac +OLD_FILES+=usr/share/tmac/lj4.tmac +OLD_FILES+=usr/share/tmac/m.tmac +OLD_FILES+=usr/share/tmac/man.local +OLD_FILES+=usr/share/tmac/man.tmac +OLD_FILES+=usr/share/tmac/mandoc.tmac +OLD_FILES+=usr/share/tmac/mdoc.local +OLD_FILES+=usr/share/tmac/mdoc.tmac +OLD_FILES+=usr/share/tmac/mdoc/doc-common +OLD_FILES+=usr/share/tmac/mdoc/doc-ditroff +OLD_FILES+=usr/share/tmac/mdoc/doc-nroff +OLD_FILES+=usr/share/tmac/mdoc/doc-syms +OLD_FILES+=usr/share/tmac/mdoc/fr.ISO8859-1 +OLD_FILES+=usr/share/tmac/mdoc/ru.KOI8-R +OLD_DIRS+=usr/share/tmac/mdoc +OLD_FILES+=usr/share/tmac/me.tmac +OLD_FILES+=usr/share/tmac/mm/0.MT +OLD_FILES+=usr/share/tmac/mm/4.MT +OLD_FILES+=usr/share/tmac/mm/5.MT +OLD_FILES+=usr/share/tmac/mm/locale +OLD_FILES+=usr/share/tmac/mm/mm.tmac +OLD_FILES+=usr/share/tmac/mm/mmse.tmac +OLD_FILES+=usr/share/tmac/mm/ms.cov +OLD_FILES+=usr/share/tmac/mm/se_locale +OLD_FILES+=usr/share/tmac/mm/se_ms.cov +OLD_DIRS+=usr/share/tmac/mm +OLD_FILES+=usr/share/tmac/ms.tmac +OLD_FILES+=usr/share/tmac/mse.tmac +OLD_FILES+=usr/share/tmac/papersize.tmac +OLD_FILES+=usr/share/tmac/pic.tmac +OLD_FILES+=usr/share/tmac/ps.tmac +OLD_FILES+=usr/share/tmac/psatk.tmac +OLD_FILES+=usr/share/tmac/psold.tmac +OLD_FILES+=usr/share/tmac/pspic.tmac +OLD_FILES+=usr/share/tmac/s.tmac +OLD_FILES+=usr/share/tmac/safer.tmac +OLD_FILES+=usr/share/tmac/tmac.orig_me +OLD_FILES+=usr/share/tmac/tmac.vgrind +OLD_FILES+=usr/share/tmac/trace.tmac +OLD_FILES+=usr/share/tmac/troffrc +OLD_FILES+=usr/share/tmac/troffrc-end +OLD_FILES+=usr/share/tmac/tty-char.tmac +OLD_FILES+=usr/share/tmac/tty.tmac +OLD_FILES+=usr/share/tmac/unicode.tmac +OLD_FILES+=usr/share/tmac/www.tmac +OLD_DIRS+=usr/share/tmac +.endif + .if ${MK_GSSAPI} == no OLD_FILES+=usr/lib/libgssapi.a OLD_FILES+=usr/lib/libgssapi.so @@ -892,10 +1377,6 @@ OLD_FILES+=usr/share/man/man5/qop.5.gz OLD_FILES+=usr/share/man/man8/gssd.8.gz .endif -#.if ${MK_GROFF} == no -# to be filled in -#.endif - .if ${MK_HESIOD} == no OLD_FILES+=usr/bin/hesinfo OLD_FILES+=usr/include/hesiod.h Modified: head/tools/build/options/WITHOUT_GROFF ============================================================================== --- head/tools/build/options/WITHOUT_GROFF Tue Feb 22 08:07:17 2011 (r218940) +++ head/tools/build/options/WITHOUT_GROFF Tue Feb 22 08:13:49 2011 (r218941) @@ -1,3 +1,7 @@ .\" $FreeBSD$ Set to not build -.Xr groff 1 . +.Xr groff 1 +and +.Xr vgrind 1 . +You should consider installing the textproc/groff port to not break +.Xr man 1 . Modified: head/usr.bin/Makefile ============================================================================== --- head/usr.bin/Makefile Tue Feb 22 08:07:17 2011 (r218940) +++ head/usr.bin/Makefile Tue Feb 22 08:13:49 2011 (r218941) @@ -239,6 +239,10 @@ _clang= clang SUBDIR+= hesinfo .endif +.if ${MK_GROFF} != "no" +SUBDIR+= vgrind +.endif + .if ${MK_OPENSSL} != "no" SUBDIR+= bc SUBDIR+= chkey @@ -320,8 +324,6 @@ SUBDIR+= rpcgen SUBDIR+= unifdef SUBDIR+= xlint SUBDIR+= xstr -# XXX maybe under textproc? -SUBDIR+= vgrind SUBDIR+= yacc .endif From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 08:20:13 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00E9B106564A; Tue, 22 Feb 2011 08:20:13 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E4A0E8FC0A; Tue, 22 Feb 2011 08:20:12 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1M8KCDW099687; Tue, 22 Feb 2011 08:20:12 GMT (envelope-from uqs@svn.freebsd.org) Received: (from uqs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1M8KCVK099685; Tue, 22 Feb 2011 08:20:12 GMT (envelope-from uqs@svn.freebsd.org) Message-Id: <201102220820.p1M8KCVK099685@svn.freebsd.org> From: Ulrich Spoerlein Date: Tue, 22 Feb 2011 08:20:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218942 - head/tools/build/options X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 08:20:13 -0000 Author: uqs Date: Tue Feb 22 08:20:12 2011 New Revision: 218942 URL: http://svn.freebsd.org/changeset/base/218942 Log: The default for FDT has changed, rename the flag/options file. Added: head/tools/build/options/WITHOUT_FDT - copied, changed from r218940, head/tools/build/options/WITH_FDT Deleted: head/tools/build/options/WITH_FDT Copied and modified: head/tools/build/options/WITHOUT_FDT (from r218940, head/tools/build/options/WITH_FDT) ============================================================================== --- head/tools/build/options/WITH_FDT Tue Feb 22 08:07:17 2011 (r218940, copy source) +++ head/tools/build/options/WITHOUT_FDT Tue Feb 22 08:20:12 2011 (r218942) @@ -1,3 +1,3 @@ .\" $FreeBSD$ -Set to build Flattened Device Tree support as part of the base system. This +Set to not build Flattened Device Tree support as part of the base system. This includes the device tree compiler (dtc) and libfdt support library. From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 08:21:23 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5274E106566C; Tue, 22 Feb 2011 08:21:23 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 275C28FC12; Tue, 22 Feb 2011 08:21:23 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1M8LNVE099752; Tue, 22 Feb 2011 08:21:23 GMT (envelope-from uqs@svn.freebsd.org) Received: (from uqs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1M8LNe6099750; Tue, 22 Feb 2011 08:21:23 GMT (envelope-from uqs@svn.freebsd.org) Message-Id: <201102220821.p1M8LNe6099750@svn.freebsd.org> From: Ulrich Spoerlein Date: Tue, 22 Feb 2011 08:21:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218943 - head/share/man/man5 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 08:21:23 -0000 Author: uqs Date: Tue Feb 22 08:21:22 2011 New Revision: 218943 URL: http://svn.freebsd.org/changeset/base/218943 Log: Regen src.conf(5) after r218941 and r218942. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ============================================================================== --- head/share/man/man5/src.conf.5 Tue Feb 22 08:20:12 2011 (r218942) +++ head/share/man/man5/src.conf.5 Tue Feb 22 08:21:22 2011 (r218943) @@ -1,7 +1,7 @@ .\" DO NOT EDIT-- this file is automatically generated. .\" from FreeBSD: head/tools/build/options/makeman 188848 2009-02-20 11:09:55Z mtm .\" $FreeBSD$ -.Dd November 14, 2010 +.Dd February 22, 2011 .Dt SRC.CONF 5 .Os .Sh NAME @@ -303,9 +303,9 @@ dynamically. .\" from FreeBSD: head/tools/build/options/WITHOUT_EXAMPLES 156938 2006-03-21 09:06:24Z ru Set to avoid installing examples to .Pa /usr/share/examples/ . -.It Va WITH_FDT -.\" from FreeBSD: head/tools/build/options/WITH_FDT 208537 2010-05-25 15:12:21Z raj -Set to build Flattened Device Tree support as part of the base system. This +.It Va WITHOUT_FDT +.\" from FreeBSD: head/tools/build/options/WITHOUT_FDT 218942 2011-02-22 08:20:12Z uqs +Set to not build Flattened Device Tree support as part of the base system. This includes the device tree compiler (dtc) and libfdt support library. .It Va WITHOUT_FLOPPY .\" from FreeBSD: head/tools/build/options/WITHOUT_FLOPPY 183306 2008-09-23 16:15:42Z sam @@ -359,9 +359,13 @@ Set to not build GPIB bus support. .\" from FreeBSD: head/tools/build/options/WITH_GPIO 213463 2010-10-05 22:26:01Z gonzo Set to build gpioctl(8) as part of the base system. .It Va WITHOUT_GROFF -.\" from FreeBSD: head/tools/build/options/WITHOUT_GROFF 156932 2006-03-21 07:50:50Z ru +.\" from FreeBSD: head/tools/build/options/WITHOUT_GROFF 218941 2011-02-22 08:13:49Z uqs Set to not build -.Xr groff 1 . +.Xr groff 1 +and +.Xr vgrind 1 . +You should consider installing the textproc/groff port to not break +.Xr man 1 . .It Va WITHOUT_GSSAPI .\" from FreeBSD: head/tools/build/options/WITHOUT_GSSAPI 174548 2007-12-12 16:39:32Z ru Set to not build libgssapi. From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 09:11:47 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE67C1065670; Tue, 22 Feb 2011 09:11:47 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 93FFC8FC19; Tue, 22 Feb 2011 09:11:47 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1M9Bl16001206; Tue, 22 Feb 2011 09:11:47 GMT (envelope-from sobomax@svn.freebsd.org) Received: (from sobomax@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1M9BlQn001204; Tue, 22 Feb 2011 09:11:47 GMT (envelope-from sobomax@svn.freebsd.org) Message-Id: <201102220911.p1M9BlQn001204@svn.freebsd.org> From: Maxim Sobolev Date: Tue, 22 Feb 2011 09:11:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218944 - head/usr.sbin/newsyslog X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 09:11:47 -0000 Author: sobomax Date: Tue Feb 22 09:11:47 2011 New Revision: 218944 URL: http://svn.freebsd.org/changeset/base/218944 Log: Make code more friendly to the non-C99 compilers - don't allocate local variables in the `for' loop declaration. This allows trunk newsyslog.c to be compiled on 7.x. This change should be no-op from the functional POV. Modified: head/usr.sbin/newsyslog/newsyslog.c Modified: head/usr.sbin/newsyslog/newsyslog.c ============================================================================== --- head/usr.sbin/newsyslog/newsyslog.c Tue Feb 22 08:21:22 2011 (r218943) +++ head/usr.sbin/newsyslog/newsyslog.c Tue Feb 22 09:11:47 2011 (r218944) @@ -1450,6 +1450,7 @@ delete_oldest_timelog(const struct conf_ const char *cdir; struct tm tm; DIR *dirp; + int c; oldlogs = malloc(MAX_OLDLOGS * sizeof(struct oldlog_entry)); max_logcnt = MAX_OLDLOGS; @@ -1514,7 +1515,7 @@ delete_oldest_timelog(const struct conf_ continue; } - for (int c = 0; c < COMPRESS_TYPES; c++) + for (c = 0; c < COMPRESS_TYPES; c++) if (strcmp(s, compress_type[c].suffix) == 0) valid = 1; if (valid != 1) { @@ -1629,8 +1630,9 @@ get_logfile_suffix(const char *logfile) { struct stat st; char zfile[MAXPATHLEN]; + int c; - for (int c = 0; c < COMPRESS_TYPES; c++) { + for (c = 0; c < COMPRESS_TYPES; c++) { (void) strlcpy(zfile, logfile, MAXPATHLEN); (void) strlcat(zfile, compress_type[c].suffix, MAXPATHLEN); if (lstat(zfile, &st) == 0) @@ -1653,6 +1655,7 @@ do_rotate(const struct conf_entry *ent) struct stat st; struct tm tm; time_t now; + int c; flags = ent->flags; free_or_keep = FREE_ENT; @@ -1703,7 +1706,7 @@ do_rotate(const struct conf_entry *ent) delete_oldest_timelog(ent, dirpart); else { /* name of oldest log */ - for (int c = 0; c < COMPRESS_TYPES; c++) { + for (c = 0; c < COMPRESS_TYPES; c++) { (void) snprintf(zfile1, sizeof(zfile1), "%s%s", file1, compress_type[c].suffix); if (noaction) @@ -1889,12 +1892,13 @@ do_zipwork(struct zipwork_entry *zwork) int errsav, fcount, zstatus; pid_t pidzip, wpid; char zresult[MAXPATHLEN]; + int c; pgm_path = NULL; strlcpy(zresult, zwork->zw_fname, sizeof(zresult)); if (zwork != NULL && zwork->zw_conf != NULL && zwork->zw_conf->compress > COMPRESS_NONE) - for (int c = 1; c < COMPRESS_TYPES; c++) { + for (c = 1; c < COMPRESS_TYPES; c++) { if (zwork->zw_conf->compress == c) { pgm_path = compress_type[c].path; (void) strlcat(zresult, From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 10:09:34 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E4411065672; Tue, 22 Feb 2011 10:09:34 +0000 (UTC) (envelope-from lstewart@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8CDC68FC16; Tue, 22 Feb 2011 10:09:34 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MA9YKY004701; Tue, 22 Feb 2011 10:09:34 GMT (envelope-from lstewart@svn.freebsd.org) Received: (from lstewart@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MA9Yp8004699; Tue, 22 Feb 2011 10:09:34 GMT (envelope-from lstewart@svn.freebsd.org) Message-Id: <201102221009.p1MA9Yp8004699@svn.freebsd.org> From: Lawrence Stewart Date: Tue, 22 Feb 2011 10:09:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218945 - head/share/man/man4 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 10:09:34 -0000 Author: lstewart Date: Tue Feb 22 10:09:34 2011 New Revision: 218945 URL: http://svn.freebsd.org/changeset/base/218945 Log: Use a single list to simplify future maintenance and ensure all list items are aligned the same (no functional change at the moment as both list items are the same number of characters). Sponsored by: FreeBSD Foundation MFC after: 3 months X-MFC with: 218912 Modified: head/share/man/man4/cc.4 Modified: head/share/man/man4/cc.4 ============================================================================== --- head/share/man/man4/cc.4 Tue Feb 22 09:11:47 2011 (r218944) +++ head/share/man/man4/cc.4 Tue Feb 22 10:09:34 2011 (r218945) @@ -65,8 +65,6 @@ MIB: .Bl -tag -width ".Va available" .It Va available Read-only list of currently available congestion control algorithms by name. -.El -.Bl -tag -width ".Va algorithm" .It Va algorithm Returns the current default congestion control algorithm when read, and changes the default when set. From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 12:30:43 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BAF4106566B; Tue, 22 Feb 2011 12:30:43 +0000 (UTC) (envelope-from trhodes@FreeBSD.org) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by mx1.freebsd.org (Postfix) with ESMTP id 12E388FC1B; Tue, 22 Feb 2011 12:30:42 +0000 (UTC) Received: from homiemail-a65.g.dreamhost.com (jankymail-mx1.g.dreamhost.com [208.97.132.126]) by hapkido.dreamhost.com (Postfix) with ESMTP id DFD77179496; Tue, 22 Feb 2011 04:30:42 -0800 (PST) Received: from homiemail-a65.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTP id 70BF07E4075; Tue, 22 Feb 2011 04:30:42 -0800 (PST) Received: from fbsdlab.fbsdsecure.org (c-98-231-183-112.hsd1.va.comcast.net [98.231.183.112]) (Authenticated sender: trhodes@fbsdsecure.org) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTPA id 573BB7E4073; Tue, 22 Feb 2011 04:30:41 -0800 (PST) Date: Tue, 22 Feb 2011 07:30:47 -0500 From: Tom Rhodes To: Garrett Cooper Message-Id: <20110222073047.1d9e69da.trhodes@FreeBSD.org> In-Reply-To: References: <201102131818.p1DIIuLL046962@svn.freebsd.org> <201102192007.32979.bruce@cran.org.uk> <4D6051D0.8050704@dougbarton.us> <20110221111448.575858b0.trhodes@FreeBSD.org> X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: unixmania@gmail.com, trhodes@freebsd.org, src-committers@freebsd.org, svn-src-all@freebsd.org, dougb@dougbarton.us, bruce@cran.org.uk, svn-src-head@freebsd.org Subject: Re: svn commit: r218650 - head/games/fortune/datfiles X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 12:30:43 -0000 On Mon, 21 Feb 2011 12:12:18 -0800 Garrett Cooper wrote: > On Mon, Feb 21, 2011 at 8:14 AM, Tom Rhodes wrote: > > On Sat, 19 Feb 2011 15:27:12 -0800 > > Doug Barton wrote: > > > >> On 02/19/2011 15:12, Carlos A. M. dos Santos wrote: > >> > On Sat, Feb 19, 2011 at 6:07 PM, Bruce Cran =A0wr= ote: > >> >> On Saturday 19 February 2011 17:25:32 Carlos A. M. dos Santos wrote: > >> >> > >> >>> Did anybody complain about this? If not, would you mid either reve= rt > >> >>> this commit or just go ahead and move all "potentially" offensive > >> >>> jokes to fortunes-o? Anything from Grouch Marx or Mark Twain will > >> >>> probably qualify. > >> >> > >> >> I'm happy to revert the checkin if you think the fortune should be = in the main > >> >> file, since it appears the PR submitter was complaining just as muc= h about > >> >> being unprofessional as offensive. =A0Would you like me to go ahead= and revert > >> >> the move? > >> > > >> > I suggest you to revert the commit > >> > >> Serious overkill, particularly since: > >> 1. The commit has already been MFC'ed, and > >> 2. The fortune in question actually _is_ potentially offensive > >> > > > > ... > > $ man fortune > > ... > > WARNING: Integrating fortune and your email will cause wide > > spread whining, crying, or panic which may or may not result > > in a lecture about how someone else is morally superior to > > yourself. =A0By integrating this program into your email client, > > you are accepting the risk of not being pc-enough for your > > peers (ones that you would probably never have a beer with). >=20 > "Depending on how lucky you are, your fortune may rub people the wrong wa= y" :). Tom Rhodes likes this. ;) --=20 Tom Rhodes From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 12:40:03 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id BE14A1065697; Tue, 22 Feb 2011 12:40:03 +0000 (UTC) Date: Tue, 22 Feb 2011 12:40:03 +0000 From: Alexander Best To: Ulrich Spoerlein Message-ID: <20110222124003.GA85577@freebsd.org> References: <201102220807.p1M87HH6099276@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201102220807.p1M87HH6099276@svn.freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218940 - in head: tools usr.bin/xinstall X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 12:40:03 -0000 On Tue Feb 22 11, Ulrich Spoerlein wrote: > Author: uqs > Date: Tue Feb 22 08:07:17 2011 > New Revision: 218940 > URL: http://svn.freebsd.org/changeset/base/218940 > > Log: > Teach tools/install.sh the -d directory mode. > > Sync up with flags understood by install(1) [1], and make install(1)'s > usage output not hide the clearly documented -M flag. thanks a lot. i'd also like to mention that a first draft of this patch was hacked up by Eygene Ryabinkin. so credits to him too. :) > > PR: misc/154739 [1] > Submitted by: arundel > > Modified: > head/tools/install.sh > head/usr.bin/xinstall/xinstall.c > > Modified: head/tools/install.sh > ============================================================================== > --- head/tools/install.sh Tue Feb 22 07:49:51 2011 (r218939) > +++ head/tools/install.sh Tue Feb 22 08:07:17 2011 (r218940) > @@ -29,14 +29,30 @@ > # $FreeBSD$ > > # parse install's options and ignore them completely. > +dirmode="" > while [ $# -gt 0 ]; do > case $1 in > - -[bCcMpSs]) shift;; > + -d) dirmode="YES"; shift;; > + -[bCcMpSsv]) shift;; > -[Bfgmo]) shift; shift;; > -[Bfgmo]*) shift;; > *) break; > esac > done > > +if [ "$#" -eq 0 ]; then > + echo "$0: no files/dirs specified" >&2 > + exit 1 > +fi > + > +if [ -z "$dirmode" ] && [ "$#" -lt 2 ]; then > + echo "$0: no target specified" >&2 > + exit 1 > +fi > + > # the remaining arguments are assumed to be files/dirs only. > -exec install -p $* > +if [ -z "$dirmode" ]; then > + exec install -p "$@" > +else > + exec install -d "$@" > +fi > > Modified: head/usr.bin/xinstall/xinstall.c > ============================================================================== > --- head/usr.bin/xinstall/xinstall.c Tue Feb 22 07:49:51 2011 (r218939) > +++ head/usr.bin/xinstall/xinstall.c Tue Feb 22 08:07:17 2011 (r218940) > @@ -769,9 +769,9 @@ static void > usage(void) > { > (void)fprintf(stderr, > -"usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]\n" > +"usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]\n" > " [-o owner] file1 file2\n" > -" install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]\n" > +" install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]\n" > " [-o owner] file1 ... fileN directory\n" > " install -d [-v] [-g group] [-m mode] [-o owner] directory ...\n"); > exit(EX_USAGE); -- a13x From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 13:52:04 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 156341065670; Tue, 22 Feb 2011 13:52:04 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 03AB68FC17; Tue, 22 Feb 2011 13:52:04 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MDq3dj010549; Tue, 22 Feb 2011 13:52:03 GMT (envelope-from nyan@svn.freebsd.org) Received: (from nyan@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MDq35b010547; Tue, 22 Feb 2011 13:52:03 GMT (envelope-from nyan@svn.freebsd.org) Message-Id: <201102221352.p1MDq35b010547@svn.freebsd.org> From: Takahashi Yoshihiro Date: Tue, 22 Feb 2011 13:52:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218946 - head/sys/boot/pc98/boot2 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 13:52:04 -0000 Author: nyan Date: Tue Feb 22 13:52:03 2011 New Revision: 218946 URL: http://svn.freebsd.org/changeset/base/218946 Log: MFi386: revision 218926 In sys/boot/i386/boot2/boot2.c, change the type of the 'opts' variable from uint16_t back to uint32_t. The actual option bitmasks (RB_* and RBX_*) assume at least a 32 bit variable. Submitted by: rdivacky Modified: head/sys/boot/pc98/boot2/boot2.c Modified: head/sys/boot/pc98/boot2/boot2.c ============================================================================== --- head/sys/boot/pc98/boot2/boot2.c Tue Feb 22 10:09:34 2011 (r218945) +++ head/sys/boot/pc98/boot2/boot2.c Tue Feb 22 13:52:03 2011 (r218946) @@ -134,7 +134,7 @@ static struct dsk { } dsk; static char cmd[512], cmddup[512]; static char kname[1024]; -static uint16_t opts; +static uint32_t opts; static int comspeed = SIOSPD; static struct bootinfo bootinfo; static uint8_t ioctrl = IO_KEYBOARD; From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 13:56:59 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1A5A106564A; Tue, 22 Feb 2011 13:56:59 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 94C1E8FC13; Tue, 22 Feb 2011 13:56:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MDuxKP010691; Tue, 22 Feb 2011 13:56:59 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MDuxOj010687; Tue, 22 Feb 2011 13:56:59 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201102221356.p1MDuxOj010687@svn.freebsd.org> From: Nathan Whitehorn Date: Tue, 22 Feb 2011 13:56:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218947 - in head/usr.sbin/bsdinstall: . scripts X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 13:56:59 -0000 Author: nwhitehorn Date: Tue Feb 22 13:56:59 2011 New Revision: 218947 URL: http://svn.freebsd.org/changeset/base/218947 Log: Add support for optional distributions, installation of the ports tree and src. Fitting all of this on a single CD along with a full system requires changing the default compression algorithm from gzip to xz. Modified: head/usr.sbin/bsdinstall/bsdinstall head/usr.sbin/bsdinstall/scripts/auto head/usr.sbin/bsdinstall/scripts/jail Modified: head/usr.sbin/bsdinstall/bsdinstall ============================================================================== --- head/usr.sbin/bsdinstall/bsdinstall Tue Feb 22 13:52:03 2011 (r218946) +++ head/usr.sbin/bsdinstall/bsdinstall Tue Feb 22 13:56:59 2011 (r218947) @@ -26,7 +26,6 @@ # # $FreeBSD$ -: ${DISTRIBUTIONS="kernel.tgz world.tgz"}; export DISTRIBUTIONS : ${BSDINSTALL_LOG="/tmp/bsdinstall_log"}; export BSDINSTALL_LOG : ${BSDINSTALL_TMPETC="/tmp/bsdinstall_etc"}; export BSDINSTALL_TMPETC : ${PATH_FSTAB="$BSDINSTALL_TMPETC/fstab"}; export PATH_FSTAB Modified: head/usr.sbin/bsdinstall/scripts/auto ============================================================================== --- head/usr.sbin/bsdinstall/scripts/auto Tue Feb 22 13:52:03 2011 (r218946) +++ head/usr.sbin/bsdinstall/scripts/auto Tue Feb 22 13:56:59 2011 (r218947) @@ -50,6 +50,27 @@ bsdinstall keymap trap error SIGINT # Catch cntrl-C here bsdinstall hostname || error +LIB32="" +[ `uname -p` = amd64 -o `uname -p` = powerpc64 ] && \ + LIB32="lib32 \"32-bit compatibility\" on" + +DISTMENU="doc \"Additional documentation\" on \ + games \"Games (fortune, etc.)\" on \ + $LIB32 \ + ports \"Ports tree\" on \ + src \"System source code\" off" + +exec 3>&1 +EXTRA_DISTS=$(echo $DISTMENU | xargs dialog --backtitle "FreeBSD Installer" \ + --title "Distribution Select" --nocancel --separate-output \ + --checklist "Choose optional system components to install:" \ + 0 0 0 \ +2>&1 1>&3) +DISTRIBUTIONS="base.txz kernel.txz" +for dist in $EXTRA_DISTS; do + export DISTRIBUTIONS="$DISTRIBUTIONS $dist.txz" +done + FETCH_DISTRIBUTIONS="" for dist in $DISTRIBUTIONS; do if [ ! -f $BSDINSTALL_DISTDIR/$dist ]; then Modified: head/usr.sbin/bsdinstall/scripts/jail ============================================================================== --- head/usr.sbin/bsdinstall/scripts/jail Tue Feb 22 13:52:03 2011 (r218946) +++ head/usr.sbin/bsdinstall/scripts/jail Tue Feb 22 13:56:59 2011 (r218947) @@ -29,7 +29,8 @@ echo "Begun Installation at $(date)" > $BSDINSTALL_LOG export BSDINSTALL_CHROOT=$1 -export DISTRIBUTIONS="`echo $DISTRIBUTIONS | sed 's/kernel\.[^ ]* //g'`" +export DISTRIBUTIONS="kernel.txz base.txz doc.txz games.txz" +[ `uname -p` = amd64 -o `uname -p` = powerpc64 ] && export DISTRIBUTIONS="$DISTRIBUTIONS lib32.txz" error() { dialog --backtitle "FreeBSD Installer" --title "Abort" \ From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 14:47:11 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 503001065674; Tue, 22 Feb 2011 14:47:11 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 247FA8FC24; Tue, 22 Feb 2011 14:47:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MElB6V012018; Tue, 22 Feb 2011 14:47:11 GMT (envelope-from alc@svn.freebsd.org) Received: (from alc@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MElBKa012016; Tue, 22 Feb 2011 14:47:11 GMT (envelope-from alc@svn.freebsd.org) Message-Id: <201102221447.p1MElBKa012016@svn.freebsd.org> From: Alan Cox Date: Tue, 22 Feb 2011 14:47:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218949 - head/sys/fs/tmpfs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 14:47:11 -0000 Author: alc Date: Tue Feb 22 14:47:10 2011 New Revision: 218949 URL: http://svn.freebsd.org/changeset/base/218949 Log: Eliminate two dubious attempts at optimizing the implementation of a file's last accessed, modified, and changed times: TMPFS_NODE_ACCESSED and TMPFS_NODE_CHANGED should be set unconditionally in tmpfs_remove() without regard to the number of hard links to the file. Otherwise, after the last directory entry for a file has been removed, a process that still has the file open could read stale values for the last accessed and changed times with fstat(2). Similarly, tmpfs_close() should update the time-related fields even if all directory entries for a file have been removed. In this case, the effect is that the time-related fields will have values that are later than expected. They will correspond to the time at which fstat(2) is called. In collaboration with: kib MFC after: 1 week Modified: head/sys/fs/tmpfs/tmpfs_vnops.c Modified: head/sys/fs/tmpfs/tmpfs_vnops.c ============================================================================== --- head/sys/fs/tmpfs/tmpfs_vnops.c Tue Feb 22 14:02:00 2011 (r218948) +++ head/sys/fs/tmpfs/tmpfs_vnops.c Tue Feb 22 14:47:10 2011 (r218949) @@ -270,19 +270,12 @@ tmpfs_close(struct vop_close_args *v) { struct vnode *vp = v->a_vp; - struct tmpfs_node *node; - MPASS(VOP_ISLOCKED(vp)); - node = VP_TO_TMPFS_NODE(vp); - - if (node->tn_links > 0) { - /* Update node times. No need to do it if the node has - * been deleted, because it will vanish after we return. */ - tmpfs_update(vp); - } + /* Update node times. */ + tmpfs_update(vp); - return 0; + return (0); } /* --------------------------------------------------------------------- */ @@ -852,8 +845,7 @@ tmpfs_remove(struct vop_remove_args *v) * reclaimed. */ tmpfs_free_dirent(tmp, de, TRUE); - if (node->tn_links > 0) - node->tn_status |= TMPFS_NODE_ACCESSED | TMPFS_NODE_CHANGED; + node->tn_status |= TMPFS_NODE_ACCESSED | TMPFS_NODE_CHANGED; error = 0; out: From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 14:58:14 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B50BF106564A; Tue, 22 Feb 2011 14:58:14 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8B8958FC15; Tue, 22 Feb 2011 14:58:14 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MEwEA1012297; Tue, 22 Feb 2011 14:58:14 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MEwEqf012295; Tue, 22 Feb 2011 14:58:14 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201102221458.p1MEwEqf012295@svn.freebsd.org> From: John Baldwin Date: Tue, 22 Feb 2011 14:58:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218950 - head/sys/i386/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 14:58:14 -0000 Author: jhb Date: Tue Feb 22 14:58:14 2011 New Revision: 218950 URL: http://svn.freebsd.org/changeset/base/218950 Log: Fix whitespace nit. Modified: head/sys/i386/include/pmap.h Modified: head/sys/i386/include/pmap.h ============================================================================== --- head/sys/i386/include/pmap.h Tue Feb 22 14:47:10 2011 (r218949) +++ head/sys/i386/include/pmap.h Tue Feb 22 14:58:14 2011 (r218950) @@ -441,7 +441,6 @@ struct pmap { table */ #endif vm_page_t pm_root; /* spare page table pages */ - }; typedef struct pmap *pmap_t; From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 15:31:40 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9F9D1065695; Tue, 22 Feb 2011 15:31:40 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 98D278FC08; Tue, 22 Feb 2011 15:31:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MFVed9013113; Tue, 22 Feb 2011 15:31:40 GMT (envelope-from jh@svn.freebsd.org) Received: (from jh@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MFVeND013111; Tue, 22 Feb 2011 15:31:40 GMT (envelope-from jh@svn.freebsd.org) Message-Id: <201102221531.p1MFVeND013111@svn.freebsd.org> From: Jaakko Heinonen Date: Tue, 22 Feb 2011 15:31:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218951 - head/sbin/newfs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 15:31:40 -0000 Author: jh Date: Tue Feb 22 15:31:40 2011 New Revision: 218951 URL: http://svn.freebsd.org/changeset/base/218951 Log: Xref makefs(8). PR: 154708 Submitted by: jhs Modified: head/sbin/newfs/newfs.8 Modified: head/sbin/newfs/newfs.8 ============================================================================== --- head/sbin/newfs/newfs.8 Tue Feb 22 14:58:14 2011 (r218950) +++ head/sbin/newfs/newfs.8 Tue Feb 22 15:31:40 2011 (r218951) @@ -28,7 +28,7 @@ .\" @(#)newfs.8 8.6 (Berkeley) 5/3/95 .\" $FreeBSD$ .\" -.Dd December 9, 2010 +.Dd February 22, 2011 .Dt NEWFS 8 .Os .Sh NAME @@ -297,6 +297,7 @@ on file systems that contain many small .Xr dumpfs 8 , .Xr fsck 8 , .Xr gjournal 8 , +.Xr makefs 8 , .Xr mount 8 , .Xr tunefs 8 , .Xr gvinum 8 From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 17:37:13 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3278106564A; Tue, 22 Feb 2011 17:37:13 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A0B2F8FC1C; Tue, 22 Feb 2011 17:37:13 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MHbDO8016106; Tue, 22 Feb 2011 17:37:13 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MHbDUw016104; Tue, 22 Feb 2011 17:37:13 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102221737.p1MHbDUw016104@svn.freebsd.org> From: Bruce Cran Date: Tue, 22 Feb 2011 17:37:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218952 - stable/8/usr.sbin/sysinstall X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 17:37:13 -0000 Author: brucec Date: Tue Feb 22 17:37:13 2011 New Revision: 218952 URL: http://svn.freebsd.org/changeset/base/218952 Log: MFC r218839: In the distribution list, 'A' is listed as the key to press to select both 'All' and 'Minimal'. Update the keys for Minimal and Custom to avoid the conflict. PR: bin/153809 Submitted by: Janne Snabb Modified: stable/8/usr.sbin/sysinstall/menus.c Directory Properties: stable/8/usr.sbin/sysinstall/ (props changed) Modified: stable/8/usr.sbin/sysinstall/menus.c ============================================================================== --- stable/8/usr.sbin/sysinstall/menus.c Tue Feb 22 15:31:40 2011 (r218951) +++ stable/8/usr.sbin/sysinstall/menus.c Tue Feb 22 17:37:13 2011 (r218952) @@ -961,9 +961,9 @@ DMenu MenuDistributions = { checkDistKernDeveloper, distSetKernDeveloper }, { "6 User", "Average user - binaries and doc only", checkDistUser, distSetUser }, - { "A Minimal", "The smallest configuration possible", + { "7 Minimal", "The smallest configuration possible", checkDistMinimum, distSetMinimum }, - { "B Custom", "Specify your own distribution set", + { "8 Custom", "Specify your own distribution set", NULL, dmenuSubmenu, NULL, &MenuSubDistributions, '>', '>', '>' }, { NULL } }, }; From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 17:38:43 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECEEC10657A0; Tue, 22 Feb 2011 17:38:43 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DAD038FC1D; Tue, 22 Feb 2011 17:38:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MHchq1016187; Tue, 22 Feb 2011 17:38:43 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MHchsd016185; Tue, 22 Feb 2011 17:38:43 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102221738.p1MHchsd016185@svn.freebsd.org> From: Bruce Cran Date: Tue, 22 Feb 2011 17:38:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218953 - stable/8/usr.sbin/sysinstall X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 17:38:44 -0000 Author: brucec Date: Tue Feb 22 17:38:43 2011 New Revision: 218953 URL: http://svn.freebsd.org/changeset/base/218953 Log: MFC r218840: Remove the quotas option from the Startup Services menu. GENERIC has no support for quotas so this option has no effect. PR: bin/123237 Submitted by: Lawrence Mayer Modified: stable/8/usr.sbin/sysinstall/menus.c Directory Properties: stable/8/usr.sbin/sysinstall/ (props changed) Modified: stable/8/usr.sbin/sysinstall/menus.c ============================================================================== --- stable/8/usr.sbin/sysinstall/menus.c Tue Feb 22 17:37:13 2011 (r218952) +++ stable/8/usr.sbin/sysinstall/menus.c Tue Feb 22 17:38:43 2011 (r218953) @@ -1287,8 +1287,6 @@ DMenu MenuStartup = { { " SVR4", "This host wants to be able to run SVR4 binaries.", dmenuVarCheck, dmenuToggleVariable, NULL, "svr4_enable=YES" }, #endif - { " quotas", "This host wishes to check quotas on startup.", - dmenuVarCheck, dmenuToggleVariable, NULL, "check_quotas=YES" }, { NULL } }, }; From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 17:40:18 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E94C01065679; Tue, 22 Feb 2011 17:40:18 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D720D8FC18; Tue, 22 Feb 2011 17:40:18 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MHeIco016275; Tue, 22 Feb 2011 17:40:18 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MHeIP6016273; Tue, 22 Feb 2011 17:40:18 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102221740.p1MHeIP6016273@svn.freebsd.org> From: Bruce Cran Date: Tue, 22 Feb 2011 17:40:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218954 - stable/8/usr.sbin/sysinstall X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 17:40:19 -0000 Author: brucec Date: Tue Feb 22 17:40:18 2011 New Revision: 218954 URL: http://svn.freebsd.org/changeset/base/218954 Log: MFC r218841: Allow users to create ufs1 filesystems via the noninteractive install.cfg system. PR: bin/113979 Modified: stable/8/usr.sbin/sysinstall/label.c Directory Properties: stable/8/usr.sbin/sysinstall/ (props changed) Modified: stable/8/usr.sbin/sysinstall/label.c ============================================================================== --- stable/8/usr.sbin/sysinstall/label.c Tue Feb 22 17:38:43 2011 (r218953) +++ stable/8/usr.sbin/sysinstall/label.c Tue Feb 22 17:40:18 2011 (r218954) @@ -1653,6 +1653,8 @@ diskLabelNonInteractive(Device *dev) pi = tmp->private_data = new_part(PART_FILESYSTEM, mpoint, TRUE); tmp->private_free = safe_free; pi->newfs_data.newfs_ufs.softupdates = soft; + if (!strcmp(typ, "ufs1")) + pi->newfs_data.newfs_ufs.ufs1 = TRUE; } } } From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 17:43:10 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 115CC106566B; Tue, 22 Feb 2011 17:43:10 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F35118FC0A; Tue, 22 Feb 2011 17:43:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MHh9RN016402; Tue, 22 Feb 2011 17:43:09 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MHh9Ut016400; Tue, 22 Feb 2011 17:43:09 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102221743.p1MHh9Ut016400@svn.freebsd.org> From: Bruce Cran Date: Tue, 22 Feb 2011 17:43:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218955 - stable/8/share/examples/pf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 17:43:10 -0000 Author: brucec Date: Tue Feb 22 17:43:09 2011 New Revision: 218955 URL: http://svn.freebsd.org/changeset/base/218955 Log: MFC r218854: Update the icmp example to show allowing only the safe types. Suggested by: Tom Judge Modified: stable/8/share/examples/pf/pf.conf Directory Properties: stable/8/share/examples/ (props changed) stable/8/share/examples/etc/ (props changed) stable/8/share/examples/kld/syscall/ (props changed) Modified: stable/8/share/examples/pf/pf.conf ============================================================================== --- stable/8/share/examples/pf/pf.conf Tue Feb 22 17:40:18 2011 (r218954) +++ stable/8/share/examples/pf/pf.conf Tue Feb 22 17:43:09 2011 (r218955) @@ -32,4 +32,4 @@ #pass in on $ext_if proto tcp to ($ext_if) port ssh #pass in log on $ext_if proto tcp to ($ext_if) port smtp #pass out log on $ext_if proto tcp from ($ext_if) to port smtp -#pass in on $ext_if proto icmp to ($ext_if) +#pass in on $ext_if inet proto icmp from any to ($ext_if) icmp-type { unreach, redir, timex } From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 17:50:33 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB85F106566B; Tue, 22 Feb 2011 17:50:33 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7E7FA8FC13; Tue, 22 Feb 2011 17:50:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MHoXvG016680; Tue, 22 Feb 2011 17:50:33 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MHoX9Q016677; Tue, 22 Feb 2011 17:50:33 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102221750.p1MHoX9Q016677@svn.freebsd.org> From: Bruce Cran Date: Tue, 22 Feb 2011 17:50:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218956 - stable/7/usr.sbin/sysinstall X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 17:50:33 -0000 Author: brucec Date: Tue Feb 22 17:50:33 2011 New Revision: 218956 URL: http://svn.freebsd.org/changeset/base/218956 Log: MFC r218839, r218840, r218841: In the distribution list, 'A' is listed as the key to press to select both 'All' and 'Minimal'. Update the keys for Minimal and Custom to avoid the conflict. Remove the quotas option from the Startup Services menu. GENERIC has no support for quotas so this option has no effect. Allow users to create ufs1 filesystems via the noninteractive install.cfg system. PR: bin/153809 PR: bin/123237 PR: bin/113979 Modified: stable/7/usr.sbin/sysinstall/label.c stable/7/usr.sbin/sysinstall/menus.c Directory Properties: stable/7/usr.sbin/sysinstall/ (props changed) Modified: stable/7/usr.sbin/sysinstall/label.c ============================================================================== --- stable/7/usr.sbin/sysinstall/label.c Tue Feb 22 17:43:09 2011 (r218955) +++ stable/7/usr.sbin/sysinstall/label.c Tue Feb 22 17:50:33 2011 (r218956) @@ -1674,6 +1674,8 @@ diskLabelNonInteractive(Device *dev) pi = tmp->private_data = new_part(PART_FILESYSTEM, mpoint, TRUE); tmp->private_free = safe_free; pi->newfs_data.newfs_ufs.softupdates = soft; + if (!strcmp(typ, "ufs1")) + pi->newfs_data.newfs_ufs.ufs1 = TRUE; } } } Modified: stable/7/usr.sbin/sysinstall/menus.c ============================================================================== --- stable/7/usr.sbin/sysinstall/menus.c Tue Feb 22 17:43:09 2011 (r218955) +++ stable/7/usr.sbin/sysinstall/menus.c Tue Feb 22 17:50:33 2011 (r218956) @@ -922,9 +922,9 @@ DMenu MenuDistributions = { checkDistUser, distSetUser }, { "9 X-User", "Same as above + X Window System", checkDistXUser, distSetXUser }, - { "A Minimal", "The smallest configuration possible", + { "B Minimal", "The smallest configuration possible", checkDistMinimum, distSetMinimum }, - { "B Custom", "Specify your own distribution set", + { "C Custom", "Specify your own distribution set", NULL, dmenuSubmenu, NULL, &MenuSubDistributions, '>', '>', '>' }, { NULL } }, }; @@ -1263,8 +1263,6 @@ DMenu MenuStartup = { { " OSF/1", "This host wants to be able to run DEC OSF/1 binaries.", dmenuVarCheck, configOSF1, NULL, VAR_OSF1_ENABLE "=YES" }, #endif - { " quotas", "This host wishes to check quotas on startup.", - dmenuVarCheck, dmenuToggleVariable, NULL, "check_quotas=YES" }, { NULL } }, }; From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 17:51:45 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B382E1065783; Tue, 22 Feb 2011 17:51:45 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A14148FC16; Tue, 22 Feb 2011 17:51:45 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MHpjFv016762; Tue, 22 Feb 2011 17:51:45 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MHpjht016760; Tue, 22 Feb 2011 17:51:45 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102221751.p1MHpjht016760@svn.freebsd.org> From: Bruce Cran Date: Tue, 22 Feb 2011 17:51:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218957 - stable/7/share/examples/pf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 17:51:45 -0000 Author: brucec Date: Tue Feb 22 17:51:45 2011 New Revision: 218957 URL: http://svn.freebsd.org/changeset/base/218957 Log: MFC r218854: Update the icmp example to show allowing only the safe types. Suggested by: Tom Judge Modified: stable/7/share/examples/pf/pf.conf Directory Properties: stable/7/share/examples/ (props changed) Modified: stable/7/share/examples/pf/pf.conf ============================================================================== --- stable/7/share/examples/pf/pf.conf Tue Feb 22 17:50:33 2011 (r218956) +++ stable/7/share/examples/pf/pf.conf Tue Feb 22 17:51:45 2011 (r218957) @@ -32,4 +32,4 @@ #pass in on $ext_if proto tcp to ($ext_if) port ssh #pass in log on $ext_if proto tcp to ($ext_if) port smtp #pass out log on $ext_if proto tcp from ($ext_if) to port smtp -#pass in on $ext_if proto icmp to ($ext_if) +#pass in on $ext_if inet proto icmp from any to ($ext_if) icmp-type { unreach, redir, timex } From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 19:05:42 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79F5B1065670; Tue, 22 Feb 2011 19:05:42 +0000 (UTC) (envelope-from bschmidt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 670B88FC14; Tue, 22 Feb 2011 19:05:42 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MJ5g46018567; Tue, 22 Feb 2011 19:05:42 GMT (envelope-from bschmidt@svn.freebsd.org) Received: (from bschmidt@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MJ5gv6018561; Tue, 22 Feb 2011 19:05:42 GMT (envelope-from bschmidt@svn.freebsd.org) Message-Id: <201102221905.p1MJ5gv6018561@svn.freebsd.org> From: Bernhard Schmidt Date: Tue, 22 Feb 2011 19:05:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218958 - head/sys/net80211 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 19:05:42 -0000 Author: bschmidt Date: Tue Feb 22 19:05:42 2011 New Revision: 218958 URL: http://svn.freebsd.org/changeset/base/218958 Log: Make sure to only accept and handle action frames which are for us. In promiscuous mode we might receive stuff which otherwise gets filtered by hardware. Modified: head/sys/net80211/ieee80211_adhoc.c head/sys/net80211/ieee80211_hostap.c head/sys/net80211/ieee80211_mesh.c head/sys/net80211/ieee80211_sta.c head/sys/net80211/ieee80211_wds.c Modified: head/sys/net80211/ieee80211_adhoc.c ============================================================================== --- head/sys/net80211/ieee80211_adhoc.c Tue Feb 22 17:51:45 2011 (r218957) +++ head/sys/net80211/ieee80211_adhoc.c Tue Feb 22 19:05:42 2011 (r218958) @@ -825,14 +825,23 @@ adhoc_recv_mgmt(struct ieee80211_node *n case IEEE80211_FC0_SUBTYPE_ACTION: case IEEE80211_FC0_SUBTYPE_ACTION_NOACK: - if (vap->iv_state == IEEE80211_S_RUN) { - if (ieee80211_parse_action(ni, m0) == 0) - (void)ic->ic_recv_action(ni, wh, frm, efrm); - } else { + if (ni == vap->iv_bss) { + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "%s", "unknown node"); + vap->iv_stats.is_rx_mgtdiscard++; + } else if (!IEEE80211_ADDR_EQ(vap->iv_myaddr, wh->i_addr1) && + !IEEE80211_IS_MULTICAST(wh->i_addr1)) { + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "%s", "not for us"); + vap->iv_stats.is_rx_mgtdiscard++; + } else if (vap->iv_state != IEEE80211_S_RUN) { IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, wh, NULL, "wrong state %s", ieee80211_state_name[vap->iv_state]); vap->iv_stats.is_rx_mgtdiscard++; + } else { + if (ieee80211_parse_action(ni, m0) == 0) + (void)ic->ic_recv_action(ni, wh, frm, efrm); } break; Modified: head/sys/net80211/ieee80211_hostap.c ============================================================================== --- head/sys/net80211/ieee80211_hostap.c Tue Feb 22 17:51:45 2011 (r218957) +++ head/sys/net80211/ieee80211_hostap.c Tue Feb 22 19:05:42 2011 (r218958) @@ -2195,14 +2195,23 @@ hostap_recv_mgmt(struct ieee80211_node * case IEEE80211_FC0_SUBTYPE_ACTION: case IEEE80211_FC0_SUBTYPE_ACTION_NOACK: - if (vap->iv_state == IEEE80211_S_RUN) { - if (ieee80211_parse_action(ni, m0) == 0) - (void)ic->ic_recv_action(ni, wh, frm, efrm); - } else { + if (ni == vap->iv_bss) { + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "%s", "unknown node"); + vap->iv_stats.is_rx_mgtdiscard++; + } else if (!IEEE80211_ADDR_EQ(vap->iv_myaddr, wh->i_addr1) && + !IEEE80211_IS_MULTICAST(wh->i_addr1)) { + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "%s", "not for us"); + vap->iv_stats.is_rx_mgtdiscard++; + } else if (vap->iv_state != IEEE80211_S_RUN) { IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, wh, NULL, "wrong state %s", ieee80211_state_name[vap->iv_state]); vap->iv_stats.is_rx_mgtdiscard++; + } else { + if (ieee80211_parse_action(ni, m0) == 0) + (void)ic->ic_recv_action(ni, wh, frm, efrm); } break; Modified: head/sys/net80211/ieee80211_mesh.c ============================================================================== --- head/sys/net80211/ieee80211_mesh.c Tue Feb 22 17:51:45 2011 (r218957) +++ head/sys/net80211/ieee80211_mesh.c Tue Feb 22 19:05:42 2011 (r218958) @@ -1492,35 +1492,23 @@ mesh_recv_mgmt(struct ieee80211_node *ni case IEEE80211_FC0_SUBTYPE_ACTION: case IEEE80211_FC0_SUBTYPE_ACTION_NOACK: - /* - * We received an action for an unknown neighbor. - * XXX: wait for it to beacon or create ieee80211_node? - */ if (ni == vap->iv_bss) { - IEEE80211_DISCARD(vap, IEEE80211_MSG_MESH, + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, wh, NULL, "%s", "unknown node"); vap->iv_stats.is_rx_mgtdiscard++; - break; - } - /* - * Discard if not for us. - * XXX: if from us too? - */ - if (!IEEE80211_ADDR_EQ(vap->iv_myaddr, wh->i_addr1) && + } else if (!IEEE80211_ADDR_EQ(vap->iv_myaddr, wh->i_addr1) && !IEEE80211_IS_MULTICAST(wh->i_addr1)) { - IEEE80211_DISCARD(vap, IEEE80211_MSG_MESH, - wh, NULL, "%s", "not for me"); + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "%s", "not for us"); vap->iv_stats.is_rx_mgtdiscard++; - break; - } - if (vap->iv_state == IEEE80211_S_RUN) { - if (ieee80211_parse_action(ni, m0) == 0) - (void)ic->ic_recv_action(ni, wh, frm, efrm); - } else { + } else if (vap->iv_state != IEEE80211_S_RUN) { IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, wh, NULL, "wrong state %s", ieee80211_state_name[vap->iv_state]); vap->iv_stats.is_rx_mgtdiscard++; + } else { + if (ieee80211_parse_action(ni, m0) == 0) + (void)ic->ic_recv_action(ni, wh, frm, efrm); } break; Modified: head/sys/net80211/ieee80211_sta.c ============================================================================== --- head/sys/net80211/ieee80211_sta.c Tue Feb 22 17:51:45 2011 (r218957) +++ head/sys/net80211/ieee80211_sta.c Tue Feb 22 19:05:42 2011 (r218958) @@ -1719,14 +1719,19 @@ sta_recv_mgmt(struct ieee80211_node *ni, case IEEE80211_FC0_SUBTYPE_ACTION: case IEEE80211_FC0_SUBTYPE_ACTION_NOACK: - if (vap->iv_state == IEEE80211_S_RUN) { - if (ieee80211_parse_action(ni, m0) == 0) - (void)ic->ic_recv_action(ni, wh, frm, efrm); - } else { + if (!IEEE80211_ADDR_EQ(vap->iv_myaddr, wh->i_addr1) && + !IEEE80211_IS_MULTICAST(wh->i_addr1)) { + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "%s", "not for us"); + vap->iv_stats.is_rx_mgtdiscard++; + } else if (vap->iv_state != IEEE80211_S_RUN) { IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, wh, NULL, "wrong state %s", ieee80211_state_name[vap->iv_state]); vap->iv_stats.is_rx_mgtdiscard++; + } else { + if (ieee80211_parse_action(ni, m0) == 0) + (void)ic->ic_recv_action(ni, wh, frm, efrm); } break; Modified: head/sys/net80211/ieee80211_wds.c ============================================================================== --- head/sys/net80211/ieee80211_wds.c Tue Feb 22 17:51:45 2011 (r218957) +++ head/sys/net80211/ieee80211_wds.c Tue Feb 22 19:05:42 2011 (r218958) @@ -454,6 +454,9 @@ wds_input(struct ieee80211_node *ni, str */ wh = mtod(m, struct ieee80211_frame *); + if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) + ni->ni_inact = ni->ni_inact_reload; + if ((wh->i_fc[0] & IEEE80211_FC0_VERSION_MASK) != IEEE80211_FC0_VERSION_0) { IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_ANY, @@ -536,8 +539,6 @@ wds_input(struct ieee80211_node *ni, str vap->iv_stats.is_rx_wrongdir++;/*XXX*/ goto out; } - if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) - ni->ni_inact = ni->ni_inact_reload; /* * Handle A-MPDU re-ordering. If the frame is to be * processed directly then ieee80211_ampdu_reorder @@ -758,22 +759,23 @@ wds_recv_mgmt(struct ieee80211_node *ni, switch (subtype) { case IEEE80211_FC0_SUBTYPE_ACTION: case IEEE80211_FC0_SUBTYPE_ACTION_NOACK: - if (IEEE80211_IS_MULTICAST(wh->i_addr1)) { - IEEE80211_DISCARD(vap, IEEE80211_MSG_MESH, - wh, NULL, "%s", "not directed to us"); + if (ni == vap->iv_bss) { + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "%s", "unknown node"); vap->iv_stats.is_rx_mgtdiscard++; - break; - } else - ni->ni_inact = ni->ni_inact_reload; - - if (vap->iv_state == IEEE80211_S_RUN) { - if (ieee80211_parse_action(ni, m0) == 0) - (void)ic->ic_recv_action(ni, wh, frm, efrm); - } else { + } else if (!IEEE80211_ADDR_EQ(vap->iv_myaddr, wh->i_addr1)) { + /* NB: not interested in multicast frames. */ + IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, + wh, NULL, "%s", "not for us"); + vap->iv_stats.is_rx_mgtdiscard++; + } else if (vap->iv_state != IEEE80211_S_RUN) { IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT, wh, NULL, "wrong state %s", ieee80211_state_name[vap->iv_state]); vap->iv_stats.is_rx_mgtdiscard++; + } else { + if (ieee80211_parse_action(ni, m0) == 0) + (void)ic->ic_recv_action(ni, wh, frm, efrm); } break; From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 19:18:56 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CEB71065672; Tue, 22 Feb 2011 19:18:56 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8AC988FC0C; Tue, 22 Feb 2011 19:18:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MJIu5H018895; Tue, 22 Feb 2011 19:18:56 GMT (envelope-from jpaetzel@svn.freebsd.org) Received: (from jpaetzel@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MJIukV018893; Tue, 22 Feb 2011 19:18:56 GMT (envelope-from jpaetzel@svn.freebsd.org) Message-Id: <201102221918.p1MJIukV018893@svn.freebsd.org> From: Josh Paetzel Date: Tue, 22 Feb 2011 19:18:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218959 - head/usr.sbin/pc-sysinstall/backend-query X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 19:18:56 -0000 Author: jpaetzel Date: Tue Feb 22 19:18:56 2011 New Revision: 218959 URL: http://svn.freebsd.org/changeset/base/218959 Log: Better method for grabbing disk name, dmesg may produce mangled output. Approved by: kib (mentor, implicit) Modified: head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh Modified: head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh ============================================================================== --- head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh Tue Feb 22 19:05:42 2011 (r218958) +++ head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh Tue Feb 22 19:18:56 2011 (r218959) @@ -74,7 +74,7 @@ do fi # Check the dmesg output for some more info about this device - NEWLINE=$(dmesg | sed -n "s/^$DEV: .*<\(.*\)>.*$/ <\1>/p" | head -n 1) + NEWLINE=$(camcontrol identify $DEV | grep "device model" | tr -s ' ' | sed 's |device model ||g') if [ -z "$NEWLINE" ]; then NEWLINE=" " fi From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 19:37:12 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82FF51065670; Tue, 22 Feb 2011 19:37:12 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 710BC8FC13; Tue, 22 Feb 2011 19:37:12 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MJbCon019330; Tue, 22 Feb 2011 19:37:12 GMT (envelope-from jpaetzel@svn.freebsd.org) Received: (from jpaetzel@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MJbChP019328; Tue, 22 Feb 2011 19:37:12 GMT (envelope-from jpaetzel@svn.freebsd.org) Message-Id: <201102221937.p1MJbChP019328@svn.freebsd.org> From: Josh Paetzel Date: Tue, 22 Feb 2011 19:37:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218960 - head/usr.sbin/pc-sysinstall/backend X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 19:37:12 -0000 Author: jpaetzel Date: Tue Feb 22 19:37:12 2011 New Revision: 218960 URL: http://svn.freebsd.org/changeset/base/218960 Log: Added patch-functions-upgrade which should fix some kernel panics doing upgrades and uninstalling linux compat ports. Submitted by: Joerg-Christian Boehme Approved by: kib (mentor, implicit) Modified: head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh Modified: head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh ============================================================================== --- head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh Tue Feb 22 19:18:56 2011 (r218959) +++ head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh Tue Feb 22 19:37:12 2011 (r218960) @@ -58,7 +58,7 @@ mount_target_slice() zfs mount -a # Mount all the fstab goodies on disk - chroot ${FSMNT} /sbin/mount -a >>${LOGOUT} 2>>${LOGOUT} + chroot ${FSMNT} /sbin/mount -a -t nolinprocfs >>${LOGOUT} 2>>${LOGOUT chroot ${FSMNT} umount /proc >/dev/null 2>/dev/null chroot ${FSMNT} umount /compat/linux/proc >/dev/null 2>/dev/null @@ -79,7 +79,7 @@ mount_target_slice() if [ "$INSTALLTYPE" != "FreeBSD" ] then echo_log "Removing old packages, this may take a while... Please wait..." - echo '#/bin/sh + echo '#!/bin/sh for i in `pkg_info -E \*` do echo "Uninstalling package: ${i}" From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 21:13:40 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78477106566B; Tue, 22 Feb 2011 21:13:40 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 663D68FC16; Tue, 22 Feb 2011 21:13:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MLDenc021589; Tue, 22 Feb 2011 21:13:40 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MLDeTZ021586; Tue, 22 Feb 2011 21:13:40 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201102222113.p1MLDeTZ021586@svn.freebsd.org> From: Doug Barton Date: Tue, 22 Feb 2011 21:13:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218961 - in head/etc: periodic/daily rc.d X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 21:13:40 -0000 Author: dougb Date: Tue Feb 22 21:13:40 2011 New Revision: 218961 URL: http://svn.freebsd.org/changeset/base/218961 Log: Update how accounting log files are rotated. The old version had a race between the time that the old file was cp'ed to acct.0 and the time that 'sa -s' was run that prevented the commands that occurred in the meantime from being backed up. It's also arguable that the old version was inefficient in using cp which can be a problem on a space-constrained system. This version avoids both problems, albeit it's considerably more complicated. The advantage of putting the log rotation in the rc.d script is that it can handle the _enable and _file questions without having to do gymnastics to discover either value in the periodic script. As a side effect of reviewing the rc.d script I cleaned it up a bit. Modified: head/etc/periodic/daily/310.accounting head/etc/rc.d/accounting Modified: head/etc/periodic/daily/310.accounting ============================================================================== --- head/etc/periodic/daily/310.accounting Tue Feb 22 19:37:12 2011 (r218960) +++ head/etc/periodic/daily/310.accounting Tue Feb 22 21:13:40 2011 (r218961) @@ -41,13 +41,16 @@ case "$daily_accounting_enable" in m=$n n=$(($n - 1)) done - cp -pf acct acct.0 || rc=3 - sa -s $daily_accounting_flags || rc=3 + + /etc/rc.d/accounting rotate_log || rc=3 case "$daily_accounting_compress" in [Yy][Ee][Ss]) - gzip -f acct.0 || rc=3;; + gzip --keep -f acct.0 || rc=3;; esac + + sa -s $daily_accounting_flags /var/account/acct.0 && + unlink acct.0 || rc=3 fi;; *) rc=0;; Modified: head/etc/rc.d/accounting ============================================================================== --- head/etc/rc.d/accounting Tue Feb 22 19:37:12 2011 (r218960) +++ head/etc/rc.d/accounting Tue Feb 22 21:13:40 2011 (r218961) @@ -14,28 +14,31 @@ name="accounting" rcvar=`set_rcvar` accounting_command="/usr/sbin/accton" accounting_file="/var/account/acct" + +extra_commands="rotate_log" + start_cmd="accounting_start" stop_cmd="accounting_stop" +rotate_log_cmd="accounting_rotate_log" accounting_start() { local _dir - _dir=`dirname "$accounting_file"` - if [ ! -d `dirname "$_dir"` ]; then + _dir="${accounting_file%/*}" + if [ ! -d "$_dir" ]; then if ! mkdir -p "$_dir"; then - warn "Could not create $_dir." - return 1 + err 1 "Could not create $_dir." fi fi + if [ ! -e "$accounting_file" ]; then + echo -n "Creating accounting file ${accounting_file}" touch "$accounting_file" + echo '.' fi + chmod 644 "$accounting_file" - if [ ! -f ${accounting_file} ]; then - echo "Creating accounting file ${accounting_file}" - ( umask 022 ; > ${accounting_file} ) - fi echo "Turning on accounting." ${accounting_command} ${accounting_file} } @@ -46,5 +49,26 @@ accounting_stop() ${accounting_command} } +accounting_rotate_log() +{ + local _dir _file + + _dir="${accounting_file%/*}" + cd $_dir + + if checkyesno accounting_enable; then + _file=`mktemp newacct-XXXXX` + ${accounting_command} ${_dir}/${_file} + fi + + mv ${accounting_file} ${accounting_file}.0 + + if checkyesno accounting_enable; then + ln $_file ${accounting_file##*/} + ${accounting_command} ${accounting_file} + unlink $_file + fi +} + load_rc_config $name run_rc_command "$1" From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 21:21:47 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE1F6106564A; Tue, 22 Feb 2011 21:21:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 4A2FB8FC14; Tue, 22 Feb 2011 21:21:46 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p1MLLhem032298 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Feb 2011 23:21:43 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p1MLLh5T062542; Tue, 22 Feb 2011 23:21:43 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p1MLLhuF062541; Tue, 22 Feb 2011 23:21:43 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 22 Feb 2011 23:21:43 +0200 From: Kostik Belousov To: Josh Paetzel Message-ID: <20110222212143.GE78089@deviant.kiev.zoral.com.ua> References: <201102221918.p1MJIukV018893@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ys1XzWHRwUoZRcaf" Content-Disposition: inline In-Reply-To: <201102221918.p1MJIukV018893@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218959 - head/usr.sbin/pc-sysinstall/backend-query X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 21:21:48 -0000 --ys1XzWHRwUoZRcaf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 22, 2011 at 07:18:56PM +0000, Josh Paetzel wrote: > Author: jpaetzel > Date: Tue Feb 22 19:18:56 2011 > New Revision: 218959 > URL: http://svn.freebsd.org/changeset/base/218959 >=20 > Log: > Better method for grabbing disk name, dmesg may produce mangled output. > =20 > Approved by: kib (mentor, implicit) >=20 > Modified: > head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh >=20 > Modified: head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh Tue Feb 22 19:= 05:42 2011 (r218958) > +++ head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh Tue Feb 22 19:= 18:56 2011 (r218959) > @@ -74,7 +74,7 @@ do > fi > =20 > # Check the dmesg output for some more info about this device Shouldn't the comment be updated ? > - NEWLINE=3D$(dmesg | sed -n "s/^$DEV: .*<\(.*\)>.*$/ <\1>/p" | head -n = 1) > + NEWLINE=3D$(camcontrol identify $DEV | grep "device model" | tr -s ' '= | sed 's |device model ||g') > if [ -z "$NEWLINE" ]; then > NEWLINE=3D" " > fi --ys1XzWHRwUoZRcaf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk1kKOcACgkQC3+MBN1Mb4iHlACg4YCP2uWYkixh8S9tuwqK3rY+ nbYAoKlpuht0mekRtlgOiLEG8ulixev/ =SWa4 -----END PGP SIGNATURE----- --ys1XzWHRwUoZRcaf-- From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 21:23:10 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD1E8106566C; Tue, 22 Feb 2011 21:23:10 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 46DB28FC15; Tue, 22 Feb 2011 21:23:10 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p1MLN6tb032443 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Feb 2011 23:23:06 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p1MLN6EZ062566; Tue, 22 Feb 2011 23:23:06 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p1MLN6F6062565; Tue, 22 Feb 2011 23:23:06 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 22 Feb 2011 23:23:06 +0200 From: Kostik Belousov To: Josh Paetzel Message-ID: <20110222212306.GF78089@deviant.kiev.zoral.com.ua> References: <201102221937.p1MJbChP019328@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oKa17j5kv2cZTeM9" Content-Disposition: inline In-Reply-To: <201102221937.p1MJbChP019328@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218960 - head/usr.sbin/pc-sysinstall/backend X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 21:23:11 -0000 --oKa17j5kv2cZTeM9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 22, 2011 at 07:37:12PM +0000, Josh Paetzel wrote: > Author: jpaetzel > Date: Tue Feb 22 19:37:12 2011 > New Revision: 218960 > URL: http://svn.freebsd.org/changeset/base/218960 >=20 > Log: > Added patch-functions-upgrade which should fix some kernel panics > doing upgrades and uninstalling linux compat ports. This is probably wrong way to fix kernel panics. Did you show the panics with backtrace to anybody on emulation@ ? > =20 > Submitted by: Joerg-Christian Boehme > Approved by: kib (mentor, implicit) >=20 > Modified: > head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh >=20 > Modified: head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh Tue Feb 22 1= 9:18:56 2011 (r218959) > +++ head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh Tue Feb 22 1= 9:37:12 2011 (r218960) > @@ -58,7 +58,7 @@ mount_target_slice() > zfs mount -a > =20 > # Mount all the fstab goodies on disk > - chroot ${FSMNT} /sbin/mount -a >>${LOGOUT} 2>>${LOGOUT} > + chroot ${FSMNT} /sbin/mount -a -t nolinprocfs >>${LOGOUT} 2>>${LOGOUT There is a typo/syntax error at the very end of the line. > chroot ${FSMNT} umount /proc >/dev/null 2>/dev/null=20 > chroot ${FSMNT} umount /compat/linux/proc >/dev/null 2>/dev/null > =20 > @@ -79,7 +79,7 @@ mount_target_slice() > if [ "$INSTALLTYPE" !=3D "FreeBSD" ] > then > echo_log "Removing old packages, this may take a while... Please wai= t..." > - echo '#/bin/sh > + echo '#!/bin/sh > for i in `pkg_info -E \*` > do > echo "Uninstalling package: ${i}" --oKa17j5kv2cZTeM9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk1kKToACgkQC3+MBN1Mb4gF4wCfXXyLd9oMprNSwwq26MLZy3sh zQwAoJm4fXNlkro0+BvJebKivUg6qj3x =0fGW -----END PGP SIGNATURE----- --oKa17j5kv2cZTeM9-- From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 21:24:37 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47BBC106566C; Tue, 22 Feb 2011 21:24:37 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 350A88FC15; Tue, 22 Feb 2011 21:24:37 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MLObhN021883; Tue, 22 Feb 2011 21:24:37 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MLOb14021881; Tue, 22 Feb 2011 21:24:37 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102222124.p1MLOb14021881@svn.freebsd.org> From: Pyun YongHyeon Date: Tue, 22 Feb 2011 21:24:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218962 - stable/8/sys/dev/fxp X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 21:24:37 -0000 Author: yongari Date: Tue Feb 22 21:24:36 2011 New Revision: 218962 URL: http://svn.freebsd.org/changeset/base/218962 Log: MFC r218710: Fix a regression introduced in r215906. The change made in r215906 caused link re-negotiation whenever application joins or leaves a multicast group. If driver is running, it would have established a link so there is no need to start re-negotiation. The re-negotiation broke established link which in turn stopped multicast application working while re-negotiation is in progress. PR: kern/154667 Modified: stable/8/sys/dev/fxp/if_fxp.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/dev/fxp/if_fxp.c ============================================================================== --- stable/8/sys/dev/fxp/if_fxp.c Tue Feb 22 21:13:40 2011 (r218961) +++ stable/8/sys/dev/fxp/if_fxp.c Tue Feb 22 21:24:36 2011 (r218962) @@ -2823,8 +2823,10 @@ fxp_ioctl(struct ifnet *ifp, u_long comm case SIOCADDMULTI: case SIOCDELMULTI: + FXP_LOCK(sc); if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) - fxp_init(sc); + fxp_init_body(sc, 0); + FXP_UNLOCK(sc); break; case SIOCSIFMEDIA: From owner-svn-src-all@FreeBSD.ORG Tue Feb 22 21:27:46 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF20B1065675; Tue, 22 Feb 2011 21:27:46 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9CA1B8FC0A; Tue, 22 Feb 2011 21:27:46 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1MLRkBu021988; Tue, 22 Feb 2011 21:27:46 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1MLRk2Z021986; Tue, 22 Feb 2011 21:27:46 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102222127.p1MLRk2Z021986@svn.freebsd.org> From: Pyun YongHyeon Date: Tue, 22 Feb 2011 21:27:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218963 - stable/7/sys/dev/fxp X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 21:27:46 -0000 Author: yongari Date: Tue Feb 22 21:27:46 2011 New Revision: 218963 URL: http://svn.freebsd.org/changeset/base/218963 Log: MFC r218710: Fix a regression introduced in r215906. The change made in r215906 caused link re-negotiation whenever application joins or leaves a multicast group. If driver is running, it would have established a link so there is no need to start re-negotiation. The re-negotiation broke established link which in turn stopped multicast application working while re-negotiation is in progress. PR: kern/154667 Modified: stable/7/sys/dev/fxp/if_fxp.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/fxp/if_fxp.c ============================================================================== --- stable/7/sys/dev/fxp/if_fxp.c Tue Feb 22 21:24:36 2011 (r218962) +++ stable/7/sys/dev/fxp/if_fxp.c Tue Feb 22 21:27:46 2011 (r218963) @@ -2816,8 +2816,10 @@ fxp_ioctl(struct ifnet *ifp, u_long comm case SIOCADDMULTI: case SIOCDELMULTI: + FXP_LOCK(sc); if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) - fxp_init(sc); + fxp_init_body(sc, 0); + FXP_UNLOCK(sc); break; case SIOCSIFMEDIA: From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 01:25:09 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 280A7106566B; Wed, 23 Feb 2011 01:25:09 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id ABDA88FC13; Wed, 23 Feb 2011 01:25:08 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 2CBC841C710; Wed, 23 Feb 2011 02:25:07 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id DfkS2-7SsEQy; Wed, 23 Feb 2011 02:25:06 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id E8BD741C735; Wed, 23 Feb 2011 02:25:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 2D8294448F3; Wed, 23 Feb 2011 01:23:50 +0000 (UTC) Date: Wed, 23 Feb 2011 01:23:50 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Josh Paetzel In-Reply-To: <201102221918.p1MJIukV018893@svn.freebsd.org> Message-ID: <20110223011759.W13400@maildrop.int.zabbadoz.net> References: <201102221918.p1MJIukV018893@svn.freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218959 - head/usr.sbin/pc-sysinstall/backend-query X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 01:25:09 -0000 On Tue, 22 Feb 2011, Josh Paetzel wrote: > Author: jpaetzel > Date: Tue Feb 22 19:18:56 2011 > New Revision: 218959 > URL: http://svn.freebsd.org/changeset/base/218959 > > Log: > Better method for grabbing disk name, dmesg may produce mangled output. > > Approved by: kib (mentor, implicit) > > Modified: > head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh > > Modified: head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh > ============================================================================== > --- head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh Tue Feb 22 19:05:42 2011 (r218958) > +++ head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh Tue Feb 22 19:18:56 2011 (r218959) > @@ -74,7 +74,7 @@ do > fi > > # Check the dmesg output for some more info about this device > - NEWLINE=$(dmesg | sed -n "s/^$DEV: .*<\(.*\)>.*$/ <\1>/p" | head -n 1) > + NEWLINE=$(camcontrol identify $DEV | grep "device model" | tr -s ' ' | sed 's |device model ||g') Sure sed works if there is a blank between s and the delimiter? May I suggest nothing shorter but two pipes less, though not exactly the same with regard to whitespace stripping in and after the device name but that could be fixed easily as well. camcontrol identify $DEV | awk '/device model/ { gsub("device model[[:space:]]*", ""); print; }' I am sure it can still be done way more clever but ... > if [ -z "$NEWLINE" ]; then > NEWLINE=" " > fi > -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family. From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 02:40:31 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC4C9106566C; Wed, 23 Feb 2011 02:40:31 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A110A8FC15; Wed, 23 Feb 2011 02:40:31 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1N2eV1l028944; Wed, 23 Feb 2011 02:40:31 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1N2eVUB028942; Wed, 23 Feb 2011 02:40:31 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201102230240.p1N2eVUB028942@svn.freebsd.org> From: Pyun YongHyeon Date: Wed, 23 Feb 2011 02:40:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218964 - head/sys/dev/dc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 02:40:31 -0000 Author: yongari Date: Wed Feb 23 02:40:31 2011 New Revision: 218964 URL: http://svn.freebsd.org/changeset/base/218964 Log: Remove unnecessary controller reinitialization which resulted in link flips during alias address insertion or dhclient operation. While I'm here remove dc_reset() in DC_ISR_BUS_ERR case. Device is fully reinitialized again in dc_init_locked(). Modified: head/sys/dev/dc/if_dc.c Modified: head/sys/dev/dc/if_dc.c ============================================================================== --- head/sys/dev/dc/if_dc.c Tue Feb 22 21:27:46 2011 (r218963) +++ head/sys/dev/dc/if_dc.c Wed Feb 23 02:40:31 2011 (r218964) @@ -2894,6 +2894,7 @@ dc_rxeof(struct dc_softc *sc) if (rxstat & DC_RXSTAT_CRCERR) continue; else { + ifp->if_drv_flags &= ~IFF_DRV_RUNNING; dc_init_locked(sc); return (rx_npkts); } @@ -3032,6 +3033,7 @@ dc_txeof(struct dc_softc *sc) if (txstat & DC_TXSTAT_LATECOLL) ifp->if_collisions++; if (!(txstat & DC_TXSTAT_UNDERRUN)) { + ifp->if_drv_flags &= ~IFF_DRV_RUNNING; dc_init_locked(sc); return; } @@ -3143,8 +3145,10 @@ dc_tx_underrun(struct dc_softc *sc) uint32_t isr; int i; - if (DC_IS_DAVICOM(sc)) + if (DC_IS_DAVICOM(sc)) { + sc->dc_ifp->if_drv_flags &= ~IFF_DRV_RUNNING; dc_init_locked(sc); + } if (DC_IS_INTEL(sc)) { /* @@ -3164,6 +3168,7 @@ dc_tx_underrun(struct dc_softc *sc) device_printf(sc->dc_dev, "%s: failed to force tx to idle state\n", __func__); + sc->dc_ifp->if_drv_flags &= ~IFF_DRV_RUNNING; dc_init_locked(sc); } } @@ -3236,7 +3241,7 @@ dc_poll(struct ifnet *ifp, enum poll_cmd if (status & DC_ISR_BUS_ERR) { if_printf(ifp, "%s: bus error\n", __func__); - dc_reset(sc); + ifp->if_drv_flags &= ~IFF_DRV_RUNNING; dc_init_locked(sc); } } @@ -3319,7 +3324,7 @@ dc_intr(void *arg) dc_start_locked(ifp); if (status & DC_ISR_BUS_ERR) { - dc_reset(sc); + ifp->if_drv_flags &= ~IFF_DRV_RUNNING; dc_init_locked(sc); DC_UNLOCK(sc); return; @@ -3565,6 +3570,9 @@ dc_init_locked(struct dc_softc *sc) DC_LOCK_ASSERT(sc); + if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) + return; + mii = device_get_softc(sc->dc_miibus); /* @@ -3818,6 +3826,7 @@ dc_ioctl(struct ifnet *ifp, u_long comma dc_setfilt(sc); } else { sc->dc_txthresh = 0; + ifp->if_drv_flags &= ~IFF_DRV_RUNNING; dc_init_locked(sc); } } else { @@ -3890,8 +3899,7 @@ dc_watchdog(void *xsc) ifp->if_oerrors++; device_printf(sc->dc_dev, "watchdog timeout\n"); - dc_stop(sc); - dc_reset(sc); + ifp->if_drv_flags &= ~IFF_DRV_RUNNING; dc_init_locked(sc); if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 07:32:44 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1937D1065670; Wed, 23 Feb 2011 07:32:44 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC078FC14; Wed, 23 Feb 2011 07:32:42 +0000 (UTC) Received: by fxm19 with SMTP id 19so4521640fxm.13 for ; Tue, 22 Feb 2011 23:32:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version:content-type; bh=S5df5Ym3pnY3a4eCzkxQrqQ/dwQTLH9XSSS/oqj+oaw=; b=vuEqX3sBp74zRwdHe6UV3tB4/TmZFkUL9qXwTrkvaryItZZl3eo8uxYdiVySPjmBHM guAQdIbXxhxmg0u2v94KlQ2O1GBkGALquX3HvhqjOho5IUs5ckZ+4SubWXtWvxjTKlKf 1gISUARyMvzH/e4nP9zssrrTg/WHM7xUVJ1Lo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=fpqOcapoQ5aOt+mNoE71T4MYwUziECCtWwrKzPDEk9AlaCJHW6mLGSeAt+qxOYhwjC L9qsa7uKUIERX/UzCVef7iqA5Rtf/31/g7HdxVTf8uqZxNkpSPzSnKAIB8tiNc7IpmdU Vi7ywC/gi5MoN2n4pdkEOeFbYEt43r6G7ggC8= Received: by 10.223.101.131 with SMTP id c3mr4615472fao.5.1298446362239; Tue, 22 Feb 2011 23:32:42 -0800 (PST) Received: from localhost ([94.27.39.186]) by mx.google.com with ESMTPS id r24sm2462102fax.27.2011.02.22.23.32.40 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Feb 2011 23:32:41 -0800 (PST) From: Mikolaj Golub To: "Bjoern A. Zeeb" Organization: TOA Ukraine References: <201102221918.p1MJIukV018893@svn.freebsd.org> <20110223011759.W13400@maildrop.int.zabbadoz.net> Date: Wed, 23 Feb 2011 09:32:37 +0200 In-Reply-To: <20110223011759.W13400@maildrop.int.zabbadoz.net> (Bjoern A. Zeeb's message of "Wed, 23 Feb 2011 01:23:50 +0000 (UTC)") Message-ID: <854o7vkxyi.fsf@in138.ua3> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Josh Paetzel , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218959 - head/usr.sbin/pc-sysinstall/backend-query X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 07:32:44 -0000 On Wed, 23 Feb 2011 01:23:50 +0000 (UTC) Bjoern A. Zeeb wrote: BAZ> On Tue, 22 Feb 2011, Josh Paetzel wrote: >> Author: jpaetzel >> Date: Tue Feb 22 19:18:56 2011 >> New Revision: 218959 >> URL: http://svn.freebsd.org/changeset/base/218959 >> >> Log: >> Better method for grabbing disk name, dmesg may produce mangled output. >> >> Approved by: kib (mentor, implicit) >> >> Modified: >> head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh >> >> Modified: head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh >> ============================================================================== >> --- head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh Tue Feb 22 19:05:42 2011 (r218958) >> +++ head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh Tue Feb 22 19:18:56 2011 (r218959) >> @@ -74,7 +74,7 @@ do >> fi >> >> # Check the dmesg output for some more info about this device >> - NEWLINE=$(dmesg | sed -n "s/^$DEV: .*<\(.*\)>.*$/ <\1>/p" | head -n 1) >> + NEWLINE=$(camcontrol identify $DEV | grep "device model" | tr -s ' ' | sed 's |device model ||g') BAZ> Sure sed works if there is a blank between s and the delimiter? BAZ> May I suggest nothing shorter but two pipes less, though not exactly BAZ> the same with regard to whitespace stripping in and after the device BAZ> name but that could be fixed easily as well. BAZ> camcontrol identify $DEV | awk '/device model/ { gsub("device model[[:space:]]*", ""); print; }' BAZ> I am sure it can still be done way more clever but ... what about this? :-) camcontrol identify $DEV | sed -ne 's/^device model *//p' -- Mikolaj Golub From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 09:22:33 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6596106566B; Wed, 23 Feb 2011 09:22:33 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 945538FC08; Wed, 23 Feb 2011 09:22:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1N9MXha040803; Wed, 23 Feb 2011 09:22:33 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1N9MXFK040794; Wed, 23 Feb 2011 09:22:33 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102230922.p1N9MXFK040794@svn.freebsd.org> From: Bruce Cran Date: Wed, 23 Feb 2011 09:22:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218965 - in head: sbin/growfs share/doc/papers/devfs share/doc/psd/23.rpc sys/fs/nullfs sys/libkern sys/net80211 sys/x86/isa usr.bin/tip/tip X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 09:22:33 -0000 Author: brucec Date: Wed Feb 23 09:22:33 2011 New Revision: 218965 URL: http://svn.freebsd.org/changeset/base/218965 Log: Fix typos - remove duplicate "is". PR: docs/154934 Submitted by: Eitan Adler MFC after: 3 days Modified: head/sbin/growfs/growfs.c head/share/doc/papers/devfs/paper.me head/share/doc/psd/23.rpc/rpc.prog.ms head/sys/fs/nullfs/null_vnops.c head/sys/libkern/jenkins.h head/sys/net80211/ieee80211_ageq.c head/sys/x86/isa/clock.c head/usr.bin/tip/tip/tip.h Modified: head/sbin/growfs/growfs.c ============================================================================== --- head/sbin/growfs/growfs.c Wed Feb 23 02:40:31 2011 (r218964) +++ head/sbin/growfs/growfs.c Wed Feb 23 09:22:33 2011 (r218965) @@ -646,7 +646,7 @@ cond_bl_upd(ufs2_daddr_t *block, struct /* * Copy the block back immediately. * - * XXX If src is is from an indirect block we have + * XXX If src is from an indirect block we have * to implement copy on write here in case of * active snapshots. */ Modified: head/share/doc/papers/devfs/paper.me ============================================================================== --- head/share/doc/papers/devfs/paper.me Wed Feb 23 02:40:31 2011 (r218964) +++ head/share/doc/papers/devfs/paper.me Wed Feb 23 09:22:33 2011 (r218965) @@ -779,7 +779,7 @@ The entry points to the device driver ar structure, removing the need for the devsw[] array and allowing device drivers to use separate entrypoints for various minor numbers. .lp -This is is very convenient for devices which have a ``control'' +This is very convenient for devices which have a ``control'' device for management and tuning. The control device, almost always have entirely separate open/close/ioctl implementations [MD.C]. .lp Modified: head/share/doc/psd/23.rpc/rpc.prog.ms ============================================================================== --- head/share/doc/psd/23.rpc/rpc.prog.ms Wed Feb 23 02:40:31 2011 (r218964) +++ head/share/doc/psd/23.rpc/rpc.prog.ms Wed Feb 23 09:22:33 2011 (r218965) @@ -71,7 +71,7 @@ manual page. .I "The Highest Layer:" .IX RPC "The Highest Layer" The highest layer is totally transparent to the operating system, -machine and network upon which is is run. It's probably best to +machine and network upon which is run. It's probably best to think of this level as a way of .I using RPC, rather than as Modified: head/sys/fs/nullfs/null_vnops.c ============================================================================== --- head/sys/fs/nullfs/null_vnops.c Wed Feb 23 02:40:31 2011 (r218964) +++ head/sys/fs/nullfs/null_vnops.c Wed Feb 23 09:22:33 2011 (r218965) @@ -672,7 +672,7 @@ null_unlock(struct vop_unlock_args *ap) * as soon as possible. * * Note, we can't release any resources nor remove vnode from hash before - * appropriate VXLOCK stuff is is done because other process can find this + * appropriate VXLOCK stuff is done because other process can find this * vnode in hash during inactivation and may be sitting in vget() and waiting * for null_inactive to unlock vnode. Thus we will do all those in VOP_RECLAIM. */ Modified: head/sys/libkern/jenkins.h ============================================================================== --- head/sys/libkern/jenkins.h Wed Feb 23 02:40:31 2011 (r218964) +++ head/sys/libkern/jenkins.h Wed Feb 23 09:22:33 2011 (r218965) @@ -16,7 +16,7 @@ the public domain. It has no warranty. You probably want to use hashlittle(). hashlittle() and hashbig() - hash byte arrays. hashlittle() is is faster than hashbig() on + hash byte arrays. hashlittle() is faster than hashbig() on little-endian machines. Intel and AMD are little-endian machines. On second thought, you probably want hashlittle2(), which is identical to hashlittle() except it returns two 32-bit hashes for the price of one. Modified: head/sys/net80211/ieee80211_ageq.c ============================================================================== --- head/sys/net80211/ieee80211_ageq.c Wed Feb 23 02:40:31 2011 (r218964) +++ head/sys/net80211/ieee80211_ageq.c Wed Feb 23 09:22:33 2011 (r218965) @@ -154,7 +154,7 @@ ieee80211_ageq_drain_node(struct ieee802 * deltas (in seconds) relative to the head so we can check * and/or adjust only the head of the list. If a frame's age * exceeds the time quanta then remove it. The list of removed - * frames is is returned to the caller joined by m_nextpkt. + * frames is returned to the caller joined by m_nextpkt. */ struct mbuf * ieee80211_ageq_age(struct ieee80211_ageq *aq, int quanta) Modified: head/sys/x86/isa/clock.c ============================================================================== --- head/sys/x86/isa/clock.c Wed Feb 23 02:40:31 2011 (r218964) +++ head/sys/x86/isa/clock.c Wed Feb 23 09:22:33 2011 (r218965) @@ -475,7 +475,7 @@ sysctl_machdep_i8254_freq(SYSCTL_HANDLER /* * Use `i8254' instead of `timer' in external names because `timer' - * is is too generic. Should use it everywhere. + * is too generic. Should use it everywhere. */ freq = i8254_freq; error = sysctl_handle_int(oidp, &freq, 0, req); Modified: head/usr.bin/tip/tip/tip.h ============================================================================== --- head/usr.bin/tip/tip/tip.h Wed Feb 23 02:40:31 2011 (r218964) +++ head/usr.bin/tip/tip/tip.h Wed Feb 23 09:22:33 2011 (r218965) @@ -259,7 +259,7 @@ int intflag; /* recognized interrupt */ int stoprompt; /* for interrupting a prompt session */ int timedout; /* ~> transfer timedout */ int cumode; /* simulating the "cu" program */ -int bits8; /* terminal is is 8-bit mode */ +int bits8; /* terminal is 8-bit mode */ #define STRIP_PAR (bits8 ? 0377 : 0177) char fname[PATH_MAX]; /* file name buffer for ~< */ From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 10:28:37 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD50F1065672; Wed, 23 Feb 2011 10:28:37 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A2B628FC14; Wed, 23 Feb 2011 10:28:37 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NASbMl045278; Wed, 23 Feb 2011 10:28:37 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NASbET045275; Wed, 23 Feb 2011 10:28:37 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102231028.p1NASbET045275@svn.freebsd.org> From: Bruce Cran Date: Wed, 23 Feb 2011 10:28:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218966 - head/sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 10:28:37 -0000 Author: brucec Date: Wed Feb 23 10:28:37 2011 New Revision: 218966 URL: http://svn.freebsd.org/changeset/base/218966 Log: Calculate and return the count in vmspace_swap_count as a vm_offset_t instead of an int to avoid overflow. While here, clean up some style(9) issues. PR: kern/152200 Reviewed by: kib MFC after: 2 weeks Modified: head/sys/vm/swap_pager.c head/sys/vm/vm_map.h Modified: head/sys/vm/swap_pager.c ============================================================================== --- head/sys/vm/swap_pager.c Wed Feb 23 09:22:33 2011 (r218965) +++ head/sys/vm/swap_pager.c Wed Feb 23 10:28:37 2011 (r218966) @@ -2420,23 +2420,24 @@ SYSCTL_NODE(_vm, OID_AUTO, swap_info, CT * if the VM object has any swap use at all the associated map entries * count for at least 1 swap page. */ -int +vm_offset_t vmspace_swap_count(struct vmspace *vmspace) { - vm_map_t map = &vmspace->vm_map; + vm_map_t map; vm_map_entry_t cur; - int count = 0; + vm_object_t object; + vm_offset_t count, n; - for (cur = map->header.next; cur != &map->header; cur = cur->next) { - vm_object_t object; + map = &vmspace->vm_map; + count = 0; + for (cur = map->header.next; cur != &map->header; cur = cur->next) { if ((cur->eflags & MAP_ENTRY_IS_SUB_MAP) == 0 && (object = cur->object.vm_object) != NULL) { VM_OBJECT_LOCK(object); if (object->type == OBJT_SWAP && object->un_pager.swp.swp_bcount != 0) { - int n = (cur->end - cur->start) / PAGE_SIZE; - + n = (cur->end - cur->start) / PAGE_SIZE; count += object->un_pager.swp.swp_bcount * SWAP_META_PAGES * n / object->size + 1; } Modified: head/sys/vm/vm_map.h ============================================================================== --- head/sys/vm/vm_map.h Wed Feb 23 09:22:33 2011 (r218965) +++ head/sys/vm/vm_map.h Wed Feb 23 10:28:37 2011 (r218966) @@ -380,6 +380,6 @@ int vm_map_unwire(vm_map_t map, vm_offse int flags); int vm_map_wire(vm_map_t map, vm_offset_t start, vm_offset_t end, int flags); -int vmspace_swap_count (struct vmspace *vmspace); +vm_offset_t vmspace_swap_count(struct vmspace *vmspace); #endif /* _KERNEL */ #endif /* _VM_MAP_ */ From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 12:56:25 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2B08106564A; Wed, 23 Feb 2011 12:56:25 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D1ECC8FC08; Wed, 23 Feb 2011 12:56:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NCuPCL056222; Wed, 23 Feb 2011 12:56:25 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NCuPHN056220; Wed, 23 Feb 2011 12:56:25 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201102231256.p1NCuPHN056220@svn.freebsd.org> From: John Baldwin Date: Wed, 23 Feb 2011 12:56:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218967 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 12:56:26 -0000 Author: jhb Date: Wed Feb 23 12:56:25 2011 New Revision: 218967 URL: http://svn.freebsd.org/changeset/base/218967 Log: Fix off-by-one error in check against max_threads_per_proc. Submitted by: arundel MFC after: 1 week Modified: head/sys/kern/kern_thr.c Modified: head/sys/kern/kern_thr.c ============================================================================== --- head/sys/kern/kern_thr.c Wed Feb 23 10:28:37 2011 (r218966) +++ head/sys/kern/kern_thr.c Wed Feb 23 12:56:25 2011 (r218967) @@ -153,7 +153,7 @@ create_thread(struct thread *td, mcontex p = td->td_proc; /* Have race condition but it is cheap. */ - if (p->p_numthreads >= max_threads_per_proc) { + if (p->p_numthreads > max_threads_per_proc) { ++max_threads_hits; return (EPROCLIM); } From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 12:57:49 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 7E186106566B; Wed, 23 Feb 2011 12:57:49 +0000 (UTC) Date: Wed, 23 Feb 2011 12:57:49 +0000 From: Alexander Best To: John Baldwin Message-ID: <20110223125749.GA54402@freebsd.org> References: <201102231256.p1NCuPHN056220@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201102231256.p1NCuPHN056220@svn.freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218967 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 12:57:49 -0000 On Wed Feb 23 11, John Baldwin wrote: > Author: jhb > Date: Wed Feb 23 12:56:25 2011 > New Revision: 218967 > URL: http://svn.freebsd.org/changeset/base/218967 > > Log: > Fix off-by-one error in check against max_threads_per_proc. thanks a lot. :) > > Submitted by: arundel > MFC after: 1 week > > Modified: > head/sys/kern/kern_thr.c > > Modified: head/sys/kern/kern_thr.c > ============================================================================== > --- head/sys/kern/kern_thr.c Wed Feb 23 10:28:37 2011 (r218966) > +++ head/sys/kern/kern_thr.c Wed Feb 23 12:56:25 2011 (r218967) > @@ -153,7 +153,7 @@ create_thread(struct thread *td, mcontex > p = td->td_proc; > > /* Have race condition but it is cheap. */ > - if (p->p_numthreads >= max_threads_per_proc) { > + if (p->p_numthreads > max_threads_per_proc) { > ++max_threads_hits; > return (EPROCLIM); > } -- a13x From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 12:58:51 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D9E1106566B; Wed, 23 Feb 2011 12:58:51 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0CD678FC19; Wed, 23 Feb 2011 12:58:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NCwoEn056715; Wed, 23 Feb 2011 12:58:50 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NCwooh056712; Wed, 23 Feb 2011 12:58:50 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201102231258.p1NCwooh056712@svn.freebsd.org> From: John Baldwin Date: Wed, 23 Feb 2011 12:58:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218968 - head/sys/dev/pci X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 12:58:51 -0000 Author: jhb Date: Wed Feb 23 12:58:50 2011 New Revision: 218968 URL: http://svn.freebsd.org/changeset/base/218968 Log: Properly handle BARs bigger than 4G. The '1' was treated as an int causing the size calculation to be truncated to the size of an int (32-bits on all current architectures). Submitted by: Anish akgupt3 of gmail MFC after: 1 week Modified: head/sys/dev/pci/pci.c Modified: head/sys/dev/pci/pci.c ============================================================================== --- head/sys/dev/pci/pci.c Wed Feb 23 12:56:25 2011 (r218967) +++ head/sys/dev/pci/pci.c Wed Feb 23 12:58:50 2011 (r218968) @@ -2549,13 +2549,13 @@ pci_add_map(device_t bus, device_t dev, return (barlen); } - count = 1 << mapsize; + count = (pci_addr_t)1 << mapsize; if (basezero || base == pci_mapbase(testval)) { start = 0; /* Let the parent decide. */ end = ~0ULL; } else { start = base; - end = base + (1 << mapsize) - 1; + end = base + count - 1; } resource_list_add(rl, type, reg, start, end, count); @@ -3764,7 +3764,7 @@ pci_reserve_map(device_t dev, device_t c * situation where we might allocate the excess to * another driver, which won't work. */ - count = 1UL << mapsize; + count = (pci_addr_t)1 << mapsize; if (RF_ALIGNMENT(flags) < mapsize) flags = (flags & ~RF_ALIGNMENT_MASK) | RF_ALIGNMENT_LOG2(mapsize); if (PCI_BAR_MEM(testval) && (testval & PCIM_BAR_MEM_PREFETCH)) From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 13:12:33 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4C6F106566B; Wed, 23 Feb 2011 13:12:33 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 3EC218FC12; Wed, 23 Feb 2011 13:12:32 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p1NDCSZp017313 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Feb 2011 15:12:28 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p1NDCS6X068473; Wed, 23 Feb 2011 15:12:28 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p1NDCSGb068472; Wed, 23 Feb 2011 15:12:28 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 23 Feb 2011 15:12:28 +0200 From: Kostik Belousov To: John Baldwin Message-ID: <20110223131228.GN78089@deviant.kiev.zoral.com.ua> References: <201102231256.p1NCuPHN056220@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pQC2pbIvkpPv3Ssp" Content-Disposition: inline In-Reply-To: <201102231256.p1NCuPHN056220@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218967 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 13:12:33 -0000 --pQC2pbIvkpPv3Ssp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 23, 2011 at 12:56:25PM +0000, John Baldwin wrote: > Author: jhb > Date: Wed Feb 23 12:56:25 2011 > New Revision: 218967 > URL: http://svn.freebsd.org/changeset/base/218967 >=20 > Log: > Fix off-by-one error in check against max_threads_per_proc. > =20 > Submitted by: arundel > MFC after: 1 week >=20 > Modified: > head/sys/kern/kern_thr.c >=20 > Modified: head/sys/kern/kern_thr.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/kern/kern_thr.c Wed Feb 23 10:28:37 2011 (r218966) > +++ head/sys/kern/kern_thr.c Wed Feb 23 12:56:25 2011 (r218967) > @@ -153,7 +153,7 @@ create_thread(struct thread *td, mcontex > p =3D td->td_proc; > =20 > /* Have race condition but it is cheap. */ > - if (p->p_numthreads >=3D max_threads_per_proc) { > + if (p->p_numthreads > max_threads_per_proc) { > ++max_threads_hits; > return (EPROCLIM); > } I do not think there was off by one error. The create_thread() function is called to create new thread, and before the process thread counter is incremented in thread_link(). The old test tried to not allow more then max_threads_per_proc threads in a process, now it allows to create max_threads_per_proc. My guess is that the reference to mentioned pthread_vfork_test failed because reporter set kern.threads.max_threads_per_proc to 100. The test actually tries to create 101 threads, 1 main + 100 new. --pQC2pbIvkpPv3Ssp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk1lB7wACgkQC3+MBN1Mb4gAwACgwgvZepbOdMdcFCp8oqPPGFx9 yTIAn39MTj+WGnO7LWPYqNKD+lbxFIQJ =ykZ5 -----END PGP SIGNATURE----- --pQC2pbIvkpPv3Ssp-- From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 13:19:14 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7047C10656A8; Wed, 23 Feb 2011 13:19:14 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5EE8C8FC12; Wed, 23 Feb 2011 13:19:14 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NDJEMB060640; Wed, 23 Feb 2011 13:19:14 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NDJEhQ060637; Wed, 23 Feb 2011 13:19:14 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201102231319.p1NDJEhQ060637@svn.freebsd.org> From: John Baldwin Date: Wed, 23 Feb 2011 13:19:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218969 - in head/sys: kern sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 13:19:14 -0000 Author: jhb Date: Wed Feb 23 13:19:14 2011 New Revision: 218969 URL: http://svn.freebsd.org/changeset/base/218969 Log: Expose the umtx_key structure and API to the rest of the kernel. MFC after: 3 days Modified: head/sys/kern/kern_umtx.c head/sys/sys/umtx.h Modified: head/sys/kern/kern_umtx.c ============================================================================== --- head/sys/kern/kern_umtx.c Wed Feb 23 12:58:50 2011 (r218968) +++ head/sys/kern/kern_umtx.c Wed Feb 23 13:19:14 2011 (r218969) @@ -59,41 +59,9 @@ __FBSDID("$FreeBSD$"); #include #endif -enum { - TYPE_SIMPLE_WAIT, - TYPE_CV, - TYPE_SEM, - TYPE_SIMPLE_LOCK, - TYPE_NORMAL_UMUTEX, - TYPE_PI_UMUTEX, - TYPE_PP_UMUTEX, - TYPE_RWLOCK -}; - #define _UMUTEX_TRY 1 #define _UMUTEX_WAIT 2 -/* Key to represent a unique userland synchronous object */ -struct umtx_key { - int hash; - int type; - int shared; - union { - struct { - vm_object_t object; - uintptr_t offset; - } shared; - struct { - struct vmspace *vs; - uintptr_t addr; - } private; - struct { - void *a; - uintptr_t b; - } both; - } info; -}; - /* Priority inheritance mutex info. */ struct umtx_pi { /* Owner thread */ @@ -208,10 +176,6 @@ struct umtxq_chain { #define UMTX_CHAINS 512 #define UMTX_SHIFTS (__WORD_BIT - 9) -#define THREAD_SHARE 0 -#define PROCESS_SHARE 1 -#define AUTO_SHARE 2 - #define GET_SHARE(flags) \ (((flags) & USYNC_PROCESS_SHARED) == 0 ? THREAD_SHARE : PROCESS_SHARE) @@ -237,10 +201,6 @@ static void umtxq_insert_queue(struct um static void umtxq_remove_queue(struct umtx_q *uq, int q); static int umtxq_sleep(struct umtx_q *uq, const char *wmesg, int timo); static int umtxq_count(struct umtx_key *key); -static int umtx_key_match(const struct umtx_key *k1, const struct umtx_key *k2); -static int umtx_key_get(void *addr, int type, int share, - struct umtx_key *key); -static void umtx_key_release(struct umtx_key *key); static struct umtx_pi *umtx_pi_alloc(int); static void umtx_pi_free(struct umtx_pi *pi); static int do_unlock_pp(struct thread *td, struct umutex *m, uint32_t flags); @@ -307,14 +267,6 @@ umtxq_hash(struct umtx_key *key) key->hash = ((n * GOLDEN_RATIO_PRIME) >> UMTX_SHIFTS) % UMTX_CHAINS; } -static inline int -umtx_key_match(const struct umtx_key *k1, const struct umtx_key *k2) -{ - return (k1->type == k2->type && - k1->info.both.a == k2->info.both.a && - k1->info.both.b == k2->info.both.b); -} - static inline struct umtxq_chain * umtxq_getchain(struct umtx_key *key) { @@ -567,7 +519,7 @@ umtxq_sleep(struct umtx_q *uq, const cha /* * Convert userspace address into unique logical address. */ -static int +int umtx_key_get(void *addr, int type, int share, struct umtx_key *key) { struct thread *td = curthread; @@ -613,7 +565,7 @@ umtx_key_get(void *addr, int type, int s /* * Release key. */ -static inline void +void umtx_key_release(struct umtx_key *key) { if (key->shared) Modified: head/sys/sys/umtx.h ============================================================================== --- head/sys/sys/umtx.h Wed Feb 23 12:58:50 2011 (r218968) +++ head/sys/sys/umtx.h Wed Feb 23 13:19:14 2011 (r218969) @@ -171,8 +171,59 @@ umtx_wake(u_long *p, int nr_wakeup) #else +/* + * The umtx_key structure is used by both the Linux futex code and the + * umtx implementation to map userland addresses to unique keys. + */ + +enum { + TYPE_SIMPLE_WAIT, + TYPE_CV, + TYPE_SEM, + TYPE_SIMPLE_LOCK, + TYPE_NORMAL_UMUTEX, + TYPE_PI_UMUTEX, + TYPE_PP_UMUTEX, + TYPE_RWLOCK, +}; + +/* Key to represent a unique userland synchronous object */ +struct umtx_key { + int hash; + int type; + int shared; + union { + struct { + struct vm_object *object; + uintptr_t offset; + } shared; + struct { + struct vmspace *vs; + uintptr_t addr; + } private; + struct { + void *a; + uintptr_t b; + } both; + } info; +}; + +#define THREAD_SHARE 0 +#define PROCESS_SHARE 1 +#define AUTO_SHARE 2 + struct thread; +static inline int +umtx_key_match(const struct umtx_key *k1, const struct umtx_key *k2) +{ + return (k1->type == k2->type && + k1->info.both.a == k2->info.both.a && + k1->info.both.b == k2->info.both.b); +} + +int umtx_key_get(void *, int, int, struct umtx_key *); +void umtx_key_release(struct umtx_key *); struct umtx_q *umtxq_alloc(void); void umtxq_free(struct umtx_q *); int kern_umtx_wake(struct thread *, void *, int, int); From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 13:23:28 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97E60106566C; Wed, 23 Feb 2011 13:23:28 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7AB3E8FC1F; Wed, 23 Feb 2011 13:23:28 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NDNShZ061528; Wed, 23 Feb 2011 13:23:28 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NDNSVH061525; Wed, 23 Feb 2011 13:23:28 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201102231323.p1NDNSVH061525@svn.freebsd.org> From: John Baldwin Date: Wed, 23 Feb 2011 13:23:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218970 - in head/sys: compat/linux sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 13:23:28 -0000 Author: jhb Date: Wed Feb 23 13:23:28 2011 New Revision: 218970 URL: http://svn.freebsd.org/changeset/base/218970 Log: Use umtx_key objects to uniquely identify futexes. Private futexes in different processes that happen to use the same user address in the separate processes will now be treated as distinct futexes rather than the same futex. We can now honor shared futexes properly by mapping them to a PROCESS_SHARED umtx_key. Private futexes use THREAD_SHARED umtx_key objects. In conjunction with: dchagin Reviewed by: kib MFC after: 1 week Modified: head/sys/compat/linux/linux_futex.c head/sys/sys/umtx.h Modified: head/sys/compat/linux/linux_futex.c ============================================================================== --- head/sys/compat/linux/linux_futex.c Wed Feb 23 13:19:14 2011 (r218969) +++ head/sys/compat/linux/linux_futex.c Wed Feb 23 13:23:28 2011 (r218970) @@ -52,6 +52,7 @@ __KERNEL_RCSID(1, "$NetBSD: linux_futex. #include #include #include +#include #ifdef COMPAT_LINUX32 #include @@ -77,7 +78,8 @@ struct waiting_proc { struct futex { struct sx f_lck; - uint32_t *f_uaddr; + uint32_t *f_uaddr; /* user-supplied value, for debug */ + struct umtx_key f_key; uint32_t f_refcount; uint32_t f_bitset; LIST_ENTRY(futex) f_list; @@ -100,6 +102,7 @@ struct mtx futex_mtx; /* protects the #define FUTEX_CREATE_WP 0x1 /* create waiting_proc */ #define FUTEX_DONTCREATE 0x2 /* don't create futex if not exists */ #define FUTEX_DONTEXISTS 0x4 /* return EINVAL if futex exists */ +#define FUTEX_SHARED 0x8 /* shared futex */ /* wp_flags */ #define FUTEX_WP_REQUEUED 0x1 /* wp requeued - wp moved from wp_list @@ -136,6 +139,7 @@ futex_put(struct futex *f, struct waitin LINUX_CTR2(sys_futex, "futex_put destroy uaddr %p ref %d", f->f_uaddr, f->f_refcount); + umtx_key_release(&f->f_key); FUTEX_DESTROY(f); free(f, M_FUTEX); return; @@ -151,13 +155,19 @@ static int futex_get0(uint32_t *uaddr, struct futex **newf, uint32_t flags) { struct futex *f, *tmpf; + struct umtx_key key; + int error; *newf = tmpf = NULL; + error = umtx_key_get(uaddr, TYPE_FUTEX, (flags & FUTEX_SHARED) ? + PROCESS_SHARE : THREAD_SHARE, &key); + if (error) + return (error); retry: FUTEXES_LOCK; LIST_FOREACH(f, &futex_list, f_list) { - if (f->f_uaddr == uaddr) { + if (umtx_key_match(&f->f_key, &key)) { if (tmpf != NULL) { FUTEX_UNLOCK(tmpf); FUTEX_DESTROY(tmpf); @@ -165,6 +175,7 @@ retry: } if (flags & FUTEX_DONTEXISTS) { FUTEXES_UNLOCK; + umtx_key_release(&key); return (EINVAL); } @@ -174,6 +185,7 @@ retry: */ ++f->f_refcount; FUTEXES_UNLOCK; + umtx_key_release(&key); FUTEX_LOCK(f); *newf = f; @@ -185,6 +197,7 @@ retry: if (flags & FUTEX_DONTCREATE) { FUTEXES_UNLOCK; + umtx_key_release(&key); LINUX_CTR1(sys_futex, "futex_get uaddr %p null", uaddr); return (0); } @@ -193,6 +206,7 @@ retry: FUTEXES_UNLOCK; tmpf = malloc(sizeof(*tmpf), M_FUTEX, M_WAITOK | M_ZERO); tmpf->f_uaddr = uaddr; + tmpf->f_key = key; tmpf->f_refcount = 1; tmpf->f_bitset = FUTEX_BITSET_MATCH_ANY; FUTEX_INIT(tmpf); @@ -438,15 +452,13 @@ linux_sys_futex(struct thread *td, struc struct waiting_proc *wp; struct futex *f, *f2; int error; + uint32_t flags; - /* - * Our implementation provides only privates futexes. Most of the apps - * should use private futexes but don't claim so. Therefore we treat - * all futexes as private by clearing the FUTEX_PRIVATE_FLAG. It works - * in most cases (ie. when futexes are not shared on file descriptor - * or between different processes.). - */ - args->op = args->op & ~LINUX_FUTEX_PRIVATE_FLAG; + if (args->op & LINUX_FUTEX_PRIVATE_FLAG) { + flags = 0; + args->op &= ~LINUX_FUTEX_PRIVATE_FLAG; + } else + flags = FUTEX_SHARED; /* * Currently support for switching between CLOCK_MONOTONIC and @@ -478,7 +490,8 @@ linux_sys_futex(struct thread *td, struc "futex_wait uaddr %p val %d val3 %d"), args->uaddr, args->val, args->val3); #endif - error = futex_get(args->uaddr, &wp, &f, FUTEX_CREATE_WP); + error = futex_get(args->uaddr, &wp, &f, + flags | FUTEX_CREATE_WP); if (error) return (error); error = copyin(args->uaddr, &val, sizeof(val)); @@ -518,7 +531,8 @@ linux_sys_futex(struct thread *td, struc printf(ARGS(sys_futex, "futex_wake uaddr %p val %d val3 %d"), args->uaddr, args->val, args->val3); #endif - error = futex_get(args->uaddr, NULL, &f, FUTEX_DONTCREATE); + error = futex_get(args->uaddr, NULL, &f, + flags | FUTEX_DONTCREATE); if (error) return (error); if (f == NULL) { @@ -550,7 +564,7 @@ linux_sys_futex(struct thread *td, struc */ if (args->uaddr == args->uaddr2) return (EINVAL); - error = futex_get0(args->uaddr, &f, 0); + error = futex_get(args->uaddr, NULL, &f, flags); if (error) return (error); @@ -561,7 +575,8 @@ linux_sys_futex(struct thread *td, struc * Glibc fall back to FUTEX_WAKE in case of any error * returned by FUTEX_CMP_REQUEUE. */ - error = futex_get0(args->uaddr2, &f2, FUTEX_DONTEXISTS); + error = futex_get(args->uaddr2, NULL, &f2, + flags | FUTEX_DONTEXISTS); if (error) { futex_put(f, NULL); return (error); @@ -602,11 +617,11 @@ linux_sys_futex(struct thread *td, struc args->uaddr, args->op, args->val, args->uaddr2, args->val3); #endif - error = futex_get0(args->uaddr, &f, 0); + error = futex_get(args->uaddr, NULL, &f, flags); if (error) return (error); if (args->uaddr != args->uaddr2) - error = futex_get0(args->uaddr2, &f2, 0); + error = futex_get(args->uaddr2, NULL, &f2, flags); if (error) { futex_put(f, NULL); return (error); @@ -800,7 +815,7 @@ retry: if (!pi && (uval & FUTEX_WAITERS)) { error = futex_get(uaddr, NULL, &f, - FUTEX_DONTCREATE); + FUTEX_DONTCREATE | FUTEX_SHARED); if (error) return (error); if (f != NULL) { Modified: head/sys/sys/umtx.h ============================================================================== --- head/sys/sys/umtx.h Wed Feb 23 13:19:14 2011 (r218969) +++ head/sys/sys/umtx.h Wed Feb 23 13:23:28 2011 (r218970) @@ -185,6 +185,7 @@ enum { TYPE_PI_UMUTEX, TYPE_PP_UMUTEX, TYPE_RWLOCK, + TYPE_FUTEX }; /* Key to represent a unique userland synchronous object */ From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 13:25:42 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBE821065672; Wed, 23 Feb 2011 13:25:42 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AAFC38FC21; Wed, 23 Feb 2011 13:25:42 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NDPg1l062116; Wed, 23 Feb 2011 13:25:42 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NDPgXp062114; Wed, 23 Feb 2011 13:25:42 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201102231325.p1NDPgXp062114@svn.freebsd.org> From: John Baldwin Date: Wed, 23 Feb 2011 13:25:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218971 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 13:25:42 -0000 Author: jhb Date: Wed Feb 23 13:25:42 2011 New Revision: 218971 URL: http://svn.freebsd.org/changeset/base/218971 Log: Revert previous change, the existing check was correct. Pointy hat to: jhb Modified: head/sys/kern/kern_thr.c Modified: head/sys/kern/kern_thr.c ============================================================================== --- head/sys/kern/kern_thr.c Wed Feb 23 13:23:28 2011 (r218970) +++ head/sys/kern/kern_thr.c Wed Feb 23 13:25:42 2011 (r218971) @@ -153,7 +153,7 @@ create_thread(struct thread *td, mcontex p = td->td_proc; /* Have race condition but it is cheap. */ - if (p->p_numthreads > max_threads_per_proc) { + if (p->p_numthreads >= max_threads_per_proc) { ++max_threads_hits; return (EPROCLIM); } From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 13:34:56 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DA751065672; Wed, 23 Feb 2011 13:34:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id D486C8FC08; Wed, 23 Feb 2011 13:34:55 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 8B4F746B0C; Wed, 23 Feb 2011 08:34:55 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.10]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id A58BF8A009; Wed, 23 Feb 2011 08:34:54 -0500 (EST) From: John Baldwin To: Kostik Belousov Date: Wed, 23 Feb 2011 08:24:43 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.4-CBSD-20110107; KDE/4.4.5; amd64; ; ) References: <201102231256.p1NCuPHN056220@svn.freebsd.org> <20110223131228.GN78089@deviant.kiev.zoral.com.ua> In-Reply-To: <20110223131228.GN78089@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201102230824.43548.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Wed, 23 Feb 2011 08:34:54 -0500 (EST) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=0.5 required=4.2 tests=BAYES_00,MAY_BE_FORGED, RDNS_DYNAMIC autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bigwig.baldwin.cx Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218967 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 13:34:56 -0000 On Wednesday, February 23, 2011 8:12:28 am Kostik Belousov wrote: > On Wed, Feb 23, 2011 at 12:56:25PM +0000, John Baldwin wrote: > > Author: jhb > > Date: Wed Feb 23 12:56:25 2011 > > New Revision: 218967 > > URL: http://svn.freebsd.org/changeset/base/218967 > > > > Log: > > Fix off-by-one error in check against max_threads_per_proc. > > > > Submitted by: arundel > > MFC after: 1 week > > > > Modified: > > head/sys/kern/kern_thr.c > > > > Modified: head/sys/kern/kern_thr.c > > ============================================================================== > > --- head/sys/kern/kern_thr.c Wed Feb 23 10:28:37 2011 (r218966) > > +++ head/sys/kern/kern_thr.c Wed Feb 23 12:56:25 2011 (r218967) > > @@ -153,7 +153,7 @@ create_thread(struct thread *td, mcontex > > p = td->td_proc; > > > > /* Have race condition but it is cheap. */ > > - if (p->p_numthreads >= max_threads_per_proc) { > > + if (p->p_numthreads > max_threads_per_proc) { > > ++max_threads_hits; > > return (EPROCLIM); > > } > > I do not think there was off by one error. The create_thread() function > is called to create new thread, and before the process thread counter > is incremented in thread_link(). The old test tried to not allow more > then max_threads_per_proc threads in a process, now it allows to > create max_threads_per_proc. > > My guess is that the reference to mentioned pthread_vfork_test failed > because reporter set kern.threads.max_threads_per_proc to 100. The > test actually tries to create 101 threads, 1 main + 100 new. Ugh, pointy hat to me for jumping on this too quickly. I will revert. -- John Baldwin From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 13:50:25 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C110106566C; Wed, 23 Feb 2011 13:50:25 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 305508FC13; Wed, 23 Feb 2011 13:50:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NDoPlG069545; Wed, 23 Feb 2011 13:50:25 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NDoPO1069542; Wed, 23 Feb 2011 13:50:25 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201102231350.p1NDoPO1069542@svn.freebsd.org> From: Konstantin Belousov Date: Wed, 23 Feb 2011 13:50:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218972 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 13:50:25 -0000 Author: kib Date: Wed Feb 23 13:50:24 2011 New Revision: 218972 URL: http://svn.freebsd.org/changeset/base/218972 Log: Move the max_threads_per_proc and max_threads_hits variables to the file where they are used. Declare the kern.threads sysctl node at the same location. Since no external use for the variables exists, make them static. Discussed with: dchagin MFC after: 1 week Modified: head/sys/kern/kern_thr.c head/sys/kern/kern_thread.c Modified: head/sys/kern/kern_thr.c ============================================================================== --- head/sys/kern/kern_thr.c Wed Feb 23 13:25:42 2011 (r218971) +++ head/sys/kern/kern_thr.c Wed Feb 23 13:50:24 2011 (r218972) @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -56,6 +57,16 @@ __FBSDID("$FreeBSD$"); #include +SYSCTL_NODE(_kern, OID_AUTO, threads, CTLFLAG_RW, 0, "thread allocation"); + +static int max_threads_per_proc = 1500; +SYSCTL_INT(_kern_threads, OID_AUTO, max_threads_per_proc, CTLFLAG_RW, + &max_threads_per_proc, 0, "Limit on threads per proc"); + +static int max_threads_hits; +SYSCTL_INT(_kern_threads, OID_AUTO, max_threads_hits, CTLFLAG_RD, + &max_threads_hits, 0, ""); + #ifdef COMPAT_FREEBSD32 static inline int @@ -74,9 +85,6 @@ suword_lwpid(void *addr, lwpid_t lwpid) #define suword_lwpid suword #endif -extern int max_threads_per_proc; -extern int max_threads_hits; - static int create_thread(struct thread *td, mcontext_t *ctx, void (*start_func)(void *), void *arg, char *stack_base, size_t stack_size, Modified: head/sys/kern/kern_thread.c ============================================================================== --- head/sys/kern/kern_thread.c Wed Feb 23 13:25:42 2011 (r218971) +++ head/sys/kern/kern_thread.c Wed Feb 23 13:50:24 2011 (r218972) @@ -65,16 +65,6 @@ __FBSDID("$FreeBSD$"); */ static uma_zone_t thread_zone; -SYSCTL_NODE(_kern, OID_AUTO, threads, CTLFLAG_RW, 0, "thread allocation"); - -int max_threads_per_proc = 1500; -SYSCTL_INT(_kern_threads, OID_AUTO, max_threads_per_proc, CTLFLAG_RW, - &max_threads_per_proc, 0, "Limit on threads per proc"); - -int max_threads_hits; -SYSCTL_INT(_kern_threads, OID_AUTO, max_threads_hits, CTLFLAG_RD, - &max_threads_hits, 0, ""); - TAILQ_HEAD(, thread) zombie_threads = TAILQ_HEAD_INITIALIZER(zombie_threads); static struct mtx zombie_lock; MTX_SYSINIT(zombie_lock, &zombie_lock, "zombie lock", MTX_SPIN); From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 13:51:42 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E8251065672; Wed, 23 Feb 2011 13:51:42 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1CEB98FC17; Wed, 23 Feb 2011 13:51:42 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NDpgo1069954; Wed, 23 Feb 2011 13:51:42 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NDpfrF069951; Wed, 23 Feb 2011 13:51:41 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201102231351.p1NDpfrF069951@svn.freebsd.org> From: Nathan Whitehorn Date: Wed, 23 Feb 2011 13:51:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218973 - head/usr.sbin/bsdinstall/partedit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 13:51:42 -0000 Author: nwhitehorn Date: Wed Feb 23 13:51:41 2011 New Revision: 218973 URL: http://svn.freebsd.org/changeset/base/218973 Log: Add a catch-all for miscellaneous RAID volumes while seeking a better solution here. It would really help if CAM devices were part of newbus. Modified: head/usr.sbin/bsdinstall/partedit/part_wizard.c Modified: head/usr.sbin/bsdinstall/partedit/part_wizard.c ============================================================================== --- head/usr.sbin/bsdinstall/partedit/part_wizard.c Wed Feb 23 13:50:24 2011 (r218972) +++ head/usr.sbin/bsdinstall/partedit/part_wizard.c Wed Feb 23 13:51:41 2011 (r218973) @@ -127,7 +127,8 @@ boot_disk(struct gmesh *mesh) else if (strncmp(pp->lg_name, "cd", 2) == 0) { n--; continue; - } + } else + strcat(diskdesc, " Hard Disk"); disks[n-1].text = strdup(diskdesc); disks[n-1].help = NULL; disks[n-1].state = 0; From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 13:57:34 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id D1A7E106564A; Wed, 23 Feb 2011 13:57:34 +0000 (UTC) Date: Wed, 23 Feb 2011 13:57:34 +0000 From: Alexander Best To: Kostik Belousov Message-ID: <20110223135734.GA62693@freebsd.org> References: <201102231256.p1NCuPHN056220@svn.freebsd.org> <20110223131228.GN78089@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110223131228.GN78089@deviant.kiev.zoral.com.ua> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, John Baldwin Subject: Re: svn commit: r218967 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 13:57:34 -0000 On Wed Feb 23 11, Kostik Belousov wrote: > On Wed, Feb 23, 2011 at 12:56:25PM +0000, John Baldwin wrote: > > Author: jhb > > Date: Wed Feb 23 12:56:25 2011 > > New Revision: 218967 > > URL: http://svn.freebsd.org/changeset/base/218967 > > > > Log: > > Fix off-by-one error in check against max_threads_per_proc. > > > > Submitted by: arundel > > MFC after: 1 week > > > > Modified: > > head/sys/kern/kern_thr.c > > > > Modified: head/sys/kern/kern_thr.c > > ============================================================================== > > --- head/sys/kern/kern_thr.c Wed Feb 23 10:28:37 2011 (r218966) > > +++ head/sys/kern/kern_thr.c Wed Feb 23 12:56:25 2011 (r218967) > > @@ -153,7 +153,7 @@ create_thread(struct thread *td, mcontex > > p = td->td_proc; > > > > /* Have race condition but it is cheap. */ > > - if (p->p_numthreads >= max_threads_per_proc) { > > + if (p->p_numthreads > max_threads_per_proc) { > > ++max_threads_hits; > > return (EPROCLIM); > > } > > I do not think there was off by one error. The create_thread() function > is called to create new thread, and before the process thread counter > is incremented in thread_link(). The old test tried to not allow more > then max_threads_per_proc threads in a process, now it allows to > create max_threads_per_proc. doesn't the semantics of the term "maximum" imply that it's own value is also valid? if a sign says maximum weight 2000kg, does that mean that a weight of 2000kg is invalid and the highest valid weight is 1999,999..kg? cheers. alex > > My guess is that the reference to mentioned pthread_vfork_test failed > because reporter set kern.threads.max_threads_per_proc to 100. The > test actually tries to create 101 threads, 1 main + 100 new. so the main process counts as 1 thread and for each pthread_create invokation the thread number gets bumped up? so with a process doing a single pthread_create() that would imply this process is having a thread count of 2? cheers. alex -- a13x From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 14:21:13 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7B2F106566C; Wed, 23 Feb 2011 14:21:12 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 80BE38FC16; Wed, 23 Feb 2011 14:21:11 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p1NEL8Da022132 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Feb 2011 16:21:08 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p1NEL8X0069229; Wed, 23 Feb 2011 16:21:08 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p1NEL8LD069228; Wed, 23 Feb 2011 16:21:08 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 23 Feb 2011 16:21:08 +0200 From: Kostik Belousov To: Alexander Best Message-ID: <20110223142108.GP78089@deviant.kiev.zoral.com.ua> References: <201102231256.p1NCuPHN056220@svn.freebsd.org> <20110223131228.GN78089@deviant.kiev.zoral.com.ua> <20110223135734.GA62693@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DBuGsi2uG0e/X7y+" Content-Disposition: inline In-Reply-To: <20110223135734.GA62693@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, John Baldwin Subject: Re: svn commit: r218967 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 14:21:13 -0000 --DBuGsi2uG0e/X7y+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 23, 2011 at 01:57:34PM +0000, Alexander Best wrote: > On Wed Feb 23 11, Kostik Belousov wrote: > > On Wed, Feb 23, 2011 at 12:56:25PM +0000, John Baldwin wrote: > > > Author: jhb > > > Date: Wed Feb 23 12:56:25 2011 > > > New Revision: 218967 > > > URL: http://svn.freebsd.org/changeset/base/218967 > > >=20 > > > Log: > > > Fix off-by-one error in check against max_threads_per_proc. > > > =20 > > > Submitted by: arundel > > > MFC after: 1 week > > >=20 > > > Modified: > > > head/sys/kern/kern_thr.c > > >=20 > > > Modified: head/sys/kern/kern_thr.c > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > > --- head/sys/kern/kern_thr.c Wed Feb 23 10:28:37 2011 (r218966) > > > +++ head/sys/kern/kern_thr.c Wed Feb 23 12:56:25 2011 (r218967) > > > @@ -153,7 +153,7 @@ create_thread(struct thread *td, mcontex > > > p =3D td->td_proc; > > > =20 > > > /* Have race condition but it is cheap. */ > > > - if (p->p_numthreads >=3D max_threads_per_proc) { > > > + if (p->p_numthreads > max_threads_per_proc) { > > > ++max_threads_hits; > > > return (EPROCLIM); > > > } > >=20 > > I do not think there was off by one error. The create_thread() function > > is called to create new thread, and before the process thread counter > > is incremented in thread_link(). The old test tried to not allow more > > then max_threads_per_proc threads in a process, now it allows to > > create max_threads_per_proc. >=20 > doesn't the semantics of the term "maximum" imply that it's own value is = also > valid? >=20 > if a sign says maximum weight 2000kg, does that mean that a weight of 200= 0kg is > invalid and the highest valid weight is 1999,999..kg? >=20 > cheers. > alex >=20 > >=20 > > My guess is that the reference to mentioned pthread_vfork_test failed > > because reporter set kern.threads.max_threads_per_proc to 100. The > > test actually tries to create 101 threads, 1 main + 100 new. >=20 > so the main process counts as 1 thread and for each pthread_create > invokation the thread number gets bumped up? > > so with a process doing a single pthread_create() that would imply > this process is having a thread count of 2? Exactly. The main thread is the same as all others (almost). --DBuGsi2uG0e/X7y+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk1lF9QACgkQC3+MBN1Mb4g+MQCgjRyvNrHbQ4WJzkiCdct3PnCg 508AnRbAkskgu0FA6K4L1HhLhqXyYSzJ =ML2p -----END PGP SIGNATURE----- --DBuGsi2uG0e/X7y+-- From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 14:22:35 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C632106566C; Wed, 23 Feb 2011 14:22:35 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id 363FF8FC18; Wed, 23 Feb 2011 14:22:33 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=Vlw5OJcoxCC473z5moizI40ESYe+BpcMN2hU0iQoJwI= c=1 sm=1 a=RYRI7fz3UMUA:10 a=N659UExz7-8A:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=6I5d2MoRAAAA:8 a=a1r7yMRcHH9g8YGSE6wA:9 a=lw16Ru0DRNIL3o3H9-jNLSPc8UsA:4 a=pILNOxqGKmIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mailfe01.swip.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-TFF-CGPSA-Version: 1.7 X-T2-CGPSA-Filter: Scanned Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 92284064; Wed, 23 Feb 2011 15:22:20 +0100 From: Hans Petter Selasky To: Alexander Best Date: Wed, 23 Feb 2011 15:22:02 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <20110223131228.GN78089@deviant.kiev.zoral.com.ua> <20110223135734.GA62693@freebsd.org> In-Reply-To: <20110223135734.GA62693@freebsd.org> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Message-Id: <201102231522.02362.hselasky@c2i.net> Cc: Kostik Belousov , "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" , John Baldwin Subject: Re: svn commit: r218967 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 14:22:35 -0000 On Wednesday 23 February 2011 14:57:34 Alexander Best wrote: > On Wed Feb 23 11, Kostik Belousov wrote: > > On Wed, Feb 23, 2011 at 12:56:25PM +0000, John Baldwin wrote: > > > Author: jhb > > > Date: Wed Feb 23 12:56:25 2011 > > > New Revision: 218967 > > > URL: http://svn.freebsd.org/changeset/base/218967 > > > > > > Log: > > > Fix off-by-one error in check against max_threads_per_proc. > > > > > > Submitted by: arundel > > > MFC after: 1 week > > > > > > Modified: > > > head/sys/kern/kern_thr.c > > > > > > Modified: head/sys/kern/kern_thr.c > > > ======================================================================= > > > ======= --- head/sys/kern/kern_thr.c Wed Feb 23 10:28:37 2011 (r218966) > > > +++ head/sys/kern/kern_thr.c Wed Feb 23 12:56:25 2011 (r218967) @@ > > > -153,7 +153,7 @@ create_thread(struct thread *td, mcontex > > > > > > p = td->td_proc; > > > > > > /* Have race condition but it is cheap. */ > > > > > > - if (p->p_numthreads >= max_threads_per_proc) { > > > + if (p->p_numthreads > max_threads_per_proc) { > > > > > > ++max_threads_hits; > > > return (EPROCLIM); > > > > > > } > > > > I do not think there was off by one error. The create_thread() function > > is called to create new thread, and before the process thread counter > > is incremented in thread_link(). The old test tried to not allow more > > then max_threads_per_proc threads in a process, now it allows to > > create max_threads_per_proc. > > doesn't the semantics of the term "maximum" imply that it's own value is > also valid? > > if a sign says maximum weight 2000kg, does that mean that a weight of > 2000kg is invalid and the highest valid weight is 1999,999..kg? Hi, The sign should have used terms like EQ and GTE and LTE and a granularity. Obviously not all people writing important numerical information are programmers ;-) --HPS From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 14:30:13 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 2DD8A1065670; Wed, 23 Feb 2011 14:30:13 +0000 (UTC) Date: Wed, 23 Feb 2011 14:30:13 +0000 From: Alexander Best To: Kostik Belousov Message-ID: <20110223143013.GA67074@freebsd.org> References: <201102231256.p1NCuPHN056220@svn.freebsd.org> <20110223131228.GN78089@deviant.kiev.zoral.com.ua> <20110223135734.GA62693@freebsd.org> <20110223142108.GP78089@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110223142108.GP78089@deviant.kiev.zoral.com.ua> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, John Baldwin Subject: Re: svn commit: r218967 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 14:30:13 -0000 On Wed Feb 23 11, Kostik Belousov wrote: > On Wed, Feb 23, 2011 at 01:57:34PM +0000, Alexander Best wrote: > > On Wed Feb 23 11, Kostik Belousov wrote: > > > On Wed, Feb 23, 2011 at 12:56:25PM +0000, John Baldwin wrote: > > > > Author: jhb > > > > Date: Wed Feb 23 12:56:25 2011 > > > > New Revision: 218967 > > > > URL: http://svn.freebsd.org/changeset/base/218967 > > > > > > > > Log: > > > > Fix off-by-one error in check against max_threads_per_proc. > > > > > > > > Submitted by: arundel > > > > MFC after: 1 week > > > > > > > > Modified: > > > > head/sys/kern/kern_thr.c > > > > > > > > Modified: head/sys/kern/kern_thr.c > > > > ============================================================================== > > > > --- head/sys/kern/kern_thr.c Wed Feb 23 10:28:37 2011 (r218966) > > > > +++ head/sys/kern/kern_thr.c Wed Feb 23 12:56:25 2011 (r218967) > > > > @@ -153,7 +153,7 @@ create_thread(struct thread *td, mcontex > > > > p = td->td_proc; > > > > > > > > /* Have race condition but it is cheap. */ > > > > - if (p->p_numthreads >= max_threads_per_proc) { > > > > + if (p->p_numthreads > max_threads_per_proc) { > > > > ++max_threads_hits; > > > > return (EPROCLIM); > > > > } > > > > > > I do not think there was off by one error. The create_thread() function > > > is called to create new thread, and before the process thread counter > > > is incremented in thread_link(). The old test tried to not allow more > > > then max_threads_per_proc threads in a process, now it allows to > > > create max_threads_per_proc. > > > > doesn't the semantics of the term "maximum" imply that it's own value is also > > valid? > > > > if a sign says maximum weight 2000kg, does that mean that a weight of 2000kg is > > invalid and the highest valid weight is 1999,999..kg? > > > > cheers. > > alex > > > > > > > > My guess is that the reference to mentioned pthread_vfork_test failed > > > because reporter set kern.threads.max_threads_per_proc to 100. The > > > test actually tries to create 101 threads, 1 main + 100 new. > > > > so the main process counts as 1 thread and for each pthread_create > > invokation the thread number gets bumped up? > > > > so with a process doing a single pthread_create() that would imply > > this process is having a thread count of 2? > > Exactly. The main thread is the same as all others (almost). thanks for the hint. i wasn't aware of that. however now proctsta -akk also displaying a thread id for a process with no additional threads makes a lot more sense. ;) so in theory: kern.threads.max_threads_per_proc=0 and kern.threads.max_threads_per_proc=1 both forbid a process to trigger any new threads. cheers. alex -- a13x From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 14:35:25 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 19F901065675; Wed, 23 Feb 2011 14:35:25 +0000 (UTC) Date: Wed, 23 Feb 2011 14:35:25 +0000 From: Alexander Best To: Hans Petter Selasky Message-ID: <20110223143525.GA67908@freebsd.org> References: <20110223131228.GN78089@deviant.kiev.zoral.com.ua> <20110223135734.GA62693@freebsd.org> <201102231522.02362.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201102231522.02362.hselasky@c2i.net> Cc: Kostik Belousov , "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" , John Baldwin Subject: Re: svn commit: r218967 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 14:35:25 -0000 On Wed Feb 23 11, Hans Petter Selasky wrote: > On Wednesday 23 February 2011 14:57:34 Alexander Best wrote: > > On Wed Feb 23 11, Kostik Belousov wrote: > > > On Wed, Feb 23, 2011 at 12:56:25PM +0000, John Baldwin wrote: > > > > Author: jhb > > > > Date: Wed Feb 23 12:56:25 2011 > > > > New Revision: 218967 > > > > URL: http://svn.freebsd.org/changeset/base/218967 > > > > > > > > Log: > > > > Fix off-by-one error in check against max_threads_per_proc. > > > > > > > > Submitted by: arundel > > > > MFC after: 1 week > > > > > > > > Modified: > > > > head/sys/kern/kern_thr.c > > > > > > > > Modified: head/sys/kern/kern_thr.c > > > > ======================================================================= > > > > ======= --- head/sys/kern/kern_thr.c Wed Feb 23 10:28:37 2011 > (r218966) > > > > +++ head/sys/kern/kern_thr.c Wed Feb 23 12:56:25 2011 (r218967) @@ > > > > -153,7 +153,7 @@ create_thread(struct thread *td, mcontex > > > > > > > > p = td->td_proc; > > > > > > > > /* Have race condition but it is cheap. */ > > > > > > > > - if (p->p_numthreads >= max_threads_per_proc) { > > > > + if (p->p_numthreads > max_threads_per_proc) { > > > > > > > > ++max_threads_hits; > > > > return (EPROCLIM); > > > > > > > > } > > > > > > I do not think there was off by one error. The create_thread() function > > > is called to create new thread, and before the process thread counter > > > is incremented in thread_link(). The old test tried to not allow more > > > then max_threads_per_proc threads in a process, now it allows to > > > create max_threads_per_proc. > > > > doesn't the semantics of the term "maximum" imply that it's own value is > > also valid? > > > > if a sign says maximum weight 2000kg, does that mean that a weight of > > 2000kg is invalid and the highest valid weight is 1999,999..kg? > > Hi, > > The sign should have used terms like EQ and GTE and LTE and a granularity. > Obviously not all people writing important numerical information are > programmers ;-) *hehehe* well they don't (at least in this country): http://upload.wikimedia.org/wikipedia/commons/9/94/Zeichen_262.svg this sign includes the maximum of 5500kg and thus implies GT. cheers. alex > > --HPS -- a13x From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 17:17:05 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1C71106566C; Wed, 23 Feb 2011 17:17:05 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C0B648FC19; Wed, 23 Feb 2011 17:17:05 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NHH5fX001492; Wed, 23 Feb 2011 17:17:05 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NHH5q7001489; Wed, 23 Feb 2011 17:17:05 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102231717.p1NHH5q7001489@svn.freebsd.org> From: Bruce Cran Date: Wed, 23 Feb 2011 17:17:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218974 - in head/sys/boot: common efi/libefi X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 17:17:05 -0000 Author: brucec Date: Wed Feb 23 17:17:05 2011 New Revision: 218974 URL: http://svn.freebsd.org/changeset/base/218974 Log: Handle memory allocation failures in include(). PR: i386/85652 Submitted by: Ben Thomas MFC after: 3 days Modified: head/sys/boot/common/interp.c head/sys/boot/efi/libefi/efipart.c Modified: head/sys/boot/common/interp.c ============================================================================== --- head/sys/boot/common/interp.c Wed Feb 23 13:51:41 2011 (r218973) +++ head/sys/boot/common/interp.c Wed Feb 23 17:17:05 2011 (r218974) @@ -246,6 +246,17 @@ include(const char *filename) if (*cp == '\0') continue; /* ignore empty line, save memory */ sp = malloc(sizeof(struct includeline) + strlen(cp) + 1); + /* On malloc failure (it happens!), free as much as possible and exit */ + if (sp == NULL) { + while (script != NULL) { + se = script; + script = script->next; + free(se); + } + sprintf(command_errbuf, "file '%s' line %d: memory allocation " + "failure - aborting\n", filename, line); + return (CMD_ERROR); + } strcpy(sp->text, cp); #ifndef BOOT_FORTH sp->flags = flags; Modified: head/sys/boot/efi/libefi/efipart.c ============================================================================== --- head/sys/boot/efi/libefi/efipart.c Wed Feb 23 13:51:41 2011 (r218973) +++ head/sys/boot/efi/libefi/efipart.c Wed Feb 23 17:17:05 2011 (r218974) @@ -204,7 +204,7 @@ efipart_readwrite(EFI_BLOCK_IO *blkio, i } if (EFI_ERROR(status)) - printf("%s: rw=%d, status=%lu\n", __func__, rw, status); + printf("%s: rw=%d, status=%u\n", __func__, rw, status); return (efi_status_to_errno(status)); } From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 17:20:00 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B20CB106566C; Wed, 23 Feb 2011 17:20:00 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 61F3B8FC12; Wed, 23 Feb 2011 17:20:00 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 95E3BE8C0C; Wed, 23 Feb 2011 17:19:57 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=subject :from:to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; s=mail; bh=LUZsotW33wSx HsCmhi+7gQmpI8A=; b=yLZ0qZbcyY7jJxC18i5xu6eZofK9e2ajuxs0k7XgkPrL mLTCiOTIa1Jy0tUfzyOQpxl8mN1MpCijTL0SWiZt72CqeEIhkh/oPvK3/77mBced zWE3qYpj53UA0YtDrLE/M47MvsqQvT4ObbAvEkvCn8pi11KXF50WTnvcih4pb3g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=subject:from :to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; q=dns; s=mail; b=SDnlps pcD7rm5d+lm1uV97SEgFsx9S3soNlAyGW3VS3kg/fap6lQfVNpZyPv41anFGemSe W3yvYo0yGXrn8SQJvNMmkIeKqP4JIR0aBS0p0hNv10uvHcfp7YEAoCln+CozhxW5 9nzAAnMiFVMy0i7dv760dMZTuYkh1+lHcfRoQ= Received: from [192.168.0.10] (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 495B6E8BA7; Wed, 23 Feb 2011 17:19:57 +0000 (GMT) From: Bruce Cran To: Bruce Cran In-Reply-To: <201102231717.p1NHH5q7001489@svn.freebsd.org> References: <201102231717.p1NHH5q7001489@svn.freebsd.org> Content-Type: text/plain; charset="us-ascii" Date: Wed, 23 Feb 2011 17:19:53 +0000 Message-ID: <1298481593.2895.8.camel@core.nessbank> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218974 - in head/sys/boot: common efi/libefi X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 17:20:00 -0000 On Wed, 2011-02-23 at 17:17 +0000, Bruce Cran wrote: > Author: brucec > Date: Wed Feb 23 17:17:05 2011 > New Revision: 218974 > URL: http://svn.freebsd.org/changeset/base/218974 > > Log: > Handle memory allocation failures in include(). > > if (EFI_ERROR(status)) > - printf("%s: rw=%d, status=%lu\n", __func__, rw, status); > + printf("%s: rw=%d, status=%u\n", __func__, rw, status); > return (efi_status_to_errno(status)); > } I accidentally included this unrelated change too - 'status' is of type unsigned int, not unsigned long. -- Bruce Cran From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 17:52:26 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B1E1106564A; Wed, 23 Feb 2011 17:52:26 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 59F838FC0C; Wed, 23 Feb 2011 17:52:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NHqQ7f002370; Wed, 23 Feb 2011 17:52:26 GMT (envelope-from jpaetzel@svn.freebsd.org) Received: (from jpaetzel@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NHqQkB002368; Wed, 23 Feb 2011 17:52:26 GMT (envelope-from jpaetzel@svn.freebsd.org) Message-Id: <201102231752.p1NHqQkB002368@svn.freebsd.org> From: Josh Paetzel Date: Wed, 23 Feb 2011 17:52:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218975 - head/usr.sbin/pc-sysinstall/backend-query X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 17:52:26 -0000 Author: jpaetzel Date: Wed Feb 23 17:52:26 2011 New Revision: 218975 URL: http://svn.freebsd.org/changeset/base/218975 Log: Alter comment to reflect change in code. Try atacontrol if camcontrol fails. Approved by: kib (mentor, implicit) Modified: head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh Modified: head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh ============================================================================== --- head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh Wed Feb 23 17:17:05 2011 (r218974) +++ head/usr.sbin/pc-sysinstall/backend-query/disk-list.sh Wed Feb 23 17:52:26 2011 (r218975) @@ -73,10 +73,15 @@ do esac fi - # Check the dmesg output for some more info about this device - NEWLINE=$(camcontrol identify $DEV | grep "device model" | tr -s ' ' | sed 's |device model ||g') + # Try and find some identification information with camcontrol or atacontrol + NEWLINE=$(camcontrol identify $DEV | sed -ne 's/^device model *//p') if [ -z "$NEWLINE" ]; then - NEWLINE=" " + # Now try atacontrol + NEWLINE=$(atacontrol list | sed -n "s|^.*$DEV <\(.*\)>.*|\1|p") + + if [ -z "$NEWLINE" ]; then + NEWLINE=" " + fi fi if [ -n "${FLAGS_MD}" ] && echo "${DEV}" | grep -E '^md[0-9]+' >/dev/null 2>/dev/null From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 18:22:40 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D9C9106566B; Wed, 23 Feb 2011 18:22:40 +0000 (UTC) (envelope-from pluknet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7CC948FC0A; Wed, 23 Feb 2011 18:22:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NIMeRC003139; Wed, 23 Feb 2011 18:22:40 GMT (envelope-from pluknet@svn.freebsd.org) Received: (from pluknet@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NIMexR003137; Wed, 23 Feb 2011 18:22:40 GMT (envelope-from pluknet@svn.freebsd.org) Message-Id: <201102231822.p1NIMexR003137@svn.freebsd.org> From: Sergey Kandaurov Date: Wed, 23 Feb 2011 18:22:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218976 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 18:22:40 -0000 Author: pluknet Date: Wed Feb 23 18:22:40 2011 New Revision: 218976 URL: http://svn.freebsd.org/changeset/base/218976 Log: Clean up the now unused #include statement. Approved by: kib (mentor) MFC after: 1 week X-MFC with: r218972 Modified: head/sys/kern/kern_thread.c Modified: head/sys/kern/kern_thread.c ============================================================================== --- head/sys/kern/kern_thread.c Wed Feb 23 17:52:26 2011 (r218975) +++ head/sys/kern/kern_thread.c Wed Feb 23 18:22:40 2011 (r218976) @@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 19:07:51 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11C40106564A; Wed, 23 Feb 2011 19:07:51 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F20798FC15; Wed, 23 Feb 2011 19:07:50 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NJ7oXu004293; Wed, 23 Feb 2011 19:07:50 GMT (envelope-from hrs@svn.freebsd.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NJ7od7004290; Wed, 23 Feb 2011 19:07:50 GMT (envelope-from hrs@svn.freebsd.org) Message-Id: <201102231907.p1NJ7od7004290@svn.freebsd.org> From: Hiroki Sato Date: Wed, 23 Feb 2011 19:07:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218977 - in stable/8/release/doc: en_US.ISO8859-1/relnotes share/sgml X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 19:07:51 -0000 Author: hrs Date: Wed Feb 23 19:07:50 2011 New Revision: 218977 URL: http://svn.freebsd.org/changeset/base/218977 Log: Import and update relnotes items for 8.2R: fix SA table's cell width[1], alq(4) improvement in details, TCP reassembly improved[2], xz rewording[3], and various grammer fixes[4]. Suggested by: dougb[1], keramida[1], lstewart[2], mm[3], mandree[4]. Modified: stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml stable/8/release/doc/share/sgml/release.dsl stable/8/release/doc/share/sgml/release.ent Modified: stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml ============================================================================== --- stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml Wed Feb 23 18:22:40 2011 (r218976) +++ stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml Wed Feb 23 19:07:50 2011 (r218977) @@ -15,7 +15,7 @@ $FreeBSD$ - 2010 + 2011 The &os; Documentation Project @@ -117,7 +117,7 @@ advisories available from . - + @@ -132,64 +132,24 @@ - SA-09:15.ssl - 3 Dec 2009 - SSL protocol flaw + SA-10:08.bzip2 + 20 September 2010 + Integer overflow in bzip2 decompression + - SA-09:17.freebsd-update - 3 Dec 2009 - Inappropriate directory permissions in &man.freebsd-update.8; - - - SA-10:01.bind - 6 Jan 2010 - BIND &man.named.8; cache poisoning with DNSSEC validation - - - SA-10:02.ntpd - 6 Jan 2010 - ntpd mode 7 denial of service - - - SA-10:03.zfs - 6 Jan 2010 - ZFS ZIL playback with insecure permissions - - - SA-10:04.jail - 27 May 2010 - Insufficient environment sanitization in &man.jail.8; - - - SA-10:05.opie - 27 May 2010 - OPIE off-by-one stack overflow - - - SA-10:06.nfsclient - 27 May 2010 - Unvalidated input in nfsclient - - - SA-10:07.mbuf - 13 July 2010 - Lost mbuf flag resulting in data corruption + SA-10:10.openssl + 29 November 2010 + OpenSSL multiple vulnerabilities @@ -199,1266 +159,1026 @@ Kernel Changes - The &man.ddb.4; debugger has been improved: - - - - It now supports show - ifnets and show ifnet struct - ifnet * commands to print a list of - ifnet * of each virtual network stack and - fields of specified fip, - respectively. - - - - It now supports show all - lltables, show lltable - struct lltable *, and - show llentry struct llentry - * commands to print a list of - lltable * of each virtual network stack, - fields of specified structures respectively. - - - - The show mount command now prints - active string mount options. - - - - It now supports show - vnetrcrs command to dump the whole log of - distinctive curvnet recursion - events. - - - - It now supports show - vnet_sysinit and show - vnet_unsysinit commands to print - ordered call lists. - - - - A new kernel thread called deadlock - resolver has been added. This can be used to detect - possible deadlock by using information of thread state and - heuristic analysis. This is not enabled by default. To - enable this, an option in - kernel configuration file and recompilation of the - kernel. - - The default &man.devfs.5; rules now expose the upper 256 - of &man.pty.4; device nodes. - - Two commands to enable/disable read-ahead have been added - to &man.fcntl.2; system call: - - - - F_READAHEAD specifies the amount - for sequential access. The amount is specified in bytes and is - rounded up to nearest block size. - - - - F_RDAHEAD is a Darwin compatible - version that use 128KB as the sequential access - size. - - - - Note that the read-ahead amount is also limited by - sysctl variable vfs.read_max, which may - need to be raised in order to better utilize this - feature. - - The &man.lindev.4; driver has been added. This is for - supporting various Linux-specific pseudo devices such as - /dev/full. Note that this is not - included in GENERIC kernel. - - A POSIX function pselect(3) has been reimplemented as a - system call &man.pselect.2; to eliminate race - condition. - - A kernel option has been added to - GENERIC kernel by default. - - A bug in the &man.sched.4bsd.4; scheduler that the - timestamp for the sleeping operation is not cleaned up on the - wakeup has been fixed. - - A race condition in the &man.sched.4bsd.4; scheduler has - been fixed. - - A bug in the &man.sched.ule.4; scheduler which prevented - process usage (%CPU) from working correctly - has been fixed. - - New SDT (Statically Defined Tracing) probes such as ones - for opencrypto and vnet - have been added to &os; &man.dtrace.1; subsystem. - - &os; now supports SMP in PowerPC G5 - systems. Note that SMP support on &os;/&arch.powerpc; is - disabled by default in GENERIC - kernel. - - &os; now supports UltraSPARC IV, IV+, and - SPARC64 V CPUs. - - The &man.syscons.4; driver has been improved. The history - buffer can be fully saved/restored in the VESA mode switching - via a loader tunable - hint.sc.0.vesa_mode. - - A bug in the &man.tty.4; driver that - TIOCSTI did not work has been fixed. This - affects applications like &man.mail.1;. - - An x86 real mode emulator based on - OpenBSD's x86emu implementation has been added to improve real - mode BIOS call support on both &arch.i386; and &arch.amd64;. - The &man.atkbdc.4;, &man.dpms.4;, vesa(4), &man.vga.4; driver - now use this emulator and work on the both platforms. - - The VIMAGE &man.jail.8; virtualization container can work - with &man.sctp.4; now. Note that the VIMAGE is not enabled by - default in GENERIC kernel. - - The VIMAGE &man.jail.8; now supports - ip4.saddrsel, - ip4.nosaddrsel, - ip6.saddrsel, and - ip6.nosaddrsel to control whether to use - source address selection or the primary jail address for - unbound outgoing connections. The default value is to use - source address selection. + The maximum number of pages + used for DMA bounce buffer pool has been increased from 256 to + 1024. + + The default value of + kern.hz has been increased from 100 to + 1000. + + The SMP kernel now works on + MPC7400-based Apple desktop machines such as + PowerMac3,3. + + &os;/powerpc now supports + DMA bounce buffer which is required on systems with larger RAM + than 4GB. + + &os;/mips support has been + improved. It now supports SMP on a SWARM with a dual-core + Sibyte processor. + + &os;/mips now supports Netlogic Microsystems' + XLR and XLS multi-core processor families. + + &os;/sparc64 now supports + reservation-based physical memory allocation which provides + better performance. + + &os;/amd64 now always sets + the KVA space as equal to or larger than physical memory size. + The default size was calculated based on one-third of the + physical memory size by a code derived from one for i386. It + has been changed because constraints for memory space are not + severe on amd64 and this change would help to prevent a + kmem_map too small panic which often occurs + when using ZFS. + + CPU topology detection + for Intel CPUs has been improved. + + ACPI suspend/resume + functionality support has been improved. + + &os; kernel now + supports kern_fpu_enter() and + kern_fpu_leave() KPIs which allow the + kernel subsystems to use XMM register files used in Intel SSE + (Streaming SIMD Extensions). + + The &man.acpi.4; + driver now uses ACPI Reset Register capability by default only + when a flag in the FADT which indicates it is available. This + behavior was controlled by a &man.sysctl.8; variable + hw.acpi.handle_reboot and the default value + was always set to 0. + + The &man.acpi.4; + driver now supports new loader tunables + hw.acpi.install_interface and + hw.acpi.remove_interface. For more + details, see &man.acpi.4; manual page. + + The &man.alq.9; support has been + improved. The alq_writen() and + alq_getn() KPIs have been extended to + support variable length messages, which is enabled at ALQ + creation time depending on the arguments passed to + alq_open(). Also, the + ALQ_NOACTIVATE and + ALQ_ORDERED flags have been added to allow + ALQ consumers to have more control over I/O scheduling and + resource acquisition respectively. These extensions are fully + backward compatible. + + The &man.alq.9; support is now provided + as a kernel module alq.ko. + + The &man.ddb.8; kernel debugger now + supports an optional delay in reset and + reboot commands. This allows an + administrator to break the system into debugger and trigger + automatic textdump when an unattended panic occurs. + + The &man.ddb.8; kernel debugger now + supports a show cdev command. This + displays the list of all created cdev's, consisting of devfs + node name and struct cdev address. + + The &os; GENERIC + kernel is now compiled with and + options. From 8.2-RELEASE the + kernel supports displaying a stack trace on panic by using + &man.stack.9; facility with no debugger backend like + &man.ddb.8;. Note that this does not change the default + behaviors of the GENERIC kernel on + panic. + + The following + &man.sysctl.8; variables are also now loader tunables: + vm.kmem_size, + vm.kmem_size_max, and + vm.kmem_size_min, + debug.kdb.stop_cpus, + debug.trace_on_panic, and + kern.sync_on_panic. Also, new + &man.sysctl.8; variables vm.kmem_map_size + for the current kmem map size and + vm.kmem_map_free for largest contiguous + free range in kmem map, vfs.ncsizefactor + for size factor for namecache, and + vfs.ncnegfactor for ratio of negative + namecache entries have been added. + + The &os; &man.memguard.9; framework has + been improved to make it able to detect use-after-free of + allocated memories over a longer time. For more details, see + &man.memguard.9; manual page. + + PT_LWPINFO request to + obtain information about the kernel thread that caused the + traced process to stop in the &man.ptrace.2; process tracing + and debugging facility has been improved. It now reports + system call entry and leave events, as well as availability of + siginfo_t accompanying the reported + signal. + + The &os; &man.crypto.4; framework + (opencrypto) now supports XTS-AES (XEX-TCB-CTS, or XEX-based + Tweaked Code Book mode with CipherText Stealing), which is + defined in IEEE Std. 1619-2007. + + Xen HVM support in + &os;/amd64 kernel has been improved. For more details, see + &man.xen.4; manual page. + + The qpi(4) pseudo bus + driver has been added. This supports extra PCI buses on Intel + QPI chipsets where various hardware such as memory controllers + for each socket is connected. Boot Loader Changes - The boot2 bootcode has - been reimplemented based on the &arch.i386 counterpart. It - now supports ELF binary, UFS2 file system, and larger number - of slices. - - The EFI loader program - now supports a command-line option to specify the - default value of currdev. This option - can be set by the EFI boot manager. - - The &man.loader.8; program now supports - U-Boot storage. - - The algorithm the &man.loader.8; uses has - been improved to choose a memory range for its heap when - using a range above 1MB. This fixes a symptom that the - loader fails to load a kernel. - - A kernel environment variable - vfs.root.mountfrom now supports - multiple elements for root file system in a space-separated - list. Each list element will be tried in order and the - first available one will be mounted. - - The zfsloader has been added. This - is a separate &man.zfs.8; enabled loader. Note that a ZFS - bootcode (zfsboot or - gptzfsboot) need to be installed - to use this new loader. - - The zfsboot and - gptzfsboot bootcode now fully support - 64-bit LBAs for disk addresses. This allows booting from - large volumes. + &os; now fully supports GPT (GUID + Partition Table). Checksums of primary header and primary + partition table are verified properly now. + + Memory + management issues that prevented &os; OpenFirmware loader + and netbooting from working have been fixed. + + The &man.pxeboot.8; now uses NFS + version 3 instead of version 2 by default. Hardware Support - The adb driver now - supports for interpreting taps on ADB touchpads as a button - click. - - The amdsbwd(4) driver for AMD SB600/SB7xx watchdog - timer has been added. - - The apt driver for - the Apple Touchpad present on MacBook has been added to - GENERIC kernel. - - The epic(4) driver for the front panel - LEDs in Sun Fire V215/V245 has been added. - - A bug in the &man.ipmi.4; driver that caused incorrect - watchdog timer setting has been fixed. - - The &man.pci.4; driver now supports a - JBus to PCIe bridge (called as Fire) found in - the Sun Fire V215/V245 and Sun Ultra 25/45 machines. - - The &man.smu.4; driver now provides - thermal management and monitoring features. This allows fan - control and thermal monitoring on SMU-based Apple G5 - machines, as well as an &man.led.4; interface to control the - sleep LED. - - The &man.tnt4882.4; driver for IEEE-488 (GPIB) bus now - supports National Instruments TNT5004 chip. - - The &man.uart.4; driver now supports NetMos NM9865 - family of Serial/Parallel ports. - - The &man.uep.4; driver for USB onscreen touch panel - from eGalax has been added. This driver is supported by - x11-drivers/xf86-input-egalax. - - A bug in the &man.uftdi.4; driver that can allow to send - a zero length packet has been fixed. - - The &man.usb.4; subsystem now reports &man.devd.8; - notify events with the device properties - instead of attach events. The following is an - example entry of &man.devd.conf.5; to match a &man.umass.4; - device with a SCSI subclass and BBB protocol: - - notify 100 { - match "system" "USB"; - match "subsystem" "INTERFACE"; - match "type" "ATTACH"; - match "intclass" "0x08"; - match "intsubclass" "0x06"; - match "intprotocol" "0x50"; - action "/path/to/command -flag"; -}; + The &man.aesni.4; + driver has been added. This supports AES accelerator on + Intel CPUs and accelerates AES operations for + &man.crypto.4;. + + The &man.aibs.4; + driver has been added. This supports the hardware sensors + in ASUS motherboards and replaces the &man.acpi.aiboost.4; + driver. + + The &man.coretemp.4; + driver now supports Xeon 5500/5600 series. + + &os;/powerpc now + supports the I2C bus in Apple System Management Unit. + + A device driver that + supports CPU temperature sensors on PowerMac 11,2 has been + added. + + The &man.ehci.4;, &man.ohci.4;, and + &man.uhci.4; driver now support LOW speed BULK transfer + mode. + + The &man.ichwd.4; + driver now supports Intel NM10 Express chipset watchdog + timer. + + The &man.tpm.4; driver, which supports + Trusted Platform Module has been added. + + The xhci(4) driver, which supports + Extensible Host Controller Interface (xHCI) and USB 3.0, has + been added. Multimedia Support - The &man.acpi.video.4; driver now supports LCD - brightness control notify handler. - - The &man.acpi.sony.4; helper driver now supports - default display brightness, wired LAN power, and bass - gain. - - The &man.agp.4; driver has been improved. It includes - a fix for aperture size calculation issue which prevents - some graphics cards from working. - - The &man.snd.hda.4; driver now allows AD1981HD codecs - to use playback mixer. - - The &man.snd.hda.4; driver now supports multichannel - (4.0 and 7.1) playback support. The 5.1 mode support is - disabled now due to unidentified synchronization problem. - Devices which supports the 7.1 mode can handle the 5.1 - operation via software upmix done by &man.sound.4;. Note - that stereo stream is no longer duplicated to all - ports. + The &os; Linux emulation subsystem now supports the + video4linux API. This requires + native video4linux hardware + drivers such as the ones provided by multimedia/pwcbsd and multimedia/webcamd. + + MIDI input buffer size in the + &man.uaudio.4; driver has been changed. This fixes a + problem where the input appears several seconds + late. + + An issue in the &man.uaudio.4; + driver that prevented some USB audio devices from working + has been fixed. Network Interface Support - The &man.ath.4; driver now supports Atheros - AR9285-based devices. + The &man.alc.4; driver now supports + Atheros AR8151/AR8152 PCIe Gigabit/Fast Ethernet + controllers. - A bug in the &man.ath.4; driver which causes a problem - of AR5416-based chipsets including AR9285 has been fixed. + A bug in the &man.alc.4; driver was + fixed that could lead to a system freeze when the system + was booted without a cable plugged in. This symptom was + found in AR8132 on EEE PC. + + The TX interrupt moderation timer in + the &man.alc.4; driver has been reduced from 50ms to 1ms. + The 50ms timer resulted in a poor UDP performance. + + The &man.axe.4; driver + has been improved for stability and better performance on + the TX packet rate. + + The &man.bge.4; driver now supports + BCM5718 x2 PCI Express dual-port gigabit Ethernet + controller family. This family is the successor to the + BCM5714/BCM5715 family and supports IPv4/IPv6 checksum + offloading, TSO, VLAN hardware tagging, jumbo frames, + MSI/MSIX, IOV, RSS and TSS. The current version of the + driver supports all hardware features except IOV and + RSS/TSS. - The &man.bge.4; driver now supports BCM5761, BCM5784, and - BCM57780-based devices. + A bug in the &man.bge.4; driver which + prevented TSO in BCM57780 from working has been + fixed. - The &man.bge.4; driver now supports TSO (TCP - Segmentation Offloading) on BCM5755 or newer - controllers. + A bug in the &man.bge.4; driver that + could wrongly disable the TX checksum offloading feature + as well when one tries to disable only the RX checksum + offloading has been fixed. + + Some improvements for reliability of + the &man.bge.4; driver with BCM5906 controller has been + made. + + The &man.bge.4; driver now supports + hardware MAC statistics in controller's internal memory + for BCM5705 or newer Broadcom controllers. These counters + can be accessed via &man.sysctl.8; variable + dev.bge.N.stats.* + and provide useful information to diagnose driver + issues. + + UDP checksum offloading in the + &man.bge.4; driver has been disabled by default. This is + because Broadcom controllers have a bug which can generate + UDP datagrams with checksum value 0 + when TX UDP checksum offloading is enabled. The checksum + offloading can be enabled by using the following loader + tunable: + + dev.bge.N.forced_udpcsum + + A bug in the &man.bge.4; driver that + could lead to poor performance on a system with more than + 4 GB RAM has been fixed. The cause was that all of + Broadcom controllers except the BCM5755 and later have a + bug in 4 GB-boundary DMA processing and used the bounce + buffer in an inefficient way. + + The &man.bwi.4; driver, which supports + Broadcom BCM430* and BCM431* family Wireless Ethernet + controllers, has been added. This is not compiled into + the GENERIC kernel because there are + some problems. The kernel module + if_bwi.ko is available and can be + loaded without recompiling the kernel to enable this + driver. - A long-standing bug in the &man.bge.4; driver which - was related to ASF heartbeat sending has been + A bug in the &man.bwn.4; driver that + prevented WPA authentication from working has been fixed. - A long-standing stability issue of the &man.bce.4; and - &man.bge.4; driver due to a hardware bug in its DMA - handling when the system has more than 4GB memory has been - fixed. This applies to BCM5714, BCM5715, and BCM5708 - controllers. + A bug in the &man.cdce.4; driver has + been fixed. - A bug in the &man.bge.4; driver that incorrectly - enabled TSO on BCM5754/BCM5754M controllers has been - fixed. + The &man.cxgb.4; driver now supports + the following new &man.sysctl.8; variables: + hw.cxgb.nfilters sets the maximum + number of entries in the hardware filter table, + dev.cxgbc.N.pkt_timestamp + provides packet timestamp instead of connection hash, and + dev.cxgbc.N.core_clock + provides the core clock frequency in kHz. + + The &man.em.4; driver has been updated to version + 7.1.9. + + The &man.igb.4; driver has been updated to version + 2.0.7. + + The &man.em.4; and &man.igb.4; drivers + now provide statistics counters as &man.sysctl.8; MIB + objects. + + The &man.em.4; and &man.igb.4; drivers + now support the &man.led.4; interface via + /dev/led/emN + and + /dev/led/igbN + for identification LED control. The following command + line makes the LED blink on em0: + + &prompt.root; echo f2 > /dev/led/em0 + + The &man.epair.4; virtual Ethernet + interface driver now supports explicit UP/DOWN linkstate. + This fixes an issue when it is used with the &man.carp.4; + protocol. + + The &man.fxp.4; driver now supports + TSO over VLAN on i82550 and i82551 controllers. + + The &man.iwn.4; driver now supports + Intel Wireless WiFi Link 6000 series. The firmware has + been updated to version 9.221.4.1. + + The &man.ixgbe.4; + driver is now also provided as a kernel module. + + The &man.ixgbe.4; + driver has been updated to version 2.3.8. It now supports + 82599, better interrupt handling, hardware assist to LRO, + VM SRIOV interface, and so on. + + The + &man.miibus.4; has been rewritten for the generic IEEE + 802.3 annex 31B full duplex flow control support. The + &man.alc.4;, &man.bge.4;, &man.bce.4;, &man.cas.4;, + &man.fxp.4;, &man.gem.4;, &man.jme.4;, &man.msk.4;, + &man.nfe.4;, &man.re.4;, &man.stge.4;, and &man.xl.4; + drivers along with atphy(4), bmtphy(4), brgphy(4), + e1000phy(4), gentbi(4), inphy(4), ip1000phy(4), jmphy(4), + nsgphy(4), nsphyter(4), and &man.rgephy.4; have been + updated to support flow control via this facility. + + The &man.mwlfw.4; + driver is now also provided as a kernel module. + + A bug in the &man.mxge.4; driver + that prevented TSO from working has been fixed. - A bug in the &man.if.bridge.4; driver has been fixed. - The MTU was set based on the firstly-added member even if - the addition failed. - - The &man.if.bridge.4; driver now supports - SIOCSIFMTU ioctl. For example, - ifconfig bridge0 mtu 1280 can change - the MTU of bridge0 to - 1280. Changing the MTU is allowed only - when all members have the same MTU value. - - The &man.bwn.4; driver for Broadcom BCM43xx chipsets - has been added. - - The &man.cxgb.4; driver has been updated to T3 - firmware 7.8.0. - - The &man.cxgb.4; driver now supports hardware - filtering based on inspection of L2/L3/L4 headers. - Filtering based on source IP address, destination IP - address, source port number, destination port number, - 802.1q VLAN frame tag, UDP, TCP, and MAC address is - possible. The configuration can be done by the - cxgbtool(8) utility. Note that cxgbtool(8) is in - src/usr.sbin/cxgbtool but not - compiled by default. - - The &man.em.4; driver has been updated to version - 7.0.5. - - The et(4) driver now supports MSI and Tx checksum - offloading of IPv4, TCP, and UDP. - - The &man.fxp.4; driver now exports the hardware MAC - statistics via sysctl variables. - - The &man.igb.4; driver has been updated to version - 1.9.5. - - The &man.iwn.4; driver has been updated. This - includes various improvements and bugfixes regarding RF - switch, bgscan support, suspend/resume support, locking - issue, and more. The line device iwnfw - in the kernel configuration file will include all firmware - images. - - The &man.ixgbe.4; driver has been updated to version - 2.2.0. - - The &man.msk.4; driver has been improved: - - - - It now supports Marvell Yukon 88E8042, 88E8057, - 88E8059 (Yukon Optima) devices and DGE-560SX (Yukon - XL). - - - - A rudimentary interrupt moderation with - programmable countdown timer register has been - implemented. The default parameter of the holdoff - time is 100us and this can be changed via sysctl - variable - dev.mskc.0.int_holdoff. - Note that the interrupt moderation is shared resource - on a dual-port controllers and it is impossible to use - separate interrupt moderation values for each - port. - - - - A stability issue has been fixed. A heavy RX - traffic while rebooting is in progress could prevent - the system from working. - - - The &man.mxge.4; driver has been updated to firmware - version 1.4.50 from Myricom. - - The &man.re.4; driver no longer performs an - unnecessary interface up/down during getting IP address - via DHCP. - - The &man.re.4; driver now uses 2048 - as PCIe Maximum Read Request Size. This improves bulk - transfer performance. - - The &man.run.4; driver for Ralink - RT2700U/RT2800U/RT3000U USB 802.11agn devices has been - added. - - The sge(4) driver for Silicon Integrated Systems - SiS190/191 Fast/Gigabit Ethernet has been added. This - supports TSO and TSO over VLAN. - - The &man.ste.4; driver has been improved: - - - - The DMA handling has been improved. - - - - Wake-On-LAN is now supported. - - - - Unnecessary reinitialization of the - interfaces has been eliminated. - - - - RX interrupt moderation with single shot timer has - been implemented. The default parameter of the - moderation time is 150us and this can be changed via - sysctl variable - dev.ste.0.int_rx_mod. - Setting it 0 effectively disables the RX interrupt - moderation feature. - - - - The tsec(4) driver now supports &man.altq.4;. - - The &man.u3g.4; driver has been improved and now works - with ZTE MF636, Option Gi0322, Globetrotter GE40x, and - Novatel MC950D. - - The &man.uhso.4; driver for Option HSDPA USB devices - has been added. A new &man.uhsoctl.1; userland utility - can be used to initiate and close the WAN - connection. - - The &man.vge.4; driver has been improved: - - - - The DMA handling has been improved. - - - - Wake-On-LAN is now supported. - - - - Unnecessary reinitialization of the - interfaces has been eliminated. - - - - Hardware MAC statistics are now supported via sysctl variables - dev.vge.0.stats. - - - - Interrupt moderation with single shot timer and - scheme supported by VT61xx controllers have been - implemented. The default parameters are tuned to - generate interrupt less than 8k per second, and these - parameters can be changed via sysctl variables - dev.vge.0.int_holdoff, - dev.vge.0.rx_coal_pkt, - and - dev.vge.0.tx_coal_pkt. - Note that an up/down cycle is needed to make a - parameter change take effect. - - + The &man.nfe.4; driver now supports + WoL (Wake on LAN). - The &man.urtw.4; driver has been improved and now - supports RTL8187B-based devices. + The &man.re.4; driver now supports + 64-bit DMA addressing for RTL810xE/RTL8168/RTL8111 PCIe + controllers. - The &os; Xen netfront driver has been improved in - stability and performance. + The &man.re.4; driver now supports + hardware interrupt moderation of TX completion interrupts + on RTL8169/RTL8168 controllers. + + The &man.rl.4; driver now supports WoL + (Wake on LAN) on RTL8139B or newer controllers. + + The &man.rl.4; driver now supports + reading hardware statistics counters by setting a + &man.sysctl.8; variable + dev.rl.N.stats + to 1. + + The &man.rl.4; driver now supports a + device hint to change a way of register access. Although + some newer RTL8139 controllers support memory-mapped + register access, it is difficult to detect the support + automatically. For this reason the driver uses I/O + mapping by default and provides the following device hint. + If it is set to 0, the driver uses + memory mapping for register access. + + hint.rl.N.prefer_iomap="0" + + Note that the default value is 1. + + The &man.rl.4; driver has been + improved on interrupt handling. It now has better TX + performance under high RX load. + + A bug in the &man.sk.4; driver has + been fixed. It did not program the station address for + Yukon controllers and overriding the station address with + &man.ifconfig.8; was not possible. + + The &man.sk.4; driver now disables TX + checksum offloading by default. This is because some + revisions of the Yukon controller generate corrupted frames. + The checksum offloading can be enabled manually by using + option in the &man.ifconfig.8; + utility. + + The &man.sis.4; driver + now works on all supported platforms. Some stability and + performance issues have also been fixed. + + The &man.sis.4; driver now supports + WoL (Wake on LAN) on NS DP8315 controller. + + A tunable + dev.sis.N.manual_pad + for the &man.sis.4; driver has been added. This controls + whether padding with 0x00 for short frames is done by CPU, + rather than the controller. The reason why this tunable + has been added is that NS DP83815/DP83816 pads them with + 0xff though RFC 1042 specifies it should be 0x00. The + tunable is disabled by default, which means padding with + 0xff is used because padding with 0x00 by software needs + extra CPU cycles. Setting a non-zero value enables the + software padding. + + The &man.ste.4; driver now supports a + device hint to change a way of register access. Although + it uses memory-mapped register access by default, some old + IC Plus Corp (formerly Sundace) controllers are found + unstable. The following device hint makes the driver use + I/O mapping for register access: + + hint.ste.N.prefer_iomap="1" + + The &man.xl.4; driver now supports + WoL (Wake on LAN). Note that not all controllers support + this functionality and some need an additional remote + wakeup cable. Network Protocols - &os; flowtable now supports IPv6. This is for per-CPU - caching flows as a means of accelerating L3 and L2 lookups - as well as providing stateful load balancing when ECMP - (Equal-Cost Multi-Path routing) is enabled by . - - A new capability flag LINKSTATE has *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 19:14:40 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F12E2106566C; Wed, 23 Feb 2011 19:14:39 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail01.syd.optusnet.com.au (mail01.syd.optusnet.com.au [211.29.132.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8AC1F8FC17; Wed, 23 Feb 2011 19:14:39 +0000 (UTC) Received: from c122-107-114-89.carlnfd1.nsw.optusnet.com.au (c122-107-114-89.carlnfd1.nsw.optusnet.com.au [122.107.114.89]) by mail01.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p1NJEap2006958 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Feb 2011 06:14:37 +1100 Date: Thu, 24 Feb 2011 06:14:36 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Alexander Best In-Reply-To: <20110223135734.GA62693@freebsd.org> Message-ID: <20110224060300.S1008@besplex.bde.org> References: <201102231256.p1NCuPHN056220@svn.freebsd.org> <20110223131228.GN78089@deviant.kiev.zoral.com.ua> <20110223135734.GA62693@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Kostik Belousov , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, John Baldwin Subject: Re: svn commit: r218967 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 19:14:40 -0000 On Wed, 23 Feb 2011, Alexander Best wrote: > On Wed Feb 23 11, Kostik Belousov wrote: >> On Wed, Feb 23, 2011 at 12:56:25PM +0000, John Baldwin wrote: >>> ... >>> Log: >>> Fix off-by-one error in check against max_threads_per_proc. >>> >>> Submitted by: arundel >>> MFC after: 1 week >>> >>> Modified: >>> head/sys/kern/kern_thr.c >>> >>> Modified: head/sys/kern/kern_thr.c >>> ============================================================================== >>> --- head/sys/kern/kern_thr.c Wed Feb 23 10:28:37 2011 (r218966) >>> +++ head/sys/kern/kern_thr.c Wed Feb 23 12:56:25 2011 (r218967) >>> @@ -153,7 +153,7 @@ create_thread(struct thread *td, mcontex >>> p = td->td_proc; >>> >>> /* Have race condition but it is cheap. */ >>> - if (p->p_numthreads >= max_threads_per_proc) { >>> + if (p->p_numthreads > max_threads_per_proc) { >>> ++max_threads_hits; >>> return (EPROCLIM); >>> } >> >> I do not think there was off by one error. The create_thread() function >> is called to create new thread, and before the process thread counter >> is incremented in thread_link(). The old test tried to not allow more >> then max_threads_per_proc threads in a process, now it allows to >> create max_threads_per_proc. Actually, now it allows to create 1 more than max_threads_per_proc threads in a process. > doesn't the semantics of the term "maximum" imply that it's own value is also > valid? Yes. Not 1 more. > if a sign says maximum weight 2000kg, does that mean that a weight of 2000kg is > invalid and the highest valid weight is 1999,999..kg? No. This means that if weights are always in units of kg, and are represented by indexes starting at index 0, then the highest valid index is 1999. But if the index is a count of the number of kg's, then the highest valud index is 2000. p->p_numthreads presumably matches its name, so it is a count of a number of threads and not a thread number. Bruce From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 19:33:43 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2079B1065673; Wed, 23 Feb 2011 19:33:43 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E87238FC18; Wed, 23 Feb 2011 19:33:42 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NJXg3Y005891; Wed, 23 Feb 2011 19:33:42 GMT (envelope-from hrs@svn.freebsd.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NJXgJ9005888; Wed, 23 Feb 2011 19:33:42 GMT (envelope-from hrs@svn.freebsd.org) Message-Id: <201102231933.p1NJXgJ9005888@svn.freebsd.org> From: Hiroki Sato Date: Wed, 23 Feb 2011 19:33:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218978 - stable/8/release/doc/en_US.ISO8859-1/errata X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 19:33:43 -0000 Author: hrs Date: Wed Feb 23 19:33:42 2011 New Revision: 218978 URL: http://svn.freebsd.org/changeset/base/218978 Log: Update Errata document for 8.2R. CVE-2011-0014 fix for OpenSSL. Modified: stable/8/release/doc/en_US.ISO8859-1/errata/article.sgml Modified: stable/8/release/doc/en_US.ISO8859-1/errata/article.sgml ============================================================================== --- stable/8/release/doc/en_US.ISO8859-1/errata/article.sgml Wed Feb 23 19:07:50 2011 (r218977) +++ stable/8/release/doc/en_US.ISO8859-1/errata/article.sgml Wed Feb 23 19:33:42 2011 (r218978) @@ -16,7 +16,7 @@ %release; - + ]>
@@ -40,7 +40,7 @@ $FreeBSD$ - 2010 + 2011 The &os; Documentation Project @@ -131,7 +131,7 @@ For more information, consult the individual advisories available from . - + @@ -160,23 +160,19 @@ Open Issues - No open issues. + No open issue. Late-Breaking News and Corrections - A deadlock can occur in UFS with the QUOTA enabled due to a - lock order reversal. This problem has been fixed in r209367 - (HEAD). An Errata Notice for &release.bugfix; is - planned. - - A legacy device detection in the &man.ata.4; can fail in - some cases. Specifically, Marvell 88SX6141 controllers can - cause attach failure or panic. This problem has been fixed in - r210168 - (HEAD). An Errata Notice for &release.bugfix; is - planned. + A bug in OpenSSL that could cause + it to parse past the end of the message was found at the late + stage of &release.bugfix; release process. The &release.bugfix; + includes a fix for this issue by importing relevant parts from + the OpenSSL CVS. This could be triggered by an incorrectly + formatted ClientHello SSL/TLS handshake messages. The details + can be found at .
From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 20:13:08 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 144E8106564A; Wed, 23 Feb 2011 20:13:08 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 00E488FC17; Wed, 23 Feb 2011 20:13:08 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NKD7qD009627; Wed, 23 Feb 2011 20:13:07 GMT (envelope-from hrs@svn.freebsd.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NKD78H009625; Wed, 23 Feb 2011 20:13:07 GMT (envelope-from hrs@svn.freebsd.org) Message-Id: <201102232013.p1NKD78H009625@svn.freebsd.org> From: Hiroki Sato Date: Wed, 23 Feb 2011 20:13:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218979 - stable/8/release/doc/en_US.ISO8859-1/relnotes X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 20:13:08 -0000 Author: hrs Date: Wed Feb 23 20:13:07 2011 New Revision: 218979 URL: http://svn.freebsd.org/changeset/base/218979 Log: Various wording fixes. Suggested by: keramida Modified: stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml Modified: stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml ============================================================================== --- stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml Wed Feb 23 19:33:42 2011 (r218978) +++ stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml Wed Feb 23 20:13:07 2011 (r218979) @@ -401,7 +401,7 @@ RSS/TSS.
A bug in the &man.bge.4; driver which - prevented TSO in BCM57780 from working has been + prevented TSO from working in BCM57780 has been fixed. A bug in the &man.bge.4; driver that @@ -554,9 +554,9 @@ Note that the default value is 1. - The &man.rl.4; driver has been - improved on interrupt handling. It now has better TX - performance under high RX load. + The &man.rl.4; driver has improved + interrupt handling. It now has better TX performance + under high RX load. A bug in the &man.sk.4; driver has been fixed. It did not program the station address for @@ -586,15 +586,17 @@ 0xff though RFC 1042 specifies it should be 0x00. The tunable is disabled by default, which means padding with 0xff is used because padding with 0x00 by software needs - extra CPU cycles. Setting a non-zero value enables the - software padding. - - The &man.ste.4; driver now supports a - device hint to change a way of register access. Although - it uses memory-mapped register access by default, some old - IC Plus Corp (formerly Sundace) controllers are found - unstable. The following device hint makes the driver use - I/O mapping for register access: + extra CPU cycles. Enabling manual_pad, + by setting this &man.sysctl.8; variable to a non-zero + value, forces the use of software padding. + + The &man.ste.4; driver now supports + a device hint to change the device register access mode. + The driver uses memory-mapped register access by default, + but this caused stability problems with some old IC Plus + Corp (formerly Sundace) controllers. The following device + hint makes the driver use I/O mapping for register + access: hint.ste.N.prefer_iomap="1" @@ -620,7 +622,7 @@ The default value for this parameter is 50. - A ngtee action in + The ngtee action in the &man.ipfw.4; packet filter subsystem has been changed. It no longer accepts a packet. @@ -630,13 +632,13 @@ IPsec flow distribution has been improved for more parallel processing. - A bug in &os; IPv4 stack that a proxy - ARP entry cannot be added over &man.netgraph.4; interfaces - has been fixed. - - A bug in &os; IPv6 stack that prevented - an in the &man.ping6.8; utility from - working with + A bug in the &os; IPv4 stack that + prevented adding a proxy ARP entry over &man.netgraph.4; + interfaces has been fixed. + + A bug in the &os; IPv6 stack that + prevented an in the &man.ping6.8; + utility from working with net.inet6.ip6.use_defaultzone=1 has been fixed. @@ -653,7 +655,7 @@ The &man.ng.ether.4; &man.netgraph.4; node now supports interface transfer between multiple virtual network stacks by &man.ifconfig.8; vnet - command. A &man.ng.ether.4; node associated with an network + command. A &man.ng.ether.4; node associated with a network interface is now destroyed and recreated when the network interface is moved to another vnet. @@ -667,8 +669,8 @@ &man.pf.4; packet filter subsystem when TSO support is enabled has been fixed. - A TCP bandwidth delay product window - limiting algorithm by a &man.sysctl.8; variable + The TCP bandwidth delay product window + limiting algorithm controlled by the &man.sysctl.8; variable net.inet.tcp.inflight.enable is now disabled by default. It has been found that this algorithm is inefficient on a fast network with smaller RTT than 10ms. @@ -740,7 +742,7 @@ >.mode or hint.devname.unit.mode. The valid values are the same as ones supported in the - &man.atacontrol.8; and &man.camcontrol.8;. + &man.atacontrol.8; and &man.camcontrol.8; utilities. The &man.ata.4; driver now disables cable status check on both controller and device side @@ -750,7 +752,7 @@ performed regardless of this loader tunable. The &man.ata.4; driver now reports - SATA power management capabilities to &man.CAM.4; layer when + SATA power management capabilities to the &man.CAM.4; layer when is enabled. This allows a device to initiate transitions if controller configured to accept it. This makes @@ -887,7 +889,7 @@ It now runs faster even when a single interface has a number of aliases. - A bug in the &man.b64decode.1; that + A bug in the &man.b64decode.1; utility that prevented an option from handling arbitrary breaks in a base64 encoded string has been fixed. @@ -908,8 +910,8 @@ software itself and its correlation with the kernel, thus allowing a much better picture of what exactly is going on behind the scenes. The &man.dtruss.1; utility has been added - and libproc has been updated to support - the facility. + and the libproc library has been updated + to support the facility. The &man.du.1; utility now supports a @@ -928,7 +930,7 @@ The &man.geli.8; utility now supports resize subcommand to resize encrypted file - systems prior to growing it. + systems after growing it. The &man.geli.8; utility now supports suspend and resume @@ -947,7 +949,7 @@ The &man.geli.8; utility now supports and - + options for loading passphrase from a file. The gethost*(), @@ -957,7 +959,7 @@ with NS_RETURN when the result buffer size is too small. - The &man.gpart.8; utility now supports + The &man.gpart.8; utility now supports a resize command to resize partitions for all schemes but EBR. @@ -971,9 +973,10 @@ /dev/ prefix. The &man.gpart.8; utility now supports - an option for force - subcommand. This option force destroying of the partition - table even if it is not empty. + an option for the + destroy subcommand. This option forces + destroying of the partition table even if it is not + empty. The &man.gpart.8; utility now supports a recover subcommand for GPT partition @@ -994,9 +997,9 @@ - Any changes to the corrupted GPT table are not allowed - except for destroy and - recover subcommands. + Changes to the corrupted GPT table are not allowed except + for destroy and recover + subcommands. The &man.gpart.8; utility now supports GPT_ENT_ATTR_BOOTME, @@ -1009,12 +1012,12 @@ An issue in the &man.newfs.8; utility has been fixed. A UFS1 file system created with 64KB blocksize was incorrectly recognized as one with a broken - superblock. This is because &os; kernel checks UFS2 - superblock at 64KB offset in the partition first, and UFS1 - with 64KB blocksize has an alternative superblock at the same - location. For example, a file system created by - newfs -U -O 1 -b 65536 -f 8192 could lead - to this symptom. + superblock. This is because the &os; kernel checks a + partition first for a UFS2 superblock at 64KB offset while it + is possible that a UFS1 file systems with 64KB blocksize has + an alternative superblock at the same location. For example, + a file system created by newfs -U -O 1 -b 65536 -f + 8192 could lead to this symptom. The &man.hastd.8; utility now supports SIGHUP for reloading the configuration @@ -1035,9 +1038,9 @@ sequences and reverse ranges in the &man.jot.1; utility have been fixed. - The libarchive and - &man.tar.1; utility now support LZMA (Lempel-Ziv-Markov - chain-Algorithm) compression format. + The libarchive + library and &man.tar.1; utility now support LZMA + (Lempel-Ziv-Markov chain-Algorithm) compression format. The &man.tar.1; utility now supports a blocksize which is up to 8192 (4MB) in the @@ -1049,8 +1052,8 @@ has been fixed. The option in the - &man.mount.8; utility now displays rw mount - option correctly as in the &man.fstab.5; format. + &man.mount.8; utility now displays the rw + mount option correctly as in the &man.fstab.5; format. The &man.ncal.1; utility has been updated. The option has been replaced @@ -1073,7 +1076,7 @@ <include> for processing file inclusion. Globbing in the file name and circular dependency detection are supported. For more details, see - &man.newsyslog.conf.5; manual page. + the &man.newsyslog.conf.5; manual page. The &man.ntpd.8; utility is now compiled with shared memory reference clock driver. For example, GPS @@ -1136,7 +1139,7 @@ &prompt.user; < /dev/null & The &man.sleep.1; utility now supports - SIGINFO signal and reports the specified + the SIGINFO signal and reports the specified sleep time and the remaining time. The &man.tftp.1; and &man.tftpd.8; @@ -1159,11 +1162,11 @@ ^C in insert mode when reading an ex command. - The &man.watchdogd.8; program now set - MADV_PROTECT memory flag onto themselves to - protect from being terminated by the &os; kernel when - available memory becomes short. This kind of process - termination happens in a swap-intensive workload. + The &man.watchdogd.8; program now uses + MADV_PROTECT memory flag to protect itself + from being terminated by the &os; kernel when available memory + becomes short. This kind of process termination happens in a + swap-intensive workload. The set sharenfs command in the &man.zfs.8; utility now supports @@ -1227,7 +1230,7 @@ The &man.sysinstall.8; utility now attempts to enable &man.getty.8; on a serial port when no VGA - card on the system. + card is detected on the system. The supported version of the GNOME desktop environment From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 20:24:10 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A5B510656A4; Wed, 23 Feb 2011 20:24:10 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 88ACC8FC1E; Wed, 23 Feb 2011 20:24:10 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NKOAw4010211; Wed, 23 Feb 2011 20:24:10 GMT (envelope-from uqs@svn.freebsd.org) Received: (from uqs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NKOAwE010209; Wed, 23 Feb 2011 20:24:10 GMT (envelope-from uqs@svn.freebsd.org) Message-Id: <201102232024.p1NKOAwE010209@svn.freebsd.org> From: Ulrich Spoerlein Date: Wed, 23 Feb 2011 20:24:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218980 - stable/8/etc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 20:24:10 -0000 Author: uqs Date: Wed Feb 23 20:24:10 2011 New Revision: 218980 URL: http://svn.freebsd.org/changeset/base/218980 Log: MFH r218477: Fix termcap entry typo. Modified: stable/8/etc/termcap.small Directory Properties: stable/8/etc/ (props changed) Modified: stable/8/etc/termcap.small ============================================================================== --- stable/8/etc/termcap.small Wed Feb 23 20:13:07 2011 (r218979) +++ stable/8/etc/termcap.small Wed Feb 23 20:24:10 2011 (r218980) @@ -171,7 +171,7 @@ cons60l1|cons60-iso8859-1:\ cons60l1-m|cons60-iso8859-1-mono:\ :li#60:tc=cons25l1-m: # 132x25 ISO 8859-1 FreeBSD console -cons25l1-w|:cons25w-iso8859-1:\ +cons25l1-w|cons25w-iso8859-1:\ :co#132:tc=cons25l1: cons30l1-w|cons30w-iso8859-1:\ :co#132:tc=cons30l1: From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 20:24:21 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08B48106566C; Wed, 23 Feb 2011 20:24:21 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E6BC28FC14; Wed, 23 Feb 2011 20:24:20 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NKOKta010252; Wed, 23 Feb 2011 20:24:20 GMT (envelope-from uqs@svn.freebsd.org) Received: (from uqs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NKOKfG010250; Wed, 23 Feb 2011 20:24:20 GMT (envelope-from uqs@svn.freebsd.org) Message-Id: <201102232024.p1NKOKfG010250@svn.freebsd.org> From: Ulrich Spoerlein Date: Wed, 23 Feb 2011 20:24:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218981 - stable/7/etc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 20:24:21 -0000 Author: uqs Date: Wed Feb 23 20:24:20 2011 New Revision: 218981 URL: http://svn.freebsd.org/changeset/base/218981 Log: MFH r218477: Fix termcap entry typo. Modified: stable/7/etc/termcap.small Directory Properties: stable/7/etc/ (props changed) Modified: stable/7/etc/termcap.small ============================================================================== --- stable/7/etc/termcap.small Wed Feb 23 20:24:10 2011 (r218980) +++ stable/7/etc/termcap.small Wed Feb 23 20:24:20 2011 (r218981) @@ -171,7 +171,7 @@ cons60l1|cons60-iso8859-1:\ cons60l1-m|cons60-iso8859-1-mono:\ :li#60:tc=cons25l1-m: # 132x25 ISO 8859-1 FreeBSD console -cons25l1-w|:cons25w-iso8859-1:\ +cons25l1-w|cons25w-iso8859-1:\ :co#132:tc=cons25l1: cons30l1-w|cons30w-iso8859-1:\ :co#132:tc=cons30l1: From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 20:26:43 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86888106566C; Wed, 23 Feb 2011 20:26:43 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 747E18FC08; Wed, 23 Feb 2011 20:26:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NKQhGt010340; Wed, 23 Feb 2011 20:26:43 GMT (envelope-from hrs@svn.freebsd.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NKQhEJ010338; Wed, 23 Feb 2011 20:26:43 GMT (envelope-from hrs@svn.freebsd.org) Message-Id: <201102232026.p1NKQhEJ010338@svn.freebsd.org> From: Hiroki Sato Date: Wed, 23 Feb 2011 20:26:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218982 - stable/8/release/doc/en_US.ISO8859-1/relnotes X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 20:26:43 -0000 Author: hrs Date: Wed Feb 23 20:26:43 2011 New Revision: 218982 URL: http://svn.freebsd.org/changeset/base/218982 Log: More wording nit. Modified: stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml Modified: stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml ============================================================================== --- stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml Wed Feb 23 20:24:20 2011 (r218981) +++ stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml Wed Feb 23 20:26:43 2011 (r218982) @@ -1181,7 +1181,7 @@ A periodic script which can be used to find installed ports' files with mismatched checksum has been added. For more - details, see &man.periodic.conf.5; + details, see the &man.periodic.conf.5; manual page.
From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 20:50:42 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87E76106566C; Wed, 23 Feb 2011 20:50:42 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 744028FC12; Wed, 23 Feb 2011 20:50:42 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NKogBJ010991; Wed, 23 Feb 2011 20:50:42 GMT (envelope-from hrs@svn.freebsd.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NKogx5010987; Wed, 23 Feb 2011 20:50:42 GMT (envelope-from hrs@svn.freebsd.org) Message-Id: <201102232050.p1NKogx5010987@svn.freebsd.org> From: Hiroki Sato Date: Wed, 23 Feb 2011 20:50:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218983 - in stable/7/release/doc: en_US.ISO8859-1/errata share/sgml X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 20:50:42 -0000 Author: hrs Date: Wed Feb 23 20:50:42 2011 New Revision: 218983 URL: http://svn.freebsd.org/changeset/base/218983 Log: Update release documents for 7.4R. Document OpenSSL vuln was fixed and shlib version was decreased in Errata. Modified: stable/7/release/doc/en_US.ISO8859-1/errata/article.sgml stable/7/release/doc/share/sgml/release.dsl stable/7/release/doc/share/sgml/release.ent Modified: stable/7/release/doc/en_US.ISO8859-1/errata/article.sgml ============================================================================== --- stable/7/release/doc/en_US.ISO8859-1/errata/article.sgml Wed Feb 23 20:26:43 2011 (r218982) +++ stable/7/release/doc/en_US.ISO8859-1/errata/article.sgml Wed Feb 23 20:50:42 2011 (r218983) @@ -16,7 +16,7 @@ %release; - + ]>
@@ -40,7 +40,7 @@ $FreeBSD$ - 2010 + 2011 The &os; Documentation Project @@ -167,42 +167,28 @@ Late-Breaking News and Corrections - [20100402] The &os; 7.3-RELEASE Release Notes incorrectly - mentioned that a flag has been added to the - &man.ps.1; utility. It should have been a - flag. The correct entry is: - -
- The &man.ps.1; command now supports a new flag - . This displays descendant info with the - output similar to Linux's (or - ). -
- - [20100330] The libc of &os; 7.3-RELEASE - has the &man.fdopendir.3; function but - <dirent.h> header file does not - contain the function prototype. This could cause programs - compiled on the system to crash on platforms such as - &os;/&arch.amd64;, where sizeof(void *) is - greater than sizeof(int). This problem has - been fixed in r205265 - (RELENG_7). An Errata Notice for 7.3-RELEASE is - planned. - - [20100330] It turns out that the - zfsloader in 7.3-RELEASE, a new boot loader - similar to &man.loader.8; but it supports ZFS, does not work - properly. This problem has been fixed in r205539 - (RELENG_7). An Errata Notice for 7.3-RELEASE is - planned. - - [20100323] The &os; 7.3-RELEASE Release Notes incorrectly - mentioned that the &man.hwpmc.4; driver has been added though this - driver has already been added in 7.0-RELEASE. The changes in - 7.3-RELEASE are that &man.pmcannotate.8; utility and support for - Intel Core 2 and Core i7 have been added. + A bug in OpenSSL that could cause + it to parse past the end of the message was found at the late + stage of &release.bugfix; release process. The &release.bugfix; + includes a fix for this issue by importing relevant parts from + the OpenSSL CVS. This could be triggered by an incorrectly + formatted ClientHello SSL/TLS handshake messages. The details + can be found at . + + The shared object version numbers of + libcrypto and + libssl have been decreased from + 6 to 5. These are + accidentaly increased on 28 November, 2010 (r215997) as OpenSSL + 0.9.8p was merged. Note that this affects systems running + 7-STABLE after that date (after 7.3-RELEASE), not 7.3-RELEASE + and the security branch. Also note that in &os; + &release.bugfix;, the library files with the version number + 6 are still provided as symbolic links to + prevent binaries built in the time window with the accidentaly + increased version number from being broken after the system gets + updated to &release.bugfix;. +
Modified: stable/7/release/doc/share/sgml/release.dsl ============================================================================== --- stable/7/release/doc/share/sgml/release.dsl Wed Feb 23 20:26:43 2011 (r218982) +++ stable/7/release/doc/share/sgml/release.dsl Wed Feb 23 20:50:42 2011 (r218983) @@ -81,7 +81,7 @@ ((or (equal? arch #f) (equal? arch "") (equal? arch "all")) - (process-children-trim)) + (process-children-trim)) (else (make sequence (literal "[") @@ -95,7 +95,7 @@ (loop (car rest) (cdr rest))) (empty-sosofo)))) (literal "] ") - (process-children-trim)))) + (process-children-trim))))) (if (and (not (null? role)) (equal? role "merged")) (literal " [" merged-string "]") (empty-sosofo)))) @@ -118,7 +118,7 @@ ((or (equal? arch #f) (equal? arch "") (equal? arch "all")) - (process-children-trim)) + (process-children-trim)) (else (make sequence (literal "[") @@ -135,7 +135,7 @@ (process-children-trim)))) (if (and (not (null? role)) (equal? role "merged")) (literal " [" merged-string "]") - (empty-sosofo))))))) + (empty-sosofo)))))))) ]]> - + - - - - + - + - + - + - - + + - - + + - + @@ -53,6 +48,7 @@ + From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 21:17:38 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEB61106564A; Wed, 23 Feb 2011 21:17:38 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DD9A78FC12; Wed, 23 Feb 2011 21:17:38 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NLHcci011681; Wed, 23 Feb 2011 21:17:38 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NLHcuE011679; Wed, 23 Feb 2011 21:17:38 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102232117.p1NLHcuE011679@svn.freebsd.org> From: Dimitry Andric Date: Wed, 23 Feb 2011 21:17:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218984 - head/lib/librt X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 21:17:39 -0000 Author: dim Date: Wed Feb 23 21:17:38 2011 New Revision: 218984 URL: http://svn.freebsd.org/changeset/base/218984 Log: Fix the 32-bit build stage on amd64 when WITH_CTF is enabled. It seems ctfconvert will corrupt object files that are compiled with -g, if it is not run with -g itself. To fix it, remove -g from CFLAGS in lib/librt/Makefile. If you need to compile this library with debug info, use DEBUG_FLAGS=-g instead, which will work correctly, even when using WITH_CTF. Modified: head/lib/librt/Makefile Modified: head/lib/librt/Makefile ============================================================================== --- head/lib/librt/Makefile Wed Feb 23 20:50:42 2011 (r218983) +++ head/lib/librt/Makefile Wed Feb 23 21:17:38 2011 (r218984) @@ -6,7 +6,7 @@ CFLAGS+=-I${.CURDIR}/../libc/include -I$ .ifndef NO_THREAD_STACK_UNWIND CFLAGS+=-fexceptions .endif -CFLAGS+=-Winline -Wall -g +CFLAGS+=-Winline -Wall DPADD= ${LIBPTHREAD} LDADD= -lpthread From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 21:18:38 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 494701065673; Wed, 23 Feb 2011 21:18:38 +0000 (UTC) Date: Wed, 23 Feb 2011 21:18:38 +0000 From: Alexander Best To: Bruce Evans Message-ID: <20110223211838.GA27997@freebsd.org> References: <201102231256.p1NCuPHN056220@svn.freebsd.org> <20110223131228.GN78089@deviant.kiev.zoral.com.ua> <20110223135734.GA62693@freebsd.org> <20110224060300.S1008@besplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110224060300.S1008@besplex.bde.org> Cc: Kostik Belousov , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, John Baldwin Subject: Re: svn commit: r218967 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 21:18:38 -0000 On Thu Feb 24 11, Bruce Evans wrote: > On Wed, 23 Feb 2011, Alexander Best wrote: > > >On Wed Feb 23 11, Kostik Belousov wrote: > >>On Wed, Feb 23, 2011 at 12:56:25PM +0000, John Baldwin wrote: > >>>... > >>>Log: > >>> Fix off-by-one error in check against max_threads_per_proc. > >>> > >>> Submitted by: arundel > >>> MFC after: 1 week > >>> > >>>Modified: > >>> head/sys/kern/kern_thr.c > >>> > >>>Modified: head/sys/kern/kern_thr.c > >>>============================================================================== > >>>--- head/sys/kern/kern_thr.c Wed Feb 23 10:28:37 2011 (r218966) > >>>+++ head/sys/kern/kern_thr.c Wed Feb 23 12:56:25 2011 (r218967) > >>>@@ -153,7 +153,7 @@ create_thread(struct thread *td, mcontex > >>> p = td->td_proc; > >>> > >>> /* Have race condition but it is cheap. */ > >>>- if (p->p_numthreads >= max_threads_per_proc) { > >>>+ if (p->p_numthreads > max_threads_per_proc) { > >>> ++max_threads_hits; > >>> return (EPROCLIM); > >>> } > >> > >>I do not think there was off by one error. The create_thread() function > >>is called to create new thread, and before the process thread counter > >>is incremented in thread_link(). The old test tried to not allow more > >>then max_threads_per_proc threads in a process, now it allows to > >>create max_threads_per_proc. > > Actually, now it allows to create 1 more than max_threads_per_proc threads > in a process. > > >doesn't the semantics of the term "maximum" imply that it's own value is > >also > >valid? > > Yes. Not 1 more. the misconception on my side was that i thought a process had an initial thread count of zero. however since a process itself counts as a single thread and has a thread id, it's now obvious to me that with max_threads_per_proc=15000 a process should only be allowed to spawn 14999 new threads. thanks for clearing things up for the n3wb. ;) cheers. alex > > >if a sign says maximum weight 2000kg, does that mean that a weight of > >2000kg is > >invalid and the highest valid weight is 1999,999..kg? > > No. This means that if weights are always in units of kg, and are > represented > by indexes starting at index 0, then the highest valid index is 1999. But > if the index is a count of the number of kg's, then the highest valud index > is 2000. > > p->p_numthreads presumably matches its name, so it is a count of a number > of threads and not a thread number. > > Bruce -- a13x From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 21:20:26 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id D8DE5106564A; Wed, 23 Feb 2011 21:20:25 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: src-committers@FreeBSD.org Date: Wed, 23 Feb 2011 16:20:17 -0500 User-Agent: KMail/1.6.2 References: <201102232117.p1NLHcuE011679@svn.freebsd.org> In-Reply-To: <201102232117.p1NLHcuE011679@svn.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102231620.19755.jkim@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Dimitry Andric Subject: Re: svn commit: r218984 - head/lib/librt X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 21:20:26 -0000 On Wednesday 23 February 2011 04:17 pm, Dimitry Andric wrote: > Author: dim > Date: Wed Feb 23 21:17:38 2011 > New Revision: 218984 > URL: http://svn.freebsd.org/changeset/base/218984 > > Log: > Fix the 32-bit build stage on amd64 when WITH_CTF is enabled. It > seems ctfconvert will corrupt object files that are compiled with > -g, if it is not run with -g itself. > > To fix it, remove -g from CFLAGS in lib/librt/Makefile. If you > need to compile this library with debug info, use DEBUG_FLAGS=-g > instead, which will work correctly, even when using WITH_CTF. > > Modified: > head/lib/librt/Makefile > > Modified: head/lib/librt/Makefile > =================================================================== >=========== --- head/lib/librt/Makefile Wed Feb 23 20:50:42 > 2011 (r218983) +++ head/lib/librt/Makefile Wed Feb 23 21:17:38 > 2011 (r218984) @@ -6,7 +6,7 @@ CFLAGS+=-I${.CURDIR}/../libc/include > -I$ > .ifndef NO_THREAD_STACK_UNWIND > CFLAGS+=-fexceptions > .endif > -CFLAGS+=-Winline -Wall -g > +CFLAGS+=-Winline -Wall > DPADD= ${LIBPTHREAD} > LDADD= -lpthread Thanks! Jung-uk Kim From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 21:23:55 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41F6F106566B; Wed, 23 Feb 2011 21:23:55 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by mx1.freebsd.org (Postfix) with ESMTP id A0E878FC08; Wed, 23 Feb 2011 21:23:54 +0000 (UTC) Received: from c122-107-114-89.carlnfd1.nsw.optusnet.com.au (c122-107-114-89.carlnfd1.nsw.optusnet.com.au [122.107.114.89]) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p1NLNnOv016502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Feb 2011 08:23:51 +1100 Date: Thu, 24 Feb 2011 08:23:49 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Bruce Cran In-Reply-To: <201102231028.p1NASbET045275@svn.freebsd.org> Message-ID: <20110224063233.Y1100@besplex.bde.org> References: <201102231028.p1NASbET045275@svn.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218966 - head/sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 21:23:55 -0000 On Wed, 23 Feb 2011, Bruce Cran wrote: > Log: > Calculate and return the count in vmspace_swap_count as a vm_offset_t > instead of an int to avoid overflow. > > While here, clean up some style(9) issues. vm_offset_t should not be abused to hold a count. > PR: kern/152200 > Reviewed by: kib > MFC after: 2 weeks > > Modified: > head/sys/vm/swap_pager.c > head/sys/vm/vm_map.h > > Modified: head/sys/vm/swap_pager.c > ============================================================================== > --- head/sys/vm/swap_pager.c Wed Feb 23 09:22:33 2011 (r218965) > +++ head/sys/vm/swap_pager.c Wed Feb 23 10:28:37 2011 (r218966) > @@ -2420,23 +2420,24 @@ SYSCTL_NODE(_vm, OID_AUTO, swap_info, CT > * if the VM object has any swap use at all the associated map entries > * count for at least 1 swap page. > */ > -int > +vm_offset_t > vmspace_swap_count(struct vmspace *vmspace) This is a count in pages according to its comment. Thus vm_offset_t is neither necessary not sufficient for it. I'm not sure if all the pages are mapped into vm at once, in which case vm_offset_t could count them PAGE_SIZE times over and even int can count them PAGE_SIZE/2 times over on i386, or if there can be as many pages as swap can hold, in which case, in theory, vm_offset_t is accidentally large enough on 64 bit arches and still too small on 32-bit arches. But int is large enough in practice on all arches, since 16-bit ints are not supported and 32-bit ints can count 2**31 pages = 8 TB with a minimal PAGE_SIZE of 2**12. I don't know if there is any multiple or sparse mapping involved, but it would take a lot of it to use 8 TB. vm still uses plain u_int for most of its most critical (physical) page counters, starting with cnt.v_page_count for the total number of pages in the system. Thus it doesn't already have a page counter type. > { > - vm_map_t map = &vmspace->vm_map; > + vm_map_t map; > vm_map_entry_t cur; > - int count = 0; > + vm_object_t object; > + vm_offset_t count, n; > > - for (cur = map->header.next; cur != &map->header; cur = cur->next) { > - vm_object_t object; > + map = &vmspace->vm_map; > + count = 0; > > + for (cur = map->header.next; cur != &map->header; cur = cur->next) { > if ((cur->eflags & MAP_ENTRY_IS_SUB_MAP) == 0 && > (object = cur->object.vm_object) != NULL) { > VM_OBJECT_LOCK(object); > if (object->type == OBJT_SWAP && > object->un_pager.swp.swp_bcount != 0) { > - int n = (cur->end - cur->start) / PAGE_SIZE; > - > + n = (cur->end - cur->start) / PAGE_SIZE; > count += object->un_pager.swp.swp_bcount * > SWAP_META_PAGES * n / object->size + 1; The bug seems to have been overflow in this calculation. `start' and `end' have type vm_offset_t and large style bugs (missing prefixes in their names) so they are hard to grep for. When n is 32 bits int and PAGE_SIZE is 2**12, the assignment to n overflows at a difference of 8TB, but this probably can't happen (see above). swap_bcnt still has type int; SWAP_META_PAGES is 1, 2, 4, 8 or 16; thus swp_bcount * SWAP_META_PAGES may overflow at 2**31/16 = 128 M. If this doesn't overflow, but has its maximal value of about 128 M, then multiplying it by "int n" may overflow when n is just 32. Then, if nothing has overflowed, division by object->size reduces to a relatively small count in pages. object->size seems to have type vm_pindex_t which is 64 bits even on i386 (since it is associated with vm_ooffset_t and not vm_offset_t, and vm_ooffset_t must be 64 bits to support file of sizes >= 2GB although vm_pindex_t only needs to be more than 32 bits to support files of sizes >= 8 TB (with PAGE_SIZE = 2**12). object->size has even larger bugs than `start' and `end', since it is more global. Summary: all of (object->un_pager.swp.swp_bcount * SWAP_META_PAGES * n / object->size) was done in possibly-overflowing arithmetic using the inadequately large type int, except for the final division which is done using excessively large type vm_pindex_t. Changing one of the ints to vm_offset_t reduces the overflow possibilities a little. But the reduction is very little on i386, where the change is just from a 32 bit int to a 32 bit unsigned int. > Modified: head/sys/vm/vm_map.h > ============================================================================== > --- head/sys/vm/vm_map.h Wed Feb 23 09:22:33 2011 (r218965) > +++ head/sys/vm/vm_map.h Wed Feb 23 10:28:37 2011 (r218966) > @@ -380,6 +380,6 @@ int vm_map_unwire(vm_map_t map, vm_offse > int flags); > int vm_map_wire(vm_map_t map, vm_offset_t start, vm_offset_t end, > int flags); > -int vmspace_swap_count (struct vmspace *vmspace); > +vm_offset_t vmspace_swap_count(struct vmspace *vmspace); > #endif /* _KERNEL */ Maybe the critical overflows are actually in callers doing similarly buggy multiplications. The only caller seems to be vm_pageout_oom(). It abuses vm_offset_t to hold the result of the call ("vm_offset_t size, bigsize") and to accumulate counts returned by vmspace_resident_count(), which has another bogus type (long). vm has a type vm_size_t for holding sizes, but AFAIR this is in bytes and is only meant to be used for sizes of single objects, so it is unsuitable for use here. The file containing vm_pageout_oom() (vm_pageout.c) has a couple of other `size' variables, and uses the reasonable (but much larger than necessary, until 8 TB is a small amount of memory) type vm_pindex_t for them. The file vm_map.c contains dozens of `size' variables and almost as many choices of types for them :-(: (warning: the following is from "grep size vm_map.c" reduced a bit; there is not always quite enough context): % static int vmspace_zinit(void *mem, int size, int flags); % static void vmspace_zfini(void *mem, int size); % static void vm_map_zfini(void *mem, int size); % static void vm_map_zdtor(void *mem, int size, void *arg); % static void vmspace_zdtor(void *mem, int size, void *arg); Plain int may work, but is sloppy. % vm->vm_tsize = 0; % vm->vm_dsize = 0; % vm->vm_ssize = 0; Hmm, there may actually be standard type for sizes in pages. The above 3 have type segsz_t and are documented as being sizes in pages, with XXX's for the first 2. % (vm_size_t)(prev_entry->end - prev_entry->start), % (vm_size_t)(end - prev_entry->end), charge_prev_obj)) { Correct types, but bogus casts which were only needed for K&R compilers since we have prototypes in scope. % map->size += (end - prev_entry->end); Yet another `size' struct member with no prefix in its name. I think this is the one in struct vm_map. It has size vm_size_t, which seems to be correct. % new_entry->avail_ssize = 0; avail_size in struct vm_map_entry has the bogus type vm_offset_t, and the usual bad style. % map->size += new_entry->end - new_entry->start; % vm_map_findspace(vm_map_t map, vm_offset_t start, vm_size_t length, % vm_offset_t start, vm_size_t length, vm_prot_t prot, % vm_size_t length, int find_space, vm_prot_t prot, Apparently correct. % vm_size_t prevsize, esize; % prevsize = prev->end - prev->start; % (prev->offset + prevsize == entry->offset)) && % vm_map_entry_resize_free(map, entry->prev); % esize = entry->end - entry->start; % (entry->offset + esize == next->offset)) && % vm_map_entry_resize_free(map, entry); Apparently correct except for formatting. % vm_object_t object, vm_pindex_t pindex, vm_size_t size, int flags) % vm_pindex_t psize, tmpidx; Apparently correct. This is part of vm_map_pmap_enter()'s declarations. Anything that has to deal with pindex's has to be careful with types to work at all. % psize = atop(size); Another issue is whether macros like atop() work with arbitrary integer types for arguments. I added some upcasts in some of them, but it is not easy to find the right upcast, short of [u]intmax_t which may be excessive. jake@ preferred explicit cast in the macro invovations and used this a bit for PAE and sparc64. Here atop() MD and a right shift so there is no problem. But for the related ptoa(), on at least i386 it is just a left shift, so it won't work starting with a count in pages, of type anything reasonable except vm_pindex_t, iff the count in bytes exceeds 4GB (or 2GB starting with an uint). % vm_size_t size; % size = (end <= current->end ? end : current->end) - start; % vm_size_t tsize; % tsize = tentry->end - offset; As usual, vm_size_t is correct for internal sizes. % vm_pindex_t offidxstart, offidxend, count, size1; The count and size1 variables are poorly named at best. % vm_ooffset_t size; Might be correct. vm is generally careful to distinguish sizes from offset using vm_offset_t instead of vm_size_t, but there is nothing corresponding to vm_size_t for files, so off_t and vm_offset_t are often abused for sizes. This abuse becomes larger for sizes that are accumulations. % size1 = object->size; object->size has type vm_pindex_t, so we see that size_1 has the correct type % object->size = offidxstart; % size1 -= object->size; % KASSERT(object->charge >= ptoa(size1), and ptoa(size1) will work, size size1 has a large enough type but small enough value to not overflow the left shift. % swap_release_by_cred(ptoa(size1), object->cred); % object->charge -= ptoa(size1); Correct enough. The sizes become vm_ooffset_t's after ptoa(). ptoa() strictly doesn't change the type from vm_pindex_t, but both are int64_t. But if C's type checking were complete enough to complain about int vs vm_size_t mismatches, then it would also complain about this mismatch. BTW, I recently noticed that gdb is stricter about types than gcc -- I wanted to know what a type was, but "whatis" in gdb said that it was a foo_t when I wanted to know its basic type. % vm_offset_t size; % size = src_entry->end - src_entry->start; Seems incorrect. `size' is actually a size, not an offset, but its type is spelled with "offset". % src_object->charge = size; % *fork_charge += size; % *fork_charge += size; % *fork_charge += size; This accumulates multiple sizes of the bogus type vm_offset_t into the logically larger type vm_ooffset_t. % [...] Got bored here. Bruce From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 21:45:29 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ED6A106566C; Wed, 23 Feb 2011 21:45:29 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1DCA38FC0A; Wed, 23 Feb 2011 21:45:29 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1NLjTWq012351; Wed, 23 Feb 2011 21:45:29 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1NLjTq2012349; Wed, 23 Feb 2011 21:45:29 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102232145.p1NLjTq2012349@svn.freebsd.org> From: Bruce Cran Date: Wed, 23 Feb 2011 21:45:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218985 - head/sys/compat/ndis X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 21:45:29 -0000 Author: brucec Date: Wed Feb 23 21:45:28 2011 New Revision: 218985 URL: http://svn.freebsd.org/changeset/base/218985 Log: Use the cprd_mem field when setting the start and length for a memory resource - the layout of cprd_port is identical but using cprd_mem makes the code easier to understand. PR: kern/118493 Submitted by: Weongyo Jeong MFC after: 3 days Modified: head/sys/compat/ndis/kern_ndis.c Modified: head/sys/compat/ndis/kern_ndis.c ============================================================================== --- head/sys/compat/ndis/kern_ndis.c Wed Feb 23 21:17:38 2011 (r218984) +++ head/sys/compat/ndis/kern_ndis.c Wed Feb 23 21:45:28 2011 (r218985) @@ -591,9 +591,9 @@ ndis_convert_res(arg) CM_RESOURCE_MEMORY_READ_WRITE; prd->cprd_sharedisp = CmResourceShareDeviceExclusive; - prd->u.cprd_port.cprd_start.np_quad = + prd->u.cprd_mem.cprd_start.np_quad = brle->start; - prd->u.cprd_port.cprd_len = brle->count; + prd->u.cprd_mem.cprd_len = brle->count; break; case SYS_RES_IRQ: prd->cprd_type = CmResourceTypeInterrupt; From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 22:04:33 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 714A2106566B; Wed, 23 Feb 2011 22:04:33 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0E02C8FC17; Wed, 23 Feb 2011 22:04:32 +0000 (UTC) Received: from c122-107-114-89.carlnfd1.nsw.optusnet.com.au (c122-107-114-89.carlnfd1.nsw.optusnet.com.au [122.107.114.89]) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p1NM4Sln021350 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Feb 2011 09:04:30 +1100 Date: Thu, 24 Feb 2011 09:04:28 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Dimitry Andric In-Reply-To: <201102232117.p1NLHcuE011679@svn.freebsd.org> Message-ID: <20110224084812.F1571@besplex.bde.org> References: <201102232117.p1NLHcuE011679@svn.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218984 - head/lib/librt X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 22:04:33 -0000 On Wed, 23 Feb 2011, Dimitry Andric wrote: > Log: > Fix the 32-bit build stage on amd64 when WITH_CTF is enabled. It seems > ctfconvert will corrupt object files that are compiled with -g, if it is > not run with -g itself. > > To fix it, remove -g from CFLAGS in lib/librt/Makefile. If you need to > compile this library with debug info, use DEBUG_FLAGS=-g instead, which > will work correctly, even when using WITH_CTF. Hard-coded -g is a style bug, but I wonder if this works even with -g in DEBUG_FLAGS. This may be related to the bug that -g is broken if the compilation is via an intermediate asm file: "cc -g -o foo foo.c" != "cc -g -S foo.c; cc -g -o foo foo.s" The former works, but the latter gives: % Script started on Wed Feb 23 21:47:19 2011 % % pts/0:bde@ref9-i386:~/r> gdb foo % GNU gdb 6.1.1 [FreeBSD] % Copyright 2004 Free Software Foundation, Inc. % GDB is free software, covered by the GNU General Public License, and you are % welcome to change it and/or distribute copies of it under certain conditions. % Type "show copying" to see the conditions. % There is absolutely no warranty for GDB. Type "show warranty" for details. % This GDB was configured as "i386-marcel-freebsd"...Dwarf Error: Could not find abbrev number 47 [in module /dumpster/home/bde/r/foo] % % (gdb) q % pts/0:bde@ref9-i386:~/r> exit % % Script done on Wed Feb 23 21:47:24 2011 gdb also cannot find `main'. But if everything is compiled without -g, gdb can find `main'. Similarly with multiple files, some compiled via asm and some via (implicit) .o's. I haven't found an incantantion that works. The asm file contains lots of debugging info, but the info is apparently incomplete or invalid. The object file produced from the asm file differs from the one produced directly from the C file. Perhaps you already fixed this by importing newer binutils. Bruce From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 22:12:04 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AA4D106566C; Wed, 23 Feb 2011 22:12:04 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 897B48FC18; Wed, 23 Feb 2011 22:12:03 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id C41D0E8C0C; Wed, 23 Feb 2011 22:12:00 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=subject :from:to:cc:in-reply-to:references:content-type:date:message-id :mime-version; s=mail; bh=u0VbMArNTEVkKEZ5X9qW0UiSsEU=; b=ma45Vj NXRAL+Q9tvowizRr7kyw2dlTfyaTOT6wbuTFJH5JEC4VITSG/uUfWSTNeyVYz0ka 3kNdVbWwRqmuVM/WS6JkB8r/TsNqhXnqotUEvhHyvTPZ77sAQbD6nhgU/lMwIGYs y/WyFInentIXNizGMW+rXaoJsRdai185v/CFs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=subject:from :to:cc:in-reply-to:references:content-type:date:message-id :mime-version; q=dns; s=mail; b=p6vAMfbS9S42hymRyk22wJOmc63GJNHl I2l/i5ayapGqD//vbSlIfEivWq7bPYmwOysG7LIC8aA8bR0Kg64+R8/T4/0Crv/p dYzZhsQbYi5CPkozvQFpIQuSxgZJT28DqLOMFfmJuyZ/vWucfkdXpMqCrYJsoU57 9ElcYoQav9g= Received: from [192.168.0.10] (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 4F7E0E8BA7; Wed, 23 Feb 2011 22:12:00 +0000 (GMT) From: Bruce Cran To: Bruce Evans In-Reply-To: <20110224063233.Y1100@besplex.bde.org> References: <201102231028.p1NASbET045275@svn.freebsd.org> <20110224063233.Y1100@besplex.bde.org> Content-Type: multipart/mixed; boundary="=-JvNx3pbWdGVQz960ysnH" Date: Wed, 23 Feb 2011 22:11:56 +0000 Message-ID: <1298499116.9366.3.camel@core.nessbank> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Bruce Cran Subject: Re: svn commit: r218966 - head/sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 22:12:04 -0000 --=-JvNx3pbWdGVQz960ysnH Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Thu, 2011-02-24 at 08:23 +1100, Bruce Evans wrote: > The bug seems to have been overflow in this calculation. `start' and > `end' have type vm_offset_t and large style bugs (missing prefixes in > their names) so they are hard to grep for. When n is 32 bits int and > PAGE_SIZE is 2**12, the assignment to n overflows at a difference of 8TB, > but this probably can't happen (see above). swap_bcnt still has type > int; SWAP_META_PAGES is 1, 2, 4, 8 or 16; thus swp_bcount * SWAP_META_PAGES > may overflow at 2**31/16 = 128 M. If this doesn't overflow, but has its > maximal value of about 128 M, then multiplying it by "int n" may overflow > when n is just 32. Then, if nothing has overflowed, division by > object->size reduces to a relatively small count in pages. object->size > seems to have type vm_pindex_t which is 64 bits even on i386 (since it > is associated with vm_ooffset_t and not vm_offset_t, and vm_ooffset_t > must be 64 bits to support file of sizes >= 2GB although vm_pindex_t only > needs to be more than 32 bits to support files of sizes >= 8 TB (with > PAGE_SIZE = 2**12). object->size has even larger bugs than `start' and > `end', since it is more global. I've attached a patch which changes 'n' to be of type vm_ooffset_t. I think this should fix the overflow bug? -- Bruce Cran --=-JvNx3pbWdGVQz960ysnH Content-Disposition: attachment; filename="vm.diff" Content-Type: text/x-patch; name="vm.diff"; charset="us-ascii" Content-Transfer-Encoding: 7bit Index: swap_pager.c =================================================================== --- swap_pager.c (revision 218966) +++ swap_pager.c (working copy) @@ -2426,7 +2426,8 @@ vm_map_t map; vm_map_entry_t cur; vm_object_t object; - vm_offset_t count, n; + vm_ooffset_t n; + vm_offset_t count; map = &vmspace->vm_map; count = 0; --=-JvNx3pbWdGVQz960ysnH-- From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 22:13:14 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFBEB106564A; Wed, 23 Feb 2011 22:13:14 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail02.syd.optusnet.com.au (mail02.syd.optusnet.com.au [211.29.132.183]) by mx1.freebsd.org (Postfix) with ESMTP id 8B4E78FC1A; Wed, 23 Feb 2011 22:13:14 +0000 (UTC) Received: from c122-107-114-89.carlnfd1.nsw.optusnet.com.au (c122-107-114-89.carlnfd1.nsw.optusnet.com.au [122.107.114.89]) by mail02.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p1NMDC3Z005879 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Feb 2011 09:13:12 +1100 Date: Thu, 24 Feb 2011 09:13:12 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Bruce Evans In-Reply-To: <20110224084812.F1571@besplex.bde.org> Message-ID: <20110224090558.E1571@besplex.bde.org> References: <201102232117.p1NLHcuE011679@svn.freebsd.org> <20110224084812.F1571@besplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Dimitry Andric Subject: Re: svn commit: r218984 - head/lib/librt X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 22:13:15 -0000 PS: On Thu, 24 Feb 2011, Bruce Evans wrote: > This may be related to the bug that -g is broken if the compilation is > via an intermediate asm file: > > "cc -g -o foo foo.c" != "cc -g -S foo.c; cc -g -o foo foo.s" > > The former works, but the latter gives: > > % Script started on Wed Feb 23 21:47:19 2011 > % % pts/0:bde@ref9-i386:~/r> gdb foo > % GNU gdb 6.1.1 [FreeBSD] > % Copyright 2004 Free Software Foundation, Inc. > % GDB is free software, covered by the GNU General Public License, and you > are > % welcome to change it and/or distribute copies of it under certain > conditions. > % Type "show copying" to see the conditions. > % There is absolutely no warranty for GDB. Type "show warranty" for details. > % This GDB was configured as "i386-marcel-freebsd"...Dwarf Error: Could not > find abbrev number 47 [in module /dumpster/home/bde/r/foo] > % % (gdb) q > % pts/0:bde@ref9-i386:~/r> exit > % % Script done on Wed Feb 23 21:47:24 2011 > I haven't found an incantantion that works. The asm file contains lots > of debugging info, but the info is apparently incomplete or invalid. > The object file produced from the asm file differs from the one produced > directly from the C file. Now found it easly using gcc -v. gcc -c -v foo.c produces "... /usr/bin/as -o foo.o /var/tmp/whatever.s", but gcc -c -v foo.s produces "... /usr/bin/as -gdwarf2 -o foo.o foo.s". gcc's generation of -gdwarf2 is inconsistent with itself. Do we use a nonstandard not-gdwarf2 option for the usual case but forget to change this for asm files? Bruce From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 22:17:57 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1518B106566B; Wed, 23 Feb 2011 22:17:57 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id C70168FC12; Wed, 23 Feb 2011 22:17:56 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:1131:79f:9a2b:b0a3] (unknown [IPv6:2001:7b8:3a7:0:1131:79f:9a2b:b0a3]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D4C295C37; Wed, 23 Feb 2011 23:17:55 +0100 (CET) Message-ID: <4D65879C.8090607@FreeBSD.org> Date: Wed, 23 Feb 2011 23:18:04 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.15pre) Gecko/20110221 Lanikai/3.1.9pre MIME-Version: 1.0 To: Bruce Evans References: <201102232117.p1NLHcuE011679@svn.freebsd.org> <20110224084812.F1571@besplex.bde.org> In-Reply-To: <20110224084812.F1571@besplex.bde.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218984 - head/lib/librt X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 22:17:57 -0000 On 2011-02-23 23:04, Bruce Evans wrote: > Hard-coded -g is a style bug, but I wonder if this works even with -g in > DEBUG_FLAGS. Yes, it works, I tested it. The issue is that bsd.lib.mk contains this fragment: .if defined(WITH_CTF) .undef NO_CTF .endif .if defined(DEBUG_FLAGS) CFLAGS+= ${DEBUG_FLAGS} .if !defined(NO_CTF) && (${DEBUG_FLAGS:M-g} != "") CTFFLAGS+= -g .endif .endif E.g. if you put '-g' in CFLAGS, this fragment will fail to add the required '-g to CTFFLAGS. On the other hand, if you add '-g' to DEBUG_FLAGS, '-g' will be added to both CFLAGS and CTFFLAGS. > This may be related to the bug that -g is broken if the compilation is > via an intermediate asm file: > > "cc -g -o foo foo.c" != "cc -g -S foo.c; cc -g -o foo foo.s" > > The former works, but the latter gives: > > % Script started on Wed Feb 23 21:47:19 2011 > % > % pts/0:bde@ref9-i386:~/r> gdb foo > % GNU gdb 6.1.1 [FreeBSD] > % Copyright 2004 Free Software Foundation, Inc. > % GDB is free software, covered by the GNU General Public License, and you are > % welcome to change it and/or distribute copies of it under certain conditions. > % Type "show copying" to see the conditions. > % There is absolutely no warranty for GDB. Type "show warranty" for details. > % This GDB was configured as "i386-marcel-freebsd"...Dwarf Error: Could not find abbrev number 47 [in module /dumpster/home/bde/r/foo] > % > % (gdb) q > % pts/0:bde@ref9-i386:~/r> exit Seems to work fine here (tree as of r218915, so with binutils 2.17.50): $ cc -g -S hello.c $ cc -g hello.s -o hello $ file hello hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 9.0 (900033), not stripped $ gdb ./hello GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... (gdb) list 1 #include 2 3 int main(void) 4 { 5 puts("Hello World!"); 6 7 return 0; 8 } (gdb) > Perhaps you already fixed this by importing newer binutils. Apparently, yes. Maybe ref9-i386 should be updated again. :) From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 22:31:40 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D4C1106566C; Wed, 23 Feb 2011 22:31:40 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5AF978FC1B; Wed, 23 Feb 2011 22:31:40 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:1131:79f:9a2b:b0a3] (unknown [IPv6:2001:7b8:3a7:0:1131:79f:9a2b:b0a3]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 9C79C5C37; Wed, 23 Feb 2011 23:31:39 +0100 (CET) Message-ID: <4D658AD4.9020602@FreeBSD.org> Date: Wed, 23 Feb 2011 23:31:48 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.15pre) Gecko/20110221 Lanikai/3.1.9pre MIME-Version: 1.0 To: Bruce Evans References: <201102232117.p1NLHcuE011679@svn.freebsd.org> <20110224084812.F1571@besplex.bde.org> <20110224090558.E1571@besplex.bde.org> In-Reply-To: <20110224090558.E1571@besplex.bde.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218984 - head/lib/librt X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 22:31:40 -0000 On 2011-02-23 23:13, Bruce Evans wrote: > Now found it easly using gcc -v. gcc -c -v foo.c produces "... /usr/bin/as > -o foo.o /var/tmp/whatever.s", but gcc -c -v foo.s produces "... /usr/bin/as > -gdwarf2 -o foo.o foo.s". gcc's generation of -gdwarf2 is inconsistent > with itself. Do we use a nonstandard not-gdwarf2 option for the usual case > but forget to change this for asm files? I don't think so, but there is simply no need to pass '-g' in the gcc invocation that assembles and links the .s file, since the debug info is already embedded in the .s file itself. E.g. the following works just fine: $ cc -g -S hello.c $ cc -o hello hello.s $ file hello hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 9.0 (900033), not stripped $ gdb ./hello GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... (gdb) list 1 #include 2 3 int main(void) 4 { 5 puts("Hello World!"); 6 7 return 0; 8 } Apparently, if you use --gdwarf2 with GNU as 2.15, it messes up the already existing debug info. It looks like 2.17.50 has no such problem, though. From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 23:36:39 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8ABA610656A4; Wed, 23 Feb 2011 23:36:39 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au [211.29.132.188]) by mx1.freebsd.org (Postfix) with ESMTP id 24BE88FC17; Wed, 23 Feb 2011 23:36:38 +0000 (UTC) Received: from c122-107-114-89.carlnfd1.nsw.optusnet.com.au (c122-107-114-89.carlnfd1.nsw.optusnet.com.au [122.107.114.89]) by mail07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p1NNaUP4027761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Feb 2011 10:36:31 +1100 Date: Thu, 24 Feb 2011 10:36:30 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Bruce Cran In-Reply-To: <1298499116.9366.3.camel@core.nessbank> Message-ID: <20110224102112.P1871@besplex.bde.org> References: <201102231028.p1NASbET045275@svn.freebsd.org> <20110224063233.Y1100@besplex.bde.org> <1298499116.9366.3.camel@core.nessbank> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Bruce Evans , Bruce Cran Subject: Re: svn commit: r218966 - head/sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 23:36:39 -0000 On Wed, 23 Feb 2011, Bruce Cran wrote: > On Thu, 2011-02-24 at 08:23 +1100, Bruce Evans wrote: > >> The bug seems to have been overflow in this calculation. >> [swap_bcount * SWAP_META_PAGES * n / ] > > I've attached a patch which changes 'n' to be of type vm_ooffset_t. I > think this should fix the overflow bug? I don't like using vm_ooffset_t either. There are no offsets here, and it's bad technique to depend on having a large type to avoid overflows in expressions when the result type is different. I would cast operand(s) in the expression as necessary to prevent overflow of subexpressions. vm_pindex_t would work, but I prefer to use a type related to the subexpressions. Not sure what that is. Maybe just uintmax_t for safety (even that is not safe if the subexpressions have large values). So: (uintmax_t)swap_bcount * SWAP_META_PAGES * n / mumble. I like to cast only the leftmost term if possible, and depend on the larger type propagating to all subexpressions via left-to-right evaluation. This saves a lot of casts. Here this may be sub-optimal and we could probably delay the cast to the final multiplication, which reduces to the same safeness as using uintmax_t for n. Next, there is the return type to consider. I don't see why it needs to be changed from int. The patch in the PR actually changed it to long, while changing n to vm_offset_t. But on 32-bit machines, long is essentially the same as int, and vm_offset_t is not much larger. Even 32-bit machine might actually need a type larger than 32 bits to prevent overflow in expressions like the above. Bruce From owner-svn-src-all@FreeBSD.ORG Wed Feb 23 23:50:11 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56306106564A; Wed, 23 Feb 2011 23:50:11 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail06.syd.optusnet.com.au (mail06.syd.optusnet.com.au [211.29.132.187]) by mx1.freebsd.org (Postfix) with ESMTP id CA0AA8FC0A; Wed, 23 Feb 2011 23:50:10 +0000 (UTC) Received: from c122-107-114-89.carlnfd1.nsw.optusnet.com.au (c122-107-114-89.carlnfd1.nsw.optusnet.com.au [122.107.114.89]) by mail06.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p1NNo7tU019463 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Feb 2011 10:50:07 +1100 Date: Thu, 24 Feb 2011 10:50:07 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Dimitry Andric In-Reply-To: <4D658AD4.9020602@FreeBSD.org> Message-ID: <20110224103713.I1871@besplex.bde.org> References: <201102232117.p1NLHcuE011679@svn.freebsd.org> <20110224084812.F1571@besplex.bde.org> <20110224090558.E1571@besplex.bde.org> <4D658AD4.9020602@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Bruce Evans Subject: Re: svn commit: r218984 - head/lib/librt X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 23:50:11 -0000 On Wed, 23 Feb 2011, Dimitry Andric wrote: > On 2011-02-23 23:13, Bruce Evans wrote: >> Now found it easly using gcc -v. gcc -c -v foo.c produces "... /usr/bin/as >> -o foo.o /var/tmp/whatever.s", but gcc -c -v foo.s produces "... >> /usr/bin/as >> -gdwarf2 -o foo.o foo.s". gcc's generation of -gdwarf2 is inconsistent >> with itself. Do we use a nonstandard not-gdwarf2 option for the usual case >> but forget to change this for asm files? > > I don't think so, but there is simply no need to pass '-g' in the gcc > invocation that assembles and links the .s file, since the debug info is > already embedded in the .s file itself. Except I want to write "cc ${CFLAGS} -o foo *.s *.c [*.o]" and not have variant ${CFLAGS} for *.s and *.c. It is a nice feature of cc that you can use the same ${CFLAGS} for *.[cos...] in most contexts, and FreeBSD .mk files depend on this. > Apparently, if you use --gdwarf2 with GNU as 2.15, it messes up the > already existing debug info. It looks like 2.17.50 has no such problem, > though. So we won't worry much about this. Does new binutils/as completely ignore --gdwarf2 iff the asm file already has suitable debugging info? I would have expected at least an error message if the debugging info says --gother and you try to add or change to --gdwarf2. Normal debugging info doesn't seem to have any id to distinguish its type. Bruce From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 06:28:49 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00253106564A; Thu, 24 Feb 2011 06:28:48 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E26288FC17; Thu, 24 Feb 2011 06:28:48 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1O6Sm9X024502; Thu, 24 Feb 2011 06:28:48 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1O6Smi3024500; Thu, 24 Feb 2011 06:28:48 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201102240628.p1O6Smi3024500@svn.freebsd.org> From: Doug Barton Date: Thu, 24 Feb 2011 06:28:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218986 - head/etc/rc.d X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 06:28:49 -0000 Author: dougb Date: Thu Feb 24 06:28:48 2011 New Revision: 218986 URL: http://svn.freebsd.org/changeset/base/218986 Log: The new accounting file needs to be 644 so that unprivileged users can use lastcomm(1) Modified: head/etc/rc.d/accounting Modified: head/etc/rc.d/accounting ============================================================================== --- head/etc/rc.d/accounting Wed Feb 23 21:45:28 2011 (r218985) +++ head/etc/rc.d/accounting Thu Feb 24 06:28:48 2011 (r218986) @@ -58,6 +58,7 @@ accounting_rotate_log() if checkyesno accounting_enable; then _file=`mktemp newacct-XXXXX` + chmod 644 $_file ${accounting_command} ${_dir}/${_file} fi From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 09:12:46 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 739EF106566C; Thu, 24 Feb 2011 09:12:46 +0000 (UTC) (envelope-from pluknet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6228F8FC13; Thu, 24 Feb 2011 09:12:46 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1O9Ck54029815; Thu, 24 Feb 2011 09:12:46 GMT (envelope-from pluknet@svn.freebsd.org) Received: (from pluknet@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1O9CjLe029812; Thu, 24 Feb 2011 09:12:45 GMT (envelope-from pluknet@svn.freebsd.org) Message-Id: <201102240912.p1O9CjLe029812@svn.freebsd.org> From: Sergey Kandaurov Date: Thu, 24 Feb 2011 09:12:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218987 - stable/8/bin/kenv X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 09:12:46 -0000 Author: pluknet Date: Thu Feb 24 09:12:45 2011 New Revision: 218987 URL: http://svn.freebsd.org/changeset/base/218987 Log: MFC r218917: mdoc(7) markup. Approved by: avg (mentor) Modified: stable/8/bin/kenv/kenv.1 Directory Properties: stable/8/bin/kenv/ (props changed) Modified: stable/8/bin/kenv/kenv.1 ============================================================================== --- stable/8/bin/kenv/kenv.1 Thu Feb 24 06:28:48 2011 (r218986) +++ stable/8/bin/kenv/kenv.1 Thu Feb 24 09:12:45 2011 (r218987) @@ -69,7 +69,7 @@ option is set, warnings normally printed perform the requested operation will be suppressed. .Pp Variables can be added to the kernel environment using the -.Xr /boot/loader.conf +.Pa /boot/loader.conf file, or also statically compiled into the kernel using the statement .Pp .Dl Ic env Ar filename From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 09:13:47 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABA3D106564A; Thu, 24 Feb 2011 09:13:47 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9974D8FC0A; Thu, 24 Feb 2011 09:13:47 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1O9Dlx9029883; Thu, 24 Feb 2011 09:13:47 GMT (envelope-from hselasky@svn.freebsd.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1O9DlGY029878; Thu, 24 Feb 2011 09:13:47 GMT (envelope-from hselasky@svn.freebsd.org) Message-Id: <201102240913.p1O9DlGY029878@svn.freebsd.org> From: Hans Petter Selasky Date: Thu, 24 Feb 2011 09:13:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218988 - in head/sys/dev: sound/usb usb usb/quirk X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 09:13:47 -0000 Author: hselasky Date: Thu Feb 24 09:13:47 2011 New Revision: 218988 URL: http://svn.freebsd.org/changeset/base/218988 Log: - Add support for some non-standard USB MIDI devices from Roland, by means of allowing vendor specific interface class for audio and MIDI devices. - Add new quirks for this. The vendor and product list in OpenBSD's dev/usb/umidi_quirks.c was used as reference. MFC after: 14 days Approved by: thompsa (mentor) Modified: head/sys/dev/sound/usb/uaudio.c head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/quirk/usb_quirk.h head/sys/dev/usb/usbdevs Modified: head/sys/dev/sound/usb/uaudio.c ============================================================================== --- head/sys/dev/sound/usb/uaudio.c Thu Feb 24 09:12:45 2011 (r218987) +++ head/sys/dev/sound/usb/uaudio.c Thu Feb 24 09:13:47 2011 (r218988) @@ -265,6 +265,7 @@ struct uaudio_softc { uint8_t sc_uq_au_inp_async:1; uint8_t sc_uq_au_no_xu:1; uint8_t sc_uq_bad_adc:1; + uint8_t sc_uq_au_vendor_class:1; }; struct uaudio_search_result { @@ -401,8 +402,8 @@ static int umidi_open(struct usb_fifo *, static int umidi_ioctl(struct usb_fifo *, u_long cmd, void *, int); static void umidi_close(struct usb_fifo *, int); static void umidi_init(device_t dev); -static int32_t umidi_probe(device_t dev); -static int32_t umidi_detach(device_t dev); +static int umidi_probe(device_t dev); +static int umidi_detach(device_t dev); #ifdef USB_DEBUG static void uaudio_chan_dump_ep_desc( @@ -541,10 +542,16 @@ uaudio_probe(device_t dev) if (uaa->use_generic == 0) return (ENXIO); - /* trigger on the control interface */ + /* lookup non-standard device */ - if ((uaa->info.bInterfaceClass == UICLASS_AUDIO) && - (uaa->info.bInterfaceSubClass == UISUBCLASS_AUDIOCONTROL)) { + if (uaa->info.bInterfaceClass != UICLASS_AUDIO) { + if (usb_test_quirk(uaa, UQ_AU_VENDOR_CLASS) == 0) + return (ENXIO); + } + + /* check for AUDIO control interface */ + + if (uaa->info.bInterfaceSubClass == UISUBCLASS_AUDIOCONTROL) { if (usb_test_quirk(uaa, UQ_BAD_AUDIO)) return (ENXIO); else @@ -553,9 +560,11 @@ uaudio_probe(device_t dev) /* check for MIDI stream */ - if ((uaa->info.bInterfaceClass == UICLASS_AUDIO) && - (uaa->info.bInterfaceSubClass == UISUBCLASS_MIDISTREAM)) { - return (0); + if (uaa->info.bInterfaceSubClass == UISUBCLASS_MIDISTREAM) { + if (usb_test_quirk(uaa, UQ_BAD_MIDI)) + return (ENXIO); + else + return (0); } return (ENXIO); } @@ -586,6 +595,9 @@ uaudio_attach(device_t dev) if (usb_test_quirk(uaa, UQ_BAD_ADC)) sc->sc_uq_bad_adc = 1; + if (usb_test_quirk(uaa, UQ_AU_VENDOR_CLASS)) + sc->sc_uq_au_vendor_class = 1; + umidi_init(dev); device_set_usb_desc(dev); @@ -800,6 +812,7 @@ uaudio_chan_fill_info_sub(struct uaudio_ uint8_t bBitResolution; uint8_t x; uint8_t audio_if = 0; + uint8_t uma_if_class; while ((desc = usb_desc_foreach(cd, desc))) { @@ -817,19 +830,22 @@ uaudio_chan_fill_info_sub(struct uaudio_ alt_index++; } - if ((id->bInterfaceClass == UICLASS_AUDIO) && - (id->bInterfaceSubClass == UISUBCLASS_AUDIOSTREAM)) { + uma_if_class = + ((id->bInterfaceClass == UICLASS_AUDIO) || + ((id->bInterfaceClass == UICLASS_VENDOR) && + (sc->sc_uq_au_vendor_class != 0))); + + if ((uma_if_class != 0) && (id->bInterfaceSubClass == UISUBCLASS_AUDIOSTREAM)) { audio_if = 1; } else { audio_if = 0; } - if ((id->bInterfaceClass == UICLASS_AUDIO) && + if ((uma_if_class != 0) && (id->bInterfaceSubClass == UISUBCLASS_MIDISTREAM)) { /* * XXX could allow multiple MIDI interfaces - * XXX */ if ((sc->sc_midi_chan.valid == 0) && @@ -1340,7 +1356,8 @@ uaudio_chan_init(struct uaudio_softc *sc usbd_errstr(err)); goto error; } - usbd_set_parent_iface(sc->sc_udev, iface_index, sc->sc_mixer_iface_index); + usbd_set_parent_iface(sc->sc_udev, iface_index, + sc->sc_mixer_iface_index); /* * If just one sampling rate is supported, @@ -3705,7 +3722,7 @@ static struct usb_fifo_methods umidi_fif .basename[0] = "umidi", }; -static int32_t +static int umidi_probe(device_t dev) { struct uaudio_softc *sc = device_get_softc(dev); @@ -3770,7 +3787,7 @@ detach: return (ENXIO); /* failure */ } -static int32_t +static int umidi_detach(device_t dev) { struct uaudio_softc *sc = device_get_softc(dev); Modified: head/sys/dev/usb/quirk/usb_quirk.c ============================================================================== --- head/sys/dev/usb/quirk/usb_quirk.c Thu Feb 24 09:12:45 2011 (r218987) +++ head/sys/dev/usb/quirk/usb_quirk.c Thu Feb 24 09:13:47 2011 (r218988) @@ -94,11 +94,7 @@ static struct usb_quirk_entry usb_quirks USB_QUIRK(SILICONPORTALS, YAPPHONE, 0x100, 0x100, UQ_AU_INP_ASYNC), USB_QUIRK(LOGITECH, UN53B, 0x0000, 0xffff, UQ_NO_STRINGS), USB_QUIRK(ELSA, MODEM1, 0x0000, 0xffff, UQ_CFG_INDEX_1), - - /* - * XXX The following quirks should have a more specific revision - * number: - */ + /* Quirks for printer devices */ USB_QUIRK(HP, 895C, 0x0000, 0xffff, UQ_BROKEN_BIDIR), USB_QUIRK(HP, 880C, 0x0000, 0xffff, UQ_BROKEN_BIDIR), USB_QUIRK(HP, 815C, 0x0000, 0xffff, UQ_BROKEN_BIDIR), @@ -458,6 +454,24 @@ static struct usb_quirk_entry usb_quirks USB_QUIRK(CHIPSBANK, USBMEMSTICK, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), USB_QUIRK(CHIPSBANK, USBMEMSTICK1, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), USB_QUIRK(NEWLINK, USB2IDEBRIDGE, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), + + /* Non-standard USB MIDI devices */ + USB_QUIRK(ROLAND, UM1, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, SC8850, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, SD90, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, UM880N, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, UA100, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, UM4, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, U8, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, UM2, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, SC8820, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, PC300, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, SK500, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, SCD70, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, UM550, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, SD20, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, SD80, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), + USB_QUIRK(ROLAND, UA700, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), }; #undef USB_QUIRK_VP #undef USB_QUIRK @@ -522,6 +536,8 @@ static const char *usb_quirk_str[USB_QUI [UQ_MSC_EJECT_SAEL_M460] = "UQ_MSC_EJECT_SAEL_M460", [UQ_MSC_EJECT_HUAWEISCSI] = "UQ_MSC_EJECT_HUAWEISCSI", [UQ_MSC_EJECT_TCT] = "UQ_MSC_EJECT_TCT", + [UQ_BAD_MIDI] = "UQ_BAD_MIDI", + [UQ_AU_VENDOR_CLASS] = "UQ_AU_VENDOR_CLASS", }; /*------------------------------------------------------------------------* Modified: head/sys/dev/usb/quirk/usb_quirk.h ============================================================================== --- head/sys/dev/usb/quirk/usb_quirk.h Thu Feb 24 09:12:45 2011 (r218987) +++ head/sys/dev/usb/quirk/usb_quirk.h Thu Feb 24 09:13:47 2011 (r218988) @@ -100,6 +100,9 @@ enum { UQ_MSC_EJECT_HUAWEISCSI, /* ejects after Huawei SCSI command */ UQ_MSC_EJECT_TCT, /* ejects after TCT SCSI command */ + UQ_BAD_MIDI, /* device claims MIDI class, but isn't */ + UQ_AU_VENDOR_CLASS, /* audio device uses vendor and not audio class */ + USB_QUIRK_MAX }; Modified: head/sys/dev/usb/usbdevs ============================================================================== --- head/sys/dev/usb/usbdevs Thu Feb 24 09:12:45 2011 (r218987) +++ head/sys/dev/usb/usbdevs Thu Feb 24 09:13:47 2011 (r218988) @@ -2782,9 +2782,23 @@ product RICOH VGPVCC8 0x183b VGP-VCC8 C product REINERSCT CYBERJACK_ECOM 0x0100 e-com cyberJack /* Roland products */ +product ROLAND UA100 0x0000 UA-100 Audio I/F +product ROLAND UM4 0x0002 UM-4 MIDI I/F +product ROLAND SC8850 0x0003 SC-8850 MIDI Synth +product ROLAND U8 0x0004 U-8 Audio I/F +product ROLAND UM2 0x0005 UM-2 MIDI I/F +product ROLAND SC8820 0x0007 SC-8820 MIDI Synth +product ROLAND PC300 0x0008 PC-300 MIDI Keyboard product ROLAND UM1 0x0009 UM-1 MIDI I/F +product ROLAND SK500 0x000b SK-500 MIDI Keyboard +product ROLAND SCD70 0x000c SC-D70 MIDI Synth product ROLAND UM880N 0x0014 EDIROL UM-880 MIDI I/F (native) product ROLAND UM880G 0x0015 EDIROL UM-880 MIDI I/F (generic) +product ROLAND SD90 0x0016 SD-90 MIDI Synth +product ROLAND UM550 0x0023 UM-550 MIDI I/F +product ROLAND SD20 0x0027 SD-20 MIDI Synth +product ROLAND SD80 0x0029 SD-80 MIDI Synth +product ROLAND UA700 0x002b UA-700 Audio I/F /* Rockfire products */ product ROCKFIRE GAMEPAD 0x2033 gamepad 203USB @@ -3394,10 +3408,11 @@ product XYRATEX PRISM_GT_2 0x2002 PrismG /* Yamaha products */ product YAMAHA UX256 0x1000 UX256 MIDI I/F product YAMAHA UX96 0x1008 UX96 MIDI I/F +product YAMAHA RPU200 0x3104 RP-U200 product YAMAHA RTA54I 0x4000 NetVolante RTA54i Broadband&ISDN Router -product YAMAHA RTA55I 0x4004 NetVolante RTA55i Broadband VoIP Router product YAMAHA RTW65B 0x4001 NetVolante RTW65b Broadband Wireless Router product YAMAHA RTW65I 0x4002 NetVolante RTW65i Broadband&ISDN Wireless Router +product YAMAHA RTA55I 0x4004 NetVolante RTA55i Broadband VoIP Router /* Yano products */ product YANO U640MO 0x0101 U640MO-03 From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 09:22:57 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30A8C1065698; Thu, 24 Feb 2011 09:22:57 +0000 (UTC) (envelope-from pluknet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6CA8FC16; Thu, 24 Feb 2011 09:22:57 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1O9MvLU030212; Thu, 24 Feb 2011 09:22:57 GMT (envelope-from pluknet@svn.freebsd.org) Received: (from pluknet@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1O9MuEk030209; Thu, 24 Feb 2011 09:22:56 GMT (envelope-from pluknet@svn.freebsd.org) Message-Id: <201102240922.p1O9MuEk030209@svn.freebsd.org> From: Sergey Kandaurov Date: Thu, 24 Feb 2011 09:22:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218989 - in head: lib/libc/sys sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 09:22:57 -0000 Author: pluknet Date: Thu Feb 24 09:22:56 2011 New Revision: 218989 URL: http://svn.freebsd.org/changeset/base/218989 Log: Remove sysctl vm.max_proc_mmap used to protect from KVA space exhaustion. As it was pointed out by Alan Cox, that no longer serves its purpose with the modern UMA allocator compared to the old one used in 4.x days. The removal of sysctl eliminates max_proc_mmap type overflow leading to the broken mmap(2) seen with large amount of physical memory on arches with factually unbound KVA space (such as amd64). It was found that slightly less than 256GB of physmem was enough to trigger the overflow. Reviewed by: alc, kib Approved by: avg (mentor) MFC after: 2 months Modified: head/lib/libc/sys/mmap.2 head/sys/vm/vm_mmap.c Modified: head/lib/libc/sys/mmap.2 ============================================================================== --- head/lib/libc/sys/mmap.2 Thu Feb 24 09:13:47 2011 (r218988) +++ head/lib/libc/sys/mmap.2 Thu Feb 24 09:22:56 2011 (r218989) @@ -346,9 +346,6 @@ was specified and the argument was not available. .Dv MAP_ANON was specified and insufficient memory was available. -The system has reached the per-process mmap limit specified in the -.Va vm.max_proc_mmap -sysctl. .El .Sh SEE ALSO .Xr madvise 2 , Modified: head/sys/vm/vm_mmap.c ============================================================================== --- head/sys/vm/vm_mmap.c Thu Feb 24 09:13:47 2011 (r218988) +++ head/sys/vm/vm_mmap.c Thu Feb 24 09:22:56 2011 (r218989) @@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include @@ -66,7 +65,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include @@ -80,7 +78,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #ifdef HWPMC_HOOKS #include @@ -92,30 +89,6 @@ struct sbrk_args { }; #endif -static int max_proc_mmap; -SYSCTL_INT(_vm, OID_AUTO, max_proc_mmap, CTLFLAG_RW, &max_proc_mmap, 0, - "Maximum number of memory-mapped files per process"); - -/* - * Set the maximum number of vm_map_entry structures per process. Roughly - * speaking vm_map_entry structures are tiny, so allowing them to eat 1/100 - * of our KVM malloc space still results in generous limits. We want a - * default that is good enough to prevent the kernel running out of resources - * if attacked from compromised user account but generous enough such that - * multi-threaded processes are not unduly inconvenienced. - */ -static void vmmapentry_rsrc_init(void *); -SYSINIT(vmmersrc, SI_SUB_KVM_RSRC, SI_ORDER_FIRST, vmmapentry_rsrc_init, - NULL); - -static void -vmmapentry_rsrc_init(dummy) - void *dummy; -{ - max_proc_mmap = vm_kmem_size / sizeof(struct vm_map_entry); - max_proc_mmap /= 100; -} - static int vm_mmap_vnode(struct thread *, vm_size_t, vm_prot_t, vm_prot_t *, int *, struct vnode *, vm_ooffset_t *, vm_object_t *); static int vm_mmap_cdev(struct thread *, vm_size_t, vm_prot_t, vm_prot_t *, @@ -377,18 +350,6 @@ mmap(td, uap) handle_type = OBJT_VNODE; } map: - - /* - * Do not allow more then a certain number of vm_map_entry structures - * per process. Scale with the number of rforks sharing the map - * to make the limit reasonable for threads. - */ - if (max_proc_mmap && - vms->vm_map.nentries >= max_proc_mmap * vms->vm_refcnt) { - error = ENOMEM; - goto done; - } - td->td_fpop = fp; error = vm_mmap(&vms->vm_map, &addr, size, prot, maxprot, flags, handle_type, handle, pos); From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 10:11:30 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AAA81065670; Thu, 24 Feb 2011 10:11:30 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 198B98FC1F; Thu, 24 Feb 2011 10:11:30 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OABTUD033387; Thu, 24 Feb 2011 10:11:29 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OABTFv033384; Thu, 24 Feb 2011 10:11:29 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201102241011.p1OABTFv033384@svn.freebsd.org> From: Konstantin Belousov Date: Thu, 24 Feb 2011 10:11:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218990 - in stable/8: etc/mtree include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 10:11:30 -0000 Author: kib Date: Thu Feb 24 10:11:29 2011 New Revision: 218990 URL: http://svn.freebsd.org/changeset/base/218990 Log: MFC r218772: Install iodev.h. Modified: stable/8/etc/mtree/BSD.include.dist stable/8/include/Makefile Directory Properties: stable/8/etc/ (props changed) stable/8/include/ (props changed) Modified: stable/8/etc/mtree/BSD.include.dist ============================================================================== --- stable/8/etc/mtree/BSD.include.dist Thu Feb 24 09:22:56 2011 (r218989) +++ stable/8/etc/mtree/BSD.include.dist Thu Feb 24 10:11:29 2011 (r218990) @@ -102,6 +102,8 @@ .. iicbus .. + io + .. lmc .. mfi Modified: stable/8/include/Makefile ============================================================================== --- stable/8/include/Makefile Thu Feb 24 09:22:56 2011 (r218989) +++ stable/8/include/Makefile Thu Feb 24 10:11:29 2011 (r218990) @@ -40,7 +40,7 @@ LDIRS= bsm cam geom net net80211 netatal LSUBDIRS= cam/ata cam/scsi \ dev/acpica dev/an dev/bktr dev/firewire dev/hwpmc \ - dev/ic dev/iicbus ${_dev_ieee488} dev/lmc dev/mfi dev/ofw \ + dev/ic dev/iicbus ${_dev_ieee488} dev/io dev/lmc dev/mfi dev/ofw \ dev/pbio ${_dev_powermac_nvram} dev/ppbus dev/smbus \ dev/speaker dev/usb dev/utopia dev/vkbd dev/wi \ fs/devfs fs/fdescfs fs/fifofs fs/msdosfs fs/nfs fs/ntfs fs/nullfs \ From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 10:21:26 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B7AA106564A; Thu, 24 Feb 2011 10:21:26 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5B3E78FC12; Thu, 24 Feb 2011 10:21:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OALQYS033725; Thu, 24 Feb 2011 10:21:26 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OALQE8033723; Thu, 24 Feb 2011 10:21:26 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201102241021.p1OALQE8033723@svn.freebsd.org> From: Pietro Cerutti Date: Thu, 24 Feb 2011 10:21:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218991 - head/share/man/man3 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 10:21:26 -0000 Author: gahr (ports committer) Date: Thu Feb 24 10:21:26 2011 New Revision: 218991 URL: http://svn.freebsd.org/changeset/base/218991 Log: - Fix typo Approved by: davidxu Modified: head/share/man/man3/pthread_rwlock_timedwrlock.3 Modified: head/share/man/man3/pthread_rwlock_timedwrlock.3 ============================================================================== --- head/share/man/man3/pthread_rwlock_timedwrlock.3 Thu Feb 24 10:11:29 2011 (r218990) +++ head/share/man/man3/pthread_rwlock_timedwrlock.3 Thu Feb 24 10:21:26 2011 (r218991) @@ -77,7 +77,7 @@ The lock could not be acquired before th .El .Pp The -.Fn pthread_rwlock_timedrwlock +.Fn pthread_rwlock_timedwrlock function may fail if: .Bl -tag -width Er .It Bq Er EDEADLK From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 10:23:24 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 565BB1065695; Thu, 24 Feb 2011 10:23:24 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4104A8FC18; Thu, 24 Feb 2011 10:23:24 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OANOaK033897; Thu, 24 Feb 2011 10:23:24 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OANMN8033816; Thu, 24 Feb 2011 10:23:22 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102241023.p1OANMN8033816@svn.freebsd.org> From: Bruce Cran Date: Thu, 24 Feb 2011 10:23:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218992 - in stable/8: bin/df bin/sh lib/libc/arm/gen lib/libc/ia64/gen lib/libc/mips/gen lib/libc/powerpc/gen sys/amd64/amd64 sys/arm/xscale/i80321 sys/boot/ficl sys/cam sys/cam/scsi s... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 10:23:24 -0000 Author: brucec Date: Thu Feb 24 10:23:22 2011 New Revision: 218992 URL: http://svn.freebsd.org/changeset/base/218992 Log: MFC r218909: Fix typos - remove duplicate "the". PR: bin/154928 Submitted by: Eitan Adler Modified: stable/8/bin/df/df.c stable/8/bin/sh/expand.c stable/8/lib/libc/arm/gen/modf.c stable/8/lib/libc/ia64/gen/modf.c stable/8/lib/libc/mips/gen/modf.c stable/8/lib/libc/powerpc/gen/modf.c stable/8/sys/amd64/amd64/trap.c stable/8/sys/arm/xscale/i80321/iq80321.c stable/8/sys/boot/ficl/words.c stable/8/sys/cam/cam_xpt.c stable/8/sys/cam/scsi/scsi_sa.c stable/8/sys/cddl/dev/dtrace/amd64/dtrace_subr.c stable/8/sys/cddl/dev/dtrace/i386/dtrace_subr.c stable/8/sys/compat/ndis/subr_ntoskrnl.c stable/8/sys/dev/advansys/adwcam.c stable/8/sys/dev/aic7xxx/aic79xx_osm.h stable/8/sys/dev/aic7xxx/aic7xxx_osm.h stable/8/sys/dev/asr/i2omsg.h stable/8/sys/dev/bktr/bktr_card.c stable/8/sys/dev/ctau/ctau.c stable/8/sys/dev/ctau/ctddk.h stable/8/sys/dev/cxgb/cxgb_main.c stable/8/sys/dev/drm/mach64_dma.c stable/8/sys/dev/drm/r300_reg.h stable/8/sys/dev/e1000/e1000_82575.c stable/8/sys/dev/e1000/e1000_ich8lan.c stable/8/sys/dev/ep/if_epreg.h stable/8/sys/dev/fdc/fdc.c stable/8/sys/dev/ixgb/ixgb_ee.c stable/8/sys/dev/malo/if_malohal.h stable/8/sys/dev/mwl/mwlhal.h stable/8/sys/dev/nxge/xgehal/xgehal-device.c stable/8/sys/dev/nxge/xgehal/xgehal-ring-fp.c stable/8/sys/dev/random/randomdev_soft.c stable/8/sys/dev/sound/pci/es137x.c stable/8/sys/dev/sym/sym_fw1.h stable/8/sys/dev/sym/sym_fw2.h stable/8/sys/dev/uart/uart_dev_ns8250.c stable/8/sys/dev/usb/usb_process.c stable/8/sys/dev/vx/if_vxreg.h stable/8/sys/dev/wpi/if_wpi.c stable/8/sys/fs/fdescfs/fdesc_vnops.c stable/8/sys/fs/msdosfs/msdosfs_vnops.c stable/8/sys/geom/geom_vfs.c stable/8/sys/geom/part/g_part_ebr.c stable/8/sys/geom/sched/gs_scheduler.h stable/8/sys/gnu/fs/xfs/xfs_dir_leaf.c stable/8/sys/gnu/fs/xfs/xfs_itable.c stable/8/sys/i386/i386/trap.c stable/8/sys/kern/subr_unit.c stable/8/sys/kern/subr_witness.c stable/8/sys/kern/uipc_mbuf.c stable/8/sys/mips/mips/pmap.c stable/8/sys/mips/rmi/fmn.c stable/8/sys/mips/sibyte/sb_zbpci.c stable/8/sys/net/if_media.c stable/8/sys/net/route.c stable/8/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c stable/8/sys/netgraph/ng_source.c stable/8/sys/netinet/if_ether.c stable/8/sys/netinet/ip_input.c stable/8/sys/netinet/ipfw/ip_fw_private.h stable/8/sys/netinet/libalias/alias_sctp.c stable/8/sys/netinet/tcp_offload.h stable/8/sys/netinet/tcp_subr.c stable/8/sys/netinet/tcp_syncache.c stable/8/sys/netinet/tcp_timewait.c stable/8/sys/netinet6/in6.h stable/8/sys/pc98/cbus/fdc.c stable/8/sys/sparc64/include/iommureg.h stable/8/sys/sparc64/sparc64/trap.c stable/8/sys/sys/aac_ioctl.h stable/8/usr.bin/lex/misc.c stable/8/usr.bin/m4/gnum4.c stable/8/usr.bin/make/lst.c stable/8/usr.bin/rpcinfo/rpcinfo.c stable/8/usr.bin/xinstall/xinstall.c stable/8/usr.sbin/moused/moused.c stable/8/usr.sbin/rpcbind/util.c stable/8/usr.sbin/sysinstall/install.c Directory Properties: stable/8/bin/df/ (props changed) stable/8/bin/sh/ (props changed) stable/8/lib/libc/ (props changed) stable/8/lib/libc/stdtime/ (props changed) stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/usr.bin/lex/ (props changed) stable/8/usr.bin/m4/ (props changed) stable/8/usr.bin/make/ (props changed) stable/8/usr.bin/rpcinfo/ (props changed) stable/8/usr.bin/xinstall/ (props changed) stable/8/usr.sbin/moused/ (props changed) stable/8/usr.sbin/rpcbind/ (props changed) stable/8/usr.sbin/sysinstall/ (props changed) Modified: stable/8/bin/df/df.c ============================================================================== --- stable/8/bin/df/df.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/bin/df/df.c Thu Feb 24 10:23:22 2011 (r218992) @@ -125,7 +125,7 @@ main(int argc, char *argv[]) /* FALLTHROUGH */ case 'P': /* - * POSIX specifically discusses the the behavior of + * POSIX specifically discusses the behavior of * both -k and -P. It states that the blocksize should * be set to 1024. Thus, if this occurs, simply break * rather than clobbering the old blocksize. Modified: stable/8/bin/sh/expand.c ============================================================================== --- stable/8/bin/sh/expand.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/bin/sh/expand.c Thu Feb 24 10:23:22 2011 (r218992) @@ -944,7 +944,7 @@ numvar: /* - * Record the the fact that we have to scan this region of the + * Record the fact that we have to scan this region of the * string for IFS characters. */ Modified: stable/8/lib/libc/arm/gen/modf.c ============================================================================== --- stable/8/lib/libc/arm/gen/modf.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/lib/libc/arm/gen/modf.c Thu Feb 24 10:23:22 2011 (r218992) @@ -86,7 +86,7 @@ modf(val, iptr) * If you look at the math involved for a few seconds, it's * plain to see that the integral part is the input, with the * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, - * the the fractional part is the part with the rest of the + * the fractional part is the part with the rest of the * bits zeroed. Just zeroing the high bits to get the * fractional part would yield a fraction in need of * normalization. Therefore, we take the easy way out, and Modified: stable/8/lib/libc/ia64/gen/modf.c ============================================================================== --- stable/8/lib/libc/ia64/gen/modf.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/lib/libc/ia64/gen/modf.c Thu Feb 24 10:23:22 2011 (r218992) @@ -85,7 +85,7 @@ modf(val, iptr) * If you look at the math involved for a few seconds, it's * plain to see that the integral part is the input, with the * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, - * the the fractional part is the part with the rest of the + * the fractional part is the part with the rest of the * bits zeroed. Just zeroing the high bits to get the * fractional part would yield a fraction in need of * normalization. Therefore, we take the easy way out, and Modified: stable/8/lib/libc/mips/gen/modf.c ============================================================================== --- stable/8/lib/libc/mips/gen/modf.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/lib/libc/mips/gen/modf.c Thu Feb 24 10:23:22 2011 (r218992) @@ -86,7 +86,7 @@ modf(val, iptr) * If you look at the math involved for a few seconds, it's * plain to see that the integral part is the input, with the * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, - * the the fractional part is the part with the rest of the + * the fractional part is the part with the rest of the * bits zeroed. Just zeroing the high bits to get the * fractional part would yield a fraction in need of * normalization. Therefore, we take the easy way out, and Modified: stable/8/lib/libc/powerpc/gen/modf.c ============================================================================== --- stable/8/lib/libc/powerpc/gen/modf.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/lib/libc/powerpc/gen/modf.c Thu Feb 24 10:23:22 2011 (r218992) @@ -86,7 +86,7 @@ modf(val, iptr) * If you look at the math involved for a few seconds, it's * plain to see that the integral part is the input, with the * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, - * the the fractional part is the part with the rest of the + * the fractional part is the part with the rest of the * bits zeroed. Just zeroing the high bits to get the * fractional part would yield a fraction in need of * normalization. Therefore, we take the easy way out, and Modified: stable/8/sys/amd64/amd64/trap.c ============================================================================== --- stable/8/sys/amd64/amd64/trap.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/amd64/amd64/trap.c Thu Feb 24 10:23:22 2011 (r218992) @@ -232,7 +232,7 @@ trap(struct trapframe *frame) * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * If the DTrace kernel module has registered a trap handler, Modified: stable/8/sys/arm/xscale/i80321/iq80321.c ============================================================================== --- stable/8/sys/arm/xscale/i80321/iq80321.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/arm/xscale/i80321/iq80321.c Thu Feb 24 10:23:22 2011 (r218992) @@ -139,7 +139,7 @@ iq80321_attach(device_t dev) device_get_name(dev)); /* - * We have mapped the the PCI I/O windows in the early + * We have mapped the PCI I/O windows in the early * bootstrap phase. */ sc->sc_iow_vaddr = IQ80321_IOW_VBASE; Modified: stable/8/sys/boot/ficl/words.c ============================================================================== --- stable/8/sys/boot/ficl/words.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/boot/ficl/words.c Thu Feb 24 10:23:22 2011 (r218992) @@ -1293,7 +1293,7 @@ static void ifCoIm(FICL_VM *pVM) ** compiles an "else"... ** 1) Compile a branch and a patch address; the address gets patched ** by "endif" to point past the "else" code. -** 2) Pop the the "if" patch address +** 2) Pop the "if" patch address ** 3) Patch the "if" branch to point to the current compile address. ** 4) Push the "else" patch address. ("endif" patches this to jump past ** the "else" code. Modified: stable/8/sys/cam/cam_xpt.c ============================================================================== --- stable/8/sys/cam/cam_xpt.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/cam/cam_xpt.c Thu Feb 24 10:23:22 2011 (r218992) @@ -308,7 +308,7 @@ xpt_schedule_dev_allocq(struct cam_eb *b CAMQ_GET_PRIO(&dev->drvq))) == 0)) { /* * The priority of a device waiting for CCB resources - * is that of the the highest priority peripheral driver + * is that of the highest priority peripheral driver * enqueued. */ retval = xpt_schedule_dev(&bus->sim->devq->alloc_queue, @@ -331,7 +331,7 @@ xpt_schedule_dev_sendq(struct cam_eb *bu (cam_ccbq_frozen_top(&dev->ccbq) == 0)) { /* * The priority of a device waiting for controller - * resources is that of the the highest priority CCB + * resources is that of the highest priority CCB * enqueued. */ retval = Modified: stable/8/sys/cam/scsi/scsi_sa.c ============================================================================== --- stable/8/sys/cam/scsi/scsi_sa.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/cam/scsi/scsi_sa.c Thu Feb 24 10:23:22 2011 (r218992) @@ -2654,7 +2654,7 @@ retry: struct scsi_dev_conf_page *cp = &ntcs->dconf; /* * We don't really know whether this device supports - * Data Compression if the the algorithm field is + * Data Compression if the algorithm field is * zero. Just say we do. */ *comp_supported = TRUE; Modified: stable/8/sys/cddl/dev/dtrace/amd64/dtrace_subr.c ============================================================================== --- stable/8/sys/cddl/dev/dtrace/amd64/dtrace_subr.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/cddl/dev/dtrace/amd64/dtrace_subr.c Thu Feb 24 10:23:22 2011 (r218992) @@ -499,7 +499,7 @@ dtrace_trap(struct trapframe *frame, u_i * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * Check if DTrace has enabled 'no-fault' mode: Modified: stable/8/sys/cddl/dev/dtrace/i386/dtrace_subr.c ============================================================================== --- stable/8/sys/cddl/dev/dtrace/i386/dtrace_subr.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/cddl/dev/dtrace/i386/dtrace_subr.c Thu Feb 24 10:23:22 2011 (r218992) @@ -499,7 +499,7 @@ dtrace_trap(struct trapframe *frame, u_i * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * Check if DTrace has enabled 'no-fault' mode: Modified: stable/8/sys/compat/ndis/subr_ntoskrnl.c ============================================================================== --- stable/8/sys/compat/ndis/subr_ntoskrnl.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/compat/ndis/subr_ntoskrnl.c Thu Feb 24 10:23:22 2011 (r218992) @@ -3354,7 +3354,7 @@ KeSetEvent(nt_kevent *kevent, uint32_t i * setting the state to signalled since we're supposed * to automatically clear synchronization events anyway). * - * If it's a notification event, or the the first + * If it's a notification event, or the first * waiter is doing a WAITTYPE_ALL wait, go through * the full wait satisfaction process. */ Modified: stable/8/sys/dev/advansys/adwcam.c ============================================================================== --- stable/8/sys/dev/advansys/adwcam.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/advansys/adwcam.c Thu Feb 24 10:23:22 2011 (r218992) @@ -1,5 +1,5 @@ /*- - * CAM SCSI interface for the the Advanced Systems Inc. + * CAM SCSI interface for the Advanced Systems Inc. * Second Generation SCSI controllers. * * Product specific probe and attach routines can be found in: Modified: stable/8/sys/dev/aic7xxx/aic79xx_osm.h ============================================================================== --- stable/8/sys/dev/aic7xxx/aic79xx_osm.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/aic7xxx/aic79xx_osm.h Thu Feb 24 10:23:22 2011 (r218992) @@ -103,7 +103,7 @@ * The number of dma segments supported. The sequencer can handle any number * of physically contiguous S/G entrys. To reduce the driver's memory * consumption, we limit the number supported to be sufficient to handle - * the largest mapping supported by the the legacy kernel MAXPHYS setting of + * the largest mapping supported by the legacy kernel MAXPHYS setting of * 128K. This can be increased once some testing is done. Assuming the * transfer is as fragmented as possible and unaligned, this turns out to * be the number of paged sized transfers in MAXPHYS plus an extra element Modified: stable/8/sys/dev/aic7xxx/aic7xxx_osm.h ============================================================================== --- stable/8/sys/dev/aic7xxx/aic7xxx_osm.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/aic7xxx/aic7xxx_osm.h Thu Feb 24 10:23:22 2011 (r218992) @@ -115,7 +115,7 @@ extern devclass_t ahc_devclass; * The number of dma segments supported. The sequencer can handle any number * of physically contiguous S/G entrys. To reduce the driver's memory * consumption, we limit the number supported to be sufficient to handle - * the largest mapping supported by the the legacy kernel MAXPHYS setting of + * the largest mapping supported by the legacy kernel MAXPHYS setting of * 128K. This can be increased once some testing is done. Assuming the * be the number of paged sized transfers in MAXPHYS plus an extra element * to handle any unaligned residual. The sequencer fetches SG elements Modified: stable/8/sys/dev/asr/i2omsg.h ============================================================================== --- stable/8/sys/dev/asr/i2omsg.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/asr/i2omsg.h Thu Feb 24 10:23:22 2011 (r218992) @@ -183,7 +183,7 @@ PRAGMA_PACK_PUSH #define I2O_VERSION_OFFSET_SGL_TRL_OFFSET_MASK 0xF0 /* Defines for the Message Flags Field. */ -/* Please Note the the FAIL bit is only set in the Transport Fail Message. */ +/* Please Note the FAIL bit is only set in the Transport Fail Message. */ #define I2O_MESSAGE_FLAGS_STATIC 0x01 #define I2O_MESSAGE_FLAGS_64BIT_CONTEXT 0x02 #define I2O_MESSAGE_FLAGS_MULTIPLE 0x10 Modified: stable/8/sys/dev/bktr/bktr_card.c ============================================================================== --- stable/8/sys/dev/bktr/bktr_card.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/bktr/bktr_card.c Thu Feb 24 10:23:22 2011 (r218992) @@ -570,7 +570,7 @@ static int locate_eeprom_address( bktr_p * * However some makes of card (eg Hauppauge) come with a configuration eeprom * which tells us the make of the card. Most eeproms also tell us the - * tuner type and other features of the the cards. + * tuner type and other features of the cards. * * The current probe code works as follows * A) If the card uses a Bt878/879: Modified: stable/8/sys/dev/ctau/ctau.c ============================================================================== --- stable/8/sys/dev/ctau/ctau.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/ctau/ctau.c Thu Feb 24 10:23:22 2011 (r218992) @@ -1734,7 +1734,7 @@ ct_board_opt_t ct_board_opt_dflt = { 0, /* board control register 2 */ { /* DMA priority control register */ PCR_PRIO_ROTATE, - 0, /* all channels share the the bus hold */ + 0, /* all channels share the bus hold */ 0, /* hold the bus until all transfers done */ }, CFG_A, /* E1/G.703 config: two independent channels */ Modified: stable/8/sys/dev/ctau/ctddk.h ============================================================================== --- stable/8/sys/dev/ctau/ctddk.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/ctau/ctddk.h Thu Feb 24 10:23:22 2011 (r218992) @@ -206,7 +206,7 @@ typedef struct { typedef struct { unsigned prio : 3; /* priority of channels */ unsigned noshare : 1; /* 1 - chan holds the bus until end of data */ - /* 0 - all channels share the the bus hold */ + /* 0 - all channels share the bus hold */ unsigned release : 1; /* 1 - release the bus between transfers */ /* 0 - hold the bus until all transfers done */ } ct_pcr_t; Modified: stable/8/sys/dev/cxgb/cxgb_main.c ============================================================================== --- stable/8/sys/dev/cxgb/cxgb_main.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/cxgb/cxgb_main.c Thu Feb 24 10:23:22 2011 (r218992) @@ -1908,7 +1908,7 @@ cxgb_uninit_synchronized(struct port_inf /* * Clear this port's bit from the open device map, and then drain all * the tasks that can access/manipulate this port's port_info or ifp. - * We disable this port's interrupts here and so the the slow/ext + * We disable this port's interrupts here and so the slow/ext * interrupt tasks won't be enqueued. The tick task will continue to * be enqueued every second but the runs after this drain will not see * this port in the open device map. @@ -2858,7 +2858,7 @@ cxgb_extension_ioctl(struct cdev *dev, u u64 buf[32]; /* - * Use these to avoid modifying len/addr in the the return + * Use these to avoid modifying len/addr in the return * struct */ uint32_t len = t->len, addr = t->addr; Modified: stable/8/sys/dev/drm/mach64_dma.c ============================================================================== --- stable/8/sys/dev/drm/mach64_dma.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/drm/mach64_dma.c Thu Feb 24 10:23:22 2011 (r218992) @@ -173,7 +173,7 @@ static int mach64_ring_idle(drm_mach64_p } /** - * Reset the the ring buffer descriptors. + * Reset the ring buffer descriptors. * * \sa mach64_do_engine_reset() */ Modified: stable/8/sys/dev/drm/r300_reg.h ============================================================================== --- stable/8/sys/dev/drm/r300_reg.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/drm/r300_reg.h Thu Feb 24 10:23:22 2011 (r218992) @@ -353,7 +353,7 @@ __FBSDID("$FreeBSD$"); # define R300_PVS_CNTL_1_PROGRAM_START_SHIFT 0 # define R300_PVS_CNTL_1_POS_END_SHIFT 10 # define R300_PVS_CNTL_1_PROGRAM_END_SHIFT 20 -/* Addresses are relative the the vertex program parameters area. */ +/* Addresses are relative the vertex program parameters area. */ #define R300_VAP_PVS_CNTL_2 0x22D4 # define R300_PVS_CNTL_2_PARAM_OFFSET_SHIFT 0 # define R300_PVS_CNTL_2_PARAM_COUNT_SHIFT 16 Modified: stable/8/sys/dev/e1000/e1000_82575.c ============================================================================== --- stable/8/sys/dev/e1000/e1000_82575.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/e1000/e1000_82575.c Thu Feb 24 10:23:22 2011 (r218992) @@ -1831,7 +1831,7 @@ out: * e1000_reset_mdicnfg_82580 - Reset MDICNFG destination and com_mdio bits * @hw: pointer to the HW structure * - * This resets the the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on + * This resets the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on * the values found in the EEPROM. This addresses an issue in which these * bits are not restored from EEPROM after reset. **/ Modified: stable/8/sys/dev/e1000/e1000_ich8lan.c ============================================================================== --- stable/8/sys/dev/e1000/e1000_ich8lan.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/e1000/e1000_ich8lan.c Thu Feb 24 10:23:22 2011 (r218992) @@ -3164,7 +3164,7 @@ out: * @hw: pointer to the HW structure * * ICH8 use the PCI Express bus, but does not contain a PCI Express Capability - * register, so the the bus width is hard coded. + * register, so the bus width is hard coded. **/ static s32 e1000_get_bus_info_ich8lan(struct e1000_hw *hw) { Modified: stable/8/sys/dev/ep/if_epreg.h ============================================================================== --- stable/8/sys/dev/ep/if_epreg.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/ep/if_epreg.h Thu Feb 24 10:23:22 2011 (r218992) @@ -113,7 +113,7 @@ /************************************************************************** * * * These are the registers for the 3Com 3c509 and their bit patterns when * - * applicable. They have been taken out the the "EtherLink III Parallel * + * applicable. They have been taken out the "EtherLink III Parallel * * Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual * * from 3com. * * * Modified: stable/8/sys/dev/fdc/fdc.c ============================================================================== --- stable/8/sys/dev/fdc/fdc.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/fdc/fdc.c Thu Feb 24 10:23:22 2011 (r218992) @@ -1267,7 +1267,7 @@ fdmisccmd(struct fd_data *fd, u_int cmd, /* * Set up a bio request for fdstrategy(). bio_offset is faked - * so that fdstrategy() will seek to the the requested + * so that fdstrategy() will seek to the requested * cylinder, and use the desired head. */ bp->bio_cmd = cmd; Modified: stable/8/sys/dev/ixgb/ixgb_ee.c ============================================================================== --- stable/8/sys/dev/ixgb/ixgb_ee.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/ixgb/ixgb_ee.c Thu Feb 24 10:23:22 2011 (r218992) @@ -325,7 +325,7 @@ ixgb_wait_eeprom_command(struct ixgb_hw * hw - Struct containing variables accessed by shared code * * Reads the first 64 16 bit words of the EEPROM and sums the values read. - * If the the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is + * If the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is * valid. * * Returns: Modified: stable/8/sys/dev/malo/if_malohal.h ============================================================================== --- stable/8/sys/dev/malo/if_malohal.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/malo/if_malohal.h Thu Feb 24 10:23:22 2011 (r218992) @@ -133,7 +133,7 @@ struct malo_hal_hwstats { /* * Set Antenna Configuration (legacy operation). * - * The RX antenna can be selected using the the bitmask + * The RX antenna can be selected using the bitmask * ant (bit 0 = antenna 1, bit 1 = antenna 2, etc.) * (diversity?XXX) */ Modified: stable/8/sys/dev/mwl/mwlhal.h ============================================================================== --- stable/8/sys/dev/mwl/mwlhal.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/mwl/mwlhal.h Thu Feb 24 10:23:22 2011 (r218992) @@ -291,7 +291,7 @@ int mwl_hal_setradio(struct mwl_hal *mh, /* * Set Antenna Configuration (legacy operation). * - * The RX antenna can be selected using the the bitmask + * The RX antenna can be selected using the bitmask * ant (bit 0 = antenna 1, bit 1 = antenna 2, etc.) * (diversity?XXX) */ Modified: stable/8/sys/dev/nxge/xgehal/xgehal-device.c ============================================================================== --- stable/8/sys/dev/nxge/xgehal/xgehal-device.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/nxge/xgehal/xgehal-device.c Thu Feb 24 10:23:22 2011 (r218992) @@ -4418,7 +4418,7 @@ xge_hal_device_status(xge_hal_device_t * #ifndef XGE_HAL_HERC_EMULATION /* * Andrew: in PCI 33 mode, the P_PLL is not used, and therefore, - * the the P_PLL_LOCK bit in the adapter_status register will + * the P_PLL_LOCK bit in the adapter_status register will * not be asserted. */ if (!(tmp64 & XGE_HAL_ADAPTER_STATUS_P_PLL_LOCK) && Modified: stable/8/sys/dev/nxge/xgehal/xgehal-ring-fp.c ============================================================================== --- stable/8/sys/dev/nxge/xgehal/xgehal-ring-fp.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/nxge/xgehal/xgehal-ring-fp.c Thu Feb 24 10:23:22 2011 (r218992) @@ -801,7 +801,7 @@ xge_hal_ring_dtr_free(xge_hal_channel_h * xge_hal_ring_is_next_dtr_completed - Check if the next dtr is completed * @channelh: Channel handle. * - * Checks if the the _next_ completed descriptor is in host memory + * Checks if the _next_ completed descriptor is in host memory * * Returns: XGE_HAL_OK - success. * XGE_HAL_INF_NO_MORE_COMPLETED_DESCRIPTORS - No completed descriptors Modified: stable/8/sys/dev/random/randomdev_soft.c ============================================================================== --- stable/8/sys/dev/random/randomdev_soft.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/random/randomdev_soft.c Thu Feb 24 10:23:22 2011 (r218992) @@ -347,7 +347,7 @@ random_yarrow_write(void *buf, int count /* * Break the input up into HARVESTSIZE chunks. The writer has too - * much control here, so "estimate" the the entropy as zero. + * much control here, so "estimate" the entropy as zero. */ for (i = 0; i < count; i += HARVESTSIZE) { chunk = HARVESTSIZE; Modified: stable/8/sys/dev/sound/pci/es137x.c ============================================================================== --- stable/8/sys/dev/sound/pci/es137x.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/sound/pci/es137x.c Thu Feb 24 10:23:22 2011 (r218992) @@ -559,7 +559,7 @@ eschan1370_setspeed(kobj_t obj, void *da /* * DAC1 does not support continuous rate settings. * Pick the nearest and use it since FEEDER_RATE will - * do the the proper conversion for us. + * do the proper conversion for us. */ es->ctrl &= ~CTRL_WTSRSEL; if (speed < 8268) { Modified: stable/8/sys/dev/sym/sym_fw1.h ============================================================================== --- stable/8/sys/dev/sym/sym_fw1.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/sym/sym_fw1.h Thu Feb 24 10:23:22 2011 (r218992) @@ -262,7 +262,7 @@ static const struct SYM_FWA_SCR SYM_FWA_ * The below GETJOB_BEGIN to GETJOB_END section of SCRIPTS * is a critical path. If it is partially executed, it then * may happen that the job address is not yet in the DSA - * and the the next queue position points to the next JOB. + * and the next queue position points to the next JOB. */ }/*-------------------------< GETJOB_BEGIN >---------------------*/,{ /* Modified: stable/8/sys/dev/sym/sym_fw2.h ============================================================================== --- stable/8/sys/dev/sym/sym_fw2.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/sym/sym_fw2.h Thu Feb 24 10:23:22 2011 (r218992) @@ -252,7 +252,7 @@ static const struct SYM_FWA_SCR SYM_FWA_ * The below GETJOB_BEGIN to GETJOB_END section of SCRIPTS * is a critical path. If it is partially executed, it then * may happen that the job address is not yet in the DSA - * and the the next queue position points to the next JOB. + * and the next queue position points to the next JOB. */ SCR_LOAD_ABS (dsa, 4), PADDR_B (startpos), Modified: stable/8/sys/dev/uart/uart_dev_ns8250.c ============================================================================== --- stable/8/sys/dev/uart/uart_dev_ns8250.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/uart/uart_dev_ns8250.c Thu Feb 24 10:23:22 2011 (r218992) @@ -693,7 +693,7 @@ ns8250_bus_probe(struct uart_softc *sc) /* * We should have a sufficiently clean "pipe" to determine the * size of the FIFOs. We send as much characters as is reasonable - * and wait for the the overflow bit in the LSR register to be + * and wait for the overflow bit in the LSR register to be * asserted, counting the characters as we send them. Based on * that count we know the FIFO size. */ Modified: stable/8/sys/dev/usb/usb_process.c ============================================================================== --- stable/8/sys/dev/usb/usb_process.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/usb/usb_process.c Thu Feb 24 10:23:22 2011 (r218992) @@ -463,7 +463,7 @@ usb_proc_drain(struct usb_process *up) /*------------------------------------------------------------------------* * usb_proc_rewakeup * - * This function is called to re-wakeup the the given USB + * This function is called to re-wakeup the given USB * process. This usually happens after that the USB system has been in * polling mode, like during a panic. This function must be called * having "up->up_mtx" locked. Modified: stable/8/sys/dev/vx/if_vxreg.h ============================================================================== --- stable/8/sys/dev/vx/if_vxreg.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/vx/if_vxreg.h Thu Feb 24 10:23:22 2011 (r218992) @@ -112,7 +112,7 @@ /************************************************************************** * These are the registers for the 3Com 3c509 and their bit patterns when * - * applicable. They have been taken out the the "EtherLink III Parallel * + * applicable. They have been taken out the "EtherLink III Parallel * * Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual * * from 3com. * **************************************************************************/ Modified: stable/8/sys/dev/wpi/if_wpi.c ============================================================================== --- stable/8/sys/dev/wpi/if_wpi.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/dev/wpi/if_wpi.c Thu Feb 24 10:23:22 2011 (r218992) @@ -29,7 +29,7 @@ __FBSDID("$FreeBSD$"); * state and told to load boot firmware. The boot firmware loads an init and a * main binary firmware image into SRAM on the card via DMA. * Once the firmware is loaded, the driver/hw then - * communicate by way of circular dma rings via the the SRAM to the firmware. + * communicate by way of circular dma rings via the SRAM to the firmware. * * There is 6 memory rings. 1 command ring, 1 rx data ring & 4 tx data rings. * The 4 tx data rings allow for prioritization QoS. Modified: stable/8/sys/fs/fdescfs/fdesc_vnops.c ============================================================================== --- stable/8/sys/fs/fdescfs/fdesc_vnops.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/fs/fdescfs/fdesc_vnops.c Thu Feb 24 10:23:22 2011 (r218992) @@ -368,7 +368,7 @@ fdesc_open(ap) return (0); /* - * XXX Kludge: set td->td_proc->p_dupfd to contain the value of the the file + * XXX Kludge: set td->td_proc->p_dupfd to contain the value of the file * descriptor being sought for duplication. The error return ensures * that the vnode for this device will be released by vn_open. Open * will detect this special error and take the actions in dupfdopen. Modified: stable/8/sys/fs/msdosfs/msdosfs_vnops.c ============================================================================== --- stable/8/sys/fs/msdosfs/msdosfs_vnops.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/fs/msdosfs/msdosfs_vnops.c Thu Feb 24 10:23:22 2011 (r218992) @@ -1542,7 +1542,7 @@ msdosfs_readdir(ap) /* * msdosfs_readdir() won't operate properly on regular files since - * it does i/o only with the the filesystem vnode, and hence can + * it does i/o only with the filesystem vnode, and hence can * retrieve the wrong block from the buffer cache for a plain file. * So, fail attempts to readdir() on a plain file. */ Modified: stable/8/sys/geom/geom_vfs.c ============================================================================== --- stable/8/sys/geom/geom_vfs.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/geom/geom_vfs.c Thu Feb 24 10:23:22 2011 (r218992) @@ -109,7 +109,7 @@ g_vfs_strategy(struct bufobj *bo, struct /* G_VALID_CONSUMER(cp); We likely lack topology lock */ /* - * If the the provider has orphaned us, just return EXIO. + * If the provider has orphaned us, just return EXIO. */ if (cp->provider == NULL) { bp->b_error = ENXIO; Modified: stable/8/sys/geom/part/g_part_ebr.c ============================================================================== --- stable/8/sys/geom/part/g_part_ebr.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/geom/part/g_part_ebr.c Thu Feb 24 10:23:22 2011 (r218992) @@ -585,7 +585,7 @@ g_part_ebr_write(struct g_part_table *ba while (baseentry != NULL && baseentry->gpe_deleted) baseentry = LIST_NEXT(baseentry, gpe_entry); - /* Wipe-out the the first EBR when there are no slices. */ + /* Wipe-out the first EBR when there are no slices. */ if (baseentry == NULL) { error = g_write_data(cp, 0, buf, pp->sectorsize); goto out; Modified: stable/8/sys/geom/sched/gs_scheduler.h ============================================================================== --- stable/8/sys/geom/sched/gs_scheduler.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/geom/sched/gs_scheduler.h Thu Feb 24 10:23:22 2011 (r218992) @@ -144,7 +144,7 @@ struct g_sched_class { /* * Manipulate the classifier's data. g_sched_get_class() gets a reference - * to the the class corresponding to bp in gp, allocating and initializing + * to the class corresponding to bp in gp, allocating and initializing * it if necessary. g_sched_put_class() releases the reference. * The returned value points to the private data for the class. */ Modified: stable/8/sys/gnu/fs/xfs/xfs_dir_leaf.c ============================================================================== --- stable/8/sys/gnu/fs/xfs/xfs_dir_leaf.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/gnu/fs/xfs/xfs_dir_leaf.c Thu Feb 24 10:23:22 2011 (r218992) @@ -2153,7 +2153,7 @@ xfs_dir_leaf_getdents_int( } /* - * Format a dirent64 structure and copy it out the the user's buffer. + * Format a dirent64 structure and copy it out the user's buffer. */ int xfs_dir_put_dirent64_direct(xfs_dir_put_args_t *pa) @@ -2185,7 +2185,7 @@ xfs_dir_put_dirent64_direct(xfs_dir_put_ } /* - * Format a dirent64 structure and copy it out the the user's buffer. + * Format a dirent64 structure and copy it out the user's buffer. */ int xfs_dir_put_dirent64_uio(xfs_dir_put_args_t *pa) Modified: stable/8/sys/gnu/fs/xfs/xfs_itable.c ============================================================================== --- stable/8/sys/gnu/fs/xfs/xfs_itable.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/gnu/fs/xfs/xfs_itable.c Thu Feb 24 10:23:22 2011 (r218992) @@ -777,7 +777,7 @@ xfs_inumbers( xfs_buf_relse(agbp); agbp = NULL; /* - * Move up the the last inode in the current + * Move up the last inode in the current * chunk. The lookup_ge will always get * us the first inode in the next chunk. */ Modified: stable/8/sys/i386/i386/trap.c ============================================================================== --- stable/8/sys/i386/i386/trap.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/i386/i386/trap.c Thu Feb 24 10:23:22 2011 (r218992) @@ -252,7 +252,7 @@ trap(struct trapframe *frame) * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * If the DTrace kernel module has registered a trap handler, Modified: stable/8/sys/kern/subr_unit.c ============================================================================== --- stable/8/sys/kern/subr_unit.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/kern/subr_unit.c Thu Feb 24 10:23:22 2011 (r218992) @@ -41,7 +41,7 @@ * * If a mutex is not provided when the unit number space is created, a * default global mutex is used. The advantage to passing a mutex in, is - * that the the alloc_unrl() function can be called with the mutex already + * that the alloc_unrl() function can be called with the mutex already * held (it will not be released by alloc_unrl()). * * The allocation function alloc_unr{l}() never sleeps (but it may block on @@ -52,7 +52,7 @@ * * A userland test program is included. * - * Memory usage is a very complex function of the the exact allocation + * Memory usage is a very complex function of the exact allocation * pattern, but always very compact: * * For the very typical case where a single unbroken run of unit * numbers are allocated 44 bytes are used on i386. Modified: stable/8/sys/kern/subr_witness.c ============================================================================== --- stable/8/sys/kern/subr_witness.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/kern/subr_witness.c Thu Feb 24 10:23:22 2011 (r218992) @@ -1173,7 +1173,7 @@ witness_checkorder(struct lock_object *l mtx_assert(&w_mtx, MA_OWNED); /* - * If we know that the the lock we are acquiring comes after + * If we know that the lock we are acquiring comes after * the lock we most recently acquired in the lock order tree, * then there is no need for any further checks. */ Modified: stable/8/sys/kern/uipc_mbuf.c ============================================================================== --- stable/8/sys/kern/uipc_mbuf.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/kern/uipc_mbuf.c Thu Feb 24 10:23:22 2011 (r218992) @@ -280,7 +280,7 @@ mb_free_ext(struct mbuf *m) } /* - * Attach the the cluster from *m to *n, set up m_ext in *n + * Attach the cluster from *m to *n, set up m_ext in *n * and bump the refcount of the cluster. */ static void Modified: stable/8/sys/mips/mips/pmap.c ============================================================================== --- stable/8/sys/mips/mips/pmap.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/mips/mips/pmap.c Thu Feb 24 10:23:22 2011 (r218992) @@ -2021,7 +2021,7 @@ validate: pmap_update_page(pmap, va, newpte); /* - * Sync I & D caches for executable pages. Do this only if the the + * Sync I & D caches for executable pages. Do this only if the * target pmap belongs to the current process. Otherwise, an * unresolvable TLB miss may occur. */ @@ -2155,7 +2155,7 @@ pmap_enter_quick_locked(pmap_t pmap, vm_ else { *pte |= PTE_RO; /* - * Sync I & D caches. Do this only if the the target pmap + * Sync I & D caches. Do this only if the target pmap * belongs to the current process. Otherwise, an * unresolvable TLB miss may occur. */ if (pmap == &curproc->p_vmspace->vm_pmap) { Modified: stable/8/sys/mips/rmi/fmn.c ============================================================================== --- stable/8/sys/mips/rmi/fmn.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/mips/rmi/fmn.c Thu Feb 24 10:23:22 2011 (r218992) @@ -99,7 +99,7 @@ static int msgring_maxthreads = 3; TUNABLE_INT("hw.fmn.maxthreads", &msgring_maxthreads); /* - * The device drivers can register a handler for the the messages sent + * The device drivers can register a handler for the messages sent * from a station (corresponding to the device). */ struct tx_stn_handler { @@ -148,7 +148,7 @@ xlr_msgring_cpu_init(void) * For sending FMN messages, we need credits on the destination * bucket. Program the credits this core has on the 128 possible * destination buckets. - * We cannot use a loop here, because the the first argument has + * We cannot use a loop here, because the first argument has * to be a constant integer value. */ MSGRNG_CC_INIT_CPU_DEST(0, cc_config->counters); Modified: stable/8/sys/mips/sibyte/sb_zbpci.c ============================================================================== --- stable/8/sys/mips/sibyte/sb_zbpci.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/mips/sibyte/sb_zbpci.c Thu Feb 24 10:23:22 2011 (r218992) @@ -110,7 +110,7 @@ zbpci_attach(device_t dev) panic("%s: port_rman", __func__); /* - * Reserve the the physical memory that is used to read/write to the + * Reserve the physical memory that is used to read/write to the * pci config space but don't activate it. We are using a page worth * of KVA as a window over this region. */ Modified: stable/8/sys/net/if_media.c ============================================================================== --- stable/8/sys/net/if_media.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/net/if_media.c Thu Feb 24 10:23:22 2011 (r218992) @@ -235,7 +235,7 @@ ifmedia_ioctl(ifp, ifr, ifm, cmd) /* * If no change, we're done. * XXX Automedia may invole software intervention. - * Keep going in case the the connected media changed. + * Keep going in case the connected media changed. * Similarly, if best match changed (kernel debugger?). */ if ((IFM_SUBTYPE(newmedia) != IFM_AUTO) && Modified: stable/8/sys/net/route.c ============================================================================== --- stable/8/sys/net/route.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/net/route.c Thu Feb 24 10:23:22 2011 (r218992) @@ -539,7 +539,7 @@ rtredirect_fib(struct sockaddr *dst, goto done; /* * Create a new entry if we just got back a wildcard entry - * or the the lookup failed. This is necessary for hosts + * or the lookup failed. This is necessary for hosts * which use routing redirects generated by smart gateways * to dynamically build the routing tables. */ Modified: stable/8/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c ============================================================================== --- stable/8/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c Thu Feb 24 10:23:22 2011 (r218992) @@ -557,7 +557,7 @@ ng_btsocket_rfcomm_connect(struct socket soclose(l2so); /* we don't need new L2CAP socket */ /* - * Check if we already have the same DLCI the the same session + * Check if we already have the same DLCI the same session */ mtx_lock(&s->session_mtx); Modified: stable/8/sys/netgraph/ng_source.c ============================================================================== --- stable/8/sys/netgraph/ng_source.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/netgraph/ng_source.c Thu Feb 24 10:23:22 2011 (r218992) @@ -604,7 +604,7 @@ ng_source_disconnect(hook_p hook) } /* - * Set sc->output_ifp to point to the the struct ifnet of the interface + * Set sc->output_ifp to point to the struct ifnet of the interface * reached via our output hook. */ static int Modified: stable/8/sys/netinet/if_ether.c ============================================================================== --- stable/8/sys/netinet/if_ether.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/netinet/if_ether.c Thu Feb 24 10:23:22 2011 (r218992) @@ -795,7 +795,7 @@ reply: /* * Also check that the node which sent the ARP packet - * is on the the interface we expect it to be on. This + * is on the interface we expect it to be on. This * avoids ARP chaos if an interface is connected to the * wrong network. */ Modified: stable/8/sys/netinet/ip_input.c ============================================================================== --- stable/8/sys/netinet/ip_input.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/netinet/ip_input.c Thu Feb 24 10:23:22 2011 (r218992) @@ -1031,7 +1031,7 @@ found: * segment. If it provides all of our data, drop us, otherwise * stick new segment in the proper place. * - * If some of the data is dropped from the the preceding + * If some of the data is dropped from the preceding * segment, then it's checksum is invalidated. */ if (p) { Modified: stable/8/sys/netinet/ipfw/ip_fw_private.h ============================================================================== --- stable/8/sys/netinet/ipfw/ip_fw_private.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/netinet/ipfw/ip_fw_private.h Thu Feb 24 10:23:22 2011 (r218992) @@ -90,7 +90,7 @@ struct ip_fw_args { /* * On return, it points to the matching rule. * On entry, rule.slot > 0 means the info is valid and - * contains the the starting rule for an ipfw search. + * contains the starting rule for an ipfw search. * If chain_id == chain->id && slot >0 then jump to that slot. * Otherwise, we locate the first rule >= rulenum:rule_id */ Modified: stable/8/sys/netinet/libalias/alias_sctp.c ============================================================================== --- stable/8/sys/netinet/libalias/alias_sctp.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/netinet/libalias/alias_sctp.c Thu Feb 24 10:23:22 2011 (r218992) @@ -1929,7 +1929,7 @@ UP_process(struct libalias *la, int dire * @brief Process SCTP message while association is in the process of closing * * This function waits for a SHUT-COMP to close the association. Depending on - * the the setting of sysctl_holddown_timer it may not remove the association + * the setting of sysctl_holddown_timer it may not remove the association * immediately, but leave it up until SN_X_T(la). Only SHUT-COMP, SHUT-ACK, and * ABORT packets are permitted in this state. All other packets are dropped. * Modified: stable/8/sys/netinet/tcp_offload.h ============================================================================== --- stable/8/sys/netinet/tcp_offload.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/netinet/tcp_offload.h Thu Feb 24 10:23:22 2011 (r218992) @@ -56,7 +56,7 @@ * * It is assumed that individuals deploying TOE will want connections * to be offloaded without software changes so all connections on an - * interface providing TOE are offloaded unless the the SO_NO_OFFLOAD + * interface providing TOE are offloaded unless the SO_NO_OFFLOAD * flag is set on the socket. * * Modified: stable/8/sys/netinet/tcp_subr.c ============================================================================== --- stable/8/sys/netinet/tcp_subr.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/netinet/tcp_subr.c Thu Feb 24 10:23:22 2011 (r218992) @@ -1321,7 +1321,7 @@ tcp_ctlinput(int cmd, struct sockaddr *s mtu = V_tcp_minmss + sizeof(struct tcpiphdr); /* - * Only cache the the MTU if it + * Only cache the MTU if it * is smaller than the interface * or route MTU. tcp_mtudisc() * will do right thing by itself. Modified: stable/8/sys/netinet/tcp_syncache.c ============================================================================== --- stable/8/sys/netinet/tcp_syncache.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/netinet/tcp_syncache.c Thu Feb 24 10:23:22 2011 (r218992) @@ -524,7 +524,7 @@ syncache_chkrst(struct in_conninfo *inc, * used, or we are under memory pressure, a valid RST * may not find a syncache entry. In that case we're * done and no SYN|ACK retransmissions will happen. - * Otherwise the the RST was misdirected or spoofed. + * Otherwise the RST was misdirected or spoofed. */ if (sc == NULL) { if ((s = tcp_log_addrs(inc, th, NULL, NULL))) Modified: stable/8/sys/netinet/tcp_timewait.c ============================================================================== --- stable/8/sys/netinet/tcp_timewait.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/netinet/tcp_timewait.c Thu Feb 24 10:23:22 2011 (r218992) @@ -397,7 +397,7 @@ tcp_twcheck(struct inpcb *inp, struct tc } /* - * Drop the the segment if it does not contain an ACK. + * Drop the segment if it does not contain an ACK. */ if ((thflags & TH_ACK) == 0) goto drop; Modified: stable/8/sys/netinet6/in6.h ============================================================================== --- stable/8/sys/netinet6/in6.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/netinet6/in6.h Thu Feb 24 10:23:22 2011 (r218992) @@ -78,7 +78,7 @@ /* * IPv6 port allocation rules should mirror the IPv4 rules and are controlled - * by the the net.inet.ip.portrange sysctl tree. The following defines exist + * by the net.inet.ip.portrange sysctl tree. The following defines exist * for compatibility with userland applications that need them. */ #if __BSD_VISIBLE Modified: stable/8/sys/pc98/cbus/fdc.c ============================================================================== --- stable/8/sys/pc98/cbus/fdc.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/pc98/cbus/fdc.c Thu Feb 24 10:23:22 2011 (r218992) @@ -2378,7 +2378,7 @@ fdmisccmd(struct cdev *dev, u_int cmd, v /* * Set up a bio request for fdstrategy(). bio_offset is faked - * so that fdstrategy() will seek to the the requested + * so that fdstrategy() will seek to the requested * cylinder, and use the desired head. */ bp->bio_cmd = cmd; Modified: stable/8/sys/sparc64/include/iommureg.h ============================================================================== --- stable/8/sys/sparc64/include/iommureg.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/sparc64/include/iommureg.h Thu Feb 24 10:23:22 2011 (r218992) @@ -194,7 +194,7 @@ * Unfortunately, sabres on UltraSPARC IIi and IIe processors does not use * this scheme to determine the IOVA base address. Instead, bits 31-29 are * used to check against the Target Address Space register in the IIi and - * the the IOMMU is used if they hit. God knows what goes on in the IIe. + * the IOMMU is used if they hit. God knows what goes on in the IIe. * */ Modified: stable/8/sys/sparc64/sparc64/trap.c ============================================================================== --- stable/8/sys/sparc64/sparc64/trap.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/sparc64/sparc64/trap.c Thu Feb 24 10:23:22 2011 (r218992) @@ -438,7 +438,7 @@ trap_cecc(void) cache_flush(); /* Ensure the caches are still turned on (should be). */ cache_enable(PCPU_GET(impl)); - /* Clear the the error from the AFSR. */ + /* Clear the error from the AFSR. */ stxa_sync(0, ASI_AFSR, ldxa(0, ASI_AFSR)); corrected_ecc++; printf("corrected ECC error\n"); Modified: stable/8/sys/sys/aac_ioctl.h ============================================================================== --- stable/8/sys/sys/aac_ioctl.h Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/sys/sys/aac_ioctl.h Thu Feb 24 10:23:22 2011 (r218992) @@ -117,7 +117,7 @@ union aac_statrequest { /* Do the native version of the ioctls. Since the BSD encoding scheme * conflicts with the 'standard' AAC encoding scheme, the resulting numbers * will be different. The '8' comes from the fact that the previous scheme - * used 12 bits for the number, with the the 12th bit being the only set + * used 12 bits for the number, with the 12th bit being the only set * bit above bit 8. Thus the value of 8, with the lower 8 bits holding the * command number. 9 is used for the odd overflow case. */ Modified: stable/8/usr.bin/lex/misc.c ============================================================================== --- stable/8/usr.bin/lex/misc.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/usr.bin/lex/misc.c Thu Feb 24 10:23:22 2011 (r218992) @@ -707,7 +707,7 @@ const char str[]; } -/* readable_form - return the the human-readable form of a character +/* readable_form - return the human-readable form of a character * * The returned string is in static storage. */ Modified: stable/8/usr.bin/m4/gnum4.c ============================================================================== --- stable/8/usr.bin/m4/gnum4.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/usr.bin/m4/gnum4.c Thu Feb 24 10:23:22 2011 (r218992) @@ -54,7 +54,7 @@ int mimic_gnu = 0; /* * Support for include path search - * First search in the the current directory. + * First search in the current directory. * If not found, and the path is not absolute, include path kicks in. * First, -I options, in the order found on the command line. * Then M4PATH env variable Modified: stable/8/usr.bin/make/lst.c ============================================================================== --- stable/8/usr.bin/make/lst.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/usr.bin/make/lst.c Thu Feb 24 10:23:22 2011 (r218992) @@ -99,7 +99,7 @@ Lst_Append(Lst *list, LstNode *ln, void * LST_CONCLINK if should just be relinked * * Side Effects: - * New elements are created and appended the the first list. + * New elements are created and appended the first list. */ void Lst_Concat(Lst *list1, Lst *list2, int flags) Modified: stable/8/usr.bin/rpcinfo/rpcinfo.c ============================================================================== --- stable/8/usr.bin/rpcinfo/rpcinfo.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/usr.bin/rpcinfo/rpcinfo.c Thu Feb 24 10:23:22 2011 (r218992) @@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$"); /* * rpcinfo: ping a particular rpc program - * or dump the the registered programs on the remote machine. + * or dump the registered programs on the remote machine. */ /* Modified: stable/8/usr.bin/xinstall/xinstall.c ============================================================================== --- stable/8/usr.bin/xinstall/xinstall.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/usr.bin/xinstall/xinstall.c Thu Feb 24 10:23:22 2011 (r218992) @@ -497,7 +497,7 @@ install(const char *from_name, const cha * flags, except for the dump flag. * NFS does not support flags. Ignore EOPNOTSUPP flags if we're just * trying to turn off UF_NODUMP. If we're trying to set real flags, - * then warn if the the fs doesn't support it, otherwise fail. + * then warn if the fs doesn't support it, otherwise fail. */ if (!devnull && (flags & SETFLAGS || (from_sb.st_flags & ~UF_NODUMP) != to_sb.st_flags) && Modified: stable/8/usr.sbin/moused/moused.c ============================================================================== --- stable/8/usr.sbin/moused/moused.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/usr.sbin/moused/moused.c Thu Feb 24 10:23:22 2011 (r218992) @@ -931,7 +931,7 @@ main(int argc, char *argv[]) /* * We cannot continue because of error. Exit if the * program has not become a daemon. Otherwise, block - * until the the user corrects the problem and issues SIGHUP. + * until the user corrects the problem and issues SIGHUP. */ if (!background) exit(1); Modified: stable/8/usr.sbin/rpcbind/util.c ============================================================================== --- stable/8/usr.sbin/rpcbind/util.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/usr.sbin/rpcbind/util.c Thu Feb 24 10:23:22 2011 (r218992) @@ -244,7 +244,7 @@ addrmerge(struct netbuf *caller, char *s found: /* - * Construct the new address using the the address from + * Construct the new address using the address from * `bestif', and the port number from `serv_uaddr'. */ serv_nbp = uaddr2taddr(nconf, serv_uaddr); Modified: stable/8/usr.sbin/sysinstall/install.c ============================================================================== --- stable/8/usr.sbin/sysinstall/install.c Thu Feb 24 10:21:26 2011 (r218991) +++ stable/8/usr.sbin/sysinstall/install.c Thu Feb 24 10:23:22 2011 (r218992) @@ -946,7 +946,7 @@ installFixupBase(dialogMenuItem *self) vsystem("mtree -deU -f /etc/mtree/BSD.usr.dist -p /usr"); #ifdef __ia64__ - /* Move /boot to the the EFI partition and make /boot a link to it. */ + /* Move /boot to the EFI partition and make /boot a link to it. */ efi_mntpt = (EfiChunk != NULL) ? ((PartInfo *)EfiChunk->private_data)->mountpoint : NULL; if (efi_mntpt != NULL) { vsystem("if [ ! -L /boot ]; then mv /boot %s; fi", efi_mntpt); From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 10:45:43 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33D04106564A; Thu, 24 Feb 2011 10:45:43 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5CF8FC0A; Thu, 24 Feb 2011 10:45:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OAjhFk034861; Thu, 24 Feb 2011 10:45:43 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OAjfFR034792; Thu, 24 Feb 2011 10:45:41 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102241045.p1OAjfFR034792@svn.freebsd.org> From: Bruce Cran Date: Thu, 24 Feb 2011 10:45:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218993 - in stable/7: bin/df bin/sh lib/libc/arm/gen lib/libc/ia64/gen lib/libc/powerpc/gen sys/amd64/amd64 sys/arm/xscale/i80321 sys/boot/ficl sys/cam sys/cam/scsi sys/cddl/dev/dtrace... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 10:45:43 -0000 Author: brucec Date: Thu Feb 24 10:45:41 2011 New Revision: 218993 URL: http://svn.freebsd.org/changeset/base/218993 Log: MFC r218909: Fix typos - remove duplicate "the". PR: bin/154928 Submitted by: Eitan Adler Modified: stable/7/bin/df/df.c stable/7/bin/sh/expand.c stable/7/lib/libc/arm/gen/modf.c stable/7/lib/libc/ia64/gen/modf.c stable/7/lib/libc/powerpc/gen/modf.c stable/7/sys/amd64/amd64/trap.c stable/7/sys/arm/xscale/i80321/iq80321.c stable/7/sys/boot/ficl/words.c stable/7/sys/cam/cam_xpt.c stable/7/sys/cam/scsi/scsi_sa.c stable/7/sys/cddl/dev/dtrace/amd64/dtrace_subr.c stable/7/sys/cddl/dev/dtrace/i386/dtrace_subr.c stable/7/sys/compat/ndis/subr_ntoskrnl.c stable/7/sys/dev/advansys/adwcam.c stable/7/sys/dev/asr/i2omsg.h stable/7/sys/dev/bktr/bktr_card.c stable/7/sys/dev/ctau/ctau.c stable/7/sys/dev/ctau/ctddk.h stable/7/sys/dev/cxgb/cxgb_main.c stable/7/sys/dev/drm/mach64_dma.c stable/7/sys/dev/drm/r300_reg.h stable/7/sys/dev/e1000/e1000_82575.c stable/7/sys/dev/e1000/e1000_ich8lan.c stable/7/sys/dev/ep/if_epreg.h stable/7/sys/dev/fdc/fdc.c stable/7/sys/dev/ixgb/ixgb_ee.c stable/7/sys/dev/malo/if_malohal.h stable/7/sys/dev/nxge/xgehal/xgehal-device.c stable/7/sys/dev/nxge/xgehal/xgehal-ring-fp.c stable/7/sys/dev/random/randomdev_soft.c stable/7/sys/dev/sound/pci/es137x.c stable/7/sys/dev/sym/sym_fw1.h stable/7/sys/dev/sym/sym_fw2.h stable/7/sys/dev/uart/uart_dev_ns8250.c stable/7/sys/dev/vx/if_vxreg.h stable/7/sys/dev/wpi/if_wpi.c stable/7/sys/fs/fdescfs/fdesc_vnops.c stable/7/sys/fs/msdosfs/msdosfs_vnops.c stable/7/sys/geom/geom_vfs.c stable/7/sys/geom/part/g_part_ebr.c stable/7/sys/i386/i386/trap.c stable/7/sys/kern/subr_unit.c stable/7/sys/kern/subr_witness.c stable/7/sys/kern/uipc_mbuf.c stable/7/sys/net/if_media.c stable/7/sys/net/route.c stable/7/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c stable/7/sys/netgraph/ng_source.c stable/7/sys/netinet/if_ether.c stable/7/sys/netinet/ip_input.c stable/7/sys/netinet/tcp_offload.h stable/7/sys/netinet/tcp_subr.c stable/7/sys/netinet/tcp_syncache.c stable/7/sys/netinet/tcp_timewait.c stable/7/sys/netinet6/in6.h stable/7/sys/pc98/cbus/fdc.c stable/7/sys/sparc64/include/iommureg.h stable/7/sys/sparc64/sparc64/trap.c stable/7/sys/sys/aac_ioctl.h stable/7/usr.bin/lex/misc.c stable/7/usr.bin/m4/gnum4.c stable/7/usr.bin/make/lst.c stable/7/usr.bin/rpcinfo/rpcinfo.c stable/7/usr.bin/xinstall/xinstall.c stable/7/usr.sbin/moused/moused.c stable/7/usr.sbin/rpcbind/util.c stable/7/usr.sbin/sysinstall/install.c Directory Properties: stable/7/bin/df/ (props changed) stable/7/bin/sh/ (props changed) stable/7/lib/libc/ (props changed) stable/7/lib/libc/stdtime/ (props changed) stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/usr.bin/lex/ (props changed) stable/7/usr.bin/m4/ (props changed) stable/7/usr.bin/make/ (props changed) stable/7/usr.bin/rpcinfo/ (props changed) stable/7/usr.bin/xinstall/ (props changed) stable/7/usr.sbin/moused/ (props changed) stable/7/usr.sbin/rpcbind/ (props changed) stable/7/usr.sbin/sysinstall/ (props changed) Modified: stable/7/bin/df/df.c ============================================================================== --- stable/7/bin/df/df.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/bin/df/df.c Thu Feb 24 10:45:41 2011 (r218993) @@ -124,7 +124,7 @@ main(int argc, char *argv[]) /* FALLTHROUGH */ case 'P': /* - * POSIX specifically discusses the the behavior of + * POSIX specifically discusses the behavior of * both -k and -P. It states that the blocksize should * be set to 1024. Thus, if this occurs, simply break * rather than clobbering the old blocksize. Modified: stable/7/bin/sh/expand.c ============================================================================== --- stable/7/bin/sh/expand.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/bin/sh/expand.c Thu Feb 24 10:45:41 2011 (r218993) @@ -944,7 +944,7 @@ numvar: /* - * Record the the fact that we have to scan this region of the + * Record the fact that we have to scan this region of the * string for IFS characters. */ Modified: stable/7/lib/libc/arm/gen/modf.c ============================================================================== --- stable/7/lib/libc/arm/gen/modf.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/lib/libc/arm/gen/modf.c Thu Feb 24 10:45:41 2011 (r218993) @@ -86,7 +86,7 @@ modf(val, iptr) * If you look at the math involved for a few seconds, it's * plain to see that the integral part is the input, with the * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, - * the the fractional part is the part with the rest of the + * the fractional part is the part with the rest of the * bits zeroed. Just zeroing the high bits to get the * fractional part would yield a fraction in need of * normalization. Therefore, we take the easy way out, and Modified: stable/7/lib/libc/ia64/gen/modf.c ============================================================================== --- stable/7/lib/libc/ia64/gen/modf.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/lib/libc/ia64/gen/modf.c Thu Feb 24 10:45:41 2011 (r218993) @@ -85,7 +85,7 @@ modf(val, iptr) * If you look at the math involved for a few seconds, it's * plain to see that the integral part is the input, with the * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, - * the the fractional part is the part with the rest of the + * the fractional part is the part with the rest of the * bits zeroed. Just zeroing the high bits to get the * fractional part would yield a fraction in need of * normalization. Therefore, we take the easy way out, and Modified: stable/7/lib/libc/powerpc/gen/modf.c ============================================================================== --- stable/7/lib/libc/powerpc/gen/modf.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/lib/libc/powerpc/gen/modf.c Thu Feb 24 10:45:41 2011 (r218993) @@ -86,7 +86,7 @@ modf(val, iptr) * If you look at the math involved for a few seconds, it's * plain to see that the integral part is the input, with the * low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed, - * the the fractional part is the part with the rest of the + * the fractional part is the part with the rest of the * bits zeroed. Just zeroing the high bits to get the * fractional part would yield a fraction in need of * normalization. Therefore, we take the easy way out, and Modified: stable/7/sys/amd64/amd64/trap.c ============================================================================== --- stable/7/sys/amd64/amd64/trap.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/amd64/amd64/trap.c Thu Feb 24 10:45:41 2011 (r218993) @@ -240,7 +240,7 @@ trap(struct trapframe *frame) * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * If the DTrace kernel module has registered a trap handler, Modified: stable/7/sys/arm/xscale/i80321/iq80321.c ============================================================================== --- stable/7/sys/arm/xscale/i80321/iq80321.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/arm/xscale/i80321/iq80321.c Thu Feb 24 10:45:41 2011 (r218993) @@ -139,7 +139,7 @@ iq80321_attach(device_t dev) device_get_name(dev)); /* - * We have mapped the the PCI I/O windows in the early + * We have mapped the PCI I/O windows in the early * bootstrap phase. */ sc->sc_iow_vaddr = IQ80321_IOW_VBASE; Modified: stable/7/sys/boot/ficl/words.c ============================================================================== --- stable/7/sys/boot/ficl/words.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/boot/ficl/words.c Thu Feb 24 10:45:41 2011 (r218993) @@ -1293,7 +1293,7 @@ static void ifCoIm(FICL_VM *pVM) ** compiles an "else"... ** 1) Compile a branch and a patch address; the address gets patched ** by "endif" to point past the "else" code. -** 2) Pop the the "if" patch address +** 2) Pop the "if" patch address ** 3) Patch the "if" branch to point to the current compile address. ** 4) Push the "else" patch address. ("endif" patches this to jump past ** the "else" code. Modified: stable/7/sys/cam/cam_xpt.c ============================================================================== --- stable/7/sys/cam/cam_xpt.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/cam/cam_xpt.c Thu Feb 24 10:45:41 2011 (r218993) @@ -883,7 +883,7 @@ xpt_schedule_dev_allocq(struct cam_eb *b } /* * The priority of a device waiting for CCB resources - * is that of the the highest priority peripheral driver + * is that of the highest priority peripheral driver * enqueued. */ retval = xpt_schedule_dev(&bus->sim->devq->alloc_queue, @@ -904,7 +904,7 @@ xpt_schedule_dev_sendq(struct cam_eb *bu if (dev->ccbq.dev_openings > 0) { /* * The priority of a device waiting for controller - * resources is that of the the highest priority CCB + * resources is that of the highest priority CCB * enqueued. */ retval = Modified: stable/7/sys/cam/scsi/scsi_sa.c ============================================================================== --- stable/7/sys/cam/scsi/scsi_sa.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/cam/scsi/scsi_sa.c Thu Feb 24 10:45:41 2011 (r218993) @@ -2660,7 +2660,7 @@ retry: struct scsi_dev_conf_page *cp = &ntcs->dconf; /* * We don't really know whether this device supports - * Data Compression if the the algorithm field is + * Data Compression if the algorithm field is * zero. Just say we do. */ *comp_supported = TRUE; Modified: stable/7/sys/cddl/dev/dtrace/amd64/dtrace_subr.c ============================================================================== --- stable/7/sys/cddl/dev/dtrace/amd64/dtrace_subr.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/cddl/dev/dtrace/amd64/dtrace_subr.c Thu Feb 24 10:45:41 2011 (r218993) @@ -502,7 +502,7 @@ dtrace_trap(struct trapframe *frame, u_i * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * Check if DTrace has enabled 'no-fault' mode: Modified: stable/7/sys/cddl/dev/dtrace/i386/dtrace_subr.c ============================================================================== --- stable/7/sys/cddl/dev/dtrace/i386/dtrace_subr.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/cddl/dev/dtrace/i386/dtrace_subr.c Thu Feb 24 10:45:41 2011 (r218993) @@ -502,7 +502,7 @@ dtrace_trap(struct trapframe *frame, u_i * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * Check if DTrace has enabled 'no-fault' mode: Modified: stable/7/sys/compat/ndis/subr_ntoskrnl.c ============================================================================== --- stable/7/sys/compat/ndis/subr_ntoskrnl.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/compat/ndis/subr_ntoskrnl.c Thu Feb 24 10:45:41 2011 (r218993) @@ -3277,7 +3277,7 @@ KeSetEvent(nt_kevent *kevent, uint32_t i * setting the state to signalled since we're supposed * to automatically clear synchronization events anyway). * - * If it's a notification event, or the the first + * If it's a notification event, or the first * waiter is doing a WAITTYPE_ALL wait, go through * the full wait satisfaction process. */ Modified: stable/7/sys/dev/advansys/adwcam.c ============================================================================== --- stable/7/sys/dev/advansys/adwcam.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/advansys/adwcam.c Thu Feb 24 10:45:41 2011 (r218993) @@ -1,5 +1,5 @@ /*- - * CAM SCSI interface for the the Advanced Systems Inc. + * CAM SCSI interface for the Advanced Systems Inc. * Second Generation SCSI controllers. * * Product specific probe and attach routines can be found in: Modified: stable/7/sys/dev/asr/i2omsg.h ============================================================================== --- stable/7/sys/dev/asr/i2omsg.h Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/asr/i2omsg.h Thu Feb 24 10:45:41 2011 (r218993) @@ -183,7 +183,7 @@ PRAGMA_PACK_PUSH #define I2O_VERSION_OFFSET_SGL_TRL_OFFSET_MASK 0xF0 /* Defines for the Message Flags Field. */ -/* Please Note the the FAIL bit is only set in the Transport Fail Message. */ +/* Please Note the FAIL bit is only set in the Transport Fail Message. */ #define I2O_MESSAGE_FLAGS_STATIC 0x01 #define I2O_MESSAGE_FLAGS_64BIT_CONTEXT 0x02 #define I2O_MESSAGE_FLAGS_MULTIPLE 0x10 Modified: stable/7/sys/dev/bktr/bktr_card.c ============================================================================== --- stable/7/sys/dev/bktr/bktr_card.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/bktr/bktr_card.c Thu Feb 24 10:45:41 2011 (r218993) @@ -570,7 +570,7 @@ static int locate_eeprom_address( bktr_p * * However some makes of card (eg Hauppauge) come with a configuration eeprom * which tells us the make of the card. Most eeproms also tell us the - * tuner type and other features of the the cards. + * tuner type and other features of the cards. * * The current probe code works as follows * A) If the card uses a Bt878/879: Modified: stable/7/sys/dev/ctau/ctau.c ============================================================================== --- stable/7/sys/dev/ctau/ctau.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/ctau/ctau.c Thu Feb 24 10:45:41 2011 (r218993) @@ -1734,7 +1734,7 @@ ct_board_opt_t ct_board_opt_dflt = { 0, /* board control register 2 */ { /* DMA priority control register */ PCR_PRIO_ROTATE, - 0, /* all channels share the the bus hold */ + 0, /* all channels share the bus hold */ 0, /* hold the bus until all transfers done */ }, CFG_A, /* E1/G.703 config: two independent channels */ Modified: stable/7/sys/dev/ctau/ctddk.h ============================================================================== --- stable/7/sys/dev/ctau/ctddk.h Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/ctau/ctddk.h Thu Feb 24 10:45:41 2011 (r218993) @@ -206,7 +206,7 @@ typedef struct { typedef struct { unsigned prio : 3; /* priority of channels */ unsigned noshare : 1; /* 1 - chan holds the bus until end of data */ - /* 0 - all channels share the the bus hold */ + /* 0 - all channels share the bus hold */ unsigned release : 1; /* 1 - release the bus between transfers */ /* 0 - hold the bus until all transfers done */ } ct_pcr_t; Modified: stable/7/sys/dev/cxgb/cxgb_main.c ============================================================================== --- stable/7/sys/dev/cxgb/cxgb_main.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/cxgb/cxgb_main.c Thu Feb 24 10:45:41 2011 (r218993) @@ -1952,7 +1952,7 @@ cxgb_uninit_synchronized(struct port_inf /* * Clear this port's bit from the open device map, and then drain all * the tasks that can access/manipulate this port's port_info or ifp. - * We disable this port's interrupts here and so the the slow/ext + * We disable this port's interrupts here and so the slow/ext * interrupt tasks won't be enqueued. The tick task will continue to * be enqueued every second but the runs after this drain will not see * this port in the open device map. @@ -2915,7 +2915,7 @@ cxgb_extension_ioctl(struct cdev *dev, u u64 buf[32]; /* - * Use these to avoid modifying len/addr in the the return + * Use these to avoid modifying len/addr in the return * struct */ uint32_t len = t->len, addr = t->addr; Modified: stable/7/sys/dev/drm/mach64_dma.c ============================================================================== --- stable/7/sys/dev/drm/mach64_dma.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/drm/mach64_dma.c Thu Feb 24 10:45:41 2011 (r218993) @@ -173,7 +173,7 @@ static int mach64_ring_idle(drm_mach64_p } /** - * Reset the the ring buffer descriptors. + * Reset the ring buffer descriptors. * * \sa mach64_do_engine_reset() */ Modified: stable/7/sys/dev/drm/r300_reg.h ============================================================================== --- stable/7/sys/dev/drm/r300_reg.h Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/drm/r300_reg.h Thu Feb 24 10:45:41 2011 (r218993) @@ -353,7 +353,7 @@ __FBSDID("$FreeBSD$"); # define R300_PVS_CNTL_1_PROGRAM_START_SHIFT 0 # define R300_PVS_CNTL_1_POS_END_SHIFT 10 # define R300_PVS_CNTL_1_PROGRAM_END_SHIFT 20 -/* Addresses are relative the the vertex program parameters area. */ +/* Addresses are relative the vertex program parameters area. */ #define R300_VAP_PVS_CNTL_2 0x22D4 # define R300_PVS_CNTL_2_PARAM_OFFSET_SHIFT 0 # define R300_PVS_CNTL_2_PARAM_COUNT_SHIFT 16 Modified: stable/7/sys/dev/e1000/e1000_82575.c ============================================================================== --- stable/7/sys/dev/e1000/e1000_82575.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/e1000/e1000_82575.c Thu Feb 24 10:45:41 2011 (r218993) @@ -1831,7 +1831,7 @@ out: * e1000_reset_mdicnfg_82580 - Reset MDICNFG destination and com_mdio bits * @hw: pointer to the HW structure * - * This resets the the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on + * This resets the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on * the values found in the EEPROM. This addresses an issue in which these * bits are not restored from EEPROM after reset. **/ Modified: stable/7/sys/dev/e1000/e1000_ich8lan.c ============================================================================== --- stable/7/sys/dev/e1000/e1000_ich8lan.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/e1000/e1000_ich8lan.c Thu Feb 24 10:45:41 2011 (r218993) @@ -3164,7 +3164,7 @@ out: * @hw: pointer to the HW structure * * ICH8 use the PCI Express bus, but does not contain a PCI Express Capability - * register, so the the bus width is hard coded. + * register, so the bus width is hard coded. **/ static s32 e1000_get_bus_info_ich8lan(struct e1000_hw *hw) { Modified: stable/7/sys/dev/ep/if_epreg.h ============================================================================== --- stable/7/sys/dev/ep/if_epreg.h Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/ep/if_epreg.h Thu Feb 24 10:45:41 2011 (r218993) @@ -113,7 +113,7 @@ /************************************************************************** * * * These are the registers for the 3Com 3c509 and their bit patterns when * - * applicable. They have been taken out the the "EtherLink III Parallel * + * applicable. They have been taken out the "EtherLink III Parallel * * Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual * * from 3com. * * * Modified: stable/7/sys/dev/fdc/fdc.c ============================================================================== --- stable/7/sys/dev/fdc/fdc.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/fdc/fdc.c Thu Feb 24 10:45:41 2011 (r218993) @@ -1267,7 +1267,7 @@ fdmisccmd(struct fd_data *fd, u_int cmd, /* * Set up a bio request for fdstrategy(). bio_offset is faked - * so that fdstrategy() will seek to the the requested + * so that fdstrategy() will seek to the requested * cylinder, and use the desired head. */ bp->bio_cmd = cmd; Modified: stable/7/sys/dev/ixgb/ixgb_ee.c ============================================================================== --- stable/7/sys/dev/ixgb/ixgb_ee.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/ixgb/ixgb_ee.c Thu Feb 24 10:45:41 2011 (r218993) @@ -325,7 +325,7 @@ ixgb_wait_eeprom_command(struct ixgb_hw * hw - Struct containing variables accessed by shared code * * Reads the first 64 16 bit words of the EEPROM and sums the values read. - * If the the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is + * If the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is * valid. * * Returns: Modified: stable/7/sys/dev/malo/if_malohal.h ============================================================================== --- stable/7/sys/dev/malo/if_malohal.h Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/malo/if_malohal.h Thu Feb 24 10:45:41 2011 (r218993) @@ -133,7 +133,7 @@ struct malo_hal_hwstats { /* * Set Antenna Configuration (legacy operation). * - * The RX antenna can be selected using the the bitmask + * The RX antenna can be selected using the bitmask * ant (bit 0 = antenna 1, bit 1 = antenna 2, etc.) * (diversity?XXX) */ Modified: stable/7/sys/dev/nxge/xgehal/xgehal-device.c ============================================================================== --- stable/7/sys/dev/nxge/xgehal/xgehal-device.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/nxge/xgehal/xgehal-device.c Thu Feb 24 10:45:41 2011 (r218993) @@ -4418,7 +4418,7 @@ xge_hal_device_status(xge_hal_device_t * #ifndef XGE_HAL_HERC_EMULATION /* * Andrew: in PCI 33 mode, the P_PLL is not used, and therefore, - * the the P_PLL_LOCK bit in the adapter_status register will + * the P_PLL_LOCK bit in the adapter_status register will * not be asserted. */ if (!(tmp64 & XGE_HAL_ADAPTER_STATUS_P_PLL_LOCK) && Modified: stable/7/sys/dev/nxge/xgehal/xgehal-ring-fp.c ============================================================================== --- stable/7/sys/dev/nxge/xgehal/xgehal-ring-fp.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/nxge/xgehal/xgehal-ring-fp.c Thu Feb 24 10:45:41 2011 (r218993) @@ -801,7 +801,7 @@ xge_hal_ring_dtr_free(xge_hal_channel_h * xge_hal_ring_is_next_dtr_completed - Check if the next dtr is completed * @channelh: Channel handle. * - * Checks if the the _next_ completed descriptor is in host memory + * Checks if the _next_ completed descriptor is in host memory * * Returns: XGE_HAL_OK - success. * XGE_HAL_INF_NO_MORE_COMPLETED_DESCRIPTORS - No completed descriptors Modified: stable/7/sys/dev/random/randomdev_soft.c ============================================================================== --- stable/7/sys/dev/random/randomdev_soft.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/random/randomdev_soft.c Thu Feb 24 10:45:41 2011 (r218993) @@ -350,7 +350,7 @@ random_yarrow_write(void *buf, int count /* * Break the input up into HARVESTSIZE chunks. The writer has too - * much control here, so "estimate" the the entropy as zero. + * much control here, so "estimate" the entropy as zero. */ for (i = 0; i < count; i += HARVESTSIZE) { chunk = HARVESTSIZE; Modified: stable/7/sys/dev/sound/pci/es137x.c ============================================================================== --- stable/7/sys/dev/sound/pci/es137x.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/sound/pci/es137x.c Thu Feb 24 10:45:41 2011 (r218993) @@ -555,7 +555,7 @@ eschan1370_setspeed(kobj_t obj, void *da /* * DAC1 does not support continuous rate settings. * Pick the nearest and use it since FEEDER_RATE will - * do the the proper conversion for us. + * do the proper conversion for us. */ es->ctrl &= ~CTRL_WTSRSEL; if (speed < 8268) { Modified: stable/7/sys/dev/sym/sym_fw1.h ============================================================================== --- stable/7/sys/dev/sym/sym_fw1.h Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/sym/sym_fw1.h Thu Feb 24 10:45:41 2011 (r218993) @@ -262,7 +262,7 @@ static const struct SYM_FWA_SCR SYM_FWA_ * The below GETJOB_BEGIN to GETJOB_END section of SCRIPTS * is a critical path. If it is partially executed, it then * may happen that the job address is not yet in the DSA - * and the the next queue position points to the next JOB. + * and the next queue position points to the next JOB. */ }/*-------------------------< GETJOB_BEGIN >---------------------*/,{ /* Modified: stable/7/sys/dev/sym/sym_fw2.h ============================================================================== --- stable/7/sys/dev/sym/sym_fw2.h Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/sym/sym_fw2.h Thu Feb 24 10:45:41 2011 (r218993) @@ -252,7 +252,7 @@ static const struct SYM_FWA_SCR SYM_FWA_ * The below GETJOB_BEGIN to GETJOB_END section of SCRIPTS * is a critical path. If it is partially executed, it then * may happen that the job address is not yet in the DSA - * and the the next queue position points to the next JOB. + * and the next queue position points to the next JOB. */ SCR_LOAD_ABS (dsa, 4), PADDR_B (startpos), Modified: stable/7/sys/dev/uart/uart_dev_ns8250.c ============================================================================== --- stable/7/sys/dev/uart/uart_dev_ns8250.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/uart/uart_dev_ns8250.c Thu Feb 24 10:45:41 2011 (r218993) @@ -667,7 +667,7 @@ ns8250_bus_probe(struct uart_softc *sc) /* * We should have a sufficiently clean "pipe" to determine the * size of the FIFOs. We send as much characters as is reasonable - * and wait for the the overflow bit in the LSR register to be + * and wait for the overflow bit in the LSR register to be * asserted, counting the characters as we send them. Based on * that count we know the FIFO size. */ Modified: stable/7/sys/dev/vx/if_vxreg.h ============================================================================== --- stable/7/sys/dev/vx/if_vxreg.h Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/vx/if_vxreg.h Thu Feb 24 10:45:41 2011 (r218993) @@ -112,7 +112,7 @@ /************************************************************************** * These are the registers for the 3Com 3c509 and their bit patterns when * - * applicable. They have been taken out the the "EtherLink III Parallel * + * applicable. They have been taken out the "EtherLink III Parallel * * Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual * * from 3com. * **************************************************************************/ Modified: stable/7/sys/dev/wpi/if_wpi.c ============================================================================== --- stable/7/sys/dev/wpi/if_wpi.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/dev/wpi/if_wpi.c Thu Feb 24 10:45:41 2011 (r218993) @@ -29,7 +29,7 @@ __FBSDID("$FreeBSD$"); * state and told to load boot firmware. The boot firmware loads an init and a * main binary firmware image into SRAM on the card via DMA. * Once the firmware is loaded, the driver/hw then - * communicate by way of circular dma rings via the the SRAM to the firmware. + * communicate by way of circular dma rings via the SRAM to the firmware. * * There is 6 memory rings. 1 command ring, 1 rx data ring & 4 tx data rings. * The 4 tx data rings allow for prioritization QoS. Modified: stable/7/sys/fs/fdescfs/fdesc_vnops.c ============================================================================== --- stable/7/sys/fs/fdescfs/fdesc_vnops.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/fs/fdescfs/fdesc_vnops.c Thu Feb 24 10:45:41 2011 (r218993) @@ -367,7 +367,7 @@ fdesc_open(ap) return (0); /* - * XXX Kludge: set td->td_proc->p_dupfd to contain the value of the the file + * XXX Kludge: set td->td_proc->p_dupfd to contain the value of the file * descriptor being sought for duplication. The error return ensures * that the vnode for this device will be released by vn_open. Open * will detect this special error and take the actions in dupfdopen. Modified: stable/7/sys/fs/msdosfs/msdosfs_vnops.c ============================================================================== --- stable/7/sys/fs/msdosfs/msdosfs_vnops.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/fs/msdosfs/msdosfs_vnops.c Thu Feb 24 10:45:41 2011 (r218993) @@ -1538,7 +1538,7 @@ msdosfs_readdir(ap) /* * msdosfs_readdir() won't operate properly on regular files since - * it does i/o only with the the filesystem vnode, and hence can + * it does i/o only with the filesystem vnode, and hence can * retrieve the wrong block from the buffer cache for a plain file. * So, fail attempts to readdir() on a plain file. */ Modified: stable/7/sys/geom/geom_vfs.c ============================================================================== --- stable/7/sys/geom/geom_vfs.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/geom/geom_vfs.c Thu Feb 24 10:45:41 2011 (r218993) @@ -109,7 +109,7 @@ g_vfs_strategy(struct bufobj *bo, struct G_VALID_CONSUMER(cp); /* - * If the the provider has orphaned us, just return EXIO. + * If the provider has orphaned us, just return EXIO. */ if (cp->provider == NULL) { bp->b_error = ENXIO; Modified: stable/7/sys/geom/part/g_part_ebr.c ============================================================================== --- stable/7/sys/geom/part/g_part_ebr.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/geom/part/g_part_ebr.c Thu Feb 24 10:45:41 2011 (r218993) @@ -555,7 +555,7 @@ g_part_ebr_write(struct g_part_table *ba while (baseentry != NULL && baseentry->gpe_deleted) baseentry = LIST_NEXT(baseentry, gpe_entry); - /* Wipe-out the the first EBR when there are no slices. */ + /* Wipe-out the first EBR when there are no slices. */ if (baseentry == NULL) { error = g_write_data(cp, 0, buf, pp->sectorsize); goto out; Modified: stable/7/sys/i386/i386/trap.c ============================================================================== --- stable/7/sys/i386/i386/trap.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/i386/i386/trap.c Thu Feb 24 10:45:41 2011 (r218993) @@ -254,7 +254,7 @@ trap(struct trapframe *frame) * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * If the DTrace kernel module has registered a trap handler, Modified: stable/7/sys/kern/subr_unit.c ============================================================================== --- stable/7/sys/kern/subr_unit.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/kern/subr_unit.c Thu Feb 24 10:45:41 2011 (r218993) @@ -41,7 +41,7 @@ * * If a mutex is not provided when the unit number space is created, a * default global mutex is used. The advantage to passing a mutex in, is - * that the the alloc_unrl() function can be called with the mutex already + * that the alloc_unrl() function can be called with the mutex already * held (it will not be released by alloc_unrl()). * * The allocation function alloc_unr{l}() never sleeps (but it may block on @@ -52,7 +52,7 @@ * * A userland test program is included. * - * Memory usage is a very complex function of the the exact allocation + * Memory usage is a very complex function of the exact allocation * pattern, but always very compact: * * For the very typical case where a single unbroken run of unit * numbers are allocated 44 bytes are used on i386. Modified: stable/7/sys/kern/subr_witness.c ============================================================================== --- stable/7/sys/kern/subr_witness.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/kern/subr_witness.c Thu Feb 24 10:45:41 2011 (r218993) @@ -966,7 +966,7 @@ witness_checkorder(struct lock_object *l MPASS(!mtx_owned(&w_mtx)); mtx_lock_spin(&w_mtx); /* - * If we know that the the lock we are acquiring comes after + * If we know that the lock we are acquiring comes after * the lock we most recently acquired in the lock order tree, * then there is no need for any further checks. */ Modified: stable/7/sys/kern/uipc_mbuf.c ============================================================================== --- stable/7/sys/kern/uipc_mbuf.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/kern/uipc_mbuf.c Thu Feb 24 10:45:41 2011 (r218993) @@ -280,7 +280,7 @@ mb_free_ext(struct mbuf *m) } /* - * Attach the the cluster from *m to *n, set up m_ext in *n + * Attach the cluster from *m to *n, set up m_ext in *n * and bump the refcount of the cluster. */ static void Modified: stable/7/sys/net/if_media.c ============================================================================== --- stable/7/sys/net/if_media.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/net/if_media.c Thu Feb 24 10:45:41 2011 (r218993) @@ -235,7 +235,7 @@ ifmedia_ioctl(ifp, ifr, ifm, cmd) /* * If no change, we're done. * XXX Automedia may invole software intervention. - * Keep going in case the the connected media changed. + * Keep going in case the connected media changed. * Similarly, if best match changed (kernel debugger?). */ if ((IFM_SUBTYPE(newmedia) != IFM_AUTO) && Modified: stable/7/sys/net/route.c ============================================================================== --- stable/7/sys/net/route.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/net/route.c Thu Feb 24 10:45:41 2011 (r218993) @@ -515,7 +515,7 @@ rtredirect_fib(struct sockaddr *dst, goto done; /* * Create a new entry if we just got back a wildcard entry - * or the the lookup failed. This is necessary for hosts + * or the lookup failed. This is necessary for hosts * which use routing redirects generated by smart gateways * to dynamically build the routing tables. */ Modified: stable/7/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c ============================================================================== --- stable/7/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c Thu Feb 24 10:45:41 2011 (r218993) @@ -557,7 +557,7 @@ ng_btsocket_rfcomm_connect(struct socket soclose(l2so); /* we don't need new L2CAP socket */ /* - * Check if we already have the same DLCI the the same session + * Check if we already have the same DLCI the same session */ mtx_lock(&s->session_mtx); Modified: stable/7/sys/netgraph/ng_source.c ============================================================================== --- stable/7/sys/netgraph/ng_source.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/netgraph/ng_source.c Thu Feb 24 10:45:41 2011 (r218993) @@ -603,7 +603,7 @@ ng_source_disconnect(hook_p hook) } /* - * Set sc->output_ifp to point to the the struct ifnet of the interface + * Set sc->output_ifp to point to the struct ifnet of the interface * reached via our output hook. */ static int Modified: stable/7/sys/netinet/if_ether.c ============================================================================== --- stable/7/sys/netinet/if_ether.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/netinet/if_ether.c Thu Feb 24 10:45:41 2011 (r218993) @@ -918,7 +918,7 @@ reply: /* * Also check that the node which sent the ARP packet - * is on the the interface we expect it to be on. This + * is on the interface we expect it to be on. This * avoids ARP chaos if an interface is connected to the * wrong network. */ Modified: stable/7/sys/netinet/ip_input.c ============================================================================== --- stable/7/sys/netinet/ip_input.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/netinet/ip_input.c Thu Feb 24 10:45:41 2011 (r218993) @@ -906,7 +906,7 @@ found: * segment. If it provides all of our data, drop us, otherwise * stick new segment in the proper place. * - * If some of the data is dropped from the the preceding + * If some of the data is dropped from the preceding * segment, then it's checksum is invalidated. */ if (p) { Modified: stable/7/sys/netinet/tcp_offload.h ============================================================================== --- stable/7/sys/netinet/tcp_offload.h Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/netinet/tcp_offload.h Thu Feb 24 10:45:41 2011 (r218993) @@ -56,7 +56,7 @@ * * It is assumed that individuals deploying TOE will want connections * to be offloaded without software changes so all connections on an - * interface providing TOE are offloaded unless the the SO_NO_OFFLOAD + * interface providing TOE are offloaded unless the SO_NO_OFFLOAD * flag is set on the socket. * * Modified: stable/7/sys/netinet/tcp_subr.c ============================================================================== --- stable/7/sys/netinet/tcp_subr.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/netinet/tcp_subr.c Thu Feb 24 10:45:41 2011 (r218993) @@ -1232,7 +1232,7 @@ tcp_ctlinput(int cmd, struct sockaddr *s mtu = tcp_minmss + sizeof(struct tcpiphdr); /* - * Only cache the the MTU if it + * Only cache the MTU if it * is smaller than the interface * or route MTU. tcp_mtudisc() * will do right thing by itself. Modified: stable/7/sys/netinet/tcp_syncache.c ============================================================================== --- stable/7/sys/netinet/tcp_syncache.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/netinet/tcp_syncache.c Thu Feb 24 10:45:41 2011 (r218993) @@ -542,7 +542,7 @@ syncache_chkrst(struct in_conninfo *inc, * used, or we are under memory pressure, a valid RST * may not find a syncache entry. In that case we're * done and no SYN|ACK retransmissions will happen. - * Otherwise the the RST was misdirected or spoofed. + * Otherwise the RST was misdirected or spoofed. */ if (sc == NULL) { if ((s = tcp_log_addrs(inc, th, NULL, NULL))) Modified: stable/7/sys/netinet/tcp_timewait.c ============================================================================== --- stable/7/sys/netinet/tcp_timewait.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/netinet/tcp_timewait.c Thu Feb 24 10:45:41 2011 (r218993) @@ -379,7 +379,7 @@ tcp_twcheck(struct inpcb *inp, struct tc } /* - * Drop the the segment if it does not contain an ACK. + * Drop the segment if it does not contain an ACK. */ if ((thflags & TH_ACK) == 0) goto drop; Modified: stable/7/sys/netinet6/in6.h ============================================================================== --- stable/7/sys/netinet6/in6.h Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/netinet6/in6.h Thu Feb 24 10:45:41 2011 (r218993) @@ -78,7 +78,7 @@ /* * IPv6 port allocation rules should mirror the IPv4 rules and are controlled - * by the the net.inet.ip.portrange sysctl tree. The following defines exist + * by the net.inet.ip.portrange sysctl tree. The following defines exist * for compatibility with userland applications that need them. */ #if __BSD_VISIBLE Modified: stable/7/sys/pc98/cbus/fdc.c ============================================================================== --- stable/7/sys/pc98/cbus/fdc.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/pc98/cbus/fdc.c Thu Feb 24 10:45:41 2011 (r218993) @@ -2378,7 +2378,7 @@ fdmisccmd(struct cdev *dev, u_int cmd, v /* * Set up a bio request for fdstrategy(). bio_offset is faked - * so that fdstrategy() will seek to the the requested + * so that fdstrategy() will seek to the requested * cylinder, and use the desired head. */ bp->bio_cmd = cmd; Modified: stable/7/sys/sparc64/include/iommureg.h ============================================================================== --- stable/7/sys/sparc64/include/iommureg.h Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/sparc64/include/iommureg.h Thu Feb 24 10:45:41 2011 (r218993) @@ -194,7 +194,7 @@ * Unfortunately, sabres on UltraSPARC IIi and IIe processors does not use * this scheme to determine the IOVA base address. Instead, bits 31-29 are * used to check against the Target Address Space register in the IIi and - * the the IOMMU is used if they hit. God knows what goes on in the IIe. + * the IOMMU is used if they hit. God knows what goes on in the IIe. * */ Modified: stable/7/sys/sparc64/sparc64/trap.c ============================================================================== --- stable/7/sys/sparc64/sparc64/trap.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/sparc64/sparc64/trap.c Thu Feb 24 10:45:41 2011 (r218993) @@ -438,7 +438,7 @@ trap_cecc(void) cache_flush(); /* Ensure the caches are still turned on (should be). */ cache_enable(PCPU_GET(impl)); - /* Clear the the error from the AFSR. */ + /* Clear the error from the AFSR. */ stxa_sync(0, ASI_AFSR, ldxa(0, ASI_AFSR)); corrected_ecc++; printf("corrected ECC error\n"); Modified: stable/7/sys/sys/aac_ioctl.h ============================================================================== --- stable/7/sys/sys/aac_ioctl.h Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/sys/sys/aac_ioctl.h Thu Feb 24 10:45:41 2011 (r218993) @@ -117,7 +117,7 @@ union aac_statrequest { /* Do the native version of the ioctls. Since the BSD encoding scheme * conflicts with the 'standard' AAC encoding scheme, the resulting numbers * will be different. The '8' comes from the fact that the previous scheme - * used 12 bits for the number, with the the 12th bit being the only set + * used 12 bits for the number, with the 12th bit being the only set * bit above bit 8. Thus the value of 8, with the lower 8 bits holding the * command number. 9 is used for the odd overflow case. */ Modified: stable/7/usr.bin/lex/misc.c ============================================================================== --- stable/7/usr.bin/lex/misc.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/usr.bin/lex/misc.c Thu Feb 24 10:45:41 2011 (r218993) @@ -707,7 +707,7 @@ const char str[]; } -/* readable_form - return the the human-readable form of a character +/* readable_form - return the human-readable form of a character * * The returned string is in static storage. */ Modified: stable/7/usr.bin/m4/gnum4.c ============================================================================== --- stable/7/usr.bin/m4/gnum4.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/usr.bin/m4/gnum4.c Thu Feb 24 10:45:41 2011 (r218993) @@ -54,7 +54,7 @@ int mimic_gnu = 0; /* * Support for include path search - * First search in the the current directory. + * First search in the current directory. * If not found, and the path is not absolute, include path kicks in. * First, -I options, in the order found on the command line. * Then M4PATH env variable Modified: stable/7/usr.bin/make/lst.c ============================================================================== --- stable/7/usr.bin/make/lst.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/usr.bin/make/lst.c Thu Feb 24 10:45:41 2011 (r218993) @@ -99,7 +99,7 @@ Lst_Append(Lst *list, LstNode *ln, void * LST_CONCLINK if should just be relinked * * Side Effects: - * New elements are created and appended the the first list. + * New elements are created and appended the first list. */ void Lst_Concat(Lst *list1, Lst *list2, int flags) Modified: stable/7/usr.bin/rpcinfo/rpcinfo.c ============================================================================== --- stable/7/usr.bin/rpcinfo/rpcinfo.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/usr.bin/rpcinfo/rpcinfo.c Thu Feb 24 10:45:41 2011 (r218993) @@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$"); /* * rpcinfo: ping a particular rpc program - * or dump the the registered programs on the remote machine. + * or dump the registered programs on the remote machine. */ /* Modified: stable/7/usr.bin/xinstall/xinstall.c ============================================================================== --- stable/7/usr.bin/xinstall/xinstall.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/usr.bin/xinstall/xinstall.c Thu Feb 24 10:45:41 2011 (r218993) @@ -492,7 +492,7 @@ install(const char *from_name, const cha * flags, except for the dump flag. * NFS does not support flags. Ignore EOPNOTSUPP flags if we're just * trying to turn off UF_NODUMP. If we're trying to set real flags, - * then warn if the the fs doesn't support it, otherwise fail. + * then warn if the fs doesn't support it, otherwise fail. */ if (!devnull && (flags & SETFLAGS || (from_sb.st_flags & ~UF_NODUMP) != to_sb.st_flags) && Modified: stable/7/usr.sbin/moused/moused.c ============================================================================== --- stable/7/usr.sbin/moused/moused.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/usr.sbin/moused/moused.c Thu Feb 24 10:45:41 2011 (r218993) @@ -931,7 +931,7 @@ main(int argc, char *argv[]) /* * We cannot continue because of error. Exit if the * program has not become a daemon. Otherwise, block - * until the the user corrects the problem and issues SIGHUP. + * until the user corrects the problem and issues SIGHUP. */ if (!background) exit(1); Modified: stable/7/usr.sbin/rpcbind/util.c ============================================================================== --- stable/7/usr.sbin/rpcbind/util.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/usr.sbin/rpcbind/util.c Thu Feb 24 10:45:41 2011 (r218993) @@ -244,7 +244,7 @@ addrmerge(struct netbuf *caller, char *s found: /* - * Construct the new address using the the address from + * Construct the new address using the address from * `bestif', and the port number from `serv_uaddr'. */ serv_nbp = uaddr2taddr(nconf, serv_uaddr); Modified: stable/7/usr.sbin/sysinstall/install.c ============================================================================== --- stable/7/usr.sbin/sysinstall/install.c Thu Feb 24 10:23:22 2011 (r218992) +++ stable/7/usr.sbin/sysinstall/install.c Thu Feb 24 10:45:41 2011 (r218993) @@ -910,7 +910,7 @@ installFixupBase(dialogMenuItem *self) vsystem("mtree -deU -f /etc/mtree/BSD.usr.dist -p /usr"); #ifdef __ia64__ - /* Move /boot to the the EFI partition and make /boot a link to it. */ + /* Move /boot to the EFI partition and make /boot a link to it. */ efi_mntpt = (EfiChunk != NULL) ? ((PartInfo *)EfiChunk->private_data)->mountpoint : NULL; if (efi_mntpt != NULL) { vsystem("if [ ! -L /boot ]; then mv /boot %s; fi", efi_mntpt); From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 11:00:50 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A57E1065673; Thu, 24 Feb 2011 11:00:50 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id B98858FC08; Thu, 24 Feb 2011 11:00:49 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 074A4E8BA7; Thu, 24 Feb 2011 11:00:46 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=subject :from:to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; s=mail; bh=Pj+E1TZ6S8Rr ljBjkJF0JTwrn/g=; b=Zso2KSzzMvWa2lavfF08eOxnderzVcwxlyUsjJk866mG +n/npCC/AxP7bLT5F6Ol7Ve0RCzzA7qpBIa+RJtEmYYzHfQlLnffCbk//38sNo84 MkLly7JW97ZlPlbgnfDTfHOroW3pjsODkraFpha8MT4Bz2gqhZfi15YqIp6VyZE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=subject:from :to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; q=dns; s=mail; b=OzUh2T iH725IMyVypkNGWmDeVRx7nkLqmBfx2JPLHIxDj+f+fVgG6T7oYewNRubQBFlpj4 GOBXMqOq7SRvxyE5CXqxBxXcAnJ4tX+aPrEyEcZnq9D1J9q1CBu4sjrNIoqJ9QD6 eSoAYM4Y5eH4LCKy2HpOc6BKlPPk94/6sJpCk= Received: from [192.168.0.10] (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 796E5E61BD; Thu, 24 Feb 2011 11:00:45 +0000 (GMT) From: Bruce Cran To: Bruce Cran In-Reply-To: <201102241045.p1OAjfFR034792@svn.freebsd.org> References: <201102241045.p1OAjfFR034792@svn.freebsd.org> Content-Type: text/plain; charset="us-ascii" Date: Thu, 24 Feb 2011 11:00:38 +0000 Message-ID: <1298545238.2900.3.camel@core.nessbank> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-7@freebsd.org Subject: Re: svn commit: r218993 - in stable/7: bin/df bin/sh lib/libc/arm/gen lib/libc/ia64/gen lib/libc/powerpc/gen sys/amd64/amd64 sys/arm/xscale/i80321 sys/boot/ficl sys/cam sys/cam/scsi sys/cddl/dev/dtrace... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 11:00:50 -0000 On Thu, 2011-02-24 at 10:45 +0000, Bruce Cran wrote: > Author: brucec > Date: Thu Feb 24 10:45:41 2011 > New Revision: 218993 > URL: http://svn.freebsd.org/changeset/base/218993 > > Log: > MFC r218909: > > Fix typos - remove duplicate "the". The change to sys/gnu/fs/xfs wasn't merged because the lack of $FreeBSD$ prevents the checkin. -- Bruce Cran From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 11:03:16 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CF06106566B; Thu, 24 Feb 2011 11:03:16 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5BD0A8FC0C; Thu, 24 Feb 2011 11:03:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OB3Gh7035508; Thu, 24 Feb 2011 11:03:16 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OB3GYs035506; Thu, 24 Feb 2011 11:03:16 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102241103.p1OB3GYs035506@svn.freebsd.org> From: Bruce Cran Date: Thu, 24 Feb 2011 11:03:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218994 - stable/8/usr.sbin/fdformat X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 11:03:16 -0000 Author: brucec Date: Thu Feb 24 11:03:16 2011 New Revision: 218994 URL: http://svn.freebsd.org/changeset/base/218994 Log: MFC r218910: The FD_FORM ioctl used to ignore errors from the floppy controller; now when it encounters an error it returns an error from the ioctl. Ignore any errors when using the FD_FORM ioctl. PR: kern/103862 Modified: stable/8/usr.sbin/fdformat/fdformat.c Directory Properties: stable/8/usr.sbin/fdformat/ (props changed) Modified: stable/8/usr.sbin/fdformat/fdformat.c ============================================================================== --- stable/8/usr.sbin/fdformat/fdformat.c Thu Feb 24 10:45:41 2011 (r218993) +++ stable/8/usr.sbin/fdformat/fdformat.c Thu Feb 24 11:03:16 2011 (r218994) @@ -75,8 +75,7 @@ format_track(int fd, int cyl, int secs, f.fd_formb_secno(i) = il[i+1]; f.fd_formb_secsize(i) = secsize; } - if(ioctl(fd, FD_FORM, (caddr_t)&f) < 0) - err(EX_OSERR, "ioctl(FD_FORM)"); + (void)ioctl(fd, FD_FORM, (caddr_t)&f); } static int From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 11:04:47 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B7461065696; Thu, 24 Feb 2011 11:04:47 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7A3928FC1D; Thu, 24 Feb 2011 11:04:47 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OB4lmf035600; Thu, 24 Feb 2011 11:04:47 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OB4l8p035598; Thu, 24 Feb 2011 11:04:47 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102241104.p1OB4l8p035598@svn.freebsd.org> From: Bruce Cran Date: Thu, 24 Feb 2011 11:04:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218995 - stable/7/usr.sbin/fdformat X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 11:04:47 -0000 Author: brucec Date: Thu Feb 24 11:04:47 2011 New Revision: 218995 URL: http://svn.freebsd.org/changeset/base/218995 Log: MFC r218910: The FD_FORM ioctl used to ignore errors from the floppy controller; now when it encounters an error it returns an error from the ioctl. Ignore any errors when using the FD_FORM ioctl. PR: kern/103862 Modified: stable/7/usr.sbin/fdformat/fdformat.c Directory Properties: stable/7/usr.sbin/fdformat/ (props changed) Modified: stable/7/usr.sbin/fdformat/fdformat.c ============================================================================== --- stable/7/usr.sbin/fdformat/fdformat.c Thu Feb 24 11:03:16 2011 (r218994) +++ stable/7/usr.sbin/fdformat/fdformat.c Thu Feb 24 11:04:47 2011 (r218995) @@ -75,8 +75,7 @@ format_track(int fd, int cyl, int secs, f.fd_formb_secno(i) = il[i+1]; f.fd_formb_secsize(i) = secsize; } - if(ioctl(fd, FD_FORM, (caddr_t)&f) < 0) - err(EX_OSERR, "ioctl(FD_FORM)"); + (void)ioctl(fd, FD_FORM, (caddr_t)&f); } static int From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 11:08:23 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD525106566B; Thu, 24 Feb 2011 11:08:23 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B17518FC1C; Thu, 24 Feb 2011 11:08:23 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OB8NGR035754; Thu, 24 Feb 2011 11:08:23 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OB8NaQ035752; Thu, 24 Feb 2011 11:08:23 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102241108.p1OB8NaQ035752@svn.freebsd.org> From: Bruce Cran Date: Thu, 24 Feb 2011 11:08:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218996 - stable/8/sys/crypto/sha2 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 11:08:24 -0000 Author: brucec Date: Thu Feb 24 11:08:23 2011 New Revision: 218996 URL: http://svn.freebsd.org/changeset/base/218996 Log: MFC r218918: Make private functions static. PR: kern/43611 Submitted by: Matt Emmerton Modified: stable/8/sys/crypto/sha2/sha2.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/crypto/sha2/sha2.c ============================================================================== --- stable/8/sys/crypto/sha2/sha2.c Thu Feb 24 11:04:47 2011 (r218995) +++ stable/8/sys/crypto/sha2/sha2.c Thu Feb 24 11:08:23 2011 (r218996) @@ -206,9 +206,9 @@ typedef u_int64_t sha2_word64; /* Exactl * library -- they are intended for private internal visibility/use * only. */ -void SHA512_Last(SHA512_CTX*); -void SHA256_Transform(SHA256_CTX*, const sha2_word32*); -void SHA512_Transform(SHA512_CTX*, const sha2_word64*); +static void SHA512_Last(SHA512_CTX*); +static void SHA256_Transform(SHA256_CTX*, const sha2_word32*); +static void SHA512_Transform(SHA512_CTX*, const sha2_word64*); /*** SHA-XYZ INITIAL HASH VALUES AND CONSTANTS ************************/ @@ -366,7 +366,7 @@ void SHA256_Init(SHA256_CTX* context) { (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \ j++ -void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { +static void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { sha2_word32 a, b, c, d, e, f, g, h, s0, s1; sha2_word32 T1, *W256; int j; @@ -424,7 +424,7 @@ void SHA256_Transform(SHA256_CTX* contex #else /* SHA2_UNROLL_TRANSFORM */ -void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { +static void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { sha2_word32 a, b, c, d, e, f, g, h, s0, s1; sha2_word32 T1, T2, *W256; int j; @@ -693,7 +693,7 @@ void SHA512_Init(SHA512_CTX* context) { (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \ j++ -void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { +static void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { sha2_word64 a, b, c, d, e, f, g, h, s0, s1; sha2_word64 T1, *W512 = (sha2_word64*)context->buffer; int j; @@ -748,7 +748,7 @@ void SHA512_Transform(SHA512_CTX* contex #else /* SHA2_UNROLL_TRANSFORM */ -void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { +static void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { sha2_word64 a, b, c, d, e, f, g, h, s0, s1; sha2_word64 T1 = 0, T2 = 0, *W512 = (sha2_word64*)context->buffer; int j; @@ -874,7 +874,7 @@ void SHA512_Update(SHA512_CTX* context, usedspace = freespace = 0; } -void SHA512_Last(SHA512_CTX* context) { +static void SHA512_Last(SHA512_CTX* context) { unsigned int usedspace; usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 11:09:41 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CAA3106564A; Thu, 24 Feb 2011 11:09:41 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 50B8E8FC13; Thu, 24 Feb 2011 11:09:41 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OB9fpB035842; Thu, 24 Feb 2011 11:09:41 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OB9fIc035840; Thu, 24 Feb 2011 11:09:41 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102241109.p1OB9fIc035840@svn.freebsd.org> From: Bruce Cran Date: Thu, 24 Feb 2011 11:09:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218997 - stable/7/sys/crypto/sha2 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 11:09:41 -0000 Author: brucec Date: Thu Feb 24 11:09:41 2011 New Revision: 218997 URL: http://svn.freebsd.org/changeset/base/218997 Log: MFC r218918: Make private functions static. PR: kern/43611 Submitted by: Matt Emmerton Modified: stable/7/sys/crypto/sha2/sha2.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/crypto/sha2/sha2.c ============================================================================== --- stable/7/sys/crypto/sha2/sha2.c Thu Feb 24 11:08:23 2011 (r218996) +++ stable/7/sys/crypto/sha2/sha2.c Thu Feb 24 11:09:41 2011 (r218997) @@ -206,9 +206,9 @@ typedef u_int64_t sha2_word64; /* Exactl * library -- they are intended for private internal visibility/use * only. */ -void SHA512_Last(SHA512_CTX*); -void SHA256_Transform(SHA256_CTX*, const sha2_word32*); -void SHA512_Transform(SHA512_CTX*, const sha2_word64*); +static void SHA512_Last(SHA512_CTX*); +static void SHA256_Transform(SHA256_CTX*, const sha2_word32*); +static void SHA512_Transform(SHA512_CTX*, const sha2_word64*); /*** SHA-XYZ INITIAL HASH VALUES AND CONSTANTS ************************/ @@ -366,7 +366,7 @@ void SHA256_Init(SHA256_CTX* context) { (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \ j++ -void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { +static void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { sha2_word32 a, b, c, d, e, f, g, h, s0, s1; sha2_word32 T1, *W256; int j; @@ -424,7 +424,7 @@ void SHA256_Transform(SHA256_CTX* contex #else /* SHA2_UNROLL_TRANSFORM */ -void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { +static void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { sha2_word32 a, b, c, d, e, f, g, h, s0, s1; sha2_word32 T1, T2, *W256; int j; @@ -693,7 +693,7 @@ void SHA512_Init(SHA512_CTX* context) { (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \ j++ -void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { +static void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { sha2_word64 a, b, c, d, e, f, g, h, s0, s1; sha2_word64 T1, *W512 = (sha2_word64*)context->buffer; int j; @@ -748,7 +748,7 @@ void SHA512_Transform(SHA512_CTX* contex #else /* SHA2_UNROLL_TRANSFORM */ -void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { +static void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { sha2_word64 a, b, c, d, e, f, g, h, s0, s1; sha2_word64 T1 = 0, T2 = 0, *W512 = (sha2_word64*)context->buffer; int j; @@ -874,7 +874,7 @@ void SHA512_Update(SHA512_CTX* context, usedspace = freespace = 0; } -void SHA512_Last(SHA512_CTX* context) { +static void SHA512_Last(SHA512_CTX* context) { unsigned int usedspace; usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 13:03:48 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1478C1065670; Thu, 24 Feb 2011 13:03:48 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 043708FC12; Thu, 24 Feb 2011 13:03:48 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OD3lI8039616; Thu, 24 Feb 2011 13:03:47 GMT (envelope-from remko@svn.freebsd.org) Received: (from remko@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OD3lX4039612; Thu, 24 Feb 2011 13:03:47 GMT (envelope-from remko@svn.freebsd.org) Message-Id: <201102241303.p1OD3lX4039612@svn.freebsd.org> From: Remko Lodder Date: Thu, 24 Feb 2011 13:03:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218998 - in head/share/man: man7 man8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 13:03:48 -0000 Author: remko Date: Thu Feb 24 13:03:47 2011 New Revision: 218998 URL: http://svn.freebsd.org/changeset/base/218998 Log: Move the sticky manual from section 8 to section 7 like NetBSD has, since this is not a command on itself. PR: 124468 MFC after: 1 week Added: head/share/man/man7/sticky.7 - copied, changed from r196178, head/share/man/man8/sticky.8 Deleted: head/share/man/man8/sticky.8 Modified: head/share/man/man7/Makefile head/share/man/man8/Makefile Modified: head/share/man/man7/Makefile ============================================================================== --- head/share/man/man7/Makefile Thu Feb 24 11:09:41 2011 (r218997) +++ head/share/man/man7/Makefile Thu Feb 24 13:03:47 2011 (r218998) @@ -25,6 +25,7 @@ MAN= adding_user.7 \ security.7 \ sprog.7 \ stdint.7 \ + sticky.7 \ tuning.7 MLINKS= intro.7 miscellaneous.7 Copied and modified: head/share/man/man7/sticky.7 (from r196178, head/share/man/man8/sticky.8) ============================================================================== --- head/share/man/man8/sticky.8 Thu Aug 13 10:31:02 2009 (r196178, copy source) +++ head/share/man/man7/sticky.7 Thu Feb 24 13:03:47 2011 (r218998) @@ -33,7 +33,7 @@ .\" $FreeBSD$ .\" .Dd June 5, 1993 -.Dt STICKY 8 +.Dt STICKY 7 .Os .Sh NAME .Nm sticky Modified: head/share/man/man8/Makefile ============================================================================== --- head/share/man/man8/Makefile Thu Feb 24 11:09:41 2011 (r218997) +++ head/share/man/man8/Makefile Thu Feb 24 13:03:47 2011 (r218998) @@ -10,7 +10,6 @@ MAN= crash.8 \ rc.sendmail.8 \ rc.subr.8 \ rescue.8 \ - sticky.8 \ yp.8 MLINKS= rc.8 rc.atm.8 \ From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 13:18:49 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A28C106566C; Thu, 24 Feb 2011 13:18:49 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 47DCD8FC13; Thu, 24 Feb 2011 13:18:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1ODInIF040158; Thu, 24 Feb 2011 13:18:49 GMT (envelope-from mm@svn.freebsd.org) Received: (from mm@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1ODInwB040152; Thu, 24 Feb 2011 13:18:49 GMT (envelope-from mm@svn.freebsd.org) Message-Id: <201102241318.p1ODInwB040152@svn.freebsd.org> From: Martin Matuska Date: Thu, 24 Feb 2011 13:18:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218999 - in vendor/xz/dist: . po src/common src/liblzma/api/lzma src/liblzma/common src/xz X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 13:18:49 -0000 Author: mm Date: Thu Feb 24 13:18:49 2011 New Revision: 218999 URL: http://svn.freebsd.org/changeset/base/218999 Log: Vendor import of xz (stripped) Git revision: 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004 Release: 5.0.1 Modified: vendor/xz/dist/ChangeLog vendor/xz/dist/THANKS vendor/xz/dist/po/cs.po vendor/xz/dist/po/de.po vendor/xz/dist/po/it.po vendor/xz/dist/po/xz.pot vendor/xz/dist/src/common/sysdefs.h vendor/xz/dist/src/liblzma/api/lzma/lzma.h vendor/xz/dist/src/liblzma/api/lzma/version.h vendor/xz/dist/src/liblzma/common/common.h vendor/xz/dist/src/xz/file_io.c vendor/xz/dist/src/xz/suffix.c vendor/xz/dist/src/xz/util.h Modified: vendor/xz/dist/ChangeLog ============================================================================== --- vendor/xz/dist/ChangeLog Thu Feb 24 13:03:47 2011 (r218998) +++ vendor/xz/dist/ChangeLog Thu Feb 24 13:18:49 2011 (r218999) @@ -1,3 +1,125 @@ +commit 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004 +Author: Lasse Collin +Date: Fri Jan 28 20:26:38 2011 +0200 + + Bump package version and liblzma soname to 5.0.1. + +commit 5fbce0b8d96dc96775aa0215e3581addc830e23d +Author: Lasse Collin +Date: Fri Jan 28 20:16:57 2011 +0200 + + Update NEWS for 5.0.1. + +commit 03ebd1bbb314f9f204940219a835c883bf442475 +Author: Lasse Collin +Date: Wed Jan 26 12:19:08 2011 +0200 + + xz: Fix --force on setuid/setgid/sticky and multi-hardlink files. + + xz didn't compress setuid/setgid/sticky files and files + with multiple hard links even with --force. This bug was + introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4. + + Thanks to Charles Wilson. + +commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136 +Author: Lasse Collin +Date: Tue Jan 18 21:25:24 2011 +0200 + + Updated THANKS. + +commit f71c4e16e913f660977526f0ef8d2acdf458d7c9 +Author: Lasse Collin +Date: Tue Jan 18 21:23:50 2011 +0200 + + Add alloc_size and malloc attributes to a few functions. + + Thanks to Cristian Rodríguez for the original patch. + +commit 316cbe24465143edde8f6ffb7532834b7b2ea93f +Author: Lasse Collin +Date: Mon Dec 13 16:36:33 2010 +0200 + + Scripts: Fix gzip and bzip2 support in xzdiff. + +commit 9311774c493c19deab51ded919dcd2e9c4aa2829 +Author: Lasse Collin +Date: Sun Dec 12 21:23:55 2010 +0200 + + Build: Enable ASM on DJGPP by default. + +commit 4a42aaee282fc73b482581684d65110506d5efdd +Author: Lasse Collin +Date: Sun Dec 12 16:09:42 2010 +0200 + + Updated THANKS. + +commit ce56f63c41ee210e6308090eb6d49221fdf67d6c +Author: Lasse Collin +Date: Sun Dec 12 16:07:11 2010 +0200 + + Add missing PRIx32 and PRIx64 compatibility definitions. + + This fixes portability to systems that lack C99 inttypes.h. + + Thanks to Juan Manuel Guerrero. + +commit e6baedddcf54e7da049ebc49183565b99facd4c7 +Author: Lasse Collin +Date: Sun Dec 12 14:50:04 2010 +0200 + + DOS-like: Treat \ and : as directory separators in addition to /. + + Juan Manuel Guerrero had fixed this in his XZ Utils port + to DOS/DJGPP. The bug affects also Windows and OS/2. + +commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f +Author: Lasse Collin +Date: Tue Dec 7 18:52:04 2010 +0200 + + Translations: Fix Czech translation of "sparse file". + + Thanks to Petr Hubený and Marek Černocký. + +commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e +Author: Lasse Collin +Date: Mon Nov 15 14:28:26 2010 +0200 + + liblzma: Document the return value of lzma_lzma_preset(). + +commit 2964d8d691ed92abdcf214888d79ad6d79774735 +Author: Jonathan Nieder +Date: Fri Nov 12 15:22:13 2010 -0600 + + Simplify paths in generated API docs + + Currently the file list generated by Doxygen has src/ at the + beginning of each path. Paths like common/sysdefs.h and + liblzma/api/lzma.h are easier to read without such a prefix. + + Builds from a separate build directory with + + mkdir build + cd build + ../configure + doxygen Doxyfile + + include an even longer prefix /home/someone/src/xz/src; this + patch has the nice side-effect of eliminating that prefix, too. + + Fixes: http://bugs.debian.org/572273 + +commit 37c25658efd25b034266daf87cd381d20d1df776 +Author: Lasse Collin +Date: Tue Oct 26 15:48:48 2010 +0300 + + Build: Copy the example programs to $docdir/examples. + + The example programs by Daniel Mealha Cabrita were included + in the git repository, but I had forgot to add them to + Makefile.am. Thus, they didn't get included in the source + package at all by "make dist". + commit e45929260cd902036efd40c5610a8d0a50d5712b Author: Lasse Collin Date: Sat Oct 23 17:25:52 2010 +0300 Modified: vendor/xz/dist/THANKS ============================================================================== --- vendor/xz/dist/THANKS Thu Feb 24 13:03:47 2011 (r218998) +++ vendor/xz/dist/THANKS Thu Feb 24 13:18:49 2011 (r218999) @@ -22,6 +22,7 @@ has been important. :-) In alphabetical - Gilles Espinasse - Denis Excoffier - Mike Frysinger + - Juan Manuel Guerrero - Joachim Henke - Peter Ivanov - Jouk Jansen @@ -46,6 +47,7 @@ has been important. :-) In alphabetical - Mikko Pouru - Robert Readman - Bernhard Reutner-Fischer + - Cristian Rodríguez - Christian von Roques - Jukka Salmi - Alexandre Sauvé Modified: vendor/xz/dist/po/cs.po ============================================================================== --- vendor/xz/dist/po/cs.po Thu Feb 24 13:03:47 2011 (r218998) +++ vendor/xz/dist/po/cs.po Thu Feb 24 13:18:49 2011 (r218999) @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: xz-utils\n" "Report-Msgid-Bugs-To: lasse.collin@tukaani.org\n" -"POT-Creation-Date: 2010-10-23 17:48+0300\n" -"PO-Revision-Date: 2010-09-17 18:54+0200\n" +"POT-Creation-Date: 2010-12-03 11:25+0100\n" +"PO-Revision-Date: 2010-12-03 11:32+0100\n" "Last-Translator: Marek Černocký \n" "Language-Team: Czech \n" "Language: cs\n" @@ -30,7 +30,8 @@ msgstr "%s: Neznámý typ kontroly integ #: src/xz/args.c:382 msgid "Only one file can be specified with `--files' or `--files0'." -msgstr "Spolu s přepínači „--files“ nebo „--files0“ může být zadán pouze jeden soubor" +msgstr "" +"Spolu s přepínači „--files“ nebo „--files0“ může být zadán pouze jeden soubor" #: src/xz/args.c:445 #, c-format @@ -51,7 +52,8 @@ msgstr "Použití přednastavení v rež #: src/xz/coder.c:131 msgid "The exact options of the presets may vary between software versions." -msgstr "Přesné volby u přednastavení se mohou lišit mezi různými verzemi softwaru." +msgstr "" +"Přesné volby u přednastavení se mohou lišit mezi různými verzemi softwaru." #: src/xz/coder.c:157 msgid "The .lzma format supports only the LZMA1 filter" @@ -72,8 +74,12 @@ msgstr "Dekomprimace bude vyžadovat %s #: src/xz/coder.c:247 #, c-format -msgid "Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the memory usage limit of %s MiB" -msgstr "Přizpůsobit velikost slovníku LZMA%c z %s MiB na %s MiB, tak aby nebylo překročeno omezení použitelné paměti %s MiB" +msgid "" +"Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the " +"memory usage limit of %s MiB" +msgstr "" +"Přizpůsobit velikost slovníku LZMA%c z %s MiB na %s MiB, tak aby nebylo " +"překročeno omezení použitelné paměti %s MiB" #. TRANSLATORS: When compression or decompression finishes, #. and xz is going to remove the source file, xz first checks @@ -153,7 +159,8 @@ msgstr "%s: Selhalo zavření souboru: % #: src/xz/file_io.c:762 src/xz/file_io.c:946 #, c-format msgid "%s: Seeking failed when trying to create a sparse file: %s" -msgstr "%s: Selhalo nastavení pozice při pokusu o vytvoření záložního souboru: %s" +msgstr "" +"%s: Selhalo nastavení pozice při pokusu o vytvoření souboru řídké matice: %s" #: src/xz/file_io.c:821 #, c-format @@ -312,10 +319,12 @@ msgstr " Zarovnání proudu: %s\ #: src/xz/list.c:693 msgid "" " Streams:\n" -" Stream Blocks CompOffset UncompOffset CompSize UncompSize Ratio Check Padding" +" Stream Blocks CompOffset UncompOffset CompSize " +"UncompSize Ratio Check Padding" msgstr "" " Proudy:\n" -" Proud Bloky KomprPozice NekomprPozice KomprVelikost NekomprVelikost Poměr Kontrola Zarovnání" +" Proud Bloky KomprPozice NekomprPozice KomprVelikost " +"NekomprVelikost Poměr Kontrola Zarovnání" #. TRANSLATORS: The second line is column headings. All #. except Check are right aligned; Check is left aligned. @@ -323,10 +332,12 @@ msgstr "" #, c-format msgid "" " Blocks:\n" -" Stream Block CompOffset UncompOffset TotalSize UncompSize Ratio Check" +" Stream Block CompOffset UncompOffset TotalSize " +"UncompSize Ratio Check" msgstr "" " Bloky:\n" -" Proud Blok KomprPozice NekomprPozice CelkVelikost NekomprVelikost Poměr Kontrola" +" Proud Blok KomprPozice NekomprPozice CelkVelikost " +"NekomprVelikost Poměr Kontrola" #. TRANSLATORS: These are additional column headings #. for the most verbose listing mode. CheckVal @@ -397,16 +408,24 @@ msgstr "%s: Neočekávaný konec vstupu #: src/xz/main.c:120 #, c-format -msgid "%s: Null character found when reading filenames; maybe you meant to use `--files0' instead of `--files'?" -msgstr "%s: Byl nalezen nulový znak při čtení názvů souborů; nechtěli jste náhodou použít „--files0“ místo „--files“?" +msgid "" +"%s: Null character found when reading filenames; maybe you meant to use `--" +"files0' instead of `--files'?" +msgstr "" +"%s: Byl nalezen nulový znak při čtení názvů souborů; nechtěli jste náhodou " +"použít „--files0“ místo „--files“?" #: src/xz/main.c:174 msgid "Compression and decompression with --robot are not supported yet." msgstr "Komprimace a dekomprimace s přepínačem --robot není zatím podporovaná." #: src/xz/main.c:231 -msgid "Cannot read data from standard input when reading filenames from standard input" -msgstr "Ze standardního vstupu nelze číst data, když se ze standardního vstupu načítají názvy souborů" +msgid "" +"Cannot read data from standard input when reading filenames from standard " +"input" +msgstr "" +"Ze standardního vstupu nelze číst data, když se ze standardního vstupu " +"načítají názvy souborů" #: src/xz/message.c:792 src/xz/message.c:842 msgid "Internal error (bug)" @@ -422,7 +441,8 @@ msgstr "Žádná kontrola integrity; int #: src/xz/message.c:811 msgid "Unsupported type of integrity check; not verifying file integrity" -msgstr "Nepodporovaný typ kontroly integrity; integrita souboru se nebude ověřovat" +msgstr "" +"Nepodporovaný typ kontroly integrity; integrita souboru se nebude ověřovat" #: src/xz/message.c:818 msgid "Memory usage limit reached" @@ -471,8 +491,11 @@ msgstr "" "\n" #: src/xz/message.c:1091 -msgid "Mandatory arguments to long options are mandatory for short options too.\n" -msgstr "Povinné argumenty pro dlouhé přepínače jsou povinné rovněž pro krátké přepínače.\n" +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" +msgstr "" +"Povinné argumenty pro dlouhé přepínače jsou povinné rovněž pro krátké " +"přepínače.\n" #: src/xz/message.c:1095 msgid " Operation mode:\n" @@ -505,8 +528,10 @@ msgid "" " -c, --stdout write to standard output and don't delete input files" msgstr "" " -k, --keep zachovat (nemazat) vstupní soubory\n" -" -f, --force vynutit přepis výstupního souboru a de/komprimovat odkazy\n" -" -c, --stdout zapisovat na standardní výstup a nemazat vstupní soubory" +" -f, --force vynutit přepis výstupního souboru a de/komprimovat " +"odkazy\n" +" -c, --stdout zapisovat na standardní výstup a nemazat vstupní " +"soubory" #: src/xz/message.c:1113 msgid "" @@ -514,15 +539,19 @@ msgid "" " -S, --suffix=.SUF use the suffix `.SUF' on compressed files\n" " --files[=FILE] read filenames to process from FILE; if FILE is\n" " omitted, filenames are read from the standard input;\n" -" filenames must be terminated with the newline character\n" +" filenames must be terminated with the newline " +"character\n" " --files0[=FILE] like --files but use the null character as terminator" msgstr "" -" --no-sparse nevytvářet při dekomprimaci záložní soubory\n" +" --no-sparse nevytvářet při dekomprimaci soubory řídkých matic\n" " -S, --suffix=.PRIP použít u komprimovaných souborů příponu „.PRIP“\n" -" --files[=SOUBOR] číst názvy souborů, které se mají zpracovat, ze SOUBORu;\n" -" pokud není SOUBOR zadán, čte se ze standardního vstupu;\n" +" --files[=SOUBOR] číst názvy souborů, které se mají zpracovat, ze " +"SOUBORu;\n" +" pokud není SOUBOR zadán, čte se ze standardního " +"vstupu;\n" " názvy souborů musí být zakončeny znakem nového řádku\n" -" --files0[=SOUBOR] stejné jako --files, ale použít k zakončování nulový znak" +" --files0[=SOUBOR] stejné jako --files, ale použít k zakončování nulový " +"znak" #: src/xz/message.c:1121 msgid "" @@ -541,20 +570,26 @@ msgid "" msgstr "" " -F, --format=FORMÁT formát souboru k zakódování nebo dekódování; možné\n" " hodnoty jsou „auto“ (výchozí), „xz“, „lzma“ a „raw“\n" -" -C, --check=KONTROLA typ kontroly integrity: „none“ (používejte s rozmyslem),\n" +" -C, --check=KONTROLA typ kontroly integrity: „none“ (používejte s " +"rozmyslem),\n" " „crc32“, „crc64“ (výchozí) nebo „sha256“" #: src/xz/message.c:1130 msgid "" -" -0 ... -9 compression preset; default is 6; take compressor *and*\n" -" decompressor memory usage into account before using 7-9!" -msgstr "" -" -0 .. -9 přednastavení komprimace; výchozí je 6; než použijete\n" -" hodnoty 7 – 9, vezměte do úvahy množství použité paměti" +" -0 ... -9 compression preset; default is 6; take compressor " +"*and*\n" +" decompressor memory usage into account before using " +"7-9!" +msgstr "" +" -0 .. -9 přednastavení komprimace; výchozí je 6; než " +"použijete\n" +" hodnoty 7 – 9, vezměte do úvahy množství použité " +"paměti" #: src/xz/message.c:1134 msgid "" -" -e, --extreme try to improve compression ratio by using more CPU time;\n" +" -e, --extreme try to improve compression ratio by using more CPU " +"time;\n" " does not affect decompressor memory requirements" msgstr "" " -e, --extreme zkusit zlepšit poměr komprimace využitím více času\n" @@ -566,22 +601,27 @@ msgid "" " --memlimit-compress=LIMIT\n" " --memlimit-decompress=LIMIT\n" " -M, --memlimit=LIMIT\n" -" set memory usage limit for compression, decompression,\n" +" set memory usage limit for compression, " +"decompression,\n" " or both; LIMIT is in bytes, % of RAM, or 0 for defaults" msgstr "" " --memlimit-compress=LIMIT\n" " --memlimit-decompress=LIMIT\n" " -M, --memlimit=LIMIT\n" " nastaví omezení použitelné paměti pro komprimaci,\n" -" dekomprimaci nebo obojí; LIMIT je v bajtech, % z paměti\n" +" dekomprimaci nebo obojí; LIMIT je v bajtech, % z " +"paměti\n" " RAM nebo 0 pro výchozí" #: src/xz/message.c:1146 msgid "" -" --no-adjust if compression settings exceed the memory usage limit,\n" -" give an error instead of adjusting the settings downwards" +" --no-adjust if compression settings exceed the memory usage " +"limit,\n" +" give an error instead of adjusting the settings " +"downwards" msgstr "" -" --no-adjust pokud nastavení komprimace přesáhne omezení použitelné\n" +" --no-adjust pokud nastavení komprimace přesáhne omezení " +"použitelné\n" " paměti, předat chybu namísto snížení nastavení" #: src/xz/message.c:1152 @@ -590,13 +630,16 @@ msgid "" " Custom filter chain for compression (alternative for using presets):" msgstr "" "\n" -"Vlastní omezující filtr pro komprimaci (alternativa k použití přednastavených):" +"Vlastní omezující filtr pro komprimaci (alternativa k použití " +"přednastavených):" #: src/xz/message.c:1161 msgid "" "\n" -" --lzma1[=OPTS] LZMA1 or LZMA2; OPTS is a comma-separated list of zero or\n" -" --lzma2[=OPTS] more of the following options (valid values; default):\n" +" --lzma1[=OPTS] LZMA1 or LZMA2; OPTS is a comma-separated list of zero " +"or\n" +" --lzma2[=OPTS] more of the following options (valid values; " +"default):\n" " preset=PRE reset options to a preset (0-9[e])\n" " dict=NUM dictionary size (4KiB - 1536MiB; 8MiB)\n" " lc=NUM number of literal context bits (0-4; 3)\n" @@ -604,20 +647,29 @@ msgid "" " pb=NUM number of position bits (0-4; 2)\n" " mode=MODE compression mode (fast, normal; normal)\n" " nice=NUM nice length of a match (2-273; 64)\n" -" mf=NAME match finder (hc3, hc4, bt2, bt3, bt4; bt4)\n" -" depth=NUM maximum search depth; 0=automatic (default)" -msgstr "" -"\n" -" --lzma1[=VOLBY] LZMA1 nebo LZMA2; VOLBY je čárkou oddělovaný seznam žádné\n" -" --lzma2[=VOLBY] nebo více následujících voleb (platné hodnoty; výchozí):\n" -" preset=PŘE změnit volby na PŘEdnastavené (0 – 9[e])\n" -" dict=POČ velikost slovníku (4 KiB – 1536 MiB; 8 MiB)\n" -" lc=POČ počet kontextových bitů literálu (0 – 4; 3)\n" -" lp=POČ počet pozičních bitů literálu (0 – 4; 0)\n" +" mf=NAME match finder (hc3, hc4, bt2, bt3, bt4; " +"bt4)\n" +" depth=NUM maximum search depth; 0=automatic " +"(default)" +msgstr "" +"\n" +" --lzma1[=VOLBY] LZMA1 nebo LZMA2; VOLBY je čárkou oddělovaný seznam " +"žádné\n" +" --lzma2[=VOLBY] nebo více následujících voleb (platné hodnoty; " +"výchozí):\n" +" preset=PŘE změnit volby na PŘEdnastavené (0 – 9" +"[e])\n" +" dict=POČ velikost slovníku (4 KiB – 1536 MiB; 8 " +"MiB)\n" +" lc=POČ počet kontextových bitů literálu (0 – 4; " +"3)\n" +" lp=POČ počet pozičních bitů literálu (0 – 4; " +"0)\n" " pb=POČ počet pozičních bitů (0 – 4; 2)\n" " mode=REŽIM režim komprimace (fast, normal; normal)\n" " nice=NUM příznivá délka shody (2 – 273; 64)\n" -" mf=NÁZEV hledání shod (hc3, hc4, bt2, bt3, bt4; bt4)\n" +" mf=NÁZEV hledání shod (hc3, hc4, bt2, bt3, bt4; " +"bt4)\n" " depth=POČ maximální hloubka prohledávání;\n" " 0 = automaticky (výchozí)" @@ -652,7 +704,8 @@ msgid "" msgstr "" "\n" " --delta[=VOLBY] Filtr Delta; platné VOLBY (platné hodnoty; výchozí):\n" -" dist=POČ vzdálenost mezi bajty, které jsou odečítány\n" +" dist=POČ vzdálenost mezi bajty, které jsou " +"odečítány\n" " jeden od druhého (1 – 256; 1)" #: src/xz/message.c:1196 @@ -665,10 +718,12 @@ msgstr "" #: src/xz/message.c:1199 msgid "" -" -q, --quiet suppress warnings; specify twice to suppress errors too\n" +" -q, --quiet suppress warnings; specify twice to suppress errors " +"too\n" " -v, --verbose be verbose; specify twice for even more verbose" msgstr "" -" -q, --quiet potlačit varování; zadáním dvakrát, potlačíte i chyby\n" +" -q, --quiet potlačit varování; zadáním dvakrát, potlačíte i " +"chyby\n" " -v, --verbose podrobnější zprávy; zadáním dvakrát, budou ještě\n" " podrobnější" @@ -677,17 +732,20 @@ msgid " -Q, --no-warn make warnin msgstr " -Q, --no-warn způsobí, že varování neovlivní stav ukončení" #: src/xz/message.c:1206 -msgid " --robot use machine-parsable messages (useful for scripts)" +msgid "" +" --robot use machine-parsable messages (useful for scripts)" msgstr "" " --robot použít strojově analyzovatelné zprávy (užitečné pro\n" " skripty)" #: src/xz/message.c:1209 msgid "" -" --info-memory display the total amount of RAM and the currently active\n" +" --info-memory display the total amount of RAM and the currently " +"active\n" " memory usage limits, and exit" msgstr "" -" --info-memory zobrazit celkové množství paměti RAM a současné aktivní\n" +" --info-memory zobrazit celkové množství paměti RAM a současné " +"aktivní\n" " omezení použitelné paměti a skončit" #: src/xz/message.c:1212 @@ -695,7 +753,8 @@ msgid "" " -h, --help display the short help (lists only the basic options)\n" " -H, --long-help display this long help and exit" msgstr "" -" -h, --help zobrazit krátkou nápovědu (vypíše jen základní přepínače)\n" +" -h, --help zobrazit krátkou nápovědu (vypíše jen základní " +"přepínače)\n" " -H, --long-help zobrazit tuto úplnou nápovědu a skončit" #: src/xz/message.c:1216 @@ -704,7 +763,8 @@ msgid "" " -H, --long-help display the long help (lists also the advanced options)" msgstr "" " -h, --help zobrazit tuto zkrácenou nápovědu a skončit\n" -" -H, --long-help zobrazit úplnou nápovědu (vypíše i pokročilé přepínače)" +" -H, --long-help zobrazit úplnou nápovědu (vypíše i pokročilé " +"přepínače)" #: src/xz/message.c:1221 msgid " -V, --version display the version number and exit" @@ -716,7 +776,8 @@ msgid "" "With no FILE, or when FILE is -, read standard input.\n" msgstr "" "\n" -"Pokud SOUBOR není zadán nebo pokud je -, bude se číst ze standardního vstupu.\n" +"Pokud SOUBOR není zadán nebo pokud je -, bude se číst ze standardního " +"vstupu.\n" #. TRANSLATORS: This message indicates the bug reporting address #. for this package. Please add _another line_ saying @@ -763,8 +824,11 @@ msgstr "Vybraný vyhledávač shod vyža #: src/xz/suffix.c:79 src/xz/suffix.c:164 #, c-format -msgid "%s: With --format=raw, --suffix=.SUF is required unless writing to stdout" -msgstr "%s: S přepínačem --format=raw je vyžadován --sufix=.PRIP, vyjma zápisu do standardního výstupu" +msgid "" +"%s: With --format=raw, --suffix=.SUF is required unless writing to stdout" +msgstr "" +"%s: S přepínačem --format=raw je vyžadován --sufix=.PRIP, vyjma zápisu do " +"standardního výstupu" #: src/xz/suffix.c:99 #, c-format @@ -793,7 +857,9 @@ msgstr "%s: Neplatná jednotka s předpo #: src/xz/util.c:105 msgid "Valid suffixes are `KiB' (2^10), `MiB' (2^20), and `GiB' (2^30)." -msgstr "Platné jednotky s předponami jsou „KiB“ (2^10 B), „MiB“ (2^20 B) a „GiB“ (2^30 B)." +msgstr "" +"Platné jednotky s předponami jsou „KiB“ (2^10 B), „MiB“ (2^20 B) a " +"„GiB“ (2^30 B)." #: src/xz/util.c:122 #, c-format @@ -827,37 +893,49 @@ msgstr "Neznámá chyba" #~ msgstr "%s MiB (%s bajtů)\n" #~ msgid "" -#~ " -e, --extreme use more CPU time when encoding to increase compression\n" +#~ " -e, --extreme use more CPU time when encoding to increase " +#~ "compression\n" #~ " ratio without increasing memory usage of the decoder" #~ msgstr "" -#~ " -e, --extreme využít více procesorového času pro kódování, čímž se\n" -#~ " zvýší kompresní poměr bez zvýšení paměti použité kodérem" +#~ " -e, --extreme využít více procesorového času pro kódování, čímž " +#~ "se\n" +#~ " zvýší kompresní poměr bez zvýšení paměti použité " +#~ "kodérem" #~ msgid "" -#~ " -M, --memory=NUM use roughly NUM bytes of memory at maximum; 0 indicates\n" +#~ " -M, --memory=NUM use roughly NUM bytes of memory at maximum; 0 " +#~ "indicates\n" #~ " the default setting, which is 40 % of total RAM" #~ msgstr "" -#~ " -M, --memory=POČ použít zhruba POČ bajtů paměti jako maximum; 0 znamená\n" -#~ " výchozí nastavení, což je 40% celkového množství paměti" +#~ " -M, --memory=POČ použít zhruba POČ bajtů paměti jako maximum; 0 " +#~ "znamená\n" +#~ " výchozí nastavení, což je 40% celkového množství " +#~ "paměti" #~ msgid "" #~ "\n" -#~ " --subblock[=OPTS] Subblock filter; valid OPTS (valid values; default):\n" +#~ " --subblock[=OPTS] Subblock filter; valid OPTS (valid values; " +#~ "default):\n" #~ " size=NUM number of bytes of data per subblock\n" #~ " (1 - 256Mi; 4Ki)\n" -#~ " rle=NUM run-length encoder chunk size (0-256; 0)" +#~ " rle=NUM run-length encoder chunk size (0-256; " +#~ "0)" #~ msgstr "" #~ "\n" -#~ " --subblock[=VOLBY] Subblokový filtr; platné VOLBY (platné hodnoty; výchozí):\n" +#~ " --subblock[=VOLBY] Subblokový filtr; platné VOLBY (platné hodnoty; " +#~ "výchozí):\n" #~ " size=POČ počet bajtů dat na subblok\n" #~ " (1 - 256 Mi; 4 Ki)\n" -#~ " rle=POČ velikost dávky pro kodér run-length (0-256; 0)" +#~ " rle=POČ velikost dávky pro kodér run-length " +#~ "(0-256; 0)" #~ msgid "" -#~ "On this system and configuration, this program will use a maximum of roughly\n" +#~ "On this system and configuration, this program will use a maximum of " +#~ "roughly\n" #~ "%s MiB RAM and " #~ msgstr "" -#~ "Na tomto systému a s tímto nastavením použije tento program maximum ze zhruba\n" +#~ "Na tomto systému a s tímto nastavením použije tento program maximum ze " +#~ "zhruba\n" #~ "%s MiB RAM a " #~ msgid "" Modified: vendor/xz/dist/po/de.po ============================================================================== --- vendor/xz/dist/po/de.po Thu Feb 24 13:03:47 2011 (r218998) +++ vendor/xz/dist/po/de.po Thu Feb 24 13:18:49 2011 (r218999) @@ -6,11 +6,10 @@ msgid "" msgstr "" "Project-Id-Version: XZ Utils 4.999.9beta\n" "Report-Msgid-Bugs-To: lasse.collin@tukaani.org\n" -"POT-Creation-Date: 2010-10-23 17:48+0300\n" +"POT-Creation-Date: 2010-09-11 17:07+0200\n" "PO-Revision-Date: 2010-09-07 20:27+0200\n" "Last-Translator: \n" "Language-Team: German\n" -"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -28,7 +27,8 @@ msgstr "%s: Integritäts-Check Typ nicht #: src/xz/args.c:382 msgid "Only one file can be specified with `--files' or `--files0'." -msgstr "Nur ein file kann als Argument für --files oder --files0 angegeben werden." +msgstr "" +"Nur ein file kann als Argument für --files oder --files0 angegeben werden." #: src/xz/args.c:445 #, c-format @@ -41,7 +41,8 @@ msgstr "Maximal vier Filter möglich" #: src/xz/coder.c:108 msgid "Memory usage limit is too low for the given filter setup." -msgstr "Das Speicher Limit ist zu niedrig für die gegebene Filter Konfiguration." +msgstr "" +"Das Speicher Limit ist zu niedrig für die gegebene Filter Konfiguration." #: src/xz/coder.c:129 msgid "Using a preset in raw mode is discouraged." @@ -49,7 +50,9 @@ msgstr "Verwendung der Voreinstellung im #: src/xz/coder.c:131 msgid "The exact options of the presets may vary between software versions." -msgstr "Die genauen Optionen der Voreinstellung können zwischen Software Versionen variieren." +msgstr "" +"Die genauen Optionen der Voreinstellung können zwischen Software Versionen " +"variieren." #: src/xz/coder.c:157 msgid "The .lzma format supports only the LZMA1 filter" @@ -70,8 +73,12 @@ msgstr "Dekompression wird %s MiB Speich #: src/xz/coder.c:247 #, c-format -msgid "Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the memory usage limit of %s MiB" -msgstr "Passte LZMA%c Wörterbuch Größe von %s MiB to %s MiB an, um nicht das Speicher Nutzungslimit von %s MiB zu übersteigen" +msgid "" +"Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the " +"memory usage limit of %s MiB" +msgstr "" +"Passte LZMA%c Wörterbuch Größe von %s MiB to %s MiB an, um nicht das " +"Speicher Nutzungslimit von %s MiB zu übersteigen" #. TRANSLATORS: When compression or decompression finishes, #. and xz is going to remove the source file, xz first checks @@ -86,7 +93,8 @@ msgstr "Passte LZMA%c Wörterbuch Größ #: src/xz/file_io.c:137 #, c-format msgid "%s: File seems to have been moved, not removing" -msgstr "%s: Datei scheint umbenannt worden zu sein, daher wird sie nicht gelöscht" +msgstr "" +"%s: Datei scheint umbenannt worden zu sein, daher wird sie nicht gelöscht" #: src/xz/file_io.c:144 src/xz/file_io.c:590 #, c-format @@ -141,7 +149,8 @@ msgstr "%s: Eingabedatei hat mehr als ei #: src/xz/file_io.c:714 #, c-format msgid "Error restoring the O_APPEND flag to standard output: %s" -msgstr "Fehler beim Wiederherstellen des O_APPEND flags bei Standard Output: %s" +msgstr "" +"Fehler beim Wiederherstellen des O_APPEND flags bei Standard Output: %s" #: src/xz/file_io.c:726 #, c-format @@ -151,7 +160,8 @@ msgstr "%s: Fehler beim Schießen der Da #: src/xz/file_io.c:762 src/xz/file_io.c:946 #, c-format msgid "%s: Seeking failed when trying to create a sparse file: %s" -msgstr "%s: Positionierungsfehler beim Versuch eine sparse Datei zu erzeugen: %s" +msgstr "" +"%s: Positionierungsfehler beim Versuch eine sparse Datei zu erzeugen: %s" #: src/xz/file_io.c:821 #, c-format @@ -202,7 +212,7 @@ msgstr "Kein" #. but the Check ID is known (here 2). This and other "Unknown-N" #. strings are used in tables, so the width must not exceed ten #. columns with a fixed-width font. It's OK to omit the dash if -#. you need space for one extra letter, but don't use spaces. +#. you need space for one extra letter. #: src/xz/list.c:69 msgid "Unknown-2" msgstr "Unbek.2" @@ -310,10 +320,12 @@ msgstr " Strom Auffüllung: %s\n" #: src/xz/list.c:693 msgid "" " Streams:\n" -" Stream Blocks CompOffset UncompOffset CompSize UncompSize Ratio Check Padding" +" Stream Blocks CompOffset UncompOffset CompSize " +"UncompSize Ratio Check Padding" msgstr "" " Ströme:\n" -" Strom Blöcke KompOffset UnkompOffset KompGröße UnkompGröße Verh. Check Auffüllung" +" Strom Blöcke KompOffset UnkompOffset KompGröße " +"UnkompGröße Verh. Check Auffüllung" #. TRANSLATORS: The second line is column headings. All #. except Check are right aligned; Check is left aligned. @@ -321,10 +333,12 @@ msgstr "" #, c-format msgid "" " Blocks:\n" -" Stream Block CompOffset UncompOffset TotalSize UncompSize Ratio Check" +" Stream Block CompOffset UncompOffset TotalSize " +"UncompSize Ratio Check" msgstr "" " Blöcke:\n" -" Strom Block KompOffset UnkompOffset TotalGröße UnkompGröße Verh. Check" +" Strom Block KompOffset UnkompOffset TotalGröße " +"UnkompGröße Verh. Check" #. TRANSLATORS: These are additional column headings #. for the most verbose listing mode. CheckVal @@ -376,7 +390,8 @@ msgstr " Anzahl Dateien: %s\n" #: src/xz/list.c:1072 msgid "--list works only on .xz files (--format=xz or --format=auto)" -msgstr "--list funktioniert nur mit .xz Dateien (--format=xz oder --format=auto)" +msgstr "" +"--list funktioniert nur mit .xz Dateien (--format=xz oder --format=auto)" #: src/xz/list.c:1078 msgid "--list does not support reading from standard input" @@ -394,69 +409,79 @@ msgstr "%s: Unerwartetes Ende beim Lesen #: src/xz/main.c:120 #, c-format -msgid "%s: Null character found when reading filenames; maybe you meant to use `--files0' instead of `--files'?" -msgstr "%s: Null Charakter gefunden beim Lesen der Dateinamen; Meinten Sie `--files0' statt `--files'?" +msgid "" +"%s: Null character found when reading filenames; maybe you meant to use `--" +"files0' instead of `--files'?" +msgstr "" +"%s: Null Charakter gefunden beim Lesen der Dateinamen; Meinten Sie `--" +"files0' statt `--files'?" #: src/xz/main.c:174 msgid "Compression and decompression with --robot are not supported yet." msgstr "Kompression und Dekompression mit --robot ist noch nicht unterstützt." #: src/xz/main.c:231 -msgid "Cannot read data from standard input when reading filenames from standard input" -msgstr "Lesen der Standardeingabe ist nicht möglich, wenn die Dateinamen auch von der Standardeingabe gelesen werden" +msgid "" +"Cannot read data from standard input when reading filenames from standard " +"input" +msgstr "" +"Lesen der Standardeingabe ist nicht möglich, wenn die Dateinamen auch von " +"der Standardeingabe gelesen werden" -#: src/xz/message.c:792 src/xz/message.c:842 +#: src/xz/message.c:800 src/xz/message.c:844 msgid "Internal error (bug)" msgstr "Interner Fehler (Bug)" -#: src/xz/message.c:799 +#: src/xz/message.c:807 msgid "Cannot establish signal handlers" msgstr "Kann Signal Routine nicht setzen" -#: src/xz/message.c:808 +#: src/xz/message.c:816 msgid "No integrity check; not verifying file integrity" msgstr "Kein Integritäts-Check; werde Datei-Integrität nicht überprüfen" -#: src/xz/message.c:811 +#: src/xz/message.c:819 msgid "Unsupported type of integrity check; not verifying file integrity" -msgstr "Typ des Integritäts-Checks nicht unterstützt; werde Datei-Integrität nicht überprüfen" +msgstr "" +"Typ des Integritäts-Checks nicht unterstützt; werde Datei-Integrität nicht " +"überprüfen" -#: src/xz/message.c:818 +#: src/xz/message.c:826 msgid "Memory usage limit reached" msgstr "Speicher-Limit erreicht" -#: src/xz/message.c:821 +#: src/xz/message.c:829 msgid "File format not recognized" msgstr "Datei Format nicht erkannt" -#: src/xz/message.c:824 +#: src/xz/message.c:832 msgid "Unsupported options" msgstr "Optionen nicht unterstützt" -#: src/xz/message.c:827 +#: src/xz/message.c:835 msgid "Compressed data is corrupt" msgstr "Komprimierte Daten sind korrupt" -#: src/xz/message.c:830 +#: src/xz/message.c:838 msgid "Unexpected end of input" msgstr "Unerwartetes Eingabe Ende" -#: src/xz/message.c:881 +#: src/xz/message.c:886 #, c-format msgid "%s MiB of memory is required. The limit is %s." msgstr "%s MiB Speicher wird benötigt. Limit ist %s." -#: src/xz/message.c:1048 +#: src/xz/message.c:1053 #, c-format msgid "%s: Filter chain: %s\n" msgstr "%s: Filter Kette: %s\n" -#: src/xz/message.c:1058 +#: src/xz/message.c:1063 #, c-format msgid "Try `%s --help' for more information." msgstr "Versuchen Sie `%s --help' für mehr Informationen." -#: src/xz/message.c:1084 +#: src/xz/message.c:1089 #, c-format msgid "" "Usage: %s [OPTION]... [FILE]...\n" @@ -467,17 +492,18 @@ msgstr "" "Komprimiert oder dekomprimiert .xz DATEI(EN).\n" "\n" -#: src/xz/message.c:1091 -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/xz/message.c:1096 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" "Obligatorische Argumente für lange Optionen sind auch für kurze Optionen\n" "zwingend.\n" -#: src/xz/message.c:1095 +#: src/xz/message.c:1100 msgid " Operation mode:\n" msgstr " Operationsmodus:\n" -#: src/xz/message.c:1098 +#: src/xz/message.c:1103 msgid "" " -z, --compress force compression\n" " -d, --decompress force decompression\n" @@ -489,7 +515,7 @@ msgstr "" " -t, --test überprüfe Datei Integrität\n" " -l, --list liste Datei Informationen" -#: src/xz/message.c:1104 +#: src/xz/message.c:1109 msgid "" "\n" " Operation modifiers:\n" @@ -497,7 +523,7 @@ msgstr "" "\n" " Operationsmodifikatoren:\n" -#: src/xz/message.c:1107 +#: src/xz/message.c:1112 msgid "" " -k, --keep keep (don't delete) input files\n" " -f, --force force overwrite of output file and (de)compress links\n" @@ -509,13 +535,14 @@ msgstr "" " -c, --stdout schreibe nach Standard Output und lösche nicht die\n" " Eingabedateien" -#: src/xz/message.c:1113 +#: src/xz/message.c:1118 msgid "" " --no-sparse do not create sparse files when decompressing\n" " -S, --suffix=.SUF use the suffix `.SUF' on compressed files\n" " --files[=FILE] read filenames to process from FILE; if FILE is\n" " omitted, filenames are read from the standard input;\n" -" filenames must be terminated with the newline character\n" +" filenames must be terminated with the newline " +"character\n" " --files0[=FILE] like --files but use the null character as terminator" msgstr "" " --no-sparse erzeuge keine sparse Datei beim Dekomprimieren\n" @@ -524,9 +551,10 @@ msgstr "" " DATEI nicht angegeben wurde, werden Dateinamen\n" " von Standard Input gelesen. Dateinamen müssen mit\n" " einem Zeilenumbruch voneinander getrennt werden\n" -" --files0=[DATEI] wie --files, aber benutze den Null Charakter als Trenner" +" --files0=[DATEI] wie --files, aber benutze den Null Charakter als " +"Trenner" -#: src/xz/message.c:1121 +#: src/xz/message.c:1126 msgid "" "\n" " Basic file format and compression options:\n" @@ -534,62 +562,76 @@ msgstr "" "\n" " Grundlegende Optionen für Dateiformat und Kompression:\n" -#: src/xz/message.c:1123 +#: src/xz/message.c:1128 msgid "" " -F, --format=FMT file format to encode or decode; possible values are\n" " `auto' (default), `xz', `lzma', and `raw'\n" " -C, --check=CHECK integrity check type: `none' (use with caution),\n" " `crc32', `crc64' (default), or `sha256'" msgstr "" -" -F, --format=FMT Dateiformat zur Kodierung oder Dekodierung; mögliche\n" -" Werte sind `auto' (Voreinstellung), `xz', `lzma' und\n" +" -F, --format=FMT Dateiformat zur Kodierung oder Dekodierung; " +"mögliche\n" +" Werte sind `auto' (Voreinstellung), `xz', `lzma' " +"und\n" " `raw'\n" -" -C, --check=CHECK Typ des Integritätschecks: `none' (Vorsicht), `crc32',\n" +" -C, --check=CHECK Typ des Integritätschecks: `none' (Vorsicht), " +"`crc32',\n" " `crc64' (Voreinstellung), oder `sha256'" -#: src/xz/message.c:1130 +#: src/xz/message.c:1135 msgid "" -" -0 ... -9 compression preset; default is 6; take compressor *and*\n" -" decompressor memory usage into account before using 7-9!" -msgstr "" -" -0 .. -9 Kompressionseinstellung; Voreinstellung is 6. Beachten\n" -" Sie den Speicherverbrauch des Komprimieres *und* des\n" +" -0 ... -9 compression preset; default is 6; take compressor " +"*and*\n" +" decompressor memory usage into account before using 7-" +"9!" +msgstr "" +" -0 .. -9 Kompressionseinstellung; Voreinstellung is 6. " +"Beachten\n" +" Sie den Speicherverbrauch des Komprimieres *und* " +"des\n" " Dekomprimierers, wenn Sie 7-9 benutzen!" -#: src/xz/message.c:1134 +#: src/xz/message.c:1139 msgid "" -" -e, --extreme try to improve compression ratio by using more CPU time;\n" +" -e, --extreme try to improve compression ratio by using more CPU " +"time;\n" " does not affect decompressor memory requirements" msgstr "" -" -e, --extreme Versuche durch stärkere CPU Nutzung das Kompressions-\n" +" -e, --extreme Versuche durch stärkere CPU Nutzung das " +"Kompressions-\n" " verhältnis zu verbessern. Das beeinflusst nicht den\n" " Speicherbedarf des Dekomprimierers." -#: src/xz/message.c:1139 +#: src/xz/message.c:1144 #, no-c-format msgid "" " --memlimit-compress=LIMIT\n" " --memlimit-decompress=LIMIT\n" " -M, --memlimit=LIMIT\n" -" set memory usage limit for compression, decompression,\n" +" set memory usage limit for compression, " +"decompression,\n" " or both; LIMIT is in bytes, % of RAM, or 0 for defaults" msgstr "" " --memlimit-compress=LIMIT\n" " --memlimit-decompress=LIMIT\n" " -M, --memlimit=LIMIT Setze Speicher Nutzungslimit für Kompression,\n" *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 13:23:40 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89FED106564A; Thu, 24 Feb 2011 13:23:40 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 601568FC15; Thu, 24 Feb 2011 13:23:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1ODNecR040424; Thu, 24 Feb 2011 13:23:40 GMT (envelope-from mm@svn.freebsd.org) Received: (from mm@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1ODNeSa040423; Thu, 24 Feb 2011 13:23:40 GMT (envelope-from mm@svn.freebsd.org) Message-Id: <201102241323.p1ODNeSa040423@svn.freebsd.org> From: Martin Matuska Date: Thu, 24 Feb 2011 13:23:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219000 - vendor/xz/5.0.1 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 13:23:40 -0000 Author: mm Date: Thu Feb 24 13:23:40 2011 New Revision: 219000 URL: http://svn.freebsd.org/changeset/base/219000 Log: Tag xz as 5.0.1 (git revision 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004) Added: vendor/xz/5.0.1/ - copied from r218999, vendor/xz/dist/ From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 13:42:35 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA8821065670; Thu, 24 Feb 2011 13:42:35 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 97EFF8FC08; Thu, 24 Feb 2011 13:42:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1ODgZ89041242; Thu, 24 Feb 2011 13:42:35 GMT (envelope-from mm@svn.freebsd.org) Received: (from mm@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1ODgZ74041235; Thu, 24 Feb 2011 13:42:35 GMT (envelope-from mm@svn.freebsd.org) Message-Id: <201102241342.p1ODgZ74041235@svn.freebsd.org> From: Martin Matuska Date: Thu, 24 Feb 2011 13:42:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219001 - in head/contrib/xz: . po src/common src/liblzma/api/lzma src/liblzma/common src/xz X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 13:42:35 -0000 Author: mm Date: Thu Feb 24 13:42:35 2011 New Revision: 219001 URL: http://svn.freebsd.org/changeset/base/219001 Log: Update xz to release 5.0.1 MFC after: 1 week Modified: head/contrib/xz/ChangeLog head/contrib/xz/FREEBSD-upgrade head/contrib/xz/THANKS head/contrib/xz/po/cs.po head/contrib/xz/po/de.po head/contrib/xz/po/it.po head/contrib/xz/po/xz.pot head/contrib/xz/src/common/sysdefs.h head/contrib/xz/src/liblzma/api/lzma/lzma.h head/contrib/xz/src/liblzma/api/lzma/version.h head/contrib/xz/src/liblzma/common/common.h head/contrib/xz/src/xz/file_io.c head/contrib/xz/src/xz/suffix.c head/contrib/xz/src/xz/util.h Directory Properties: head/contrib/xz/ (props changed) Modified: head/contrib/xz/ChangeLog ============================================================================== --- head/contrib/xz/ChangeLog Thu Feb 24 13:23:40 2011 (r219000) +++ head/contrib/xz/ChangeLog Thu Feb 24 13:42:35 2011 (r219001) @@ -1,3 +1,125 @@ +commit 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004 +Author: Lasse Collin +Date: Fri Jan 28 20:26:38 2011 +0200 + + Bump package version and liblzma soname to 5.0.1. + +commit 5fbce0b8d96dc96775aa0215e3581addc830e23d +Author: Lasse Collin +Date: Fri Jan 28 20:16:57 2011 +0200 + + Update NEWS for 5.0.1. + +commit 03ebd1bbb314f9f204940219a835c883bf442475 +Author: Lasse Collin +Date: Wed Jan 26 12:19:08 2011 +0200 + + xz: Fix --force on setuid/setgid/sticky and multi-hardlink files. + + xz didn't compress setuid/setgid/sticky files and files + with multiple hard links even with --force. This bug was + introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4. + + Thanks to Charles Wilson. + +commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136 +Author: Lasse Collin +Date: Tue Jan 18 21:25:24 2011 +0200 + + Updated THANKS. + +commit f71c4e16e913f660977526f0ef8d2acdf458d7c9 +Author: Lasse Collin +Date: Tue Jan 18 21:23:50 2011 +0200 + + Add alloc_size and malloc attributes to a few functions. + + Thanks to Cristian Rodríguez for the original patch. + +commit 316cbe24465143edde8f6ffb7532834b7b2ea93f +Author: Lasse Collin +Date: Mon Dec 13 16:36:33 2010 +0200 + + Scripts: Fix gzip and bzip2 support in xzdiff. + +commit 9311774c493c19deab51ded919dcd2e9c4aa2829 +Author: Lasse Collin +Date: Sun Dec 12 21:23:55 2010 +0200 + + Build: Enable ASM on DJGPP by default. + +commit 4a42aaee282fc73b482581684d65110506d5efdd +Author: Lasse Collin +Date: Sun Dec 12 16:09:42 2010 +0200 + + Updated THANKS. + +commit ce56f63c41ee210e6308090eb6d49221fdf67d6c +Author: Lasse Collin +Date: Sun Dec 12 16:07:11 2010 +0200 + + Add missing PRIx32 and PRIx64 compatibility definitions. + + This fixes portability to systems that lack C99 inttypes.h. + + Thanks to Juan Manuel Guerrero. + +commit e6baedddcf54e7da049ebc49183565b99facd4c7 +Author: Lasse Collin +Date: Sun Dec 12 14:50:04 2010 +0200 + + DOS-like: Treat \ and : as directory separators in addition to /. + + Juan Manuel Guerrero had fixed this in his XZ Utils port + to DOS/DJGPP. The bug affects also Windows and OS/2. + +commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f +Author: Lasse Collin +Date: Tue Dec 7 18:52:04 2010 +0200 + + Translations: Fix Czech translation of "sparse file". + + Thanks to Petr Hubený and Marek Černocký. + +commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e +Author: Lasse Collin +Date: Mon Nov 15 14:28:26 2010 +0200 + + liblzma: Document the return value of lzma_lzma_preset(). + +commit 2964d8d691ed92abdcf214888d79ad6d79774735 +Author: Jonathan Nieder +Date: Fri Nov 12 15:22:13 2010 -0600 + + Simplify paths in generated API docs + + Currently the file list generated by Doxygen has src/ at the + beginning of each path. Paths like common/sysdefs.h and + liblzma/api/lzma.h are easier to read without such a prefix. + + Builds from a separate build directory with + + mkdir build + cd build + ../configure + doxygen Doxyfile + + include an even longer prefix /home/someone/src/xz/src; this + patch has the nice side-effect of eliminating that prefix, too. + + Fixes: http://bugs.debian.org/572273 + +commit 37c25658efd25b034266daf87cd381d20d1df776 +Author: Lasse Collin +Date: Tue Oct 26 15:48:48 2010 +0300 + + Build: Copy the example programs to $docdir/examples. + + The example programs by Daniel Mealha Cabrita were included + in the git repository, but I had forgot to add them to + Makefile.am. Thus, they didn't get included in the source + package at all by "make dist". + commit e45929260cd902036efd40c5610a8d0a50d5712b Author: Lasse Collin Date: Sat Oct 23 17:25:52 2010 +0300 Modified: head/contrib/xz/FREEBSD-upgrade ============================================================================== --- head/contrib/xz/FREEBSD-upgrade Thu Feb 24 13:23:40 2011 (r219000) +++ head/contrib/xz/FREEBSD-upgrade Thu Feb 24 13:42:35 2011 (r219001) @@ -4,7 +4,7 @@ xz The source code is pulled with git: - git clone git://ctrl.tukaani.org/xz.git xz + git clone http://git.tukaani.org/xz.git xz ChangeLog is generated with: Modified: head/contrib/xz/THANKS ============================================================================== --- head/contrib/xz/THANKS Thu Feb 24 13:23:40 2011 (r219000) +++ head/contrib/xz/THANKS Thu Feb 24 13:42:35 2011 (r219001) @@ -22,6 +22,7 @@ has been important. :-) In alphabetical - Gilles Espinasse - Denis Excoffier - Mike Frysinger + - Juan Manuel Guerrero - Joachim Henke - Peter Ivanov - Jouk Jansen @@ -46,6 +47,7 @@ has been important. :-) In alphabetical - Mikko Pouru - Robert Readman - Bernhard Reutner-Fischer + - Cristian Rodríguez - Christian von Roques - Jukka Salmi - Alexandre Sauvé Modified: head/contrib/xz/po/cs.po ============================================================================== --- head/contrib/xz/po/cs.po Thu Feb 24 13:23:40 2011 (r219000) +++ head/contrib/xz/po/cs.po Thu Feb 24 13:42:35 2011 (r219001) @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: xz-utils\n" "Report-Msgid-Bugs-To: lasse.collin@tukaani.org\n" -"POT-Creation-Date: 2010-10-23 17:48+0300\n" -"PO-Revision-Date: 2010-09-17 18:54+0200\n" +"POT-Creation-Date: 2010-12-03 11:25+0100\n" +"PO-Revision-Date: 2010-12-03 11:32+0100\n" "Last-Translator: Marek Černocký \n" "Language-Team: Czech \n" "Language: cs\n" @@ -30,7 +30,8 @@ msgstr "%s: Neznámý typ kontroly integ #: src/xz/args.c:382 msgid "Only one file can be specified with `--files' or `--files0'." -msgstr "Spolu s přepínači „--files“ nebo „--files0“ může být zadán pouze jeden soubor" +msgstr "" +"Spolu s přepínači „--files“ nebo „--files0“ může být zadán pouze jeden soubor" #: src/xz/args.c:445 #, c-format @@ -51,7 +52,8 @@ msgstr "Použití přednastavení v rež #: src/xz/coder.c:131 msgid "The exact options of the presets may vary between software versions." -msgstr "Přesné volby u přednastavení se mohou lišit mezi různými verzemi softwaru." +msgstr "" +"Přesné volby u přednastavení se mohou lišit mezi různými verzemi softwaru." #: src/xz/coder.c:157 msgid "The .lzma format supports only the LZMA1 filter" @@ -72,8 +74,12 @@ msgstr "Dekomprimace bude vyžadovat %s #: src/xz/coder.c:247 #, c-format -msgid "Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the memory usage limit of %s MiB" -msgstr "Přizpůsobit velikost slovníku LZMA%c z %s MiB na %s MiB, tak aby nebylo překročeno omezení použitelné paměti %s MiB" +msgid "" +"Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the " +"memory usage limit of %s MiB" +msgstr "" +"Přizpůsobit velikost slovníku LZMA%c z %s MiB na %s MiB, tak aby nebylo " +"překročeno omezení použitelné paměti %s MiB" #. TRANSLATORS: When compression or decompression finishes, #. and xz is going to remove the source file, xz first checks @@ -153,7 +159,8 @@ msgstr "%s: Selhalo zavření souboru: % #: src/xz/file_io.c:762 src/xz/file_io.c:946 #, c-format msgid "%s: Seeking failed when trying to create a sparse file: %s" -msgstr "%s: Selhalo nastavení pozice při pokusu o vytvoření záložního souboru: %s" +msgstr "" +"%s: Selhalo nastavení pozice při pokusu o vytvoření souboru řídké matice: %s" #: src/xz/file_io.c:821 #, c-format @@ -312,10 +319,12 @@ msgstr " Zarovnání proudu: %s\ #: src/xz/list.c:693 msgid "" " Streams:\n" -" Stream Blocks CompOffset UncompOffset CompSize UncompSize Ratio Check Padding" +" Stream Blocks CompOffset UncompOffset CompSize " +"UncompSize Ratio Check Padding" msgstr "" " Proudy:\n" -" Proud Bloky KomprPozice NekomprPozice KomprVelikost NekomprVelikost Poměr Kontrola Zarovnání" +" Proud Bloky KomprPozice NekomprPozice KomprVelikost " +"NekomprVelikost Poměr Kontrola Zarovnání" #. TRANSLATORS: The second line is column headings. All #. except Check are right aligned; Check is left aligned. @@ -323,10 +332,12 @@ msgstr "" #, c-format msgid "" " Blocks:\n" -" Stream Block CompOffset UncompOffset TotalSize UncompSize Ratio Check" +" Stream Block CompOffset UncompOffset TotalSize " +"UncompSize Ratio Check" msgstr "" " Bloky:\n" -" Proud Blok KomprPozice NekomprPozice CelkVelikost NekomprVelikost Poměr Kontrola" +" Proud Blok KomprPozice NekomprPozice CelkVelikost " +"NekomprVelikost Poměr Kontrola" #. TRANSLATORS: These are additional column headings #. for the most verbose listing mode. CheckVal @@ -397,16 +408,24 @@ msgstr "%s: Neočekávaný konec vstupu #: src/xz/main.c:120 #, c-format -msgid "%s: Null character found when reading filenames; maybe you meant to use `--files0' instead of `--files'?" -msgstr "%s: Byl nalezen nulový znak při čtení názvů souborů; nechtěli jste náhodou použít „--files0“ místo „--files“?" +msgid "" +"%s: Null character found when reading filenames; maybe you meant to use `--" +"files0' instead of `--files'?" +msgstr "" +"%s: Byl nalezen nulový znak při čtení názvů souborů; nechtěli jste náhodou " +"použít „--files0“ místo „--files“?" #: src/xz/main.c:174 msgid "Compression and decompression with --robot are not supported yet." msgstr "Komprimace a dekomprimace s přepínačem --robot není zatím podporovaná." #: src/xz/main.c:231 -msgid "Cannot read data from standard input when reading filenames from standard input" -msgstr "Ze standardního vstupu nelze číst data, když se ze standardního vstupu načítají názvy souborů" +msgid "" +"Cannot read data from standard input when reading filenames from standard " +"input" +msgstr "" +"Ze standardního vstupu nelze číst data, když se ze standardního vstupu " +"načítají názvy souborů" #: src/xz/message.c:792 src/xz/message.c:842 msgid "Internal error (bug)" @@ -422,7 +441,8 @@ msgstr "Žádná kontrola integrity; int #: src/xz/message.c:811 msgid "Unsupported type of integrity check; not verifying file integrity" -msgstr "Nepodporovaný typ kontroly integrity; integrita souboru se nebude ověřovat" +msgstr "" +"Nepodporovaný typ kontroly integrity; integrita souboru se nebude ověřovat" #: src/xz/message.c:818 msgid "Memory usage limit reached" @@ -471,8 +491,11 @@ msgstr "" "\n" #: src/xz/message.c:1091 -msgid "Mandatory arguments to long options are mandatory for short options too.\n" -msgstr "Povinné argumenty pro dlouhé přepínače jsou povinné rovněž pro krátké přepínače.\n" +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" +msgstr "" +"Povinné argumenty pro dlouhé přepínače jsou povinné rovněž pro krátké " +"přepínače.\n" #: src/xz/message.c:1095 msgid " Operation mode:\n" @@ -505,8 +528,10 @@ msgid "" " -c, --stdout write to standard output and don't delete input files" msgstr "" " -k, --keep zachovat (nemazat) vstupní soubory\n" -" -f, --force vynutit přepis výstupního souboru a de/komprimovat odkazy\n" -" -c, --stdout zapisovat na standardní výstup a nemazat vstupní soubory" +" -f, --force vynutit přepis výstupního souboru a de/komprimovat " +"odkazy\n" +" -c, --stdout zapisovat na standardní výstup a nemazat vstupní " +"soubory" #: src/xz/message.c:1113 msgid "" @@ -514,15 +539,19 @@ msgid "" " -S, --suffix=.SUF use the suffix `.SUF' on compressed files\n" " --files[=FILE] read filenames to process from FILE; if FILE is\n" " omitted, filenames are read from the standard input;\n" -" filenames must be terminated with the newline character\n" +" filenames must be terminated with the newline " +"character\n" " --files0[=FILE] like --files but use the null character as terminator" msgstr "" -" --no-sparse nevytvářet při dekomprimaci záložní soubory\n" +" --no-sparse nevytvářet při dekomprimaci soubory řídkých matic\n" " -S, --suffix=.PRIP použít u komprimovaných souborů příponu „.PRIP“\n" -" --files[=SOUBOR] číst názvy souborů, které se mají zpracovat, ze SOUBORu;\n" -" pokud není SOUBOR zadán, čte se ze standardního vstupu;\n" +" --files[=SOUBOR] číst názvy souborů, které se mají zpracovat, ze " +"SOUBORu;\n" +" pokud není SOUBOR zadán, čte se ze standardního " +"vstupu;\n" " názvy souborů musí být zakončeny znakem nového řádku\n" -" --files0[=SOUBOR] stejné jako --files, ale použít k zakončování nulový znak" +" --files0[=SOUBOR] stejné jako --files, ale použít k zakončování nulový " +"znak" #: src/xz/message.c:1121 msgid "" @@ -541,20 +570,26 @@ msgid "" msgstr "" " -F, --format=FORMÁT formát souboru k zakódování nebo dekódování; možné\n" " hodnoty jsou „auto“ (výchozí), „xz“, „lzma“ a „raw“\n" -" -C, --check=KONTROLA typ kontroly integrity: „none“ (používejte s rozmyslem),\n" +" -C, --check=KONTROLA typ kontroly integrity: „none“ (používejte s " +"rozmyslem),\n" " „crc32“, „crc64“ (výchozí) nebo „sha256“" #: src/xz/message.c:1130 msgid "" -" -0 ... -9 compression preset; default is 6; take compressor *and*\n" -" decompressor memory usage into account before using 7-9!" -msgstr "" -" -0 .. -9 přednastavení komprimace; výchozí je 6; než použijete\n" -" hodnoty 7 – 9, vezměte do úvahy množství použité paměti" +" -0 ... -9 compression preset; default is 6; take compressor " +"*and*\n" +" decompressor memory usage into account before using " +"7-9!" +msgstr "" +" -0 .. -9 přednastavení komprimace; výchozí je 6; než " +"použijete\n" +" hodnoty 7 – 9, vezměte do úvahy množství použité " +"paměti" #: src/xz/message.c:1134 msgid "" -" -e, --extreme try to improve compression ratio by using more CPU time;\n" +" -e, --extreme try to improve compression ratio by using more CPU " +"time;\n" " does not affect decompressor memory requirements" msgstr "" " -e, --extreme zkusit zlepšit poměr komprimace využitím více času\n" @@ -566,22 +601,27 @@ msgid "" " --memlimit-compress=LIMIT\n" " --memlimit-decompress=LIMIT\n" " -M, --memlimit=LIMIT\n" -" set memory usage limit for compression, decompression,\n" +" set memory usage limit for compression, " +"decompression,\n" " or both; LIMIT is in bytes, % of RAM, or 0 for defaults" msgstr "" " --memlimit-compress=LIMIT\n" " --memlimit-decompress=LIMIT\n" " -M, --memlimit=LIMIT\n" " nastaví omezení použitelné paměti pro komprimaci,\n" -" dekomprimaci nebo obojí; LIMIT je v bajtech, % z paměti\n" +" dekomprimaci nebo obojí; LIMIT je v bajtech, % z " +"paměti\n" " RAM nebo 0 pro výchozí" #: src/xz/message.c:1146 msgid "" -" --no-adjust if compression settings exceed the memory usage limit,\n" -" give an error instead of adjusting the settings downwards" +" --no-adjust if compression settings exceed the memory usage " +"limit,\n" +" give an error instead of adjusting the settings " +"downwards" msgstr "" -" --no-adjust pokud nastavení komprimace přesáhne omezení použitelné\n" +" --no-adjust pokud nastavení komprimace přesáhne omezení " +"použitelné\n" " paměti, předat chybu namísto snížení nastavení" #: src/xz/message.c:1152 @@ -590,13 +630,16 @@ msgid "" " Custom filter chain for compression (alternative for using presets):" msgstr "" "\n" -"Vlastní omezující filtr pro komprimaci (alternativa k použití přednastavených):" +"Vlastní omezující filtr pro komprimaci (alternativa k použití " +"přednastavených):" #: src/xz/message.c:1161 msgid "" "\n" -" --lzma1[=OPTS] LZMA1 or LZMA2; OPTS is a comma-separated list of zero or\n" -" --lzma2[=OPTS] more of the following options (valid values; default):\n" +" --lzma1[=OPTS] LZMA1 or LZMA2; OPTS is a comma-separated list of zero " +"or\n" +" --lzma2[=OPTS] more of the following options (valid values; " +"default):\n" " preset=PRE reset options to a preset (0-9[e])\n" " dict=NUM dictionary size (4KiB - 1536MiB; 8MiB)\n" " lc=NUM number of literal context bits (0-4; 3)\n" @@ -604,20 +647,29 @@ msgid "" " pb=NUM number of position bits (0-4; 2)\n" " mode=MODE compression mode (fast, normal; normal)\n" " nice=NUM nice length of a match (2-273; 64)\n" -" mf=NAME match finder (hc3, hc4, bt2, bt3, bt4; bt4)\n" -" depth=NUM maximum search depth; 0=automatic (default)" -msgstr "" -"\n" -" --lzma1[=VOLBY] LZMA1 nebo LZMA2; VOLBY je čárkou oddělovaný seznam žádné\n" -" --lzma2[=VOLBY] nebo více následujících voleb (platné hodnoty; výchozí):\n" -" preset=PŘE změnit volby na PŘEdnastavené (0 – 9[e])\n" -" dict=POČ velikost slovníku (4 KiB – 1536 MiB; 8 MiB)\n" -" lc=POČ počet kontextových bitů literálu (0 – 4; 3)\n" -" lp=POČ počet pozičních bitů literálu (0 – 4; 0)\n" +" mf=NAME match finder (hc3, hc4, bt2, bt3, bt4; " +"bt4)\n" +" depth=NUM maximum search depth; 0=automatic " +"(default)" +msgstr "" +"\n" +" --lzma1[=VOLBY] LZMA1 nebo LZMA2; VOLBY je čárkou oddělovaný seznam " +"žádné\n" +" --lzma2[=VOLBY] nebo více následujících voleb (platné hodnoty; " +"výchozí):\n" +" preset=PŘE změnit volby na PŘEdnastavené (0 – 9" +"[e])\n" +" dict=POČ velikost slovníku (4 KiB – 1536 MiB; 8 " +"MiB)\n" +" lc=POČ počet kontextových bitů literálu (0 – 4; " +"3)\n" +" lp=POČ počet pozičních bitů literálu (0 – 4; " +"0)\n" " pb=POČ počet pozičních bitů (0 – 4; 2)\n" " mode=REŽIM režim komprimace (fast, normal; normal)\n" " nice=NUM příznivá délka shody (2 – 273; 64)\n" -" mf=NÁZEV hledání shod (hc3, hc4, bt2, bt3, bt4; bt4)\n" +" mf=NÁZEV hledání shod (hc3, hc4, bt2, bt3, bt4; " +"bt4)\n" " depth=POČ maximální hloubka prohledávání;\n" " 0 = automaticky (výchozí)" @@ -652,7 +704,8 @@ msgid "" msgstr "" "\n" " --delta[=VOLBY] Filtr Delta; platné VOLBY (platné hodnoty; výchozí):\n" -" dist=POČ vzdálenost mezi bajty, které jsou odečítány\n" +" dist=POČ vzdálenost mezi bajty, které jsou " +"odečítány\n" " jeden od druhého (1 – 256; 1)" #: src/xz/message.c:1196 @@ -665,10 +718,12 @@ msgstr "" #: src/xz/message.c:1199 msgid "" -" -q, --quiet suppress warnings; specify twice to suppress errors too\n" +" -q, --quiet suppress warnings; specify twice to suppress errors " +"too\n" " -v, --verbose be verbose; specify twice for even more verbose" msgstr "" -" -q, --quiet potlačit varování; zadáním dvakrát, potlačíte i chyby\n" +" -q, --quiet potlačit varování; zadáním dvakrát, potlačíte i " +"chyby\n" " -v, --verbose podrobnější zprávy; zadáním dvakrát, budou ještě\n" " podrobnější" @@ -677,17 +732,20 @@ msgid " -Q, --no-warn make warnin msgstr " -Q, --no-warn způsobí, že varování neovlivní stav ukončení" #: src/xz/message.c:1206 -msgid " --robot use machine-parsable messages (useful for scripts)" +msgid "" +" --robot use machine-parsable messages (useful for scripts)" msgstr "" " --robot použít strojově analyzovatelné zprávy (užitečné pro\n" " skripty)" #: src/xz/message.c:1209 msgid "" -" --info-memory display the total amount of RAM and the currently active\n" +" --info-memory display the total amount of RAM and the currently " +"active\n" " memory usage limits, and exit" msgstr "" -" --info-memory zobrazit celkové množství paměti RAM a současné aktivní\n" +" --info-memory zobrazit celkové množství paměti RAM a současné " +"aktivní\n" " omezení použitelné paměti a skončit" #: src/xz/message.c:1212 @@ -695,7 +753,8 @@ msgid "" " -h, --help display the short help (lists only the basic options)\n" " -H, --long-help display this long help and exit" msgstr "" -" -h, --help zobrazit krátkou nápovědu (vypíše jen základní přepínače)\n" +" -h, --help zobrazit krátkou nápovědu (vypíše jen základní " +"přepínače)\n" " -H, --long-help zobrazit tuto úplnou nápovědu a skončit" #: src/xz/message.c:1216 @@ -704,7 +763,8 @@ msgid "" " -H, --long-help display the long help (lists also the advanced options)" msgstr "" " -h, --help zobrazit tuto zkrácenou nápovědu a skončit\n" -" -H, --long-help zobrazit úplnou nápovědu (vypíše i pokročilé přepínače)" +" -H, --long-help zobrazit úplnou nápovědu (vypíše i pokročilé " +"přepínače)" #: src/xz/message.c:1221 msgid " -V, --version display the version number and exit" @@ -716,7 +776,8 @@ msgid "" "With no FILE, or when FILE is -, read standard input.\n" msgstr "" "\n" -"Pokud SOUBOR není zadán nebo pokud je -, bude se číst ze standardního vstupu.\n" +"Pokud SOUBOR není zadán nebo pokud je -, bude se číst ze standardního " +"vstupu.\n" #. TRANSLATORS: This message indicates the bug reporting address #. for this package. Please add _another line_ saying @@ -763,8 +824,11 @@ msgstr "Vybraný vyhledávač shod vyža #: src/xz/suffix.c:79 src/xz/suffix.c:164 #, c-format -msgid "%s: With --format=raw, --suffix=.SUF is required unless writing to stdout" -msgstr "%s: S přepínačem --format=raw je vyžadován --sufix=.PRIP, vyjma zápisu do standardního výstupu" +msgid "" +"%s: With --format=raw, --suffix=.SUF is required unless writing to stdout" +msgstr "" +"%s: S přepínačem --format=raw je vyžadován --sufix=.PRIP, vyjma zápisu do " +"standardního výstupu" #: src/xz/suffix.c:99 #, c-format @@ -793,7 +857,9 @@ msgstr "%s: Neplatná jednotka s předpo #: src/xz/util.c:105 msgid "Valid suffixes are `KiB' (2^10), `MiB' (2^20), and `GiB' (2^30)." -msgstr "Platné jednotky s předponami jsou „KiB“ (2^10 B), „MiB“ (2^20 B) a „GiB“ (2^30 B)." +msgstr "" +"Platné jednotky s předponami jsou „KiB“ (2^10 B), „MiB“ (2^20 B) a " +"„GiB“ (2^30 B)." #: src/xz/util.c:122 #, c-format @@ -827,37 +893,49 @@ msgstr "Neznámá chyba" #~ msgstr "%s MiB (%s bajtů)\n" #~ msgid "" -#~ " -e, --extreme use more CPU time when encoding to increase compression\n" +#~ " -e, --extreme use more CPU time when encoding to increase " +#~ "compression\n" #~ " ratio without increasing memory usage of the decoder" #~ msgstr "" -#~ " -e, --extreme využít více procesorového času pro kódování, čímž se\n" -#~ " zvýší kompresní poměr bez zvýšení paměti použité kodérem" +#~ " -e, --extreme využít více procesorového času pro kódování, čímž " +#~ "se\n" +#~ " zvýší kompresní poměr bez zvýšení paměti použité " +#~ "kodérem" #~ msgid "" -#~ " -M, --memory=NUM use roughly NUM bytes of memory at maximum; 0 indicates\n" +#~ " -M, --memory=NUM use roughly NUM bytes of memory at maximum; 0 " +#~ "indicates\n" #~ " the default setting, which is 40 % of total RAM" #~ msgstr "" -#~ " -M, --memory=POČ použít zhruba POČ bajtů paměti jako maximum; 0 znamená\n" -#~ " výchozí nastavení, což je 40% celkového množství paměti" +#~ " -M, --memory=POČ použít zhruba POČ bajtů paměti jako maximum; 0 " +#~ "znamená\n" +#~ " výchozí nastavení, což je 40% celkového množství " +#~ "paměti" #~ msgid "" #~ "\n" -#~ " --subblock[=OPTS] Subblock filter; valid OPTS (valid values; default):\n" +#~ " --subblock[=OPTS] Subblock filter; valid OPTS (valid values; " +#~ "default):\n" #~ " size=NUM number of bytes of data per subblock\n" #~ " (1 - 256Mi; 4Ki)\n" -#~ " rle=NUM run-length encoder chunk size (0-256; 0)" +#~ " rle=NUM run-length encoder chunk size (0-256; " +#~ "0)" #~ msgstr "" #~ "\n" -#~ " --subblock[=VOLBY] Subblokový filtr; platné VOLBY (platné hodnoty; výchozí):\n" +#~ " --subblock[=VOLBY] Subblokový filtr; platné VOLBY (platné hodnoty; " +#~ "výchozí):\n" #~ " size=POČ počet bajtů dat na subblok\n" #~ " (1 - 256 Mi; 4 Ki)\n" -#~ " rle=POČ velikost dávky pro kodér run-length (0-256; 0)" +#~ " rle=POČ velikost dávky pro kodér run-length " +#~ "(0-256; 0)" #~ msgid "" -#~ "On this system and configuration, this program will use a maximum of roughly\n" +#~ "On this system and configuration, this program will use a maximum of " +#~ "roughly\n" #~ "%s MiB RAM and " #~ msgstr "" -#~ "Na tomto systému a s tímto nastavením použije tento program maximum ze zhruba\n" +#~ "Na tomto systému a s tímto nastavením použije tento program maximum ze " +#~ "zhruba\n" #~ "%s MiB RAM a " #~ msgid "" Modified: head/contrib/xz/po/de.po ============================================================================== --- head/contrib/xz/po/de.po Thu Feb 24 13:23:40 2011 (r219000) +++ head/contrib/xz/po/de.po Thu Feb 24 13:42:35 2011 (r219001) @@ -6,11 +6,10 @@ msgid "" msgstr "" "Project-Id-Version: XZ Utils 4.999.9beta\n" "Report-Msgid-Bugs-To: lasse.collin@tukaani.org\n" -"POT-Creation-Date: 2010-10-23 17:48+0300\n" +"POT-Creation-Date: 2010-09-11 17:07+0200\n" "PO-Revision-Date: 2010-09-07 20:27+0200\n" "Last-Translator: \n" "Language-Team: German\n" -"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -28,7 +27,8 @@ msgstr "%s: Integritäts-Check Typ nicht #: src/xz/args.c:382 msgid "Only one file can be specified with `--files' or `--files0'." -msgstr "Nur ein file kann als Argument für --files oder --files0 angegeben werden." +msgstr "" +"Nur ein file kann als Argument für --files oder --files0 angegeben werden." #: src/xz/args.c:445 #, c-format @@ -41,7 +41,8 @@ msgstr "Maximal vier Filter möglich" #: src/xz/coder.c:108 msgid "Memory usage limit is too low for the given filter setup." -msgstr "Das Speicher Limit ist zu niedrig für die gegebene Filter Konfiguration." +msgstr "" +"Das Speicher Limit ist zu niedrig für die gegebene Filter Konfiguration." #: src/xz/coder.c:129 msgid "Using a preset in raw mode is discouraged." @@ -49,7 +50,9 @@ msgstr "Verwendung der Voreinstellung im #: src/xz/coder.c:131 msgid "The exact options of the presets may vary between software versions." -msgstr "Die genauen Optionen der Voreinstellung können zwischen Software Versionen variieren." +msgstr "" +"Die genauen Optionen der Voreinstellung können zwischen Software Versionen " +"variieren." #: src/xz/coder.c:157 msgid "The .lzma format supports only the LZMA1 filter" @@ -70,8 +73,12 @@ msgstr "Dekompression wird %s MiB Speich #: src/xz/coder.c:247 #, c-format -msgid "Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the memory usage limit of %s MiB" -msgstr "Passte LZMA%c Wörterbuch Größe von %s MiB to %s MiB an, um nicht das Speicher Nutzungslimit von %s MiB zu übersteigen" +msgid "" +"Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the " +"memory usage limit of %s MiB" +msgstr "" +"Passte LZMA%c Wörterbuch Größe von %s MiB to %s MiB an, um nicht das " +"Speicher Nutzungslimit von %s MiB zu übersteigen" #. TRANSLATORS: When compression or decompression finishes, #. and xz is going to remove the source file, xz first checks @@ -86,7 +93,8 @@ msgstr "Passte LZMA%c Wörterbuch Größ #: src/xz/file_io.c:137 #, c-format msgid "%s: File seems to have been moved, not removing" -msgstr "%s: Datei scheint umbenannt worden zu sein, daher wird sie nicht gelöscht" +msgstr "" +"%s: Datei scheint umbenannt worden zu sein, daher wird sie nicht gelöscht" #: src/xz/file_io.c:144 src/xz/file_io.c:590 #, c-format @@ -141,7 +149,8 @@ msgstr "%s: Eingabedatei hat mehr als ei #: src/xz/file_io.c:714 #, c-format msgid "Error restoring the O_APPEND flag to standard output: %s" -msgstr "Fehler beim Wiederherstellen des O_APPEND flags bei Standard Output: %s" +msgstr "" +"Fehler beim Wiederherstellen des O_APPEND flags bei Standard Output: %s" #: src/xz/file_io.c:726 #, c-format @@ -151,7 +160,8 @@ msgstr "%s: Fehler beim Schießen der Da #: src/xz/file_io.c:762 src/xz/file_io.c:946 #, c-format msgid "%s: Seeking failed when trying to create a sparse file: %s" -msgstr "%s: Positionierungsfehler beim Versuch eine sparse Datei zu erzeugen: %s" +msgstr "" +"%s: Positionierungsfehler beim Versuch eine sparse Datei zu erzeugen: %s" #: src/xz/file_io.c:821 #, c-format @@ -202,7 +212,7 @@ msgstr "Kein" #. but the Check ID is known (here 2). This and other "Unknown-N" #. strings are used in tables, so the width must not exceed ten #. columns with a fixed-width font. It's OK to omit the dash if -#. you need space for one extra letter, but don't use spaces. +#. you need space for one extra letter. #: src/xz/list.c:69 msgid "Unknown-2" msgstr "Unbek.2" @@ -310,10 +320,12 @@ msgstr " Strom Auffüllung: %s\n" #: src/xz/list.c:693 msgid "" " Streams:\n" -" Stream Blocks CompOffset UncompOffset CompSize UncompSize Ratio Check Padding" +" Stream Blocks CompOffset UncompOffset CompSize " +"UncompSize Ratio Check Padding" msgstr "" " Ströme:\n" -" Strom Blöcke KompOffset UnkompOffset KompGröße UnkompGröße Verh. Check Auffüllung" +" Strom Blöcke KompOffset UnkompOffset KompGröße " +"UnkompGröße Verh. Check Auffüllung" #. TRANSLATORS: The second line is column headings. All #. except Check are right aligned; Check is left aligned. @@ -321,10 +333,12 @@ msgstr "" #, c-format msgid "" " Blocks:\n" -" Stream Block CompOffset UncompOffset TotalSize UncompSize Ratio Check" +" Stream Block CompOffset UncompOffset TotalSize " +"UncompSize Ratio Check" msgstr "" " Blöcke:\n" -" Strom Block KompOffset UnkompOffset TotalGröße UnkompGröße Verh. Check" +" Strom Block KompOffset UnkompOffset TotalGröße " +"UnkompGröße Verh. Check" #. TRANSLATORS: These are additional column headings #. for the most verbose listing mode. CheckVal @@ -376,7 +390,8 @@ msgstr " Anzahl Dateien: %s\n" #: src/xz/list.c:1072 msgid "--list works only on .xz files (--format=xz or --format=auto)" -msgstr "--list funktioniert nur mit .xz Dateien (--format=xz oder --format=auto)" +msgstr "" +"--list funktioniert nur mit .xz Dateien (--format=xz oder --format=auto)" #: src/xz/list.c:1078 msgid "--list does not support reading from standard input" @@ -394,69 +409,79 @@ msgstr "%s: Unerwartetes Ende beim Lesen #: src/xz/main.c:120 #, c-format -msgid "%s: Null character found when reading filenames; maybe you meant to use `--files0' instead of `--files'?" -msgstr "%s: Null Charakter gefunden beim Lesen der Dateinamen; Meinten Sie `--files0' statt `--files'?" +msgid "" +"%s: Null character found when reading filenames; maybe you meant to use `--" +"files0' instead of `--files'?" +msgstr "" +"%s: Null Charakter gefunden beim Lesen der Dateinamen; Meinten Sie `--" +"files0' statt `--files'?" #: src/xz/main.c:174 msgid "Compression and decompression with --robot are not supported yet." msgstr "Kompression und Dekompression mit --robot ist noch nicht unterstützt." #: src/xz/main.c:231 -msgid "Cannot read data from standard input when reading filenames from standard input" -msgstr "Lesen der Standardeingabe ist nicht möglich, wenn die Dateinamen auch von der Standardeingabe gelesen werden" +msgid "" +"Cannot read data from standard input when reading filenames from standard " +"input" +msgstr "" +"Lesen der Standardeingabe ist nicht möglich, wenn die Dateinamen auch von " +"der Standardeingabe gelesen werden" -#: src/xz/message.c:792 src/xz/message.c:842 +#: src/xz/message.c:800 src/xz/message.c:844 msgid "Internal error (bug)" msgstr "Interner Fehler (Bug)" -#: src/xz/message.c:799 +#: src/xz/message.c:807 msgid "Cannot establish signal handlers" msgstr "Kann Signal Routine nicht setzen" -#: src/xz/message.c:808 +#: src/xz/message.c:816 msgid "No integrity check; not verifying file integrity" msgstr "Kein Integritäts-Check; werde Datei-Integrität nicht überprüfen" -#: src/xz/message.c:811 +#: src/xz/message.c:819 msgid "Unsupported type of integrity check; not verifying file integrity" -msgstr "Typ des Integritäts-Checks nicht unterstützt; werde Datei-Integrität nicht überprüfen" +msgstr "" +"Typ des Integritäts-Checks nicht unterstützt; werde Datei-Integrität nicht " +"überprüfen" -#: src/xz/message.c:818 +#: src/xz/message.c:826 msgid "Memory usage limit reached" msgstr "Speicher-Limit erreicht" -#: src/xz/message.c:821 +#: src/xz/message.c:829 msgid "File format not recognized" msgstr "Datei Format nicht erkannt" -#: src/xz/message.c:824 +#: src/xz/message.c:832 msgid "Unsupported options" msgstr "Optionen nicht unterstützt" -#: src/xz/message.c:827 +#: src/xz/message.c:835 msgid "Compressed data is corrupt" msgstr "Komprimierte Daten sind korrupt" -#: src/xz/message.c:830 +#: src/xz/message.c:838 msgid "Unexpected end of input" msgstr "Unerwartetes Eingabe Ende" -#: src/xz/message.c:881 +#: src/xz/message.c:886 #, c-format msgid "%s MiB of memory is required. The limit is %s." msgstr "%s MiB Speicher wird benötigt. Limit ist %s." -#: src/xz/message.c:1048 +#: src/xz/message.c:1053 #, c-format msgid "%s: Filter chain: %s\n" msgstr "%s: Filter Kette: %s\n" -#: src/xz/message.c:1058 +#: src/xz/message.c:1063 #, c-format msgid "Try `%s --help' for more information." msgstr "Versuchen Sie `%s --help' für mehr Informationen." -#: src/xz/message.c:1084 +#: src/xz/message.c:1089 #, c-format msgid "" "Usage: %s [OPTION]... [FILE]...\n" @@ -467,17 +492,18 @@ msgstr "" "Komprimiert oder dekomprimiert .xz DATEI(EN).\n" "\n" -#: src/xz/message.c:1091 -msgid "Mandatory arguments to long options are mandatory for short options too.\n" +#: src/xz/message.c:1096 +msgid "" +"Mandatory arguments to long options are mandatory for short options too.\n" msgstr "" "Obligatorische Argumente für lange Optionen sind auch für kurze Optionen\n" "zwingend.\n" -#: src/xz/message.c:1095 +#: src/xz/message.c:1100 msgid " Operation mode:\n" msgstr " Operationsmodus:\n" -#: src/xz/message.c:1098 +#: src/xz/message.c:1103 msgid "" " -z, --compress force compression\n" " -d, --decompress force decompression\n" @@ -489,7 +515,7 @@ msgstr "" " -t, --test überprüfe Datei Integrität\n" " -l, --list liste Datei Informationen" -#: src/xz/message.c:1104 +#: src/xz/message.c:1109 msgid "" "\n" " Operation modifiers:\n" @@ -497,7 +523,7 @@ msgstr "" "\n" " Operationsmodifikatoren:\n" -#: src/xz/message.c:1107 +#: src/xz/message.c:1112 msgid "" " -k, --keep keep (don't delete) input files\n" " -f, --force force overwrite of output file and (de)compress links\n" @@ -509,13 +535,14 @@ msgstr "" " -c, --stdout schreibe nach Standard Output und lösche nicht die\n" " Eingabedateien" -#: src/xz/message.c:1113 +#: src/xz/message.c:1118 msgid "" " --no-sparse do not create sparse files when decompressing\n" " -S, --suffix=.SUF use the suffix `.SUF' on compressed files\n" " --files[=FILE] read filenames to process from FILE; if FILE is\n" " omitted, filenames are read from the standard input;\n" -" filenames must be terminated with the newline character\n" +" filenames must be terminated with the newline " +"character\n" " --files0[=FILE] like --files but use the null character as terminator" msgstr "" " --no-sparse erzeuge keine sparse Datei beim Dekomprimieren\n" @@ -524,9 +551,10 @@ msgstr "" " DATEI nicht angegeben wurde, werden Dateinamen\n" " von Standard Input gelesen. Dateinamen müssen mit\n" " einem Zeilenumbruch voneinander getrennt werden\n" -" --files0=[DATEI] wie --files, aber benutze den Null Charakter als Trenner" +" --files0=[DATEI] wie --files, aber benutze den Null Charakter als " +"Trenner" -#: src/xz/message.c:1121 +#: src/xz/message.c:1126 msgid "" "\n" " Basic file format and compression options:\n" @@ -534,62 +562,76 @@ msgstr "" "\n" " Grundlegende Optionen für Dateiformat und Kompression:\n" -#: src/xz/message.c:1123 +#: src/xz/message.c:1128 msgid "" " -F, --format=FMT file format to encode or decode; possible values are\n" " `auto' (default), `xz', `lzma', and `raw'\n" " -C, --check=CHECK integrity check type: `none' (use with caution),\n" " `crc32', `crc64' (default), or `sha256'" msgstr "" -" -F, --format=FMT Dateiformat zur Kodierung oder Dekodierung; mögliche\n" -" Werte sind `auto' (Voreinstellung), `xz', `lzma' und\n" +" -F, --format=FMT Dateiformat zur Kodierung oder Dekodierung; " +"mögliche\n" +" Werte sind `auto' (Voreinstellung), `xz', `lzma' " +"und\n" " `raw'\n" -" -C, --check=CHECK Typ des Integritätschecks: `none' (Vorsicht), `crc32',\n" +" -C, --check=CHECK Typ des Integritätschecks: `none' (Vorsicht), " +"`crc32',\n" " `crc64' (Voreinstellung), oder `sha256'" -#: src/xz/message.c:1130 +#: src/xz/message.c:1135 msgid "" -" -0 ... -9 compression preset; default is 6; take compressor *and*\n" -" decompressor memory usage into account before using 7-9!" -msgstr "" -" -0 .. -9 Kompressionseinstellung; Voreinstellung is 6. Beachten\n" -" Sie den Speicherverbrauch des Komprimieres *und* des\n" +" -0 ... -9 compression preset; default is 6; take compressor " +"*and*\n" +" decompressor memory usage into account before using 7-" +"9!" +msgstr "" +" -0 .. -9 Kompressionseinstellung; Voreinstellung is 6. " +"Beachten\n" +" Sie den Speicherverbrauch des Komprimieres *und* " +"des\n" " Dekomprimierers, wenn Sie 7-9 benutzen!" -#: src/xz/message.c:1134 +#: src/xz/message.c:1139 msgid "" -" -e, --extreme try to improve compression ratio by using more CPU time;\n" +" -e, --extreme try to improve compression ratio by using more CPU " +"time;\n" " does not affect decompressor memory requirements" msgstr "" -" -e, --extreme Versuche durch stärkere CPU Nutzung das Kompressions-\n" +" -e, --extreme Versuche durch stärkere CPU Nutzung das " +"Kompressions-\n" " verhältnis zu verbessern. Das beeinflusst nicht den\n" " Speicherbedarf des Dekomprimierers." -#: src/xz/message.c:1139 +#: src/xz/message.c:1144 #, no-c-format msgid "" *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 16:13:33 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 661991065694; Thu, 24 Feb 2011 16:13:33 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 556C98FC20; Thu, 24 Feb 2011 16:13:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OGDXW0047079; Thu, 24 Feb 2011 16:13:33 GMT (envelope-from remko@svn.freebsd.org) Received: (from remko@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OGDXpM047076; Thu, 24 Feb 2011 16:13:33 GMT (envelope-from remko@svn.freebsd.org) Message-Id: <201102241613.p1OGDXpM047076@svn.freebsd.org> From: Remko Lodder Date: Thu, 24 Feb 2011 16:13:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219003 - head/usr.bin/nice X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 16:13:33 -0000 Author: remko Date: Thu Feb 24 16:13:33 2011 New Revision: 219003 URL: http://svn.freebsd.org/changeset/base/219003 Log: Add wording about the priority range and mention what effect this has at certain values. PR: 124469 Obtained from: NetBSD nice.1 v1.14 MFC after: 1 week Modified: head/usr.bin/nice/nice.1 Modified: head/usr.bin/nice/nice.1 ============================================================================== --- head/usr.bin/nice/nice.1 Thu Feb 24 14:56:12 2011 (r219002) +++ head/usr.bin/nice/nice.1 Thu Feb 24 16:13:33 2011 (r219003) @@ -28,7 +28,7 @@ .\" @(#)nice.1 8.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd June 6, 1993 +.Dd February 24, 2011 .Dt NICE 1 .Os .Sh NAME @@ -50,6 +50,11 @@ value by the specified .Ar increment , or a default value of 10. The lower the nice value of a process, the higher its scheduling priority. +.Ar increment . +The priority can be adjusted over a range of -20 (the higest) to 20 (the +lowest). +A priority of 19 or 20 will prevent a process from taking any cycles from +others at nice 0 or better. .Pp The superuser may specify a negative increment in order to run a utility with a higher scheduling priority. @@ -107,6 +112,7 @@ option has been deprecated but is still .Xr rtprio 1 , .Xr getpriority 2 , .Xr setpriority 2 , +.Xr nice 3, .Xr renice 8 .Sh STANDARDS The From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 18:08:23 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86A64106566B; Thu, 24 Feb 2011 18:08:23 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 73D828FC18; Thu, 24 Feb 2011 18:08:23 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OI8NLD053982; Thu, 24 Feb 2011 18:08:23 GMT (envelope-from hselasky@svn.freebsd.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OI8NDB053974; Thu, 24 Feb 2011 18:08:23 GMT (envelope-from hselasky@svn.freebsd.org) Message-Id: <201102241808.p1OI8NDB053974@svn.freebsd.org> From: Hans Petter Selasky Date: Thu, 24 Feb 2011 18:08:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219004 - head/share/man/man4 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 18:08:23 -0000 Author: hselasky Date: Thu Feb 24 18:08:23 2011 New Revision: 219004 URL: http://svn.freebsd.org/changeset/base/219004 Log: - Add missing xhci(4) manual page. - Minor update in some USB manual pages. MFC after: 3 days Approved by: thompsa (mentor) Added: head/share/man/man4/xhci.4 (contents, props changed) Modified: head/share/man/man4/Makefile head/share/man/man4/ehci.4 head/share/man/man4/ohci.4 head/share/man/man4/snd_uaudio.4 head/share/man/man4/uhci.4 head/share/man/man4/usb.4 Modified: head/share/man/man4/Makefile ============================================================================== --- head/share/man/man4/Makefile Thu Feb 24 16:13:33 2011 (r219003) +++ head/share/man/man4/Makefile Thu Feb 24 18:08:23 2011 (r219004) @@ -509,6 +509,7 @@ MAN= aac.4 \ ${_wpi.4} \ xe.4 \ ${_xen.4} \ + xhci.4 \ xl.4 \ xpt.4 \ zero.4 \ Modified: head/share/man/man4/ehci.4 ============================================================================== --- head/share/man/man4/ehci.4 Thu Feb 24 16:13:33 2011 (r219003) +++ head/share/man/man4/ehci.4 Thu Feb 24 18:08:23 2011 (r219004) @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 20, 2005 +.Dd February 24, 2011 .Dt EHCI 4 .Os .Sh NAME @@ -70,6 +70,7 @@ but can be noticed since 2.0 devices plugged in to the same connector appear to connect to different USB busses. .Sh SEE ALSO +.Xr xhci 4 , .Xr ohci 4 , .Xr uhci 4 , .Xr usb 4 @@ -78,7 +79,19 @@ The .Nm device driver first appeared in .Fx 5.1 . -.Sh BUGS -The driver is not finished and is quite buggy. -.Pp -There is currently no support for isochronous transfers. +.Sh LOADER TUNABLES +Tunables can be set at the +.Xr loader 8 +prompt before booting the kernel or stored in +.Xr loader.conf 5 . +.Bl -tag -width "xxxxxx" +.It Va hw.usb.ehci.lostintrbug +This tunable enables the lost interrupt quirk. +The default value is 0 (off). +.It Va hw.usb.ehci.iaadbug +This tunable enables the EHCI doorbell quirk. +The default value is 0 (off). +.It Va hw.usb.ehci.no_hs +This tunable disables USB devices to attach like HIGH-speed ones and will force all attached devices to attach to the FULL- or LOW-speed companion controller. +The default value is 0 (off). +.El Modified: head/share/man/man4/ohci.4 ============================================================================== --- head/share/man/man4/ohci.4 Thu Feb 24 16:13:33 2011 (r219003) +++ head/share/man/man4/ohci.4 Thu Feb 24 18:08:23 2011 (r219004) @@ -60,6 +60,7 @@ NVIDIA nForce3 Sun PCIO-2 (RIO USB) .El .Sh SEE ALSO +.Xr xhci 4 , .Xr ehci 4 , .Xr uhci 4 .Sh HISTORY Modified: head/share/man/man4/snd_uaudio.4 ============================================================================== --- head/share/man/man4/snd_uaudio.4 Thu Feb 24 16:13:33 2011 (r219003) +++ head/share/man/man4/snd_uaudio.4 Thu Feb 24 18:08:23 2011 (r219004) @@ -29,12 +29,12 @@ .\" .\" $FreeBSD$ .\" -.Dd December 15, 2005 +.Dd February 24, 2011 .Dt SND_UAUDIO 4 .Os .Sh NAME .Nm snd_uaudio -.Nd USB audio device driver +.Nd USB audio and MIDI device driver .Sh SYNOPSIS To compile this driver into the kernel, place the following lines in your kernel configuration file: @@ -55,7 +55,9 @@ The .Nm driver provides support for .Tn USB -audio class devices. +audio class devices and +.Tn USB +MIDI class devices. .Pp A .Tn USB @@ -94,8 +96,7 @@ as of this writing, does not handle devi abstracted manner, i.e., a detach request is refused by the .Tn PCM framework if the device is in use. -For -.Tn USB -and supposedly other detach-able busses, it is necessary to allow the -device un-registration to complete successfully, otherwise the driver -leaves wild pointers to invalid data structures and thus leading to a panic. +It is necessary to allow the device un-registration to complete +successfully, otherwise the +.Tn PCM +layer will panic. Modified: head/share/man/man4/uhci.4 ============================================================================== --- head/share/man/man4/uhci.4 Thu Feb 24 16:13:33 2011 (r219003) +++ head/share/man/man4/uhci.4 Thu Feb 24 18:08:23 2011 (r219004) @@ -50,6 +50,7 @@ Intel 82371SB (PIIX3) VIA 83C572 .El .Sh SEE ALSO +.Xr xhci 4 , .Xr ehci 4 , .Xr ohci 4 .Sh HISTORY Modified: head/share/man/man4/usb.4 ============================================================================== --- head/share/man/man4/usb.4 Thu Feb 24 16:13:33 2011 (r219003) +++ head/share/man/man4/usb.4 Thu Feb 24 18:08:23 2011 (r219004) @@ -164,7 +164,8 @@ specifications can be found at: .Xr uplcom 4 , .Xr urio 4 , .Xr uvscom 4 , -.Xr usbconfig 8 +.Xr usbconfig 8 , +.Xr xhci 4 .Sh STANDARDS The .Nm Added: head/share/man/man4/xhci.4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/xhci.4 Thu Feb 24 18:08:23 2011 (r219004) @@ -0,0 +1,61 @@ +.\" +.\" Copyright (c) 2011 Hans Petter Selasky. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS +.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS +.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd February 24, 2011 +.Dt XHCI 4 +.Os +.Sh NAME +.Nm xhci +.Nd USB eXtensible Host Controller driver +.Sh SYNOPSIS +.Cd "device xhci" +.Sh DESCRIPTION +The +.Nm +driver provides support for the +.Tn USB +eXtensible Host Controller Interface, +which allows use of +.Tn USB +1.0, 2.0 and 3.0 devices on the same +.Tn USB +port. +.Pp +The +.Tn XHCI +controller supports +.Tn USB +connection speeds up to 4.8Gbps when using a USB 3.0 compliant device. +.Sh SEE ALSO +.Xr ehci 4 , +.Xr ohci 4 , +.Xr uhci 4 , +.Xr usb 4 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx 8.2 . From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 18:13:53 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E22AE106566C; Thu, 24 Feb 2011 18:13:53 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D10728FC0C; Thu, 24 Feb 2011 18:13:53 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OIDrJa054195; Thu, 24 Feb 2011 18:13:53 GMT (envelope-from remko@svn.freebsd.org) Received: (from remko@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OIDr9P054193; Thu, 24 Feb 2011 18:13:53 GMT (envelope-from remko@svn.freebsd.org) Message-Id: <201102241813.p1OIDr9P054193@svn.freebsd.org> From: Remko Lodder Date: Thu, 24 Feb 2011 18:13:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219005 - head X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 18:13:54 -0000 Author: remko Date: Thu Feb 24 18:13:53 2011 New Revision: 219005 URL: http://svn.freebsd.org/changeset/base/219005 Log: Add sticky.8 to the obsolete files since it had been moved to sticky.7 Submitted by: maxim and pluknet Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ============================================================================== --- head/ObsoleteFiles.inc Thu Feb 24 18:08:23 2011 (r219004) +++ head/ObsoleteFiles.inc Thu Feb 24 18:13:53 2011 (r219005) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20110224: sticky.8 -> sticky.7 +OLD_FILES+=usr/share/man/man8/sticky.8.gz # 20110220: new clang import which bumps version from 2.8 to 2.9 OLD_FILES+=usr/include/clang/2.8/emmintrin.h OLD_FILES+=usr/include/clang/2.8/mm_malloc.h From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 18:48:27 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7806D106567A; Thu, 24 Feb 2011 18:48:27 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 48C878FC1C; Thu, 24 Feb 2011 18:48:27 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id EC78F46B29; Thu, 24 Feb 2011 13:48:26 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.10]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id F00C28A01D; Thu, 24 Feb 2011 13:48:25 -0500 (EST) From: John Baldwin To: Remko Lodder Date: Thu, 24 Feb 2011 13:47:39 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.4-CBSD-20110107; KDE/4.4.5; amd64; ; ) References: <201102241613.p1OGDXpM047076@svn.freebsd.org> In-Reply-To: <201102241613.p1OGDXpM047076@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201102241347.39267.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Thu, 24 Feb 2011 13:48:26 -0500 (EST) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=0.5 required=4.2 tests=BAYES_00,MAY_BE_FORGED, RDNS_DYNAMIC autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bigwig.baldwin.cx Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219003 - head/usr.bin/nice X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 18:48:27 -0000 On Thursday, February 24, 2011 11:13:33 am Remko Lodder wrote: > Author: remko > Date: Thu Feb 24 16:13:33 2011 > New Revision: 219003 > URL: http://svn.freebsd.org/changeset/base/219003 > > Log: > Add wording about the priority range and > mention what effect this has at certain > values. > > PR: 124469 > Obtained from: NetBSD nice.1 v1.14 > MFC after: 1 week > > Modified: > head/usr.bin/nice/nice.1 > > Modified: head/usr.bin/nice/nice.1 > ============================================================================== > --- head/usr.bin/nice/nice.1 Thu Feb 24 14:56:12 2011 (r219002) > +++ head/usr.bin/nice/nice.1 Thu Feb 24 16:13:33 2011 (r219003) > @@ -28,7 +28,7 @@ > .\" @(#)nice.1 8.1 (Berkeley) 6/6/93 > .\" $FreeBSD$ > .\" > -.Dd June 6, 1993 > +.Dd February 24, 2011 > .Dt NICE 1 > .Os > .Sh NAME > @@ -50,6 +50,11 @@ value by the specified > .Ar increment , > or a default value of 10. > The lower the nice value of a process, the higher its scheduling priority. > +.Ar increment . > +The priority can be adjusted over a range of -20 (the higest) to 20 (the > +lowest). > +A priority of 19 or 20 will prevent a process from taking any cycles from > +others at nice 0 or better. Are you sure that this statement applies to both ULE and 4BSD? The two schedulers treat nice values a bit differently. -- John Baldwin From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 19:03:39 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BDE7106566B; Thu, 24 Feb 2011 19:03:39 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from mailgate.jr-hosting.nl (mailgate.jr-hosting.nl [IPv6:2a01:4f8:63:1281::3]) by mx1.freebsd.org (Postfix) with ESMTP id 1A46D8FC14; Thu, 24 Feb 2011 19:03:39 +0000 (UTC) Received: from [10.0.2.10] (caelis.elvandar.org [83.163.38.147]) by mailgate.jr-hosting.nl (Postfix) with ESMTPSA id 913EF1CC4A; Thu, 24 Feb 2011 20:03:37 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Remko Lodder In-Reply-To: <201102241347.39267.jhb@freebsd.org> Date: Thu, 24 Feb 2011 20:03:33 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <5965E5EC-A725-423A-9420-B84AD09993DC@elvandar.org> References: <201102241613.p1OGDXpM047076@svn.freebsd.org> <201102241347.39267.jhb@freebsd.org> To: John Baldwin , davidxu@Freebsd.org X-Mailer: Apple Mail (2.1082) Cc: svn-src-head@freebsd.org, Remko Lodder , src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r219003 - head/usr.bin/nice X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 19:03:39 -0000 =09 On Feb 24, 2011, at 7:47 PM, John Baldwin wrote: >>=20 >=20 > Are you sure that this statement applies to both ULE and 4BSD? The = two=20 > schedulers treat nice values a bit differently. No I am not sure that the statement applies, given your response I = understand that both schedulers work differently. Can you or David tell me what the = difference is so that I can properly document it? I thought that the tool is doin = the same for all schedulers, but that the backend might treat it differently. Thanks Remko >=20 > --=20 > John Baldwin >=20 --=20 /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | X http://www.evilcoder.org/ | Quis custodiet ipsos custodes / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 19:11:28 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50C3C106566B; Thu, 24 Feb 2011 19:11:28 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3E1478FC14; Thu, 24 Feb 2011 19:11:28 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OJBSZZ056318; Thu, 24 Feb 2011 19:11:28 GMT (envelope-from hrs@svn.freebsd.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OJBS1c056316; Thu, 24 Feb 2011 19:11:28 GMT (envelope-from hrs@svn.freebsd.org) Message-Id: <201102241911.p1OJBS1c056316@svn.freebsd.org> From: Hiroki Sato Date: Thu, 24 Feb 2011 19:11:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219006 - stable/8/release/doc/en_US.ISO8859-1/relnotes X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 19:11:28 -0000 Author: hrs Date: Thu Feb 24 19:11:27 2011 New Revision: 219006 URL: http://svn.freebsd.org/changeset/base/219006 Log: Add more relnotes item: a carp(4) and linkstate change issue is fixed. Modified: stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml Modified: stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml ============================================================================== --- stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml Thu Feb 24 18:13:53 2011 (r219005) +++ stable/8/release/doc/en_US.ISO8859-1/relnotes/article.sgml Thu Feb 24 19:11:27 2011 (r219006) @@ -610,6 +610,12 @@ Network Protocols + An issue in the &man.carp.4; pseudo + interface and linkstate changes of the underlying interfaces + has been fixed. This happened when a &man.carp.4; interface + was created before the underlying interface and its + linkstate became UP. + A bug in the &man.ipfw.4; packet filter subsystem has been fixed. The &man.sysctl.8; variable net.inet.ip.fw.one_pass did not From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 19:22:04 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E10D7106566C; Thu, 24 Feb 2011 19:22:04 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CCC4B8FC13; Thu, 24 Feb 2011 19:22:04 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OJM4xJ056854; Thu, 24 Feb 2011 19:22:04 GMT (envelope-from hrs@svn.freebsd.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OJM4V4056852; Thu, 24 Feb 2011 19:22:04 GMT (envelope-from hrs@svn.freebsd.org) Message-Id: <201102241922.p1OJM4V4056852@svn.freebsd.org> From: Hiroki Sato Date: Thu, 24 Feb 2011 19:22:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219007 - stable/7/release/doc/en_US.ISO8859-1/relnotes X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 19:22:05 -0000 Author: hrs Date: Thu Feb 24 19:22:04 2011 New Revision: 219007 URL: http://svn.freebsd.org/changeset/base/219007 Log: Add relnotes items for 7.4R. Modified: stable/7/release/doc/en_US.ISO8859-1/relnotes/article.sgml Modified: stable/7/release/doc/en_US.ISO8859-1/relnotes/article.sgml ============================================================================== --- stable/7/release/doc/en_US.ISO8859-1/relnotes/article.sgml Thu Feb 24 19:11:27 2011 (r219006) +++ stable/7/release/doc/en_US.ISO8859-1/relnotes/article.sgml Thu Feb 24 19:22:04 2011 (r219007) @@ -4,11 +4,6 @@ %release; - - - - - ]>
@@ -20,16 +15,7 @@ $FreeBSD$ - 2000 - 2001 - 2002 - 2003 - 2004 - 2005 - 2006 - 2007 - 2008 - 2009 + 2011 The &os; Documentation Project @@ -124,102 +110,580 @@ Security Advisories - + Problems described in the following security advisories have + been fixed. For more information, consult the individual + advisories available from + . + + + + + + + + + Advisory + Date + Topic + + + + + + SA-10:08.bzip2 + 20 September 2010 + Integer overflow in bzip2 decompression + + + SA-10:09.pseudofs + 10 October 2010 + Spurious mutex unlock + + + SA-10:10.openssl + 29 November 2010 + OpenSSL multiple vulnerabilities + + + + Kernel Changes - - - - Boot Loader Changes - - - + &os;/sparc64 now supports reservation-based + physical memory allocation which provides better + performance. + + &os;/sparc64 now supports UltraSPARC IV, IV+, and + SPARC64 V CPUs. + + The &man.alq.9; support has been improved. The + alq_writen() and + alq_getn() KPIs have been extended to + support variable length messages, which is enabled at ALQ + creation time depending on the arguments passed to + alq_open(). Also, the + ALQ_NOACTIVATE and + ALQ_ORDERED flags have been added to allow + ALQ consumers to have more control over I/O scheduling and + resource acquisition respectively. These extensions are fully + backward compatible. + + The &man.alq.9; support is now provided as a kernel module + alq.ko. + + The &os; &man.memguard.9; framework has been improved to + make it able to detect use-after-free of allocated memories + over a longer time. For more details, see &man.memguard.9; + manual page. + + The following + &man.sysctl.8; variables have been added: + vm.kmem_map_size for the current kmem map + size and vm.kmem_map_free for largest + contiguous free range in kmem map. Hardware Support + The &man.ichwd.4; driver now supports + Intel NM10 Express chipset watchdog timer. + + The qpi(4) pseudo bus driver has been + added. This supports extra PCI buses on Intel QPI chipsets + where various hardware such as memory controllers for each + socket is connected. + Multimedia Support - + The &man.acpi.video.4; driver has been updated. LCD + brightness control notify handler has been + implemented. + + The &man.acpi.sony.4; helper driver now supports + default display brightness, wired LAN power, and bass + gain. Network Interface Support - - + The &man.alc.4; driver now supports Atheros + AR8151/AR8152 PCIe Gigabit/Fast Ethernet + controllers. + + The TX interrupt moderation timer in + the &man.alc.4; driver has been reduced from 50ms to 1ms. + The 50ms timer resulted in a poor UDP performance. + + The &man.bge.4; driver now supports + BCM5718 x2 PCI Express dual-port gigabit Ethernet + controller family. This family is the successor to the + BCM5714/BCM5715 family and supports IPv4/IPv6 checksum + offloading, TSO, VLAN hardware tagging, jumbo frames, + MSI/MSIX, IOV, RSS and TSS. The current version of the + driver supports all hardware features except IOV and + RSS/TSS. + + The &man.bge.4; driver now supports hardware MAC + statistics in controller's internal memory for BCM5705 or + newer Broadcom controllers. These counters can be + accessed via &man.sysctl.8; variable + dev.bge.N.stats.* + and provide useful information to diagnose driver + issues. + + A long-standing bug of ASF heartbeat sending in the + &man.bge.4; driver has been fixed. + + UDP checksum offloading in the + &man.bge.4; driver has been disabled by default. This is + because Broadcom controllers have a bug which can generate + UDP datagrams with checksum value 0 + when TX UDP checksum offloading is enabled. The checksum + offloading can be enabled by using the following loader + tunable: + + dev.bge.N.forced_udpcsum + + A bug in the &man.bge.4; driver which prevented TSO + from working in BCM57780 has been fixed. + + A bug in the &man.bge.4; driver that + could lead to poor performance on a system with more than + 4 GB RAM has been fixed. The cause was that all of + Broadcom controllers except the BCM5755 and later have a + bug in 4 GB-boundary DMA processing and used the bounce + buffer in an inefficient way. + + The &man.cxgb.4; driver now supports hardware + filtering based on inspection of L2/L3/L4 headers. + Filtering based on source IP address, destination IP + address, source port number, destination port number, + 802.1q VLAN frame tag, UDP, TCP, and MAC address is + possible. The configuration can be done by the + cxgbtool(8) utility. Note that cxgbtool(8) is in + src/usr.sbin/cxgbtool but not + compiled by default. + + The &man.em.4; driver has been updated to version + 7.1.9. + + The &man.em.4; and &man.igb.4; drivers now provide + statistics counters as &man.sysctl.8; MIB objects. + + The &man.fxp.4; driver now exports the hardware MAC + statistics via &man.sysctl.8; variables. + + The &man.fxp.4; driver now supports + TSO over VLAN on i82550 and i82551 controllers. + + The &man.igb.4; driver has been updated to version + 2.0.7. + + The &man.miibus.4; has been rewritten for the generic + IEEE 802.3 annex 31B full duplex flow control support. + The &man.alc.4;, &man.bge.4;, &man.bce.4;, &man.cas.4;, + &man.fxp.4;, &man.gem.4;, &man.jme.4;, &man.msk.4;, + &man.nfe.4;, &man.re.4;, &man.stge.4;, and &man.xl.4; + drivers along with atphy(4), bmtphy(4), brgphy(4), + e1000phy(4), gentbi(4), inphy(4), ip1000phy(4), jmphy(4), + nsgphy(4), nsphyter(4), and &man.rgephy.4; have been + updated to support flow control via this facility. + + The &man.msk.4; driver has been improved: + + + + It now supports 88E8059 (Marvell Yukon Optima) devices. + + + + A rudimentary interrupt moderation with + programmable countdown timer register has been + implemented. The default parameter of the holdoff + time is 100us and this can be changed via sysctl + variable + dev.mskc.0.int_holdoff. + Note that the interrupt moderation is shared resource + on a dual-port controllers and it is impossible to use + separate interrupt moderation values for each + port. + + + + A bug in the &man.mxge.4; driver that prevented TSO + from working has been fixed. + + The &man.nfe.4; driver now supports WoL (Wake on + LAN). + + The &man.re.4; driver now uses 2048 + as PCIe Maximum Read Request Size. This improves bulk + transfer performance. + + The &man.re.4; driver now supports 64-bit DMA + addressing for RTL810xE/RTL8168/RTL8111 PCIe + controllers. + + The &man.re.4; driver now supports hardware interrupt + moderation of TX completion interrupts on RTL8169/RTL8168 + controllers. + + The &man.rl.4; driver now supports WoL (Wake on LAN) + on RTL8139B or newer controllers. + + The &man.rl.4; driver now supports a device hint to + change a way of register access. Although some newer + RTL8139 controllers support memory-mapped register access, + it is difficult to detect the support automatically. For + this reason the driver uses I/O mapping by default and + provides the following device hint. If it is set to + 0, the driver uses memory mapping for + register access. + + hint.rl.N.prefer_iomap="0" + + Note that the default value is 1. + + The &man.rl.4; driver has improved interrupt handling. + It now has better TX performance under high RX + load. + + The &man.sk.4; driver now disables TX checksum + offloading by default. This is because some revisions of + the Yukon controller generate corrupted frames. The + checksum offloading can be enabled manually by using + option in the &man.ifconfig.8; + utility. + + A bug in the &man.sk.4; driver has been fixed. It did + not program the station address for Yukon controllers and + overriding the station address with &man.ifconfig.8; was + not possible. + + The &man.sge.4; driver for Silicon Integrated Systems + SiS190/191 Fast/Gigabit Ethernet has been added. This + supports TSO and TSO over VLAN. + + The &man.sis.4; driver now supports WoL (Wake on LAN) + on NS DP8315 controller. + + A tunable + dev.sis.N.manual_pad + for the &man.sis.4; driver has been added. This controls + whether padding with 0x00 for short frames is done by CPU, + rather than the controller. The reason why this tunable + has been added is that NS DP83815/DP83816 pads them with + 0xff though RFC 1042 specifies it should be 0x00. The + tunable is disabled by default, which means padding with + 0xff is used because padding with 0x00 by software needs + extra CPU cycles. Enabling manual_pad, + by setting this &man.sysctl.8; variable to a non-zero + value, forces the use of software padding. + + The &man.ste.4; driver now supports a device hint to + change the device register access mode. The driver uses + memory-mapped register access by default, but this caused + stability problems with some old IC Plus Corp (formerly + Sundace) controllers. The following device hint makes the + driver use I/O mapping for register access: + + hint.ste.N.prefer_iomap="1" + + The &man.xl.4; driver now supports WoL (Wake on LAN). + Note that not all controllers support this functionality + and some need an additional remote wakeup cable. Network Protocols - - + An issue in the &man.carp.4; pseudo interface and + linkstate changes of the underlying interfaces has been + fixed. This happened when a &man.carp.4; interface was + created before the underlying interface and its linkstate + became UP. + + A new loader tunable + net.link.ifqmaxlen has been added. It + specifies the default value of send interface queue length. + The default value for this parameter is + 50. + + The &os; NFS subsystem now supports a timeout for the + negative name cache entries in the client. This avoids a + bogus negative name cache entry from persisting forever when + another client creates an entry with the same name within + the same NFS server time of day clock tick. A system-wide + &man.sysctl.8; sysctl variable + vfs.nfs.negative_name_timeout can be used + to adjust the timeout. Setting this variable to + 0 disables negative name caching. + + A new &man.netgraph.4; node &man.ng.patch.4; has been + added. This performs data modification of packets passing + through. Modifications are restricted to a subset of C + language operations on unsigned integers of 8, 16, 32 or + 64-bit size. + + The TCP initial window increase in RFC 3390 which can be + controlled by a &man.sysctl.8; variable + net.inet.tcp.rfc3390 now reduces the + congestion window to the restart window if a TCP connection + has been idle for one retransmit timeout or more. For more + details, see RFC 5681 Section 4.1. + + A bug in &os; TCP Path MTU discovery which could lead to + a wrong calculation for an MTU smaller than 256 octets has + been fixed. Note that this bug did not affect MTUs equal to + or larger than 256 octets. + + The &man.siftr.4;, Statistical + Information For TCP Research (SIFTR) kernel module has been + added. This is a facility that logs a range of statistics + on active TCP connections to a log file. It provides the + ability to make highly granular measurements of TCP + connection state, aimed at system administrators, developers + and researchers. + + The &os; TCP reassembly implementation has been + improved. A long-standing accounting bug affecting SMP + systems has been fixed and the + net.inet.tcp.reass.maxqlen &man.sysctl.8; + variable has been retired in favor of a per-connection + dynamic limit based on the receive socket buffer size. &os; + receivers now handle packet loss (particularly losses caused + by queue overflows) significantly better than before which + improves connection throughput. + + The &man.tun.4; pseudo interface driver now supports + explicit UP/DOWN linkstate. + + The &man.vlan.4; pseudo interface now supports TSO (TCP + Segmentation Offloading). The capability flag is named as + IFCAP_VLAN_HWTSO and it is separated from + IFCAP_VLAN_HWTAGGING. The &man.age.4;, + &man.alc.4;, &man.ale.4;, &man.bce.4;, &man.bge.4;, + &man.cxgb.4;, &man.jme.4;, &man.re.4;, and &man.mxge.4; + driver support this feature. Disks and Storage - + The &man.arcmsr.4; driver has been updated to version + 1.20.00.19. + + The &man.ata.4; driver now supports + spindown facility of ATA disks. The + &man.atacontrol.8; utility has a new subcommand + spindown to support this from + userland. + + The &man.gconcat.8; GEOM class now supports kernel crash + dump. The dumping is performed to the component where a + dump partition begins. + + The &man.gmultipath.8; utility now supports + destroy, rotate, + getactive commands. + The &man.ispfw.4;, the firmware for &man.isp.4; driver + has been added. + + The &man.twa.4; driver has been updated. The version + number is 3.70.05.010. File Systems - ZFS has been updated from version 6 to version 13. - This update includes numerous new ZFS features, such as - permitting non-root users to perform - some administrative functions, supporting additional disks - for caching or the ZFS Intent Log, and partial &man.chflags.2; - support. It also includes some &os;-specific additions, - such as booting from ZFS file systems, removal of ARC - size limitations, ARC backpressure (which allows ZFS to work - without tunables on &arch.amd64;), and many bugfixes. + The inode number handling in &man.ffs.7; file system is + now unsigned. Previously some large inode numbers can be + treated as negative, and this issue shows up at file systems + with the size of more than 16Tb in 16k block case. The + &man.newfs.8; utility never create a file system with more + than 2^32 inodes by cutting back on the number of inodes per + cylinder group if necessary to stay under the limit. + + A possible deadlock of zfs receive + has been fixed. Userland Changes - + The &man.arp.8; utility has been improved. It now runs + faster even when a single interface has a number of + aliases. + + A bug in the &man.b64decode.1; utility that prevented an + option from handling arbitrary breaks in a + base64 encoded string has been fixed. + + The &man.chgrp.1; and &man.chown.8; now support a + flag to make it not traverse across + multiple mount points for the recursive operation. + + The &man.cp.1; now supports a flag to + make it not traverse across multiple mount points for the + recursive operation. + + The &man.dhclient.8; utility now reports a reason for + exiting and the 10-second period in which the &man.dhclient.8; + ignores routing messages has been changed to start just after + dhclient-script starts instead of just + after it finished. This change fixes a symptom that + &man.dhclient.8; silently exits under a certain + condition. + + A bug in &man.find.1; utility has been fixed. An option + was interpreted as the same as + . + + The &man.tftp.1; and &man.tftpd.8; utilities have been + improved for better interoperability and they now support RFC + 1350, 2347, 2348, 2349, and 3617. + + An accuracy issue in the &man.jn.3; and &man.jnf.3; + functions in libm has been fixed. + + The &man.indent.1; utility now supports a + flag to treat all + _t-suffixed identifiers as types. + + The option in the &man.mount.8; + utility now displays the rw mount option + correctly as in the &man.fstab.5; format. + + The &man.ncal.1; utility has been updated. The option + has been replaced with + and . + Options to show previous, current and next + month, and to show months + after current month have been added. The option now prints only the + month, not the whole year. + + An issue in the &man.newfs.8; utility has been fixed. A + UFS1 file system created with 64KB blocksize was incorrectly + recognized as one with a broken superblock. This is because + the &os; kernel checks a partition first for a UFS2 superblock + at 64KB offset while it is possible that a UFS1 file systems + with 64KB blocksize has an alternative superblock at the same + location. For example, a file system created by + newfs -U -O 1 -b 65536 -f 8192 could lead + to this symptom. + + The &man.newsyslog.8; utility does not consider + non-existence of a PID file as an error now. A new flag + reverts it to the old behavior. + + The &man.newsyslog.8; utility now supports an option to override + the default &man.syslogd.8; PID file. + + The &man.pmcstat.8; utility now supports a file and a + network socket as a top source. A new option specifies to send + log output to filename, and another + new option specifies to + receive events from filename. For + a socket, the filename is in a form + of ipaddr:port. This allows top + monitoring over TCP on a system with no local symbols, for + example. + + The &man.powerd.8; utility now supports an and to control the + minimum and maximum frequency, respectively. + + The &man.ruptime.1; utility now displays hostnames longer + than 12 characters. + + The &man.stat.1; utility now supports + %Sf output specifier to display the file + flags symbolically. + + The &man.sysctl.8; utility now supports a + flag to ignore failures while retrieving + individual OIDs. This allows the same list of OIDs to be + passed to &man.sysctl.8; across different systems where + particular OIDs may not exist, and still get as much + information as possible from them. <filename>/etc/rc.d</filename> Scripts - + The &man.rc.conf.5; now supports a + firewall_coscripts variable. This should + contain a list of commands which should be executed after + firewall starts or stops. + + The rc.d/tmp script now uses a + unique directory name prefixed with + /tmp/.diskless instead of + /tmp/.diskless itself. This fixes an + issue when /tmp/.diskless exists before + the script runs. Contributed Software - sendmail has been updated from - version 8.14.3 to version 8.14.4. - + ISC BIND has been updated to + version 9.4-ESV-R4. - - Ports/Packages Collection Infrastructure + The GNU &man.cpio.1; program has been updated to version + 2.8. - + The &man.less.1; program has been updated to version + v436. - + The netcat program has been + updated to version 4.8. - - Release Engineering and Integration + OpenSSL has been updated to + version 0.9.8q. + + The &man.tcsh.1; program has been updated to version + 6.17.00. - + The timezone database has been updated to the + tzdata2010o release. - - Documentation + + Release Engineering and Integration - + The &man.sysinstall.8; utility now uses the following + numbers for default and minimum partition sizes: 1GB for + /, 4GB for /var, and + 1GB for /tmp. + + The supported version of the + GNOME desktop environment + (x11/gnome2) has been + updated to 2.32.1. + + The supported version of the + KDE desktop environment (x11/kde4) has been updated to + 4.5.5. From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 19:22:59 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A98411065674; Thu, 24 Feb 2011 19:22:59 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 971F88FC18; Thu, 24 Feb 2011 19:22:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OJMx3W056916; Thu, 24 Feb 2011 19:22:59 GMT (envelope-from hrs@svn.freebsd.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OJMxJG056914; Thu, 24 Feb 2011 19:22:59 GMT (envelope-from hrs@svn.freebsd.org) Message-Id: <201102241922.p1OJMxJG056914@svn.freebsd.org> From: Hiroki Sato Date: Thu, 24 Feb 2011 19:22:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219008 - stable/7/release/doc/en_US.ISO8859-1/relnotes X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 19:22:59 -0000 Author: hrs Date: Thu Feb 24 19:22:59 2011 New Revision: 219008 URL: http://svn.freebsd.org/changeset/base/219008 Log: Fix a typo. Modified: stable/7/release/doc/en_US.ISO8859-1/relnotes/article.sgml Modified: stable/7/release/doc/en_US.ISO8859-1/relnotes/article.sgml ============================================================================== --- stable/7/release/doc/en_US.ISO8859-1/relnotes/article.sgml Thu Feb 24 19:22:04 2011 (r219007) +++ stable/7/release/doc/en_US.ISO8859-1/relnotes/article.sgml Thu Feb 24 19:22:59 2011 (r219008) @@ -334,7 +334,7 @@ The &man.re.4; driver now supports hardware interrupt moderation of TX completion interrupts on RTL8169/RTL8168 - controllers. + controllers. The &man.rl.4; driver now supports WoL (Wake on LAN) on RTL8139B or newer controllers. From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 19:37:55 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CCD0106566B; Thu, 24 Feb 2011 19:37:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2BAD18FC12; Thu, 24 Feb 2011 19:37:55 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id D10DE46B1A; Thu, 24 Feb 2011 14:37:54 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.10]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id EA4628A009; Thu, 24 Feb 2011 14:37:53 -0500 (EST) From: John Baldwin To: Remko Lodder Date: Thu, 24 Feb 2011 14:35:08 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.4-CBSD-20110107; KDE/4.4.5; amd64; ; ) References: <201102241613.p1OGDXpM047076@svn.freebsd.org> <201102241347.39267.jhb@freebsd.org> <5965E5EC-A725-423A-9420-B84AD09993DC@elvandar.org> In-Reply-To: <5965E5EC-A725-423A-9420-B84AD09993DC@elvandar.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102241435.09011.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Thu, 24 Feb 2011 14:37:54 -0500 (EST) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=0.5 required=4.2 tests=BAYES_00,MAY_BE_FORGED, RDNS_DYNAMIC autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bigwig.baldwin.cx Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Remko Lodder , src-committers@freebsd.org, davidxu@freebsd.org Subject: Re: svn commit: r219003 - head/usr.bin/nice X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 19:37:55 -0000 On Thursday, February 24, 2011 2:03:33 pm Remko Lodder wrote: > > On Feb 24, 2011, at 7:47 PM, John Baldwin wrote: > > >> > > > > Are you sure that this statement applies to both ULE and 4BSD? The two > > schedulers treat nice values a bit differently. > > No I am not sure that the statement applies, given your response I understand > that both schedulers work differently. Can you or David tell me what the difference > is so that I can properly document it? I thought that the tool is doin the same for all > schedulers, but that the backend might treat it differently. In the case of ULE, ULE decides first if you are interactive or not. If a thread is interactive, nice is completely ignored. For non-interactive threads, ULE computes a priority based on how CPU hoggish the thread is. The nice value is then added to that priority. Thus, a nice value applied to a slightly hoggish process might still end up with a lower priority value (and thus "more" important) than a very hoggish process with a nice value of 0. In 4BSD it is somewhat similar in that when you sleep on a socket ('sbwait') or select, etc. in the kernel, the nice value is effectively ignored. 4BSD relies on the priority values passed to tsleep(), etc. to mark interactive processes whereas ULE uses its own set of heuristics. The effect though is that nice is also ignored for interactive processes under 4BSD and is then added to the resulting 'user priority' (which for 4BSD is always based on how CPU hoggish a process is). I think for 4BSD it might be true that certain nice values will never yield to certain other nice values, but I'm not sure that '0' and '19' are the right numbers there. -- John Baldwin From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 20:44:12 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 117FD10656A4; Thu, 24 Feb 2011 20:44:12 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F3C418FC16; Thu, 24 Feb 2011 20:44:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OKiBH3060279; Thu, 24 Feb 2011 20:44:11 GMT (envelope-from kensmith@svn.freebsd.org) Received: (from kensmith@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OKiBpB060277; Thu, 24 Feb 2011 20:44:11 GMT (envelope-from kensmith@svn.freebsd.org) Message-Id: <201102242044.p1OKiBpB060277@svn.freebsd.org> From: Ken Smith Date: Thu, 24 Feb 2011 20:44:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219009 - stable/8/sys/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 20:44:12 -0000 Author: kensmith Date: Thu Feb 24 20:44:11 2011 New Revision: 219009 URL: http://svn.freebsd.org/changeset/base/219009 Log: 8.2-RELEASE has been announced, shift to -STABLE. Modified: stable/8/sys/conf/newvers.sh Modified: stable/8/sys/conf/newvers.sh ============================================================================== --- stable/8/sys/conf/newvers.sh Thu Feb 24 19:22:59 2011 (r219008) +++ stable/8/sys/conf/newvers.sh Thu Feb 24 20:44:11 2011 (r219009) @@ -32,7 +32,7 @@ TYPE="FreeBSD" REVISION="8.2" -BRANCH="PRERELEASE" +BRANCH="STABLE" if [ "X${BRANCH_OVERRIDE}" != "X" ]; then BRANCH=${BRANCH_OVERRIDE} fi From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 21:18:02 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7922B106566C; Thu, 24 Feb 2011 21:18:02 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 0F1CC8FC1C; Thu, 24 Feb 2011 21:18:01 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 83B2645C89; Thu, 24 Feb 2011 22:17:59 +0100 (CET) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 9D7DF4569A; Thu, 24 Feb 2011 22:17:54 +0100 (CET) Date: Thu, 24 Feb 2011 22:17:34 +0100 From: Pawel Jakub Dawidek To: Remko Lodder Message-ID: <20110224211734.GB2453@garage.freebsd.pl> References: <201102241613.p1OGDXpM047076@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WfZ7S8PLGjBY9Voh" Content-Disposition: inline In-Reply-To: <201102241613.p1OGDXpM047076@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219003 - head/usr.bin/nice X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 21:18:02 -0000 --WfZ7S8PLGjBY9Voh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 24, 2011 at 04:13:33PM +0000, Remko Lodder wrote: > Author: remko > Date: Thu Feb 24 16:13:33 2011 > New Revision: 219003 > URL: http://svn.freebsd.org/changeset/base/219003 >=20 > Log: > Add wording about the priority range and > mention what effect this has at certain > values. > =20 > PR: 124469 > Obtained from: NetBSD nice.1 v1.14 > MFC after: 1 week [...] > @@ -107,6 +112,7 @@ option has been deprecated but is still=20 > .Xr rtprio 1 , > .Xr getpriority 2 , > .Xr setpriority 2 , > +.Xr nice 3, You need space before comma. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --WfZ7S8PLGjBY9Voh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk1myu0ACgkQForvXbEpPzSGSwCfer4G0dETvb/pv0lXmi4APaPw YDEAn31FOT1stFlVkq0/kjKHpbFUpr/R =i2GK -----END PGP SIGNATURE----- --WfZ7S8PLGjBY9Voh-- From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 21:19:31 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13A0C1065672; Thu, 24 Feb 2011 21:19:31 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 022F88FC1A; Thu, 24 Feb 2011 21:19:31 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OLJUGE061866; Thu, 24 Feb 2011 21:19:30 GMT (envelope-from kensmith@svn.freebsd.org) Received: (from kensmith@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OLJULc061864; Thu, 24 Feb 2011 21:19:30 GMT (envelope-from kensmith@svn.freebsd.org) Message-Id: <201102242119.p1OLJULc061864@svn.freebsd.org> From: Ken Smith Date: Thu, 24 Feb 2011 21:19:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219010 - stable/7/sys/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 21:19:31 -0000 Author: kensmith Date: Thu Feb 24 21:19:30 2011 New Revision: 219010 URL: http://svn.freebsd.org/changeset/base/219010 Log: 7.4-RELEASE has been announced, shift to -STABLE. Modified: stable/7/sys/conf/newvers.sh Modified: stable/7/sys/conf/newvers.sh ============================================================================== --- stable/7/sys/conf/newvers.sh Thu Feb 24 20:44:11 2011 (r219009) +++ stable/7/sys/conf/newvers.sh Thu Feb 24 21:19:30 2011 (r219010) @@ -32,7 +32,7 @@ TYPE="FreeBSD" REVISION="7.4" -BRANCH="PRERELEASE" +BRANCH="STABLE" if [ "X${BRANCH_OVERRIDE}" != "X" ]; then BRANCH=${BRANCH_OVERRIDE} fi From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 21:45:59 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 646F0106566C; Thu, 24 Feb 2011 21:45:59 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 387DE8FC1D; Thu, 24 Feb 2011 21:45:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OLjxEp063008; Thu, 24 Feb 2011 21:45:59 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OLjxd3063006; Thu, 24 Feb 2011 21:45:59 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102242145.p1OLjxd3063006@svn.freebsd.org> From: Dimitry Andric Date: Thu, 24 Feb 2011 21:45:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219011 - head/contrib/llvm/tools/clang/lib/Driver X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 21:45:59 -0000 Author: dim Date: Thu Feb 24 21:45:58 2011 New Revision: 219011 URL: http://svn.freebsd.org/changeset/base/219011 Log: Recently, in upstream clang, a fix was done to add -L/usr/lib to the arguments passed to ld, when linking. This was to appease configure scripts in several ports, that grep for such a -L option in "${CC} -v" output, to determine the startup objects passed to ld. Note ld itself does not need to be told about /usr/lib, since it has this path builtin anyway. However, if clang is built as a bootstrap tool during buildworld, it should not use *anything* outside ${WORLDTMP} to include or link with. The upstream fix to add -L/usr/lib breaks this assumption, and can thus cause libraries from /usr/lib to be linked in during buildworld. This can result in buildworld dying during linking of zinject, where it picks up the wrong copy of libzpool.so, eventually leading to: /usr/obj/usr/src/tmp/lib/libthr.so.3: undefined reference to `_rtld_get_stack_prot' Fix this issue by not adding any hardcoded paths, but by looping through the run-time library path list, which is already correctly set for the bootstrap phase. Reported by: datastream.freecity@gmail.com Pointy hat to: dim Modified: head/contrib/llvm/tools/clang/lib/Driver/Tools.cpp Modified: head/contrib/llvm/tools/clang/lib/Driver/Tools.cpp ============================================================================== --- head/contrib/llvm/tools/clang/lib/Driver/Tools.cpp Thu Feb 24 21:19:30 2011 (r219010) +++ head/contrib/llvm/tools/clang/lib/Driver/Tools.cpp Thu Feb 24 21:45:58 2011 (r219011) @@ -3206,7 +3206,12 @@ void freebsd::Link::ConstructJob(Compila } Args.AddAllArgs(CmdArgs, options::OPT_L); - CmdArgs.push_back("-L/usr/lib"); + + const ToolChain::path_list Paths = getToolChain().getFilePaths(); + for (ToolChain::path_list::const_iterator i = Paths.begin(), e = Paths.end(); + i != e; ++i) + CmdArgs.push_back(Args.MakeArgString(llvm::StringRef("-L") + *i)); + Args.AddAllArgs(CmdArgs, options::OPT_T_Group); Args.AddAllArgs(CmdArgs, options::OPT_e); Args.AddAllArgs(CmdArgs, options::OPT_s); @@ -3568,13 +3573,9 @@ void linuxtools::Link::ConstructJob(Comp Args.AddAllArgs(CmdArgs, options::OPT_L); const ToolChain::path_list Paths = ToolChain.getFilePaths(); - - for (ToolChain::path_list::const_iterator i = Paths.begin(), - e = Paths.end(); - i != e; ++i) { - const std::string &s = *i; - CmdArgs.push_back(Args.MakeArgString(std::string("-L") + s)); - } + for (ToolChain::path_list::const_iterator i = Paths.begin(), e = Paths.end(); + i != e; ++i) + CmdArgs.push_back(Args.MakeArgString(llvm::StringRef("-L") + *i)); AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs); From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 21:47:44 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4504F1065670; Thu, 24 Feb 2011 21:47:44 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail06.syd.optusnet.com.au (mail06.syd.optusnet.com.au [211.29.132.187]) by mx1.freebsd.org (Postfix) with ESMTP id BB54C8FC14; Thu, 24 Feb 2011 21:47:43 +0000 (UTC) Received: from c122-107-114-89.carlnfd1.nsw.optusnet.com.au (c122-107-114-89.carlnfd1.nsw.optusnet.com.au [122.107.114.89]) by mail06.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p1OLlLNX025736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Feb 2011 08:47:22 +1100 Date: Fri, 25 Feb 2011 08:47:21 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: John Baldwin In-Reply-To: <201102241435.09011.jhb@freebsd.org> Message-ID: <20110225070237.F983@besplex.bde.org> References: <201102241613.p1OGDXpM047076@svn.freebsd.org> <201102241347.39267.jhb@freebsd.org> <5965E5EC-A725-423A-9420-B84AD09993DC@elvandar.org> <201102241435.09011.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Remko Lodder , svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, davidxu@FreeBSD.org, svn-src-head@FreeBSD.org, Remko Lodder Subject: Re: svn commit: r219003 - head/usr.bin/nice X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 21:47:44 -0000 On Thu, 24 Feb 2011, John Baldwin wrote: > On Thursday, February 24, 2011 2:03:33 pm Remko Lodder wrote: >> [contex restored: +A priority of 19 or 20 will prevent a process from taking any cycles from +others at nice 0 or better.] >> On Feb 24, 2011, at 7:47 PM, John Baldwin wrote: >> >>> Are you sure that this statement applies to both ULE and 4BSD? The two >>> schedulers treat nice values a bit differently. >> >> No I am not sure that the statement applies, given your response I understand >> that both schedulers work differently. Can you or David tell me what the difference >> is so that I can properly document it? I thought that the tool is doin the same for all >> schedulers, but that the backend might treat it differently. I'm sure that testing would show that it doesn't apply in FreeBSD. It is supposed to apply only approximately in FreeBSD, but niceness handling in FreeBSD is quite broken so it doesn't apply at all. Also, the magic numbers of 19 and 20 probably don't apply in FreeBSD. These were because there nicenesses that are the same mod 2 (maybe after adding 1) have the same effect, since priorities that are the same mode RQ_PPQ = 4 have the same effect and the niceness space was scaled to the priority space by multiplying by NICE_WEIGHT = 2. But NICE_WEIGHT has been broken to be 1 in FreeBSD with SCHED_4BSD and doesn't apply with SCHED_ULE. With SCHED_4BSD, there are 4 (not 2) nice values near 20 that give the same behaviour. It strictly only applies to broken schedulers. Preventing a process from taking *any* cycles gives priority inversion livelock. FreeBSD has priority propagation to prevent this. > In the case of ULE, ULE decides first if you are interactive or not. If a > thread is interactive, nice is completely ignored. For non-interactive > threads, ULE computes a priority based on how CPU hoggish the thread is. > The nice value is then added to that priority. Thus, a nice value applied > to a slightly hoggish process might still end up with a lower priority value > (and thus "more" important) than a very hoggish process with a nice value of > 0. I don't know much about ULE, but it never worked right for me, especially for my tests of niceness. > In 4BSD it is somewhat similar in that when you sleep on a socket ('sbwait') > or select, etc. in the kernel, the nice value is effectively ignored. 4BSD > relies on the priority values passed to tsleep(), etc. to mark interactive > processes whereas ULE uses its own set of heuristics. The effect though is > that nice is also ignored for interactive processes under 4BSD and is then > added to the resulting 'user priority' (which for 4BSD is always based on > how CPU hoggish a process is). I think for 4BSD it might be true that certain > nice values will never yield to certain other nice values, but I'm not sure > that '0' and '19' are the right numbers there. Niceness isn't really ignored for interactive processes, since to obtain the priority boost on waking up after blocking they need to actually run enough to block, and large differences in niceness tend to prevent this. It should be large differences in niceness and not just the difference between 0 and 19 or 20 that prevent the lower priority process running (except via priority propagation and boosts). In FreeBSD-4 or FreeBSD-3. I imported fixes from NetBSD which among other things made niceness sort of work. There was still a large problem with clamping of the hoggishness variable (p_estcpu is clamped by ESTCPULIM()). This gives nonlinearities in the scaling from hoggishness to priority. NetBSD had the same problem. There was a relatively small problem with congestion in priority space combined with the limit on hoggishness causing the mapping from niceness space to priority space not being quite right to give the desired separation between events of different niceness. The mapping used NICE_WEIGHT = 2 to expand from niceness space to priority space. NetBSD apparently still uses this, since this is what makes the magic numbers of 19 and 20 have the same behaviour -- priority space has buckets of size RQ_PPQ = 4, with priorities that are the same mod RQ_PPQ making little difference to scheduling; we would like to expand niceness by NICE_WEIGHT = RQ_PPQ so that different values of niceness actually have an effect, but priority space was too congested to allow this, so we settled for NICE_WEIGHT = 2. RQ_PPQ / NICE_WEIGHT was then 2, so it took differences in niceness of 2 to have an effect. Apparently there is a bias of 1, so that it is nicenesses of 19 and 20 and not 18 and 19 which end up in the same priority bucket. The problem with congestion became relatively large in FreeBSD-5 and is still large. The priority space became more congested so as to fit interrupt threads and rtprio threads in the same space (rtprio threads used to use separate queues, and priorities didn't apply to them in the normal way). This more than doubled the congestion. It takes 2*32 slots for rtprio and about 64 for ithreads. PZERO only changed from 22 to 84 (which I think was not enough and is related to rtprio priorities not being mapped very well, which was recently improved by you (jhb)), but PUSER changed from 50 to 160. The nice space of size 41 (-20 to +20) must now be mapped to the user priority space of size 96 (160 to 255) where it was mapped to a space of size 206 (50 to 255). Expansion by a factor of 4 is even more impossible than before (4*41 would fit in 206, but would leave insufficient space for normal operation without niceness). NICE_WEIGHT was reduced to 1 so as to fit. This reduced the dynamic range of the effect of niceness significanlty. It now takes a niceness difference of 20 to get the same effect as a niceness difference of 10 did in FreeBSD-4 and presumably still does in NetBSD. Apart from small differences in niceness not having enough effect to be very useful, there is no way to reach a %CPU difference of 1:infinity for a niceness difference of a mere 20. I think "nice 20" didn't give anywhere near this ratio even in FreeBSD-4. Now it is further away from giving this. If we really want a ration of 1:infinity, this could be implemented by special handling of niceness values near 20, but the nonlinearity gets in the way of this and FreeBSD never had any special handling. In my version of SCHED_4BSD, the relative effects of niceness are according to a table. I normally use a geometric scale: static int niceweights[PRIO_MAX - PRIO_MIN + 1] = { #if 1 /* * Geometric niceness. The weight at index i is * floor(2 * 3 * pow(2.0, i / 4.0) + 0.5). */ 6, 7, 8, 10, 12, 14, 17, 20, 24, 29, 34, 40, 48, 57, 68, 81, 96, 114, 136, 161, 192, 228, 272, 323, 384, 457, 543, 646, 768, 913, 1086, 1292, 1536, 1827, 2172, 2583, 3072, 3653, 4344, 5166, 6144, #else /* * Arithmetic niceness. The weight at index i is * 2 * 2 * 2 * 3 * 3 * 5 * 7 / (40 - i) * (except the one at index 40 is an approximation for infinity). */ 63, 64, 66, 68, 70, 72, 74, 76, 78, 81, 84, 86, 90, 93, 96, 100, 105, 109, 114, 120, 126, 132, 140, 148, 157, 168, 180, 193, 210, 229, 252, 280, 315, 360, 420, 504, 630, 840, 1260, 2520, 20000, #endif }; So with 1 process at nice 20 and another at nice 0, the %CPU ration is 192:6144 = 1:32 with geometric niceness. A ratio actually achieved was 144:4471 ~= 1:31: % last pid: 1228; load averages: 2.00, 2.00, 1.93 up 0+01:46:56 08:37:31 % 32 processes: 3 running, 29 sleeping % CPU: 96.5% user, 3.1% nice, 0.0% system, 0.4% interrupt, 0.0% idle % Mem: 28M Active, 21M Inact, 54M Wired, 16K Cache, 58M Buf, 899M Free % Swap: % % PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND % 1030 root 1 122 0 856K 572K RUN 74:31 95.02% sh % 1031 root 1 126 20 856K 572K RUN 2:24 2.05% sh This is implemented mainly by incrementing td_estcpu by niceweights[... ->p_nice - PRI_MIN] instead of by 1 (or 0 after clamping) in sched_clock(). Clamping and its nonlinearity are also avoided/fixed. td_estcpu can grow very large and must be scaled to a priority according to its maximum across all threads instead of according to the buggy maximum given by clamping. No one cares about this since then never use niceness :-). Niceness is even less useful on multi-CPU systems. Bruce From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 22:11:37 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54CB71065672; Thu, 24 Feb 2011 22:11:37 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 43EA88FC1C; Thu, 24 Feb 2011 22:11:37 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OMBbfd064074; Thu, 24 Feb 2011 22:11:37 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OMBbx9064072; Thu, 24 Feb 2011 22:11:37 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201102242211.p1OMBbx9064072@svn.freebsd.org> From: John Baldwin Date: Thu, 24 Feb 2011 22:11:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219012 - head/sys/fs/ext2fs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 22:11:37 -0000 Author: jhb Date: Thu Feb 24 22:11:36 2011 New Revision: 219012 URL: http://svn.freebsd.org/changeset/base/219012 Log: Use ffs() to locate free bits in the inode and block bitmaps rather than loops with bit shifts. Modified: head/sys/fs/ext2fs/ext2_alloc.c Modified: head/sys/fs/ext2fs/ext2_alloc.c ============================================================================== --- head/sys/fs/ext2fs/ext2_alloc.c Thu Feb 24 21:45:58 2011 (r219011) +++ head/sys/fs/ext2fs/ext2_alloc.c Thu Feb 24 22:11:36 2011 (r219012) @@ -815,16 +815,12 @@ ext2_nodealloccg(struct inode *ip, int c } } i = start + len - loc; - map = ibp[i]; - ipref = i * NBBY; - for (i = 1; i < (1 << NBBY); i <<= 1, ipref++) { - if ((map & i) == 0) { - goto gotit; - } + map = ibp[i] ^ 0xff; + if (map == 0) { + printf("fs = %s\n", fs->e2fs_fsmnt); + panic("ext2fs_nodealloccg: block not in map"); } - printf("fs = %s\n", fs->e2fs_fsmnt); - panic("ext2fs_nodealloccg: block not in map"); - /* NOTREACHED */ + ipref = i * NBBY + ffs(map) - 1; gotit: setbit(ibp, ipref); EXT2_LOCK(ump); @@ -952,7 +948,6 @@ ext2_vfree(pvp, ino, mode) static daddr_t ext2_mapsearch(struct m_ext2fs *fs, char *bbp, daddr_t bpref) { - daddr_t bno; int start, len, loc, i, map; /* @@ -977,15 +972,12 @@ ext2_mapsearch(struct m_ext2fs *fs, char } } i = start + len - loc; - map = bbp[i]; - bno = i * NBBY; - for (i = 1; i < (1 << NBBY); i <<= 1, bno++) { - if ((map & i) == 0) - return (bno); - } - printf("fs = %s\n", fs->e2fs_fsmnt); - panic("ext2fs_mapsearch: block not in map"); - /* NOTREACHED */ + map = bbp[i] ^ 0xff; + if (map == 0) { + printf("fs = %s\n", fs->e2fs_fsmnt); + panic("ext2fs_mapsearch: block not in map"); + } + return (i * NBBY + ffs(map) - 1); } /* From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 22:23:01 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DD37106566B; Thu, 24 Feb 2011 22:23:01 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail04.syd.optusnet.com.au (mail04.syd.optusnet.com.au [211.29.132.185]) by mx1.freebsd.org (Postfix) with ESMTP id E57CE8FC2A; Thu, 24 Feb 2011 22:23:00 +0000 (UTC) Received: from c122-107-114-89.carlnfd1.nsw.optusnet.com.au (c122-107-114-89.carlnfd1.nsw.optusnet.com.au [122.107.114.89]) by mail04.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p1OMMcHJ013652 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Feb 2011 09:22:39 +1100 Date: Fri, 25 Feb 2011 09:22:38 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Bruce Evans In-Reply-To: <20110225070237.F983@besplex.bde.org> Message-ID: <20110225085508.O1276@besplex.bde.org> References: <201102241613.p1OGDXpM047076@svn.freebsd.org> <201102241347.39267.jhb@freebsd.org> <5965E5EC-A725-423A-9420-B84AD09993DC@elvandar.org> <201102241435.09011.jhb@freebsd.org> <20110225070237.F983@besplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Remko Lodder , John Baldwin , svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, davidxu@FreeBSD.org, svn-src-head@FreeBSD.org, Remko Lodder Subject: Re: svn commit: r219003 - head/usr.bin/nice X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 22:23:01 -0000 On Fri, 25 Feb 2011, Bruce Evans wrote: > On Thu, 24 Feb 2011, John Baldwin wrote: > >> On Thursday, February 24, 2011 2:03:33 pm Remko Lodder wrote: >>> > [contex restored: > +A priority of 19 or 20 will prevent a process from taking any cycles from > +others at nice 0 or better.] > >>> On Feb 24, 2011, at 7:47 PM, John Baldwin wrote: >>> >>>> Are you sure that this statement applies to both ULE and 4BSD? The two >>>> schedulers treat nice values a bit differently. >>> >>> No I am not sure that the statement applies, given your response I >>> understand >>> that both schedulers work differently. Can you or David tell me what the >>> difference >>> is so that I can properly document it? I thought that the tool is doin the >>> same for all >>> schedulers, but that the backend might treat it differently. > > I'm sure that testing would show that it doesn't apply in FreeBSD. It is > supposed to apply only approximately in FreeBSD, but niceness handling in > FreeBSD is quite broken so it doesn't apply at all. Also, the magic numbers > of 19 and 20 probably don't apply in FreeBSD. These were because there > nicenesses that are the same mod 2 (maybe after adding 1) have the same > effect, since priorities that are the same mode RQ_PPQ = 4 have the same > effect and the niceness space was scaled to the priority space by > multiplying by NICE_WEIGHT = 2. But NICE_WEIGHT has been broken to be 1 > in FreeBSD with SCHED_4BSD and doesn't apply with SCHED_ULE. With > SCHED_4BSD, there are 4 (not 2) nice values near 20 that give the same > behaviour. > > It strictly only applies to broken schedulers. Preventing a process > from taking *any* cycles gives priority inversion livelock. FreeBSD > has priority propagation to prevent this. Just tried it with SCHED_4BSD. On a multi-CPU system (ref9-i386), but I think I used cpuset correctly to emulate 1 CPU. % last pid: 85392; load averages: 1.71, 0.86, 0.38 up 94+01:00:36 21:55:59 % 66 processes: 3 running, 63 sleeping % CPU: 6.9% user, 3.7% nice, 2.0% system, 0.0% interrupt, 87.3% idle % Mem: 268M Active, 4969M Inact, 310M Wired, 50M Cache, 112M Buf, 2413M Free % Swap: 8192M Total, 580K Used, 8191M Free % % PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND % [... system is not nearly idle, but plenty of CPUs to spare] % 85368 bde 1 111 0 9892K 1312K RUN 1 1:07 65.67% sh % 85369 bde 1 123 20 9892K 1312K CPU1 1 0:35 37.89% sh This shows the bogus 1:2 ratio even for a niceness difference of 20. I've seen too much of this ratio. IIRC, before FreeBSD-4 was fixed, the various nonlinearities caused by not even clamping, combined with the broken scaling, gave a ratio of about this. Then FreeBSD-5 restored a similarly bogus ratio. Apparently, the algorithm for decaying p_estcpu in SCHED_4BSD tends to generate this ratio. SCHED_ULE uses a completely different algorithm and I think it has more control over the scaling, so it is surprising that it duplicates this brokenness so perfectly. And here is what it does with more nice values: this was generated by: % for i in 0 2 4 6 8 10 12 14 16 18 20 % do % cpuset -l 1 nice -$i sh -c "while :; do echo -n;done" & % done % top -o time % last pid: 85649; load averages: 10.99, 9.06, 5.35 up 94+01:19:33 22:14:56 % 74 processes: 12 running, 62 sleeping % % Mem: 270M Active, 4969M Inact, 310M Wired, 50M Cache, 112M Buf, 2411M Free % Swap: 8192M Total, 580K Used, 8191M Free % % % PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND % 85581 bde 1 98 0 9892K 1312K RUN 1 0:48 11.47% sh % 85582 bde 1 100 2 9892K 1312K RUN 1 0:45 10.69% sh % 85583 bde 1 102 4 9892K 1312K RUN 1 0:42 10.35% sh % 85584 bde 1 104 6 9892K 1312K CPU1 1 0:40 9.47% sh % 85585 bde 1 106 8 9892K 1312K RUN 1 0:38 8.79% sh % 85586 bde 1 108 10 9892K 1312K RUN 1 0:36 8.06% sh % 85587 bde 1 110 12 9892K 1312K RUN 1 0:34 8.40% sh % 85588 bde 1 111 14 9892K 1312K RUN 1 0:33 8.50% sh % 85589 bde 1 113 16 9892K 1312K RUN 1 0:31 7.67% sh % 85590 bde 1 115 18 9892K 1312K RUN 1 0:30 7.28% sh % 85591 bde 1 117 20 9892K 1312K RUN 1 0:29 6.69% sh This is OK except for the far-too-small dynamic range of 29:48 (even worse than 1:2). My version spaces out things nicely according to its table: % last pid: 1374; load averages: 11.02, 8.74, 4.93 up 0+02:26:12 09:16:47 % 43 processes: 12 running, 31 sleeping % CPU: 14.0% user, 85.7% nice, 0.0% system, 0.4% interrupt, 0.0% idle % Mem: 35M Active, 23M Inact, 67M Wired, 24K Cache, 61M Buf, 876M Free % Swap: % % PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND % 1325 root 1 120 0 856K 572K RUN 2:18 28.52% sh % 1326 root 1 120 2 856K 572K RUN 1:39 19.97% sh % 1327 root 1 120 4 856K 572K RUN 1:10 13.96% sh % 1328 root 1 120 6 856K 572K RUN 0:50 9.72% sh % 1329 root 1 123 8 856K 572K RUN 0:36 7.18% sh % 1330 root 1 123 10 856K 572K RUN 0:25 5.03% sh % 1331 root 1 124 12 856K 572K RUN 0:18 2.93% sh % 1332 root 1 124 14 856K 572K RUN 0:13 1.86% sh % 1333 root 1 124 16 856K 572K RUN 0:09 0.98% sh % 1334 root 1 124 18 856K 572K RUN 0:06 1.07% sh % 1335 root 1 123 20 856K 572K RUN 0:05 0.15% sh The dynamic range here is 5:138. Not as close to the table's 1:32 as I would like. Bruce From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 22:36:41 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AE65106564A; Thu, 24 Feb 2011 22:36:41 +0000 (UTC) (envelope-from tuexen@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 297F88FC16; Thu, 24 Feb 2011 22:36:41 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OMafYx065131; Thu, 24 Feb 2011 22:36:41 GMT (envelope-from tuexen@svn.freebsd.org) Received: (from tuexen@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OMafSo065127; Thu, 24 Feb 2011 22:36:41 GMT (envelope-from tuexen@svn.freebsd.org) Message-Id: <201102242236.p1OMafSo065127@svn.freebsd.org> From: Michael Tuexen Date: Thu, 24 Feb 2011 22:36:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219013 - head/sys/netinet X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 22:36:41 -0000 Author: tuexen Date: Thu Feb 24 22:36:40 2011 New Revision: 219013 URL: http://svn.freebsd.org/changeset/base/219013 Log: * Cleanup the code computing the retransmission timeout. * Fix an initialization bug for the scaled variance of the RTO. MFC after: 3 months. Modified: head/sys/netinet/sctp_structs.h head/sys/netinet/sctp_sysctl.c head/sys/netinet/sctputil.c Modified: head/sys/netinet/sctp_structs.h ============================================================================== --- head/sys/netinet/sctp_structs.h Thu Feb 24 22:11:36 2011 (r219012) +++ head/sys/netinet/sctp_structs.h Thu Feb 24 22:36:40 2011 (r219013) @@ -245,7 +245,7 @@ struct sctp_nets { /* smoothed average things for RTT and RTO itself */ int lastsa; int lastsv; - int rtt; /* last measured rtt value in ms */ + uint64_t rtt; /* last measured rtt value in us */ unsigned int RTO; /* This is used for SHUTDOWN/SHUTDOWN-ACK/SEND or INIT timers */ @@ -254,6 +254,10 @@ struct sctp_nets { /* last time in seconds I sent to it */ struct timeval last_sent_time; + + /* JRS - struct used in HTCP algorithm */ + struct htcp htcp_ca; + int ref_count; /* Congestion stats per destination */ @@ -267,7 +271,6 @@ struct sctp_nets { uint32_t ecn_prev_cwnd; /* ECN prev cwnd at first ecn_echo seen in new * window */ uint32_t partial_bytes_acked; /* in CA tracks when to incr a MTU */ - uint32_t prev_rtt; /* tracking variables to avoid the aloc/free in sack processing */ unsigned int net_ack; unsigned int net_ack2; @@ -298,7 +301,6 @@ struct sctp_nets { uint32_t tos_flowlabel; struct timeval start_time; /* time when this net was created */ - struct timeval last_measured_rtt; uint32_t marked_retrans;/* number or DATA chunks marked for timer * based retransmissions */ uint32_t marked_fastretrans; @@ -348,8 +350,6 @@ struct sctp_nets { uint8_t RTO_measured; /* Have we done the first measure */ uint8_t last_hs_used; /* index into the last HS table entry we used */ uint8_t lan_type; - /* JRS - struct used in HTCP algorithm */ - struct htcp htcp_ca; uint32_t flowid; #ifdef INVARIANTS uint8_t flowidset; Modified: head/sys/netinet/sctp_sysctl.c ============================================================================== --- head/sys/netinet/sctp_sysctl.c Thu Feb 24 22:11:36 2011 (r219012) +++ head/sys/netinet/sctp_sysctl.c Thu Feb 24 22:36:40 2011 (r219013) @@ -477,7 +477,7 @@ sctp_assoclist(SYSCTL_HANDLER_ARGS) xraddr.cwnd = net->cwnd; xraddr.flight_size = net->flight_size; xraddr.mtu = net->mtu; - xraddr.rtt = net->rtt; + xraddr.rtt = net->rtt / 1000; xraddr.start_time.tv_sec = (uint32_t) net->start_time.tv_sec; xraddr.start_time.tv_usec = (uint32_t) net->start_time.tv_usec; SCTP_INP_RUNLOCK(inp); Modified: head/sys/netinet/sctputil.c ============================================================================== --- head/sys/netinet/sctputil.c Thu Feb 24 22:11:36 2011 (r219012) +++ head/sys/netinet/sctputil.c Thu Feb 24 22:36:40 2011 (r219013) @@ -113,7 +113,7 @@ rto_logging(struct sctp_nets *net, int f memset(&sctp_clog, 0, sizeof(sctp_clog)); sctp_clog.x.rto.net = (void *)net; - sctp_clog.x.rto.rtt = net->prev_rtt; + sctp_clog.x.rto.rtt = net->rtt / 1000; SCTP_CTR6(KTR_SCTP, "SCTP:%d[%d]:%x-%x-%x-%x", SCTP_LOG_EVENT_RTT, from, @@ -2475,9 +2475,8 @@ sctp_calculate_rto(struct sctp_tcb *stcb * given an association and the starting time of the current RTT * period (in value1/value2) return RTO in number of msecs. */ - int calc_time = 0; - int o_calctime; - uint32_t new_rto = 0; + int32_t rtt; /* RTT in ms */ + uint32_t new_rto; int first_measure = 0; struct timeval now, then, *old; @@ -2497,95 +2496,58 @@ sctp_calculate_rto(struct sctp_tcb *stcb /************************/ /* get the current time */ (void)SCTP_GETTIME_TIMEVAL(&now); - /* - * Record the real time of the last RTT for use in DC-CC. - */ - net->last_measured_rtt = now; - timevalsub(&net->last_measured_rtt, old); + timevalsub(&now, old); + /* store the current RTT in us */ + net->rtt = (uint64_t) 10000000 *(uint64_t) now.tv_sec + + (uint64_t) now.tv_usec; + + /* computer rtt in ms */ + rtt = net->rtt / 1000; /* Do we need to determine the lan type? */ - if ((local_lan_determine == SCTP_DETERMINE_LL_OK) && (net->lan_type == SCTP_LAN_UNKNOWN)) { - if ((net->last_measured_rtt.tv_sec) || - (net->last_measured_rtt.tv_usec > SCTP_LOCAL_LAN_RTT)) { + if ((local_lan_determine == SCTP_DETERMINE_LL_OK) && + (net->lan_type == SCTP_LAN_UNKNOWN)) { + if (net->rtt > SCTP_LOCAL_LAN_RTT) { net->lan_type = SCTP_LAN_INTERNET; } else { net->lan_type = SCTP_LAN_LOCAL; } } - /* compute the RTT value */ - if ((u_long)now.tv_sec > (u_long)old->tv_sec) { - calc_time = ((u_long)now.tv_sec - (u_long)old->tv_sec) * 1000; - if ((u_long)now.tv_usec > (u_long)old->tv_usec) { - calc_time += (((u_long)now.tv_usec - - (u_long)old->tv_usec) / 1000); - } else if ((u_long)now.tv_usec < (u_long)old->tv_usec) { - /* Borrow 1,000ms from current calculation */ - calc_time -= 1000; - /* Add in the slop over */ - calc_time += ((int)now.tv_usec / 1000); - /* Add in the pre-second ms's */ - calc_time += (((int)1000000 - (int)old->tv_usec) / 1000); - } - } else if ((u_long)now.tv_sec == (u_long)old->tv_sec) { - if ((u_long)now.tv_usec > (u_long)old->tv_usec) { - calc_time = ((u_long)now.tv_usec - - (u_long)old->tv_usec) / 1000; - } else if ((u_long)now.tv_usec < (u_long)old->tv_usec) { - /* impossible .. garbage in nothing out */ - goto calc_rto; - } else if ((u_long)now.tv_usec == (u_long)old->tv_usec) { - /* - * We have to have 1 usec :-D this must be the - * loopback. - */ - calc_time = 1; - } else { - /* impossible .. garbage in nothing out */ - goto calc_rto; - } - } else { - /* Clock wrapped? */ - goto calc_rto; - } /***************************/ /* 2. update RTTVAR & SRTT */ /***************************/ - net->rtt = o_calctime = calc_time; - /* this is Van Jacobson's integer version */ + /*- + * Compute the scaled average lastsa and the + * scaled variance lastsv as described in van Jacobson + * Paper "Congestion Avoidance and Control", Annex A. + * + * (net->lastsa >> SCTP_RTT_SHIFT) is the srtt + * (net->lastsa >> SCTP_RTT_VAR_SHIFT) is the rttvar + */ if (net->RTO_measured) { - calc_time -= (net->lastsa >> SCTP_RTT_SHIFT); /* take away 1/8th when - * shift=3 */ + rtt -= (net->lastsa >> SCTP_RTT_SHIFT); + net->lastsa += rtt; + if (rtt < 0) { + rtt = -rtt; + } + rtt -= (net->lastsv >> SCTP_RTT_VAR_SHIFT); + net->lastsv += rtt; if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_RTTVAR_LOGGING_ENABLE) { rto_logging(net, SCTP_LOG_RTTVAR); } - net->prev_rtt = o_calctime; - net->lastsa += calc_time; /* add 7/8th into sa when - * shift=3 */ - if (calc_time < 0) { - calc_time = -calc_time; - } - calc_time -= (net->lastsv >> SCTP_RTT_VAR_SHIFT); /* take away 1/4 when - * VAR shift=2 */ - net->lastsv += calc_time; - if (net->lastsv == 0) { - net->lastsv = SCTP_CLOCK_GRANULARITY; - } } else { /* First RTO measurment */ net->RTO_measured = 1; - net->lastsa = calc_time << SCTP_RTT_SHIFT; /* Multiply by 8 when - * shift=3 */ - net->lastsv = calc_time; - if (net->lastsv == 0) { - net->lastsv = SCTP_CLOCK_GRANULARITY; - } first_measure = 1; - net->prev_rtt = o_calctime; + net->lastsa = rtt << SCTP_RTT_SHIFT; + net->lastsv = (rtt / 2) << SCTP_RTT_VAR_SHIFT; if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_RTTVAR_LOGGING_ENABLE) { rto_logging(net, SCTP_LOG_INITIAL_RTT); } } -calc_rto: + if (net->lastsv == 0) { + net->lastsv = SCTP_CLOCK_GRANULARITY; + } new_rto = (net->lastsa >> SCTP_RTT_SHIFT) + net->lastsv; if ((new_rto > SCTP_SAT_NETWORK_MIN) && (stcb->asoc.sat_network_lockout == 0)) { From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 22:43:22 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 584D71065695; Thu, 24 Feb 2011 22:43:22 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (cl-414.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:19d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0327A8FC28; Thu, 24 Feb 2011 22:43:22 +0000 (UTC) Received: from orion.SpringDaemons.com (207.47.0.2.static.nextweb.net [207.47.0.2]) by mx0.deglitch.com (Postfix) with ESMTPA id B70668FC2B; Fri, 25 Feb 2011 01:43:19 +0300 (MSK) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id D59E35C38; Thu, 24 Feb 2011 14:43:08 -0800 (PST) Date: Thu, 24 Feb 2011 14:43:03 -0800 From: Stanislav Sedov To: Martin Wilke Message-Id: <20110224144303.baa6e809.stas@FreeBSD.org> In-Reply-To: <201102220513.p1M5DRrQ095042@svn.freebsd.org> References: <201102220513.p1M5DRrQ095042@svn.freebsd.org> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__24_Feb_2011_14_43_03_-0800_dtov=Sjx6vLZY5XL" Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, rwatson@FreeBSD.org Subject: Re: svn commit: r218938 - head/tools/regression/aio/kqueue X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 22:43:22 -0000 --Signature=_Thu__24_Feb_2011_14_43_03_-0800_dtov=Sjx6vLZY5XL Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 22 Feb 2011 05:13:27 +0000 (UTC) Martin Wilke mentioned: > Author: miwi > Date: Tue Feb 22 05:13:26 2011 > New Revision: 218938 > URL: http://svn.freebsd.org/changeset/base/218938 >=20 > Log: > - Fix QA issues > =20 What kind these QA issues are of? Also, style(9) does not encourage extra bland lines for now reason. --=20 Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail=20 /\ www.asciiribbon.org - against proprietary attachments --Signature=_Thu__24_Feb_2011_14_43_03_-0800_dtov=Sjx6vLZY5XL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJNZt78AAoJEL8lojEJL9nwAPcP+gK53J9CWq1dKEYeeBWGSzFB T17RVIzF+DnEZ/USwQTG2NWfadgwzbs3BFtYa7gF1eyV5H8J5lEblJABNk2hxN8G Ft2YiqH3kKS0kAep6H3o3VJHQcEXUi2ViqbLSmbZUIlvhPIxcb3P+uB0s26s7JHm VMNiibKrArm3Pu6hVOxpBAW5TrGUXjBdHnpT76qb5O4r2CCCN4pgT/HXd6+LJfuH 0xUTYr7ytc7BddfhIWaiFE3bBkRv2q2z7JYiLJm2pGerh6J0lr25Uz03/I7G+iMp v18WspfnQI2Uvvq8uXl6AEJ4yHeyBg087V9RTizAY8rCBfgMOANKsHmdbyn1QOMG bhitPEZeK77arKUa8lirJDtcui7wOesK6Wbrd144YC+GcAdiGk3u2L85vG41UiMd 0N8Ua3j3z4Dg5K9F6luj5QCY9UEonqTbZteOtTfIl5UPa/vvHw0llj2LBBURMkGR 5RNZuzFOTdVME6t5NKBGxmCJv8Tc0Rr2FVQp2fGm+tK264xzvFbvnA+aS1VOJLRV Tx+wzfil+CZJ+XvNb4V2Z+OM3hW+3BV4vxXOSouzIFyORQCPJw2bPSCEX99oleU/ kr5G7lPgUfyfPnt808//fL+6tbPLwjMfsz+ZEGJ5DHhV4ekblxIxW1QeHSI7r+b5 XK2+Wb0S/IYHCjdskgro =cR4K -----END PGP SIGNATURE----- --Signature=_Thu__24_Feb_2011_14_43_03_-0800_dtov=Sjx6vLZY5XL-- From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 22:58:16 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DB181065672; Thu, 24 Feb 2011 22:58:16 +0000 (UTC) (envelope-from tuexen@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5C6AF8FC12; Thu, 24 Feb 2011 22:58:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OMwGUH066150; Thu, 24 Feb 2011 22:58:16 GMT (envelope-from tuexen@svn.freebsd.org) Received: (from tuexen@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OMwGmE066146; Thu, 24 Feb 2011 22:58:16 GMT (envelope-from tuexen@svn.freebsd.org) Message-Id: <201102242258.p1OMwGmE066146@svn.freebsd.org> From: Michael Tuexen Date: Thu, 24 Feb 2011 22:58:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219014 - head/sys/netinet X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 22:58:16 -0000 Author: tuexen Date: Thu Feb 24 22:58:15 2011 New Revision: 219014 URL: http://svn.freebsd.org/changeset/base/219014 Log: * Fix several bugs where the scaled versions of srtt and rttvar where used incorrectly. * Use appropriate variable names for RTO instead of RTT. MFC after: 3 months. Modified: head/sys/netinet/sctp_cc_functions.c head/sys/netinet/sctp_timer.c head/sys/netinet/sctp_usrreq.c Modified: head/sys/netinet/sctp_cc_functions.c ============================================================================== --- head/sys/netinet/sctp_cc_functions.c Thu Feb 24 22:36:40 2011 (r219013) +++ head/sys/netinet/sctp_cc_functions.c Thu Feb 24 22:58:15 2011 (r219014) @@ -428,7 +428,7 @@ skip_cwnd_update: */ if (net->net_ack2) { /* restore any doubled timers */ - net->RTO = ((net->lastsa >> 2) + net->lastsv) >> 1; + net->RTO = (net->lastsa >> SCTP_RTT_SHIFT) + net->lastsv; if (net->RTO < stcb->asoc.minrto) { net->RTO = stcb->asoc.minrto; } @@ -518,8 +518,8 @@ sctp_cwnd_update_after_packet_dropped(st unsigned int incr; int old_cwnd = net->cwnd; - /* need real RTT for this calc */ - rtt = ((net->lastsa >> 2) + net->lastsv) >> 1; + /* need real RTT in msd for this calc */ + rtt = net->rtt / 1000; /* get bottle neck bw */ *bottle_bw = ntohl(cp->bottle_bw); /* and whats on queue */ @@ -1079,7 +1079,7 @@ skip_cwnd_update: */ if (net->net_ack2) { /* restore any doubled timers */ - net->RTO = ((net->lastsa >> 2) + net->lastsv) >> 1; + net->RTO = (net->lastsa >> SCTP_RTT_SHIFT) + net->lastsv; if (net->RTO < stcb->asoc.minrto) { net->RTO = stcb->asoc.minrto; } @@ -1146,7 +1146,7 @@ htcp_cwnd_undo(struct sctp_tcb *stcb, st static inline void measure_rtt(struct sctp_tcb *stcb, struct sctp_nets *net) { - uint32_t srtt = net->lastsa >> 3; + uint32_t srtt = net->lastsa >> SCTP_RTT_SHIFT; /* keep track of minimum RTT seen so far, minRTT is zero at first */ if (net->htcp_ca.minRTT > srtt || !net->htcp_ca.minRTT) @@ -1532,7 +1532,7 @@ skip_cwnd_update: */ if (net->net_ack2) { /* restore any doubled timers */ - net->RTO = ((net->lastsa >> 2) + net->lastsv) >> 1; + net->RTO = (net->lastsa >> SCTP_RTT_SHIFT) + net->lastsv; if (net->RTO < stcb->asoc.minrto) { net->RTO = stcb->asoc.minrto; } Modified: head/sys/netinet/sctp_timer.c ============================================================================== --- head/sys/netinet/sctp_timer.c Thu Feb 24 22:36:40 2011 (r219013) +++ head/sys/netinet/sctp_timer.c Thu Feb 24 22:58:15 2011 (r219014) @@ -61,24 +61,24 @@ sctp_early_fr_timer(struct sctp_inpcb *i { struct sctp_tmit_chunk *chk, *pchk; struct timeval now, min_wait, tv; - unsigned int cur_rtt, cnt = 0, cnt_resend = 0; + unsigned int cur_rto, cnt = 0, cnt_resend = 0; /* an early FR is occuring. */ (void)SCTP_GETTIME_TIMEVAL(&now); /* get cur rto in micro-seconds */ if (net->lastsa == 0) { /* Hmm no rtt estimate yet? */ - cur_rtt = stcb->asoc.initial_rto >> 2; + cur_rto = stcb->asoc.initial_rto >> 2; } else { - cur_rtt = ((net->lastsa >> 2) + net->lastsv) >> 1; + cur_rto = (net->lastsa >> SCTP_RTT_SHIFT) + net->lastsv; } - if (cur_rtt < SCTP_BASE_SYSCTL(sctp_early_fr_msec)) { - cur_rtt = SCTP_BASE_SYSCTL(sctp_early_fr_msec); + if (cur_rto < SCTP_BASE_SYSCTL(sctp_early_fr_msec)) { + cur_rto = SCTP_BASE_SYSCTL(sctp_early_fr_msec); } - cur_rtt *= 1000; - tv.tv_sec = cur_rtt / 1000000; - tv.tv_usec = cur_rtt % 1000000; + cur_rto *= 1000; + tv.tv_sec = cur_rto / 1000000; + tv.tv_usec = cur_rto % 1000000; min_wait = now; timevalsub(&min_wait, &tv); if (min_wait.tv_sec < 0 || min_wait.tv_usec < 0) { @@ -626,7 +626,7 @@ sctp_mark_all_for_resend(struct sctp_tcb struct sctp_tmit_chunk *chk, *nchk; struct sctp_nets *lnets; struct timeval now, min_wait, tv; - int cur_rtt; + int cur_rto; int cnt_abandoned; int audit_tf, num_mk, fir; unsigned int cnt_mk; @@ -644,10 +644,10 @@ sctp_mark_all_for_resend(struct sctp_tcb */ (void)SCTP_GETTIME_TIMEVAL(&now); /* get cur rto in micro-seconds */ - cur_rtt = (((net->lastsa >> 2) + net->lastsv) >> 1); - cur_rtt *= 1000; + cur_rto = (net->lastsa >> SCTP_RTT_SHIFT) + net->lastsv; + cur_rto *= 1000; if (SCTP_BASE_SYSCTL(sctp_logging_level) & (SCTP_EARLYFR_LOGGING_ENABLE | SCTP_FR_LOGGING_ENABLE)) { - sctp_log_fr(cur_rtt, + sctp_log_fr(cur_rto, stcb->asoc.peers_rwnd, window_probe, SCTP_FR_T3_MARK_TIME); @@ -657,8 +657,8 @@ sctp_mark_all_for_resend(struct sctp_tcb SCTP_FR_CWND_REPORT); sctp_log_fr(net->flight_size, net->cwnd, stcb->asoc.total_flight, SCTP_FR_CWND_REPORT); } - tv.tv_sec = cur_rtt / 1000000; - tv.tv_usec = cur_rtt % 1000000; + tv.tv_sec = cur_rto / 1000000; + tv.tv_usec = cur_rto % 1000000; min_wait = now; timevalsub(&min_wait, &tv); if (min_wait.tv_sec < 0 || min_wait.tv_usec < 0) { @@ -671,7 +671,7 @@ sctp_mark_all_for_resend(struct sctp_tcb min_wait.tv_sec = min_wait.tv_usec = 0; } if (SCTP_BASE_SYSCTL(sctp_logging_level) & (SCTP_EARLYFR_LOGGING_ENABLE | SCTP_FR_LOGGING_ENABLE)) { - sctp_log_fr(cur_rtt, now.tv_sec, now.tv_usec, SCTP_FR_T3_MARK_TIME); + sctp_log_fr(cur_rto, now.tv_sec, now.tv_usec, SCTP_FR_T3_MARK_TIME); sctp_log_fr(0, min_wait.tv_sec, min_wait.tv_usec, SCTP_FR_T3_MARK_TIME); } /* Modified: head/sys/netinet/sctp_usrreq.c ============================================================================== --- head/sys/netinet/sctp_usrreq.c Thu Feb 24 22:36:40 2011 (r219013) +++ head/sys/netinet/sctp_usrreq.c Thu Feb 24 22:58:15 2011 (r219014) @@ -2401,7 +2401,7 @@ flags_out: paddri->spinfo_state = SCTP_INACTIVE; } paddri->spinfo_cwnd = net->cwnd; - paddri->spinfo_srtt = ((net->lastsa >> 2) + net->lastsv) >> 1; + paddri->spinfo_srtt = net->lastsa >> SCTP_RTT_SHIFT; paddri->spinfo_rto = net->RTO; paddri->spinfo_assoc_id = sctp_get_associd(stcb); SCTP_TCB_UNLOCK(stcb); @@ -2478,7 +2478,7 @@ flags_out: sstat->sstat_primary.spinfo_state = SCTP_INACTIVE; } sstat->sstat_primary.spinfo_cwnd = net->cwnd; - sstat->sstat_primary.spinfo_srtt = net->lastsa; + sstat->sstat_primary.spinfo_srtt = net->lastsa >> SCTP_RTT_SHIFT; sstat->sstat_primary.spinfo_rto = net->RTO; sstat->sstat_primary.spinfo_mtu = net->mtu; sstat->sstat_primary.spinfo_assoc_id = sctp_get_associd(stcb); From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 22:59:25 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E5721065675; Thu, 24 Feb 2011 22:59:25 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 43A188FC15; Thu, 24 Feb 2011 22:59:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1OMxPBX066233; Thu, 24 Feb 2011 22:59:25 GMT (envelope-from gabor@svn.freebsd.org) Received: (from gabor@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1OMxPsJ066231; Thu, 24 Feb 2011 22:59:25 GMT (envelope-from gabor@svn.freebsd.org) Message-Id: <201102242259.p1OMxPsJ066231@svn.freebsd.org> From: Gabor Kovesdan Date: Thu, 24 Feb 2011 22:59:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-svnadmin@freebsd.org X-SVN-Group: svnadmin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219015 - svnadmin/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 22:59:25 -0000 Author: gabor Date: Thu Feb 24 22:59:24 2011 New Revision: 219015 URL: http://svn.freebsd.org/changeset/base/219015 Log: - Raise my limit for BSD iconv import Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf ============================================================================== --- svnadmin/conf/sizelimit.conf Thu Feb 24 22:58:15 2011 (r219014) +++ svnadmin/conf/sizelimit.conf Thu Feb 24 22:59:24 2011 (r219015) @@ -33,3 +33,4 @@ kmacy jb jeff dim +gabor From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 23:11:49 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 329A3106566B; Thu, 24 Feb 2011 23:11:49 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id EBFE58FC16; Thu, 24 Feb 2011 23:11:47 +0000 (UTC) Received: by wwb31 with SMTP id 31so1455868wwb.31 for ; Thu, 24 Feb 2011 15:11:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=HhHy3j0DGflH99e+pbSZNmvaXXnlkIIDrkSFUEk40yg=; b=qfZaOi6qxxXnyxNExefO0WSKv87MVA7ivCjly6SdCuDetCYwC0H1mICNAEbbbraKBk w/utvhAM7ay7y8LBe4tuRwjvzLdqG0/JezkkbJ5yzwSeXfZI0Hk9mMcffwQdHB/ROreq nbOscrKUVtczjMvsVOSRViIb6Z9faKhbvcMss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=YsXl17Gp3jwJkRnN1YKBoewcayQ/ItovcJ6BI1MAl0UOrphqto+kKmMUqFWWzsnOW9 XYC6t4BYORCd44S0ucreXEogQzDuKefAOpKxoGNxW6hNVqTC2YYDnsyWOTwlClD9I/uw PDXEzbUUM3W87GMkCTN+idrzriWnXyTHkdhDs= MIME-Version: 1.0 Received: by 10.216.162.70 with SMTP id x48mr6517727wek.4.1298589106910; Thu, 24 Feb 2011 15:11:46 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.15.74 with HTTP; Thu, 24 Feb 2011 15:11:46 -0800 (PST) In-Reply-To: <20110224144303.baa6e809.stas@FreeBSD.org> References: <201102220513.p1M5DRrQ095042@svn.freebsd.org> <20110224144303.baa6e809.stas@FreeBSD.org> Date: Thu, 24 Feb 2011 15:11:46 -0800 X-Google-Sender-Auth: AUmIZLZkmOOx1hkz0F-t3yjJ0tM Message-ID: From: Garrett Cooper To: Stanislav Sedov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, rwatson@freebsd.org, Martin Wilke Subject: Re: svn commit: r218938 - head/tools/regression/aio/kqueue X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 23:11:49 -0000 On Thu, Feb 24, 2011 at 2:43 PM, Stanislav Sedov wrote: > On Tue, 22 Feb 2011 05:13:27 +0000 (UTC) > Martin Wilke mentioned: > >> Author: miwi >> Date: Tue Feb 22 05:13:26 2011 >> New Revision: 218938 >> URL: http://svn.freebsd.org/changeset/base/218938 >> >> Log: >> =A0 - Fix QA issues >> > > What kind these QA issues are of? Stupid me. This was wrong: - char *file, pathname[sizeof(PATH_TEMPLATE)-1]; + char *file, pathname[sizeof(PATH_TEMPLATE)+1]; (sizeof will return the buffer size -- the above item was true if I was using strlen) NULL pointer derefs: + iocb[i] =3D (struct aiocb *)calloc(1, + sizeof(struct aiocb)); + if (iocb[i] =3D=3D NULL) + err(1, "calloc"); Memory leaks: + for (i =3D 0; i < MAX; i++) + free(iocb[i]); + > Also, style(9) does not encourage extra bland lines for now reason. Sorry .. the blank lines for my mistake :(... Thanks, -Garrett From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 23:43:56 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8267B106566C; Thu, 24 Feb 2011 23:43:56 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 712348FC0C; Thu, 24 Feb 2011 23:43:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1ONhuiW068334; Thu, 24 Feb 2011 23:43:56 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1ONhuoA068332; Thu, 24 Feb 2011 23:43:56 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201102242343.p1ONhuoA068332@svn.freebsd.org> From: Doug Barton Date: Thu, 24 Feb 2011 23:43:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219016 - stable/8/etc/namedb X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 23:43:56 -0000 Author: dougb Date: Thu Feb 24 23:43:56 2011 New Revision: 219016 URL: http://svn.freebsd.org/changeset/base/219016 Log: MFC r218753: Remove in-addr.arpa from the list of zones it is possible to slave locally MFC r218865: Add a note about AXFR of important zones being available from ICANN Modified: stable/8/etc/namedb/named.conf Directory Properties: stable/8/etc/ (props changed) Modified: stable/8/etc/namedb/named.conf ============================================================================== --- stable/8/etc/namedb/named.conf Thu Feb 24 22:59:24 2011 (r219015) +++ stable/8/etc/namedb/named.conf Thu Feb 24 23:43:56 2011 (r219016) @@ -91,6 +91,11 @@ zone "." { type hint; file "/etc/namedb/ To use this mechanism, uncomment the entries below, and comment the hint zone above. + + As documented at http://dns.icann.org/services/axfr/ these zones: + "." (the root), ARPA, IN-ADDR.ARPA, IP6.ARPA, and ROOT-SERVERS.NET + are availble for AXFR from these servers on IPv4 and IPv6: + xfr.lax.dns.icann.org, xfr.cjr.dns.icann.org */ /* zone "." { @@ -109,14 +114,6 @@ zone "arpa" { }; notify no; }; -zone "in-addr.arpa" { - type slave; - file "/etc/namedb/slave/in-addr.arpa.slave"; - masters { - 192.5.5.241; // F.ROOT-SERVERS.NET. - }; - notify no; -}; */ /* Serving the following zones locally will prevent any queries From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 23:45:14 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A5421065674; Thu, 24 Feb 2011 23:45:14 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2937C8FC28; Thu, 24 Feb 2011 23:45:14 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1ONjELD068471; Thu, 24 Feb 2011 23:45:14 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1ONjEM0068469; Thu, 24 Feb 2011 23:45:14 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201102242345.p1ONjEM0068469@svn.freebsd.org> From: Doug Barton Date: Thu, 24 Feb 2011 23:45:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219017 - stable/7/etc/namedb X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 23:45:14 -0000 Author: dougb Date: Thu Feb 24 23:45:13 2011 New Revision: 219017 URL: http://svn.freebsd.org/changeset/base/219017 Log: MFC r218753: Remove in-addr.arpa from the list of zones it is possible to slave locally MFC r218865: Add a note about AXFR of important zones being available from ICANN Modified: stable/7/etc/namedb/named.conf Directory Properties: stable/7/etc/ (props changed) Modified: stable/7/etc/namedb/named.conf ============================================================================== --- stable/7/etc/namedb/named.conf Thu Feb 24 23:43:56 2011 (r219016) +++ stable/7/etc/namedb/named.conf Thu Feb 24 23:45:13 2011 (r219017) @@ -91,6 +91,11 @@ zone "." { type hint; file "/etc/namedb/ To use this mechanism, uncomment the entries below, and comment the hint zone above. + + As documented at http://dns.icann.org/services/axfr/ these zones: + "." (the root), ARPA, IN-ADDR.ARPA, IP6.ARPA, and ROOT-SERVERS.NET + are availble for AXFR from these servers on IPv4 and IPv6: + xfr.lax.dns.icann.org, xfr.cjr.dns.icann.org */ /* zone "." { @@ -109,14 +114,6 @@ zone "arpa" { }; notify no; }; -zone "in-addr.arpa" { - type slave; - file "/etc/namedb/slave/in-addr.arpa.slave"; - masters { - 192.5.5.241; // F.ROOT-SERVERS.NET. - }; - notify no; -}; */ /* Serving the following zones locally will prevent any queries From owner-svn-src-all@FreeBSD.ORG Thu Feb 24 23:51:59 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61B261065695; Thu, 24 Feb 2011 23:51:59 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 515758FC27; Thu, 24 Feb 2011 23:51:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1ONpxAg068778; Thu, 24 Feb 2011 23:51:59 GMT (envelope-from brooks@svn.freebsd.org) Received: (from brooks@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1ONpxO0068776; Thu, 24 Feb 2011 23:51:59 GMT (envelope-from brooks@svn.freebsd.org) Message-Id: <201102242351.p1ONpxO0068776@svn.freebsd.org> From: Brooks Davis Date: Thu, 24 Feb 2011 23:51:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219018 - head/etc/defaults X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 23:51:59 -0000 Author: brooks Date: Thu Feb 24 23:51:59 2011 New Revision: 219018 URL: http://svn.freebsd.org/changeset/base/219018 Log: Enable the check for negative permissions (the group on a file can't do something "everyone" can) by default. X-MFC after: never Modified: head/etc/defaults/periodic.conf Modified: head/etc/defaults/periodic.conf ============================================================================== --- head/etc/defaults/periodic.conf Thu Feb 24 23:45:13 2011 (r219017) +++ head/etc/defaults/periodic.conf Thu Feb 24 23:51:59 2011 (r219018) @@ -161,7 +161,7 @@ daily_status_security_diff_flags="-b -u" daily_status_security_chksetuid_enable="YES" # 110.neggrpperm -daily_status_security_neggrpperm_enable="NO" +daily_status_security_neggrpperm_enable="YES" # 200.chkmounts daily_status_security_chkmounts_enable="YES" From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 00:04:41 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41F8A1065674; Fri, 25 Feb 2011 00:04:41 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2BB168FC1A; Fri, 25 Feb 2011 00:04:41 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1P04fps069420; Fri, 25 Feb 2011 00:04:41 GMT (envelope-from gabor@svn.freebsd.org) Received: (from gabor@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1P04eTx069404; Fri, 25 Feb 2011 00:04:40 GMT (envelope-from gabor@svn.freebsd.org) Message-Id: <201102250004.p1P04eTx069404@svn.freebsd.org> From: Gabor Kovesdan Date: Fri, 25 Feb 2011 00:04:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219019 - in head: . etc/mtree include lib lib/libc lib/libc/iconv lib/libiconv lib/libiconv_modules lib/libiconv_modules/BIG5 lib/libiconv_modules/DECHanyu lib/libiconv_modules/EUC lib... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 00:04:41 -0000 Author: gabor Date: Fri Feb 25 00:04:39 2011 New Revision: 219019 URL: http://svn.freebsd.org/changeset/base/219019 Log: Add the BSD-licensed Citrus iconv to the base system with default off setting. It can be built by setting the WITH_ICONV knob. While this knob is unset, the library part, the binaries, the header file and the metadata files will not be built or installed so it makes no impact on the system if left turned off. This work is based on the iconv implementation in NetBSD but a great number of improvements and feature additions have been included: - Some utilities have been added. There is a conversion table generator, which can compare conversion tables to reference data generated by GNU libiconv. This helps ensuring conversion compatibility. - UTF-16 surrogate support and some endianness issues have been fixed. - The rather chaotic Makefiles to build metadata have been refactored and cleaned up, now it is easy to read and it is also easier to add support for new encodings. - A bunch of new encodings and encoding aliases have been added. - Support for 1->2, 1->3 and 1->4 mappings, which is needed for transliterating with flying accents as GNU does, like "u. - Lots of warnings have been fixed, the major part of the code is now WARNS=6 clean. - New section 1 and section 5 manual pages have been added. - Some GNU-specific calls have been implemented: iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into() - Support for GNU's //IGNORE suffix has been added. - The "-" argument for stdin is now recognized in iconv(1) as per POSIX. - The Big5 conversion module has been fixed. - The iconv.h header files is supposed to be compatible with the GNU version, i.e. sources should build with base iconv.h and GNU libiconv. It also includes a macro magic to deal with the char ** and const char ** incompatibility. - GNU compatibility: "" or "char" means the current local encoding in use - Various cleanups and style(9) fixes. Approved by: delphij (mentor) Obtained from: The NetBSD Project Sponsored by: Google Summer of Code 2009 Added: head/include/iconv.h (contents, props changed) head/lib/libc/iconv/ head/lib/libc/iconv/Makefile.inc (contents, props changed) head/lib/libc/iconv/Symbol.map (contents, props changed) head/lib/libc/iconv/__iconv_get_list.3 (contents, props changed) head/lib/libc/iconv/_strtol.h (contents, props changed) head/lib/libc/iconv/_strtoul.h (contents, props changed) head/lib/libc/iconv/citrus_aliasname_local.h (contents, props changed) head/lib/libc/iconv/citrus_bcs.c (contents, props changed) head/lib/libc/iconv/citrus_bcs.h (contents, props changed) head/lib/libc/iconv/citrus_bcs_strtol.c (contents, props changed) head/lib/libc/iconv/citrus_bcs_strtoul.c (contents, props changed) head/lib/libc/iconv/citrus_csmapper.c (contents, props changed) head/lib/libc/iconv/citrus_csmapper.h (contents, props changed) head/lib/libc/iconv/citrus_db.c (contents, props changed) head/lib/libc/iconv/citrus_db.h (contents, props changed) head/lib/libc/iconv/citrus_db_factory.c (contents, props changed) head/lib/libc/iconv/citrus_db_factory.h (contents, props changed) head/lib/libc/iconv/citrus_db_file.h (contents, props changed) head/lib/libc/iconv/citrus_db_hash.c (contents, props changed) head/lib/libc/iconv/citrus_db_hash.h (contents, props changed) head/lib/libc/iconv/citrus_esdb.c (contents, props changed) head/lib/libc/iconv/citrus_esdb.h (contents, props changed) head/lib/libc/iconv/citrus_esdb_file.h (contents, props changed) head/lib/libc/iconv/citrus_fix_grouping.h (contents, props changed) head/lib/libc/iconv/citrus_hash.c (contents, props changed) head/lib/libc/iconv/citrus_hash.h (contents, props changed) head/lib/libc/iconv/citrus_iconv.c (contents, props changed) head/lib/libc/iconv/citrus_iconv.h (contents, props changed) head/lib/libc/iconv/citrus_iconv_local.h (contents, props changed) head/lib/libc/iconv/citrus_lock.h (contents, props changed) head/lib/libc/iconv/citrus_lookup.c (contents, props changed) head/lib/libc/iconv/citrus_lookup.h (contents, props changed) head/lib/libc/iconv/citrus_lookup_factory.c (contents, props changed) head/lib/libc/iconv/citrus_lookup_factory.h (contents, props changed) head/lib/libc/iconv/citrus_lookup_file.h (contents, props changed) head/lib/libc/iconv/citrus_mapper.c (contents, props changed) head/lib/libc/iconv/citrus_mapper.h (contents, props changed) head/lib/libc/iconv/citrus_mapper_local.h (contents, props changed) head/lib/libc/iconv/citrus_memstream.c (contents, props changed) head/lib/libc/iconv/citrus_memstream.h (contents, props changed) head/lib/libc/iconv/citrus_mmap.c (contents, props changed) head/lib/libc/iconv/citrus_mmap.h (contents, props changed) head/lib/libc/iconv/citrus_module.c (contents, props changed) head/lib/libc/iconv/citrus_module.h (contents, props changed) head/lib/libc/iconv/citrus_namespace.h (contents, props changed) head/lib/libc/iconv/citrus_none.c (contents, props changed) head/lib/libc/iconv/citrus_none.h (contents, props changed) head/lib/libc/iconv/citrus_pivot_factory.c (contents, props changed) head/lib/libc/iconv/citrus_pivot_factory.h (contents, props changed) head/lib/libc/iconv/citrus_pivot_file.h (contents, props changed) head/lib/libc/iconv/citrus_prop.c (contents, props changed) head/lib/libc/iconv/citrus_prop.h (contents, props changed) head/lib/libc/iconv/citrus_region.h (contents, props changed) head/lib/libc/iconv/citrus_stdenc.c (contents, props changed) head/lib/libc/iconv/citrus_stdenc.h (contents, props changed) head/lib/libc/iconv/citrus_stdenc_local.h (contents, props changed) head/lib/libc/iconv/citrus_stdenc_template.h (contents, props changed) head/lib/libc/iconv/citrus_types.h (contents, props changed) head/lib/libc/iconv/iconv.3 (contents, props changed) head/lib/libc/iconv/iconv.c (contents, props changed) head/lib/libc/iconv/iconv_canonicalize.3 (contents, props changed) head/lib/libc/iconv/iconvctl.3 (contents, props changed) head/lib/libc/iconv/iconvlist.3 (contents, props changed) head/lib/libiconv/ head/lib/libiconv/Makefile (contents, props changed) head/lib/libiconv_modules/ head/lib/libiconv_modules/BIG5/ head/lib/libiconv_modules/BIG5/Makefile (contents, props changed) head/lib/libiconv_modules/BIG5/citrus_big5.c (contents, props changed) head/lib/libiconv_modules/BIG5/citrus_big5.h (contents, props changed) head/lib/libiconv_modules/DECHanyu/ head/lib/libiconv_modules/DECHanyu/Makefile (contents, props changed) head/lib/libiconv_modules/DECHanyu/citrus_dechanyu.c (contents, props changed) head/lib/libiconv_modules/DECHanyu/citrus_dechanyu.h (contents, props changed) head/lib/libiconv_modules/EUC/ head/lib/libiconv_modules/EUC/Makefile (contents, props changed) head/lib/libiconv_modules/EUC/citrus_euc.c (contents, props changed) head/lib/libiconv_modules/EUC/citrus_euc.h (contents, props changed) head/lib/libiconv_modules/EUCTW/ head/lib/libiconv_modules/EUCTW/Makefile (contents, props changed) head/lib/libiconv_modules/EUCTW/citrus_euctw.c (contents, props changed) head/lib/libiconv_modules/EUCTW/citrus_euctw.h (contents, props changed) head/lib/libiconv_modules/GBK2K/ head/lib/libiconv_modules/GBK2K/Makefile (contents, props changed) head/lib/libiconv_modules/GBK2K/citrus_gbk2k.c (contents, props changed) head/lib/libiconv_modules/GBK2K/citrus_gbk2k.h (contents, props changed) head/lib/libiconv_modules/HZ/ head/lib/libiconv_modules/HZ/Makefile (contents, props changed) head/lib/libiconv_modules/HZ/citrus_hz.c (contents, props changed) head/lib/libiconv_modules/HZ/citrus_hz.h (contents, props changed) head/lib/libiconv_modules/ISO2022/ head/lib/libiconv_modules/ISO2022/Makefile (contents, props changed) head/lib/libiconv_modules/ISO2022/citrus_iso2022.c (contents, props changed) head/lib/libiconv_modules/ISO2022/citrus_iso2022.h (contents, props changed) head/lib/libiconv_modules/JOHAB/ head/lib/libiconv_modules/JOHAB/Makefile (contents, props changed) head/lib/libiconv_modules/JOHAB/citrus_johab.c (contents, props changed) head/lib/libiconv_modules/JOHAB/citrus_johab.h (contents, props changed) head/lib/libiconv_modules/MSKanji/ head/lib/libiconv_modules/MSKanji/Makefile (contents, props changed) head/lib/libiconv_modules/MSKanji/citrus_mskanji.c (contents, props changed) head/lib/libiconv_modules/MSKanji/citrus_mskanji.h (contents, props changed) head/lib/libiconv_modules/Makefile (contents, props changed) head/lib/libiconv_modules/Makefile.inc (contents, props changed) head/lib/libiconv_modules/UES/ head/lib/libiconv_modules/UES/Makefile (contents, props changed) head/lib/libiconv_modules/UES/citrus_ues.c (contents, props changed) head/lib/libiconv_modules/UES/citrus_ues.h (contents, props changed) head/lib/libiconv_modules/UTF1632/ head/lib/libiconv_modules/UTF1632/Makefile (contents, props changed) head/lib/libiconv_modules/UTF1632/citrus_utf1632.c (contents, props changed) head/lib/libiconv_modules/UTF1632/citrus_utf1632.h (contents, props changed) head/lib/libiconv_modules/UTF7/ head/lib/libiconv_modules/UTF7/Makefile (contents, props changed) head/lib/libiconv_modules/UTF7/citrus_utf7.c (contents, props changed) head/lib/libiconv_modules/UTF7/citrus_utf7.h (contents, props changed) head/lib/libiconv_modules/UTF8/ head/lib/libiconv_modules/UTF8/Makefile (contents, props changed) head/lib/libiconv_modules/UTF8/citrus_utf8.c (contents, props changed) head/lib/libiconv_modules/UTF8/citrus_utf8.h (contents, props changed) head/lib/libiconv_modules/VIQR/ head/lib/libiconv_modules/VIQR/Makefile (contents, props changed) head/lib/libiconv_modules/VIQR/citrus_viqr.c (contents, props changed) head/lib/libiconv_modules/VIQR/citrus_viqr.h (contents, props changed) head/lib/libiconv_modules/ZW/ head/lib/libiconv_modules/ZW/Makefile (contents, props changed) head/lib/libiconv_modules/ZW/citrus_zw.c (contents, props changed) head/lib/libiconv_modules/ZW/citrus_zw.h (contents, props changed) head/lib/libiconv_modules/iconv_none/ head/lib/libiconv_modules/iconv_none/Makefile (contents, props changed) head/lib/libiconv_modules/iconv_none/citrus_iconv_none.c (contents, props changed) head/lib/libiconv_modules/iconv_none/citrus_iconv_none.h (contents, props changed) head/lib/libiconv_modules/iconv_std/ head/lib/libiconv_modules/iconv_std/Makefile (contents, props changed) head/lib/libiconv_modules/iconv_std/citrus_iconv_std.c (contents, props changed) head/lib/libiconv_modules/iconv_std/citrus_iconv_std.h (contents, props changed) head/lib/libiconv_modules/iconv_std/citrus_iconv_std_local.h (contents, props changed) head/lib/libiconv_modules/mapper_646/ head/lib/libiconv_modules/mapper_646/Makefile (contents, props changed) head/lib/libiconv_modules/mapper_646/citrus_mapper_646.c (contents, props changed) head/lib/libiconv_modules/mapper_646/citrus_mapper_646.h (contents, props changed) head/lib/libiconv_modules/mapper_none/ head/lib/libiconv_modules/mapper_none/Makefile (contents, props changed) head/lib/libiconv_modules/mapper_none/citrus_mapper_none.c (contents, props changed) head/lib/libiconv_modules/mapper_none/citrus_mapper_none.h (contents, props changed) head/lib/libiconv_modules/mapper_parallel/ head/lib/libiconv_modules/mapper_parallel/Makefile (contents, props changed) head/lib/libiconv_modules/mapper_serial/ head/lib/libiconv_modules/mapper_serial/Makefile (contents, props changed) head/lib/libiconv_modules/mapper_serial/citrus_mapper_serial.c (contents, props changed) head/lib/libiconv_modules/mapper_serial/citrus_mapper_serial.h (contents, props changed) head/lib/libiconv_modules/mapper_std/ head/lib/libiconv_modules/mapper_std/Makefile (contents, props changed) head/lib/libiconv_modules/mapper_std/citrus_mapper_std.c (contents, props changed) head/lib/libiconv_modules/mapper_std/citrus_mapper_std.h (contents, props changed) head/lib/libiconv_modules/mapper_std/citrus_mapper_std_file.h (contents, props changed) head/lib/libiconv_modules/mapper_std/citrus_mapper_std_local.h (contents, props changed) head/lib/libiconv_modules/mapper_zone/ head/lib/libiconv_modules/mapper_zone/Makefile (contents, props changed) head/lib/libiconv_modules/mapper_zone/citrus_mapper_zone.c (contents, props changed) head/lib/libiconv_modules/mapper_zone/citrus_mapper_zone.h (contents, props changed) head/share/i18n/ head/share/i18n/Makefile (contents, props changed) head/share/i18n/csmapper/ head/share/i18n/csmapper/APPLE/ head/share/i18n/csmapper/APPLE/ARABIC%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/CELTIC%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/CENTEURO%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/CROATIAN%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/CYRILLIC%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/DEVANAGA%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/DINGBATS%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/FARSI%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/GAELIC%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/GREEK%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/GUJARATI%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/GURMUKHI%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/HEBREW%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/ICELAND%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/INUIT%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/KEYBOARD%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/MAC.part (contents, props changed) head/share/i18n/csmapper/APPLE/Makefile (contents, props changed) head/share/i18n/csmapper/APPLE/ROMAN%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/ROMANIAN%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/SYMBOL%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/THAI%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/TURKISH%UCS.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%ARABIC.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%CELTIC.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%CENTEURO.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%CROATIAN.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%CYRILLIC.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%DEVANAGA.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%DINGBATS.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%FARSI.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%GAELIC.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%GREEK.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%GUJARATI.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%GURMUKHI.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%HEBREW.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%ICELAND.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%INUIT.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%KEYBOARD.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%ROMAN.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%ROMANIAN.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%SYMBOL.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%THAI.src (contents, props changed) head/share/i18n/csmapper/APPLE/UCS%TURKISH.src (contents, props changed) head/share/i18n/csmapper/AST/ head/share/i18n/csmapper/AST/ARMSCII-7%UCS.src (contents, props changed) head/share/i18n/csmapper/AST/ARMSCII-8%UCS.src (contents, props changed) head/share/i18n/csmapper/AST/ARMSCII-8A%UCS.src (contents, props changed) head/share/i18n/csmapper/AST/ARMSCII.part (contents, props changed) head/share/i18n/csmapper/AST/Makefile (contents, props changed) head/share/i18n/csmapper/AST/UCS%ARMSCII-7.src (contents, props changed) head/share/i18n/csmapper/AST/UCS%ARMSCII-8.src (contents, props changed) head/share/i18n/csmapper/AST/UCS%ARMSCII-8A.src (contents, props changed) head/share/i18n/csmapper/BIG5/ head/share/i18n/csmapper/BIG5/Big5@1984%UCS.src (contents, props changed) head/share/i18n/csmapper/BIG5/Big5EXT@2003%UCS.src (contents, props changed) head/share/i18n/csmapper/BIG5/Big5EXT@E%UCS.src (contents, props changed) head/share/i18n/csmapper/BIG5/Big5EXT@IBM%UCS.src (contents, props changed) head/share/i18n/csmapper/BIG5/Big5EXT@Plus%UCS.src (contents, props changed) head/share/i18n/csmapper/BIG5/Big5UDA%UCS.src (contents, props changed) head/share/i18n/csmapper/BIG5/ETen%UCS@BMP.src (contents, props changed) head/share/i18n/csmapper/BIG5/ETen%UCS@SIP.src (contents, props changed) head/share/i18n/csmapper/BIG5/HKSCS%UCS@BMP.src (contents, props changed) head/share/i18n/csmapper/BIG5/HKSCS%UCS@SIP.src (contents, props changed) head/share/i18n/csmapper/BIG5/Makefile (contents, props changed) head/share/i18n/csmapper/BIG5/UCS%Big5@1984.src (contents, props changed) head/share/i18n/csmapper/BIG5/UCS%Big5EXT@2003.src (contents, props changed) head/share/i18n/csmapper/BIG5/UCS%Big5EXT@E.src (contents, props changed) head/share/i18n/csmapper/BIG5/UCS%Big5EXT@IBM.src (contents, props changed) head/share/i18n/csmapper/BIG5/UCS%Big5EXT@Plus.src (contents, props changed) head/share/i18n/csmapper/BIG5/UCS%Big5UDA.src (contents, props changed) head/share/i18n/csmapper/BIG5/UCS@BMP%ETen.src (contents, props changed) head/share/i18n/csmapper/BIG5/UCS@BMP%HKSCS.src (contents, props changed) head/share/i18n/csmapper/BIG5/UCS@SIP%ETen.src (contents, props changed) head/share/i18n/csmapper/BIG5/UCS@SIP%HKSCS.src (contents, props changed) head/share/i18n/csmapper/BIG5/charset.pivot.BIG5.src (contents, props changed) head/share/i18n/csmapper/BIG5/mapper.dir.BIG5.src (contents, props changed) head/share/i18n/csmapper/CNS/ head/share/i18n/csmapper/CNS/CNS11643-1%UCS.src (contents, props changed) head/share/i18n/csmapper/CNS/CNS11643-2%UCS.src (contents, props changed) head/share/i18n/csmapper/CNS/CNS11643-3%UCS@BMP.src (contents, props changed) head/share/i18n/csmapper/CNS/CNS11643-3%UCS@SIP.src (contents, props changed) head/share/i18n/csmapper/CNS/CNS11643-4%UCS@BMP.src (contents, props changed) head/share/i18n/csmapper/CNS/CNS11643-4%UCS@SIP.src (contents, props changed) head/share/i18n/csmapper/CNS/CNS11643-5%UCS@BMP.src (contents, props changed) head/share/i18n/csmapper/CNS/CNS11643-5%UCS@SIP.src (contents, props changed) head/share/i18n/csmapper/CNS/CNS11643-6%UCS@BMP.src (contents, props changed) head/share/i18n/csmapper/CNS/CNS11643-6%UCS@SIP.src (contents, props changed) head/share/i18n/csmapper/CNS/CNS11643-7%UCS@BMP.src (contents, props changed) head/share/i18n/csmapper/CNS/CNS11643-7%UCS@SIP.src (contents, props changed) head/share/i18n/csmapper/CNS/Makefile (contents, props changed) head/share/i18n/csmapper/CNS/UCS%CNS11643-1.src (contents, props changed) head/share/i18n/csmapper/CNS/UCS%CNS11643-2.src (contents, props changed) head/share/i18n/csmapper/CNS/UCS@BMP%CNS11643-3.src (contents, props changed) head/share/i18n/csmapper/CNS/UCS@BMP%CNS11643-4.src (contents, props changed) head/share/i18n/csmapper/CNS/UCS@BMP%CNS11643-5.src (contents, props changed) head/share/i18n/csmapper/CNS/UCS@BMP%CNS11643-6.src (contents, props changed) head/share/i18n/csmapper/CNS/UCS@BMP%CNS11643-7.src (contents, props changed) head/share/i18n/csmapper/CNS/UCS@SIP%CNS11643-3.src (contents, props changed) head/share/i18n/csmapper/CNS/UCS@SIP%CNS11643-4.src (contents, props changed) head/share/i18n/csmapper/CNS/UCS@SIP%CNS11643-5.src (contents, props changed) head/share/i18n/csmapper/CNS/UCS@SIP%CNS11643-6.src (contents, props changed) head/share/i18n/csmapper/CNS/UCS@SIP%CNS11643-7.src (contents, props changed) head/share/i18n/csmapper/CNS/charset.pivot.CNS.src (contents, props changed) head/share/i18n/csmapper/CNS/mapper.dir.CNS.src (contents, props changed) head/share/i18n/csmapper/CP/ head/share/i18n/csmapper/CP/CP.part (contents, props changed) head/share/i18n/csmapper/CP/CP037%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP038%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP10000%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP10006%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP10007%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP10029%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1006%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP10079%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP10081%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1026%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1046%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1124%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1125%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1129%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1131%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1133%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1161%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1162%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1163%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1250%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1251%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1252%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1253%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1254%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1255%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1256%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1257%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP1258%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP273%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP274%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP275%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP277%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP278%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP280%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP281%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP284%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP285%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP290%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP297%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP420%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP423%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP424%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP437%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP500%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP737%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP775%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP850%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP851%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP852%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP853%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP855%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP856%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP857%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP858%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP860%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP861%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP862%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP863%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP864%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP865%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP866%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP868%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP869%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP870%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP871%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP874%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP875%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP880%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP891%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP903%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP904%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP905%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP918%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP922%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP932UDA%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP932VDC@IBM%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP932VDC@NEC_IBM%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP936EXT%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP942EXT%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP949EXT%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/CP950%UCS.src (contents, props changed) head/share/i18n/csmapper/CP/Makefile (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP037.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP038.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP10000.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP10006.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP10007.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP10029.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1006.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP10079.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP10081.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1026.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1046.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1124.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1125.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1129.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1131.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1133.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1161.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1162.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1163.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1250.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1251.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1252.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1253.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1254.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1255.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1256.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1257.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP1258.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP273.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP274.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP275.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP277.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP278.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP280.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP281.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP284.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP285.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP290.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP297.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP420.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP423.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP424.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP437.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP500.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP737.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP775.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP850.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP851.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP852.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP853.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP855.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP856.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP857.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP858.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP860.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP861.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP862.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP863.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP864.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP865.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP866.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP868.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP869.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP870.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP871.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP874.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP875.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP880.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP891.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP903.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP904.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP905.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP918.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP922.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP932UDA.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP932VDC@IBM.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP932VDC@NEC_IBM.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP936EXT.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP942EXT.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP949EXT.src (contents, props changed) head/share/i18n/csmapper/CP/UCS%CP950.src (contents, props changed) head/share/i18n/csmapper/CP/charset.pivot.CP.src (contents, props changed) head/share/i18n/csmapper/CP/mapper.dir.CP.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/ head/share/i18n/csmapper/EBCDIC/EBCDIC-AT-DE%UCS.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/EBCDIC-AT-DE-A%UCS.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/EBCDIC-CA-FR%UCS.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/EBCDIC-DK-NO%UCS.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/EBCDIC-DK-NO-A%UCS.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/EBCDIC-ES%UCS.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/EBCDIC-ES-A%UCS.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/EBCDIC-ES-S%UCS.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/EBCDIC-FI-SE%UCS.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/EBCDIC-FI-SE-A%UCS.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/EBCDIC-FR%UCS.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/EBCDIC-IT%UCS.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/EBCDIC-PT%UCS.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/EBCDIC-UK%UCS.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/EBCDIC.part (contents, props changed) head/share/i18n/csmapper/EBCDIC/Makefile (contents, props changed) head/share/i18n/csmapper/EBCDIC/UCS%EBCDIC-AT-DE-A.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/UCS%EBCDIC-AT-DE.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/UCS%EBCDIC-CA-FR.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/UCS%EBCDIC-DK-NO-A.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/UCS%EBCDIC-DK-NO.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/UCS%EBCDIC-ES-A.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/UCS%EBCDIC-ES-S.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/UCS%EBCDIC-ES.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/UCS%EBCDIC-FI-SE-A.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/UCS%EBCDIC-FI-SE.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/UCS%EBCDIC-FR.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/UCS%EBCDIC-IT.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/UCS%EBCDIC-PT.src (contents, props changed) head/share/i18n/csmapper/EBCDIC/UCS%EBCDIC-UK.src (contents, props changed) head/share/i18n/csmapper/GB/ head/share/i18n/csmapper/GB/GB12345%UCS.src (contents, props changed) head/share/i18n/csmapper/GB/GB18030%UCS@BMP.src (contents, props changed) head/share/i18n/csmapper/GB/GB2312%UCS.src (contents, props changed) head/share/i18n/csmapper/GB/GB2312EXT%UCS.src (contents, props changed) head/share/i18n/csmapper/GB/GB2312GBK%UCS.src (contents, props changed) head/share/i18n/csmapper/GB/GB2312UDA1%UCS.src (contents, props changed) head/share/i18n/csmapper/GB/GB2312UDA2%UCS.src (contents, props changed) head/share/i18n/csmapper/GB/GBKEXT%UCS.src (contents, props changed) head/share/i18n/csmapper/GB/GBKUDA%UCS.src (contents, props changed) head/share/i18n/csmapper/GB/ISO-IR-165EXT%UCS.src (contents, props changed) head/share/i18n/csmapper/GB/Makefile (contents, props changed) head/share/i18n/csmapper/GB/UCS%GB12345.src (contents, props changed) head/share/i18n/csmapper/GB/UCS%GB2312.src (contents, props changed) head/share/i18n/csmapper/GB/UCS%GB2312EXT.src (contents, props changed) head/share/i18n/csmapper/GB/UCS%GB2312UDA1.src (contents, props changed) head/share/i18n/csmapper/GB/UCS%GB2312UDA2.src (contents, props changed) head/share/i18n/csmapper/GB/UCS%GBKEXT.src (contents, props changed) head/share/i18n/csmapper/GB/UCS%GBKUDA.src (contents, props changed) head/share/i18n/csmapper/GB/UCS%ISO-IR-165EXT.src (contents, props changed) head/share/i18n/csmapper/GB/UCS@BMP%GB18030.src (contents, props changed) head/share/i18n/csmapper/GB/charset.pivot.GB.src (contents, props changed) head/share/i18n/csmapper/GB/mapper.dir.GB.src (contents, props changed) head/share/i18n/csmapper/GEORGIAN/ head/share/i18n/csmapper/GEORGIAN/GEORGIAN-ACADEMY%UCS.src (contents, props changed) head/share/i18n/csmapper/GEORGIAN/GEORGIAN-ACADEMY@OldCapital%UCS.src (contents, props changed) head/share/i18n/csmapper/GEORGIAN/GEORGIAN-PS%UCS.src (contents, props changed) head/share/i18n/csmapper/GEORGIAN/GEORGIAN-PS@OldCapital%UCS.src (contents, props changed) head/share/i18n/csmapper/GEORGIAN/GEORGIAN.part (contents, props changed) head/share/i18n/csmapper/GEORGIAN/Makefile (contents, props changed) head/share/i18n/csmapper/GEORGIAN/UCS%GEORGIAN-ACADEMY.src (contents, props changed) head/share/i18n/csmapper/GEORGIAN/UCS%GEORGIAN-ACADEMY@OldCapital.src (contents, props changed) head/share/i18n/csmapper/GEORGIAN/UCS%GEORGIAN-PS.src (contents, props changed) head/share/i18n/csmapper/GEORGIAN/UCS%GEORGIAN-PS@OldCapital.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ head/share/i18n/csmapper/ISO-8859/ISO-8859-10%UCS.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ISO-8859-11%UCS.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ISO-8859-13%UCS.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ISO-8859-14%UCS.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ISO-8859-15%UCS.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ISO-8859-16%UCS.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ISO-8859-2%UCS.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ISO-8859-3%UCS.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ISO-8859-4%UCS.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ISO-8859-5%UCS.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ISO-8859-6%UCS.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ISO-8859-7%UCS.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ISO-8859-8%UCS.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ISO-8859-9%UCS.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/ISO-8859.part (contents, props changed) head/share/i18n/csmapper/ISO-8859/Makefile (contents, props changed) head/share/i18n/csmapper/ISO-8859/UCS%ISO-8859-10.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/UCS%ISO-8859-11.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/UCS%ISO-8859-13.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/UCS%ISO-8859-14.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/UCS%ISO-8859-15.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/UCS%ISO-8859-16.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/UCS%ISO-8859-2.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/UCS%ISO-8859-3.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/UCS%ISO-8859-4.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/UCS%ISO-8859-5.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/UCS%ISO-8859-6.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/UCS%ISO-8859-7.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/UCS%ISO-8859-8.src (contents, props changed) head/share/i18n/csmapper/ISO-8859/UCS%ISO-8859-9.src (contents, props changed) head/share/i18n/csmapper/ISO646/ head/share/i18n/csmapper/ISO646/ISO646-BASIC@1983%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-CA%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-CA2%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-CN%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-CU%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-DE%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-DK%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-ES%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-ES2%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-FI%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-FR%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-FR1%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-GB%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-HU%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-IRV@1983%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-IT%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-JP%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-JP-OCR-B%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-KR%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-NO%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-NO2%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-PT%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-PT2%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-SE%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-SE2%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-US%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646-YU%UCS.646 (contents, props changed) head/share/i18n/csmapper/ISO646/ISO646.part (contents, props changed) head/share/i18n/csmapper/ISO646/Makefile (contents, props changed) head/share/i18n/csmapper/JIS/ head/share/i18n/csmapper/JIS/JISX0201-KANA%UCS.src (contents, props changed) head/share/i18n/csmapper/JIS/JISX0208@1978%UCS.src (contents, props changed) head/share/i18n/csmapper/JIS/JISX0208@1990%UCS.src (contents, props changed) head/share/i18n/csmapper/JIS/JISX0208@MS%UCS.src (contents, props changed) head/share/i18n/csmapper/JIS/JISX0208UDC%UCS.src (contents, props changed) head/share/i18n/csmapper/JIS/JISX0208VDC@NEC%UCS.src (contents, props changed) head/share/i18n/csmapper/JIS/JISX0212%UCS.src (contents, props changed) head/share/i18n/csmapper/JIS/JISX0212@MS%UCS.src (contents, props changed) head/share/i18n/csmapper/JIS/JISX0212UDC%UCS.src (contents, props changed) head/share/i18n/csmapper/JIS/JISX0212VDC@IBM%UCS.src (contents, props changed) head/share/i18n/csmapper/JIS/JISX0213-1%UCS@BMP.src (contents, props changed) head/share/i18n/csmapper/JIS/JISX0213-1%UCS@SIP.src (contents, props changed) head/share/i18n/csmapper/JIS/JISX0213-2%UCS@BMP.src (contents, props changed) head/share/i18n/csmapper/JIS/JISX0213-2%UCS@SIP.src (contents, props changed) head/share/i18n/csmapper/JIS/Makefile (contents, props changed) head/share/i18n/csmapper/JIS/UCS%JISX0201-KANA.src (contents, props changed) head/share/i18n/csmapper/JIS/UCS%JISX0208@1978.src (contents, props changed) head/share/i18n/csmapper/JIS/UCS%JISX0208@1990.src (contents, props changed) head/share/i18n/csmapper/JIS/UCS%JISX0208@MS.src (contents, props changed) head/share/i18n/csmapper/JIS/UCS%JISX0208UDC.src (contents, props changed) head/share/i18n/csmapper/JIS/UCS%JISX0208VDC@NEC.src (contents, props changed) head/share/i18n/csmapper/JIS/UCS%JISX0212.src (contents, props changed) head/share/i18n/csmapper/JIS/UCS%JISX0212@MS.src (contents, props changed) head/share/i18n/csmapper/JIS/UCS%JISX0212UDC.src (contents, props changed) head/share/i18n/csmapper/JIS/UCS%JISX0212VDC@IBM.src (contents, props changed) head/share/i18n/csmapper/JIS/UCS@BMP%JISX0213-1.src (contents, props changed) head/share/i18n/csmapper/JIS/UCS@BMP%JISX0213-2.src (contents, props changed) head/share/i18n/csmapper/JIS/UCS@SIP%JISX0213-1.src (contents, props changed) head/share/i18n/csmapper/JIS/UCS@SIP%JISX0213-2.src (contents, props changed) head/share/i18n/csmapper/JIS/charset.pivot.JIS.src (contents, props changed) head/share/i18n/csmapper/JIS/mapper.dir.JIS.src (contents, props changed) head/share/i18n/csmapper/KAZAKH/ head/share/i18n/csmapper/KAZAKH/KZ1048%UCS.src (contents, props changed) head/share/i18n/csmapper/KAZAKH/Makefile (contents, props changed) head/share/i18n/csmapper/KAZAKH/PTCP154%UCS.src (contents, props changed) head/share/i18n/csmapper/KAZAKH/UCS%KZ1048.src (contents, props changed) head/share/i18n/csmapper/KAZAKH/UCS%PTCP154.src (contents, props changed) head/share/i18n/csmapper/KAZAKH/charset.pivot.KAZAKH.src (contents, props changed) head/share/i18n/csmapper/KAZAKH/mapper.dir.KAZAKH.src (contents, props changed) head/share/i18n/csmapper/KOI/ head/share/i18n/csmapper/KOI/GOST19768-74%UCS.src (contents, props changed) head/share/i18n/csmapper/KOI/ISO-5427%UCS.src (contents, props changed) head/share/i18n/csmapper/KOI/KOI7%UCS.src (contents, props changed) head/share/i18n/csmapper/KOI/KOI8%UCS.src (contents, props changed) head/share/i18n/csmapper/KOI/KOI8-C%UCS.src (contents, props changed) head/share/i18n/csmapper/KOI/KOI8-CyrillicOld%UCS.src (contents, props changed) head/share/i18n/csmapper/KOI/KOI8-E%UCS.src (contents, props changed) head/share/i18n/csmapper/KOI/KOI8-R%UCS.src (contents, props changed) head/share/i18n/csmapper/KOI/KOI8-RU%UCS.src (contents, props changed) head/share/i18n/csmapper/KOI/KOI8-T%UCS.src (contents, props changed) head/share/i18n/csmapper/KOI/KOI8-U%UCS.src (contents, props changed) head/share/i18n/csmapper/KOI/KOI8.part (contents, props changed) head/share/i18n/csmapper/KOI/Makefile (contents, props changed) head/share/i18n/csmapper/KOI/UCS%GOST19768-74.src (contents, props changed) head/share/i18n/csmapper/KOI/UCS%ISO-5427.src (contents, props changed) head/share/i18n/csmapper/KOI/UCS%KOI7.src (contents, props changed) head/share/i18n/csmapper/KOI/UCS%KOI8-C.src (contents, props changed) head/share/i18n/csmapper/KOI/UCS%KOI8-CyrillicOld.src (contents, props changed) head/share/i18n/csmapper/KOI/UCS%KOI8-E.src (contents, props changed) head/share/i18n/csmapper/KOI/UCS%KOI8-R.src (contents, props changed) head/share/i18n/csmapper/KOI/UCS%KOI8-RU.src (contents, props changed) head/share/i18n/csmapper/KOI/UCS%KOI8-T.src (contents, props changed) head/share/i18n/csmapper/KOI/UCS%KOI8-U.src (contents, props changed) head/share/i18n/csmapper/KOI/UCS%KOI8.src (contents, props changed) head/share/i18n/csmapper/KOI/charset.pivot.KOI.src (contents, props changed) head/share/i18n/csmapper/KOI/mapper.dir.KOI.src (contents, props changed) head/share/i18n/csmapper/KS/ head/share/i18n/csmapper/KS/JOHAB%UCS.src (contents, props changed) head/share/i18n/csmapper/KS/KSC5601HANGUL%UCS.src (contents, props changed) head/share/i18n/csmapper/KS/KSC5601HANJA%UCS.src (contents, props changed) head/share/i18n/csmapper/KS/Makefile (contents, props changed) head/share/i18n/csmapper/KS/UCS%JOHAB.src (contents, props changed) head/share/i18n/csmapper/KS/UCS%KSC5601HANGUL.src (contents, props changed) head/share/i18n/csmapper/KS/UCS%KSC5601HANJA.src (contents, props changed) head/share/i18n/csmapper/KS/charset.pivot.KS.src (contents, props changed) head/share/i18n/csmapper/KS/mapper.dir.KS.src (contents, props changed) head/share/i18n/csmapper/MISC/ head/share/i18n/csmapper/MISC/ATARIST%UCS.src (contents, props changed) head/share/i18n/csmapper/MISC/DECMCS%UCS.src (contents, props changed) head/share/i18n/csmapper/MISC/HP-ROMAN8%UCS.src (contents, props changed) head/share/i18n/csmapper/MISC/MULELAO-1%UCS.src (contents, props changed) head/share/i18n/csmapper/MISC/Makefile (contents, props changed) head/share/i18n/csmapper/MISC/NEXTSTEP%UCS.src (contents, props changed) head/share/i18n/csmapper/MISC/RISCOS-LATIN1%UCS.src (contents, props changed) head/share/i18n/csmapper/MISC/TDS565%UCS.src (contents, props changed) head/share/i18n/csmapper/MISC/UCS%ATARIST.src (contents, props changed) head/share/i18n/csmapper/MISC/UCS%DECMCS.src (contents, props changed) head/share/i18n/csmapper/MISC/UCS%HP-ROMAN8.src (contents, props changed) head/share/i18n/csmapper/MISC/UCS%MULELAO-1.src (contents, props changed) head/share/i18n/csmapper/MISC/UCS%NEXTSTEP.src (contents, props changed) head/share/i18n/csmapper/MISC/UCS%RISCOS-LATIN1.src (contents, props changed) head/share/i18n/csmapper/MISC/UCS%TDS565.src (contents, props changed) head/share/i18n/csmapper/MISC/charset.pivot.MISC.src (contents, props changed) head/share/i18n/csmapper/MISC/mapper.dir.MISC.src (contents, props changed) head/share/i18n/csmapper/Makefile (contents, props changed) head/share/i18n/csmapper/Makefile.inc (contents, props changed) head/share/i18n/csmapper/Makefile.part (contents, props changed) head/share/i18n/csmapper/TCVN/ head/share/i18n/csmapper/TCVN/Makefile (contents, props changed) head/share/i18n/csmapper/TCVN/TCVN5712-1%UCS.src (contents, props changed) head/share/i18n/csmapper/TCVN/UCS%TCVN5712-1.src (contents, props changed) head/share/i18n/csmapper/TCVN/UCS%VISCII.src (contents, props changed) head/share/i18n/csmapper/TCVN/VISCII%UCS.src (contents, props changed) head/share/i18n/csmapper/TCVN/charset.pivot.TCVN.src (contents, props changed) head/share/i18n/csmapper/TCVN/mapper.dir.TCVN.src (contents, props changed) head/share/i18n/csmapper/charset.pivot.src (contents, props changed) head/share/i18n/csmapper/mapper.dir.src (contents, props changed) head/share/i18n/esdb/ head/share/i18n/esdb/APPLE/ head/share/i18n/esdb/APPLE/MAC.alias (contents, props changed) head/share/i18n/esdb/APPLE/MAC.part (contents, props changed) head/share/i18n/esdb/APPLE/MAC.src (contents, props changed) head/share/i18n/esdb/APPLE/Makefile (contents, props changed) head/share/i18n/esdb/AST/ head/share/i18n/esdb/AST/ARMSCII-7.src (contents, props changed) head/share/i18n/esdb/AST/ARMSCII.alias (contents, props changed) head/share/i18n/esdb/AST/ARMSCII.part (contents, props changed) head/share/i18n/esdb/AST/ARMSCII.src (contents, props changed) head/share/i18n/esdb/AST/Makefile (contents, props changed) head/share/i18n/esdb/BIG5/ head/share/i18n/esdb/BIG5/Big5.alias (contents, props changed) head/share/i18n/esdb/BIG5/Big5.part (contents, props changed) head/share/i18n/esdb/BIG5/Big5.src (contents, props changed) head/share/i18n/esdb/BIG5/Big5.variable (contents, props changed) head/share/i18n/esdb/BIG5/Makefile (contents, props changed) head/share/i18n/esdb/CP/ head/share/i18n/esdb/CP/CP.alias (contents, props changed) head/share/i18n/esdb/CP/CP.part (contents, props changed) head/share/i18n/esdb/CP/CP.src (contents, props changed) head/share/i18n/esdb/CP/CP50220.src (contents, props changed) head/share/i18n/esdb/CP/CP50221.src (contents, props changed) head/share/i18n/esdb/CP/CP50222.src (contents, props changed) head/share/i18n/esdb/CP/CP51932.src (contents, props changed) head/share/i18n/esdb/CP/CP932.src (contents, props changed) head/share/i18n/esdb/CP/CP936.src (contents, props changed) head/share/i18n/esdb/CP/CP942.src (contents, props changed) head/share/i18n/esdb/CP/CP942C.src (contents, props changed) head/share/i18n/esdb/CP/CP943.src (contents, props changed) head/share/i18n/esdb/CP/CP943C.src (contents, props changed) head/share/i18n/esdb/CP/CP949.src (contents, props changed) head/share/i18n/esdb/CP/CP950.src (contents, props changed) head/share/i18n/esdb/CP/Makefile (contents, props changed) head/share/i18n/esdb/DEC/ head/share/i18n/esdb/DEC/DEC.alias (contents, props changed) head/share/i18n/esdb/DEC/DEC.part (contents, props changed) head/share/i18n/esdb/DEC/DEC.src (contents, props changed) head/share/i18n/esdb/DEC/DECHanyu.src (contents, props changed) head/share/i18n/esdb/DEC/Makefile (contents, props changed) head/share/i18n/esdb/EBCDIC/ head/share/i18n/esdb/EBCDIC/EBCDIC.alias (contents, props changed) head/share/i18n/esdb/EBCDIC/EBCDIC.part (contents, props changed) head/share/i18n/esdb/EBCDIC/EBCDIC.src (contents, props changed) head/share/i18n/esdb/EBCDIC/Makefile (contents, props changed) head/share/i18n/esdb/EUC/ head/share/i18n/esdb/EUC/EUC-CN.src (contents, props changed) head/share/i18n/esdb/EUC/EUC-JIS-2004.src (contents, props changed) head/share/i18n/esdb/EUC/EUC-JP-MS.src (contents, props changed) head/share/i18n/esdb/EUC/EUC-JP.src (contents, props changed) head/share/i18n/esdb/EUC/EUC-KR.src (contents, props changed) head/share/i18n/esdb/EUC/EUC-TW.src (contents, props changed) head/share/i18n/esdb/EUC/EUC.alias (contents, props changed) head/share/i18n/esdb/EUC/EUC.part (contents, props changed) head/share/i18n/esdb/EUC/Makefile (contents, props changed) head/share/i18n/esdb/GB/ head/share/i18n/esdb/GB/GB.alias (contents, props changed) head/share/i18n/esdb/GB/GB.part (contents, props changed) head/share/i18n/esdb/GB/GB12345.src (contents, props changed) head/share/i18n/esdb/GB/GB18030.src (contents, props changed) head/share/i18n/esdb/GB/GBK.src (contents, props changed) head/share/i18n/esdb/GB/Makefile (contents, props changed) head/share/i18n/esdb/GEORGIAN/ head/share/i18n/esdb/GEORGIAN/GEORGIAN.alias (contents, props changed) head/share/i18n/esdb/GEORGIAN/GEORGIAN.part (contents, props changed) head/share/i18n/esdb/GEORGIAN/GEORGIAN.src (contents, props changed) head/share/i18n/esdb/GEORGIAN/Makefile (contents, props changed) head/share/i18n/esdb/ISO-2022/ head/share/i18n/esdb/ISO-2022/ISO-2022-CN-EXT.src (contents, props changed) head/share/i18n/esdb/ISO-2022/ISO-2022-CN.src (contents, props changed) head/share/i18n/esdb/ISO-2022/ISO-2022-JP-1.src (contents, props changed) head/share/i18n/esdb/ISO-2022/ISO-2022-JP-2.src (contents, props changed) head/share/i18n/esdb/ISO-2022/ISO-2022-JP-2004.src (contents, props changed) head/share/i18n/esdb/ISO-2022/ISO-2022-JP.src (contents, props changed) head/share/i18n/esdb/ISO-2022/ISO-2022-KR.src (contents, props changed) head/share/i18n/esdb/ISO-2022/ISO-2022.alias (contents, props changed) head/share/i18n/esdb/ISO-2022/ISO-2022.part (contents, props changed) head/share/i18n/esdb/ISO-2022/Makefile (contents, props changed) head/share/i18n/esdb/ISO-8859/ head/share/i18n/esdb/ISO-8859/ISO-8859.alias (contents, props changed) head/share/i18n/esdb/ISO-8859/ISO-8859.part (contents, props changed) head/share/i18n/esdb/ISO-8859/ISO-8859.src (contents, props changed) head/share/i18n/esdb/ISO-8859/Makefile (contents, props changed) head/share/i18n/esdb/ISO646/ head/share/i18n/esdb/ISO646/ISO646.alias (contents, props changed) head/share/i18n/esdb/ISO646/ISO646.part (contents, props changed) head/share/i18n/esdb/ISO646/ISO646.src (contents, props changed) head/share/i18n/esdb/ISO646/Makefile (contents, props changed) head/share/i18n/esdb/KAZAKH/ head/share/i18n/esdb/KAZAKH/KAZAKH.alias (contents, props changed) head/share/i18n/esdb/KAZAKH/KAZAKH.part (contents, props changed) head/share/i18n/esdb/KAZAKH/KZ1048.src (contents, props changed) head/share/i18n/esdb/KAZAKH/Makefile (contents, props changed) head/share/i18n/esdb/KAZAKH/PTCP154.src (contents, props changed) head/share/i18n/esdb/KOI/ head/share/i18n/esdb/KOI/KOI.alias (contents, props changed) head/share/i18n/esdb/KOI/KOI.part (contents, props changed) head/share/i18n/esdb/KOI/KOI.src (contents, props changed) head/share/i18n/esdb/KOI/KOI7-switched.src (contents, props changed) head/share/i18n/esdb/KOI/KOI7.src (contents, props changed) head/share/i18n/esdb/KOI/Makefile (contents, props changed) head/share/i18n/esdb/MISC/ head/share/i18n/esdb/MISC/ATARIST.src (contents, props changed) head/share/i18n/esdb/MISC/C99.src (contents, props changed) head/share/i18n/esdb/MISC/CTEXT.src (contents, props changed) head/share/i18n/esdb/MISC/HP-ROMAN8.src (contents, props changed) head/share/i18n/esdb/MISC/HZ.src (contents, props changed) head/share/i18n/esdb/MISC/HZ8.src (contents, props changed) head/share/i18n/esdb/MISC/ISO-IR-165.src (contents, props changed) head/share/i18n/esdb/MISC/JAVA.src (contents, props changed) head/share/i18n/esdb/MISC/JISX0201-KANA.src (contents, props changed) head/share/i18n/esdb/MISC/JISX0208@1990.src (contents, props changed) head/share/i18n/esdb/MISC/JOHAB.src (contents, props changed) head/share/i18n/esdb/MISC/MISC.alias (contents, props changed) head/share/i18n/esdb/MISC/MISC.part (contents, props changed) head/share/i18n/esdb/MISC/MULELAO-1.src (contents, props changed) head/share/i18n/esdb/MISC/Makefile (contents, props changed) head/share/i18n/esdb/MISC/NEXTSTEP.src (contents, props changed) head/share/i18n/esdb/MISC/RISCOS-LATIN1.src (contents, props changed) head/share/i18n/esdb/MISC/Shift_JIS-2004.src (contents, props changed) head/share/i18n/esdb/MISC/Shift_JIS.src (contents, props changed) head/share/i18n/esdb/MISC/TDS565.src (contents, props changed) head/share/i18n/esdb/MISC/ZW.src (contents, props changed) head/share/i18n/esdb/Makefile (contents, props changed) head/share/i18n/esdb/Makefile.inc (contents, props changed) head/share/i18n/esdb/Makefile.part (contents, props changed) head/share/i18n/esdb/TCVN/ head/share/i18n/esdb/TCVN/Makefile (contents, props changed) head/share/i18n/esdb/TCVN/TCVN.alias (contents, props changed) head/share/i18n/esdb/TCVN/TCVN.part (contents, props changed) head/share/i18n/esdb/TCVN/TCVN5712-1.src (contents, props changed) head/share/i18n/esdb/TCVN/VIQR.src (contents, props changed) head/share/i18n/esdb/TCVN/VISCII.src (contents, props changed) head/share/i18n/esdb/UTF/ head/share/i18n/esdb/UTF/Makefile (contents, props changed) head/share/i18n/esdb/UTF/UTF.alias (contents, props changed) head/share/i18n/esdb/UTF/UTF.part (contents, props changed) head/share/i18n/esdb/UTF/UTF.src (contents, props changed) head/tools/test/iconv/ head/tools/test/iconv/Makefile (contents, props changed) head/tools/test/iconv/gnu/ head/tools/test/iconv/gnu/Makefile (contents, props changed) head/tools/test/iconv/gnu/gnu.c (contents, props changed) head/tools/test/iconv/posix/ head/tools/test/iconv/posix/Makefile (contents, props changed) head/tools/test/iconv/posix/posix.c (contents, props changed) head/tools/test/iconv/ref/ head/tools/test/iconv/ref/ARMSCII-8 (contents, props changed) head/tools/test/iconv/ref/ARMSCII-8-rev (contents, props changed) head/tools/test/iconv/ref/ASCII (contents, props changed) head/tools/test/iconv/ref/ASCII-rev (contents, props changed) head/tools/test/iconv/ref/ATARIST (contents, props changed) head/tools/test/iconv/ref/ATARIST-rev (contents, props changed) head/tools/test/iconv/ref/BIG5 (contents, props changed) head/tools/test/iconv/ref/BIG5-2003 (contents, props changed) head/tools/test/iconv/ref/BIG5-2003-rev (contents, props changed) head/tools/test/iconv/ref/BIG5-HKSCS (contents, props changed) head/tools/test/iconv/ref/BIG5-HKSCS-rev (contents, props changed) head/tools/test/iconv/ref/BIG5-rev (contents, props changed) head/tools/test/iconv/ref/BIG5HKSCS (contents, props changed) head/tools/test/iconv/ref/BIG5HKSCS-rev (contents, props changed) head/tools/test/iconv/ref/C99 (contents, props changed) head/tools/test/iconv/ref/C99-rev (contents, props changed) head/tools/test/iconv/ref/CP1046 (contents, props changed) head/tools/test/iconv/ref/CP1046-rev (contents, props changed) head/tools/test/iconv/ref/CP1124 (contents, props changed) head/tools/test/iconv/ref/CP1124-rev (contents, props changed) head/tools/test/iconv/ref/CP1125 (contents, props changed) head/tools/test/iconv/ref/CP1125-rev (contents, props changed) head/tools/test/iconv/ref/CP1129 (contents, props changed) head/tools/test/iconv/ref/CP1129-rev (contents, props changed) head/tools/test/iconv/ref/CP1131 (contents, props changed) head/tools/test/iconv/ref/CP1131-rev (contents, props changed) head/tools/test/iconv/ref/CP1133 (contents, props changed) head/tools/test/iconv/ref/CP1133-rev (contents, props changed) head/tools/test/iconv/ref/CP1161 (contents, props changed) head/tools/test/iconv/ref/CP1161-rev (contents, props changed) head/tools/test/iconv/ref/CP1162 (contents, props changed) head/tools/test/iconv/ref/CP1162-rev (contents, props changed) head/tools/test/iconv/ref/CP1163 (contents, props changed) head/tools/test/iconv/ref/CP1163-rev (contents, props changed) head/tools/test/iconv/ref/CP1250 (contents, props changed) head/tools/test/iconv/ref/CP1250-rev (contents, props changed) head/tools/test/iconv/ref/CP1251 (contents, props changed) head/tools/test/iconv/ref/CP1251-rev (contents, props changed) head/tools/test/iconv/ref/CP1252 (contents, props changed) head/tools/test/iconv/ref/CP1252-rev (contents, props changed) head/tools/test/iconv/ref/CP1253 (contents, props changed) head/tools/test/iconv/ref/CP1253-rev (contents, props changed) head/tools/test/iconv/ref/CP1254 (contents, props changed) head/tools/test/iconv/ref/CP1254-rev (contents, props changed) head/tools/test/iconv/ref/CP1255 (contents, props changed) head/tools/test/iconv/ref/CP1255-rev (contents, props changed) head/tools/test/iconv/ref/CP1256 (contents, props changed) head/tools/test/iconv/ref/CP1256-rev (contents, props changed) head/tools/test/iconv/ref/CP1257 (contents, props changed) head/tools/test/iconv/ref/CP1257-rev (contents, props changed) head/tools/test/iconv/ref/CP1258 (contents, props changed) head/tools/test/iconv/ref/CP1258-rev (contents, props changed) head/tools/test/iconv/ref/CP437 (contents, props changed) head/tools/test/iconv/ref/CP437-rev (contents, props changed) head/tools/test/iconv/ref/CP737 (contents, props changed) head/tools/test/iconv/ref/CP737-rev (contents, props changed) head/tools/test/iconv/ref/CP775 (contents, props changed) head/tools/test/iconv/ref/CP775-rev (contents, props changed) head/tools/test/iconv/ref/CP850 (contents, props changed) head/tools/test/iconv/ref/CP850-rev (contents, props changed) head/tools/test/iconv/ref/CP852 (contents, props changed) head/tools/test/iconv/ref/CP852-rev (contents, props changed) head/tools/test/iconv/ref/CP853 (contents, props changed) head/tools/test/iconv/ref/CP853-rev (contents, props changed) head/tools/test/iconv/ref/CP855 (contents, props changed) head/tools/test/iconv/ref/CP855-rev (contents, props changed) head/tools/test/iconv/ref/CP856 (contents, props changed) head/tools/test/iconv/ref/CP856-rev (contents, props changed) head/tools/test/iconv/ref/CP857 (contents, props changed) head/tools/test/iconv/ref/CP857-rev (contents, props changed) head/tools/test/iconv/ref/CP858 (contents, props changed) head/tools/test/iconv/ref/CP858-rev (contents, props changed) head/tools/test/iconv/ref/CP860 (contents, props changed) head/tools/test/iconv/ref/CP860-rev (contents, props changed) head/tools/test/iconv/ref/CP861 (contents, props changed) head/tools/test/iconv/ref/CP861-rev (contents, props changed) head/tools/test/iconv/ref/CP862 (contents, props changed) head/tools/test/iconv/ref/CP862-rev (contents, props changed) head/tools/test/iconv/ref/CP863 (contents, props changed) head/tools/test/iconv/ref/CP863-rev (contents, props changed) head/tools/test/iconv/ref/CP864 (contents, props changed) head/tools/test/iconv/ref/CP864-rev (contents, props changed) head/tools/test/iconv/ref/CP865 (contents, props changed) head/tools/test/iconv/ref/CP865-rev (contents, props changed) head/tools/test/iconv/ref/CP866 (contents, props changed) head/tools/test/iconv/ref/CP866-rev (contents, props changed) head/tools/test/iconv/ref/CP869 (contents, props changed) head/tools/test/iconv/ref/CP869-rev (contents, props changed) head/tools/test/iconv/ref/CP874 (contents, props changed) head/tools/test/iconv/ref/CP874-rev (contents, props changed) head/tools/test/iconv/ref/CP922 (contents, props changed) head/tools/test/iconv/ref/CP922-rev (contents, props changed) head/tools/test/iconv/ref/CP932 (contents, props changed) head/tools/test/iconv/ref/CP932-rev (contents, props changed) head/tools/test/iconv/ref/CP936 (contents, props changed) head/tools/test/iconv/ref/CP936-rev (contents, props changed) head/tools/test/iconv/ref/CP943 (contents, props changed) head/tools/test/iconv/ref/CP943-rev (contents, props changed) head/tools/test/iconv/ref/CP949 (contents, props changed) head/tools/test/iconv/ref/CP949-rev (contents, props changed) head/tools/test/iconv/ref/CP950 (contents, props changed) head/tools/test/iconv/ref/CP950-rev (contents, props changed) head/tools/test/iconv/ref/DEC-HANYU (contents, props changed) head/tools/test/iconv/ref/DEC-HANYU-rev (contents, props changed) head/tools/test/iconv/ref/EUC-CN (contents, props changed) head/tools/test/iconv/ref/EUC-CN-rev (contents, props changed) head/tools/test/iconv/ref/EUC-JIS-2004 (contents, props changed) head/tools/test/iconv/ref/EUC-JIS-2004-rev (contents, props changed) head/tools/test/iconv/ref/EUC-JP (contents, props changed) head/tools/test/iconv/ref/EUC-JP-rev (contents, props changed) head/tools/test/iconv/ref/EUC-KR (contents, props changed) head/tools/test/iconv/ref/EUC-KR-rev (contents, props changed) head/tools/test/iconv/ref/EUC-TW (contents, props changed) head/tools/test/iconv/ref/EUC-TW-rev (contents, props changed) head/tools/test/iconv/ref/GB18030 (contents, props changed) head/tools/test/iconv/ref/GB18030-rev (contents, props changed) head/tools/test/iconv/ref/GB2312 (contents, props changed) head/tools/test/iconv/ref/GB2312-rev (contents, props changed) head/tools/test/iconv/ref/GBK (contents, props changed) head/tools/test/iconv/ref/GBK-rev (contents, props changed) head/tools/test/iconv/ref/GEORGIAN-ACADEMY (contents, props changed) head/tools/test/iconv/ref/GEORGIAN-ACADEMY-rev (contents, props changed) head/tools/test/iconv/ref/GEORGIAN-PS (contents, props changed) head/tools/test/iconv/ref/GEORGIAN-PS-rev (contents, props changed) head/tools/test/iconv/ref/HP-ROMAN8 (contents, props changed) head/tools/test/iconv/ref/HP-ROMAN8-rev (contents, props changed) head/tools/test/iconv/ref/HZ (contents, props changed) head/tools/test/iconv/ref/HZ-rev (contents, props changed) head/tools/test/iconv/ref/ISO-2022-CN (contents, props changed) head/tools/test/iconv/ref/ISO-2022-CN-EXT (contents, props changed) head/tools/test/iconv/ref/ISO-2022-CN-EXT-rev (contents, props changed) head/tools/test/iconv/ref/ISO-2022-CN-rev (contents, props changed) head/tools/test/iconv/ref/ISO-2022-JP (contents, props changed) head/tools/test/iconv/ref/ISO-2022-JP-1 (contents, props changed) head/tools/test/iconv/ref/ISO-2022-JP-1-rev (contents, props changed) head/tools/test/iconv/ref/ISO-2022-JP-2 (contents, props changed) head/tools/test/iconv/ref/ISO-2022-JP-2-rev (contents, props changed) head/tools/test/iconv/ref/ISO-2022-JP-2004 (contents, props changed) head/tools/test/iconv/ref/ISO-2022-JP-2004-rev (contents, props changed) head/tools/test/iconv/ref/ISO-2022-JP-rev (contents, props changed) head/tools/test/iconv/ref/ISO-2022-KR (contents, props changed) head/tools/test/iconv/ref/ISO-2022-KR-rev (contents, props changed) head/tools/test/iconv/ref/ISO-IR-14 (contents, props changed) head/tools/test/iconv/ref/ISO-IR-14-rev (contents, props changed) head/tools/test/iconv/ref/ISO-IR-165 (contents, props changed) head/tools/test/iconv/ref/ISO-IR-165-rev (contents, props changed) head/tools/test/iconv/ref/ISO-IR-57 (contents, props changed) head/tools/test/iconv/ref/ISO-IR-57-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-1 (contents, props changed) head/tools/test/iconv/ref/ISO8859-1-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-10 (contents, props changed) head/tools/test/iconv/ref/ISO8859-10-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-11 (contents, props changed) head/tools/test/iconv/ref/ISO8859-11-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-13 (contents, props changed) head/tools/test/iconv/ref/ISO8859-13-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-14 (contents, props changed) head/tools/test/iconv/ref/ISO8859-14-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-15 (contents, props changed) head/tools/test/iconv/ref/ISO8859-15-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-16 (contents, props changed) head/tools/test/iconv/ref/ISO8859-16-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-2 (contents, props changed) head/tools/test/iconv/ref/ISO8859-2-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-3 (contents, props changed) head/tools/test/iconv/ref/ISO8859-3-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-4 (contents, props changed) head/tools/test/iconv/ref/ISO8859-4-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-5 (contents, props changed) head/tools/test/iconv/ref/ISO8859-5-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-6 (contents, props changed) head/tools/test/iconv/ref/ISO8859-6-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-7 (contents, props changed) head/tools/test/iconv/ref/ISO8859-7-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-8 (contents, props changed) head/tools/test/iconv/ref/ISO8859-8-rev (contents, props changed) head/tools/test/iconv/ref/ISO8859-9 (contents, props changed) head/tools/test/iconv/ref/ISO8859-9-rev (contents, props changed) head/tools/test/iconv/ref/JAVA (contents, props changed) head/tools/test/iconv/ref/JAVA-rev (contents, props changed) head/tools/test/iconv/ref/JIS_X0201 (contents, props changed) head/tools/test/iconv/ref/JIS_X0201-rev (contents, props changed) head/tools/test/iconv/ref/JIS_X0208-1990 (contents, props changed) head/tools/test/iconv/ref/JIS_X0208-1990-rev (contents, props changed) head/tools/test/iconv/ref/JOHAB (contents, props changed) head/tools/test/iconv/ref/JOHAB-rev (contents, props changed) head/tools/test/iconv/ref/KOI8-R (contents, props changed) head/tools/test/iconv/ref/KOI8-R-rev (contents, props changed) head/tools/test/iconv/ref/KOI8-RU (contents, props changed) head/tools/test/iconv/ref/KOI8-RU-rev (contents, props changed) head/tools/test/iconv/ref/KOI8-T (contents, props changed) head/tools/test/iconv/ref/KOI8-T-rev (contents, props changed) head/tools/test/iconv/ref/KOI8-U (contents, props changed) head/tools/test/iconv/ref/KOI8-U-rev (contents, props changed) head/tools/test/iconv/ref/KZ-1048 (contents, props changed) head/tools/test/iconv/ref/KZ-1048-rev (contents, props changed) head/tools/test/iconv/ref/MACARABIC (contents, props changed) head/tools/test/iconv/ref/MACARABIC-rev (contents, props changed) head/tools/test/iconv/ref/MACCENTRALEUROPE (contents, props changed) head/tools/test/iconv/ref/MACCENTRALEUROPE-rev (contents, props changed) head/tools/test/iconv/ref/MACCROATIAN (contents, props changed) head/tools/test/iconv/ref/MACCROATIAN-rev (contents, props changed) head/tools/test/iconv/ref/MACCYRILLIC (contents, props changed) head/tools/test/iconv/ref/MACCYRILLIC-rev (contents, props changed) head/tools/test/iconv/ref/MACGREEK (contents, props changed) head/tools/test/iconv/ref/MACGREEK-rev (contents, props changed) head/tools/test/iconv/ref/MACHEBREW (contents, props changed) head/tools/test/iconv/ref/MACHEBREW-rev (contents, props changed) head/tools/test/iconv/ref/MACICELAND (contents, props changed) head/tools/test/iconv/ref/MACICELAND-rev (contents, props changed) head/tools/test/iconv/ref/MACROMAN (contents, props changed) head/tools/test/iconv/ref/MACROMAN-rev (contents, props changed) head/tools/test/iconv/ref/MACROMANIA (contents, props changed) head/tools/test/iconv/ref/MACROMANIA-rev (contents, props changed) head/tools/test/iconv/ref/MACTHAI (contents, props changed) head/tools/test/iconv/ref/MACTHAI-rev (contents, props changed) head/tools/test/iconv/ref/MACTURKISH (contents, props changed) head/tools/test/iconv/ref/MACTURKISH-rev (contents, props changed) head/tools/test/iconv/ref/MACUKRAINE (contents, props changed) head/tools/test/iconv/ref/MACUKRAINE-rev (contents, props changed) head/tools/test/iconv/ref/MULELAO-1 (contents, props changed) head/tools/test/iconv/ref/MULELAO-1-rev (contents, props changed) head/tools/test/iconv/ref/NEXTSTEP (contents, props changed) head/tools/test/iconv/ref/NEXTSTEP-rev (contents, props changed) head/tools/test/iconv/ref/PT154 (contents, props changed) head/tools/test/iconv/ref/PT154-rev (contents, props changed) head/tools/test/iconv/ref/RISCOS-LATIN1 (contents, props changed) head/tools/test/iconv/ref/RISCOS-LATIN1-rev (contents, props changed) head/tools/test/iconv/ref/SHIFT_JIS (contents, props changed) head/tools/test/iconv/ref/SHIFT_JIS-rev (contents, props changed) head/tools/test/iconv/ref/TCVN5712-1 (contents, props changed) head/tools/test/iconv/ref/TCVN5712-1-rev (contents, props changed) head/tools/test/iconv/ref/TDS565 (contents, props changed) head/tools/test/iconv/ref/TDS565-rev (contents, props changed) head/tools/test/iconv/ref/UTF-16BE (contents, props changed) head/tools/test/iconv/ref/UTF-16BE-rev (contents, props changed) head/tools/test/iconv/ref/UTF-16LE (contents, props changed) head/tools/test/iconv/ref/UTF-16LE-rev (contents, props changed) head/tools/test/iconv/ref/UTF-32BE (contents, props changed) head/tools/test/iconv/ref/UTF-32BE-rev (contents, props changed) head/tools/test/iconv/ref/UTF-32LE (contents, props changed) head/tools/test/iconv/ref/UTF-32LE-rev (contents, props changed) head/tools/test/iconv/ref/UTF-7 (contents, props changed) head/tools/test/iconv/ref/UTF-7-rev (contents, props changed) head/tools/test/iconv/ref/UTF-8 (contents, props changed) head/tools/test/iconv/ref/UTF-8-rev (contents, props changed) head/tools/test/iconv/ref/VISCII (contents, props changed) head/tools/test/iconv/ref/VISCII-rev (contents, props changed) head/tools/test/iconv/refgen/ head/tools/test/iconv/refgen/Makefile (contents, props changed) head/tools/test/iconv/tablegen/ head/tools/test/iconv/tablegen/Makefile (contents, props changed) head/tools/test/iconv/tablegen/cmp.sh (contents, props changed) head/tools/test/iconv/tablegen/tablegen.c (contents, props changed) head/usr.bin/iconv/ head/usr.bin/iconv/Makefile (contents, props changed) head/usr.bin/iconv/iconv.1 (contents, props changed) head/usr.bin/iconv/iconv.c (contents, props changed) head/usr.bin/mkcsmapper/ head/usr.bin/mkcsmapper/Makefile (contents, props changed) head/usr.bin/mkcsmapper/Makefile.inc (contents, props changed) head/usr.bin/mkcsmapper/ldef.h (contents, props changed) head/usr.bin/mkcsmapper/lex.l (contents, props changed) head/usr.bin/mkcsmapper/mkcsmapper.1 (contents, props changed) head/usr.bin/mkcsmapper/yacc.y (contents, props changed) head/usr.bin/mkcsmapper_static/ head/usr.bin/mkcsmapper_static/Makefile (contents, props changed) head/usr.bin/mkesdb/ head/usr.bin/mkesdb/Makefile (contents, props changed) head/usr.bin/mkesdb/Makefile.inc (contents, props changed) head/usr.bin/mkesdb/ldef.h (contents, props changed) head/usr.bin/mkesdb/lex.l (contents, props changed) head/usr.bin/mkesdb/mkesdb.1 (contents, props changed) head/usr.bin/mkesdb/yacc.y (contents, props changed) head/usr.bin/mkesdb_static/ head/usr.bin/mkesdb_static/Makefile (contents, props changed) Modified: head/Makefile.inc1 head/etc/mtree/BSD.usr.dist head/include/Makefile head/include/paths.h head/lib/Makefile head/lib/libc/Makefile head/share/Makefile head/share/mk/bsd.own.mk head/usr.bin/Makefile Modified: head/Makefile.inc1 ============================================================================== --- head/Makefile.inc1 Thu Feb 24 23:51:59 2011 (r219018) +++ head/Makefile.inc1 Fri Feb 25 00:04:39 2011 (r219019) @@ -452,7 +452,7 @@ build32: @echo "--------------------------------------------------------------" @echo ">>> stage 5.1: building 32 bit shim libraries" @echo "--------------------------------------------------------------" - mkdir -p ${LIB32TMP}/usr/lib32 + mkdir -p ${LIB32TMP}/usr/include mtree -deU -f ${.CURDIR}/etc/mtree/BSD.usr.dist \ -p ${LIB32TMP}/usr >/dev/null mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \ @@ -496,13 +496,6 @@ build32: .endfor distribute32 install32: -.if make(distribute32) - mkdir -p ${DISTDIR}/${DISTRIBUTION}/usr/lib32 # XXX add to mtree - mkdir -p ${DISTDIR}/${DISTRIBUTION}/usr/lib32/dtrace # XXX add to mtree -.else - mkdir -p ${DESTDIR}/usr/lib32 # XXX add to mtree - mkdir -p ${DESTDIR}/usr/lib32/dtrace # XXX add to mtree -.endif cd ${.CURDIR}/lib; ${LIB32IMAKE} ${.TARGET:S/32$//} .if ${MK_CDDL} != "no" cd ${.CURDIR}/cddl/lib; ${LIB32IMAKE} ${.TARGET:S/32$//} @@ -1048,7 +1041,9 @@ build-tools: ${_aicasm} \ usr.bin/awk \ lib/libmagic \ - usr.sbin/sysinstall + usr.sbin/sysinstall \ + usr.bin/mkesdb_static \ + usr.bin/mkcsmapper_static ${_+_}@${ECHODIR} "===> ${_tool} (obj,build-tools)"; \ cd ${.CURDIR}/${_tool}; \ ${MAKE} DIRPRFX=${_tool}/ obj; \ Modified: head/etc/mtree/BSD.usr.dist ============================================================================== --- head/etc/mtree/BSD.usr.dist Thu Feb 24 23:51:59 2011 (r219018) +++ head/etc/mtree/BSD.usr.dist Fri Feb 25 00:04:39 2011 (r219019) @@ -22,6 +22,14 @@ .. engines .. + i18n + .. + .. + lib32 + dtrace + .. + i18n + .. .. libdata gcc @@ -311,6 +319,78 @@ .. .. info + .. + i18n + csmapper + APPLE + .. + AST + .. + BIG5 + .. + CNS + .. + CP + .. + EBCDIC + .. + GB + .. + GEORGIAN + .. + ISO-8859 + .. + ISO646 + .. + JIS + .. + KAZAKH + .. + KOI + .. + KS + .. + MISC + .. + TCVN + .. + .. + esdb + APPLE + .. + AST + .. + BIG5 + .. + CP + .. + DEC + .. + EBCDIC + .. + EUC + .. + GB + .. + GEORGIAN + .. + ISO-2022 + .. + ISO-8859 + .. + ISO646 + .. + KAZAKH + .. + KOI + .. + MISC + .. + TCVN + .. + UTF + .. + .. .. locale UTF-8 Modified: head/include/Makefile ============================================================================== --- head/include/Makefile Thu Feb 24 23:51:59 2011 (r219018) +++ head/include/Makefile Fri Feb 25 00:04:39 2011 (r219019) @@ -68,6 +68,10 @@ _dev_ieee488= dev/ieee488 INCS+= hesiod.h .endif +.if ${MK_ICONV} != "no" +INCS+= iconv.h +.endif + .if ${MK_BLUETOOTH} != "no" LSUBSUBDIRS+= netgraph/bluetooth/include .endif Added: head/include/iconv.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/include/iconv.h Fri Feb 25 00:04:39 2011 (r219019) @@ -0,0 +1,138 @@ +/* $FreeBSD$ */ +/* $NetBSD: iconv.h,v 1.6 2005/02/03 04:39:32 perry Exp $ */ + +/*- + * Copyright (c) 2003 Citrus Project, + * Copyright (c) 2009, 2010 Gabor Kovesdan + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + */ + +#ifndef _ICONV_H_ +#define _ICONV_H_ + +#include +#include + +#include +#include + +#include +#include + +#define iconv_open libiconv_open +#define iconv_close libiconv_close +#define iconv(cd, in, insize, out, outsize) libiconv(cd, __DECONST(char **, in), insize, out, outsize) +#define iconv_t libiconv_t + +struct __tag_iconv_t; +typedef struct __tag_iconv_t *iconv_t; + +__BEGIN_DECLS +iconv_t libiconv_open(const char *, const char *); +size_t libiconv(iconv_t, char ** __restrict, + size_t * __restrict, char ** __restrict, + size_t * __restrict); +int libiconv_close(iconv_t); +/* + * non-portable interfaces for iconv + */ +int __iconv_get_list(char ***, size_t *, bool); +void __iconv_free_list(char **, size_t); +size_t __iconv(iconv_t, char **, size_t *, char **, + size_t *, __uint32_t, size_t *); +#define __ICONV_F_HIDE_INVALID 0x0001 + +/* + * GNU interfaces for iconv + */ +#define iconv_open_into libiconv_open_into +#define iconvctl libiconvctl +#define iconvlist libiconvlist + +/* We have iconvctl() */ +#define _LIBICONV_VERSION 0x0108 +extern int _libiconv_version; + +typedef struct { + void *spaceholder[64]; +} iconv_allocation_t; + +int iconv_open_into(const char *, const char *, iconv_allocation_t *); +void libiconv_set_relocation_prefix (const char *orig_prefix, + const char *curr_prefix); + +/* + * iconvctl() request macros + */ +#define ICONV_TRIVIALP 0 +#define ICONV_GET_TRANSLITERATE 1 +#define ICONV_SET_TRANSLITERATE 2 +#define ICONV_GET_DISCARD_ILSEQ 3 +#define ICONV_SET_DISCARD_ILSEQ 4 +#define ICONV_SET_HOOKS 5 +#define ICONV_SET_FALLBACKS 6 + +typedef void (*iconv_unicode_char_hook) (unsigned int mbr, void *data); +typedef void (*iconv_wide_char_hook) (wchar_t wc, void *data); + +struct iconv_hooks { + iconv_unicode_char_hook uc_hook; + iconv_wide_char_hook wc_hook; + void *data; +}; + +/* + * Fallbacks aren't supported but type definitions are provided for + * source compatibility. + */ +typedef void (*iconv_unicode_mb_to_uc_fallback) (const char*, + size_t, void (*write_replacement) (const unsigned int *, + size_t, void*), void*, void*); +typedef void (*iconv_unicode_uc_to_mb_fallback) (unsigned int, + void (*write_replacement) (const char *, size_t, void*), + void*, void*); +typedef void (*iconv_wchar_mb_to_wc_fallback) (const char*, size_t, + void (*write_replacement) (const wchar_t *, size_t, void*), + void*, void*); +typedef void (*iconv_wchar_wc_to_mb_fallback) (wchar_t, + void (*write_replacement) (const char *, size_t, void*), + void*, void*); + +struct iconv_fallbacks { + iconv_unicode_mb_to_uc_fallback mb_to_uc_fallback; + iconv_unicode_uc_to_mb_fallback uc_to_mb_fallback; + iconv_wchar_mb_to_wc_fallback mb_to_wc_fallback; + iconv_wchar_wc_to_mb_fallback wc_to_mb_fallback; + void *data; +}; + + +void iconvlist(int (*do_one) (unsigned int, const char * const *, + void *), void *); +const char *iconv_canonicalize(const char *); +int iconvctl(iconv_t, int, void *); +__END_DECLS + +#endif /* !_ICONV_H_ */ Modified: head/include/paths.h ============================================================================== --- head/include/paths.h Thu Feb 24 23:51:59 2011 (r219018) +++ head/include/paths.h Fri Feb 25 00:04:39 2011 (r219019) @@ -49,14 +49,21 @@ #define _PATH_CONSOLE "/dev/console" #define _PATH_CP "/bin/cp" #define _PATH_CSHELL "/bin/csh" +#define _PATH_CSMAPPER "/usr/share/i18n/csmapper" #define _PATH_DEFTAPE "/dev/sa0" #define _PATH_DEVNULL "/dev/null" #define _PATH_DEVZERO "/dev/zero" #define _PATH_DRUM "/dev/drum" +#define _PATH_ESDB "/usr/share/i18n/esdb" #define _PATH_ETC "/etc" #define _PATH_FTPUSERS "/etc/ftpusers" #define _PATH_FWMEM "/dev/fwmem" #define _PATH_HALT "/sbin/halt" +#ifdef COMPAT_32BIT +#define _PATH_I18NMODULE "/usr/lib32/i18n" +#else +#define _PATH_I18NMODULE "/usr/lib/i18n" +#endif #define _PATH_IFCONFIG "/sbin/ifconfig" #define _PATH_KMEM "/dev/kmem" #define _PATH_LIBMAP_CONF "/etc/libmap.conf" Modified: head/lib/Makefile ============================================================================== --- head/lib/Makefile Thu Feb 24 23:51:59 2011 (r219018) +++ head/lib/Makefile Fri Feb 25 00:04:39 2011 (r219019) @@ -37,6 +37,7 @@ SUBDIR_ORDERED= ${_csu} \ libcompiler_rt \ libcrypt \ libelf \ + ${_libiconv_modules} \ libkvm \ msun \ libmd \ @@ -156,6 +157,10 @@ _libgssapi= libgssapi _librpcsec_gss= librpcsec_gss .endif +.if ${MK_ICONV} != "no" +_libiconv_modules= libiconv_modules +.endif + .if ${MK_IPX} != "no" _libipx= libipx .endif Modified: head/lib/libc/Makefile ============================================================================== --- head/lib/libc/Makefile Thu Feb 24 23:51:59 2011 (r219018) +++ head/lib/libc/Makefile Fri Feb 25 00:04:39 2011 (r219019) @@ -57,6 +57,9 @@ NOASM= .include "${.CURDIR}/gdtoa/Makefile.inc" .include "${.CURDIR}/gen/Makefile.inc" .include "${.CURDIR}/gmon/Makefile.inc" +.if ${MK_ICONV} != "no" +.include "${.CURDIR}/iconv/Makefile.inc" +.endif .include "${.CURDIR}/inet/Makefile.inc" .include "${.CURDIR}/isc/Makefile.inc" .include "${.CURDIR}/locale/Makefile.inc" Added: head/lib/libc/iconv/Makefile.inc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libc/iconv/Makefile.inc Fri Feb 25 00:04:39 2011 (r219019) @@ -0,0 +1,18 @@ +# $FreeBSD$ + +# iconv sources +.PATH: ${.CURDIR}/iconv + +MAN+= iconv.3 iconvctl.3 iconv_canonicalize.3 iconvlist.3 __iconv_get_list.3 +MLINKS+= iconv.3 iconv_open.3 \ + iconv.3 iconv_open_into.3 \ + iconv.3 iconv_close.3 \ + iconv.3 __iconv.3 \ + __iconv_get_list.3 __iconv_free_list.3 +SRCS+= citrus_bcs.c citrus_bcs_strtol.c citrus_bcs_strtoul.c \ + citrus_csmapper.c citrus_db.c citrus_db_factory.c citrus_db_hash.c \ + citrus_esdb.c citrus_hash.c citrus_iconv.c citrus_lookup.c \ + citrus_lookup_factory.c citrus_mapper.c citrus_memstream.c \ + citrus_mmap.c citrus_module.c citrus_none.c citrus_pivot_factory.c \ + citrus_prop.c citrus_stdenc.c iconv.c +SYM_MAPS+= ${.CURDIR}/iconv/Symbol.map Added: head/lib/libc/iconv/Symbol.map ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libc/iconv/Symbol.map Fri Feb 25 00:04:39 2011 (r219019) @@ -0,0 +1,101 @@ +/* + * $FreeBSD$ + */ + +FBSD_1.2 { + __iconv; + __iconv_free_list; + __iconv_get_list; + _citrus_bcs_convert_to_lower; + _citrus_bcs_convert_to_upper; + _citrus_bcs_isalnum; + _citrus_bcs_isalpha; + _citrus_bcs_isblank; + _citrus_bcs_isdigit; + _citrus_bcs_iseol; + _citrus_bcs_islower; + _citrus_bcs_isspace; + _citrus_bcs_isupper; + _citrus_bcs_isxdigit; + _citrus_bcs_skip_nonws; + _citrus_bcs_skip_nonws_len; + _citrus_bcs_skip_ws; + _citrus_bcs_skip_ws_len; + _citrus_bcs_strcasecmp; + _citrus_bcs_strncasecmp; + _citrus_bcs_strtol; + _citrus_bcs_strtoul; + _citrus_bcs_tolower; + _citrus_bcs_toupper; + _citrus_bcs_trunc_ws_len; + _citrus_csmapper_open; + _citrus_csmapper_close; + _citrus_db_factory_add_by_string; + _citrus_db_factory_add_string_by_string; + _citrus_db_factory_add32_by_string; + _citrus_db_factory_calc_size; + _citrus_db_factory_create; + _citrus_db_factory_serialize; + _citrus_db_hash_std; + _citrus_db_close; + _citrus_db_get_entry; + _citrus_db_get_number_of_entries; + _citrus_db_lookup; + _citrus_db_lookup_by_string; + _citrus_db_lookup8_by_string; + _citrus_db_lookup16_by_string; + _citrus_db_lookup_string_by_string; + _citrus_db_open; + _citrus_esdb_close; + _citrus_esdb_open; + _citrus_lookup_factory_convert; + _citrus_map_file; + _citrus_mapper_close; + _citrus_mapper_convert; + _citrus_mapper_create_area; + _citrus_mapper_get_dst_max; + _citrus_mapper_get_src_max; + _citrus_mapper_get_state_size; + _citrus_mapper_init_state; + _citrus_mapper_open; + _citrus_mapper_open_direct; + _citrus_mapper_set_persistent; + _citrus_memory_stream_bind; + _citrus_memory_stream_chr; + _citrus_memory_stream_getc; + _citrus_memory_stream_getln; + _citrus_memory_stream_getln_region; + _citrus_memory_stream_getregion; + _citrus_memory_stream_iseof; + _citrus_memory_stream_matchline; + _citrus_memory_stream_peek; + _citrus_memory_stream_remainder; + _citrus_memory_stream_rewind; + _citrus_memory_stream_seek; + _citrus_memory_stream_skip_ws; + _citrus_memory_stream_tell; + _citrus_memory_stream_ungetc; + _citrus_pivot_factory_convert; + _citrus_prop_object_init; + _citrus_prop_object_uninit; + _citrus_prop_parse_variable; + _citrus_prop_read_bool; + _citrus_prop_read_character; + _citrus_prop_read_character_common; + _citrus_prop_read_element; + _citrus_prop_read_num; + _citrus_prop_read_str; + _citrus_prop_read_symbol; + _citrus_stdenc_close; + _citrus_stdenc_open; + _citrus_unmap_file; + _libiconv_version; + iconv_canonicalize; + libiconv; + libiconv_close; + libiconv_open; + libiconv_open_into; + libiconv_set_relocation_prefix; + libiconvctl; + libiconvlist; +}; Added: head/lib/libc/iconv/__iconv_get_list.3 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libc/iconv/__iconv_get_list.3 Fri Feb 25 00:04:39 2011 (r219019) @@ -0,0 +1,95 @@ +.\" Copyright (c) 2009 Gabor Kovesdan +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" Portions of this text are reprinted and reproduced in electronic form +.\" from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- +.\" Portable Operating System Interface (POSIX), The Open Group Base +.\" Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of +.\" Electrical and Electronics Engineers, Inc and The Open Group. In the +.\" event of any discrepancy between this version and the original IEEE and +.\" The Open Group Standard, the original IEEE and The Open Group Standard is +.\" the referee document. The original Standard can be obtained online at +.\" http://www.opengroup.org/unix/online.html. +.\" +.\" $FreeBSD$ +.\" +.Dd October 20, 2009 +.Dt __ICONV_GET_LIST 3 +.Os +.Sh NAME +.Nm __iconv_get_list +.Nm __iconv_free_list +.Nd retrieving a list of character encodings supported by +.Xr iconv 3 +.Sh LIBRARY +.Lb libc +.Sh SYNOPSIS +.In iconv.h +.Ft int +.Fn __iconv_get_list "char ***names" "size_t count" "bool paired" +.Ft void +.Fn __iconv_free_list "char **names" "size_t count" +.Sh DESCRIPTION +The +.Fn __iconv_get_list +function obtains a list of character encodings that are supported by the +.Xr iconv 3 +call. +The list of the encoding names will be stored in +.Fa names +and the number of the entries is stored in +.Fa count . +If the +.Fa paired +variable is true, the list will be arranged into +canonical/alias name pairs. +.Pp +The +.Fn __iconv_free_list +function is to free the allocated memory during the call of +.Fn __iconv_get_list . +.Sh RETURN VALUES +Upon successful completion +.Fn __iconv_get_list +returns 0 and set the +.Fa names +and +.Fa count +arguments. +Otherwise, \-1 is returned and errno is set to indicate the error. +.Sh SEE ALSO +.Xr iconv 3 , +.Xr iconvlist 3 +.Sh STANDARDS +The +.Nm __iconv_get_list +and +.Nm __iconv_free_list +functions are non-standard interfaces, which appeared in +the implementation of the Citrus Project. +The iconv implementation of the Citrus Project was adopted in +.Fx 9 . +.Sh AUTHORS +This manual page was written by +.An Gabor Kovesdan Aq gabor@FreeBSD.org . Added: head/lib/libc/iconv/_strtol.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libc/iconv/_strtol.h Fri Feb 25 00:04:39 2011 (r219019) @@ -0,0 +1,167 @@ +/* $FreeBSD$ */ +/* $NetBSD: _strtol.h,v 1.2 2009/05/20 22:03:29 christos Exp $ */ + +/*- + * Copyright (c) 1990, 1993 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * Original version ID: + * NetBSD: src/lib/libc/locale/_wcstol.h,v 1.2 2003/08/07 16:43:03 agc Exp + */ + +/* + * function template for strtol, strtoll and strtoimax. + * + * parameters: + * _FUNCNAME : function name + * __INT : return type + * __INT_MIN : lower limit of the return type + * __INT_MAX : upper limit of the return type + */ + +__INT +_FUNCNAME(const char *nptr, char **endptr, int base) +{ + const char *s; + __INT acc, cutoff; + unsigned char c; + int any, cutlim, i, neg; + + /* check base value */ + if (base && (base < 2 || base > 36)) { +#if !defined(_KERNEL) && !defined(_STANDALONE) + errno = EINVAL; + if (endptr != NULL) + /* LINTED interface specification */ + *endptr = __DECONST(void *, nptr); + return (0); +#else + panic("%s: invalid base %d", __func__, base); +#endif + } + + /* + * Skip white space and pick up leading +/- sign if any. + * If base is 0, allow 0x for hex and 0 for octal, else + * assume decimal; if base is already 16, allow 0x. + */ + s = nptr; + do { + c = *s++; + } while (isspace(c)); + if (c == '-') { + neg = 1; + c = *s++; + } else { + neg = 0; + if (c == '+') + c = *s++; + } + if ((base == 0 || base == 16) && + c == '0' && (*s == 'x' || *s == 'X')) { + c = s[1]; + s += 2; + base = 16; + } + if (base == 0) + base = (c == '0' ? 8 : 10); + + /* + * Compute the cutoff value between legal numbers and illegal + * numbers. That is the largest legal value, divided by the + * base. An input number that is greater than this value, if + * followed by a legal input character, is too big. One that + * is equal to this value may be valid or not; the limit + * between valid and invalid numbers is then based on the last + * digit. For instance, if the range for longs is + * [-2147483648..2147483647] and the input base is 10, + * cutoff will be set to 214748364 and cutlim to either + * 7 (neg==0) or 8 (neg==1), meaning that if we have accumulated + * a value > 214748364, or equal but the next digit is > 7 (or 8), + * the number is too big, and we will return a range error. + * + * Set any if any `digits' consumed; make it negative to indicate + * overflow. + */ + cutoff = (neg ? __INT_MIN : __INT_MAX); + cutlim = (int)(cutoff % base); + cutoff /= base; + if (neg) { + if (cutlim > 0) { + cutlim -= base; + cutoff += 1; + } + cutlim = -cutlim; + } + for (acc = 0, any = 0;; c = *s++) { + if (isdigit(c)) + i = c - '0'; + else if (isalpha(c)) + i = c - (isupper(c) ? 'A' - 10 : 'a' - 10); + else + break; + if (i >= base) + break; + if (any < 0) + continue; + if (neg) { + if (acc < cutoff || (acc == cutoff && i > cutlim)) { + acc = __INT_MIN; +#if !defined(_KERNEL) && !defined(_STANDALONE) + any = -1; + errno = ERANGE; +#else + any = 0; + break; +#endif + } else { + any = 1; + acc *= base; + acc -= i; + } + } else { + if (acc > cutoff || (acc == cutoff && i > cutlim)) { + acc = __INT_MAX; +#if !defined(_KERNEL) && !defined(_STANDALONE) + any = -1; + errno = ERANGE; +#else + any = 0; + break; +#endif + } else { + any = 1; + acc *= base; + acc += i; + } + } + } + if (endptr != NULL) + /* LINTED interface specification */ + *endptr = __DECONST(void *, any ? s - 1 : nptr); + return(acc); +} Added: head/lib/libc/iconv/_strtoul.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libc/iconv/_strtoul.h Fri Feb 25 00:04:39 2011 (r219019) @@ -0,0 +1,126 @@ +/* $FreeBSD$ */ +/* $NetBSD: _strtoul.h,v 1.1 2008/08/20 12:42:26 joerg Exp $ */ + +/*- + * Copyright (c) 1990, 1993 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * Original version ID: + * NetBSD: src/lib/libc/locale/_wcstoul.h,v 1.2 2003/08/07 16:43:03 agc Exp + */ + +/* + * function template for strtoul, strtoull and strtoumax. + * + * parameters: + * _FUNCNAME : function name + * __UINT : return type + * __UINT_MAX : upper limit of the return type + */ + +__UINT +_FUNCNAME(const char *nptr, char **endptr, int base) +{ + const char *s; + __UINT acc, cutoff; + unsigned char c; + int any, cutlim, i, neg; + + /* check base value */ + if (base && (base < 2 || base > 36)) { +#if !defined(_KERNEL) && !defined(_STANDALONE) + errno = EINVAL; + return (0); +#else + panic("%s: invalid base %d", __func__, base); +#endif + } + + /* + * Skip white space and pick up leading +/- sign if any. + * If base is 0, allow 0x for hex and 0 for octal, else + * assume decimal; if base is already 16, allow 0x. + */ + s = nptr; + do { + c = *s++; + } while (isspace(c)); + if (c == '-') { + neg = 1; + c = *s++; + } else { + neg = 0; + if (c == '+') + c = *s++; + } + if ((base == 0 || base == 16) && + c == '0' && (*s == 'x' || *s == 'X')) { + c = s[1]; + s += 2; + base = 16; + } + if (base == 0) + base = (c == '0' ? 8 : 10); + + /* + * See strtol for comments as to the logic used. + */ + cutoff = __UINT_MAX / (__UINT)base; + cutlim = (int)(__UINT_MAX % (__UINT)base); + for (acc = 0, any = 0;; c = *s++) { + if (isdigit(c)) + i = c - '0'; + else if (isalpha(c)) + i = c - (isupper(c) ? 'A' - 10 : 'a' - 10); + else + break; + if (i >= base) + break; + if (any < 0) + continue; + if (acc > cutoff || (acc == cutoff && i > cutlim)) { + acc = __UINT_MAX; +#if !defined(_KERNEL) && !defined(_STANDALONE) + any = -1; + errno = ERANGE; +#else + any = 0; + break; +#endif + } else { + any = 1; + acc *= (__UINT)base; + acc += i; + } + } + if (neg && any > 0) + acc = -acc; + if (endptr != NULL) + /* LINTED interface specification */ + *endptr = __DECONST(void *, any ? s - 1 : nptr); + return (acc); +} Added: head/lib/libc/iconv/citrus_aliasname_local.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libc/iconv/citrus_aliasname_local.h Fri Feb 25 00:04:39 2011 (r219019) @@ -0,0 +1,49 @@ +/* $FreeBSD$ */ +/* $NetBSD: citrus_aliasname_local.h,v 1.2 2009/01/11 02:46:24 christos Exp $ */ + +/*- + * Copyright (c)2008 Citrus Project, + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#ifndef _CITRUS_ALIASNAME_LOCAL_H_ +#define _CITRUS_ALIASNAME_LOCAL_H_ + +static __inline const char * +__unaliasname(const char *dbname, const char *alias, + void *buf, size_t bufsize) +{ + + return (_lookup_simple(dbname, alias, + buf, bufsize, _LOOKUP_CASE_SENSITIVE)); +} + +static __inline int +__isforcemapping(const char *name) +{ + + return (_bcs_strcasecmp("/force", name)); +} + +#endif /*_CITRUS_ALIASNAME_LOCAL_H_*/ Added: head/lib/libc/iconv/citrus_bcs.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libc/iconv/citrus_bcs.c Fri Feb 25 00:04:39 2011 (r219019) @@ -0,0 +1,168 @@ +/* $FreeBSD$ */ +/* $NetBSD: citrus_bcs.c,v 1.5 2005/05/14 17:55:42 tshiozak Exp $ */ + +/*- + * Copyright (c)2003 Citrus Project, + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#include + +#include +#include + +#include "citrus_namespace.h" +#include "citrus_bcs.h" + +/* + * case insensitive comparison between two C strings. + */ +int +_citrus_bcs_strcasecmp(const char * __restrict str1, + const char * __restrict str2) +{ + int c1, c2; + + c1 = c2 = 1; + + while (c1 && c2 && c1 == c2) { + c1 = _bcs_toupper(*str1++); + c2 = _bcs_toupper(*str2++); + } + + return ((c1 == c2) ? 0 : ((c1 > c2) ? 1 : -1)); +} + +/* + * case insensitive comparison between two C strings with limitation of length. + */ +int +_citrus_bcs_strncasecmp(const char * __restrict str1, + const char * __restrict str2, size_t sz) +{ + int c1, c2; + + c1 = c2 = 1; + + while (c1 && c2 && c1 == c2 && sz != 0) { + c1 = _bcs_toupper(*str1++); + c2 = _bcs_toupper(*str2++); + sz--; + } + + return ((c1 == c2) ? 0 : ((c1 > c2) ? 1 : -1)); +} + +/* + * skip white space characters. + */ +const char * *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 00:10:27 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2145F106566C; Fri, 25 Feb 2011 00:10:27 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 067A68FC18; Fri, 25 Feb 2011 00:10:27 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1P0AQxm069663; Fri, 25 Feb 2011 00:10:26 GMT (envelope-from gabor@svn.freebsd.org) Received: (from gabor@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1P0AQhC069660; Fri, 25 Feb 2011 00:10:26 GMT (envelope-from gabor@svn.freebsd.org) Message-Id: <201102250010.p1P0AQhC069660@svn.freebsd.org> From: Gabor Kovesdan Date: Fri, 25 Feb 2011 00:10:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219020 - in head/tools: build/options test/iconv X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 00:10:27 -0000 Author: gabor Date: Fri Feb 25 00:10:26 2011 New Revision: 219020 URL: http://svn.freebsd.org/changeset/base/219020 Log: - Add two more iconv-related files, which were left out from previous commit Approved by: delphij (mentor) Added: head/tools/build/options/WITH_ICONV (contents, props changed) head/tools/test/iconv/const-gnuism.c (contents, props changed) Added: head/tools/build/options/WITH_ICONV ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/build/options/WITH_ICONV Fri Feb 25 00:10:26 2011 (r219020) @@ -0,0 +1,2 @@ +.\" $FreeBSD$ +Set to build iconv as part of libc. Added: head/tools/test/iconv/const-gnuism.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/test/iconv/const-gnuism.c Fri Feb 25 00:10:26 2011 (r219020) @@ -0,0 +1,70 @@ +/*- + * Copyright (C) 2010 Gabor Kovesdan + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#include +__FBSDID("$FreeBSD$"); + +#include + +#include +#include +#include +#include + +int +main(void) +{ + iconv_t cd; + size_t inbytes, outbytes; + char *str1 = "FOOBAR"; + const char *str2 = "FOOBAR"; + char ** in1; + const char ** in2 = &str2; + char *out1, *out2; + + inbytes = outbytes = strlen("FOOBAR"); + + if ((cd = iconv_open("UTF-8", "ASCII")) == (iconv_t)-1) + err(1, NULL); + + if ((out2 = malloc(inbytes)) == NULL) + err(1, NULL); + + if (iconv(cd, in2, &inbytes, &out2, &outbytes) == -1) + err(1, NULL); + + in1 = &str1; + inbytes = outbytes = strlen("FOOBAR"); + + if ((out1 = malloc(inbytes)) == NULL) + err(1, NULL); + + if (iconv(cd, in1, &inbytes, &out1, &outbytes) == -1) + err(1, NULL); + + return (EXIT_SUCCESS); + +} From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 00:11:35 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D752106564A; Fri, 25 Feb 2011 00:11:35 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4319E8FC28; Fri, 25 Feb 2011 00:11:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1P0BZQm069821; Fri, 25 Feb 2011 00:11:35 GMT (envelope-from gabor@svn.freebsd.org) Received: (from gabor@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1P0BZIQ069819; Fri, 25 Feb 2011 00:11:35 GMT (envelope-from gabor@svn.freebsd.org) Message-Id: <201102250011.p1P0BZIQ069819@svn.freebsd.org> From: Gabor Kovesdan Date: Fri, 25 Feb 2011 00:11:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-svnadmin@freebsd.org X-SVN-Group: svnadmin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219021 - svnadmin/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 00:11:35 -0000 Author: gabor Date: Fri Feb 25 00:11:34 2011 New Revision: 219021 URL: http://svn.freebsd.org/changeset/base/219021 Log: - Restore my normal size limit Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf ============================================================================== --- svnadmin/conf/sizelimit.conf Fri Feb 25 00:10:26 2011 (r219020) +++ svnadmin/conf/sizelimit.conf Fri Feb 25 00:11:34 2011 (r219021) @@ -33,4 +33,3 @@ kmacy jb jeff dim -gabor From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 02:44:49 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72A12106566B; Fri, 25 Feb 2011 02:44:49 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail08.syd.optusnet.com.au (mail08.syd.optusnet.com.au [211.29.132.189]) by mx1.freebsd.org (Postfix) with ESMTP id EA31E8FC0C; Fri, 25 Feb 2011 02:44:48 +0000 (UTC) Received: from c122-107-114-89.carlnfd1.nsw.optusnet.com.au (c122-107-114-89.carlnfd1.nsw.optusnet.com.au [122.107.114.89]) by mail08.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p1P2iOm5014946 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Feb 2011 13:44:25 +1100 Date: Fri, 25 Feb 2011 13:44:24 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Bruce Evans In-Reply-To: <20110225085508.O1276@besplex.bde.org> Message-ID: <20110225131532.W938@besplex.bde.org> References: <201102241613.p1OGDXpM047076@svn.freebsd.org> <201102241347.39267.jhb@freebsd.org> <5965E5EC-A725-423A-9420-B84AD09993DC@elvandar.org> <201102241435.09011.jhb@freebsd.org> <20110225070237.F983@besplex.bde.org> <20110225085508.O1276@besplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Remko Lodder , John Baldwin , svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, davidxu@FreeBSD.org, svn-src-head@FreeBSD.org, Remko Lodder Subject: Re: svn commit: r219003 - head/usr.bin/nice X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 02:44:49 -0000 On Fri, 25 Feb 2011, Bruce Evans wrote: > On Fri, 25 Feb 2011, Bruce Evans wrote: > >> On Thu, 24 Feb 2011, John Baldwin wrote: >> >>> On Thursday, February 24, 2011 2:03:33 pm Remko Lodder wrote: >>>> >> [contex restored: >> +A priority of 19 or 20 will prevent a process from taking any cycles from >> +others at nice 0 or better.] >> >>>> On Feb 24, 2011, at 7:47 PM, John Baldwin wrote: >>>> >>>>> Are you sure that this statement applies to both ULE and 4BSD? The two >>>>> schedulers treat nice values a bit differently. >>>> >>>> No I am not sure that the statement applies, given your response I >>>> understand >>>> that both schedulers work differently. Can you or David tell me what the >>>> difference >>>> is so that I can properly document it? I thought that the tool is doin >>>> the same for all >>>> schedulers, but that the backend might treat it differently. >> >> I'm sure that testing would show that it doesn't apply in FreeBSD. It is >> supposed to apply only approximately in FreeBSD, but niceness handling in >> FreeBSD is quite broken so it doesn't apply at all. Also, the magic >> numbers >> of 19 and 20 probably don't apply in FreeBSD. These were because there >> nicenesses that are the same mod 2 (maybe after adding 1) have the same >> effect, since priorities that are the same mode RQ_PPQ = 4 have the same >> effect and the niceness space was scaled to the priority space by >> multiplying by NICE_WEIGHT = 2. But NICE_WEIGHT has been broken to be 1 >> in FreeBSD with SCHED_4BSD and doesn't apply with SCHED_ULE. With >> SCHED_4BSD, there are 4 (not 2) nice values near 20 that give the same >> behaviour. >> >> It strictly only applies to broken schedulers. Preventing a process >> from taking *any* cycles gives priority inversion livelock. FreeBSD >> has priority propagation to prevent this. > > Just tried it with SCHED_4BSD. On a multi-CPU system (ref9-i386), but > I think I used cpuset correctly to emulate 1 CPU. > > % last pid: 85392; load averages: 1.71, 0.86, 0.38 up 94+01:00:36 > 21:55:59 > % 66 processes: 3 running, 63 sleeping > % CPU: 6.9% user, 3.7% nice, 2.0% system, 0.0% interrupt, 87.3% idle > % Mem: 268M Active, 4969M Inact, 310M Wired, 50M Cache, 112M Buf, 2413M Free > % Swap: 8192M Total, 580K Used, 8191M Free > % % PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND > % [... system is not nearly idle, but plenty of CPUs to spare] > % 85368 bde 1 111 0 9892K 1312K RUN 1 1:07 65.67% sh > % 85369 bde 1 123 20 9892K 1312K CPU1 1 0:35 37.89% sh > > This shows the bogus 1:2 ratio even for a niceness difference of 20. I've > seen too much of this ratio. IIRC, before FreeBSD-4 was fixed, the More tests: FreeBSD-5 with 4BSD on a 1-CPU system: % last pid: 1875; load averages: 11.94, 11.87, 10.76 up 0+00:36:11 10:45:09 % 35 processes: 13 running, 22 sleeping % CPU: 87.2% user, 12.1% nice, 0.0% system, 0.8% interrupt, 0.0% idle % Mem: 15M Active, 15M Inact, 21M Wired, 20K Cache, 9472K Buf, 950M Free % Swap: % % PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND % 1229 root 1 112 -20 856K 576K RUN 12:03 49.85% sh % 1231 root 1 114 -16 856K 576K RUN 2:27 8.94% sh % 1233 root 1 114 -12 856K 576K RUN 2:09 7.91% sh % 1235 root 1 115 -8 856K 576K RUN 1:53 6.64% sh % 1237 root 1 115 -4 856K 576K RUN 1:32 5.91% sh % 1239 root 1 115 0 856K 576K RUN 1:24 4.93% sh % 1241 root 1 115 4 856K 576K RUN 1:13 3.96% sh % 1243 root 1 116 8 856K 576K RUN 0:45 1.95% sh % 1251 root 1 115 12 856K 576K RUN 0:35 1.86% sh % 1253 root 1 116 16 856K 576K RUN 0:22 0.05% sh % 1255 root 1 116 20 856K 576K RUN 0:00 0.00% sh I reduced the tests to only every 4 values after comfirming that the other 3 don't have much different behaviour (but the behaviour is not exactly dependent on the value mod 4). The "nice -20" process really does seem to get 0% of the CPU. It takes niceness difference of 40 to completely starve the low-priority process. So a swing of 20 for doing this is about right with the unbroken NICE_WEIGHT of 2. However, I think complete starvation is accidental and a bug. The low priority process should be allowed to run for maybe 0.01% of the time; this automatically avoids priority inversion bugs, and lets it become interactive transiently if it needs to, at no signficant cost. Note the nonlinear && non-geometric %CPU for the "nice --20" process only. This is almost certainly caused by the nonlinearity of the scaling giving by the clamping. Otherwise %CPU is sort of linear in the niceness. The dynamic range is too small, but otherwise the %CPU is a reasonable function of niceness. Removing just the "nice --20" process from the mix allows the "nice -20" process to get some cycles (about 1%). I don't remember if the nonlinearity is transferred to the "nice --16" process. FreeBSD-8 with 4BSD from 3 years ago: % last pid: 1899; load averages: 10.99, 10.97, 9.81 up 0+00:35:16 11:31:15 % 35 processes: 12 running, 23 sleeping % CPU states: 89.6% user, 10.4% nice, 0.0% system, 0.0% interrupt, 0.0% idle % Mem: 15M Active, 14M Inact, 16M Wired, 368K Cache, 9472K Buf, 952M Free % Swap: % % PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND % 745 root 1 112 -20 856K 572K RUN 14:23 45.95% sh % 747 root 1 112 -16 856K 572K RUN 3:59 11.91% sh % 749 root 1 112 -12 856K 572K RUN 3:19 9.91% sh % 751 root 1 112 -8 856K 572K RUN 2:57 8.98% sh % 753 root 1 112 -4 856K 572K RUN 2:28 6.98% sh % 756 root 1 112 0 856K 572K RUN 1:57 5.91% sh % 759 root 1 112 4 856K 572K RUN 1:35 4.98% sh % 764 root 1 112 8 856K 572K RUN 0:58 2.98% sh % 767 root 1 112 12 856K 572K RUN 0:37 1.71% sh % 769 root 1 112 16 856K 572K RUN 0:00 0.00% sh % 771 root 1 116 20 856K 572K RUN 0:00 0.00% sh Similar to FreeBSD-5 behaviour, but now the "nice -16" process also gets no CPU. FreeBSD-8 with ULE from 3 years ago: Tests hung, since even a single shell loop wasn't preempted properly. % bde FreeBSD-~5.2 with 4BSD: % last pid: 1178; load averages: 10.99, 9.12, 5.09 up 0+00:11:56 11:44:39 % 37 processes: 12 running, 25 sleeping % CPU: 95.3% user, 4.7% nice, 0.0% system, 0.0% interrupt, 0.0% idle % Mem: 15M Active, 14M Inact, 20M Wired, 80K Cache, 9072K Buf, 952M Free % Swap: % % PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND % 841 root 1 94 -20 856K 572K RUN 4:13 49.80% sh % 843 root 1 93 -16 856K 572K RUN 2:11 24.71% sh % 845 root 1 92 -12 856K 572K RUN 1:09 10.79% sh % 847 root 1 93 -8 856K 572K RUN 0:35 5.66% sh % 849 root 1 93 -4 856K 572K RUN 0:18 2.69% sh % 851 root 1 93 0 856K 572K RUN 0:09 0.98% sh % 853 root 1 96 4 856K 572K RUN 0:05 0.00% sh % 855 root 1 96 8 856K 572K RUN 0:02 0.00% sh % 857 root 1 98 12 856K 572K RUN 0:01 0.00% sh % 859 root 1 98 16 856K 572K RUN 0:01 0.00% sh % 861 root 1 108 20 856K 572K RUN 0:00 0.00% sh The mapping from niceness to %CPU is geometric -- each reduction in niceness of 4 or 5 gives about twice as much CPU. The "nice -20" process contending with the "nice --20" process gets a tiny but nonzero amount of CPU. Other things that my version were very noticeable in these tests: - the shell used to start them and shells used to control them don't need to have equal or larger negative niceness so as to run promptly, provided these shells haven't been hogs and don't bogusly become hogs, since niceness doesn't affect priority unless a process is using too much CPU. - similarly for the processes. They all start up fast since they all start up with equal minimal priority since they haven't used any CPU to begin with (modulo bogus p_estcpu inheritance in sched_fork()). FreeBSD-9 with 4BSD from a few months ago: % last pid: 894; load averages: 11.99, 11.89, 9.78 up 0+00:25:32 12:45:53 % 40 processes: 13 running, 27 sleeping % CPU states: 90.6% user, 7.0% nice, 2.3% system, 0.0% interrupt, 0.0% idle % Mem: 78M Active, 13M Inact, 18M Wired, 440K Cache, 9328K Buf, 886M Free % Swap: % % PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND % 708 root 1 112 -20 856K 572K RUN 12:31 54.93% sh % 710 root 1 112 -16 856K 572K RUN 2:15 7.76% sh % 712 root 1 112 -12 856K 572K RUN 1:49 6.79% sh % 714 root 1 112 -8 856K 572K RUN 1:32 5.96% sh % 716 root 1 112 -4 856K 572K RUN 1:21 4.98% sh % 718 root 1 112 0 856K 572K RUN 1:12 3.91% sh % 720 root 1 112 4 856K 572K RUN 0:45 2.83% sh % 722 root 1 112 8 856K 572K RUN 0:29 1.90% sh % 724 root 1 112 12 856K 572K RUN 0:28 0.98% sh % 726 root 1 112 16 856K 572K RUN 0:00 0.00% sh % 728 root 1 116 20 856K 572K RUN 0:00 0.00% sh Same as FreeBSD-8, except the nonlinearity for "nice --20" is even larger and the dynamic range for the others is even smaller. Bruce From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 07:33:43 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D4561065670; Fri, 25 Feb 2011 07:33:43 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 10DD68FC24; Fri, 25 Feb 2011 07:33:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1P7XgAf092768; Fri, 25 Feb 2011 07:33:42 GMT (envelope-from maxim@svn.freebsd.org) Received: (from maxim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1P7XgFr092766; Fri, 25 Feb 2011 07:33:42 GMT (envelope-from maxim@svn.freebsd.org) Message-Id: <201102250733.p1P7XgFr092766@svn.freebsd.org> From: Maxim Konovalov Date: Fri, 25 Feb 2011 07:33:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219024 - head/share/misc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 07:33:43 -0000 Author: maxim Date: Fri Feb 25 07:33:42 2011 New Revision: 219024 URL: http://svn.freebsd.org/changeset/base/219024 Log: o FreeBSD 8.2 and 7.4-RELEASE added. Mac OS X 10.6 added belatedly. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree ============================================================================== --- head/share/misc/bsd-family-tree Fri Feb 25 03:19:24 2011 (r219023) +++ head/share/misc/bsd-family-tree Fri Feb 25 07:33:42 2011 (r219024) @@ -229,19 +229,24 @@ FreeBSD 5.2 | | | | | | | DragonFly 2.2.0 | FreeBSD 7.2 | NetBSD 5.0 OpenBSD 4.5 | | \ | | | | | + | | Mac OS X | | | + | | 10.6 | | | | | | | | | DragonFly 2.4.0 | | | | | OpenBSD 4.6 | | | | | | | | *--FreeBSD | | | | | | | 8.0 | | | | | | - | | FreeBSD | | | | | + | | FreeBSD | | | | | | | 7.3 | | | | DragonFly 2.6.0 - | | | | | OpenBSD 4.7 | - | FreeBSD | | | | | - | 8.1 | | | | | - | | | | | | DragonFly 2.8.2 - | | | | | OpenBSD 4.8 | - | V | | NetBSD 5.1 | | + | | | | | | OpenBSD 4.7 | + | FreeBSD | | | | | | + | 8.1 | | | | | | + | | | | | | | DragonFly 2.8.2 + | | | | | | OpenBSD 4.8 | + | | | | | NetBSD 5.1 | | + | FreeBSD FreeBSD | | | | + | 8.2 7.4 | | | | + | v | | | | | | | | | FreeBSD 9 -current | NetBSD -current OpenBSD -current | | | | | | @@ -514,6 +519,7 @@ DragonFly 2.2.0 2009-02-17 [DFB] NetBSD 5.0 2009-04-29 [NBD] OpenBSD 4.5 2009-05-01 [OBD] FreeBSD 7.2 2009-05-04 [FBD] +Mac OS X 10.6 2009-06-08 [APL] DragonFly 2.4.0 2009-09-16 [DFB] OpenBSD 4.6 2009-10-18 [OBD] FreeBSD 8.0 2009-11-26 [FBD] @@ -524,6 +530,8 @@ FreeBSD 8.1 2010-07-24 [FBD] DragonFly 2.8.2 2010-10-30 [DFB] OpenBSD 4.8 2010-11-01 [OBD] NetBSD 5.1 2010-11-19 [NBD] +FreeBSD 7.4 2011-02-24 [FBD] +FreeBSD 8.2 2011-02-24 [FBD] Bibliography ------------------------ From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 09:07:17 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C65C0106564A; Fri, 25 Feb 2011 09:07:17 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B591D8FC12; Fri, 25 Feb 2011 09:07:17 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1P97His003465; Fri, 25 Feb 2011 09:07:17 GMT (envelope-from obrien@svn.freebsd.org) Received: (from obrien@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1P97Hhr003462; Fri, 25 Feb 2011 09:07:17 GMT (envelope-from obrien@svn.freebsd.org) Message-Id: <201102250907.p1P97Hhr003462@svn.freebsd.org> From: "David E. O'Brien" Date: Fri, 25 Feb 2011 09:07:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219025 - head/sys/arm/xscale/ixp425 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 09:07:17 -0000 Author: obrien Date: Fri Feb 25 09:07:17 2011 New Revision: 219025 URL: http://svn.freebsd.org/changeset/base/219025 Log: Add a real dependency on the microcode. Now when one does 'make kernel ; make kernel' the second invocation only does: `kernel.ko' is up to date. rather than reproduce all the binary microcode files and relink the kernel. [continuation of r212429] Modified: head/sys/arm/xscale/ixp425/files.ixp425 Modified: head/sys/arm/xscale/ixp425/files.ixp425 ============================================================================== --- head/sys/arm/xscale/ixp425/files.ixp425 Fri Feb 25 07:33:42 2011 (r219024) +++ head/sys/arm/xscale/ixp425/files.ixp425 Fri Feb 25 09:07:17 2011 (r219025) @@ -38,7 +38,7 @@ IxNpeMicrocode.fwo optional npe_fw \ no-implicit-rule \ clean "IxNpeMicrocode.fwo" IxNpeMicrocode.dat optional npe_fw \ - dependency ".PHONY" \ + dependency "$S/contrib/dev/npe/IxNpeMicrocode.dat.uu" \ compile-with "uudecode < $S/contrib/dev/npe/IxNpeMicrocode.dat.uu" \ no-obj no-implicit-rule \ clean "IxNpeMicrocode.dat" From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 09:29:33 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07EE21065670; Fri, 25 Feb 2011 09:29:33 +0000 (UTC) (envelope-from vanhu@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EB70D8FC12; Fri, 25 Feb 2011 09:29:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1P9TWkX005285; Fri, 25 Feb 2011 09:29:32 GMT (envelope-from vanhu@svn.freebsd.org) Received: (from vanhu@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1P9TWMo005283; Fri, 25 Feb 2011 09:29:32 GMT (envelope-from vanhu@svn.freebsd.org) Message-Id: <201102250929.p1P9TWMo005283@svn.freebsd.org> From: VANHULLEBUS Yvan Date: Fri, 25 Feb 2011 09:29:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219026 - head/sys/opencrypto X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 09:29:33 -0000 Author: vanhu Date: Fri Feb 25 09:29:32 2011 New Revision: 219026 URL: http://svn.freebsd.org/changeset/base/219026 Log: fixed size of AH_ALEN_MAX, which is 64 bytes for SHA-512. Obtained from: Matthias Drochner MFC after: 3d Modified: head/sys/opencrypto/xform.h Modified: head/sys/opencrypto/xform.h ============================================================================== --- head/sys/opencrypto/xform.h Fri Feb 25 09:07:17 2011 (r219025) +++ head/sys/opencrypto/xform.h Fri Feb 25 09:29:32 2011 (r219026) @@ -43,7 +43,8 @@ struct auth_hash { void (*Final) (u_int8_t *, void *); }; -#define AH_ALEN_MAX 20 /* max authenticator hash length */ +/* XXX use a define common with other hash stuff ! */ +#define AH_ALEN_MAX 64 /* max authenticator hash length */ struct enc_xform { int type; From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 09:40:17 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C54BB106566C; Fri, 25 Feb 2011 09:40:17 +0000 (UTC) (envelope-from phk@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B2E8E8FC08; Fri, 25 Feb 2011 09:40:17 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1P9eHSn006126; Fri, 25 Feb 2011 09:40:17 GMT (envelope-from phk@svn.freebsd.org) Received: (from phk@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1P9eH7k006116; Fri, 25 Feb 2011 09:40:17 GMT (envelope-from phk@svn.freebsd.org) Message-Id: <201102250940.p1P9eH7k006116@svn.freebsd.org> From: Poul-Henning Kamp Date: Fri, 25 Feb 2011 09:40:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219027 - in head/usr.sbin/fifolog: fifolog_create fifolog_reader fifolog_writer lib X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 09:40:17 -0000 Author: phk Date: Fri Feb 25 09:40:17 2011 New Revision: 219027 URL: http://svn.freebsd.org/changeset/base/219027 Log: Fix a bunch of trivial whitespace mistakes and update the miniobj.h file before the real work starts. Modified: head/usr.sbin/fifolog/fifolog_create/fifolog_create.c head/usr.sbin/fifolog/fifolog_reader/fifolog_reader.c head/usr.sbin/fifolog/fifolog_writer/fifolog_writer.c head/usr.sbin/fifolog/lib/fifolog.h head/usr.sbin/fifolog/lib/fifolog_create.c head/usr.sbin/fifolog/lib/fifolog_int.c head/usr.sbin/fifolog/lib/fifolog_reader.c head/usr.sbin/fifolog/lib/fifolog_write_poll.c head/usr.sbin/fifolog/lib/miniobj.h Modified: head/usr.sbin/fifolog/fifolog_create/fifolog_create.c ============================================================================== --- head/usr.sbin/fifolog/fifolog_create/fifolog_create.c Fri Feb 25 09:29:32 2011 (r219026) +++ head/usr.sbin/fifolog/fifolog_create/fifolog_create.c Fri Feb 25 09:40:17 2011 (r219027) @@ -78,11 +78,11 @@ main(int argc, char * const *argv) } argc -= optind; argv += optind; - if (argc != 1) + if (argc != 1) usage(); if (size != 0 && reccnt != 0 && recsize != 0) { /* N N N */ - if (size != reccnt * recsize) + if (size != reccnt * recsize) errx(1, "Inconsistent -l, -r and -s values"); } else if (size != 0 && reccnt != 0 && recsize == 0) { /* N N Z */ if (size % reccnt) Modified: head/usr.sbin/fifolog/fifolog_reader/fifolog_reader.c ============================================================================== --- head/usr.sbin/fifolog/fifolog_reader/fifolog_reader.c Fri Feb 25 09:29:32 2011 (r219026) +++ head/usr.sbin/fifolog/fifolog_reader/fifolog_reader.c Fri Feb 25 09:40:17 2011 (r219027) @@ -156,7 +156,7 @@ main(int argc, char * const *argv) errx(1, "Begin time not before End time"); fl = fifolog_reader_open(argv[0]); - + if (!strcmp(opt_o, "-")) fo = stdout; else { Modified: head/usr.sbin/fifolog/fifolog_writer/fifolog_writer.c ============================================================================== --- head/usr.sbin/fifolog/fifolog_writer/fifolog_writer.c Fri Feb 25 09:29:32 2011 (r219026) +++ head/usr.sbin/fifolog/fifolog_writer/fifolog_writer.c Fri Feb 25 09:40:17 2011 (r219027) @@ -76,7 +76,7 @@ main(int argc, char * const *argv) } argc -= optind; argv += optind; - if (argc != 1) + if (argc != 1) usage(); if (z_opt > 9) Modified: head/usr.sbin/fifolog/lib/fifolog.h ============================================================================== --- head/usr.sbin/fifolog/lib/fifolog.h Fri Feb 25 09:29:32 2011 (r219026) +++ head/usr.sbin/fifolog/lib/fifolog.h Fri Feb 25 09:40:17 2011 (r219027) @@ -68,7 +68,7 @@ * present in these records as well: * 5 32be time_t containing POSIX's understanding of UTC. * - * These fields are immediately followed by the inner layer payload as + * These fields are immediately followed by the inner layer payload as * described below, which has variable length. * * If the inner layer payload is shorter than the available space in @@ -95,10 +95,10 @@ * * The inner layer: * ---------------- - * The inner layer contains data identification and to the second - * timestamping (the timestamp in the outer layer only marks the + * The inner layer contains data identification and to the second + * timestamping (the timestamp in the outer layer only marks the * first possible timestamp for content in the SYNC record). - * + * * offset type contents * -------------------------------------------------------------- * 0 32be ident Modified: head/usr.sbin/fifolog/lib/fifolog_create.c ============================================================================== --- head/usr.sbin/fifolog/lib/fifolog_create.c Fri Feb 25 09:29:32 2011 (r219026) +++ head/usr.sbin/fifolog/lib/fifolog_create.c Fri Feb 25 09:40:17 2011 (r219027) @@ -91,7 +91,7 @@ fifolog_create(const char *fn, off_t siz if (size == 0 && S_ISREG(st.st_mode)) size = st.st_size; - if (size == 0) + if (size == 0) size = recsize * (off_t)(24*60*60); if (S_ISREG(st.st_mode) && ftruncate(fd, size) < 0) Modified: head/usr.sbin/fifolog/lib/fifolog_int.c ============================================================================== --- head/usr.sbin/fifolog/lib/fifolog_int.c Fri Feb 25 09:29:32 2011 (r219026) +++ head/usr.sbin/fifolog/lib/fifolog_int.c Fri Feb 25 09:40:17 2011 (r219027) @@ -66,7 +66,7 @@ fifo_zfree(voidpf opaque __unused, voidp * Return value is NULL for success or a error description string to * be augmented by errno if non-zero. * - * The second function is just an error-handling wrapper around the + * The second function is just an error-handling wrapper around the * first which, does the actual work. */ @@ -88,7 +88,7 @@ fifolog_int_open_i(struct fifolog_file * if (i != 0) { i = fstat(f->fd, &st); - if (!S_ISREG(st.st_mode)) + if (!S_ISREG(st.st_mode)) return ("Neither disk nor regular file"); f->recsize = 512; f->logsize = st.st_size; Modified: head/usr.sbin/fifolog/lib/fifolog_reader.c ============================================================================== --- head/usr.sbin/fifolog/lib/fifolog_reader.c Fri Feb 25 09:29:32 2011 (r219026) +++ head/usr.sbin/fifolog/lib/fifolog_reader.c Fri Feb 25 09:40:17 2011 (r219027) @@ -48,7 +48,7 @@ struct fifolog_reader { #define FIFOLOG_READER_MAGIC 0x1036d139 struct fifolog_file *ff; unsigned olen; - unsigned char *obuf; + unsigned char *obuf; time_t now; }; @@ -75,7 +75,7 @@ fifolog_reader_open(const char *fname) i = inflateInit(fr->ff->zs); assert(i == Z_OK); - fr->magic = FIFOLOG_READER_MAGIC; + fr->magic = FIFOLOG_READER_MAGIC; return (fr); } @@ -144,7 +144,7 @@ fifolog_reader_seek(const struct fifolog e = fifolog_reader_findsync(fr->ff, &o); if (e == 0) return (0); /* empty fifolog */ - assert(e == 1); + assert(e == 1); assert(fr->ff->recbuf[4] & FIFOLOG_FLG_SYNC); seq = be32dec(fr->ff->recbuf); @@ -297,7 +297,7 @@ fifolog_reader_process(struct fifolog_re zs->avail_out, fr->olen); exit (250); #else - + i = Z_OK; #endif } @@ -312,7 +312,7 @@ fifolog_reader_process(struct fifolog_re if (zs->avail_out != fr->olen) { q = fr->obuf + (fr->olen - zs->avail_out); p = fifolog_reader_chop(fr, func, priv); - if (p < q) + if (p < q) (void)memmove(fr->obuf, p, q - p); zs->avail_out = fr->olen - (q - p); zs->next_out = fr->obuf + (q - p); Modified: head/usr.sbin/fifolog/lib/fifolog_write_poll.c ============================================================================== --- head/usr.sbin/fifolog/lib/fifolog_write_poll.c Fri Feb 25 09:29:32 2011 (r219026) +++ head/usr.sbin/fifolog/lib/fifolog_write_poll.c Fri Feb 25 09:40:17 2011 (r219027) @@ -52,12 +52,12 @@ const char *fifolog_write_statnames[] = { -[FIFOLOG_PT_BYTES_PRE] = "Bytes before compression", -[FIFOLOG_PT_BYTES_POST] = "Bytes after compression", -[FIFOLOG_PT_WRITES] = "Writes", -[FIFOLOG_PT_FLUSH] = "Flushes", -[FIFOLOG_PT_SYNC] = "Syncs", -[FIFOLOG_PT_RUNTIME] = "Runtime" + [FIFOLOG_PT_BYTES_PRE] = "Bytes before compression", + [FIFOLOG_PT_BYTES_POST] = "Bytes after compression", + [FIFOLOG_PT_WRITES] = "Writes", + [FIFOLOG_PT_FLUSH] = "Flushes", + [FIFOLOG_PT_SYNC] = "Syncs", + [FIFOLOG_PT_RUNTIME] = "Runtime" }; /* @@ -182,7 +182,7 @@ fifolog_write_output(struct fifolog_writ return (0); - if (h + l < (long)f->ff->recsize && fl == Z_NO_FLUSH) + if (h + l < (long)f->ff->recsize && fl == Z_NO_FLUSH) return (0); w = f->ff->recsize - l; @@ -258,7 +258,7 @@ fprintf(stderr, "Z len %3d fin %d now %l #ifdef DBG if (i || f->ff->zs->avail_in) -fprintf(stderr, "fl = %d, i = %d ai = %u ao = %u fx=%02x\n", fl, i, +fprintf(stderr, "fl = %d, i = %d ai = %u ao = %u fx=%02x\n", fl, i, f->ff->zs->avail_in, f->ff->zs->avail_out, f->flag); #endif @@ -321,7 +321,7 @@ fifolog_write_bytes(struct fifolog_write if (now != f->last) { id |= FIFOLOG_TIMESTAMP; f->last = now; - } + } /* Emit instance+flag */ be32enc(buf, id); Modified: head/usr.sbin/fifolog/lib/miniobj.h ============================================================================== --- head/usr.sbin/fifolog/lib/miniobj.h Fri Feb 25 09:29:32 2011 (r219026) +++ head/usr.sbin/fifolog/lib/miniobj.h Fri Feb 25 09:40:17 2011 (r219027) @@ -26,11 +26,11 @@ * $FreeBSD$ */ -#define ALLOC_OBJ(to, type_magic) \ +#define ALLOC_OBJ(to, type_magic) \ do { \ (to) = calloc(sizeof *(to), 1); \ - assert((to) != NULL); \ - (to)->magic = (type_magic); \ + if ((to) != NULL) \ + (to)->magic = (type_magic); \ } while (0) #define FREE_OBJ(to) \ @@ -39,6 +39,9 @@ free(to); \ } while (0) +#define VALID_OBJ(ptr, type_magic) \ + ((ptr) != NULL && (ptr)->magic == (type_magic)) + #define CHECK_OBJ(ptr, type_magic) \ do { \ assert((ptr)->magic == type_magic); \ @@ -50,6 +53,12 @@ assert((ptr)->magic == type_magic); \ } while (0) +#define CHECK_OBJ_ORNULL(ptr, type_magic) \ + do { \ + if ((ptr) != NULL) \ + assert((ptr)->magic == type_magic); \ + } while (0) + #define CAST_OBJ(to, from, type_magic) \ do { \ (to) = (from); \ @@ -57,10 +66,9 @@ CHECK_OBJ((to), (type_magic)); \ } while (0) -#define CAST_OBJ_NOTNULL(to, from, type_magic) \ +#define CAST_OBJ_NOTNULL(to, from, type_magic) \ do { \ (to) = (from); \ assert((to) != NULL); \ CHECK_OBJ((to), (type_magic)); \ } while (0) - From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 10:11:02 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50BF01065672; Fri, 25 Feb 2011 10:11:02 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3D3448FC0C; Fri, 25 Feb 2011 10:11:02 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PAB2Aq024556; Fri, 25 Feb 2011 10:11:02 GMT (envelope-from netchild@svn.freebsd.org) Received: (from netchild@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PAB1XR024532; Fri, 25 Feb 2011 10:11:01 GMT (envelope-from netchild@svn.freebsd.org) Message-Id: <201102251011.p1PAB1XR024532@svn.freebsd.org> From: Alexander Leidinger Date: Fri, 25 Feb 2011 10:11:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219028 - in head/sys: cam fs/nfsclient fs/nfsserver kern nfsclient nfsserver security/audit security/mac X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 10:11:02 -0000 Author: netchild Date: Fri Feb 25 10:11:01 2011 New Revision: 219028 URL: http://svn.freebsd.org/changeset/base/219028 Log: Add some FEATURE macros for various features (AUDIT/CAM/IPC/KTR/MAC/NFS/NTP/ PMC/SYSV/...). No FreeBSD version bump, the userland application to query the features will be committed last and can serve as an indication of the availablility if needed. Sponsored by: Google Summer of Code 2010 Submitted by: kibab Reviewed by: arch@ (parts by rwatson, trasz, jhb) X-MFC after: to be determined in last commit with code from this project Modified: head/sys/cam/cam.c head/sys/fs/nfsclient/nfs_clvfsops.c head/sys/fs/nfsserver/nfs_nfsdport.c head/sys/kern/kern_dtrace.c head/sys/kern/kern_ktr.c head/sys/kern/kern_ktrace.c head/sys/kern/kern_lock.c head/sys/kern/kern_ntptime.c head/sys/kern/kern_pmc.c head/sys/kern/kern_prot.c head/sys/kern/ksched.c head/sys/kern/subr_mchain.c head/sys/kern/subr_stack.c head/sys/kern/sysv_msg.c head/sys/kern/sysv_sem.c head/sys/kern/sysv_shm.c head/sys/kern/uipc_cow.c head/sys/kern/uipc_mqueue.c head/sys/kern/uipc_sem.c head/sys/nfsclient/nfs_vfsops.c head/sys/nfsserver/nfs_serv.c head/sys/security/audit/audit.c head/sys/security/mac/mac_syscalls.c Modified: head/sys/cam/cam.c ============================================================================== --- head/sys/cam/cam.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/cam/cam.c Fri Feb 25 10:11:01 2011 (r219028) @@ -51,6 +51,9 @@ __FBSDID("$FreeBSD$"); #include #include #include + +FEATURE(scbus, "SCSI devices support"); + #endif static int camstatusentrycomp(const void *key, const void *member); Modified: head/sys/fs/nfsclient/nfs_clvfsops.c ============================================================================== --- head/sys/fs/nfsclient/nfs_clvfsops.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/fs/nfsclient/nfs_clvfsops.c Fri Feb 25 10:11:01 2011 (r219028) @@ -73,6 +73,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(nfscl, "NFSv4 client"); + extern int nfscl_ticks; extern struct timeval nfsboottime; extern struct nfsstats newnfsstats; Modified: head/sys/fs/nfsserver/nfs_nfsdport.c ============================================================================== --- head/sys/fs/nfsserver/nfs_nfsdport.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/fs/nfsserver/nfs_nfsdport.c Fri Feb 25 10:11:01 2011 (r219028) @@ -46,6 +46,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(nfsd, "NFSv4 server"); + extern u_int32_t newnfs_true, newnfs_false, newnfs_xdrneg1; extern int nfsrv_useacl; extern int newnfs_numnfsd; Modified: head/sys/kern/kern_dtrace.c ============================================================================== --- head/sys/kern/kern_dtrace.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/kern_dtrace.c Fri Feb 25 10:11:01 2011 (r219028) @@ -37,10 +37,14 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #define KDTRACE_PROC_SIZE 64 #define KDTRACE_THREAD_SIZE 256 +FEATURE(kdtrace_hooks, + "Kernel DTrace hooks which are required to load DTrace kernel modules"); + MALLOC_DEFINE(M_KDTRACE, "kdtrace", "DTrace hooks"); /* Return the DTrace process data size compiled in the kernel hooks. */ Modified: head/sys/kern/kern_ktr.c ============================================================================== --- head/sys/kern/kern_ktr.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/kern_ktr.c Fri Feb 25 10:11:01 2011 (r219028) @@ -80,6 +80,8 @@ __FBSDID("$FreeBSD$"); #define KTR_CPU PCPU_GET(cpuid) #endif +FEATURE(ktr, "Kernel support for KTR kernel tracing facility"); + SYSCTL_NODE(_debug, OID_AUTO, ktr, CTLFLAG_RD, 0, "KTR options"); int ktr_cpumask = KTR_CPUMASK; Modified: head/sys/kern/kern_ktrace.c ============================================================================== --- head/sys/kern/kern_ktrace.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/kern_ktrace.c Fri Feb 25 10:11:01 2011 (r219028) @@ -83,6 +83,8 @@ static MALLOC_DEFINE(M_KTRACE, "KTRACE", #ifdef KTRACE +FEATURE(ktrace, "Kernel support for system-call tracing"); + #ifndef KTRACE_REQUEST_POOL #define KTRACE_REQUEST_POOL 100 #endif Modified: head/sys/kern/kern_lock.c ============================================================================== --- head/sys/kern/kern_lock.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/kern_lock.c Fri Feb 25 10:11:01 2011 (r219028) @@ -1299,6 +1299,10 @@ lockstatus(struct lock *lk) } #ifdef INVARIANT_SUPPORT + +FEATURE(invariant_support, + "Support for modules compiled with INVARIANTS option"); + #ifndef INVARIANTS #undef _lockmgr_assert #endif Modified: head/sys/kern/kern_ntptime.c ============================================================================== --- head/sys/kern/kern_ntptime.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/kern_ntptime.c Fri Feb 25 10:11:01 2011 (r219028) @@ -51,6 +51,10 @@ __FBSDID("$FreeBSD$"); #include #include +#ifdef PPS_SYNC +FEATURE(pps_sync, "Support usage of external PPS signal by kernel PLL"); +#endif + /* * Single-precision macros for 64-bit machines */ Modified: head/sys/kern/kern_pmc.c ============================================================================== --- head/sys/kern/kern_pmc.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/kern_pmc.c Fri Feb 25 10:11:01 2011 (r219028) @@ -37,8 +37,10 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #ifdef HWPMC_HOOKS +FEATURE(hwpmc_hooks, "Kernel support for HW PMC"); #define PMC_KERNEL_VERSION PMC_VERSION #else #define PMC_KERNEL_VERSION 0 Modified: head/sys/kern/kern_prot.c ============================================================================== --- head/sys/kern/kern_prot.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/kern_prot.c Fri Feb 25 10:11:01 2011 (r219028) @@ -69,6 +69,11 @@ __FBSDID("$FreeBSD$"); #include #include +#ifdef REGRESSION +FEATURE(regression, + "Kernel support for interfaces nessesary for regression testing (SECURITY RISK!)"); +#endif + #if defined(INET) || defined(INET6) #include #include Modified: head/sys/kern/ksched.c ============================================================================== --- head/sys/kern/ksched.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/ksched.c Fri Feb 25 10:11:01 2011 (r219028) @@ -41,12 +41,16 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include +#include #include #include #include #include #include +FEATURE(kposix_priority_scheduling, "POSIX P1003.1B realtime extensions"); + /* ksched: Real-time extension to support POSIX priority scheduling. */ Modified: head/sys/kern/subr_mchain.c ============================================================================== --- head/sys/kern/subr_mchain.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/subr_mchain.c Fri Feb 25 10:11:01 2011 (r219028) @@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include @@ -40,6 +41,8 @@ __FBSDID("$FreeBSD$"); #include +FEATURE(libmchain, "mchain library"); + MODULE_VERSION(libmchain, 1); #define MBERROR(format, ...) printf("%s(%d): "format, __func__ , \ Modified: head/sys/kern/subr_stack.c ============================================================================== --- head/sys/kern/subr_stack.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/subr_stack.c Fri Feb 25 10:11:01 2011 (r219028) @@ -39,6 +39,9 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include + +FEATURE(stack, "Support for capturing kernel stack"); static MALLOC_DEFINE(M_STACK, "stack", "Stack Traces"); Modified: head/sys/kern/sysv_msg.c ============================================================================== --- head/sys/kern/sysv_msg.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/sysv_msg.c Fri Feb 25 10:11:01 2011 (r219028) @@ -72,6 +72,8 @@ __FBSDID("$FreeBSD$"); #include +FEATURE(sysv_msg, "System V message queues support"); + static MALLOC_DEFINE(M_MSG, "msg", "SVID compatible message queues"); static int msginit(void); Modified: head/sys/kern/sysv_sem.c ============================================================================== --- head/sys/kern/sysv_sem.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/sysv_sem.c Fri Feb 25 10:11:01 2011 (r219028) @@ -62,6 +62,8 @@ __FBSDID("$FreeBSD$"); #include +FEATURE(sysv_sem, "System V semaphores support"); + static MALLOC_DEFINE(M_SEM, "sem", "SVID compatible semaphores"); #ifdef SEM_DEBUG Modified: head/sys/kern/sysv_shm.c ============================================================================== --- head/sys/kern/sysv_shm.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/sysv_shm.c Fri Feb 25 10:11:01 2011 (r219028) @@ -95,6 +95,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(sysv_shm, "System V shared memory segments support"); + static MALLOC_DEFINE(M_SHM, "shm", "SVID compatible shared memory segments"); static int shmget_allocate_segment(struct thread *td, Modified: head/sys/kern/uipc_cow.c ============================================================================== --- head/sys/kern/uipc_cow.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/uipc_cow.c Fri Feb 25 10:11:01 2011 (r219028) @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include @@ -57,6 +58,7 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(zero_copy_sockets, "Zero copy sockets support"); struct netsend_cow_stats { int attempted; Modified: head/sys/kern/uipc_mqueue.c ============================================================================== --- head/sys/kern/uipc_mqueue.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/uipc_mqueue.c Fri Feb 25 10:11:01 2011 (r219028) @@ -82,6 +82,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(p1003_1b_mqueue, "POSIX P1003.1B message queues support"); + /* * Limits and constants */ Modified: head/sys/kern/uipc_sem.c ============================================================================== --- head/sys/kern/uipc_sem.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/kern/uipc_sem.c Fri Feb 25 10:11:01 2011 (r219028) @@ -65,6 +65,7 @@ __FBSDID("$FreeBSD$"); #include +FEATURE(p1003_1b_semaphores, "POSIX1003.1B semaphores support"); /* * TODO * Modified: head/sys/nfsclient/nfs_vfsops.c ============================================================================== --- head/sys/nfsclient/nfs_vfsops.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/nfsclient/nfs_vfsops.c Fri Feb 25 10:11:01 2011 (r219028) @@ -78,6 +78,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(nfsclient, "NFS client"); + MALLOC_DEFINE(M_NFSREQ, "nfsclient_req", "NFS request header"); MALLOC_DEFINE(M_NFSBIGFH, "nfsclient_bigfh", "NFS version 3 file handle"); MALLOC_DEFINE(M_NFSDIROFF, "nfsclient_diroff", "NFS directory offset data"); Modified: head/sys/nfsserver/nfs_serv.c ============================================================================== --- head/sys/nfsserver/nfs_serv.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/nfsserver/nfs_serv.c Fri Feb 25 10:11:01 2011 (r219028) @@ -97,6 +97,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(nfsserver, "NFS server"); + #ifdef NFSRV_DEBUG #define nfsdbprintf(info) printf info #else Modified: head/sys/security/audit/audit.c ============================================================================== --- head/sys/security/audit/audit.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/security/audit/audit.c Fri Feb 25 10:11:01 2011 (r219028) @@ -72,6 +72,8 @@ __FBSDID("$FreeBSD$"); #include +FEATURE(audit, "BSM audit support"); + static uma_zone_t audit_record_zone; static MALLOC_DEFINE(M_AUDITCRED, "audit_cred", "Audit cred storage"); MALLOC_DEFINE(M_AUDITDATA, "audit_data", "Audit data storage"); Modified: head/sys/security/mac/mac_syscalls.c ============================================================================== --- head/sys/security/mac/mac_syscalls.c Fri Feb 25 09:40:17 2011 (r219027) +++ head/sys/security/mac/mac_syscalls.c Fri Feb 25 10:11:01 2011 (r219028) @@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -72,6 +73,8 @@ __FBSDID("$FreeBSD$"); #ifdef MAC +FEATURE(mac, "Mandatory Access Control Framework support"); + int __mac_get_pid(struct thread *td, struct __mac_get_pid_args *uap) { From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 10:23:08 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 875AE106566B; Fri, 25 Feb 2011 10:23:08 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from mailgate.jr-hosting.nl (mailgate.jr-hosting.nl [IPv6:2a01:4f8:63:1281::3]) by mx1.freebsd.org (Postfix) with ESMTP id 1C1788FC13; Fri, 25 Feb 2011 10:23:08 +0000 (UTC) Received: from [10.0.2.10] (caelis.elvandar.org [83.163.38.147]) by mailgate.jr-hosting.nl (Postfix) with ESMTPSA id 433FF1CC4A; Fri, 25 Feb 2011 11:23:06 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Remko Lodder In-Reply-To: <20110225070237.F983@besplex.bde.org> Date: Fri, 25 Feb 2011 11:23:04 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201102241613.p1OGDXpM047076@svn.freebsd.org> <201102241347.39267.jhb@freebsd.org> <5965E5EC-A725-423A-9420-B84AD09993DC@elvandar.org> <201102241435.09011.jhb@freebsd.org> <20110225070237.F983@besplex.bde.org> To: Bruce Evans X-Mailer: Apple Mail (2.1082) Cc: src-committers@FreeBSD.org, John Baldwin , svn-src-all@FreeBSD.org, davidxu@FreeBSD.org, svn-src-head@FreeBSD.org, Remko Lodder Subject: Re: svn commit: r219003 - head/usr.bin/nice X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 10:23:08 -0000 On Feb 24, 2011, at 10:47 PM, Bruce Evans wrote: > On Thu, 24 Feb 2011, John Baldwin wrote: >=20 >> On Thursday, February 24, 2011 2:03:33 pm Remko Lodder wrote: >>>=20 > [contex restored: > +A priority of 19 or 20 will prevent a process from taking any cycles = from > +others at nice 0 or better.] [strip information overload]. So, what is the consensus instead of overwelming me with too much = information? --=20 /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | X http://www.evilcoder.org/ | Quis custodiet ipsos custodes / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 10:24:35 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1C561065672; Fri, 25 Feb 2011 10:24:35 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CDF148FC16; Fri, 25 Feb 2011 10:24:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PAOZMp025666; Fri, 25 Feb 2011 10:24:35 GMT (envelope-from netchild@svn.freebsd.org) Received: (from netchild@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PAOZUs025635; Fri, 25 Feb 2011 10:24:35 GMT (envelope-from netchild@svn.freebsd.org) Message-Id: <201102251024.p1PAOZUs025635@svn.freebsd.org> From: Alexander Leidinger Date: Fri, 25 Feb 2011 10:24:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219029 - in head/sys/geom: . bde cache concat eli gate journal label linux_lvm mirror multipath part raid3 shsec stripe uzip virstor X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 10:24:36 -0000 Author: netchild Date: Fri Feb 25 10:24:35 2011 New Revision: 219029 URL: http://svn.freebsd.org/changeset/base/219029 Log: Add some FEATURE macros for various GEOM classes. No FreeBSD version bump, the userland application to query the features will be committed last and can serve as an indication of the availablility if needed. Sponsored by: Google Summer of Code 2010 Submitted by: kibab Reviewed by: silence on geom@ during 2 weeks X-MFC after: to be determined in last commit with code from this project Modified: head/sys/geom/bde/g_bde.c head/sys/geom/cache/g_cache.c head/sys/geom/concat/g_concat.c head/sys/geom/eli/g_eli.c head/sys/geom/gate/g_gate.c head/sys/geom/geom_bsd.c head/sys/geom/geom_fox.c head/sys/geom/geom_mbr.c head/sys/geom/geom_pc98.c head/sys/geom/geom_sunlabel.c head/sys/geom/geom_vol_ffs.c head/sys/geom/journal/g_journal.c head/sys/geom/label/g_label.c head/sys/geom/linux_lvm/g_linux_lvm.c head/sys/geom/mirror/g_mirror.c head/sys/geom/multipath/g_multipath.c head/sys/geom/part/g_part_apm.c head/sys/geom/part/g_part_bsd.c head/sys/geom/part/g_part_ebr.c head/sys/geom/part/g_part_gpt.c head/sys/geom/part/g_part_mbr.c head/sys/geom/part/g_part_pc98.c head/sys/geom/part/g_part_vtoc8.c head/sys/geom/raid3/g_raid3.c head/sys/geom/shsec/g_shsec.c head/sys/geom/stripe/g_stripe.c head/sys/geom/uzip/g_uzip.c head/sys/geom/virstor/g_virstor.c Modified: head/sys/geom/bde/g_bde.c ============================================================================== --- head/sys/geom/bde/g_bde.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/bde/g_bde.c Fri Feb 25 10:24:35 2011 (r219029) @@ -41,6 +41,7 @@ #include #include #include +#include #include #include @@ -48,6 +49,8 @@ #include #define BDE_CLASS_NAME "BDE" +FEATURE(geom_bde, "GEOM-based Disk Encryption"); + static void g_bde_start(struct bio *bp) { Modified: head/sys/geom/cache/g_cache.c ============================================================================== --- head/sys/geom/cache/g_cache.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/cache/g_cache.c Fri Feb 25 10:24:35 2011 (r219029) @@ -42,6 +42,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_cache, "GEOM cache module"); + static MALLOC_DEFINE(M_GCACHE, "gcache_data", "GEOM_CACHE Data"); SYSCTL_DECL(_kern_geom); Modified: head/sys/geom/concat/g_concat.c ============================================================================== --- head/sys/geom/concat/g_concat.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/concat/g_concat.c Fri Feb 25 10:24:35 2011 (r219029) @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_concat, "GEOM concatenation support"); static MALLOC_DEFINE(M_CONCAT, "concat_data", "GEOM_CONCAT Data"); Modified: head/sys/geom/eli/g_eli.c ============================================================================== --- head/sys/geom/eli/g_eli.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/eli/g_eli.c Fri Feb 25 10:24:35 2011 (r219029) @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_eli, "GEOM crypto module"); MALLOC_DEFINE(M_ELI, "eli data", "GEOM_ELI Data"); Modified: head/sys/geom/gate/g_gate.c ============================================================================== --- head/sys/geom/gate/g_gate.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/gate/g_gate.c Fri Feb 25 10:24:35 2011 (r219029) @@ -53,6 +53,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_gate, "GEOM Gate module"); + static MALLOC_DEFINE(M_GATE, "gg_data", "GEOM Gate Data"); SYSCTL_DECL(_kern_geom); Modified: head/sys/geom/geom_bsd.c ============================================================================== --- head/sys/geom/geom_bsd.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/geom_bsd.c Fri Feb 25 10:24:35 2011 (r219029) @@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -60,6 +61,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_bsd, "GEOM BSD disklabels support"); + #define BSD_CLASS_NAME "BSD" #define ALPHA_LABEL_OFFSET 64 Modified: head/sys/geom/geom_fox.c ============================================================================== --- head/sys/geom/geom_fox.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/geom_fox.c Fri Feb 25 10:24:35 2011 (r219029) @@ -37,6 +37,7 @@ #include #include +#include #include #include #include @@ -52,6 +53,8 @@ #define FOX_CLASS_NAME "FOX" #define FOX_MAGIC "GEOM::FOX" +FEATURE(geom_fox, "GEOM FOX redundant path mitigation support"); + struct g_fox_softc { off_t mediasize; u_int sectorsize; Modified: head/sys/geom/geom_mbr.c ============================================================================== --- head/sys/geom/geom_mbr.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/geom_mbr.c Fri Feb 25 10:24:35 2011 (r219029) @@ -37,6 +37,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -50,6 +51,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_mbr, "GEOM DOS/MBR partitioning support"); + #define MBR_CLASS_NAME "MBR" #define MBREXT_CLASS_NAME "MBREXT" Modified: head/sys/geom/geom_pc98.c ============================================================================== --- head/sys/geom/geom_pc98.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/geom_pc98.c Fri Feb 25 10:24:35 2011 (r219029) @@ -36,6 +36,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -47,6 +48,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_pc98, "GEOM NEC PC9800 partitioning support"); + #define PC98_CLASS_NAME "PC98" struct g_pc98_softc { Modified: head/sys/geom/geom_sunlabel.c ============================================================================== --- head/sys/geom/geom_sunlabel.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/geom_sunlabel.c Fri Feb 25 10:24:35 2011 (r219029) @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -51,6 +52,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_sunlabel, "GEOM Sun/Solaris partitioning support"); + #define SUNLABEL_CLASS_NAME "SUN" struct g_sunlabel_softc { Modified: head/sys/geom/geom_vol_ffs.c ============================================================================== --- head/sys/geom/geom_vol_ffs.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/geom_vol_ffs.c Fri Feb 25 10:24:35 2011 (r219029) @@ -30,6 +30,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -42,6 +43,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_vol, "GEOM support for volume names from UFS superblock"); + #define VOL_FFS_CLASS_NAME "VOL_FFS" static int superblocks[] = SBLOCKSEARCH; Modified: head/sys/geom/journal/g_journal.c ============================================================================== --- head/sys/geom/journal/g_journal.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/journal/g_journal.c Fri Feb 25 10:24:35 2011 (r219029) @@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$"); #include +FEATURE(geom_journal, "GEOM journaling support"); /* * On-disk journal format: Modified: head/sys/geom/label/g_label.c ============================================================================== --- head/sys/geom/label/g_label.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/label/g_label.c Fri Feb 25 10:24:35 2011 (r219029) @@ -36,10 +36,12 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include +FEATURE(geom_label, "GEOM labeling support"); SYSCTL_DECL(_kern_geom); SYSCTL_NODE(_kern_geom, OID_AUTO, label, CTLFLAG_RW, 0, "GEOM_LABEL stuff"); Modified: head/sys/geom/linux_lvm/g_linux_lvm.c ============================================================================== --- head/sys/geom/linux_lvm/g_linux_lvm.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/linux_lvm/g_linux_lvm.c Fri Feb 25 10:24:35 2011 (r219029) @@ -42,6 +42,8 @@ __FBSDID("$FreeBSD$"); #include +FEATURE(geom_linux_lvm, "GEOM Linux LVM partitioning support"); + /* Declare malloc(9) label */ static MALLOC_DEFINE(M_GLLVM, "gllvm", "GEOM_LINUX_LVM Data"); Modified: head/sys/geom/mirror/g_mirror.c ============================================================================== --- head/sys/geom/mirror/g_mirror.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/mirror/g_mirror.c Fri Feb 25 10:24:35 2011 (r219029) @@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_mirror, "GEOM mirroring support"); static MALLOC_DEFINE(M_MIRROR, "mirror_data", "GEOM_MIRROR Data"); Modified: head/sys/geom/multipath/g_multipath.c ============================================================================== --- head/sys/geom/multipath/g_multipath.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/multipath/g_multipath.c Fri Feb 25 10:24:35 2011 (r219029) @@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_multipath, "GEOM multipath support"); SYSCTL_DECL(_kern_geom); SYSCTL_NODE(_kern_geom, OID_AUTO, multipath, CTLFLAG_RW, 0, Modified: head/sys/geom/part/g_part_apm.c ============================================================================== --- head/sys/geom/part/g_part_apm.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/part/g_part_apm.c Fri Feb 25 10:24:35 2011 (r219029) @@ -41,11 +41,14 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include "g_part_if.h" +FEATURE(geom_part_apm, "GEOM partitioning class for Apple-style partitions"); + struct g_part_apm_table { struct g_part_table base; struct apm_ddr ddr; Modified: head/sys/geom/part/g_part_bsd.c ============================================================================== --- head/sys/geom/part/g_part_bsd.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/part/g_part_bsd.c Fri Feb 25 10:24:35 2011 (r219029) @@ -40,11 +40,14 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include "g_part_if.h" +FEATURE(geom_part_bsd, "GEOM partitioning class for BSD disklabels"); + struct g_part_bsd_table { struct g_part_table base; u_char *bbarea; Modified: head/sys/geom/part/g_part_ebr.c ============================================================================== --- head/sys/geom/part/g_part_ebr.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/part/g_part_ebr.c Fri Feb 25 10:24:35 2011 (r219029) @@ -42,11 +42,19 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include "g_part_if.h" +FEATURE(geom_part_ebr, + "GEOM partitioning class for extended boot records support"); +#if defined(GEOM_PART_EBR_COMPAT) +FEATURE(geom_part_ebr_compat, + "GEOM EBR partitioning class: backward-compatible partition names"); +#endif + #define EBRSIZE 512 struct g_part_ebr_table { Modified: head/sys/geom/part/g_part_gpt.c ============================================================================== --- head/sys/geom/part/g_part_gpt.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/part/g_part_gpt.c Fri Feb 25 10:24:35 2011 (r219029) @@ -41,12 +41,15 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include #include "g_part_if.h" +FEATURE(geom_part_gpt, "GEOM partitioning class for GPT partitions support"); + CTASSERT(offsetof(struct gpt_hdr, padding) == 92); CTASSERT(sizeof(struct gpt_ent) == 128); Modified: head/sys/geom/part/g_part_mbr.c ============================================================================== --- head/sys/geom/part/g_part_mbr.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/part/g_part_mbr.c Fri Feb 25 10:24:35 2011 (r219029) @@ -40,11 +40,14 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include "g_part_if.h" +FEATURE(geom_part_mbr, "GEOM partitioning class for MBR support"); + #define MBRSIZE 512 struct g_part_mbr_table { Modified: head/sys/geom/part/g_part_pc98.c ============================================================================== --- head/sys/geom/part/g_part_pc98.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/part/g_part_pc98.c Fri Feb 25 10:24:35 2011 (r219029) @@ -40,11 +40,14 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include "g_part_if.h" +FEATURE(geom_part_pc98, "GEOM partitioning class for PC-9800 disk partitions"); + #define SECSIZE 512 #define MENUSIZE 7168 #define BOOTSIZE 8192 Modified: head/sys/geom/part/g_part_vtoc8.c ============================================================================== --- head/sys/geom/part/g_part_vtoc8.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/part/g_part_vtoc8.c Fri Feb 25 10:24:35 2011 (r219029) @@ -39,12 +39,15 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include #include "g_part_if.h" +FEATURE(geom_part_vtoc8, "GEOM partitioning class for SMI VTOC8 disk labels"); + struct g_part_vtoc8_table { struct g_part_table base; struct vtoc8 vtoc; Modified: head/sys/geom/raid3/g_raid3.c ============================================================================== --- head/sys/geom/raid3/g_raid3.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/raid3/g_raid3.c Fri Feb 25 10:24:35 2011 (r219029) @@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_raid3, "GEOM RAID-3 functionality"); static MALLOC_DEFINE(M_RAID3, "raid3_data", "GEOM_RAID3 Data"); Modified: head/sys/geom/shsec/g_shsec.c ============================================================================== --- head/sys/geom/shsec/g_shsec.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/shsec/g_shsec.c Fri Feb 25 10:24:35 2011 (r219029) @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_shsec, "GEOM shared secret device support"); static MALLOC_DEFINE(M_SHSEC, "shsec_data", "GEOM_SHSEC Data"); Modified: head/sys/geom/stripe/g_stripe.c ============================================================================== --- head/sys/geom/stripe/g_stripe.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/stripe/g_stripe.c Fri Feb 25 10:24:35 2011 (r219029) @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_stripe, "GEOM striping support"); static MALLOC_DEFINE(M_STRIPE, "stripe_data", "GEOM_STRIPE Data"); Modified: head/sys/geom/uzip/g_uzip.c ============================================================================== --- head/sys/geom/uzip/g_uzip.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/uzip/g_uzip.c Fri Feb 25 10:24:35 2011 (r219029) @@ -36,10 +36,13 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include +FEATURE(geom_uzip, "GEOM uzip read-only compressed disks support"); + #undef GEOM_UZIP_DEBUG #ifdef GEOM_UZIP_DEBUG #define DPRINTF(a) printf a Modified: head/sys/geom/virstor/g_virstor.c ============================================================================== --- head/sys/geom/virstor/g_virstor.c Fri Feb 25 10:11:01 2011 (r219028) +++ head/sys/geom/virstor/g_virstor.c Fri Feb 25 10:24:35 2011 (r219029) @@ -52,6 +52,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(g_virstor, "GEOM virtual storage support"); + /* Declare malloc(9) label */ static MALLOC_DEFINE(M_GVIRSTOR, "gvirstor", "GEOM_VIRSTOR Data"); From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 12:46:43 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B80D7106564A; Fri, 25 Feb 2011 12:46:43 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A6B908FC13; Fri, 25 Feb 2011 12:46:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PCkhYf039038; Fri, 25 Feb 2011 12:46:43 GMT (envelope-from netchild@svn.freebsd.org) Received: (from netchild@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PCkhXb039036; Fri, 25 Feb 2011 12:46:43 GMT (envelope-from netchild@svn.freebsd.org) Message-Id: <201102251246.p1PCkhXb039036@svn.freebsd.org> From: Alexander Leidinger Date: Fri, 25 Feb 2011 12:46:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219030 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 12:46:43 -0000 Author: netchild Date: Fri Feb 25 12:46:43 2011 New Revision: 219030 URL: http://svn.freebsd.org/changeset/base/219030 Log: Make the description of the feature consistent with another similar description for another feature. Noticed by: trasz Modified: head/sys/kern/uipc_sem.c Modified: head/sys/kern/uipc_sem.c ============================================================================== --- head/sys/kern/uipc_sem.c Fri Feb 25 10:24:35 2011 (r219029) +++ head/sys/kern/uipc_sem.c Fri Feb 25 12:46:43 2011 (r219030) @@ -65,7 +65,7 @@ __FBSDID("$FreeBSD$"); #include -FEATURE(p1003_1b_semaphores, "POSIX1003.1B semaphores support"); +FEATURE(p1003_1b_semaphores, "POSIX P1003.1B semaphores support"); /* * TODO * From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 12:58:41 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3F6B106564A; Fri, 25 Feb 2011 12:58:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id B02C68FC08; Fri, 25 Feb 2011 12:58:41 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 4156946B17; Fri, 25 Feb 2011 07:58:41 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.10]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 530A88A009; Fri, 25 Feb 2011 07:58:40 -0500 (EST) From: John Baldwin To: Remko Lodder Date: Fri, 25 Feb 2011 07:37:42 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.4-CBSD-20110107; KDE/4.4.5; amd64; ; ) References: <201102241613.p1OGDXpM047076@svn.freebsd.org> <20110225070237.F983@besplex.bde.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102250737.43182.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 25 Feb 2011 07:58:40 -0500 (EST) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=0.5 required=4.2 tests=BAYES_00,MAY_BE_FORGED, RDNS_DYNAMIC autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bigwig.baldwin.cx Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, davidxu@freebsd.org, Bruce Evans , svn-src-head@freebsd.org, Remko Lodder Subject: Re: svn commit: r219003 - head/usr.bin/nice X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 12:58:42 -0000 On Friday, February 25, 2011 5:23:04 am Remko Lodder wrote: > > On Feb 24, 2011, at 10:47 PM, Bruce Evans wrote: > > > On Thu, 24 Feb 2011, John Baldwin wrote: > > > >> On Thursday, February 24, 2011 2:03:33 pm Remko Lodder wrote: > >>> > > [contex restored: > > +A priority of 19 or 20 will prevent a process from taking any cycles from > > +others at nice 0 or better.] > > > [strip information overload]. > > So, what is the consensus instead of overwelming me with too much information? Take that sentence out. It is not accurate for our schedulers. -- John Baldwin From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 13:59:59 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFACF106564A; Fri, 25 Feb 2011 13:59:59 +0000 (UTC) (envelope-from pluknet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DE3DA8FC22; Fri, 25 Feb 2011 13:59:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PDxxgr053384; Fri, 25 Feb 2011 13:59:59 GMT (envelope-from pluknet@svn.freebsd.org) Received: (from pluknet@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PDxxT0053382; Fri, 25 Feb 2011 13:59:59 GMT (envelope-from pluknet@svn.freebsd.org) Message-Id: <201102251359.p1PDxxT0053382@svn.freebsd.org> From: Sergey Kandaurov Date: Fri, 25 Feb 2011 13:59:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219031 - head/usr.sbin/mfiutil X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 14:00:00 -0000 Author: pluknet Date: Fri Feb 25 13:59:59 2011 New Revision: 219031 URL: http://svn.freebsd.org/changeset/base/219031 Log: Fix division by zero, causing floating point exception in a drive progress command. It was possible to read a value of zero from a busy controller used as the divisor to calculate the remaining rebuild time. Reported by: Pavel Udovenko Discussed with: jhb Approved by: kib (mentor) MFC after: 1 week Modified: head/usr.sbin/mfiutil/mfi_cmd.c Modified: head/usr.sbin/mfiutil/mfi_cmd.c ============================================================================== --- head/usr.sbin/mfiutil/mfi_cmd.c Fri Feb 25 12:46:43 2011 (r219030) +++ head/usr.sbin/mfiutil/mfi_cmd.c Fri Feb 25 13:59:59 2011 (r219031) @@ -316,7 +316,7 @@ mfi_display_progress(const char *label, printf("%s: %.2f%% complete, after %ds", label, (float)prog->progress * 100 / 0xffff, prog->elapsed_seconds); - if (prog->elapsed_seconds > 10) { + if (prog->progress != 0 && prog->elapsed_seconds > 10) { printf(" finished in "); seconds = (0x10000 * (uint32_t)prog->elapsed_seconds) / prog->progress - prog->elapsed_seconds; From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 14:54:58 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 397441065672; Fri, 25 Feb 2011 14:54:58 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 274A18FC08; Fri, 25 Feb 2011 14:54:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PEswTu068295; Fri, 25 Feb 2011 14:54:58 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PEswS1068293; Fri, 25 Feb 2011 14:54:58 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201102251454.p1PEswS1068293@svn.freebsd.org> From: Jilles Tjoelker Date: Fri, 25 Feb 2011 14:54:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219032 - stable/8/bin/test X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 14:54:58 -0000 Author: jilles Date: Fri Feb 25 14:54:57 2011 New Revision: 219032 URL: http://svn.freebsd.org/changeset/base/219032 Log: MFC r218724: test: Note that this is used both as a normal program and a shell builtin. Modified: stable/8/bin/test/test.c Directory Properties: stable/8/bin/test/ (props changed) Modified: stable/8/bin/test/test.c ============================================================================== --- stable/8/bin/test/test.c Fri Feb 25 13:59:59 2011 (r219031) +++ stable/8/bin/test/test.c Fri Feb 25 14:54:57 2011 (r219032) @@ -9,6 +9,10 @@ * * This program is in the Public Domain. */ +/* + * Important: This file is used both as a standalone program /bin/test and + * as a builtin for /bin/sh (#define SHELL). + */ #include __FBSDID("$FreeBSD$"); From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 14:56:07 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95FE2106566C; Fri, 25 Feb 2011 14:56:07 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 83C9E8FC08; Fri, 25 Feb 2011 14:56:07 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PEu7e9068700; Fri, 25 Feb 2011 14:56:07 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PEu7iG068697; Fri, 25 Feb 2011 14:56:07 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201102251456.p1PEu7iG068697@svn.freebsd.org> From: Jilles Tjoelker Date: Fri, 25 Feb 2011 14:56:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219033 - stable/7/bin/test X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 14:56:07 -0000 Author: jilles Date: Fri Feb 25 14:56:06 2011 New Revision: 219033 URL: http://svn.freebsd.org/changeset/base/219033 Log: MFC r218724: test: Note that this is used both as a normal program and a shell builtin. Modified: stable/7/bin/test/test.c Directory Properties: stable/7/bin/test/ (props changed) Modified: stable/7/bin/test/test.c ============================================================================== --- stable/7/bin/test/test.c Fri Feb 25 14:54:57 2011 (r219032) +++ stable/7/bin/test/test.c Fri Feb 25 14:56:06 2011 (r219033) @@ -9,6 +9,10 @@ * * This program is in the Public Domain. */ +/* + * Important: This file is used both as a standalone program /bin/test and + * as a builtin for /bin/sh (#define SHELL). + */ #include __FBSDID("$FreeBSD$"); From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 15:32:45 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27517106566C; Fri, 25 Feb 2011 15:32:45 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 11F2D8FC1A; Fri, 25 Feb 2011 15:32:45 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PFWj4K080263; Fri, 25 Feb 2011 15:32:45 GMT (envelope-from netchild@svn.freebsd.org) Received: (from netchild@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PFWjVU080261; Fri, 25 Feb 2011 15:32:45 GMT (envelope-from netchild@svn.freebsd.org) Message-Id: <201102251532.p1PFWjVU080261@svn.freebsd.org> From: Alexander Leidinger Date: Fri, 25 Feb 2011 15:32:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219034 - in stable/8: . contrib/bsnmp/snmpd contrib/top contrib/xz gnu/usr.bin lib/libusb release/picobsd/floppy.tree/sbin sbin/geom/class/sched tools/regression/lib/msun tools/regress... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 15:32:45 -0000 Author: netchild Date: Fri Feb 25 15:32:44 2011 New Revision: 219034 URL: http://svn.freebsd.org/changeset/base/219034 Log: MFC r216591: Suggest to run the delete-old target after the second mergemaster. If you run it before, your rc scripts may still reference old files/directories and if you are in the unlucky situation to have triggered a reboot (intentionally or not) between the delete-old run and the mergemaster, your system may not start anymore. While I'm here, give a hint about delete-old-libs. Noticed by: bcr (luckily in a discussion and not by getting hit by this) Modified: stable/8/UPDATING (contents, props changed) Directory Properties: stable/8/ (props changed) stable/8/COPYRIGHT (props changed) stable/8/Makefile (props changed) stable/8/Makefile.inc1 (props changed) stable/8/ObsoleteFiles.inc (props changed) stable/8/bin/ (props changed) stable/8/bin/chio/ (props changed) stable/8/bin/chmod/ (props changed) stable/8/bin/cp/ (props changed) stable/8/bin/csh/ (props changed) stable/8/bin/date/ (props changed) stable/8/bin/df/ (props changed) stable/8/bin/echo/ (props changed) stable/8/bin/ed/ (props changed) stable/8/bin/expr/ (props changed) stable/8/bin/getfacl/ (props changed) stable/8/bin/kenv/ (props changed) stable/8/bin/kill/ (props changed) stable/8/bin/ln/ (props changed) stable/8/bin/ls/ (props changed) stable/8/bin/mv/ (props changed) stable/8/bin/pax/ (props changed) stable/8/bin/pkill/ (props changed) stable/8/bin/ps/ (props changed) stable/8/bin/pwait/ (props changed) stable/8/bin/setfacl/ (props changed) stable/8/bin/sh/ (props changed) stable/8/bin/sleep/ (props changed) stable/8/bin/test/ (props changed) stable/8/cddl/compat/opensolaris/ (props changed) stable/8/cddl/contrib/opensolaris/ (props changed) stable/8/cddl/lib/ (props changed) stable/8/cddl/lib/libnvpair/ (props changed) stable/8/cddl/lib/libzpool/ (props changed) stable/8/cddl/usr.bin/ (props changed) stable/8/cddl/usr.sbin/ (props changed) stable/8/contrib/ (props changed) stable/8/contrib/bind9/ (props changed) stable/8/contrib/binutils/ (props changed) stable/8/contrib/bsnmp/ (props changed) stable/8/contrib/bsnmp/snmpd/bsnmpd.1 (props changed) stable/8/contrib/bzip2/ (props changed) stable/8/contrib/com_err/ (props changed) stable/8/contrib/csup/ (props changed) stable/8/contrib/ee/ (props changed) stable/8/contrib/expat/ (props changed) stable/8/contrib/file/ (props changed) stable/8/contrib/gcc/ (props changed) stable/8/contrib/gdb/ (props changed) stable/8/contrib/gdtoa/ (props changed) stable/8/contrib/groff/ (props changed) stable/8/contrib/ipfilter/ (props changed) stable/8/contrib/less/ (props changed) stable/8/contrib/libpcap/ (props changed) stable/8/contrib/ncurses/ (props changed) stable/8/contrib/netcat/ (props changed) stable/8/contrib/ntp/ (props changed) stable/8/contrib/nvi/ (props changed) stable/8/contrib/one-true-awk/ (props changed) stable/8/contrib/openbsm/ (props changed) stable/8/contrib/openpam/ (props changed) stable/8/contrib/pf/ (props changed) stable/8/contrib/sendmail/ (props changed) stable/8/contrib/tcp_wrappers/ (props changed) stable/8/contrib/tcpdump/ (props changed) stable/8/contrib/tcsh/ (props changed) stable/8/contrib/telnet/ (props changed) stable/8/contrib/top/ (props changed) stable/8/contrib/top/install-sh (props changed) stable/8/contrib/traceroute/ (props changed) stable/8/contrib/wpa/ (props changed) stable/8/contrib/xz/ (props changed) stable/8/contrib/xz/AUTHORS (props changed) stable/8/contrib/xz/COPYING (props changed) stable/8/contrib/xz/ChangeLog (props changed) stable/8/contrib/xz/FREEBSD-Xlist (props changed) stable/8/contrib/xz/FREEBSD-upgrade (props changed) stable/8/contrib/xz/README (props changed) stable/8/contrib/xz/THANKS (props changed) stable/8/contrib/xz/TODO (props changed) stable/8/contrib/xz/po/ (props changed) stable/8/contrib/xz/src/ (props changed) stable/8/crypto/heimdal/ (props changed) stable/8/crypto/openssh/ (props changed) stable/8/crypto/openssl/ (props changed) stable/8/etc/ (props changed) stable/8/games/factor/ (props changed) stable/8/games/fortune/ (props changed) stable/8/games/grdc/ (props changed) stable/8/games/pom/ (props changed) stable/8/gnu/lib/csu/ (props changed) stable/8/gnu/lib/libgcc/ (props changed) stable/8/gnu/lib/libstdc++/ (props changed) stable/8/gnu/usr.bin/ (props changed) stable/8/gnu/usr.bin/Makefile (props changed) stable/8/gnu/usr.bin/dialog/ (props changed) stable/8/gnu/usr.bin/gdb/ (props changed) stable/8/gnu/usr.bin/gdb/kgdb/ (props changed) stable/8/gnu/usr.bin/groff/ (props changed) stable/8/gnu/usr.bin/patch/ (props changed) stable/8/include/ (props changed) stable/8/kerberos5/lib/libgssapi_krb5/ (props changed) stable/8/kerberos5/lib/libgssapi_spnego/ (props changed) stable/8/kerberos5/usr.bin/kdestroy/ (props changed) stable/8/kerberos5/usr.bin/kpasswd/ (props changed) stable/8/lib/ (props changed) stable/8/lib/bind/ (props changed) stable/8/lib/csu/ (props changed) stable/8/lib/libarchive/ (props changed) stable/8/lib/libbluetooth/ (props changed) stable/8/lib/libc/ (props changed) stable/8/lib/libc/stdtime/ (props changed) stable/8/lib/libc_r/ (props changed) stable/8/lib/libcam/ (props changed) stable/8/lib/libcompat/ (props changed) stable/8/lib/libdevinfo/ (props changed) stable/8/lib/libdisk/ (props changed) stable/8/lib/libedit/ (props changed) stable/8/lib/libelf/ (props changed) stable/8/lib/libexpat/ (props changed) stable/8/lib/libfetch/ (props changed) stable/8/lib/libgeom/ (props changed) stable/8/lib/libgpib/ (props changed) stable/8/lib/libgssapi/ (props changed) stable/8/lib/libjail/ (props changed) stable/8/lib/libkse/ (props changed) stable/8/lib/libkvm/ (props changed) stable/8/lib/liblzma/ (props changed) stable/8/lib/libmagic/ (props changed) stable/8/lib/libmemstat/ (props changed) stable/8/lib/libpam/ (props changed) stable/8/lib/libpmc/ (props changed) stable/8/lib/libproc/ (props changed) stable/8/lib/libradius/ (props changed) stable/8/lib/librpcsec_gss/ (props changed) stable/8/lib/librtld_db/ (props changed) stable/8/lib/libsm/ (props changed) stable/8/lib/libstand/ (props changed) stable/8/lib/libtacplus/ (props changed) stable/8/lib/libthr/ (props changed) stable/8/lib/libthread_db/ (props changed) stable/8/lib/libufs/ (props changed) stable/8/lib/libugidfw/ (props changed) stable/8/lib/libusb/ (props changed) stable/8/lib/libusb/usb.h (props changed) stable/8/lib/libusbhid/ (props changed) stable/8/lib/libutil/ (props changed) stable/8/lib/libz/ (props changed) stable/8/lib/libz/contrib/ (props changed) stable/8/lib/msun/ (props changed) stable/8/libexec/ (props changed) stable/8/libexec/ftpd/ (props changed) stable/8/libexec/rtld-elf/ (props changed) stable/8/libexec/tftpd/ (props changed) stable/8/release/ (props changed) stable/8/release/doc/en_US.ISO8859-1/hardware/ (props changed) stable/8/release/picobsd/ (props changed) stable/8/release/picobsd/floppy.tree/sbin/ (props changed) stable/8/release/picobsd/floppy.tree/sbin/dhclient-script (props changed) stable/8/release/picobsd/qemu/ (props changed) stable/8/release/picobsd/tinyware/login/ (props changed) stable/8/release/powerpc/ (props changed) stable/8/sbin/ (props changed) stable/8/sbin/atacontrol/ (props changed) stable/8/sbin/bsdlabel/ (props changed) stable/8/sbin/camcontrol/ (props changed) stable/8/sbin/ddb/ (props changed) stable/8/sbin/devd/ (props changed) stable/8/sbin/devfs/ (props changed) stable/8/sbin/dhclient/ (props changed) stable/8/sbin/dump/ (props changed) stable/8/sbin/dumpfs/ (props changed) stable/8/sbin/fdisk/ (props changed) stable/8/sbin/fsck/ (props changed) stable/8/sbin/fsck_ffs/ (props changed) stable/8/sbin/fsck_msdosfs/ (props changed) stable/8/sbin/fsirand/ (props changed) stable/8/sbin/geom/ (props changed) stable/8/sbin/geom/class/multipath/ (props changed) stable/8/sbin/geom/class/part/ (props changed) stable/8/sbin/geom/class/sched/gsched.8 (props changed) stable/8/sbin/geom/class/stripe/ (props changed) stable/8/sbin/ggate/ (props changed) stable/8/sbin/growfs/ (props changed) stable/8/sbin/hastctl/ (props changed) stable/8/sbin/hastd/ (props changed) stable/8/sbin/ifconfig/ (props changed) stable/8/sbin/ipfw/ (props changed) stable/8/sbin/iscontrol/ (props changed) stable/8/sbin/kldload/ (props changed) stable/8/sbin/kldstat/ (props changed) stable/8/sbin/mdconfig/ (props changed) stable/8/sbin/mksnap_ffs/ (props changed) stable/8/sbin/mount/ (props changed) stable/8/sbin/mount_cd9660/ (props changed) stable/8/sbin/mount_msdosfs/ (props changed) stable/8/sbin/mount_nfs/ (props changed) stable/8/sbin/natd/ (props changed) stable/8/sbin/newfs/ (props changed) stable/8/sbin/newfs_msdos/ (props changed) stable/8/sbin/ping6/ (props changed) stable/8/sbin/reboot/ (props changed) stable/8/sbin/restore/ (props changed) stable/8/sbin/route/ (props changed) stable/8/sbin/routed/ (props changed) stable/8/sbin/setkey/ (props changed) stable/8/sbin/spppcontrol/ (props changed) stable/8/sbin/sysctl/ (props changed) stable/8/sbin/tunefs/ (props changed) stable/8/sbin/umount/ (props changed) stable/8/secure/ (props changed) stable/8/secure/lib/libcrypto/ (props changed) stable/8/secure/lib/libssl/ (props changed) stable/8/secure/usr.bin/bdes/ (props changed) stable/8/secure/usr.bin/openssl/ (props changed) stable/8/share/dict/ (props changed) stable/8/share/doc/papers/jail/ (props changed) stable/8/share/doc/smm/01.setup/ (props changed) stable/8/share/examples/ (props changed) stable/8/share/examples/etc/ (props changed) stable/8/share/examples/kld/syscall/ (props changed) stable/8/share/man/ (props changed) stable/8/share/man/man1/ (props changed) stable/8/share/man/man3/ (props changed) stable/8/share/man/man4/ (props changed) stable/8/share/man/man5/ (props changed) stable/8/share/man/man7/ (props changed) stable/8/share/man/man8/ (props changed) stable/8/share/man/man9/ (props changed) stable/8/share/misc/ (props changed) stable/8/share/mk/ (props changed) stable/8/share/syscons/ (props changed) stable/8/share/termcap/ (props changed) stable/8/share/timedef/ (props changed) stable/8/share/zoneinfo/ (props changed) stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/tools/ (props changed) stable/8/tools/build/mk/ (props changed) stable/8/tools/build/options/ (props changed) stable/8/tools/debugscripts/ (props changed) stable/8/tools/kerneldoc/subsys/ (props changed) stable/8/tools/regression/acct/ (props changed) stable/8/tools/regression/acltools/ (props changed) stable/8/tools/regression/aio/aiotest/ (props changed) stable/8/tools/regression/bin/ (props changed) stable/8/tools/regression/bin/date/ (props changed) stable/8/tools/regression/bin/sh/ (props changed) stable/8/tools/regression/fifo/ (props changed) stable/8/tools/regression/geom/ (props changed) stable/8/tools/regression/lib/libc/ (props changed) stable/8/tools/regression/lib/msun/test-conj.t (props changed) stable/8/tools/regression/mqueue/mqtest1/ (props changed) stable/8/tools/regression/mqueue/mqtest2/ (props changed) stable/8/tools/regression/mqueue/mqtest3/ (props changed) stable/8/tools/regression/mqueue/mqtest4/ (props changed) stable/8/tools/regression/mqueue/mqtest5/ (props changed) stable/8/tools/regression/netinet/ (props changed) stable/8/tools/regression/poll/ (props changed) stable/8/tools/regression/posixsem/ (props changed) stable/8/tools/regression/priv/ (props changed) stable/8/tools/regression/sockets/unix_gc/ (props changed) stable/8/tools/regression/usr.bin/ (props changed) stable/8/tools/regression/usr.bin/pkill/ (props changed) stable/8/tools/regression/usr.bin/pkill/pgrep-_g.t (props changed) stable/8/tools/regression/usr.bin/pkill/pgrep-_s.t (props changed) stable/8/tools/regression/usr.bin/pkill/pkill-_g.t (props changed) stable/8/tools/regression/usr.bin/sed/ (props changed) stable/8/tools/regression/usr.bin/tr/ (props changed) stable/8/tools/test/ (props changed) stable/8/tools/tools/ (props changed) stable/8/tools/tools/ath/ (props changed) stable/8/tools/tools/ath/common/dumpregs.h (props changed) stable/8/tools/tools/ath/common/dumpregs_5210.c (props changed) stable/8/tools/tools/ath/common/dumpregs_5211.c (props changed) stable/8/tools/tools/ath/common/dumpregs_5212.c (props changed) stable/8/tools/tools/ath/common/dumpregs_5416.c (props changed) stable/8/tools/tools/mctest/ (props changed) stable/8/tools/tools/nanobsd/ (props changed) stable/8/tools/tools/netrate/ (props changed) stable/8/tools/tools/netrate/tcpp/ (props changed) stable/8/tools/tools/termcap/termcap.pl (props changed) stable/8/tools/tools/umastat/ (props changed) stable/8/tools/tools/vimage/ (props changed) stable/8/usr.bin/ (props changed) stable/8/usr.bin/apply/ (props changed) stable/8/usr.bin/ar/ (props changed) stable/8/usr.bin/awk/ (props changed) stable/8/usr.bin/biff/ (props changed) stable/8/usr.bin/c89/ (props changed) stable/8/usr.bin/c99/ (props changed) stable/8/usr.bin/calendar/ (props changed) stable/8/usr.bin/catman/ (props changed) stable/8/usr.bin/chpass/Makefile (props changed) stable/8/usr.bin/column/ (props changed) stable/8/usr.bin/comm/ (props changed) stable/8/usr.bin/cpio/ (props changed) stable/8/usr.bin/cpuset/ (props changed) stable/8/usr.bin/csup/ (props changed) stable/8/usr.bin/du/ (props changed) stable/8/usr.bin/ee/ (props changed) stable/8/usr.bin/enigma/ (props changed) stable/8/usr.bin/fetch/ (props changed) stable/8/usr.bin/find/ (props changed) stable/8/usr.bin/finger/ (props changed) stable/8/usr.bin/fold/ (props changed) stable/8/usr.bin/fstat/ (props changed) stable/8/usr.bin/gcore/ (props changed) stable/8/usr.bin/getopt/ (props changed) stable/8/usr.bin/gzip/ (props changed) stable/8/usr.bin/hexdump/ (props changed) stable/8/usr.bin/indent/ (props changed) stable/8/usr.bin/jot/ (props changed) stable/8/usr.bin/kdump/ (props changed) stable/8/usr.bin/killall/ (props changed) stable/8/usr.bin/ktrace/ (props changed) stable/8/usr.bin/ldd/ (props changed) stable/8/usr.bin/lex/ (props changed) stable/8/usr.bin/locale/ (props changed) stable/8/usr.bin/locate/ (props changed) stable/8/usr.bin/lockf/ (props changed) stable/8/usr.bin/look/ (props changed) stable/8/usr.bin/m4/ (props changed) stable/8/usr.bin/mail/ (props changed) stable/8/usr.bin/make/ (props changed) stable/8/usr.bin/makewhatis/ (props changed) stable/8/usr.bin/minigzip/ (props changed) stable/8/usr.bin/ncal/ (props changed) stable/8/usr.bin/netstat/ (props changed) stable/8/usr.bin/pathchk/ (props changed) stable/8/usr.bin/perror/ (props changed) stable/8/usr.bin/procstat/ (props changed) stable/8/usr.bin/rpcgen/ (props changed) stable/8/usr.bin/rpcinfo/ (props changed) stable/8/usr.bin/ruptime/ (props changed) stable/8/usr.bin/script/ (props changed) stable/8/usr.bin/sed/ (props changed) stable/8/usr.bin/sockstat/ (props changed) stable/8/usr.bin/split/ (props changed) stable/8/usr.bin/stat/ (props changed) stable/8/usr.bin/systat/ (props changed) stable/8/usr.bin/tar/ (props changed) stable/8/usr.bin/tftp/ (props changed) stable/8/usr.bin/top/ (props changed) stable/8/usr.bin/touch/ (props changed) stable/8/usr.bin/tr/ (props changed) stable/8/usr.bin/truss/ (props changed) stable/8/usr.bin/uname/ (props changed) stable/8/usr.bin/uniq/ (props changed) stable/8/usr.bin/unzip/ (props changed) stable/8/usr.bin/uudecode/ (props changed) stable/8/usr.bin/vmstat/ (props changed) stable/8/usr.bin/w/ (props changed) stable/8/usr.bin/whois/ (props changed) stable/8/usr.bin/xinstall/ (props changed) stable/8/usr.bin/xlint/ (props changed) stable/8/usr.bin/xz/ (props changed) stable/8/usr.bin/yacc/ (props changed) stable/8/usr.sbin/ (props changed) stable/8/usr.sbin/Makefile (props changed) stable/8/usr.sbin/acpi/ (props changed) stable/8/usr.sbin/arp/ (props changed) stable/8/usr.sbin/asf/ (props changed) stable/8/usr.sbin/bluetooth/ (props changed) stable/8/usr.sbin/bluetooth/bthidcontrol/ (props changed) stable/8/usr.sbin/bluetooth/bthidd/ (props changed) stable/8/usr.sbin/boot0cfg/ (props changed) stable/8/usr.sbin/bsnmpd/ (props changed) stable/8/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_processor_tbl.c (props changed) stable/8/usr.sbin/burncd/ (props changed) stable/8/usr.sbin/cdcontrol/ (props changed) stable/8/usr.sbin/chown/ (props changed) stable/8/usr.sbin/config/ (props changed) stable/8/usr.sbin/config/SMM.doc/ (props changed) stable/8/usr.sbin/cpucontrol/ (props changed) stable/8/usr.sbin/crashinfo/ (props changed) stable/8/usr.sbin/cron/ (props changed) stable/8/usr.sbin/crunch/examples/ (props changed) stable/8/usr.sbin/ctm/ (props changed) stable/8/usr.sbin/cxgbtool/ (props changed) stable/8/usr.sbin/devinfo/ (props changed) stable/8/usr.sbin/diskinfo/ (props changed) stable/8/usr.sbin/dumpcis/cardinfo.h (props changed) stable/8/usr.sbin/dumpcis/cis.h (props changed) stable/8/usr.sbin/faithd/ (props changed) stable/8/usr.sbin/fdcontrol/ (props changed) stable/8/usr.sbin/fdformat/ (props changed) stable/8/usr.sbin/fdread/ (props changed) stable/8/usr.sbin/fdwrite/ (props changed) stable/8/usr.sbin/fifolog/ (props changed) stable/8/usr.sbin/flowctl/ (props changed) stable/8/usr.sbin/freebsd-update/ (props changed) stable/8/usr.sbin/i2c/ (props changed) stable/8/usr.sbin/inetd/ (props changed) stable/8/usr.sbin/iostat/ (props changed) stable/8/usr.sbin/jail/ (props changed) stable/8/usr.sbin/jls/ (props changed) stable/8/usr.sbin/lpr/ (props changed) stable/8/usr.sbin/mailwrapper/ (props changed) stable/8/usr.sbin/makefs/ffs/ffs_bswap.c (props changed) stable/8/usr.sbin/makefs/ffs/ffs_subr.c (props changed) stable/8/usr.sbin/makefs/ffs/ufs_bswap.h (props changed) stable/8/usr.sbin/makefs/getid.c (props changed) stable/8/usr.sbin/mergemaster/ (props changed) stable/8/usr.sbin/mfiutil/ (props changed) stable/8/usr.sbin/mountd/ (props changed) stable/8/usr.sbin/moused/ (props changed) stable/8/usr.sbin/mptutil/ (props changed) stable/8/usr.sbin/mtest/ (props changed) stable/8/usr.sbin/mtree/ (props changed) stable/8/usr.sbin/named/ (props changed) stable/8/usr.sbin/ndp/ (props changed) stable/8/usr.sbin/newsyslog/ (props changed) stable/8/usr.sbin/nfsdumpstate/ (props changed) stable/8/usr.sbin/ntp/ (props changed) stable/8/usr.sbin/pciconf/ (props changed) stable/8/usr.sbin/periodic/ (props changed) stable/8/usr.sbin/pkg_install/ (props changed) stable/8/usr.sbin/pmcannotate/ (props changed) stable/8/usr.sbin/pmccontrol/ (props changed) stable/8/usr.sbin/pmcstat/ (props changed) stable/8/usr.sbin/powerd/ (props changed) stable/8/usr.sbin/ppp/ (props changed) stable/8/usr.sbin/pppctl/ (props changed) stable/8/usr.sbin/pstat/ (props changed) stable/8/usr.sbin/rpc.lockd/ (props changed) stable/8/usr.sbin/rpc.umntall/ (props changed) stable/8/usr.sbin/rpcbind/ (props changed) stable/8/usr.sbin/rtadvd/ (props changed) stable/8/usr.sbin/rtsold/ (props changed) stable/8/usr.sbin/sade/ (props changed) stable/8/usr.sbin/service/ (props changed) stable/8/usr.sbin/services_mkdb/ (props changed) stable/8/usr.sbin/setfmac/ (props changed) stable/8/usr.sbin/setpmac/ (props changed) stable/8/usr.sbin/smbmsg/ (props changed) stable/8/usr.sbin/sysinstall/ (props changed) stable/8/usr.sbin/syslogd/ (props changed) stable/8/usr.sbin/traceroute/ (props changed) stable/8/usr.sbin/traceroute6/ (props changed) stable/8/usr.sbin/uathload/ (props changed) stable/8/usr.sbin/ugidfw/ (props changed) stable/8/usr.sbin/uhsoctl/ (props changed) stable/8/usr.sbin/usbconfig/ (props changed) stable/8/usr.sbin/vidcontrol/ (props changed) stable/8/usr.sbin/watchdogd/ (props changed) stable/8/usr.sbin/wpa/ (props changed) stable/8/usr.sbin/ypserv/ (props changed) stable/8/usr.sbin/zic/ (props changed) Modified: stable/8/UPDATING ============================================================================== --- stable/8/UPDATING Fri Feb 25 14:56:06 2011 (r219033) +++ stable/8/UPDATING Fri Feb 25 15:32:44 2011 (r219034) @@ -1644,8 +1644,8 @@ COMMON ITEMS: [3] mergemaster -p [5] make installworld - make delete-old mergemaster [4] + make delete-old [6] @@ -1682,8 +1682,8 @@ COMMON ITEMS: [3] mergemaster -p [5] make installworld - make delete-old mergemaster -i [4] + make delete-old [6] Make sure that you've read the UPDATING file to understand the @@ -1725,6 +1725,10 @@ COMMON ITEMS: install) after the buildworld before this step if you last updated from current before 20020224 or from -stable before 20020408. + [6] This only deletes old files and directories. Old libraries + can be deleted by "make delete-old-libs", but you have to make + sure that no program is using those libraries anymore. + [8] In order to have a kernel that can run the 4.x binaries needed to do an installworld, you must include the COMPAT_FREEBSD4 option in your kernel. Failure to do so may leave you with a system From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 16:08:32 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 270581065673; Fri, 25 Feb 2011 16:08:32 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 11DD08FC1E; Fri, 25 Feb 2011 16:08:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PG8WTF089625; Fri, 25 Feb 2011 16:08:32 GMT (envelope-from netchild@svn.freebsd.org) Received: (from netchild@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PG8WsG089623; Fri, 25 Feb 2011 16:08:32 GMT (envelope-from netchild@svn.freebsd.org) Message-Id: <201102251608.p1PG8WsG089623@svn.freebsd.org> From: Alexander Leidinger Date: Fri, 25 Feb 2011 16:08:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219035 - in stable/7: . contrib/bsnmp/snmpd contrib/wpa_supplicant gnu/usr.bin/groff/tmac share/misc tools/tools/nanobsd usr.sbin usr.sbin/bsnmpd/modules/snmp_hostres usr.sbin/makefs u... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 16:08:32 -0000 Author: netchild Date: Fri Feb 25 16:08:31 2011 New Revision: 219035 URL: http://svn.freebsd.org/changeset/base/219035 Log: MFC r216591: Suggest to run the delete-old target after the second mergemaster. If you run it before, your rc scripts may still reference old files/directories and if you are in the unlucky situation to have triggered a reboot (intentionally or not) between the delete-old run and the mergemaster, your system may not start anymore. While I'm here, give a hint about delete-old-libs. Noticed by: bcr (luckily in a discussion and not by getting hit by this) Modified: stable/7/UPDATING (contents, props changed) Directory Properties: stable/7/ (props changed) stable/7/COPYRIGHT (props changed) stable/7/Makefile (props changed) stable/7/Makefile.inc1 (props changed) stable/7/ObsoleteFiles.inc (props changed) stable/7/bin/ (props changed) stable/7/bin/chflags/ (props changed) stable/7/bin/chio/ (props changed) stable/7/bin/cp/ (props changed) stable/7/bin/csh/ (props changed) stable/7/bin/dd/ (props changed) stable/7/bin/df/ (props changed) stable/7/bin/echo/ (props changed) stable/7/bin/ed/ (props changed) stable/7/bin/expr/ (props changed) stable/7/bin/kill/ (props changed) stable/7/bin/ln/ (props changed) stable/7/bin/ls/ (props changed) stable/7/bin/pax/ (props changed) stable/7/bin/ps/ (props changed) stable/7/bin/rm/ (props changed) stable/7/bin/sh/ (props changed) stable/7/bin/test/ (props changed) stable/7/cddl/contrib/opensolaris/ (props changed) stable/7/cddl/lib/libzpool/ (props changed) stable/7/contrib/bind9/ (props changed) stable/7/contrib/binutils/ (props changed) stable/7/contrib/bsnmp/ (props changed) stable/7/contrib/bsnmp/snmpd/bsnmpd.1 (props changed) stable/7/contrib/cpio/ (props changed) stable/7/contrib/csup/ (props changed) stable/7/contrib/expat/ (props changed) stable/7/contrib/gcc/ (props changed) stable/7/contrib/gdb/ (props changed) stable/7/contrib/gdtoa/ (props changed) stable/7/contrib/groff/ (props changed) stable/7/contrib/ipfilter/ (props changed) stable/7/contrib/less/ (props changed) stable/7/contrib/libpcap/ (props changed) stable/7/contrib/ncurses/ (props changed) stable/7/contrib/netcat/ (props changed) stable/7/contrib/ntp/ (props changed) stable/7/contrib/nvi/ (props changed) stable/7/contrib/pf/ (props changed) stable/7/contrib/sendmail/ (props changed) stable/7/contrib/smbfs/ (props changed) stable/7/contrib/tcp_wrappers/ (props changed) stable/7/contrib/tcsh/ (props changed) stable/7/contrib/telnet/ (props changed) stable/7/contrib/top/ (props changed) stable/7/contrib/traceroute/ (props changed) stable/7/contrib/wpa_supplicant/ (props changed) stable/7/contrib/wpa_supplicant/wpa_supplicant.conf (props changed) stable/7/crypto/openssh/ (props changed) stable/7/crypto/openssl/ (props changed) stable/7/etc/ (props changed) stable/7/games/factor/ (props changed) stable/7/games/fortune/ (props changed) stable/7/games/grdc/ (props changed) stable/7/gnu/ (props changed) stable/7/gnu/lib/libstdc++/ (props changed) stable/7/gnu/usr.bin/ (props changed) stable/7/gnu/usr.bin/cc/ (props changed) stable/7/gnu/usr.bin/cpio/ (props changed) stable/7/gnu/usr.bin/cvs/ (props changed) stable/7/gnu/usr.bin/gdb/ (props changed) stable/7/gnu/usr.bin/gdb/kgdb/ (props changed) stable/7/gnu/usr.bin/grep/ (props changed) stable/7/gnu/usr.bin/groff/ (props changed) stable/7/gnu/usr.bin/groff/tmac/mdoc.local (props changed) stable/7/gnu/usr.bin/man/ (props changed) stable/7/gnu/usr.bin/sort/ (props changed) stable/7/include/ (props changed) stable/7/kerberos5/ (props changed) stable/7/lib/ (props changed) stable/7/lib/bind/ (props changed) stable/7/lib/csu/ (props changed) stable/7/lib/libarchive/ (props changed) stable/7/lib/libbluetooth/ (props changed) stable/7/lib/libc/ (props changed) stable/7/lib/libc/stdtime/ (props changed) stable/7/lib/libc_r/ (props changed) stable/7/lib/libcam/ (props changed) stable/7/lib/libdisk/ (props changed) stable/7/lib/libdwarf/ (props changed) stable/7/lib/libelf/ (props changed) stable/7/lib/libexpat/ (props changed) stable/7/lib/libfetch/ (props changed) stable/7/lib/libftpio/ (props changed) stable/7/lib/libgeom/ (props changed) stable/7/lib/libgssapi/ (props changed) stable/7/lib/libkse/ (props changed) stable/7/lib/libkvm/ (props changed) stable/7/lib/libmagic/ (props changed) stable/7/lib/libmemstat/ (props changed) stable/7/lib/libpmc/ (props changed) stable/7/lib/libradius/ (props changed) stable/7/lib/libsm/ (props changed) stable/7/lib/libstand/ (props changed) stable/7/lib/libthr/ (props changed) stable/7/lib/libthread_db/ (props changed) stable/7/lib/libufs/ (props changed) stable/7/lib/libutil/ (props changed) stable/7/lib/msun/ (props changed) stable/7/libexec/ (props changed) stable/7/libexec/ftpd/ (props changed) stable/7/libexec/rpc.rquotad/ (props changed) stable/7/libexec/rpc.rstatd/ (props changed) stable/7/libexec/rtld-elf/ (props changed) stable/7/libexec/tftpd/ (props changed) stable/7/release/ (props changed) stable/7/release/doc/ (props changed) stable/7/release/doc/en_US.ISO8859-1/hardware/ (props changed) stable/7/release/picobsd/tinyware/login/ (props changed) stable/7/rescue/ (props changed) stable/7/sbin/ (props changed) stable/7/sbin/atacontrol/ (props changed) stable/7/sbin/bsdlabel/ (props changed) stable/7/sbin/clri/ (props changed) stable/7/sbin/ddb/ (props changed) stable/7/sbin/devd/ (props changed) stable/7/sbin/devfs/ (props changed) stable/7/sbin/dhclient/ (props changed) stable/7/sbin/dumpfs/ (props changed) stable/7/sbin/fdisk/ (props changed) stable/7/sbin/fdisk_pc98/ (props changed) stable/7/sbin/fsck/ (props changed) stable/7/sbin/fsck_ffs/ (props changed) stable/7/sbin/fsck_msdosfs/ (props changed) stable/7/sbin/geom/ (props changed) stable/7/sbin/geom/class/journal/ (props changed) stable/7/sbin/geom/class/label/ (props changed) stable/7/sbin/geom/class/part/ (props changed) stable/7/sbin/geom/class/stripe/ (props changed) stable/7/sbin/geom/misc/ (props changed) stable/7/sbin/growfs/ (props changed) stable/7/sbin/ifconfig/ (props changed) stable/7/sbin/init/ (props changed) stable/7/sbin/ipf/ (props changed) stable/7/sbin/ipfw/ (props changed) stable/7/sbin/md5/ (props changed) stable/7/sbin/mdconfig/ (props changed) stable/7/sbin/mksnap_ffs/ (props changed) stable/7/sbin/mount/ (props changed) stable/7/sbin/mount_msdosfs/ (props changed) stable/7/sbin/natd/ (props changed) stable/7/sbin/newfs/ (props changed) stable/7/sbin/newfs_msdos/ (props changed) stable/7/sbin/ping6/ (props changed) stable/7/sbin/reboot/ (props changed) stable/7/sbin/restore/ (props changed) stable/7/sbin/route/ (props changed) stable/7/sbin/savecore/ (props changed) stable/7/sbin/sconfig/ (props changed) stable/7/sbin/shutdown/ (props changed) stable/7/sbin/sysctl/ (props changed) stable/7/sbin/tunefs/ (props changed) stable/7/secure/lib/libcrypto/ (props changed) stable/7/secure/lib/libssh/ (props changed) stable/7/secure/lib/libssl/ (props changed) stable/7/secure/libexec/sftp-server/ (props changed) stable/7/secure/usr.bin/bdes/ (props changed) stable/7/secure/usr.bin/openssl/ (props changed) stable/7/secure/usr.bin/ssh/ (props changed) stable/7/secure/usr.sbin/sshd/ (props changed) stable/7/share/ (props changed) stable/7/share/colldef/ (props changed) stable/7/share/dict/ (props changed) stable/7/share/doc/bind9/ (props changed) stable/7/share/doc/papers/jail/ (props changed) stable/7/share/doc/smm/01.setup/ (props changed) stable/7/share/examples/ (props changed) stable/7/share/man/ (props changed) stable/7/share/man/man1/ (props changed) stable/7/share/man/man3/ (props changed) stable/7/share/man/man4/ (props changed) stable/7/share/man/man5/ (props changed) stable/7/share/man/man7/ (props changed) stable/7/share/man/man8/ (props changed) stable/7/share/man/man9/ (props changed) stable/7/share/misc/ (props changed) stable/7/share/misc/iso639 (props changed) stable/7/share/misc/pci_vendors (props changed) stable/7/share/mk/ (props changed) stable/7/share/mklocale/ (props changed) stable/7/share/monetdef/ (props changed) stable/7/share/msgdef/ (props changed) stable/7/share/numericdef/ (props changed) stable/7/share/sendmail/ (props changed) stable/7/share/syscons/ (props changed) stable/7/share/syscons/keymaps/ (props changed) stable/7/share/termcap/ (props changed) stable/7/share/timedef/ (props changed) stable/7/share/zoneinfo/ (props changed) stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/tools/ (props changed) stable/7/tools/build/ (props changed) stable/7/tools/build/options/ (props changed) stable/7/tools/debugscripts/ (props changed) stable/7/tools/regression/acct/ (props changed) stable/7/tools/regression/atm/ (props changed) stable/7/tools/regression/bin/ (props changed) stable/7/tools/regression/bin/date/ (props changed) stable/7/tools/regression/bin/sh/ (props changed) stable/7/tools/regression/file/ (props changed) stable/7/tools/regression/file/flock/ (props changed) stable/7/tools/regression/lib/libc/ (props changed) stable/7/tools/regression/usr.bin/ (props changed) stable/7/tools/regression/usr.bin/jot/ (props changed) stable/7/tools/regression/usr.bin/tr/ (props changed) stable/7/tools/sched/ (props changed) stable/7/tools/test/ (props changed) stable/7/tools/tools/ (props changed) stable/7/tools/tools/aac/ (props changed) stable/7/tools/tools/crypto/ (props changed) stable/7/tools/tools/editing/ (props changed) stable/7/tools/tools/nanobsd/ (props changed) stable/7/tools/tools/nanobsd/FlashDevice.sub (props changed) stable/7/tools/tools/nanobsd/nanobsd.sh (props changed) stable/7/tools/tools/netrate/ (props changed) stable/7/tools/tools/tinybsd/ (props changed) stable/7/tools/tools/umastat/ (props changed) stable/7/tools/tools/usb/ (props changed) stable/7/usr.bin/ (props changed) stable/7/usr.bin/basename/ (props changed) stable/7/usr.bin/bluetooth/rfcomm_sppd/ (props changed) stable/7/usr.bin/calendar/ (props changed) stable/7/usr.bin/catman/ (props changed) stable/7/usr.bin/cksum/ (props changed) stable/7/usr.bin/comm/ (props changed) stable/7/usr.bin/cpuset/ (props changed) stable/7/usr.bin/csup/ (props changed) stable/7/usr.bin/dirname/ (props changed) stable/7/usr.bin/du/ (props changed) stable/7/usr.bin/fetch/ (props changed) stable/7/usr.bin/file/ (props changed) stable/7/usr.bin/find/ (props changed) stable/7/usr.bin/finger/ (props changed) stable/7/usr.bin/fold/ (props changed) stable/7/usr.bin/fstat/ (props changed) stable/7/usr.bin/gcore/ (props changed) stable/7/usr.bin/getopt/ (props changed) stable/7/usr.bin/gprof/ (props changed) stable/7/usr.bin/gzip/ (props changed) stable/7/usr.bin/hexdump/ (props changed) stable/7/usr.bin/id/ (props changed) stable/7/usr.bin/indent/ (props changed) stable/7/usr.bin/ipcrm/ (props changed) stable/7/usr.bin/ipcs/ (props changed) stable/7/usr.bin/jot/ (props changed) stable/7/usr.bin/kdump/ (props changed) stable/7/usr.bin/ktrace/ (props changed) stable/7/usr.bin/ldd/ (props changed) stable/7/usr.bin/less/ (props changed) stable/7/usr.bin/lex/ (props changed) stable/7/usr.bin/locate/ (props changed) stable/7/usr.bin/lockf/ (props changed) stable/7/usr.bin/logger/ (props changed) stable/7/usr.bin/m4/ (props changed) stable/7/usr.bin/mail/ (props changed) stable/7/usr.bin/make/ (props changed) stable/7/usr.bin/ncal/ (props changed) stable/7/usr.bin/netstat/ (props changed) stable/7/usr.bin/newgrp/ (props changed) stable/7/usr.bin/nsupdate/ (props changed) stable/7/usr.bin/pkill/ (props changed) stable/7/usr.bin/procstat/ (props changed) stable/7/usr.bin/quota/ (props changed) stable/7/usr.bin/rpcgen/ (props changed) stable/7/usr.bin/rpcinfo/ (props changed) stable/7/usr.bin/ruptime/ (props changed) stable/7/usr.bin/script/ (props changed) stable/7/usr.bin/sed/ (props changed) stable/7/usr.bin/shar/ (props changed) stable/7/usr.bin/sockstat/ (props changed) stable/7/usr.bin/stat/ (props changed) stable/7/usr.bin/su/ (props changed) stable/7/usr.bin/systat/ (props changed) stable/7/usr.bin/tail/ (props changed) stable/7/usr.bin/tar/ (props changed) stable/7/usr.bin/tftp/ (props changed) stable/7/usr.bin/tip/ (props changed) stable/7/usr.bin/top/ (props changed) stable/7/usr.bin/truncate/ (props changed) stable/7/usr.bin/truss/ (props changed) stable/7/usr.bin/uname/ (props changed) stable/7/usr.bin/unifdef/ (props changed) stable/7/usr.bin/units/ (props changed) stable/7/usr.bin/uudecode/ (props changed) stable/7/usr.bin/vmstat/ (props changed) stable/7/usr.bin/w/ (props changed) stable/7/usr.bin/wc/ (props changed) stable/7/usr.bin/whereis/ (props changed) stable/7/usr.bin/whois/ (props changed) stable/7/usr.bin/window/ (props changed) stable/7/usr.bin/xargs/ (props changed) stable/7/usr.bin/xinstall/ (props changed) stable/7/usr.bin/ypcat/ (props changed) stable/7/usr.bin/ypmatch/ (props changed) stable/7/usr.bin/ypwhich/ (props changed) stable/7/usr.sbin/ (props changed) stable/7/usr.sbin/Makefile (props changed) stable/7/usr.sbin/acpi/ (props changed) stable/7/usr.sbin/adduser/ (props changed) stable/7/usr.sbin/arp/ (props changed) stable/7/usr.sbin/bluetooth/ (props changed) stable/7/usr.sbin/bluetooth/btpand/ (props changed) stable/7/usr.sbin/bluetooth/hcsecd/ (props changed) stable/7/usr.sbin/bluetooth/hcseriald/ (props changed) stable/7/usr.sbin/bluetooth/rfcomm_pppd/ (props changed) stable/7/usr.sbin/bluetooth/sdpd/ (props changed) stable/7/usr.sbin/boot0cfg/ (props changed) stable/7/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_processor_tbl.c (props changed) stable/7/usr.sbin/bsnmpd/modules/snmp_pf/ (props changed) stable/7/usr.sbin/burncd/ (props changed) stable/7/usr.sbin/cdcontrol/ (props changed) stable/7/usr.sbin/chown/ (props changed) stable/7/usr.sbin/chroot/ (props changed) stable/7/usr.sbin/config/ (props changed) stable/7/usr.sbin/config/SMM.doc/ (props changed) stable/7/usr.sbin/cpucontrol/ (props changed) stable/7/usr.sbin/crashinfo/ (props changed) stable/7/usr.sbin/cron/ (props changed) stable/7/usr.sbin/cron/cron/ (props changed) stable/7/usr.sbin/crunch/ (props changed) stable/7/usr.sbin/cxgbtool/ (props changed) stable/7/usr.sbin/eeprom/ (props changed) stable/7/usr.sbin/extattr/ (props changed) stable/7/usr.sbin/faithd/ (props changed) stable/7/usr.sbin/fdcontrol/ (props changed) stable/7/usr.sbin/fdformat/ (props changed) stable/7/usr.sbin/fdread/ (props changed) stable/7/usr.sbin/fdwrite/ (props changed) stable/7/usr.sbin/fifolog/ (props changed) stable/7/usr.sbin/freebsd-update/ (props changed) stable/7/usr.sbin/fwcontrol/ (props changed) stable/7/usr.sbin/gstat/ (props changed) stable/7/usr.sbin/iostat/ (props changed) stable/7/usr.sbin/jail/ (props changed) stable/7/usr.sbin/jexec/ (props changed) stable/7/usr.sbin/jls/ (props changed) stable/7/usr.sbin/lpr/ (props changed) stable/7/usr.sbin/mailwrapper/ (props changed) stable/7/usr.sbin/makefs/ (props changed) stable/7/usr.sbin/makefs/ffs/ffs_bswap.c (props changed) stable/7/usr.sbin/makefs/ffs/ffs_subr.c (props changed) stable/7/usr.sbin/makefs/ffs/ufs_bswap.h (props changed) stable/7/usr.sbin/makefs/getid.c (props changed) stable/7/usr.sbin/mergemaster/ (props changed) stable/7/usr.sbin/mfiutil/ (props changed) stable/7/usr.sbin/mountd/ (props changed) stable/7/usr.sbin/moused/ (props changed) stable/7/usr.sbin/mptutil/ (props changed) stable/7/usr.sbin/mtree/ (props changed) stable/7/usr.sbin/ndiscvt/ (props changed) stable/7/usr.sbin/ndp/ (props changed) stable/7/usr.sbin/newsyslog/ (props changed) stable/7/usr.sbin/nscd/ (props changed) stable/7/usr.sbin/ntp/ (props changed) stable/7/usr.sbin/pciconf/ (props changed) stable/7/usr.sbin/pkg_install/ (props changed) stable/7/usr.sbin/pmccontrol/ (props changed) stable/7/usr.sbin/pmcstat/ (props changed) stable/7/usr.sbin/portsnap/ (props changed) stable/7/usr.sbin/powerd/ (props changed) stable/7/usr.sbin/ppp/ (props changed) stable/7/usr.sbin/pstat/ (props changed) stable/7/usr.sbin/pw/ (props changed) stable/7/usr.sbin/pwd_mkdb/ (props changed) stable/7/usr.sbin/rpc.lockd/ (props changed) stable/7/usr.sbin/rpc.statd/ (props changed) stable/7/usr.sbin/rpc.yppasswdd/ (props changed) stable/7/usr.sbin/rpcbind/ (props changed) stable/7/usr.sbin/rtadvd/ (props changed) stable/7/usr.sbin/rtsold/ (props changed) stable/7/usr.sbin/sade/ (props changed) stable/7/usr.sbin/service/ (props changed) stable/7/usr.sbin/setfib/ (props changed) stable/7/usr.sbin/sysinstall/ (props changed) stable/7/usr.sbin/syslogd/ (props changed) stable/7/usr.sbin/traceroute/ (props changed) stable/7/usr.sbin/traceroute6/ (props changed) stable/7/usr.sbin/tzsetup/ (props changed) stable/7/usr.sbin/ugidfw/ (props changed) stable/7/usr.sbin/wpa/wpa_supplicant/ (props changed) stable/7/usr.sbin/ypserv/ (props changed) stable/7/usr.sbin/zic/ (props changed) Modified: stable/7/UPDATING ============================================================================== --- stable/7/UPDATING Fri Feb 25 15:32:44 2011 (r219034) +++ stable/7/UPDATING Fri Feb 25 16:08:31 2011 (r219035) @@ -988,8 +988,8 @@ COMMON ITEMS: [3] mergemaster -p [5] make installworld - make delete-old mergemaster [4] + make delete-old [6] @@ -1026,8 +1026,8 @@ COMMON ITEMS: [3] mergemaster -p [5] make installworld - make delete-old mergemaster -i [4] + make delete-old [6] Make sure that you've read the UPDATING file to understand the @@ -1069,6 +1069,10 @@ COMMON ITEMS: install) after the buildworld before this step if you last updated from current before 20020224 or from -stable before 20020408. + [6] This only deletes old files and directories. Old libraries + can be deleted by "make delete-old-libs", but you have to make + sure that no program is using those libraries anymore. + [8] In order to have a kernel that can run the 4.x binaries needed to do an installworld, you must include the COMPAT_FREEBSD4 option in your kernel. Failure to do so may leave you with a system From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 16:21:11 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9587D106566C; Fri, 25 Feb 2011 16:21:11 +0000 (UTC) (envelope-from alc@rice.edu) Received: from mh2.mail.rice.edu (mh2.mail.rice.edu [128.42.201.21]) by mx1.freebsd.org (Postfix) with ESMTP id 5C7BF8FC12; Fri, 25 Feb 2011 16:21:11 +0000 (UTC) Received: from mh2.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh2.mail.rice.edu (Postfix) with ESMTP id 4FD5C28FAA7; Fri, 25 Feb 2011 10:05:46 -0600 (CST) X-Virus-Scanned: by amavis-2.6.4 at mh2.mail.rice.edu, auth channel Received: from mh2.mail.rice.edu ([127.0.0.1]) by mh2.mail.rice.edu (mh2.mail.rice.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id 9upgLclPKoHe; Fri, 25 Feb 2011 10:05:46 -0600 (CST) Received: from adsl-216-63-78-18.dsl.hstntx.swbell.net (adsl-216-63-78-18.dsl.hstntx.swbell.net [216.63.78.18]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: alc) by mh2.mail.rice.edu (Postfix) with ESMTPSA id 8108B28FAA2; Fri, 25 Feb 2011 10:05:45 -0600 (CST) Message-ID: <4D67D358.2070909@rice.edu> Date: Fri, 25 Feb 2011 10:05:44 -0600 From: Alan Cox User-Agent: Thunderbird 2.0.0.24 (X11/20100725) MIME-Version: 1.0 To: Bruce Evans References: <201102231028.p1NASbET045275@svn.freebsd.org> <20110224063233.Y1100@besplex.bde.org> <1298499116.9366.3.camel@core.nessbank> <20110224102112.P1871@besplex.bde.org> In-Reply-To: <20110224102112.P1871@besplex.bde.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Bruce Cran , svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Bruce Cran Subject: Re: svn commit: r218966 - head/sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 16:21:11 -0000 Bruce Evans wrote: > On Wed, 23 Feb 2011, Bruce Cran wrote: > >> On Thu, 2011-02-24 at 08:23 +1100, Bruce Evans wrote: >> >>> The bug seems to have been overflow in this calculation. >>> [swap_bcount * SWAP_META_PAGES * n / ] >> >> I've attached a patch which changes 'n' to be of type vm_ooffset_t. I >> think this should fix the overflow bug? > > I don't like using vm_ooffset_t either. There are no offsets here, and > it's bad technique to depend on having a large type to avoid overflows > in expressions when the result type is different. > > I would cast operand(s) in the expression as necessary to prevent > overflow > of subexpressions. vm_pindex_t would work, but I prefer to use a type > related to the subexpressions. Not sure what that is. Maybe just > uintmax_t for safety (even that is not safe if the subexpressions have > large values). So: > > (uintmax_t)swap_bcount * SWAP_META_PAGES * n / mumble. > > I like to cast only the leftmost term if possible, and depend on the > larger type propagating to all subexpressions via left-to-right > evaluation. This saves a lot of casts. Here this may be sub-optimal > and we could probably delay the cast to the final multiplication, which > reduces to the same safeness as using uintmax_t for n. > > Next, there is the return type to consider. I don't see why it needs > to be changed from int. The patch in the PR actually changed it to > long, while changing n to vm_offset_t. But on 32-bit machines, long > is essentially the same as int, and vm_offset_t is not much larger. > Even 32-bit machine might actually need a type larger than 32 bits to > prevent overflow in expressions like the above. > With one exception, I would agree with what you have suggested above. I would argue for using a long. HP is already shipping amd64 architecture machines that support 2TB of RAM. In fact, we have already made changes to HEAD so that FreeBSD boots on these machines, albeit with a more modest amount of RAM. So, we are not that far away from the number of 4KB pages overflowing an int. In fact, it might plausibly happen before the End of Life for 9-STABLE. As you point out, most if not all of our page counters are still ints, but I see no reason for new or modified code like this not to begin the transition to a larger type. Alan From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 17:30:25 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE6EA106566B; Fri, 25 Feb 2011 17:30:25 +0000 (UTC) (envelope-from ken@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A56E98FC1D; Fri, 25 Feb 2011 17:30:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PHUPhf095727; Fri, 25 Feb 2011 17:30:25 GMT (envelope-from ken@svn.freebsd.org) Received: (from ken@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PHUPPx095723; Fri, 25 Feb 2011 17:30:25 GMT (envelope-from ken@svn.freebsd.org) Message-Id: <201102251730.p1PHUPPx095723@svn.freebsd.org> From: "Kenneth D. Merry" Date: Fri, 25 Feb 2011 17:30:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219036 - head/sys/dev/mps X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 17:30:25 -0000 Author: ken Date: Fri Feb 25 17:30:25 2011 New Revision: 219036 URL: http://svn.freebsd.org/changeset/base/219036 Log: Silence 'out of chain frames' warnings and bump the number of frames. mps.c: Hide the 'out of chain frames' warning behind MPS_INFO. mps_sas.c: Hide the SIM queue freeze/unfreeze messages behind MPS_INFO. mpsvar.h: Bump the number of chain frames from 1024 to 2048. From testing, it looks like this makes it less likely that we'll run out of chain frames, and it doesn't cost much memory (32K). MFC after: 3 days Modified: head/sys/dev/mps/mps.c head/sys/dev/mps/mps_sas.c head/sys/dev/mps/mpsvar.h Modified: head/sys/dev/mps/mps.c ============================================================================== --- head/sys/dev/mps/mps.c Fri Feb 25 16:08:31 2011 (r219035) +++ head/sys/dev/mps/mps.c Fri Feb 25 17:30:25 2011 (r219036) @@ -1705,7 +1705,7 @@ mps_data_cb(void *arg, bus_dma_segment_t sflags, nsegs - i); if (error != 0) { /* Resource shortage, roll back! */ - mps_printf(sc, "out of chain frames\n"); + mps_dprint(sc, MPS_INFO, "out of chain frames\n"); cm->cm_flags |= MPS_CM_FLAGS_CHAIN_FAILED; mps_complete_command(cm); return; Modified: head/sys/dev/mps/mps_sas.c ============================================================================== --- head/sys/dev/mps/mps_sas.c Fri Feb 25 16:08:31 2011 (r219035) +++ head/sys/dev/mps/mps_sas.c Fri Feb 25 17:30:25 2011 (r219036) @@ -1542,8 +1542,8 @@ mpssas_scsiio_complete(struct mps_softc if ((sassc->flags & MPSSAS_QUEUE_FROZEN) == 0) { xpt_freeze_simq(sassc->sim, 1); sassc->flags |= MPSSAS_QUEUE_FROZEN; - mps_printf(sc, "Error sending command, freezing " - "SIM queue\n"); + mps_dprint(sc, MPS_INFO, "Error sending command, " + "freezing SIM queue\n"); } } @@ -1556,7 +1556,8 @@ mpssas_scsiio_complete(struct mps_softc if (sassc->flags & MPSSAS_QUEUE_FROZEN) { ccb->ccb_h.status |= CAM_RELEASE_SIMQ; sassc->flags &= ~MPSSAS_QUEUE_FROZEN; - mps_printf(sc, "Unfreezing SIM queue\n"); + mps_dprint(sc, MPS_INFO, + "Unfreezing SIM queue\n"); } } else { ccb->ccb_h.status |= CAM_DEV_QFRZN; Modified: head/sys/dev/mps/mpsvar.h ============================================================================== --- head/sys/dev/mps/mpsvar.h Fri Feb 25 16:08:31 2011 (r219035) +++ head/sys/dev/mps/mpsvar.h Fri Feb 25 17:30:25 2011 (r219036) @@ -34,7 +34,7 @@ #define MPS_REQ_FRAMES 1024 #define MPS_EVT_REPLY_FRAMES 32 #define MPS_REPLY_FRAMES MPS_REQ_FRAMES -#define MPS_CHAIN_FRAMES 1024 +#define MPS_CHAIN_FRAMES 2048 #define MPS_SENSE_LEN SSD_FULL_SIZE #define MPS_MSI_COUNT 1 #define MPS_SGE64_SIZE 12 From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 18:29:58 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 492DC1065674; Fri, 25 Feb 2011 18:29:58 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1E7318FC0A; Fri, 25 Feb 2011 18:29:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PITw7F002513; Fri, 25 Feb 2011 18:29:58 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PITwOB002511; Fri, 25 Feb 2011 18:29:58 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201102251829.p1PITwOB002511@svn.freebsd.org> From: Jung-uk Kim Date: Fri, 25 Feb 2011 18:29:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219037 - head/sys/dev/acpica X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 18:29:58 -0000 Author: jkim Date: Fri Feb 25 18:29:57 2011 New Revision: 219037 URL: http://svn.freebsd.org/changeset/base/219037 Log: Add more definitions for vendor-specific CPU capability bits to the last revision, which is renamed to "Intel Processor Vendor-Specific ACPI". Modified: head/sys/dev/acpica/acpivar.h Modified: head/sys/dev/acpica/acpivar.h ============================================================================== --- head/sys/dev/acpica/acpivar.h Fri Feb 25 17:30:25 2011 (r219036) +++ head/sys/dev/acpica/acpivar.h Fri Feb 25 18:29:57 2011 (r219037) @@ -186,18 +186,20 @@ extern struct mtx acpi_mutex; /* * Various features and capabilities for the acpi_get_features() method. * In particular, these are used for the ACPI 3.0 _PDC and _OSC methods. - * See the Intel document titled "Processor Driver Capabilities Bit - * Definitions", number 302223-002. + * See the Intel document titled "Intel Processor Vendor-Specific ACPI", + * number 302223-005. */ -#define ACPI_CAP_PERF_MSRS (1 << 0) /* Intel SpeedStep PERF_CTL MSRs */ -#define ACPI_CAP_C1_IO_HALT (1 << 1) /* Intel C1 "IO then halt" sequence */ -#define ACPI_CAP_THR_MSRS (1 << 2) /* Intel OnDemand throttling MSRs */ -#define ACPI_CAP_SMP_SAME (1 << 3) /* MP C1, Px, and Tx (all the same) */ -#define ACPI_CAP_SMP_SAME_C3 (1 << 4) /* MP C2 and C3 (all the same) */ -#define ACPI_CAP_SMP_DIFF_PX (1 << 5) /* MP Px (different, using _PSD) */ -#define ACPI_CAP_SMP_DIFF_CX (1 << 6) /* MP Cx (different, using _CSD) */ -#define ACPI_CAP_SMP_DIFF_TX (1 << 7) /* MP Tx (different, using _TSD) */ -#define ACPI_CAP_SMP_C1_NATIVE (1 << 8) /* MP C1 support other than halt */ +#define ACPI_CAP_PERF_MSRS (1 << 0) /* Intel SpeedStep PERF_CTL MSRs */ +#define ACPI_CAP_C1_IO_HALT (1 << 1) /* Intel C1 "IO then halt" sequence */ +#define ACPI_CAP_THR_MSRS (1 << 2) /* Intel OnDemand throttling MSRs */ +#define ACPI_CAP_SMP_SAME (1 << 3) /* MP C1, Px, and Tx (all the same) */ +#define ACPI_CAP_SMP_SAME_C3 (1 << 4) /* MP C2 and C3 (all the same) */ +#define ACPI_CAP_SMP_DIFF_PX (1 << 5) /* MP Px (different, using _PSD) */ +#define ACPI_CAP_SMP_DIFF_CX (1 << 6) /* MP Cx (different, using _CSD) */ +#define ACPI_CAP_SMP_DIFF_TX (1 << 7) /* MP Tx (different, using _TSD) */ +#define ACPI_CAP_SMP_C1_NATIVE (1 << 8) /* MP C1 support other than halt */ +#define ACPI_CAP_SMP_C3_NATIVE (1 << 9) /* MP C2 and C3 support */ +#define ACPI_CAP_PX_HW_COORD (1 << 11) /* Intel P-state HW coordination */ /* * Quirk flags. From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 19:10:19 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA2BC1065679; Fri, 25 Feb 2011 19:10:19 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9A5A98FC16; Fri, 25 Feb 2011 19:10:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PJAJjU005320; Fri, 25 Feb 2011 19:10:19 GMT (envelope-from jh@svn.freebsd.org) Received: (from jh@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PJAJK8005318; Fri, 25 Feb 2011 19:10:19 GMT (envelope-from jh@svn.freebsd.org) Message-Id: <201102251910.p1PJAJK8005318@svn.freebsd.org> From: Jaakko Heinonen Date: Fri, 25 Feb 2011 19:10:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219038 - head/usr.bin/rs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 19:10:19 -0000 Author: jh Date: Fri Feb 25 19:10:19 2011 New Revision: 219038 URL: http://svn.freebsd.org/changeset/base/219038 Log: Document the input line length limit. Submitted by: Dominic Fandrey (original version) Modified: head/usr.bin/rs/rs.1 Modified: head/usr.bin/rs/rs.1 ============================================================================== --- head/usr.bin/rs/rs.1 Fri Feb 25 18:29:57 2011 (r219037) +++ head/usr.bin/rs/rs.1 Fri Feb 25 19:10:19 2011 (r219038) @@ -28,7 +28,7 @@ .\" @(#)rs.1 8.2 (Berkeley) 12/30/93 .\" $FreeBSD$ .\" -.Dd July 30, 2004 +.Dd February 25, 2011 .Dt RS 1 .Os .Sh NAME @@ -237,4 +237,9 @@ Re-ordering of columns is not yet possib There are too many options. .It Multibyte characters are not recognized. +.It +Lines longer than +.Dv LINE_MAX +(2048) bytes are not processed and result in immediate termination of +.Nm . .El From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 19:38:42 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90F0C106564A; Fri, 25 Feb 2011 19:38:42 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 80D5A8FC13; Fri, 25 Feb 2011 19:38:42 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PJcgwW006477; Fri, 25 Feb 2011 19:38:42 GMT (envelope-from remko@svn.freebsd.org) Received: (from remko@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PJcg8C006475; Fri, 25 Feb 2011 19:38:42 GMT (envelope-from remko@svn.freebsd.org) Message-Id: <201102251938.p1PJcg8C006475@svn.freebsd.org> From: Remko Lodder Date: Fri, 25 Feb 2011 19:38:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219039 - head/usr.bin/nice X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 19:38:42 -0000 Author: remko Date: Fri Feb 25 19:38:42 2011 New Revision: 219039 URL: http://svn.freebsd.org/changeset/base/219039 Log: Revert the commit that I made, there is a lot of discussion and it's not accurate anyway Requested by: jb, bde Modified: head/usr.bin/nice/nice.1 Modified: head/usr.bin/nice/nice.1 ============================================================================== --- head/usr.bin/nice/nice.1 Fri Feb 25 19:10:19 2011 (r219038) +++ head/usr.bin/nice/nice.1 Fri Feb 25 19:38:42 2011 (r219039) @@ -50,11 +50,6 @@ value by the specified .Ar increment , or a default value of 10. The lower the nice value of a process, the higher its scheduling priority. -.Ar increment . -The priority can be adjusted over a range of -20 (the higest) to 20 (the -lowest). -A priority of 19 or 20 will prevent a process from taking any cycles from -others at nice 0 or better. .Pp The superuser may specify a negative increment in order to run a utility with a higher scheduling priority. From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 20:49:08 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2995B1065672; Fri, 25 Feb 2011 20:49:08 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 19DD48FC0C; Fri, 25 Feb 2011 20:49:08 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PKn7ms009448; Fri, 25 Feb 2011 20:49:07 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PKn7Y7009446; Fri, 25 Feb 2011 20:49:07 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201102252049.p1PKn7Y7009446@svn.freebsd.org> From: Doug Barton Date: Fri, 25 Feb 2011 20:49:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219040 - head/sbin/mount X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 20:49:08 -0000 Author: dougb Date: Fri Feb 25 20:49:07 2011 New Revision: 219040 URL: http://svn.freebsd.org/changeset/base/219040 Log: Revert r217871. Modified: head/sbin/mount/mount.8 Modified: head/sbin/mount/mount.8 ============================================================================== --- head/sbin/mount/mount.8 Fri Feb 25 19:38:42 2011 (r219039) +++ head/sbin/mount/mount.8 Fri Feb 25 20:49:07 2011 (r219040) @@ -28,7 +28,7 @@ .\" @(#)mount.8 8.8 (Berkeley) 6/16/94 .\" $FreeBSD$ .\" -.Dd January 25, 2011 +.Dd February 10, 2010 .Dt MOUNT 8 .Os .Sh NAME @@ -208,11 +208,7 @@ This option is useful on file systems where there are large numbers of files and performance is more critical than updating the file access time (which is rarely ever important). -This option is not supported on network file systems when the -server is FreeBSD. -Support in network files servers on other operating systems -with a FreeBSD client is possible, -but should be tested before it is relied on. +This option is currently only supported on local file systems. .It Cm noauto This file system should be skipped when .Nm From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 22:03:29 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21FDC1065670; Fri, 25 Feb 2011 22:03:29 +0000 (UTC) (envelope-from dchagin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 05B868FC12; Fri, 25 Feb 2011 22:03:29 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PM3SKT013729; Fri, 25 Feb 2011 22:03:28 GMT (envelope-from dchagin@svn.freebsd.org) Received: (from dchagin@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PM3SF2013727; Fri, 25 Feb 2011 22:03:28 GMT (envelope-from dchagin@svn.freebsd.org) Message-Id: <201102252203.p1PM3SF2013727@svn.freebsd.org> From: Dmitry Chagin Date: Fri, 25 Feb 2011 22:03:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219041 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 22:03:29 -0000 Author: dchagin Date: Fri Feb 25 22:03:28 2011 New Revision: 219041 URL: http://svn.freebsd.org/changeset/base/219041 Log: ktrace_resize_pool() locking slightly reworked: 1) do not take a lock around the single atomic operation. 2) do not lose the invariant of lock by dropping/acquiring ktrace_mtx around free() or malloc(). MFC after: 1 Month. Modified: head/sys/kern/kern_ktrace.c Modified: head/sys/kern/kern_ktrace.c ============================================================================== --- head/sys/kern/kern_ktrace.c Fri Feb 25 20:49:07 2011 (r219040) +++ head/sys/kern/kern_ktrace.c Fri Feb 25 22:03:28 2011 (r219041) @@ -133,7 +133,7 @@ static struct sx ktrace_sx; static void ktrace_init(void *dummy); static int sysctl_kern_ktrace_request_pool(SYSCTL_HANDLER_ARGS); -static u_int ktrace_resize_pool(u_int newsize); +static u_int ktrace_resize_pool(u_int oldsize, u_int newsize); static struct ktr_request *ktr_getrequest(int type); static void ktr_submitrequest(struct thread *td, struct ktr_request *req); static void ktr_freeproc(struct proc *p, struct ucred **uc, @@ -199,9 +199,7 @@ sysctl_kern_ktrace_request_pool(SYSCTL_H /* Handle easy read-only case first to avoid warnings from GCC. */ if (!req->newptr) { - mtx_lock(&ktrace_mtx); oldsize = ktr_requestpool; - mtx_unlock(&ktrace_mtx); return (SYSCTL_OUT(req, &oldsize, sizeof(u_int))); } @@ -210,10 +208,8 @@ sysctl_kern_ktrace_request_pool(SYSCTL_H return (error); td = curthread; ktrace_enter(td); - mtx_lock(&ktrace_mtx); oldsize = ktr_requestpool; - newsize = ktrace_resize_pool(wantsize); - mtx_unlock(&ktrace_mtx); + newsize = ktrace_resize_pool(oldsize, wantsize); ktrace_exit(td); error = SYSCTL_OUT(req, &oldsize, sizeof(u_int)); if (error) @@ -227,38 +223,40 @@ SYSCTL_PROC(_kern_ktrace, OID_AUTO, requ "Pool buffer size for ktrace(1)"); static u_int -ktrace_resize_pool(u_int newsize) +ktrace_resize_pool(u_int oldsize, u_int newsize) { + STAILQ_HEAD(, ktr_request) ktr_new; struct ktr_request *req; int bound; - mtx_assert(&ktrace_mtx, MA_OWNED); print_message = 1; - bound = newsize - ktr_requestpool; + bound = newsize - oldsize; if (bound == 0) return (ktr_requestpool); - if (bound < 0) + if (bound < 0) { + mtx_lock(&ktrace_mtx); /* Shrink pool down to newsize if possible. */ while (bound++ < 0) { req = STAILQ_FIRST(&ktr_free); if (req == NULL) - return (ktr_requestpool); + break; STAILQ_REMOVE_HEAD(&ktr_free, ktr_list); ktr_requestpool--; - mtx_unlock(&ktrace_mtx); free(req, M_KTRACE); - mtx_lock(&ktrace_mtx); } - else + } else { /* Grow pool up to newsize. */ + STAILQ_INIT(&ktr_new); while (bound-- > 0) { - mtx_unlock(&ktrace_mtx); req = malloc(sizeof(struct ktr_request), M_KTRACE, M_WAITOK); - mtx_lock(&ktrace_mtx); - STAILQ_INSERT_HEAD(&ktr_free, req, ktr_list); - ktr_requestpool++; + STAILQ_INSERT_HEAD(&ktr_new, req, ktr_list); } + mtx_lock(&ktrace_mtx); + STAILQ_CONCAT(&ktr_free, &ktr_new); + ktr_requestpool += (newsize - oldsize); + } + mtx_unlock(&ktrace_mtx); return (ktr_requestpool); } From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 22:05:34 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EBC21065675; Fri, 25 Feb 2011 22:05:34 +0000 (UTC) (envelope-from dchagin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F17108FC0C; Fri, 25 Feb 2011 22:05:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PM5XEf013878; Fri, 25 Feb 2011 22:05:33 GMT (envelope-from dchagin@svn.freebsd.org) Received: (from dchagin@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PM5Xlr013873; Fri, 25 Feb 2011 22:05:33 GMT (envelope-from dchagin@svn.freebsd.org) Message-Id: <201102252205.p1PM5Xlr013873@svn.freebsd.org> From: Dmitry Chagin Date: Fri, 25 Feb 2011 22:05:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219042 - in head/sys: kern sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 22:05:34 -0000 Author: dchagin Date: Fri Feb 25 22:05:33 2011 New Revision: 219042 URL: http://svn.freebsd.org/changeset/base/219042 Log: Introduce preliminary support of the show description of the ABI of traced process by adding two new events which records value of process sv_flags to the trace file at process creation/execing/exiting time. MFC after: 1 Month. Modified: head/sys/kern/kern_exec.c head/sys/kern/kern_fork.c head/sys/kern/kern_ktrace.c head/sys/sys/ktrace.h Modified: head/sys/kern/kern_exec.c ============================================================================== --- head/sys/kern/kern_exec.c Fri Feb 25 22:03:28 2011 (r219041) +++ head/sys/kern/kern_exec.c Fri Feb 25 22:05:33 2011 (r219042) @@ -899,6 +899,12 @@ done2: exit1(td, W_EXITCODE(0, SIGABRT)); /* NOT REACHED */ } + +#ifdef KTRACE + if (error == 0) + ktrprocctor(p); +#endif + return (error); } Modified: head/sys/kern/kern_fork.c ============================================================================== --- head/sys/kern/kern_fork.c Fri Feb 25 22:03:28 2011 (r219041) +++ head/sys/kern/kern_fork.c Fri Feb 25 22:05:33 2011 (r219042) @@ -557,10 +557,6 @@ do_fork(struct thread *td, int flags, st callout_init(&p2->p_itcallout, CALLOUT_MPSAFE); -#ifdef KTRACE - ktrprocfork(p1, p2); -#endif - /* * If PF_FORK is set, the child process inherits the * procfs ioctl flags from its parent. @@ -596,6 +592,10 @@ do_fork(struct thread *td, int flags, st p2->p_acflag = AFORK; PROC_UNLOCK(p2); +#ifdef KTRACE + ktrprocfork(p1, p2); +#endif + /* * Finish creating the child process. It will return via a different * execution path later. (ie: directly into user mode) Modified: head/sys/kern/kern_ktrace.c ============================================================================== --- head/sys/kern/kern_ktrace.c Fri Feb 25 22:03:28 2011 (r219041) +++ head/sys/kern/kern_ktrace.c Fri Feb 25 22:05:33 2011 (r219042) @@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include @@ -93,6 +94,7 @@ struct ktr_request { struct ktr_header ktr_header; void *ktr_buffer; union { + struct ktr_proc_ctor ktr_proc_ctor; struct ktr_syscall ktr_syscall; struct ktr_sysret ktr_sysret; struct ktr_genio ktr_genio; @@ -113,6 +115,8 @@ static int data_lengths[] = { 0, /* KTR_USER */ 0, /* KTR_STRUCT */ 0, /* KTR_SYSCTL */ + sizeof(struct ktr_proc_ctor), /* KTR_PROCCTOR */ + 0, /* KTR_PROCDTOR */ }; static STAILQ_HEAD(, ktr_request) ktr_free; @@ -134,7 +138,9 @@ static struct sx ktrace_sx; static void ktrace_init(void *dummy); static int sysctl_kern_ktrace_request_pool(SYSCTL_HANDLER_ARGS); static u_int ktrace_resize_pool(u_int oldsize, u_int newsize); +static struct ktr_request *ktr_getrequest_ne(struct thread *, int type); static struct ktr_request *ktr_getrequest(int type); +static void ktr_submitrequest_ne(struct thread *td, struct ktr_request *req); static void ktr_submitrequest(struct thread *td, struct ktr_request *req); static void ktr_freeproc(struct proc *p, struct ucred **uc, struct vnode **vp); @@ -144,6 +150,7 @@ static void ktr_writerequest(struct thre static int ktrcanset(struct thread *,struct proc *); static int ktrsetchildren(struct thread *,struct proc *,int,int,struct vnode *); static int ktrops(struct thread *,struct proc *,int,int,struct vnode *); +static void ktrprocctor_ne(struct thread *, struct proc *p); /* * ktrace itself generates events, such as context switches, which we do not @@ -265,18 +272,15 @@ CTASSERT(sizeof(((struct ktr_header *)NU (sizeof((struct thread *)NULL)->td_name)); static struct ktr_request * -ktr_getrequest(int type) +ktr_getrequest_ne(struct thread *td, int type) { struct ktr_request *req; - struct thread *td = curthread; struct proc *p = td->td_proc; int pm; - ktrace_enter(td); /* XXX: In caller instead? */ mtx_lock(&ktrace_mtx); if (!KTRCHECK(td, type)) { mtx_unlock(&ktrace_mtx); - ktrace_exit(td); return (NULL); } req = STAILQ_FIRST(&ktr_free); @@ -302,11 +306,24 @@ ktr_getrequest(int type) mtx_unlock(&ktrace_mtx); if (pm) printf("Out of ktrace request objects.\n"); - ktrace_exit(td); } return (req); } +static struct ktr_request * +ktr_getrequest(int type) +{ + struct thread *td = curthread; + struct ktr_request *req; + + ktrace_enter(td); + req = ktr_getrequest_ne(td, type); + if (req == NULL) + ktrace_exit(td); + + return (req); +} + /* * Some trace generation environments don't permit direct access to VFS, * such as during a context switch where sleeping is not allowed. Under these @@ -360,7 +377,7 @@ ktr_drain(struct thread *td) * been cached in the thread. */ static void -ktr_submitrequest(struct thread *td, struct ktr_request *req) +ktr_submitrequest_ne(struct thread *td, struct ktr_request *req) { ktrace_assert(td); @@ -370,7 +387,14 @@ ktr_submitrequest(struct thread *td, str ktr_writerequest(td, req); ktr_freerequest(req); sx_xunlock(&ktrace_sx); +} + +static void +ktr_submitrequest(struct thread *td, struct ktr_request *req) +{ + ktrace_assert(td); + ktr_submitrequest_ne(td, req); ktrace_exit(td); } @@ -488,6 +512,7 @@ ktrprocexec(struct proc *p, struct ucred void ktrprocexit(struct thread *td) { + struct ktr_request *req; struct proc *p; struct ucred *cred; struct vnode *vp; @@ -501,6 +526,9 @@ ktrprocexit(struct thread *td) sx_xlock(&ktrace_sx); ktr_drain(td); sx_xunlock(&ktrace_sx); + req = ktr_getrequest_ne(td, KTR_PROCDTOR); + if (req != NULL) + ktr_submitrequest_ne(td, req); PROC_LOCK(p); mtx_lock(&ktrace_mtx); ktr_freeproc(p, &cred, &vp); @@ -516,6 +544,37 @@ ktrprocexit(struct thread *td) ktrace_exit(td); } +static void +ktrprocctor_ne(struct thread *td, struct proc *p) +{ + struct ktr_proc_ctor *ktp; + struct ktr_request *req; + struct thread *td2; + + ktrace_assert(td); + td2 = FIRST_THREAD_IN_PROC(p); + req = ktr_getrequest_ne(td2, KTR_PROCCTOR); + if (req == NULL) + return; + + ktp = &req->ktr_data.ktr_proc_ctor; + ktp->sv_flags = p->p_sysent->sv_flags; + ktr_submitrequest_ne(td, req); +} + +void +ktrprocctor(struct proc *p) +{ + struct thread *td = curthread; + + if ((p->p_traceflag & KTRFAC_MASK) == 0) + return; + + ktrace_enter(td); + ktrprocctor_ne(td, p); + ktrace_exit(td); +} + /* * When a process forks, enable tracing in the new process if needed. */ @@ -523,8 +582,7 @@ void ktrprocfork(struct proc *p1, struct proc *p2) { - PROC_LOCK_ASSERT(p1, MA_OWNED); - PROC_LOCK_ASSERT(p2, MA_OWNED); + PROC_LOCK(p1); mtx_lock(&ktrace_mtx); KASSERT(p2->p_tracevp == NULL, ("new process has a ktrace vnode")); if (p1->p_traceflag & KTRFAC_INHERIT) { @@ -537,6 +595,9 @@ ktrprocfork(struct proc *p1, struct proc } } mtx_unlock(&ktrace_mtx); + PROC_UNLOCK(p1); + + ktrprocctor(p2); } /* @@ -971,6 +1032,9 @@ ktrops(td, p, ops, facs, vp) if (tracecred != NULL) crfree(tracecred); + if ((p->p_traceflag & KTRFAC_MASK) != 0) + ktrprocctor_ne(td, p); + return (1); } Modified: head/sys/sys/ktrace.h ============================================================================== --- head/sys/sys/ktrace.h Fri Feb 25 22:03:28 2011 (r219041) +++ head/sys/sys/ktrace.h Fri Feb 25 22:05:33 2011 (r219042) @@ -156,6 +156,7 @@ struct ktr_csw { */ struct sockaddr; struct stat; +struct sysentvec; /* * KTR_SYSCTL - name of a sysctl MIB @@ -164,6 +165,19 @@ struct stat; /* record contains null-terminated MIB name */ /* + * KTR_PROCCTOR - trace process creation (multiple ABI support) + */ +#define KTR_PROCCTOR 10 +struct ktr_proc_ctor { + u_int sv_flags; /* struct sysentvec sv_flags copy */ +}; + +/* + * KTR_PROCDTOR - trace process destruction (multiple ABI support) + */ +#define KTR_PROCDTOR 11 + +/* * KTR_DROP - If this bit is set in ktr_type, then at least one event * between the previous record and this record was dropped. */ @@ -182,6 +196,8 @@ struct stat; #define KTRFAC_USER (1< Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC4F4106564A; Fri, 25 Feb 2011 22:07:23 +0000 (UTC) (envelope-from dchagin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DAC778FC13; Fri, 25 Feb 2011 22:07:23 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PM7N0S013992; Fri, 25 Feb 2011 22:07:23 GMT (envelope-from dchagin@svn.freebsd.org) Received: (from dchagin@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PM7NR9013988; Fri, 25 Feb 2011 22:07:23 GMT (envelope-from dchagin@svn.freebsd.org) Message-Id: <201102252207.p1PM7NR9013988@svn.freebsd.org> From: Dmitry Chagin Date: Fri, 25 Feb 2011 22:07:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219043 - in head/usr.bin: kdump ktrace X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 22:07:24 -0000 Author: dchagin Date: Fri Feb 25 22:07:23 2011 New Revision: 219043 URL: http://svn.freebsd.org/changeset/base/219043 Log: Teach kdump to understand sv_flags records in the trace files. MFC after: 1 Month. Modified: head/usr.bin/kdump/kdump.c head/usr.bin/ktrace/ktrace.c head/usr.bin/ktrace/ktrace.h Modified: head/usr.bin/kdump/kdump.c ============================================================================== --- head/usr.bin/kdump/kdump.c Fri Feb 25 22:05:33 2011 (r219042) +++ head/usr.bin/kdump/kdump.c Fri Feb 25 22:07:23 2011 (r219043) @@ -55,7 +55,9 @@ extern int errno; #include #include #include +#include #include +#include #ifdef IPX #include #include @@ -81,15 +83,17 @@ extern int errno; #include "ktrace.h" #include "kdump_subr.h" +u_int abidump(struct ktr_header *); +int fetchprocinfo(struct ktr_header *, u_int *); int fread_tail(void *, int, int); void dumpheader(struct ktr_header *); -void ktrsyscall(struct ktr_syscall *); -void ktrsysret(struct ktr_sysret *); +void ktrsyscall(struct ktr_syscall *, u_int); +void ktrsysret(struct ktr_sysret *, u_int); void ktrnamei(char *, int); void hexdump(char *, int, int); void visdump(char *, int, int); void ktrgenio(struct ktr_genio *, int); -void ktrpsig(struct ktr_psig *); +void ktrpsig(struct ktr_psig *, u_int); void ktrcsw(struct ktr_csw *); void ktruser(int, unsigned char *); void ktrsockaddr(struct sockaddr *); @@ -100,13 +104,22 @@ void sockfamilyname(int); const char *ioctlname(u_long); int timestamp, decimal, fancy = 1, suppressdata, tail, threads, maxdata, - resolv = 0; + resolv = 0, abiflag = 0; const char *tracefile = DEF_TRACEFILE; struct ktr_header ktr_header; #define TIME_FORMAT "%b %e %T %Y" #define eqs(s1, s2) (strcmp((s1), (s2)) == 0) +struct proc_info +{ + TAILQ_ENTRY(proc_info) info; + u_int sv_flags; + pid_t pid; +}; + +TAILQ_HEAD(trace_procs, proc_info) trace_procs; + int main(int argc, char *argv[]) { @@ -115,11 +128,15 @@ main(int argc, char *argv[]) int trpoints = ALL_POINTS; int drop_logged; pid_t pid = 0; + u_int sv_flags; (void) setlocale(LC_CTYPE, ""); - while ((ch = getopt(argc,argv,"f:dElm:np:HRrsTt:")) != -1) + while ((ch = getopt(argc,argv,"f:dElm:np:AHRrsTt:")) != -1) switch((char)ch) { + case 'A': + abiflag = 1; + break; case 'f': tracefile = optarg; break; @@ -173,6 +190,7 @@ main(int argc, char *argv[]) errx(1, "%s", strerror(ENOMEM)); if (!freopen(tracefile, "r", stdin)) err(1, "%s", tracefile); + TAILQ_INIT(&trace_procs); drop_logged = 0; while (fread_tail(&ktr_header, sizeof(struct ktr_header), 1)) { if (ktr_header.ktr_type & KTR_DROP) { @@ -205,6 +223,9 @@ main(int argc, char *argv[]) } if (ktrlen && fread_tail(m, ktrlen, 1) == 0) errx(1, "data too short"); + if (fetchprocinfo(&ktr_header, (u_int *)m) != 0) + continue; + sv_flags = abidump(&ktr_header); if (pid && ktr_header.ktr_pid != pid) continue; if ((trpoints & (1<ktr_type) { + case KTR_PROCCTOR: + TAILQ_FOREACH(pi, &trace_procs, info) { + if (pi->pid == kth->ktr_pid) { + TAILQ_REMOVE(&trace_procs, pi, info); + break; + } + } + pi = malloc(sizeof(struct proc_info)); + if (pi == NULL) + errx(1, "%s", strerror(ENOMEM)); + pi->sv_flags = *flags; + pi->pid = kth->ktr_pid; + TAILQ_INSERT_TAIL(&trace_procs, pi, info); + return (1); + + case KTR_PROCDTOR: + TAILQ_FOREACH(pi, &trace_procs, info) { + if (pi->pid == kth->ktr_pid) { + TAILQ_REMOVE(&trace_procs, pi, info); + free(pi); + break; + } + } + return (1); + } + + return (0); +} + +u_int +abidump(struct ktr_header *kth) +{ + struct proc_info *pi; + const char *abi; + const char *arch; + u_int flags = 0; + + TAILQ_FOREACH(pi, &trace_procs, info) { + if (pi->pid == kth->ktr_pid) { + flags = pi->sv_flags; + break; + } + } + + if (abiflag == 0) + return (flags); + + switch (flags & SV_ABI_MASK) { + case SV_ABI_LINUX: + abi = "L"; + break; + case SV_ABI_FREEBSD: + abi = "F"; + break; + default: + abi = "U"; + break; + } + + if (flags != 0) { + if (flags & SV_LP64) + arch = "64"; + else + arch = "32"; + } else + arch = "00"; + + printf("%s%s ", abi, arch); + + return (flags); +} + void dumpheader(struct ktr_header *kth) { @@ -293,6 +392,10 @@ dumpheader(struct ktr_header *kth) case KTR_SYSCTL: type = "SCTL"; break; + case KTR_PROCCTOR: + /* FALLTHROUGH */ + case KTR_PROCDTOR: + return; default: (void)sprintf(unknown, "UNKNOWN(%d)", kth->ktr_type); type = unknown; @@ -337,19 +440,21 @@ dumpheader(struct ktr_header *kth) int nsyscalls = sizeof (syscallnames) / sizeof (syscallnames[0]); void -ktrsyscall(struct ktr_syscall *ktr) +ktrsyscall(struct ktr_syscall *ktr, u_int flags) { int narg = ktr->ktr_narg; register_t *ip; - if (ktr->ktr_code >= nsyscalls || ktr->ktr_code < 0) + if ((flags != 0 && ((flags & SV_ABI_MASK) != SV_ABI_FREEBSD)) || + (ktr->ktr_code >= nsyscalls || ktr->ktr_code < 0)) (void)printf("[%d]", ktr->ktr_code); else (void)printf("%s", syscallnames[ktr->ktr_code]); ip = &ktr->ktr_args[0]; if (narg) { char c = '('; - if (fancy) { + if (fancy && + (flags == 0 || (flags & SV_ABI_MASK) == SV_ABI_FREEBSD)) { #define print_number(i,n,c) do { \ if (decimal) \ @@ -807,13 +912,14 @@ ktrsyscall(struct ktr_syscall *ktr) } void -ktrsysret(struct ktr_sysret *ktr) +ktrsysret(struct ktr_sysret *ktr, u_int flags) { register_t ret = ktr->ktr_retval; int error = ktr->ktr_error; int code = ktr->ktr_code; - if (code >= nsyscalls || code < 0) + if ((flags != 0 && ((flags & SV_ABI_MASK) != SV_ABI_FREEBSD)) || + (code >= nsyscalls || code < 0)) (void)printf("[%d] ", code); else (void)printf("%s ", syscallnames[code]); @@ -987,9 +1093,10 @@ const char *signames[] = { }; void -ktrpsig(struct ktr_psig *psig) +ktrpsig(struct ktr_psig *psig, u_int flags) { - if (psig->signo > 0 && psig->signo < NSIG) + if ((flags & SV_ABI_MASK) == SV_ABI_FREEBSD && + psig->signo > 0 && psig->signo < NSIG) (void)printf("SIG%s ", signames[psig->signo]); else (void)printf("SIG %d ", psig->signo); @@ -1367,7 +1474,7 @@ invalid: void usage(void) { - fprintf(stderr, "usage: kdump [-dEnlHRrsT] [-f trfile] " + fprintf(stderr, "usage: kdump [-dEnlHRrsTA] [-f trfile] " "[-m maxdata] [-p pid] [-t trstr]\n"); exit(1); } Modified: head/usr.bin/ktrace/ktrace.c ============================================================================== --- head/usr.bin/ktrace/ktrace.c Fri Feb 25 22:05:33 2011 (r219042) +++ head/usr.bin/ktrace/ktrace.c Fri Feb 25 22:07:23 2011 (r219043) @@ -159,6 +159,8 @@ main(int argc, char *argv[]) (void)umask(omask); (void)close(fd); + trpoints |= PROC_ABI_POINTS; + if (*argv) { if (ktrace(tracefile, ops, trpoints, getpid()) < 0) err(1, "%s", tracefile); Modified: head/usr.bin/ktrace/ktrace.h ============================================================================== --- head/usr.bin/ktrace/ktrace.h Fri Feb 25 22:05:33 2011 (r219042) +++ head/usr.bin/ktrace/ktrace.h Fri Feb 25 22:07:23 2011 (r219043) @@ -34,7 +34,9 @@ KTRFAC_GENIO | KTRFAC_PSIG | KTRFAC_USER | \ KTRFAC_STRUCT | KTRFAC_SYSCTL) -#define ALL_POINTS (DEF_POINTS | KTRFAC_CSW) +#define PROC_ABI_POINTS (KTRFAC_PROCCTOR | KTRFAC_PROCDTOR) + +#define ALL_POINTS (DEF_POINTS | KTRFAC_CSW | PROC_ABI_POINTS) #define DEF_TRACEFILE "ktrace.out" From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 22:14:12 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AA9C106564A; Fri, 25 Feb 2011 22:14:12 +0000 (UTC) (envelope-from dchagin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1A98FC08; Fri, 25 Feb 2011 22:14:12 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PMEC51014341; Fri, 25 Feb 2011 22:14:12 GMT (envelope-from dchagin@svn.freebsd.org) Received: (from dchagin@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PMECxg014339; Fri, 25 Feb 2011 22:14:12 GMT (envelope-from dchagin@svn.freebsd.org) Message-Id: <201102252214.p1PMECxg014339@svn.freebsd.org> From: Dmitry Chagin Date: Fri, 25 Feb 2011 22:14:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219044 - head/usr.bin/kdump X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 22:14:12 -0000 Author: dchagin Date: Fri Feb 25 22:14:12 2011 New Revision: 219044 URL: http://svn.freebsd.org/changeset/base/219044 Log: Update manual page to reflect latest changes of ABI description support. MFC after: 1 Month. Modified: head/usr.bin/kdump/kdump.1 Modified: head/usr.bin/kdump/kdump.1 ============================================================================== --- head/usr.bin/kdump/kdump.1 Fri Feb 25 22:07:23 2011 (r219043) +++ head/usr.bin/kdump/kdump.1 Fri Feb 25 22:14:12 2011 (r219044) @@ -36,7 +36,7 @@ .Nd display kernel trace data .Sh SYNOPSIS .Nm -.Op Fl dEnlHRsT +.Op Fl dEnlHRsTA .Op Fl f Ar trfile .Op Fl m Ar maxdata .Op Fl p Ar pid @@ -99,6 +99,8 @@ GIDs, dates etc. symbolically instead of Suppress display of I/O data. .It Fl T Display absolute timestamps for each entry (seconds since epoch). +.It Fl A +Display description of the ABI of traced process. .It Fl t Ar trstr See the .Fl t From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 22:22:45 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E94BC106566B; Fri, 25 Feb 2011 22:22:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id BEEB28FC12; Fri, 25 Feb 2011 22:22:45 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 6154D46B0C; Fri, 25 Feb 2011 17:22:45 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.10]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id F25E68A01D; Fri, 25 Feb 2011 17:22:44 -0500 (EST) From: John Baldwin To: Dmitry Chagin Date: Fri, 25 Feb 2011 17:21:28 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.4-CBSD-20110107; KDE/4.4.5; amd64; ; ) References: <201102252205.p1PM5Xlr013873@svn.freebsd.org> In-Reply-To: <201102252205.p1PM5Xlr013873@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201102251721.28461.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 25 Feb 2011 17:22:45 -0500 (EST) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219042 - in head/sys: kern sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 22:22:46 -0000 On Friday, February 25, 2011 5:05:33 pm Dmitry Chagin wrote: > Author: dchagin > Date: Fri Feb 25 22:05:33 2011 > New Revision: 219042 > URL: http://svn.freebsd.org/changeset/base/219042 > > Log: > Introduce preliminary support of the show description of the ABI of > traced process by adding two new events which records value of process > sv_flags to the trace file at process creation/execing/exiting time. > > MFC after: 1 Month. Hmm, I don't find ktrace_submitrequest_ne() an intuitive name (took a bit to figure out 'not-entered', and it doesn't map well between getrequest() (where it means 'already-entered') and submitrequest ('don't exit')). I would rather only have submitrequest() and getrequest() and push the ktrace_enter() and ktrace_exit() into all the callers. -- John Baldwin From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 22:22:47 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20E071065672; Fri, 25 Feb 2011 22:22:47 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id EB6B88FC0A; Fri, 25 Feb 2011 22:22:46 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id A44AA46B1A; Fri, 25 Feb 2011 17:22:46 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.10]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 367A78A027; Fri, 25 Feb 2011 17:22:46 -0500 (EST) From: John Baldwin To: Dmitry Chagin Date: Fri, 25 Feb 2011 17:22:30 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.4-CBSD-20110107; KDE/4.4.5; amd64; ; ) References: <201102252207.p1PM7NR9013988@svn.freebsd.org> In-Reply-To: <201102252207.p1PM7NR9013988@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201102251722.31108.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 25 Feb 2011 17:22:46 -0500 (EST) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219043 - in head/usr.bin: kdump ktrace X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 22:22:47 -0000 On Friday, February 25, 2011 5:07:23 pm Dmitry Chagin wrote: > Author: dchagin > Date: Fri Feb 25 22:07:23 2011 > New Revision: 219043 > URL: http://svn.freebsd.org/changeset/base/219043 > > Log: > Teach kdump to understand sv_flags records in the trace files. > > MFC after: 1 Month. Ohhh, are you going to merge in Linux kdump?? :) That and a way to process ktrace records for freebsd32 processes? That would be really cool. -- John Baldwin From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 22:28:08 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EE31106566C; Fri, 25 Feb 2011 22:28:08 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 36C048FC0C; Fri, 25 Feb 2011 22:28:07 +0000 (UTC) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id A7CEAC9884; Sat, 26 Feb 2011 01:28:05 +0300 (MSK) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 303865411; Sat, 26 Feb 2011 01:28:05 +0300 Received: from dchagin.static.corbina.ru (localhost [127.0.0.1]) by dchagin.static.corbina.ru (8.14.4/8.14.4) with ESMTP id p1PMS50d007853; Sat, 26 Feb 2011 01:28:05 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.4/8.14.4/Submit) id p1PMS09M007852; Sat, 26 Feb 2011 01:28:00 +0300 (MSK) (envelope-from dchagin) Date: Sat, 26 Feb 2011 01:28:00 +0300 From: Chagin Dmitry To: John Baldwin Message-ID: <20110225222800.GA7829@dchagin.static.corbina.ru> References: <201102252207.p1PM7NR9013988@svn.freebsd.org> <201102251722.31108.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline In-Reply-To: <201102251722.31108.jhb@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219043 - in head/usr.bin: kdump ktrace X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 22:28:08 -0000 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 25, 2011 at 05:22:30PM -0500, John Baldwin wrote: > On Friday, February 25, 2011 5:07:23 pm Dmitry Chagin wrote: > > Author: dchagin > > Date: Fri Feb 25 22:07:23 2011 > > New Revision: 219043 > > URL: http://svn.freebsd.org/changeset/base/219043 > >=20 > > Log: > > Teach kdump to understand sv_flags records in the trace files. > > =20 > > MFC after: 1 Month. >=20 > Ohhh, are you going to merge in Linux kdump?? :) >=20 Definitely yes :) > That and a way to process ktrace records for freebsd32 processes? >=20 > That would be really cool. >=20 hmm, ok. --=20 Have fun! chd --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk1oLO8ACgkQ0t2Tb3OO/O1bUACgkkzoe14+1lXbkDTnYwsxWxl4 UDsAnjK58EHImfVMEvqv55856LnQcR51 =Tped -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx-- From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 22:34:20 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23171106566B; Fri, 25 Feb 2011 22:34:20 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id C0A218FC0A; Fri, 25 Feb 2011 22:34:19 +0000 (UTC) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id 27163CAE97; Sat, 26 Feb 2011 01:34:18 +0300 (MSK) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 303866243; Sat, 26 Feb 2011 01:34:17 +0300 Received: from dchagin.static.corbina.ru (localhost [127.0.0.1]) by dchagin.static.corbina.ru (8.14.4/8.14.4) with ESMTP id p1PMYHRZ007911; Sat, 26 Feb 2011 01:34:17 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.4/8.14.4/Submit) id p1PMYCiS007910; Sat, 26 Feb 2011 01:34:12 +0300 (MSK) (envelope-from dchagin) Date: Sat, 26 Feb 2011 01:34:12 +0300 From: Chagin Dmitry To: John Baldwin Message-ID: <20110225223412.GA7884@dchagin.static.corbina.ru> References: <201102252205.p1PM5Xlr013873@svn.freebsd.org> <201102251721.28461.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: <201102251721.28461.jhb@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219042 - in head/sys: kern sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 22:34:20 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 25, 2011 at 05:21:28PM -0500, John Baldwin wrote: > On Friday, February 25, 2011 5:05:33 pm Dmitry Chagin wrote: > > Author: dchagin > > Date: Fri Feb 25 22:05:33 2011 > > New Revision: 219042 > > URL: http://svn.freebsd.org/changeset/base/219042 > >=20 > > Log: > > Introduce preliminary support of the show description of the ABI of > > traced process by adding two new events which records value of process > > sv_flags to the trace file at process creation/execing/exiting time. > > =20 > > MFC after: 1 Month. >=20 > Hmm, I don't find ktrace_submitrequest_ne() an intuitive name (took a bit > to figure out 'not-entered', and it doesn't map well between getrequest() > (where it means 'already-entered') and submitrequest ('don't exit')). >=20 > I would rather only have submitrequest() and getrequest() and push the > ktrace_enter() and ktrace_exit() into all the callers. >=20 thnx for the reply, I thought about it. --=20 Have fun! chd --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk1oLmMACgkQ0t2Tb3OO/O19zwCfTA5pVrpGc8jW2MvajwvDp/TV kXAAnAj4OIESnq8tOnAuiKTlo5otUvVQ =bx96 -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt-- From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 23:05:36 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12F5D106566B; Fri, 25 Feb 2011 23:05:36 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 025A98FC21; Fri, 25 Feb 2011 23:05:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PN5ZZs016962; Fri, 25 Feb 2011 23:05:35 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PN5Zf4016960; Fri, 25 Feb 2011 23:05:35 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201102252305.p1PN5Zf4016960@svn.freebsd.org> From: Ed Schouten Date: Fri, 25 Feb 2011 23:05:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219045 - head/lib/libc/gen X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 23:05:36 -0000 Author: ed Date: Fri Feb 25 23:05:35 2011 New Revision: 219045 URL: http://svn.freebsd.org/changeset/base/219045 Log: Fix style(9) issues in pututxline(3). Also, make sure to initialize the `ret' variable properly. Reported by: Cedric Jonas Patch by: Garrett Cooper Modified: head/lib/libc/gen/pututxline.c Modified: head/lib/libc/gen/pututxline.c ============================================================================== --- head/lib/libc/gen/pututxline.c Fri Feb 25 22:14:12 2011 (r219044) +++ head/lib/libc/gen/pututxline.c Fri Feb 25 23:05:35 2011 (r219045) @@ -43,8 +43,8 @@ __FBSDID("$FreeBSD$"); static FILE * futx_open(const char *file) { - struct stat sb; FILE *fp; + struct stat sb; int fd; fd = _open(file, O_CREAT|O_RDWR|O_EXLOCK, 0644); @@ -69,11 +69,14 @@ futx_open(const char *file) static int utx_active_add(const struct futx *fu) { - struct futx fe; FILE *fp; - off_t partial = -1; + struct futx fe; + off_t partial; int error, ret; + partial = -1; + ret = 0; + /* * Register user login sessions. Overwrite entries of sessions * that have already been terminated. @@ -132,8 +135,8 @@ exact: static int utx_active_remove(struct futx *fu) { - struct futx fe; FILE *fp; + struct futx fe; int error, ret; /* @@ -266,7 +269,9 @@ struct utmpx * pututxline(const struct utmpx *utmpx) { struct futx fu; - int bad = 0; + int bad; + + bad = 0; utx_to_futx(utmpx, &fu); From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 23:13:09 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE2A71065670; Fri, 25 Feb 2011 23:13:09 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id D4FD78FC08; Fri, 25 Feb 2011 23:13:08 +0000 (UTC) Received: by wyb32 with SMTP id 32so2505201wyb.13 for ; Fri, 25 Feb 2011 15:13:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=QQSVyMfMY/WeKpXoc8eX/f3B2IM1jAFYXmtH9qjtNWI=; b=gwtxxAQlsU1v5gvJDdKjRPiLITU8IzpsAMfqqVCx9cDtQcBJYpdvKGY9BYMnzjjOYM MPZuwqTluDshASa5OWhs2ecYNSu8lmsNeXfpTPON5jm/O9XvcSo08SuqyoU3FegpMSIm lp6ABXSRiMhQKaP96NkvYSBh3vLJw4acCmMv0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=gM1QBKhmp34pc9VaJ2l08ScjJH2FHKiZxERL+jCWs0FZuWlMI0NI/Mi4GYof8KgWBF XR28XQtc63R6/tJwKypp8hj+wndung5+lhGCDJWCiuIiMJNVFZz/7q2G9IC4gTOPtUbw SBHfQhKE36YsdVvy8R2fP7dMVY6deh3x8Lu1U= MIME-Version: 1.0 Received: by 10.216.50.193 with SMTP id z43mr2588285web.49.1298675587962; Fri, 25 Feb 2011 15:13:07 -0800 (PST) Received: by 10.216.15.74 with HTTP; Fri, 25 Feb 2011 15:13:07 -0800 (PST) In-Reply-To: <201102252305.p1PN5Zf4016960@svn.freebsd.org> References: <201102252305.p1PN5Zf4016960@svn.freebsd.org> Date: Fri, 25 Feb 2011 15:13:07 -0800 Message-ID: From: Garrett Cooper To: Ed Schouten Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219045 - head/lib/libc/gen X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 23:13:09 -0000 On Fri, Feb 25, 2011 at 3:05 PM, Ed Schouten wrote: > Author: ed > Date: Fri Feb 25 23:05:35 2011 > New Revision: 219045 > URL: http://svn.freebsd.org/changeset/base/219045 > > Log: > =A0Fix style(9) issues in pututxline(3). > > =A0Also, make sure to initialize the `ret' variable properly. I guess it's my first pointy hat by proxy :/... -Garrett From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 23:14:24 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEB2110656A3; Fri, 25 Feb 2011 23:14:24 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DE00B8FC19; Fri, 25 Feb 2011 23:14:24 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1PNEOv2017379; Fri, 25 Feb 2011 23:14:24 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1PNEOSN017377; Fri, 25 Feb 2011 23:14:24 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201102252314.p1PNEOSN017377@svn.freebsd.org> From: Jung-uk Kim Date: Fri, 25 Feb 2011 23:14:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219046 - head/sys/x86/cpufreq X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 23:14:25 -0000 Author: jkim Date: Fri Feb 25 23:14:24 2011 New Revision: 219046 URL: http://svn.freebsd.org/changeset/base/219046 Log: Set C1 "I/O then Halt" capability bit for Intel EIST. Some broken BIOSes refuse to load external SSDTs if this bit is unset for _PDC. It seems Linux and OpenSolaris did the same long ago. MFC after: 1 week Modified: head/sys/x86/cpufreq/est.c Modified: head/sys/x86/cpufreq/est.c ============================================================================== --- head/sys/x86/cpufreq/est.c Fri Feb 25 23:05:35 2011 (r219045) +++ head/sys/x86/cpufreq/est.c Fri Feb 25 23:14:24 2011 (r219046) @@ -947,8 +947,11 @@ static int est_features(driver_t *driver, u_int *features) { - /* Notify the ACPI CPU that we support direct access to MSRs */ - *features = ACPI_CAP_PERF_MSRS; + /* + * Notify the ACPI CPU that we support direct access to MSRs. + * XXX C1 "I/O then Halt" seems necessary for some broken BIOS. + */ + *features = ACPI_CAP_PERF_MSRS | ACPI_CAP_C1_IO_HALT; return (0); } From owner-svn-src-all@FreeBSD.ORG Fri Feb 25 23:32:06 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 4162A1065673; Fri, 25 Feb 2011 23:32:06 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: src-committers@FreeBSD.org Date: Fri, 25 Feb 2011 18:31:45 -0500 User-Agent: KMail/1.6.2 References: <201102252314.p1PNEOSN017377@svn.freebsd.org> In-Reply-To: <201102252314.p1PNEOSN017377@svn.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102251831.51396.jkim@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r219046 - head/sys/x86/cpufreq X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 23:32:06 -0000 On Friday 25 February 2011 06:14 pm, Jung-uk Kim wrote: > Author: jkim > Date: Fri Feb 25 23:14:24 2011 > New Revision: 219046 > URL: http://svn.freebsd.org/changeset/base/219046 > > Log: > Set C1 "I/O then Halt" capability bit for Intel EIST. Some > broken BIOSes refuse to load external SSDTs if this bit is unset > for _PDC. It seems Linux and OpenSolaris did the same long ago. > > MFC after: 1 week Please note, however, it only works when cpufreq(4) is loaded with acpi(4) because acpi_cpu evaluates _PDC (or _OSC) only once. FYI, this is an OpenSolaris PR I found: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6667515 Jung-uk Kim From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 07:31:04 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 144BB1065670; Sat, 26 Feb 2011 07:31:04 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail04.syd.optusnet.com.au (mail04.syd.optusnet.com.au [211.29.132.185]) by mx1.freebsd.org (Postfix) with ESMTP id 87EB08FC19; Sat, 26 Feb 2011 07:31:03 +0000 (UTC) Received: from c122-107-114-89.carlnfd1.nsw.optusnet.com.au (c122-107-114-89.carlnfd1.nsw.optusnet.com.au [122.107.114.89]) by mail04.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p1Q7Ug3T032042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 26 Feb 2011 18:30:43 +1100 Date: Sat, 26 Feb 2011 18:30:42 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: John Baldwin In-Reply-To: <201102250737.43182.jhb@freebsd.org> Message-ID: <20110226174551.Y1199@besplex.bde.org> References: <201102241613.p1OGDXpM047076@svn.freebsd.org> <20110225070237.F983@besplex.bde.org> <201102250737.43182.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Remko Lodder , svn-src-all@freebsd.org, src-committers@freebsd.org, davidxu@freebsd.org, Bruce Evans , svn-src-head@freebsd.org, Remko Lodder Subject: Re: svn commit: r219003 - head/usr.bin/nice X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 07:31:04 -0000 On Fri, 25 Feb 2011, John Baldwin wrote: > On Friday, February 25, 2011 5:23:04 am Remko Lodder wrote: >> >> On Feb 24, 2011, at 10:47 PM, Bruce Evans wrote: >> >>> On Thu, 24 Feb 2011, John Baldwin wrote: >>> >>>> On Thursday, February 24, 2011 2:03:33 pm Remko Lodder wrote: >>>>> >>> [contex restored: >>> +A priority of 19 or 20 will prevent a process from taking any cycles from >>> +others at nice 0 or better.] >> >> >> [strip information overload]. >> >> So, what is the consensus instead of overwelming me with too much > information? > > Take that sentence out. It is not accurate for our schedulers. And an accurate sentence would require condensing even more information :-). I just remembered another difference for the multi-CPU case that is probably very large. Long ago, I hacked SCHED_4BSD to scale td_estcpu by the number of CPUs (INVERSE_ESTCPU_WEIGHT = 8 for !SMP but (8 * smp_cpus) for SMP. Without this, td_estcpu built up too fast (really, failed to decay fast enough due to the decay not being scaled by the number of CPUs) in some common cases, so the nonlinear region of mapping from td_estcpu to td_priority was often reached. With this, td_priority is too insensitive to td_estcpu in some hopefully-less-common cases. I haven't tested SCHED_4BSD on a multi-CPU system recently, but the test method of pinning all the CPU hogs to 1 CPU gives an uncommon case for which the hack works especially badly. The pinning gives only 1 active CPU so the !SMP scale factor should be applied, but it isn't. So td_estcpu decays 8 times faster than it should ((?) -- I think the scaling is linear), and may even decay to 0 before it is used. If there is still some left when the thread is rescheduled, then the sensitivity is just reduced by a factor of 8, but if there is none then the scheduling becomes unfair. OTOH, the sensitivity to niceness isn't changed, so in the best case where the decay is not to 0, niceness become smp_cpus times more sensitive than ordinary scheduling relative to the !SMP case. And this is a relatively simple case to understand and fix. The load average and/or INVERSE_ESTCPU_WEIGHT probably need to be per-CPU to give the old algorithm a chance of working, but only if there is some manual scheduling by pinning threads to CPUs. Otherwise, assignment of threads to CPUs should make things average out -- non-affinity is required to make things sort of work. In my version of SCHED_4BSD, the scale factor is calculated dynamically according to the maximum td_estcpu. This too gives insensitivity of scheduling to td_estcpu, but only when the maximum td_estcpu is large, in which case there is nothing much that can be done (when you have a large dynamic range of td_estcpu's, it is just impossible to map them linearly or logarithmically into the small priority space and it may be impossible to map them uniquely). I don't try to support SMP, and my maximum td_estcpu only does the right thing if the maximum td_estcpu for threads that will run on each CPU is almost the same for all CPUs. Bruce From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 07:48:59 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1E4E1065672; Sat, 26 Feb 2011 07:48:59 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail02.syd.optusnet.com.au (mail02.syd.optusnet.com.au [211.29.132.183]) by mx1.freebsd.org (Postfix) with ESMTP id 0F8AF8FC14; Sat, 26 Feb 2011 07:48:58 +0000 (UTC) Received: from c122-107-114-89.carlnfd1.nsw.optusnet.com.au (c122-107-114-89.carlnfd1.nsw.optusnet.com.au [122.107.114.89]) by mail02.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p1Q7muP5015119 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 26 Feb 2011 18:48:57 +1100 Date: Sat, 26 Feb 2011 18:48:56 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Doug Barton In-Reply-To: <201102252049.p1PKn7Y7009446@svn.freebsd.org> Message-ID: <20110226184334.T1199@besplex.bde.org> References: <201102252049.p1PKn7Y7009446@svn.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219040 - head/sbin/mount X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 07:48:59 -0000 On Fri, 25 Feb 2011, Doug Barton wrote: > Log: > Revert r217871. Thanks. Did you figure out exactly what happens with a Solaris server? Bruce From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 09:28:52 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3C681065672; Sat, 26 Feb 2011 09:28:52 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 91B688FC13; Sat, 26 Feb 2011 09:28:52 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1Q9Sqvh052177; Sat, 26 Feb 2011 09:28:52 GMT (envelope-from hselasky@svn.freebsd.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1Q9Sqfh052173; Sat, 26 Feb 2011 09:28:52 GMT (envelope-from hselasky@svn.freebsd.org) Message-Id: <201102260928.p1Q9Sqfh052173@svn.freebsd.org> From: Hans Petter Selasky Date: Sat, 26 Feb 2011 09:28:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219048 - in head: share/man/man4 sys/dev/usb/controller usr.sbin/usbconfig X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 09:28:52 -0000 Author: hselasky Date: Sat Feb 26 09:28:52 2011 New Revision: 219048 URL: http://svn.freebsd.org/changeset/base/219048 Log: - Correct USB 3.0 wire-speed to 5.0Gbps MFC after: 3 days Approved by: thompsa (mentor) Modified: head/share/man/man4/xhci.4 head/sys/dev/usb/controller/usb_controller.c head/usr.sbin/usbconfig/dump.c Modified: head/share/man/man4/xhci.4 ============================================================================== --- head/share/man/man4/xhci.4 Sat Feb 26 04:02:54 2011 (r219047) +++ head/share/man/man4/xhci.4 Sat Feb 26 09:28:52 2011 (r219048) @@ -48,7 +48,7 @@ The .Tn XHCI controller supports .Tn USB -connection speeds up to 4.8Gbps when using a USB 3.0 compliant device. +connection speeds up to 5.0Gbps when using a USB 3.0 compliant device. .Sh SEE ALSO .Xr ehci 4 , .Xr ohci 4 , Modified: head/sys/dev/usb/controller/usb_controller.c ============================================================================== --- head/sys/dev/usb/controller/usb_controller.c Sat Feb 26 04:02:54 2011 (r219047) +++ head/sys/dev/usb/controller/usb_controller.c Sat Feb 26 09:28:52 2011 (r219048) @@ -365,7 +365,7 @@ usb_bus_attach(struct usb_proc_msg *pm) case USB_REV_3_0: speed = USB_SPEED_SUPER; - device_printf(bus->bdev, "4.8Gbps Super Speed USB v3.0\n"); + device_printf(bus->bdev, "5.0Gbps Super Speed USB v3.0\n"); break; default: Modified: head/usr.sbin/usbconfig/dump.c ============================================================================== --- head/usr.sbin/usbconfig/dump.c Sat Feb 26 04:02:54 2011 (r219047) +++ head/usr.sbin/usbconfig/dump.c Sat Feb 26 09:28:52 2011 (r219048) @@ -65,11 +65,11 @@ dump_speed(uint8_t value) case LIBUSB20_SPEED_VARIABLE: return ("VARIABLE (52-480Mbps)"); case LIBUSB20_SPEED_SUPER: - return ("SUPER (4.8Gbps)"); + return ("SUPER (5.0Gbps)"); default: break; } - return ("unknown"); + return ("UNKNOWN ()"); } const char * From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 10:29:54 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D26B1065673; Sat, 26 Feb 2011 10:29:54 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 597218FC13; Sat, 26 Feb 2011 10:29:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QATsqH054639; Sat, 26 Feb 2011 10:29:54 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QATs6c054631; Sat, 26 Feb 2011 10:29:54 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102261029.p1QATs6c054631@svn.freebsd.org> From: Bruce Cran Date: Sat, 26 Feb 2011 10:29:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219049 - in stable/8: sbin/growfs share/doc/papers/devfs sys/fs/nullfs sys/libkern sys/net80211 sys/x86/isa usr.bin/tip/tip X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 10:29:54 -0000 Author: brucec Date: Sat Feb 26 10:29:53 2011 New Revision: 219049 URL: http://svn.freebsd.org/changeset/base/219049 Log: MFC r218965: Fix typos - remove duplicate "is". PR: docs/154934 Submitted by: Eitan Adler Modified: stable/8/sbin/growfs/growfs.c stable/8/share/doc/papers/devfs/paper.me stable/8/sys/fs/nullfs/null_vnops.c stable/8/sys/libkern/jenkins.h stable/8/sys/net80211/ieee80211_ageq.c stable/8/sys/x86/isa/clock.c stable/8/usr.bin/tip/tip/tip.h Directory Properties: stable/8/sbin/growfs/ (props changed) stable/8/share/doc/papers/devfs/ (props changed) stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/usr.bin/tip/ (props changed) Modified: stable/8/sbin/growfs/growfs.c ============================================================================== --- stable/8/sbin/growfs/growfs.c Sat Feb 26 09:28:52 2011 (r219048) +++ stable/8/sbin/growfs/growfs.c Sat Feb 26 10:29:53 2011 (r219049) @@ -646,7 +646,7 @@ cond_bl_upd(ufs2_daddr_t *block, struct /* * Copy the block back immediately. * - * XXX If src is is from an indirect block we have + * XXX If src is from an indirect block we have * to implement copy on write here in case of * active snapshots. */ Modified: stable/8/share/doc/papers/devfs/paper.me ============================================================================== --- stable/8/share/doc/papers/devfs/paper.me Sat Feb 26 09:28:52 2011 (r219048) +++ stable/8/share/doc/papers/devfs/paper.me Sat Feb 26 10:29:53 2011 (r219049) @@ -779,7 +779,7 @@ The entry points to the device driver ar structure, removing the need for the devsw[] array and allowing device drivers to use separate entrypoints for various minor numbers. .lp -This is is very convenient for devices which have a ``control'' +This is very convenient for devices which have a ``control'' device for management and tuning. The control device, almost always have entirely separate open/close/ioctl implementations [MD.C]. .lp Modified: stable/8/sys/fs/nullfs/null_vnops.c ============================================================================== --- stable/8/sys/fs/nullfs/null_vnops.c Sat Feb 26 09:28:52 2011 (r219048) +++ stable/8/sys/fs/nullfs/null_vnops.c Sat Feb 26 10:29:53 2011 (r219049) @@ -672,7 +672,7 @@ null_unlock(struct vop_unlock_args *ap) * as soon as possible. * * Note, we can't release any resources nor remove vnode from hash before - * appropriate VXLOCK stuff is is done because other process can find this + * appropriate VXLOCK stuff is done because other process can find this * vnode in hash during inactivation and may be sitting in vget() and waiting * for null_inactive to unlock vnode. Thus we will do all those in VOP_RECLAIM. */ Modified: stable/8/sys/libkern/jenkins.h ============================================================================== --- stable/8/sys/libkern/jenkins.h Sat Feb 26 09:28:52 2011 (r219048) +++ stable/8/sys/libkern/jenkins.h Sat Feb 26 10:29:53 2011 (r219049) @@ -16,7 +16,7 @@ the public domain. It has no warranty. You probably want to use hashlittle(). hashlittle() and hashbig() - hash byte arrays. hashlittle() is is faster than hashbig() on + hash byte arrays. hashlittle() is faster than hashbig() on little-endian machines. Intel and AMD are little-endian machines. On second thought, you probably want hashlittle2(), which is identical to hashlittle() except it returns two 32-bit hashes for the price of one. Modified: stable/8/sys/net80211/ieee80211_ageq.c ============================================================================== --- stable/8/sys/net80211/ieee80211_ageq.c Sat Feb 26 09:28:52 2011 (r219048) +++ stable/8/sys/net80211/ieee80211_ageq.c Sat Feb 26 10:29:53 2011 (r219049) @@ -154,7 +154,7 @@ ieee80211_ageq_drain_node(struct ieee802 * deltas (in seconds) relative to the head so we can check * and/or adjust only the head of the list. If a frame's age * exceeds the time quanta then remove it. The list of removed - * frames is is returned to the caller joined by m_nextpkt. + * frames is returned to the caller joined by m_nextpkt. */ struct mbuf * ieee80211_ageq_age(struct ieee80211_ageq *aq, int quanta) Modified: stable/8/sys/x86/isa/clock.c ============================================================================== --- stable/8/sys/x86/isa/clock.c Sat Feb 26 09:28:52 2011 (r219048) +++ stable/8/sys/x86/isa/clock.c Sat Feb 26 10:29:53 2011 (r219049) @@ -622,7 +622,7 @@ sysctl_machdep_i8254_freq(SYSCTL_HANDLER /* * Use `i8254' instead of `timer' in external names because `timer' - * is is too generic. Should use it everywhere. + * is too generic. Should use it everywhere. */ freq = i8254_freq; error = sysctl_handle_int(oidp, &freq, 0, req); Modified: stable/8/usr.bin/tip/tip/tip.h ============================================================================== --- stable/8/usr.bin/tip/tip/tip.h Sat Feb 26 09:28:52 2011 (r219048) +++ stable/8/usr.bin/tip/tip/tip.h Sat Feb 26 10:29:53 2011 (r219049) @@ -259,7 +259,7 @@ int intflag; /* recognized interrupt */ int stoprompt; /* for interrupting a prompt session */ int timedout; /* ~> transfer timedout */ int cumode; /* simulating the "cu" program */ -int bits8; /* terminal is is 8-bit mode */ +int bits8; /* terminal is 8-bit mode */ #define STRIP_PAR (bits8 ? 0377 : 0177) char fname[PATH_MAX]; /* file name buffer for ~< */ From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 11:20:52 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28C55106566B; Sat, 26 Feb 2011 11:20:52 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1845A8FC18; Sat, 26 Feb 2011 11:20:52 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QBKpsH068640; Sat, 26 Feb 2011 11:20:51 GMT (envelope-from remko@svn.freebsd.org) Received: (from remko@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QBKpkM068637; Sat, 26 Feb 2011 11:20:51 GMT (envelope-from remko@svn.freebsd.org) Message-Id: <201102261120.p1QBKpkM068637@svn.freebsd.org> From: Remko Lodder Date: Sat, 26 Feb 2011 11:20:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219050 - head/usr.bin/nice X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 11:20:52 -0000 Author: remko Date: Sat Feb 26 11:20:51 2011 New Revision: 219050 URL: http://svn.freebsd.org/changeset/base/219050 Log: Not only had I included a syntax / style error, nice.3 is also deprecated. Modified: head/usr.bin/nice/nice.1 Modified: head/usr.bin/nice/nice.1 ============================================================================== --- head/usr.bin/nice/nice.1 Sat Feb 26 10:29:53 2011 (r219049) +++ head/usr.bin/nice/nice.1 Sat Feb 26 11:20:51 2011 (r219050) @@ -107,7 +107,6 @@ option has been deprecated but is still .Xr rtprio 1 , .Xr getpriority 2 , .Xr setpriority 2 , -.Xr nice 3, .Xr renice 8 .Sh STANDARDS The From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 11:46:06 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AEB11065673; Sat, 26 Feb 2011 11:46:06 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 89AD78FC21; Sat, 26 Feb 2011 11:46:06 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QBk6bB069681; Sat, 26 Feb 2011 11:46:06 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QBk6I5069679; Sat, 26 Feb 2011 11:46:06 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102261146.p1QBk6I5069679@svn.freebsd.org> From: Bruce Cran Date: Sat, 26 Feb 2011 11:46:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219051 - stable/8/sys/compat/ndis X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 11:46:06 -0000 Author: brucec Date: Sat Feb 26 11:46:06 2011 New Revision: 219051 URL: http://svn.freebsd.org/changeset/base/219051 Log: MFC r218985: Use the cprd_mem field when setting the start and length for a memory resource - the layout of cprd_port is identical but using cprd_mem makes the code easier to understand. PR: kern/118493 Submitted by: Weongyo Jeong Modified: stable/8/sys/compat/ndis/kern_ndis.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/compat/ndis/kern_ndis.c ============================================================================== --- stable/8/sys/compat/ndis/kern_ndis.c Sat Feb 26 11:20:51 2011 (r219050) +++ stable/8/sys/compat/ndis/kern_ndis.c Sat Feb 26 11:46:06 2011 (r219051) @@ -591,9 +591,9 @@ ndis_convert_res(arg) CM_RESOURCE_MEMORY_READ_WRITE; prd->cprd_sharedisp = CmResourceShareDeviceExclusive; - prd->u.cprd_port.cprd_start.np_quad = + prd->u.cprd_mem.cprd_start.np_quad = brle->start; - prd->u.cprd_port.cprd_len = brle->count; + prd->u.cprd_mem.cprd_len = brle->count; break; case SYS_RES_IRQ: prd->cprd_type = CmResourceTypeInterrupt; From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 11:52:35 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2123E106566C; Sat, 26 Feb 2011 11:52:35 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 102918FC12; Sat, 26 Feb 2011 11:52:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QBqYax070009; Sat, 26 Feb 2011 11:52:34 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QBqYme070007; Sat, 26 Feb 2011 11:52:34 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102261152.p1QBqYme070007@svn.freebsd.org> From: Bruce Cran Date: Sat, 26 Feb 2011 11:52:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219052 - stable/7/sys/compat/ndis X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 11:52:35 -0000 Author: brucec Date: Sat Feb 26 11:52:34 2011 New Revision: 219052 URL: http://svn.freebsd.org/changeset/base/219052 Log: MFC r218985: Use the cprd_mem field when setting the start and length for a memory resource - the layout of cprd_port is identical but using cprd_mem makes the code easier to understand. PR: kern/118493 Submitted by: Weongyo Jeong Modified: stable/7/sys/compat/ndis/kern_ndis.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/compat/ndis/kern_ndis.c ============================================================================== --- stable/7/sys/compat/ndis/kern_ndis.c Sat Feb 26 11:46:06 2011 (r219051) +++ stable/7/sys/compat/ndis/kern_ndis.c Sat Feb 26 11:52:34 2011 (r219052) @@ -642,9 +642,9 @@ ndis_convert_res(arg) CM_RESOURCE_MEMORY_READ_WRITE; prd->cprd_sharedisp = CmResourceShareDeviceExclusive; - prd->u.cprd_port.cprd_start.np_quad = + prd->u.cprd_mem.cprd_start.np_quad = brle->start; - prd->u.cprd_port.cprd_len = brle->count; + prd->u.cprd_mem.cprd_len = brle->count; break; case SYS_RES_IRQ: prd->cprd_type = CmResourceTypeInterrupt; From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 12:04:35 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BFB3106566C; Sat, 26 Feb 2011 12:04:35 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 107AE8FC19; Sat, 26 Feb 2011 12:04:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QC4YN6070634; Sat, 26 Feb 2011 12:04:34 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QC4Y7e070631; Sat, 26 Feb 2011 12:04:34 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102261204.p1QC4Y7e070631@svn.freebsd.org> From: Bruce Cran Date: Sat, 26 Feb 2011 12:04:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219053 - in stable/8/sys/boot: common efi/libefi X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 12:04:35 -0000 Author: brucec Date: Sat Feb 26 12:04:34 2011 New Revision: 219053 URL: http://svn.freebsd.org/changeset/base/219053 Log: MFC r218974: Handle memory allocation failures in include(). Fix a format specifier in libefi: status is an unsigned int, not unsigned long. PR: i386/85652 Submitted by: Ben Thomas Modified: stable/8/sys/boot/common/interp.c stable/8/sys/boot/efi/libefi/efipart.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/boot/common/interp.c ============================================================================== --- stable/8/sys/boot/common/interp.c Sat Feb 26 11:52:34 2011 (r219052) +++ stable/8/sys/boot/common/interp.c Sat Feb 26 12:04:34 2011 (r219053) @@ -246,6 +246,17 @@ include(const char *filename) if (*cp == '\0') continue; /* ignore empty line, save memory */ sp = malloc(sizeof(struct includeline) + strlen(cp) + 1); + /* On malloc failure (it happens!), free as much as possible and exit */ + if (sp == NULL) { + while (script != NULL) { + se = script; + script = script->next; + free(se); + } + sprintf(command_errbuf, "file '%s' line %d: memory allocation " + "failure - aborting\n", filename, line); + return (CMD_ERROR); + } strcpy(sp->text, cp); #ifndef BOOT_FORTH sp->flags = flags; Modified: stable/8/sys/boot/efi/libefi/efipart.c ============================================================================== --- stable/8/sys/boot/efi/libefi/efipart.c Sat Feb 26 11:52:34 2011 (r219052) +++ stable/8/sys/boot/efi/libefi/efipart.c Sat Feb 26 12:04:34 2011 (r219053) @@ -203,7 +203,7 @@ efipart_readwrite(EFI_BLOCK_IO *blkio, i } if (EFI_ERROR(status)) - printf("%s: rw=%d, status=%lu\n", __func__, rw, status); + printf("%s: rw=%d, status=%u\n", __func__, rw, status); return (efi_status_to_errno(status)); } From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 12:07:16 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAFD2106566B; Sat, 26 Feb 2011 12:07:16 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DA35B8FC08; Sat, 26 Feb 2011 12:07:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QC7GC4070876; Sat, 26 Feb 2011 12:07:16 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QC7G30070874; Sat, 26 Feb 2011 12:07:16 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102261207.p1QC7G30070874@svn.freebsd.org> From: Bruce Cran Date: Sat, 26 Feb 2011 12:07:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219054 - stable/7/sys/boot/common X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 12:07:17 -0000 Author: brucec Date: Sat Feb 26 12:07:16 2011 New Revision: 219054 URL: http://svn.freebsd.org/changeset/base/219054 Log: MFC r218974: Handle memory allocation failures in include(). PR: i386/85652 Submitted by: Ben Thomas Modified: stable/7/sys/boot/common/interp.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/boot/common/interp.c ============================================================================== --- stable/7/sys/boot/common/interp.c Sat Feb 26 12:04:34 2011 (r219053) +++ stable/7/sys/boot/common/interp.c Sat Feb 26 12:07:16 2011 (r219054) @@ -246,6 +246,17 @@ include(const char *filename) if (*cp == '\0') continue; /* ignore empty line, save memory */ sp = malloc(sizeof(struct includeline) + strlen(cp) + 1); + /* On malloc failure (it happens!), free as much as possible and exit */ + if (sp == NULL) { + while (script != NULL) { + se = script; + script = script->next; + free(se); + } + sprintf(command_errbuf, "file '%s' line %d: memory allocation " + "failure - aborting\n", filename, line); + return (CMD_ERROR); + } strcpy(sp->text, cp); #ifndef BOOT_FORTH sp->flags = flags; From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 12:50:28 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 582CD106566B; Sat, 26 Feb 2011 12:50:28 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 480FA8FC14; Sat, 26 Feb 2011 12:50:28 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QCoSlp073179; Sat, 26 Feb 2011 12:50:28 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QCoSOp073177; Sat, 26 Feb 2011 12:50:28 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102261250.p1QCoSOp073177@svn.freebsd.org> From: Bruce Cran Date: Sat, 26 Feb 2011 12:50:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219055 - head/share/doc/psd/23.rpc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 12:50:28 -0000 Author: brucec Date: Sat Feb 26 12:50:28 2011 New Revision: 219055 URL: http://svn.freebsd.org/changeset/base/219055 Log: Fix typo - "is is" should have been changed to "it is" in r218965. Modified: head/share/doc/psd/23.rpc/rpc.prog.ms Modified: head/share/doc/psd/23.rpc/rpc.prog.ms ============================================================================== --- head/share/doc/psd/23.rpc/rpc.prog.ms Sat Feb 26 12:07:16 2011 (r219054) +++ head/share/doc/psd/23.rpc/rpc.prog.ms Sat Feb 26 12:50:28 2011 (r219055) @@ -71,7 +71,7 @@ manual page. .I "The Highest Layer:" .IX RPC "The Highest Layer" The highest layer is totally transparent to the operating system, -machine and network upon which is run. It's probably best to +machine and network upon which it is run. It's probably best to think of this level as a way of .I using RPC, rather than as From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 14:58:55 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17767106566B; Sat, 26 Feb 2011 14:58:55 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 060A28FC14; Sat, 26 Feb 2011 14:58:55 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QEwsVn077594; Sat, 26 Feb 2011 14:58:54 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QEws75077588; Sat, 26 Feb 2011 14:58:54 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201102261458.p1QEws75077588@svn.freebsd.org> From: Nathan Whitehorn Date: Sat, 26 Feb 2011 14:58:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219056 - in head/sys: cam/ata cam/scsi dev/ata geom X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 14:58:55 -0000 Author: nwhitehorn Date: Sat Feb 26 14:58:54 2011 New Revision: 219056 URL: http://svn.freebsd.org/changeset/base/219056 Log: Add the disk ident and a human-meaningful description (here, the disk model string) to the geom_disk config XML so that they are easily accessible from userland. MFC after: 1 week Modified: head/sys/cam/ata/ata_da.c head/sys/cam/scsi/scsi_cd.c head/sys/dev/ata/ata-disk.c head/sys/geom/geom_disk.c head/sys/geom/geom_disk.h Modified: head/sys/cam/ata/ata_da.c ============================================================================== --- head/sys/cam/ata/ata_da.c Sat Feb 26 12:50:28 2011 (r219055) +++ head/sys/cam/ata/ata_da.c Sat Feb 26 14:58:54 2011 (r219056) @@ -746,6 +746,8 @@ adaregister(struct cam_periph *periph, v softc->disk->d_flags |= DISKFLAG_CANDELETE; strlcpy(softc->disk->d_ident, cgd->serial_num, MIN(sizeof(softc->disk->d_ident), cgd->serial_num_len + 1)); + strlcpy(softc->disk->d_descr, cgd->ident_data.model, + MIN(sizeof(softc->disk->d_descr), sizeof(cgd->ident_data.model))); softc->disk->d_hba_vendor = cpi.hba_vendor; softc->disk->d_hba_device = cpi.hba_device; softc->disk->d_hba_subvendor = cpi.hba_subvendor; Modified: head/sys/cam/scsi/scsi_cd.c ============================================================================== --- head/sys/cam/scsi/scsi_cd.c Sat Feb 26 12:50:28 2011 (r219055) +++ head/sys/cam/scsi/scsi_cd.c Sat Feb 26 14:58:54 2011 (r219056) @@ -724,6 +724,12 @@ cdregister(struct cam_periph *periph, vo softc->disk->d_strategy = cdstrategy; softc->disk->d_ioctl = cdioctl; softc->disk->d_name = "cd"; + cam_strvis(softc->disk->d_descr, cgd->inq_data.vendor, + sizeof(cgd->inq_data.vendor), sizeof(softc->disk->d_descr)); + strlcat(softc->disk->d_descr, " ", sizeof(softc->disk->d_descr)); + cam_strvis(&softc->disk->d_descr[strlen(softc->disk->d_descr)], + cgd->inq_data.product, sizeof(cgd->inq_data.product), + sizeof(softc->disk->d_descr) - strlen(softc->disk->d_descr)); softc->disk->d_unit = periph->unit_number; softc->disk->d_drv1 = periph; if (cpi.maxio == 0) Modified: head/sys/dev/ata/ata-disk.c ============================================================================== --- head/sys/dev/ata/ata-disk.c Sat Feb 26 12:50:28 2011 (r219055) +++ head/sys/dev/ata/ata-disk.c Sat Feb 26 14:58:54 2011 (r219056) @@ -145,6 +145,8 @@ ad_attach(device_t dev) adp->disk->d_flags |= DISKFLAG_CANDELETE; strlcpy(adp->disk->d_ident, atadev->param.serial, sizeof(adp->disk->d_ident)); + strlcpy(adp->disk->d_descr, atadev->param.model, + sizeof(adp->disk->d_descr)); parent = device_get_parent(ch->dev); if (parent != NULL && device_get_parent(parent) != NULL && (device_get_devclass(parent) == Modified: head/sys/geom/geom_disk.c ============================================================================== --- head/sys/geom/geom_disk.c Sat Feb 26 12:50:28 2011 (r219055) +++ head/sys/geom/geom_disk.c Sat Feb 26 14:58:54 2011 (r219056) @@ -371,6 +371,8 @@ g_disk_dumpconf(struct sbuf *sb, const c indent, dp->d_fwheads); sbuf_printf(sb, "%s%u\n", indent, dp->d_fwsectors); + sbuf_printf(sb, "%s%s\n", indent, dp->d_ident); + sbuf_printf(sb, "%s%s\n", indent, dp->d_descr); } } Modified: head/sys/geom/geom_disk.h ============================================================================== --- head/sys/geom/geom_disk.h Sat Feb 26 12:50:28 2011 (r219055) +++ head/sys/geom/geom_disk.h Sat Feb 26 14:58:54 2011 (r219056) @@ -85,6 +85,7 @@ struct disk { u_int d_stripeoffset; u_int d_stripesize; char d_ident[DISK_IDENT_SIZE]; + char d_descr[DISK_IDENT_SIZE]; uint16_t d_hba_vendor; uint16_t d_hba_device; uint16_t d_hba_subvendor; From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 15:23:46 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D73F2106564A; Sat, 26 Feb 2011 15:23:46 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C555F8FC0A; Sat, 26 Feb 2011 15:23:46 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QFNkWb078775; Sat, 26 Feb 2011 15:23:46 GMT (envelope-from rrs@svn.freebsd.org) Received: (from rrs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QFNkUG078759; Sat, 26 Feb 2011 15:23:46 GMT (envelope-from rrs@svn.freebsd.org) Message-Id: <201102261523.p1QFNkUG078759@svn.freebsd.org> From: Randall Stewart Date: Sat, 26 Feb 2011 15:23:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219057 - head/sys/netinet X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 15:23:46 -0000 Author: rrs Date: Sat Feb 26 15:23:46 2011 New Revision: 219057 URL: http://svn.freebsd.org/changeset/base/219057 Log: Improvements to CC modules: 1) Add four new points that allow you to get more information to cc algo's 2) Fix the case where user changes module on a existing TCB, in such a case, the initialization module needs to be called on all nets. 3) Move htcp_cc structure to a union that other modules can use. 4) Add 5th point for get/set socket options for cc_module specific options MFC after: 2 months Modified: head/sys/netinet/sctp.h head/sys/netinet/sctp_cc_functions.c head/sys/netinet/sctp_dtrace_declare.h head/sys/netinet/sctp_dtrace_define.h head/sys/netinet/sctp_indata.c head/sys/netinet/sctp_output.c head/sys/netinet/sctp_pcb.c head/sys/netinet/sctp_structs.h head/sys/netinet/sctp_sysctl.c head/sys/netinet/sctp_sysctl.h head/sys/netinet/sctp_timer.c head/sys/netinet/sctp_uio.h head/sys/netinet/sctp_usrreq.c head/sys/netinet/sctputil.c Modified: head/sys/netinet/sctp.h ============================================================================== --- head/sys/netinet/sctp.h Sat Feb 26 14:58:54 2011 (r219056) +++ head/sys/netinet/sctp.h Sat Feb 26 15:23:46 2011 (r219057) @@ -161,9 +161,10 @@ struct sctp_paramhdr { /* JRS - Pluggable Congestion Control Socket option */ #define SCTP_PLUGGABLE_CC 0x00001202 /* RS - Pluggable Stream Scheduling Socket option */ -#define SCTP_PLUGGABLE_SS 0x00001203 -#define SCTP_SS_VALUE 0x00001204 - +#define SCTP_PLUGGABLE_SS 0x00001203 +#define SCTP_SS_VALUE 0x00001204 +#define SCTP_CC_OPTION 0x00001205 /* Options for CC + * modules */ /* read only */ #define SCTP_GET_SNDBUF_USE 0x00001101 #define SCTP_GET_STAT_LOG 0x00001103 Modified: head/sys/netinet/sctp_cc_functions.c ============================================================================== --- head/sys/netinet/sctp_cc_functions.c Sat Feb 26 14:58:54 2011 (r219056) +++ head/sys/netinet/sctp_cc_functions.c Sat Feb 26 15:23:46 2011 (r219057) @@ -1135,10 +1135,10 @@ htcp_reset(struct htcp *ca) static uint32_t htcp_cwnd_undo(struct sctp_tcb *stcb, struct sctp_nets *net) { - net->htcp_ca.last_cong = net->htcp_ca.undo_last_cong; - net->htcp_ca.maxRTT = net->htcp_ca.undo_maxRTT; - net->htcp_ca.old_maxB = net->htcp_ca.undo_old_maxB; - return max(net->cwnd, ((net->ssthresh / net->mtu << 7) / net->htcp_ca.beta) * net->mtu); + net->cc_mod.htcp_ca.last_cong = net->cc_mod.htcp_ca.undo_last_cong; + net->cc_mod.htcp_ca.maxRTT = net->cc_mod.htcp_ca.undo_maxRTT; + net->cc_mod.htcp_ca.old_maxB = net->cc_mod.htcp_ca.undo_old_maxB; + return max(net->cwnd, ((net->ssthresh / net->mtu << 7) / net->cc_mod.htcp_ca.beta) * net->mtu); } #endif @@ -1149,15 +1149,15 @@ measure_rtt(struct sctp_tcb *stcb, struc uint32_t srtt = net->lastsa >> SCTP_RTT_SHIFT; /* keep track of minimum RTT seen so far, minRTT is zero at first */ - if (net->htcp_ca.minRTT > srtt || !net->htcp_ca.minRTT) - net->htcp_ca.minRTT = srtt; + if (net->cc_mod.htcp_ca.minRTT > srtt || !net->cc_mod.htcp_ca.minRTT) + net->cc_mod.htcp_ca.minRTT = srtt; /* max RTT */ - if (net->fast_retran_ip == 0 && net->ssthresh < 0xFFFF && htcp_ccount(&net->htcp_ca) > 3) { - if (net->htcp_ca.maxRTT < net->htcp_ca.minRTT) - net->htcp_ca.maxRTT = net->htcp_ca.minRTT; - if (net->htcp_ca.maxRTT < srtt && srtt <= net->htcp_ca.maxRTT + MSEC_TO_TICKS(20)) - net->htcp_ca.maxRTT = srtt; + if (net->fast_retran_ip == 0 && net->ssthresh < 0xFFFF && htcp_ccount(&net->cc_mod.htcp_ca) > 3) { + if (net->cc_mod.htcp_ca.maxRTT < net->cc_mod.htcp_ca.minRTT) + net->cc_mod.htcp_ca.maxRTT = net->cc_mod.htcp_ca.minRTT; + if (net->cc_mod.htcp_ca.maxRTT < srtt && srtt <= net->cc_mod.htcp_ca.maxRTT + MSEC_TO_TICKS(20)) + net->cc_mod.htcp_ca.maxRTT = srtt; } } @@ -1167,7 +1167,7 @@ measure_achieved_throughput(struct sctp_ uint32_t now = sctp_get_tick_count(); if (net->fast_retran_ip == 0) - net->htcp_ca.bytes_acked = net->net_ack; + net->cc_mod.htcp_ca.bytes_acked = net->net_ack; if (!use_bandwidth_switch) return; @@ -1175,29 +1175,29 @@ measure_achieved_throughput(struct sctp_ /* achieved throughput calculations */ /* JRS - not 100% sure of this statement */ if (net->fast_retran_ip == 1) { - net->htcp_ca.bytecount = 0; - net->htcp_ca.lasttime = now; + net->cc_mod.htcp_ca.bytecount = 0; + net->cc_mod.htcp_ca.lasttime = now; return; } - net->htcp_ca.bytecount += net->net_ack; + net->cc_mod.htcp_ca.bytecount += net->net_ack; - if (net->htcp_ca.bytecount >= net->cwnd - ((net->htcp_ca.alpha >> 7 ? : 1) * net->mtu) - && now - net->htcp_ca.lasttime >= net->htcp_ca.minRTT - && net->htcp_ca.minRTT > 0) { - uint32_t cur_Bi = net->htcp_ca.bytecount / net->mtu * hz / (now - net->htcp_ca.lasttime); + if (net->cc_mod.htcp_ca.bytecount >= net->cwnd - ((net->cc_mod.htcp_ca.alpha >> 7 ? : 1) * net->mtu) + && now - net->cc_mod.htcp_ca.lasttime >= net->cc_mod.htcp_ca.minRTT + && net->cc_mod.htcp_ca.minRTT > 0) { + uint32_t cur_Bi = net->cc_mod.htcp_ca.bytecount / net->mtu * hz / (now - net->cc_mod.htcp_ca.lasttime); - if (htcp_ccount(&net->htcp_ca) <= 3) { + if (htcp_ccount(&net->cc_mod.htcp_ca) <= 3) { /* just after backoff */ - net->htcp_ca.minB = net->htcp_ca.maxB = net->htcp_ca.Bi = cur_Bi; + net->cc_mod.htcp_ca.minB = net->cc_mod.htcp_ca.maxB = net->cc_mod.htcp_ca.Bi = cur_Bi; } else { - net->htcp_ca.Bi = (3 * net->htcp_ca.Bi + cur_Bi) / 4; - if (net->htcp_ca.Bi > net->htcp_ca.maxB) - net->htcp_ca.maxB = net->htcp_ca.Bi; - if (net->htcp_ca.minB > net->htcp_ca.maxB) - net->htcp_ca.minB = net->htcp_ca.maxB; + net->cc_mod.htcp_ca.Bi = (3 * net->cc_mod.htcp_ca.Bi + cur_Bi) / 4; + if (net->cc_mod.htcp_ca.Bi > net->cc_mod.htcp_ca.maxB) + net->cc_mod.htcp_ca.maxB = net->cc_mod.htcp_ca.Bi; + if (net->cc_mod.htcp_ca.minB > net->cc_mod.htcp_ca.maxB) + net->cc_mod.htcp_ca.minB = net->cc_mod.htcp_ca.maxB; } - net->htcp_ca.bytecount = 0; - net->htcp_ca.lasttime = now; + net->cc_mod.htcp_ca.bytecount = 0; + net->cc_mod.htcp_ca.lasttime = now; } } @@ -1264,25 +1264,25 @@ htcp_alpha_update(struct htcp *ca) static void htcp_param_update(struct sctp_tcb *stcb, struct sctp_nets *net) { - uint32_t minRTT = net->htcp_ca.minRTT; - uint32_t maxRTT = net->htcp_ca.maxRTT; + uint32_t minRTT = net->cc_mod.htcp_ca.minRTT; + uint32_t maxRTT = net->cc_mod.htcp_ca.maxRTT; - htcp_beta_update(&net->htcp_ca, minRTT, maxRTT); - htcp_alpha_update(&net->htcp_ca); + htcp_beta_update(&net->cc_mod.htcp_ca, minRTT, maxRTT); + htcp_alpha_update(&net->cc_mod.htcp_ca); /* * add slowly fading memory for maxRTT to accommodate routing * changes etc */ if (minRTT > 0 && maxRTT > minRTT) - net->htcp_ca.maxRTT = minRTT + ((maxRTT - minRTT) * 95) / 100; + net->cc_mod.htcp_ca.maxRTT = minRTT + ((maxRTT - minRTT) * 95) / 100; } static uint32_t htcp_recalc_ssthresh(struct sctp_tcb *stcb, struct sctp_nets *net) { htcp_param_update(stcb, net); - return max(((net->cwnd / net->mtu * net->htcp_ca.beta) >> 7) * net->mtu, 2U * net->mtu); + return max(((net->cwnd / net->mtu * net->cc_mod.htcp_ca.beta) >> 7) * net->mtu, 2U * net->mtu); } static void @@ -1323,14 +1323,14 @@ htcp_cong_avoid(struct sctp_tcb *stcb, s * net->cwnd += alpha / net->cwnd */ /* What is snd_cwnd_cnt?? */ - if (((net->partial_bytes_acked / net->mtu * net->htcp_ca.alpha) >> 7) * net->mtu >= net->cwnd) { + if (((net->partial_bytes_acked / net->mtu * net->cc_mod.htcp_ca.alpha) >> 7) * net->mtu >= net->cwnd) { /*- * Does SCTP have a cwnd clamp? * if (net->snd_cwnd < net->snd_cwnd_clamp) - Nope (RRS). */ net->cwnd += net->mtu; net->partial_bytes_acked = 0; - htcp_alpha_update(&net->htcp_ca); + htcp_alpha_update(&net->cc_mod.htcp_ca); if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_CWND_MONITOR_ENABLE) { sctp_log_cwnd(stcb, net, net->mtu, SCTP_CWND_LOG_FROM_CA); @@ -1343,7 +1343,7 @@ htcp_cong_avoid(struct sctp_tcb *stcb, s } } - net->htcp_ca.bytes_acked = net->mtu; + net->cc_mod.htcp_ca.bytes_acked = net->mtu; } } @@ -1360,11 +1360,11 @@ htcp_min_cwnd(struct sctp_tcb *stcb, str static void htcp_init(struct sctp_tcb *stcb, struct sctp_nets *net) { - memset(&net->htcp_ca, 0, sizeof(struct htcp)); - net->htcp_ca.alpha = ALPHA_BASE; - net->htcp_ca.beta = BETA_MIN; - net->htcp_ca.bytes_acked = net->mtu; - net->htcp_ca.last_cong = sctp_get_tick_count(); + memset(&net->cc_mod.htcp_ca, 0, sizeof(struct htcp)); + net->cc_mod.htcp_ca.alpha = ALPHA_BASE; + net->cc_mod.htcp_ca.beta = BETA_MIN; + net->cc_mod.htcp_ca.bytes_acked = net->mtu; + net->cc_mod.htcp_ca.last_cong = sctp_get_tick_count(); } static void @@ -1568,7 +1568,7 @@ sctp_htcp_cwnd_update_after_fr(struct sc int old_cwnd = net->cwnd; /* JRS - reset as if state were changed */ - htcp_reset(&net->htcp_ca); + htcp_reset(&net->cc_mod.htcp_ca); net->ssthresh = htcp_recalc_ssthresh(stcb, net); net->cwnd = net->ssthresh; if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_CWND_MONITOR_ENABLE) { @@ -1622,7 +1622,7 @@ sctp_htcp_cwnd_update_after_timeout(stru int old_cwnd = net->cwnd; /* JRS - reset as if the state were being changed to timeout */ - htcp_reset(&net->htcp_ca); + htcp_reset(&net->cc_mod.htcp_ca); net->ssthresh = htcp_recalc_ssthresh(stcb, net); net->cwnd = net->mtu; net->partial_bytes_acked = 0; @@ -1640,7 +1640,7 @@ sctp_htcp_cwnd_update_after_fr_timer(str old_cwnd = net->cwnd; sctp_chunk_output(inp, stcb, SCTP_OUTPUT_FROM_EARLY_FR_TMR, SCTP_SO_NOT_LOCKED); - net->htcp_ca.last_cong = sctp_get_tick_count(); + net->cc_mod.htcp_ca.last_cong = sctp_get_tick_count(); /* * make a small adjustment to cwnd and force to CA. */ @@ -1665,7 +1665,7 @@ sctp_htcp_cwnd_update_after_ecn_echo(str /* JRS - reset hctp as if state changed */ if (in_window == 0) { - htcp_reset(&net->htcp_ca); + htcp_reset(&net->cc_mod.htcp_ca); SCTP_STAT_INCR(sctps_ecnereducedcwnd); net->ssthresh = htcp_recalc_ssthresh(stcb, net); if (net->ssthresh < net->mtu) { Modified: head/sys/netinet/sctp_dtrace_declare.h ============================================================================== --- head/sys/netinet/sctp_dtrace_declare.h Sat Feb 26 14:58:54 2011 (r219056) +++ head/sys/netinet/sctp_dtrace_declare.h Sat Feb 26 15:23:46 2011 (r219057) @@ -55,6 +55,8 @@ SDT_PROBE_DECLARE(sctp, cwnd, net, bl); SDT_PROBE_DECLARE(sctp, cwnd, net, ecn); /* update at a Packet-Drop -- decrease */ SDT_PROBE_DECLARE(sctp, cwnd, net, pd); +/* Rttvar probe declaration */ +SDT_PROBE_DECLARE(sctp, cwnd, net, rttvar); /* One to track an associations rwnd */ SDT_PROBE_DECLARE(sctp, rwnd, assoc, val); Modified: head/sys/netinet/sctp_dtrace_define.h ============================================================================== --- head/sys/netinet/sctp_dtrace_define.h Sat Feb 26 14:58:54 2011 (r219056) +++ head/sys/netinet/sctp_dtrace_define.h Sat Feb 26 15:23:46 2011 (r219057) @@ -71,6 +71,21 @@ SDT_PROBE_ARGTYPE(sctp, cwnd, net, ack, /* The new value of the cwnd */ SDT_PROBE_ARGTYPE(sctp, cwnd, net, ack, 4, "int"); + +/* ACK-INCREASE */ +SDT_PROBE_DEFINE(sctp, cwnd, net, rttvar, rttvar); +/* The Vtag << 32 | localport << 16 | remoteport */ +SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 0, "uint64_t"); +/* obw | nbw */ +SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 1, "uint64_t"); +/* newrtt */ +SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 2, "uint64_t"); +/* bwrtt */ +SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 3, "uint64_t"); +/* (cwnd << 32) | point << 16 | retval(0/1) */ +SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 4, "uint64_t"); + + /* FastRetransmit-DECREASE */ SDT_PROBE_DEFINE(sctp, cwnd, net, fr, fr); /* The Vtag for this end */ Modified: head/sys/netinet/sctp_indata.c ============================================================================== --- head/sys/netinet/sctp_indata.c Sat Feb 26 14:58:54 2011 (r219056) +++ head/sys/netinet/sctp_indata.c Sat Feb 26 15:23:46 2011 (r219057) @@ -2939,6 +2939,10 @@ sctp_process_segment_range(struct sctp_t tp1->rec.data.TSN_seq); } sctp_flight_size_decrease(tp1); + if (stcb->asoc.cc_functions.sctp_cwnd_update_tsn_acknowledged) { + (*stcb->asoc.cc_functions.sctp_cwnd_update_tsn_acknowledged) (tp1->whoTo, + tp1); + } sctp_total_flight_decrease(stcb, tp1); tp1->whoTo->net_ack += tp1->send_size; @@ -3442,6 +3446,10 @@ sctp_strike_gap_ack_chunks(struct sctp_t if (tp1->whoTo) { tp1->whoTo->net_ack++; sctp_flight_size_decrease(tp1); + if (stcb->asoc.cc_functions.sctp_cwnd_update_tsn_acknowledged) { + (*stcb->asoc.cc_functions.sctp_cwnd_update_tsn_acknowledged) (tp1->whoTo, + tp1); + } } if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOG_RWND_ENABLE) { sctp_log_rwnd(SCTP_INCREASE_PEER_RWND, @@ -3737,6 +3745,10 @@ sctp_window_probe_recovery(struct sctp_t return; } /* First setup this by shrinking flight */ + if (stcb->asoc.cc_functions.sctp_cwnd_update_tsn_acknowledged) { + (*stcb->asoc.cc_functions.sctp_cwnd_update_tsn_acknowledged) (tp1->whoTo, + tp1); + } sctp_flight_size_decrease(tp1); sctp_total_flight_decrease(stcb, tp1); /* Now mark for resend */ @@ -3810,6 +3822,9 @@ sctp_express_handle_sack(struct sctp_tcb */ net->new_pseudo_cumack = 0; net->will_exit_fast_recovery = 0; + if (stcb->asoc.cc_functions.sctp_cwnd_prepare_net_for_sack) { + (*stcb->asoc.cc_functions.sctp_cwnd_prepare_net_for_sack) (stcb, net); + } } if (SCTP_BASE_SYSCTL(sctp_strict_sacks)) { uint32_t send_s; @@ -3883,6 +3898,10 @@ sctp_express_handle_sack(struct sctp_tcb tp1->rec.data.TSN_seq); } sctp_flight_size_decrease(tp1); + if (stcb->asoc.cc_functions.sctp_cwnd_update_tsn_acknowledged) { + (*stcb->asoc.cc_functions.sctp_cwnd_update_tsn_acknowledged) (tp1->whoTo, + tp1); + } /* sa_ignore NO_NULL_CHK */ sctp_total_flight_decrease(stcb, tp1); } @@ -4447,6 +4466,9 @@ sctp_handle_sack(struct mbuf *m, int off */ net->new_pseudo_cumack = 0; net->will_exit_fast_recovery = 0; + if (stcb->asoc.cc_functions.sctp_cwnd_prepare_net_for_sack) { + (*stcb->asoc.cc_functions.sctp_cwnd_prepare_net_for_sack) (stcb, net); + } } /* process the new consecutive TSN first */ TAILQ_FOREACH(tp1, &asoc->sent_queue, sctp_next) { @@ -4483,6 +4505,10 @@ sctp_handle_sack(struct mbuf *m, int off } sctp_flight_size_decrease(tp1); sctp_total_flight_decrease(stcb, tp1); + if (stcb->asoc.cc_functions.sctp_cwnd_update_tsn_acknowledged) { + (*stcb->asoc.cc_functions.sctp_cwnd_update_tsn_acknowledged) (tp1->whoTo, + tp1); + } } tp1->whoTo->net_ack += tp1->send_size; Modified: head/sys/netinet/sctp_output.c ============================================================================== --- head/sys/netinet/sctp_output.c Sat Feb 26 14:58:54 2011 (r219056) +++ head/sys/netinet/sctp_output.c Sat Feb 26 15:23:46 2011 (r219057) @@ -6476,6 +6476,9 @@ all_done: asoc->peers_rwnd = 0; } } + if (asoc->cc_functions.sctp_cwnd_update_packet_transmitted) { + (*asoc->cc_functions.sctp_cwnd_update_packet_transmitted) (stcb, net); + } } static void @@ -7341,6 +7344,10 @@ nothing_to_send: } continue; } + if ((stcb->asoc.cc_functions.sctp_cwnd_new_transmission_begins) && + (net->flight_size == 0)) { + (*stcb->asoc.cc_functions.sctp_cwnd_new_transmission_begins) (stcb, net); + } if ((asoc->sctp_cmt_on_off == 0) && (asoc->primary_destination != net) && (net->ref_count < 2)) { Modified: head/sys/netinet/sctp_pcb.c ============================================================================== --- head/sys/netinet/sctp_pcb.c Sat Feb 26 14:58:54 2011 (r219056) +++ head/sys/netinet/sctp_pcb.c Sat Feb 26 15:23:46 2011 (r219057) @@ -3953,7 +3953,8 @@ sctp_add_remote_addr(struct sctp_tcb *st stcb->asoc.smallest_mtu = net->mtu; } /* JRS - Use the congestion control given in the CC module */ - stcb->asoc.cc_functions.sctp_set_initial_cc_param(stcb, net); + if (stcb->asoc.cc_functions.sctp_set_initial_cc_param != NULL) + (*stcb->asoc.cc_functions.sctp_set_initial_cc_param) (stcb, net); /* * CMT: CUC algo - set find_pseudo_cumack to TRUE (1) at beginning Modified: head/sys/netinet/sctp_structs.h ============================================================================== --- head/sys/netinet/sctp_structs.h Sat Feb 26 14:58:54 2011 (r219056) +++ head/sys/netinet/sctp_structs.h Sat Feb 26 15:23:46 2011 (r219057) @@ -219,7 +219,6 @@ struct htcp { uint32_t lasttime; }; - struct sctp_nets { TAILQ_ENTRY(sctp_nets) sctp_next; /* next link */ @@ -254,10 +253,9 @@ struct sctp_nets { /* last time in seconds I sent to it */ struct timeval last_sent_time; - - /* JRS - struct used in HTCP algorithm */ - struct htcp htcp_ca; - + union cc_control_data { + struct htcp htcp_ca; /* JRS - struct used in HTCP algorithm */ + } cc_mod; int ref_count; /* Congestion stats per destination */ @@ -648,6 +646,15 @@ struct sctp_cc_functions { struct sctp_nets *net, int burst_limit); void (*sctp_cwnd_update_after_fr_timer) (struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net); + void (*sctp_cwnd_update_packet_transmitted) (struct sctp_tcb *stcb, + struct sctp_nets *net); + void (*sctp_cwnd_update_tsn_acknowledged) (struct sctp_nets *net, + struct sctp_tmit_chunk *); + void (*sctp_cwnd_new_transmission_begins) (struct sctp_tcb *stcb, + struct sctp_nets *net); + void (*sctp_cwnd_prepare_net_for_sack) (struct sctp_tcb *stcb, + struct sctp_nets *net); + int (*sctp_cwnd_socket_option) (struct sctp_tcb *stcb, int set, struct sctp_cc_option *); }; /* @@ -1166,6 +1173,7 @@ struct sctp_association { uint8_t sctp_nr_sack_on_off; /* JRS 5/21/07 - CMT PF variable */ uint8_t sctp_cmt_pf; + uint8_t use_precise_time; /* * The mapping array is used to track out of order sequences above * last_acked_seq. 0 indicates packet missing 1 indicates packet Modified: head/sys/netinet/sctp_sysctl.c ============================================================================== --- head/sys/netinet/sctp_sysctl.c Sat Feb 26 14:58:54 2011 (r219056) +++ head/sys/netinet/sctp_sysctl.c Sat Feb 26 15:23:46 2011 (r219057) @@ -115,6 +115,9 @@ sctp_init_sysctls() SCTP_BASE_SYSCTL(sctp_vtag_time_wait) = SCTPCTL_TIME_WAIT_DEFAULT; SCTP_BASE_SYSCTL(sctp_buffer_splitting) = SCTPCTL_BUFFER_SPLITTING_DEFAULT; SCTP_BASE_SYSCTL(sctp_initial_cwnd) = SCTPCTL_INITIAL_CWND_DEFAULT; + SCTP_BASE_SYSCTL(sctp_rttvar_bw) = SCTPCTL_RTTVAR_BW_DEFAULT; + SCTP_BASE_SYSCTL(sctp_rttvar_rtt) = SCTPCTL_RTTVAR_RTT_DEFAULT; + SCTP_BASE_SYSCTL(sctp_rttvar_eqret) = SCTPCTL_RTTVAR_EQRET_DEFAULT; #if defined(SCTP_LOCAL_TRACE_BUF) memset(&SCTP_BASE_SYSCTL(sctp_log), 0, sizeof(struct sctp_log)); #endif @@ -633,6 +636,9 @@ sysctl_sctp_check(SYSCTL_HANDLER_ARGS) RANGECHK(SCTP_BASE_SYSCTL(sctp_vtag_time_wait), SCTPCTL_TIME_WAIT_MIN, SCTPCTL_TIME_WAIT_MAX); RANGECHK(SCTP_BASE_SYSCTL(sctp_buffer_splitting), SCTPCTL_BUFFER_SPLITTING_MIN, SCTPCTL_BUFFER_SPLITTING_MAX); RANGECHK(SCTP_BASE_SYSCTL(sctp_initial_cwnd), SCTPCTL_INITIAL_CWND_MIN, SCTPCTL_INITIAL_CWND_MAX); + RANGECHK(SCTP_BASE_SYSCTL(sctp_rttvar_bw), SCTPCTL_RTTVAR_BW_MIN, SCTPCTL_RTTVAR_BW_MAX); + RANGECHK(SCTP_BASE_SYSCTL(sctp_rttvar_rtt), SCTPCTL_RTTVAR_RTT_MIN, SCTPCTL_RTTVAR_RTT_MAX); + RANGECHK(SCTP_BASE_SYSCTL(sctp_rttvar_eqret), SCTPCTL_RTTVAR_EQRET_MIN, SCTPCTL_RTTVAR_EQRET_MAX); RANGECHK(SCTP_BASE_SYSCTL(sctp_mobility_base), SCTPCTL_MOBILITY_BASE_MIN, SCTPCTL_MOBILITY_BASE_MAX); RANGECHK(SCTP_BASE_SYSCTL(sctp_mobility_fasthandoff), SCTPCTL_MOBILITY_FASTHANDOFF_MIN, SCTPCTL_MOBILITY_FASTHANDOFF_MAX); RANGECHK(SCTP_BASE_SYSCTL(sctp_udp_tunneling_for_client_enable), SCTPCTL_UDP_TUNNELING_FOR_CLIENT_ENABLE_MIN, SCTPCTL_UDP_TUNNELING_FOR_CLIENT_ENABLE_MAX); @@ -1100,6 +1106,18 @@ SYSCTL_VNET_PROC(_net_inet_sctp, OID_AUT &SCTP_BASE_SYSCTL(sctp_initial_cwnd), 0, sysctl_sctp_check, "IU", SCTPCTL_INITIAL_CWND_DESC); +SYSCTL_VNET_PROC(_net_inet_sctp, OID_AUTO, rttvar_bw, CTLTYPE_UINT | CTLFLAG_RW, + &SCTP_BASE_SYSCTL(sctp_rttvar_bw), 0, sysctl_sctp_check, "IU", + SCTPCTL_RTTVAR_BW_DESC); + +SYSCTL_VNET_PROC(_net_inet_sctp, OID_AUTO, rttvar_rtt, CTLTYPE_UINT | CTLFLAG_RW, + &SCTP_BASE_SYSCTL(sctp_rttvar_rtt), 0, sysctl_sctp_check, "IU", + SCTPCTL_RTTVAR_RTT_DESC); + +SYSCTL_VNET_PROC(_net_inet_sctp, OID_AUTO, rttvar_eqret, CTLTYPE_UINT | CTLFLAG_RW, + &SCTP_BASE_SYSCTL(sctp_rttvar_eqret), 0, sysctl_sctp_check, "IU", + SCTPCTL_RTTVAR_EQRET_DESC); + #ifdef SCTP_DEBUG SYSCTL_VNET_PROC(_net_inet_sctp, OID_AUTO, debug, CTLTYPE_UINT | CTLFLAG_RW, &SCTP_BASE_SYSCTL(sctp_debug_on), 0, sysctl_sctp_check, "IU", Modified: head/sys/netinet/sctp_sysctl.h ============================================================================== --- head/sys/netinet/sctp_sysctl.h Sat Feb 26 14:58:54 2011 (r219056) +++ head/sys/netinet/sctp_sysctl.h Sat Feb 26 15:23:46 2011 (r219057) @@ -104,6 +104,11 @@ struct sctp_sysctl { uint32_t sctp_mobility_base; uint32_t sctp_mobility_fasthandoff; uint32_t sctp_inits_include_nat_friendly; +#ifdef SCTP_HAS_RTTCC + uint32_t sctp_rttvar_bw; + uint32_t sctp_rttvar_rtt; + uint32_t sctp_rttvar_eqret; +#endif #if defined(SCTP_LOCAL_TRACE_BUF) struct sctp_log sctp_log; #endif @@ -514,6 +519,25 @@ struct sctp_sysctl { #define SCTPCTL_INITIAL_CWND_MIN 0 #define SCTPCTL_INITIAL_CWND_MAX 0xffffffff #define SCTPCTL_INITIAL_CWND_DEFAULT 3 +#ifdef SCTP_HAS_RTTCC + +/* rttvar smooth avg for bw calc */ +#define SCTPCTL_RTTVAR_BW_DESC "Shift amount for bw smothing on rtt calc" +#define SCTPCTL_RTTVAR_BW_MIN 0 +#define SCTPCTL_RTTVAR_BW_MAX 32 +#define SCTPCTL_RTTVAR_BW_DEFAULT 4 + +/* rttvar smooth avg for bw calc */ +#define SCTPCTL_RTTVAR_RTT_DESC "Shift amount for rtt smothing on rtt calc" +#define SCTPCTL_RTTVAR_RTT_MIN 0 +#define SCTPCTL_RTTVAR_RTT_MAX 32 +#define SCTPCTL_RTTVAR_RTT_DEFAULT 5 + +#define SCTPCTL_RTTVAR_EQRET_DESC "When rtt and bw are unchanged return what" +#define SCTPCTL_RTTVAR_EQRET_MIN 0 +#define SCTPCTL_RTTVAR_EQRET_MAX 1 +#define SCTPCTL_RTTVAR_EQRET_DEFAULT 0 +#endif #if defined(SCTP_DEBUG) /* debug: Configure debug output */ Modified: head/sys/netinet/sctp_timer.c ============================================================================== --- head/sys/netinet/sctp_timer.c Sat Feb 26 14:58:54 2011 (r219056) +++ head/sys/netinet/sctp_timer.c Sat Feb 26 15:23:46 2011 (r219057) @@ -1015,7 +1015,10 @@ sctp_t3rxt_timer(struct sctp_inpcb *inp, /* CMT FR loss recovery ended with the T3 */ net->fast_retran_loss_recovery = 0; - + if ((stcb->asoc.cc_functions.sctp_cwnd_new_transmission_begins) && + (net->flight_size == 0)) { + (*stcb->asoc.cc_functions.sctp_cwnd_new_transmission_begins) (stcb, net); + } /* * setup the sat loss recovery that prevents satellite cwnd advance. */ Modified: head/sys/netinet/sctp_uio.h ============================================================================== --- head/sys/netinet/sctp_uio.h Sat Feb 26 14:58:54 2011 (r219056) +++ head/sys/netinet/sctp_uio.h Sat Feb 26 15:23:46 2011 (r219057) @@ -533,6 +533,11 @@ struct sctp_assoc_value { uint32_t assoc_value; }; +struct sctp_cc_option { + int option; + struct sctp_assoc_value aid_value; +}; + struct sctp_stream_value { sctp_assoc_t assoc_id; uint16_t stream_id; Modified: head/sys/netinet/sctp_usrreq.c ============================================================================== --- head/sys/netinet/sctp_usrreq.c Sat Feb 26 14:58:54 2011 (r219056) +++ head/sys/netinet/sctp_usrreq.c Sat Feb 26 15:23:46 2011 (r219057) @@ -1758,6 +1758,25 @@ flags_out: *optsize = sizeof(*av); } break; + case SCTP_CC_OPTION: + { + struct sctp_cc_option *cc_opt; + + SCTP_CHECK_AND_CAST(cc_opt, optval, struct sctp_cc_option, *optsize); + SCTP_FIND_STCB(inp, stcb, cc_opt->aid_value.assoc_id); + if (stcb == NULL) { + error = EINVAL; + } else { + if (stcb->asoc.cc_functions.sctp_cwnd_socket_option == NULL) { + error = ENOTSUP; + } else { + error = (*stcb->asoc.cc_functions.sctp_cwnd_socket_option) (stcb, 0, + cc_opt); + *optsize = sizeof(*cc_opt); + } + SCTP_TCB_UNLOCK(stcb); + } + } /* RS - Get socket option for pluggable stream scheduling */ case SCTP_PLUGGABLE_SS: { @@ -2929,6 +2948,7 @@ sctp_setopt(struct socket *so, int optna case SCTP_PLUGGABLE_CC: { struct sctp_assoc_value *av; + struct sctp_nets *net; SCTP_CHECK_AND_CAST(av, optval, struct sctp_assoc_value, optsize); SCTP_FIND_STCB(inp, stcb, av->assoc_id); @@ -2939,6 +2959,11 @@ sctp_setopt(struct socket *so, int optna case SCTP_CC_HTCP: stcb->asoc.cc_functions = sctp_cc_functions[av->assoc_value]; stcb->asoc.congestion_control_module = av->assoc_value; + if (stcb->asoc.cc_functions.sctp_set_initial_cc_param != NULL) { + TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { + stcb->asoc.cc_functions.sctp_set_initial_cc_param(stcb, net); + } + } break; default: SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP_USRREQ, EINVAL); @@ -2962,6 +2987,24 @@ sctp_setopt(struct socket *so, int optna } } } + case SCTP_CC_OPTION: + { + struct sctp_cc_option *cc_opt; + + SCTP_CHECK_AND_CAST(cc_opt, optval, struct sctp_cc_option, optsize); + SCTP_FIND_STCB(inp, stcb, cc_opt->aid_value.assoc_id); + if (stcb == NULL) { + error = EINVAL; + } else { + if (stcb->asoc.cc_functions.sctp_cwnd_socket_option == NULL) { + error = ENOTSUP; + } else { + error = (*stcb->asoc.cc_functions.sctp_cwnd_socket_option) (stcb, 1, + cc_opt); + } + SCTP_TCB_UNLOCK(stcb); + } + } break; /* RS - Set socket option for pluggable stream scheduling */ case SCTP_PLUGGABLE_SS: Modified: head/sys/netinet/sctputil.c ============================================================================== --- head/sys/netinet/sctputil.c Sat Feb 26 14:58:54 2011 (r219056) +++ head/sys/netinet/sctputil.c Sat Feb 26 15:23:46 2011 (r219057) @@ -2495,7 +2495,11 @@ sctp_calculate_rto(struct sctp_tcb *stcb /* 1. calculate new RTT */ /************************/ /* get the current time */ - (void)SCTP_GETTIME_TIMEVAL(&now); + if (stcb->asoc.use_precise_time) { + (void)SCTP_GETPTIME_TIMEVAL(&now); + } else { + (void)SCTP_GETTIME_TIMEVAL(&now); + } timevalsub(&now, old); /* store the current RTT in us */ net->rtt = (uint64_t) 10000000 *(uint64_t) now.tv_sec + From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 15:44:04 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A49D1065670; Sat, 26 Feb 2011 15:44:04 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D2CA28FC13; Sat, 26 Feb 2011 15:44:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QFi3Ga080530; Sat, 26 Feb 2011 15:44:03 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QFi3Kk080528; Sat, 26 Feb 2011 15:44:03 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201102261544.p1QFi3Kk080528@svn.freebsd.org> From: Nathan Whitehorn Date: Sat, 26 Feb 2011 15:44:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219058 - head/usr.sbin/bsdinstall/partedit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 15:44:04 -0000 Author: nwhitehorn Date: Sat Feb 26 15:44:03 2011 New Revision: 219058 URL: http://svn.freebsd.org/changeset/base/219058 Log: Show disk model numbers in partition wizard screen. Also, since da(4) disks are probably more likely to be USB or Firewire these days than SCSI, just call them and anyone unknown "Disk" instead of SCSI disk. Modified: head/usr.sbin/bsdinstall/partedit/part_wizard.c Modified: head/usr.sbin/bsdinstall/partedit/part_wizard.c ============================================================================== --- head/usr.sbin/bsdinstall/partedit/part_wizard.c Sat Feb 26 15:23:46 2011 (r219057) +++ head/usr.sbin/bsdinstall/partedit/part_wizard.c Sat Feb 26 15:44:03 2011 (r219058) @@ -89,7 +89,7 @@ boot_disk(struct gmesh *mesh) struct ggeom *gp; struct gprovider *pp; DIALOG_LISTITEM *disks = NULL; - const char *type; + const char *type, *desc; char diskdesc[512]; char *chosen; int i, err, selected, n = 0; @@ -104,15 +104,20 @@ boot_disk(struct gmesh *mesh) continue; LIST_FOREACH(pp, &gp->lg_provider, lg_provider) { - type = NULL; - LIST_FOREACH(gc, &pp->lg_config, lg_config) + desc = type = NULL; + LIST_FOREACH(gc, &pp->lg_config, lg_config) { if (strcmp(gc->lg_name, "type") == 0) type = gc->lg_val; + if (strcmp(gc->lg_name, "descr") == 0) + desc = gc->lg_val; + } - /* Skip swap-backed md devices */ + /* Skip swap-backed md and WORM devices */ if (strcmp(classp->lg_name, "MD") == 0 && type != NULL && strcmp(type, "swap") == 0) continue; + if (strncmp(pp->lg_name, "cd", 2) == 0) + continue; disks = realloc(disks, (++n)*sizeof(disks[0])); disks[n-1].name = pp->lg_name; @@ -120,15 +125,15 @@ boot_disk(struct gmesh *mesh) "B", HN_AUTOSCALE, HN_DECIMAL); if (strncmp(pp->lg_name, "ad", 2) == 0) strcat(diskdesc, " ATA Hard Disk"); - else if (strncmp(pp->lg_name, "da", 2) == 0) - strcat(diskdesc, " SCSI Hard Disk"); else if (strncmp(pp->lg_name, "md", 2) == 0) strcat(diskdesc, " Memory Disk"); - else if (strncmp(pp->lg_name, "cd", 2) == 0) { - n--; - continue; - } else - strcat(diskdesc, " Hard Disk"); + else + strcat(diskdesc, " Disk"); + + if (desc != NULL) + snprintf(diskdesc, sizeof(diskdesc), + "%s <%s>", diskdesc, desc); + disks[n-1].text = strdup(diskdesc); disks[n-1].help = NULL; disks[n-1].state = 0; From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 17:22:11 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90349106564A; Sat, 26 Feb 2011 17:22:11 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7F19C8FC08; Sat, 26 Feb 2011 17:22:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QHMB1k084153; Sat, 26 Feb 2011 17:22:11 GMT (envelope-from glebius@svn.freebsd.org) Received: (from glebius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QHMBP2084151; Sat, 26 Feb 2011 17:22:11 GMT (envelope-from glebius@svn.freebsd.org) Message-Id: <201102261722.p1QHMBP2084151@svn.freebsd.org> From: Gleb Smirnoff Date: Sat, 26 Feb 2011 17:22:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219059 - head/sys/modules/usb X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 17:22:11 -0000 Author: glebius Date: Sat Feb 26 17:22:11 2011 New Revision: 219059 URL: http://svn.freebsd.org/changeset/base/219059 Log: Connect uep.ko to build PR: kern/155044 Submitted by: Carl MFC after: 1 week Modified: head/sys/modules/usb/Makefile Modified: head/sys/modules/usb/Makefile ============================================================================== --- head/sys/modules/usb/Makefile Sat Feb 26 15:44:03 2011 (r219058) +++ head/sys/modules/usb/Makefile Sat Feb 26 17:22:11 2011 (r219059) @@ -28,7 +28,7 @@ SUBDIR = usb SUBDIR += ehci musb ohci uhci xhci uss820dci ${_at91dci} ${_atmegadci} SUBDIR += rum run uath upgt ural zyd ${_urtw} -SUBDIR += atp uhid ukbd ums udbp ufm +SUBDIR += atp uhid ukbd ums udbp ufm uep SUBDIR += ucom u3g uark ubsa ubser uchcom ucycom ufoma uftdi ugensa uipaq ulpt \ umct umodem umoscom uplcom uslcom uvisor uvscom SUBDIR += uether aue axe cdce cue kue mos rue udav uhso ipheth From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 17:28:09 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D7621065672; Sat, 26 Feb 2011 17:28:09 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7C27B8FC0A; Sat, 26 Feb 2011 17:28:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QHS9Ck084408; Sat, 26 Feb 2011 17:28:09 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QHS9GZ084406; Sat, 26 Feb 2011 17:28:09 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201102261728.p1QHS9GZ084406@svn.freebsd.org> From: Marius Strobl Date: Sat, 26 Feb 2011 17:28:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219060 - head/sys/dev/fxp X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 17:28:09 -0000 Author: marius Date: Sat Feb 26 17:28:09 2011 New Revision: 219060 URL: http://svn.freebsd.org/changeset/base/219060 Log: - Allocate the DMA memory shared between the host and the controller as coherent. - Update a comment to no longer reference Alpha. Modified: head/sys/dev/fxp/if_fxp.c Modified: head/sys/dev/fxp/if_fxp.c ============================================================================== --- head/sys/dev/fxp/if_fxp.c Sat Feb 26 17:22:11 2011 (r219059) +++ head/sys/dev/fxp/if_fxp.c Sat Feb 26 17:28:09 2011 (r219060) @@ -87,7 +87,7 @@ MODULE_DEPEND(fxp, miibus, 1, 1, 1); #include "miibus_if.h" /* - * NOTE! On the Alpha, we have an alignment constraint. The + * NOTE! On !x86 we typically have an alignment constraint. The * card DMAs the packet immediately following the RFA. However, * the first thing in the packet is a 14-byte Ethernet header. * This means that the packet is misaligned. To compensate, @@ -675,7 +675,7 @@ fxp_attach(device_t dev) } error = bus_dmamem_alloc(sc->fxp_stag, (void **)&sc->fxp_stats, - BUS_DMA_NOWAIT | BUS_DMA_ZERO, &sc->fxp_smap); + BUS_DMA_NOWAIT | BUS_DMA_COHERENT | BUS_DMA_ZERO, &sc->fxp_smap); if (error) { device_printf(dev, "could not allocate stats DMA memory\n"); goto fail; @@ -697,7 +697,7 @@ fxp_attach(device_t dev) } error = bus_dmamem_alloc(sc->cbl_tag, (void **)&sc->fxp_desc.cbl_list, - BUS_DMA_NOWAIT | BUS_DMA_ZERO, &sc->cbl_map); + BUS_DMA_NOWAIT | BUS_DMA_COHERENT | BUS_DMA_ZERO, &sc->cbl_map); if (error) { device_printf(dev, "could not allocate TxCB DMA memory\n"); goto fail; @@ -722,7 +722,7 @@ fxp_attach(device_t dev) } error = bus_dmamem_alloc(sc->mcs_tag, (void **)&sc->mcsp, - BUS_DMA_NOWAIT | BUS_DMA_ZERO, &sc->mcs_map); + BUS_DMA_NOWAIT | BUS_DMA_COHERENT | BUS_DMA_ZERO, &sc->mcs_map); if (error) { device_printf(dev, "could not allocate multicast setup DMA memory\n"); From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 18:54:54 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63FC610656A3; Sat, 26 Feb 2011 18:54:54 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 522C98FC08; Sat, 26 Feb 2011 18:54:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QIss6m088886; Sat, 26 Feb 2011 18:54:54 GMT (envelope-from ume@svn.freebsd.org) Received: (from ume@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QIssPQ088883; Sat, 26 Feb 2011 18:54:54 GMT (envelope-from ume@svn.freebsd.org) Message-Id: <201102261854.p1QIssPQ088883@svn.freebsd.org> From: Hajimu UMEMOTO Date: Sat, 26 Feb 2011 18:54:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219061 - head/bin/csh X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 18:54:54 -0000 Author: ume Date: Sat Feb 26 18:54:54 2011 New Revision: 219061 URL: http://svn.freebsd.org/changeset/base/219061 Log: When WITH_ICONV is set, use our in-tree iconv. Added: head/bin/csh/iconv_stub.h - copied unchanged from r219060, head/bin/csh/iconv.h Deleted: head/bin/csh/iconv.h Modified: head/bin/csh/Makefile Modified: head/bin/csh/Makefile ============================================================================== --- head/bin/csh/Makefile Sat Feb 26 17:28:09 2011 (r219060) +++ head/bin/csh/Makefile Sat Feb 26 18:54:54 2011 (r219061) @@ -76,18 +76,26 @@ NLSLINKS_es_ES.ISO8859-1= es_ES.ISO8859- CFLAGS+= -DNO_NLS_CATALOGS .else CFLAGS+= -DHAVE_ICONV +.if ${MK_ICONV} != "no" +NLSLINKS_de_DE.ISO8859-1 += de_AT.UTF-8 de_CH.UTF-8 de_DE.UTF-8 +NLSLINKS_el_GR.ISO8859-7 = el_GR.UTF-8 +NLSLINKS_es_ES.ISO8859-1 += es_ES.UTF-8 +NLSLINKS_et_EE.ISO8859-15 = et_EE.UTF-8 +NLSLINKS_fi_FI.ISO8859-1 += fi_FI.UTF-8 +NLSLINKS_fr_FR.ISO8859-1 += fr_BE.UTF-8 fr_CA.UTF-8 fr_CH.UTF-8 fr_FR.UTF-8 +NLSLINKS_it_IT.ISO8859-1 += it_CH.UTF-8 it_IT.UTF-8 +NLSLINKS_ja_JP.eucJP = ja_JP.SJIS ja_JP.UTF-8 +NLSLINKS_ru_RU.KOI8-R = ru_RU.CP1251 ru_RU.CP866 ru_RU.ISO8859-5 ru_RU.UTF-8 +NLSLINKS_uk_UA.KOI8-U = uk_UA.ISO8859-5 uk_UA.UTF-8 +.else +# Above links can be installed from ports/shells/tcsh_nls + +GENHDRS+= iconv.h SRCS+= iconv_stub.c -# Following links can be installed from ports/shells/tcsh_nls: -# NLSLINKS_de_DE.ISO8859-1 += de_AT.UTF-8 de_CH.UTF-8 de_DE.UTF-8 -# NLSLINKS_el_GR.ISO8859-7 = el_GR.UTF-8 -# NLSLINKS_es_ES.ISO8859-1 += es_ES.UTF-8 -# NLSLINKS_et_EE.ISO8859-15 = et_EE.UTF-8 -# NLSLINKS_fi_FI.ISO8859-1 += fi_FI.UTF-8 -# NLSLINKS_fr_FR.ISO8859-1 += fr_BE.UTF-8 fr_CA.UTF-8 fr_CH.UTF-8 fr_FR.UTF-8 -# NLSLINKS_it_IT.ISO8859-1 += it_CH.UTF-8 it_IT.UTF-8 -# NLSLINKS_ja_JP.eucJP = ja_JP.SJIS ja_JP.UTF-8 -# NLSLINKS_ru_RU.KOI8-R = ru_RU.CP1251 ru_RU.CP866 ru_RU.ISO8859-5 ru_RU.UTF-8 -# NLSLINKS_uk_UA.KOI8-U = uk_UA.ISO8859-5 uk_UA.UTF-8 + +iconv.h: ${.CURDIR}/iconv_stub.h + cp ${.CURDIR}/iconv_stub.h ${.TARGET} +.endif .endif NLSNAME= tcsh @@ -105,7 +113,8 @@ build-tools: gethost gethost: gethost.c sh.err.h tc.const.h sh.h @rm -f ${.TARGET} - ${CC} -o gethost ${LDFLAGS} ${CFLAGS} ${TCSHDIR}/gethost.c + ${CC} -o gethost ${LDFLAGS} ${CFLAGS:C/-DHAVE_ICONV//} \ + ${TCSHDIR}/gethost.c tc.defs.c: gethost ${.CURDIR}/host.defs @rm -f ${.TARGET} @@ -133,7 +142,8 @@ tc.const.h: tc.const.c sh.char.h config. @echo '/* Do not edit this file, make creates it. */' > ${.TARGET} @echo '#ifndef _h_tc_const' >> ${.TARGET} @echo '#define _h_tc_const' >> ${.TARGET} - ${CC} -E ${CFLAGS} ${.ALLSRC} -D_h_tc_const | grep 'Char STR' | \ + ${CC} -E ${CFLAGS:C/-DHAVE_ICONV//} ${.ALLSRC} -D_h_tc_const | \ + grep 'Char STR' | \ sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \ sort >> ${.TARGET} @echo '#endif /* _h_tc_const */' >> ${.TARGET} Copied: head/bin/csh/iconv_stub.h (from r219060, head/bin/csh/iconv.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/bin/csh/iconv_stub.h Sat Feb 26 18:54:54 2011 (r219061, copy of r219060, head/bin/csh/iconv.h) @@ -0,0 +1,44 @@ +/*- + * Copyright (c) 2006 Hajimu UMEMOTO + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +#ifndef _ICONV_H_ +#define _ICONV_H_ + +typedef void *iconv_t; +typedef size_t dl_iconv_t(iconv_t, const char **, size_t *, char **, size_t *); +typedef int dl_iconv_close_t(iconv_t); + +extern iconv_t dl_iconv_open(const char *, const char *); +extern dl_iconv_t *dl_iconv; +extern dl_iconv_close_t *dl_iconv_close; + +#define iconv_open dl_iconv_open +#define iconv dl_iconv +#define iconv_close dl_iconv_close + +#endif /* !_ICONV_H_ */ From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 20:04:14 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEFE41065695; Sat, 26 Feb 2011 20:04:14 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9C7CF8FC18; Sat, 26 Feb 2011 20:04:14 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QK4EV1091979; Sat, 26 Feb 2011 20:04:14 GMT (envelope-from ume@svn.freebsd.org) Received: (from ume@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QK4EMT091975; Sat, 26 Feb 2011 20:04:14 GMT (envelope-from ume@svn.freebsd.org) Message-Id: <201102262004.p1QK4EMT091975@svn.freebsd.org> From: Hajimu UMEMOTO Date: Sat, 26 Feb 2011 20:04:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219062 - stable/8/usr.bin/netstat X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 20:04:14 -0000 Author: ume Date: Sat Feb 26 20:04:14 2011 New Revision: 219062 URL: http://svn.freebsd.org/changeset/base/219062 Log: MFC r217642: - Hide the internal scope address representation of the KAME IPv6 stack from the output of `netstat -ani'. - The node-local multicast address in the output of `netstat -rn' should be handled as well. Modified: stable/8/usr.bin/netstat/if.c stable/8/usr.bin/netstat/netstat.h stable/8/usr.bin/netstat/route.c Directory Properties: stable/8/usr.bin/netstat/ (props changed) Modified: stable/8/usr.bin/netstat/if.c ============================================================================== --- stable/8/usr.bin/netstat/if.c Sat Feb 26 18:54:54 2011 (r219061) +++ stable/8/usr.bin/netstat/if.c Sat Feb 26 20:04:14 2011 (r219062) @@ -63,6 +63,9 @@ __FBSDID("$FreeBSD$"); #include #include #include +#ifdef INET6 +#include +#endif #include #include #include @@ -79,7 +82,7 @@ static void sidewaysintpr(int, u_long); static void catchalarm(int); #ifdef INET6 -static char ntop_buf[INET6_ADDRSTRLEN]; /* for inet_ntop() */ +static char addr_buf[NI_MAXHOST]; /* for getnameinfo() */ #endif /* @@ -347,13 +350,14 @@ intpr(int interval1, u_long ifnetaddr, v #ifdef INET6 case AF_INET6: sockin6 = (struct sockaddr_in6 *)sa; + in6_fillscopeid(&ifaddr.in6.ia_addr); printf("%-13.13s ", netname6(&ifaddr.in6.ia_addr, &ifaddr.in6.ia_prefixmask.sin6_addr)); - printf("%-17.17s ", - inet_ntop(AF_INET6, - &sockin6->sin6_addr, - ntop_buf, sizeof(ntop_buf))); + in6_fillscopeid(sockin6); + getnameinfo(sa, sa->sa_len, addr_buf, + sizeof(addr_buf), 0, 0, NI_NUMERICHOST); + printf("%-17.17s ", addr_buf); network_layer = 1; break; @@ -475,13 +479,13 @@ intpr(int interval1, u_long ifnetaddr, v break; #ifdef INET6 case AF_INET6: + in6_fillscopeid(&msa.in6); + getnameinfo(&msa.sa, msa.sa.sa_len, + addr_buf, sizeof(addr_buf), 0, 0, + NI_NUMERICHOST); printf("%*s %-19.19s(refs: %d)\n", Wflag ? 27 : 25, "", - inet_ntop(AF_INET6, - &msa.in6.sin6_addr, - ntop_buf, - sizeof(ntop_buf)), - ifma.ifma_refcount); + addr_buf, ifma.ifma_refcount); break; #endif /* INET6 */ case AF_LINK: Modified: stable/8/usr.bin/netstat/netstat.h ============================================================================== --- stable/8/usr.bin/netstat/netstat.h Sat Feb 26 18:54:54 2011 (r219061) +++ stable/8/usr.bin/netstat/netstat.h Sat Feb 26 20:04:14 2011 (r219062) @@ -106,6 +106,7 @@ void mrt6_stats(u_long); struct sockaddr_in6; struct in6_addr; +void in6_fillscopeid(struct sockaddr_in6 *); char *routename6(struct sockaddr_in6 *); const char *netname6(struct sockaddr_in6 *, struct in6_addr *); void inet6print(struct in6_addr *, int, const char *, int); Modified: stable/8/usr.bin/netstat/route.c ============================================================================== --- stable/8/usr.bin/netstat/route.c Sat Feb 26 18:54:54 2011 (r219061) +++ stable/8/usr.bin/netstat/route.c Sat Feb 26 20:04:14 2011 (r219062) @@ -637,18 +637,8 @@ fmt_sockaddr(struct sockaddr *sa, struct case AF_INET6: { struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *)sa; - struct in6_addr *in6 = &sa6->sin6_addr; - /* - * XXX: This is a special workaround for KAME kernels. - * sin6_scope_id field of SA should be set in the future. - */ - if (IN6_IS_ADDR_LINKLOCAL(in6) || - IN6_IS_ADDR_MC_LINKLOCAL(in6)) { - /* XXX: override is ok? */ - sa6->sin6_scope_id = (u_int32_t)ntohs(*(u_short *)&in6->s6_addr[2]); - *(u_short *)&in6->s6_addr[2] = 0; - } + in6_fillscopeid(sa6); if (flags & RTF_HOST) cp = routename6(sa6); @@ -899,6 +889,25 @@ netname(in_addr_t in, u_long mask) #undef NSHIFT #ifdef INET6 +void +in6_fillscopeid(struct sockaddr_in6 *sa6) +{ +#if defined(__KAME__) + /* + * XXX: This is a special workaround for KAME kernels. + * sin6_scope_id field of SA should be set in the future. + */ + if (IN6_IS_ADDR_LINKLOCAL(&sa6->sin6_addr) || + IN6_IS_ADDR_MC_NODELOCAL(&sa6->sin6_addr) || + IN6_IS_ADDR_MC_LINKLOCAL(&sa6->sin6_addr)) { + /* XXX: override is ok? */ + sa6->sin6_scope_id = + ntohs(*(u_int16_t *)&sa6->sin6_addr.s6_addr[2]); + sa6->sin6_addr.s6_addr[2] = sa6->sin6_addr.s6_addr[3] = 0; + } +#endif +} + const char * netname6(struct sockaddr_in6 *sa6, struct in6_addr *mask) { From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 21:08:10 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10C4D1065670; Sat, 26 Feb 2011 21:08:10 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D8CE48FC08; Sat, 26 Feb 2011 21:08:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QL89uR094984; Sat, 26 Feb 2011 21:08:09 GMT (envelope-from alc@svn.freebsd.org) Received: (from alc@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QL89QW094982; Sat, 26 Feb 2011 21:08:09 GMT (envelope-from alc@svn.freebsd.org) Message-Id: <201102262108.p1QL89QW094982@svn.freebsd.org> From: Alan Cox Date: Sat, 26 Feb 2011 21:08:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219063 - stable/8/sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 21:08:10 -0000 Author: alc Date: Sat Feb 26 21:08:09 2011 New Revision: 219063 URL: http://svn.freebsd.org/changeset/base/219063 Log: MFC r216090 Correct an error in the allocation of the vm_page_dump array in vm_page_startup(). Specifically, the dump_avail array should be used instead of the phys_avail array to calculate the size of vm_page_dump. Modified: stable/8/sys/vm/vm_page.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/vm/vm_page.c ============================================================================== --- stable/8/sys/vm/vm_page.c Sat Feb 26 20:04:14 2011 (r219062) +++ stable/8/sys/vm/vm_page.c Sat Feb 26 21:08:09 2011 (r219063) @@ -220,7 +220,6 @@ vm_page_startup(vm_offset_t vaddr) vm_paddr_t new_end; int i; vm_paddr_t pa; - int nblocks; vm_paddr_t last_pa; char *list; @@ -232,7 +231,6 @@ vm_page_startup(vm_offset_t vaddr) biggestsize = 0; biggestone = 0; - nblocks = 0; vaddr = round_page(vaddr); for (i = 0; phys_avail[i + 1]; i += 2) { @@ -254,7 +252,6 @@ vm_page_startup(vm_offset_t vaddr) low_water = phys_avail[i]; if (phys_avail[i + 1] > high_water) high_water = phys_avail[i + 1]; - ++nblocks; } #ifdef XEN @@ -305,7 +302,11 @@ vm_page_startup(vm_offset_t vaddr) * minidump code. In theory, they are not needed on i386, but are * included should the sf_buf code decide to use them. */ - page_range = phys_avail[(nblocks - 1) * 2 + 1] / PAGE_SIZE; + last_pa = 0; + for (i = 0; dump_avail[i + 1] != 0; i += 2) + if (dump_avail[i + 1] > last_pa) + last_pa = dump_avail[i + 1]; + page_range = last_pa / PAGE_SIZE; vm_page_dump_size = round_page(roundup2(page_range, NBBY) / NBBY); new_end -= vm_page_dump_size; vm_page_dump = (void *)(uintptr_t)pmap_map(&vaddr, new_end, From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 21:18:38 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A860D106564A; Sat, 26 Feb 2011 21:18:38 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 945818FC0C; Sat, 26 Feb 2011 21:18:38 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QLIcE3095425; Sat, 26 Feb 2011 21:18:38 GMT (envelope-from alc@svn.freebsd.org) Received: (from alc@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QLIc4t095423; Sat, 26 Feb 2011 21:18:38 GMT (envelope-from alc@svn.freebsd.org) Message-Id: <201102262118.p1QLIc4t095423@svn.freebsd.org> From: Alan Cox Date: Sat, 26 Feb 2011 21:18:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219064 - stable/8/sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 21:18:38 -0000 Author: alc Date: Sat Feb 26 21:18:38 2011 New Revision: 219064 URL: http://svn.freebsd.org/changeset/base/219064 Log: MFC r206140 Re-enable the call to pmap_release() by vmspace_dofree(). Modified: stable/8/sys/vm/vm_map.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/vm/vm_map.c ============================================================================== --- stable/8/sys/vm/vm_map.c Sat Feb 26 21:08:09 2011 (r219063) +++ stable/8/sys/vm/vm_map.c Sat Feb 26 21:18:38 2011 (r219064) @@ -316,6 +316,7 @@ vm_init2(void) static inline void vmspace_dofree(struct vmspace *vm) { + CTR1(KTR_VM, "vmspace_free: %p", vm); /* @@ -332,12 +333,8 @@ vmspace_dofree(struct vmspace *vm) (void)vm_map_remove(&vm->vm_map, vm->vm_map.min_offset, vm->vm_map.max_offset); - /* - * XXX Comment out the pmap_release call for now. The - * vmspace_zone is marked as UMA_ZONE_NOFREE, and bugs cause - * pmap.resident_count to be != 0 on exit sometimes. - */ -/* pmap_release(vmspace_pmap(vm)); */ + pmap_release(vmspace_pmap(vm)); + vm->vm_map.pmap = NULL; uma_zfree(vmspace_zone, vm); } From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 21:24:14 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F38A7106566B; Sat, 26 Feb 2011 21:24:13 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E1E628FC1C; Sat, 26 Feb 2011 21:24:13 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QLODGV095691; Sat, 26 Feb 2011 21:24:13 GMT (envelope-from alc@svn.freebsd.org) Received: (from alc@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QLODd6095689; Sat, 26 Feb 2011 21:24:13 GMT (envelope-from alc@svn.freebsd.org) Message-Id: <201102262124.p1QLODd6095689@svn.freebsd.org> From: Alan Cox Date: Sat, 26 Feb 2011 21:24:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219065 - stable/8/sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 21:24:14 -0000 Author: alc Date: Sat Feb 26 21:24:13 2011 New Revision: 219065 URL: http://svn.freebsd.org/changeset/base/219065 Log: MFC r217477 Clean up the start of vm_page_alloc(). Modified: stable/8/sys/vm/vm_page.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/vm/vm_page.c ============================================================================== --- stable/8/sys/vm/vm_page.c Sat Feb 26 21:18:38 2011 (r219064) +++ stable/8/sys/vm/vm_page.c Sat Feb 26 21:24:13 2011 (r219065) @@ -1102,23 +1102,19 @@ vm_page_alloc(vm_object_t object, vm_pin vm_page_t m; int flags, page_req; - page_req = req & VM_ALLOC_CLASS_MASK; - KASSERT(curthread->td_intr_nesting_level == 0 || - page_req == VM_ALLOC_INTERRUPT, - ("vm_page_alloc(NORMAL|SYSTEM) in interrupt context")); - if ((req & VM_ALLOC_NOOBJ) == 0) { KASSERT(object != NULL, ("vm_page_alloc: NULL object.")); VM_OBJECT_LOCK_ASSERT(object, MA_OWNED); } + page_req = req & VM_ALLOC_CLASS_MASK; + /* * The pager is allowed to eat deeper into the free page list. */ - if ((curproc == pageproc) && (page_req != VM_ALLOC_INTERRUPT)) { + if ((curproc == pageproc) && (page_req != VM_ALLOC_INTERRUPT)) page_req = VM_ALLOC_SYSTEM; - }; mtx_lock(&vm_page_queue_free_mtx); if (cnt.v_free_count + cnt.v_cache_count > cnt.v_free_reserved || From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 21:27:41 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3129106566C; Sat, 26 Feb 2011 21:27:41 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B17118FC08; Sat, 26 Feb 2011 21:27:41 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QLRfep095877; Sat, 26 Feb 2011 21:27:41 GMT (envelope-from alc@svn.freebsd.org) Received: (from alc@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QLRffU095875; Sat, 26 Feb 2011 21:27:41 GMT (envelope-from alc@svn.freebsd.org) Message-Id: <201102262127.p1QLRffU095875@svn.freebsd.org> From: Alan Cox Date: Sat, 26 Feb 2011 21:27:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219066 - stable/8/sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 21:27:41 -0000 Author: alc Date: Sat Feb 26 21:27:41 2011 New Revision: 219066 URL: http://svn.freebsd.org/changeset/base/219066 Log: MFC r217453 For some time now, the kernel and kmem objects have been ordinary OBJT_PHYS objects. Thus, there is no need for handling them specially in vm_fault(). In fact, this special case handling would have led to an assertion failure just before the call to pmap_enter(). Modified: stable/8/sys/vm/vm_fault.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/vm/vm_fault.c ============================================================================== --- stable/8/sys/vm/vm_fault.c Sat Feb 26 21:24:13 2011 (r219065) +++ stable/8/sys/vm/vm_fault.c Sat Feb 26 21:27:41 2011 (r219066) @@ -397,11 +397,8 @@ RetryFault:; * found the page ). */ vm_page_busy(fs.m); - if (fs.m->valid != VM_PAGE_BITS_ALL && - fs.m->object != kernel_object && fs.m->object != kmem_object) { + if (fs.m->valid != VM_PAGE_BITS_ALL) goto readrest; - } - break; } From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 22:03:51 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABA89106566B; Sat, 26 Feb 2011 22:03:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 95AAB8FC1B; Sat, 26 Feb 2011 22:03:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QM3p2w097414; Sat, 26 Feb 2011 22:03:51 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QM3pXE097388; Sat, 26 Feb 2011 22:03:51 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102262203.p1QM3pXE097388@svn.freebsd.org> From: Dimitry Andric Date: Sat, 26 Feb 2011 22:03:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219067 - in vendor/llvm/dist: . cmake/modules docs include/llvm include/llvm/ADT include/llvm/Analysis include/llvm/CodeGen include/llvm/MC include/llvm/MC/MCParser include/llvm/Suppor... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 22:03:51 -0000 Author: dim Date: Sat Feb 26 22:03:50 2011 New Revision: 219067 URL: http://svn.freebsd.org/changeset/base/219067 Log: Vendor import of llvm trunk r126547: http://llvm.org/svn/llvm-project/llvm/trunk@126547 Added: vendor/llvm/dist/test/CodeGen/ARM/2009-10-16-Scope.ll vendor/llvm/dist/test/CodeGen/ARM/2010-08-04-StackVariable.ll vendor/llvm/dist/test/CodeGen/ARM/available_externally.ll vendor/llvm/dist/test/CodeGen/X86/2009-10-16-Scope.ll vendor/llvm/dist/test/CodeGen/X86/2010-08-04-StackVariable.ll vendor/llvm/dist/test/CodeGen/X86/2011-02-21-VirtRegRewriter-KillSubReg.ll vendor/llvm/dist/test/CodeGen/X86/2011-02-23-UnfoldBug.ll vendor/llvm/dist/test/CodeGen/X86/phi-constants.ll vendor/llvm/dist/test/CodeGen/X86/vec_anyext.ll vendor/llvm/dist/test/CodeGen/X86/vec_sext.ll vendor/llvm/dist/test/CodeGen/X86/vec_zext.ll vendor/llvm/dist/test/CodeGen/XCore/events.ll vendor/llvm/dist/test/FrontendC/2011-02-21-DATA-common.c vendor/llvm/dist/test/MC/ARM/bracket-darwin.s vendor/llvm/dist/test/MC/ARM/bracket-exprs.s vendor/llvm/dist/test/MC/ARM/darwin-ARM-reloc.s vendor/llvm/dist/test/MC/ARM/darwin-Thumb-reloc.s vendor/llvm/dist/test/MC/ARM/full_line_comment.s vendor/llvm/dist/test/MC/Disassembler/X86/enhanced.txt vendor/llvm/dist/test/MC/ELF/bracket-exprs.s vendor/llvm/dist/test/MC/ELF/bracket.s vendor/llvm/dist/test/MC/ELF/org.s vendor/llvm/dist/test/MC/ELF/pr9292.s vendor/llvm/dist/test/MC/ELF/relocation-pc.s vendor/llvm/dist/test/Transforms/InstCombine/or-xor.ll vendor/llvm/dist/test/Transforms/LoopDeletion/multiple-exits.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/select-gep.ll vendor/llvm/dist/utils/llvmbuild (contents, props changed) Deleted: vendor/llvm/dist/test/CodeGen/X86/codegen-dce.ll vendor/llvm/dist/test/CodeGen/X86/dbg-live-in-location.ll vendor/llvm/dist/test/CodeGen/X86/non-globl-eh-frame.ll vendor/llvm/dist/test/DebugInfo/2009-03-03-deadstore.ll vendor/llvm/dist/test/DebugInfo/2009-03-03-store-to-load-forward.ll vendor/llvm/dist/test/DebugInfo/2009-10-16-Scope.ll vendor/llvm/dist/test/DebugInfo/2010-08-04-StackVariable.ll vendor/llvm/dist/test/MC/AsmParser/full_line_comment.s vendor/llvm/dist/test/MC/AsmParser/paren.s vendor/llvm/dist/test/MC/MachO/darwin-ARM-reloc.s vendor/llvm/dist/test/MC/MachO/darwin-Thumb-reloc.s vendor/llvm/dist/test/Transforms/InstCombine/2003-11-13-ConstExprCastCall.ll Modified: vendor/llvm/dist/CMakeLists.txt vendor/llvm/dist/Makefile.rules vendor/llvm/dist/cmake/modules/AddLLVM.cmake vendor/llvm/dist/cmake/modules/CMakeLists.txt vendor/llvm/dist/cmake/modules/HandleLLVMOptions.cmake vendor/llvm/dist/cmake/modules/LLVM.cmake vendor/llvm/dist/docs/GettingStartedVS.html vendor/llvm/dist/docs/LangRef.html vendor/llvm/dist/include/llvm/ADT/APInt.h vendor/llvm/dist/include/llvm/ADT/ArrayRef.h vendor/llvm/dist/include/llvm/ADT/ImmutableIntervalMap.h vendor/llvm/dist/include/llvm/ADT/ImmutableMap.h vendor/llvm/dist/include/llvm/Analysis/DIBuilder.h vendor/llvm/dist/include/llvm/CMakeLists.txt vendor/llvm/dist/include/llvm/CodeGen/AsmPrinter.h vendor/llvm/dist/include/llvm/CodeGen/FunctionLoweringInfo.h vendor/llvm/dist/include/llvm/CodeGen/MachineConstantPool.h vendor/llvm/dist/include/llvm/CodeGen/MachineFunction.h vendor/llvm/dist/include/llvm/CodeGen/MachineRegisterInfo.h vendor/llvm/dist/include/llvm/IntrinsicsXCore.td vendor/llvm/dist/include/llvm/MC/MCAsmInfo.h vendor/llvm/dist/include/llvm/MC/MCParser/MCAsmParserExtension.h vendor/llvm/dist/include/llvm/MC/MCStreamer.h vendor/llvm/dist/include/llvm/Support/NoFolder.h vendor/llvm/dist/include/llvm/Support/PathV1.h vendor/llvm/dist/include/llvm/Target/TargetLowering.h vendor/llvm/dist/include/llvm/Transforms/Utils/Local.h vendor/llvm/dist/lib/Analysis/DIBuilder.cpp vendor/llvm/dist/lib/Analysis/InstructionSimplify.cpp vendor/llvm/dist/lib/CodeGen/AllocationOrder.h vendor/llvm/dist/lib/CodeGen/AsmPrinter/AsmPrinter.cpp vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfDebug.cpp vendor/llvm/dist/lib/CodeGen/BranchFolding.cpp vendor/llvm/dist/lib/CodeGen/InlineSpiller.cpp vendor/llvm/dist/lib/CodeGen/LowerSubregs.cpp vendor/llvm/dist/lib/CodeGen/MachineFunction.cpp vendor/llvm/dist/lib/CodeGen/MachineRegisterInfo.cpp vendor/llvm/dist/lib/CodeGen/RegAllocBase.h vendor/llvm/dist/lib/CodeGen/RegAllocBasic.cpp vendor/llvm/dist/lib/CodeGen/RegAllocGreedy.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/DAGCombiner.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAG.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/TargetLowering.cpp vendor/llvm/dist/lib/CodeGen/SplitKit.cpp vendor/llvm/dist/lib/CodeGen/SplitKit.h vendor/llvm/dist/lib/CodeGen/TargetLoweringObjectFileImpl.cpp vendor/llvm/dist/lib/CodeGen/VirtRegRewriter.cpp vendor/llvm/dist/lib/MC/ELFObjectWriter.cpp vendor/llvm/dist/lib/MC/MCAsmInfo.cpp vendor/llvm/dist/lib/MC/MCAsmInfoDarwin.cpp vendor/llvm/dist/lib/MC/MCDisassembler/EDOperand.cpp vendor/llvm/dist/lib/MC/MCDisassembler/EDToken.cpp vendor/llvm/dist/lib/MC/MCObjectStreamer.cpp vendor/llvm/dist/lib/MC/MCParser/AsmParser.cpp vendor/llvm/dist/lib/MC/MCParser/ELFAsmParser.cpp vendor/llvm/dist/lib/MC/MCParser/MCAsmParserExtension.cpp vendor/llvm/dist/lib/MC/MCSectionMachO.cpp vendor/llvm/dist/lib/MC/MCStreamer.cpp vendor/llvm/dist/lib/Support/APInt.cpp vendor/llvm/dist/lib/Target/ARM/ARMBaseInstrInfo.h vendor/llvm/dist/lib/Target/ARM/ARMFastISel.cpp vendor/llvm/dist/lib/Target/ARM/ARMFrameLowering.cpp vendor/llvm/dist/lib/Target/ARM/ARMHazardRecognizer.cpp vendor/llvm/dist/lib/Target/ARM/ARMISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/ARM/ARMISelLowering.cpp vendor/llvm/dist/lib/Target/ARM/ARMInstrFormats.td vendor/llvm/dist/lib/Target/ARM/ARMInstrInfo.td vendor/llvm/dist/lib/Target/ARM/ARMInstrNEON.td vendor/llvm/dist/lib/Target/ARM/ARMInstrVFP.td vendor/llvm/dist/lib/Target/ARM/ARMSubtarget.cpp vendor/llvm/dist/lib/Target/ARM/MLxExpansionPass.cpp vendor/llvm/dist/lib/Target/ARM/NEONMoveFix.cpp vendor/llvm/dist/lib/Target/ARM/Thumb2InstrInfo.cpp vendor/llvm/dist/lib/Target/Alpha/AlphaISelLowering.cpp vendor/llvm/dist/lib/Target/Alpha/AlphaISelLowering.h vendor/llvm/dist/lib/Target/Blackfin/BlackfinISelLowering.cpp vendor/llvm/dist/lib/Target/Blackfin/BlackfinISelLowering.h vendor/llvm/dist/lib/Target/CellSPU/SPUISelLowering.cpp vendor/llvm/dist/lib/Target/CellSPU/SPUISelLowering.h vendor/llvm/dist/lib/Target/MBlaze/MBlazeISelLowering.cpp vendor/llvm/dist/lib/Target/MSP430/MSP430ISelLowering.cpp vendor/llvm/dist/lib/Target/MSP430/MSP430ISelLowering.h vendor/llvm/dist/lib/Target/PowerPC/PPCISelLowering.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCISelLowering.h vendor/llvm/dist/lib/Target/README.txt vendor/llvm/dist/lib/Target/Sparc/DelaySlotFiller.cpp vendor/llvm/dist/lib/Target/Sparc/SparcISelLowering.cpp vendor/llvm/dist/lib/Target/Sparc/SparcISelLowering.h vendor/llvm/dist/lib/Target/Sparc/SparcInstrInfo.td vendor/llvm/dist/lib/Target/SystemZ/SystemZISelLowering.cpp vendor/llvm/dist/lib/Target/SystemZ/SystemZISelLowering.h vendor/llvm/dist/lib/Target/X86/AsmParser/X86AsmParser.cpp vendor/llvm/dist/lib/Target/X86/Disassembler/X86Disassembler.cpp vendor/llvm/dist/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h vendor/llvm/dist/lib/Target/X86/README.txt vendor/llvm/dist/lib/Target/X86/X86FastISel.cpp vendor/llvm/dist/lib/Target/X86/X86ISelLowering.cpp vendor/llvm/dist/lib/Target/X86/X86ISelLowering.h vendor/llvm/dist/lib/Target/X86/X86InstrFormats.td vendor/llvm/dist/lib/Target/X86/X86InstrInfo.cpp vendor/llvm/dist/lib/Target/X86/X86InstrInfo.h vendor/llvm/dist/lib/Target/X86/X86InstrInfo.td vendor/llvm/dist/lib/Target/X86/X86InstrSystem.td vendor/llvm/dist/lib/Target/X86/X86MCCodeEmitter.cpp vendor/llvm/dist/lib/Target/X86/X86Subtarget.cpp vendor/llvm/dist/lib/Target/X86/X86Subtarget.h vendor/llvm/dist/lib/Target/XCore/XCoreISelLowering.cpp vendor/llvm/dist/lib/Target/XCore/XCoreISelLowering.h vendor/llvm/dist/lib/Target/XCore/XCoreInstrInfo.td vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineCalls.cpp vendor/llvm/dist/lib/Transforms/Scalar/LoopDeletion.cpp vendor/llvm/dist/lib/Transforms/Scalar/LoopIdiomRecognize.cpp vendor/llvm/dist/lib/Transforms/Scalar/SimplifyLibCalls.cpp vendor/llvm/dist/lib/Transforms/Utils/Local.cpp vendor/llvm/dist/lib/Transforms/Utils/PromoteMemoryToRegister.cpp vendor/llvm/dist/lib/Transforms/Utils/SimplifyCFG.cpp vendor/llvm/dist/test/CMakeLists.txt vendor/llvm/dist/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll vendor/llvm/dist/test/CodeGen/ARM/fcopysign.ll vendor/llvm/dist/test/CodeGen/ARM/vstlane.ll vendor/llvm/dist/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll vendor/llvm/dist/test/CodeGen/SPARC/2011-01-22-SRet.ll vendor/llvm/dist/test/CodeGen/X86/2010-06-28-DbgEntryPC.ll vendor/llvm/dist/test/CodeGen/X86/add.ll vendor/llvm/dist/test/CodeGen/X86/break-sse-dep.ll vendor/llvm/dist/test/CodeGen/X86/codegen-prepare-extload.ll vendor/llvm/dist/test/CodeGen/X86/constant-pool-sharing.ll vendor/llvm/dist/test/CodeGen/X86/ctpop-combine.ll vendor/llvm/dist/test/CodeGen/X86/dbg-value-location.ll vendor/llvm/dist/test/CodeGen/X86/divide-by-constant.ll vendor/llvm/dist/test/CodeGen/X86/dll-linkage.ll vendor/llvm/dist/test/CodeGen/X86/fast-isel-cmp-branch.ll vendor/llvm/dist/test/CodeGen/X86/fast-isel-gep.ll vendor/llvm/dist/test/CodeGen/X86/gather-addresses.ll vendor/llvm/dist/test/CodeGen/X86/i128-ret.ll vendor/llvm/dist/test/CodeGen/X86/lea.ll vendor/llvm/dist/test/CodeGen/X86/lsr-overflow.ll vendor/llvm/dist/test/CodeGen/X86/lsr-reuse-trunc.ll vendor/llvm/dist/test/CodeGen/X86/memcmp.ll vendor/llvm/dist/test/CodeGen/X86/movgs.ll vendor/llvm/dist/test/CodeGen/X86/optimize-max-3.ll vendor/llvm/dist/test/CodeGen/X86/pr9127.ll vendor/llvm/dist/test/CodeGen/X86/red-zone.ll vendor/llvm/dist/test/CodeGen/X86/remat-mov-0.ll vendor/llvm/dist/test/CodeGen/X86/test-shrink.ll vendor/llvm/dist/test/CodeGen/X86/use-add-flags.ll vendor/llvm/dist/test/CodeGen/X86/vec_shuffle-37.ll vendor/llvm/dist/test/CodeGen/X86/xor.ll vendor/llvm/dist/test/CodeGen/XCore/resources.ll vendor/llvm/dist/test/MC/AsmParser/exprs.s vendor/llvm/dist/test/MC/X86/x86-32.s vendor/llvm/dist/test/MC/X86/x86-64.s vendor/llvm/dist/test/Transforms/InstCombine/call.ll vendor/llvm/dist/test/lit.cfg vendor/llvm/dist/tools/bugpoint/OptimizerDriver.cpp vendor/llvm/dist/tools/gold/gold-plugin.cpp vendor/llvm/dist/tools/llvm-config/CMakeLists.txt vendor/llvm/dist/tools/llvm-mc/Disassembler.cpp vendor/llvm/dist/tools/lto/LTOCodeGenerator.cpp vendor/llvm/dist/tools/lto/LTOCodeGenerator.h vendor/llvm/dist/tools/lto/LTOModule.cpp vendor/llvm/dist/tools/lto/lto.cpp vendor/llvm/dist/unittests/ADT/APIntTest.cpp vendor/llvm/dist/unittests/CMakeLists.txt vendor/llvm/dist/unittests/Transforms/Utils/Local.cpp vendor/llvm/dist/utils/FileCheck/CMakeLists.txt vendor/llvm/dist/utils/FileUpdate/CMakeLists.txt vendor/llvm/dist/utils/KillTheDoctor/CMakeLists.txt vendor/llvm/dist/utils/TableGen/AsmWriterEmitter.cpp vendor/llvm/dist/utils/TableGen/AsmWriterEmitter.h vendor/llvm/dist/utils/TableGen/CMakeLists.txt vendor/llvm/dist/utils/TableGen/ClangSACheckersEmitter.cpp vendor/llvm/dist/utils/TableGen/X86RecognizableInstr.cpp vendor/llvm/dist/utils/buildit/GNUmakefile vendor/llvm/dist/utils/buildit/build_llvm vendor/llvm/dist/utils/count/CMakeLists.txt vendor/llvm/dist/utils/not/CMakeLists.txt vendor/llvm/dist/utils/valgrind/i386-pc-linux-gnu.supp Modified: vendor/llvm/dist/CMakeLists.txt ============================================================================== --- vendor/llvm/dist/CMakeLists.txt Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/CMakeLists.txt Sat Feb 26 22:03:50 2011 (r219067) @@ -12,6 +12,8 @@ set(CMAKE_MODULE_PATH set(PACKAGE_VERSION "2.9") +set_property(GLOBAL PROPERTY USE_FOLDERS ON) + include(VersionFromVCS) option(LLVM_APPEND_VC_REV @@ -238,7 +240,6 @@ endif() option(LLVM_BUILD_TESTS "Build LLVM unit tests. If OFF, just generate build targes." OFF) -option(LLVM_INCLUDE_TESTS "Generate build targets for the LLVM unit tests." ON) if( LLVM_INCLUDE_TESTS ) add_subdirectory(test) add_subdirectory(utils/unittest) Modified: vendor/llvm/dist/Makefile.rules ============================================================================== --- vendor/llvm/dist/Makefile.rules Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/Makefile.rules Sat Feb 26 22:03:50 2011 (r219067) @@ -973,7 +973,9 @@ $(NativeExportsFile): $(EXPORTED_SYMBOL_ $(Verb) echo "{" > $@ $(Verb) grep -q "\<" $< && echo " global:" >> $@ || : $(Verb) sed -e 's/$$/;/' -e 's/^/ /' < $< >> $@ +ifneq ($(HOST_OS),OpenBSD) $(Verb) echo " local: *;" >> $@ +endif $(Verb) echo "};" >> $@ clean-local:: -$(Verb) $(RM) -f $(NativeExportsFile) Modified: vendor/llvm/dist/cmake/modules/AddLLVM.cmake ============================================================================== --- vendor/llvm/dist/cmake/modules/AddLLVM.cmake Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/cmake/modules/AddLLVM.cmake Sat Feb 26 22:03:50 2011 (r219067) @@ -5,7 +5,6 @@ macro(add_llvm_library name) llvm_process_sources( ALL_FILES ${ARGN} ) add_library( ${name} ${ALL_FILES} ) set_property( GLOBAL APPEND PROPERTY LLVM_LIBS ${name} ) - set_property( GLOBAL APPEND PROPERTY LLVM_LIB_TARGETS ${name} ) if( LLVM_COMMON_DEPENDS ) add_dependencies( ${name} ${LLVM_COMMON_DEPENDS} ) endif( LLVM_COMMON_DEPENDS ) @@ -25,6 +24,7 @@ macro(add_llvm_library name) if( CURRENT_LLVM_TARGET ) add_dependencies(${name} ${CURRENT_LLVM_TARGET}) endif() + set_target_properties(${name} PROPERTIES FOLDER "Libraries") endmacro(add_llvm_library name) @@ -55,6 +55,8 @@ ${name} ignored.") LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}) endif() + + set_target_properties(${name} PROPERTIES FOLDER "Loadable modules") endmacro(add_llvm_loadable_module name) @@ -95,6 +97,7 @@ macro(add_llvm_tool name) if( LLVM_BUILD_TOOLS ) install(TARGETS ${name} RUNTIME DESTINATION bin) endif() + set_target_properties(${name} PROPERTIES FOLDER "Tools") endmacro(add_llvm_tool name) @@ -107,9 +110,16 @@ macro(add_llvm_example name) if( LLVM_BUILD_EXAMPLES ) install(TARGETS ${name} RUNTIME DESTINATION examples) endif() + set_target_properties(${name} PROPERTIES FOLDER "Examples") endmacro(add_llvm_example name) +macro(add_llvm_utility name) + add_llvm_executable(${name} ${ARGN}) + set_target_properties(${name} PROPERTIES FOLDER "Utils") +endmacro(add_llvm_utility name) + + macro(add_llvm_target target_name) if( TABLEGEN_OUTPUT ) add_custom_target(${target_name}Table_gen @@ -120,6 +130,7 @@ macro(add_llvm_target target_name) add_llvm_library(LLVM${target_name} ${ARGN} ${TABLEGEN_OUTPUT}) if ( TABLEGEN_OUTPUT ) add_dependencies(LLVM${target_name} ${target_name}Table_gen) + set_target_properties(${target_name}Table_gen PROPERTIES FOLDER "Tablegenning") endif (TABLEGEN_OUTPUT) set( CURRENT_LLVM_TARGET LLVM${target_name} ) endmacro(add_llvm_target) Modified: vendor/llvm/dist/cmake/modules/CMakeLists.txt ============================================================================== --- vendor/llvm/dist/cmake/modules/CMakeLists.txt Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/cmake/modules/CMakeLists.txt Sat Feb 26 22:03:50 2011 (r219067) @@ -1,7 +1,6 @@ set(llvm_cmake_builddir "${LLVM_BINARY_DIR}/share/llvm/cmake") get_property(llvm_libs GLOBAL PROPERTY LLVM_LIBS) -get_property(llvm_lib_targets GLOBAL PROPERTY LLVM_LIB_TARGETS) configure_file( LLVM.cmake Modified: vendor/llvm/dist/cmake/modules/HandleLLVMOptions.cmake ============================================================================== --- vendor/llvm/dist/cmake/modules/HandleLLVMOptions.cmake Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/cmake/modules/HandleLLVMOptions.cmake Sat Feb 26 22:03:50 2011 (r219067) @@ -159,3 +159,4 @@ endif( MSVC ) add_llvm_definitions( -D__STDC_LIMIT_MACROS ) add_llvm_definitions( -D__STDC_CONSTANT_MACROS ) +option(LLVM_INCLUDE_TESTS "Generate build targets for the LLVM unit tests." ON) Modified: vendor/llvm/dist/cmake/modules/LLVM.cmake ============================================================================== --- vendor/llvm/dist/cmake/modules/LLVM.cmake Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/cmake/modules/LLVM.cmake Sat Feb 26 22:03:50 2011 (r219067) @@ -4,14 +4,14 @@ set(LLVM_PACKAGE_VERSION @PACKAGE_VERSIO set(LLVM_COMMON_DEPENDS @LLVM_COMMON_DEPENDS@) -set(llvm_libs @llvm_libs@) - -set(llvm_lib_targets @llvm_lib_targets@) +set_property( GLOBAL PROPERTY LLVM_LIBS "@llvm_libs@") set(LLVM_ALL_TARGETS @LLVM_ALL_TARGETS@) set(LLVM_TARGETS_TO_BUILD @LLVM_TARGETS_TO_BUILD@) +set(TARGET_TRIPLE "@TARGET_TRIPLE@") + set(LLVM_TOOLS_BINARY_DIR @LLVM_TOOLS_BINARY_DIR@) set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@) Modified: vendor/llvm/dist/docs/GettingStartedVS.html ============================================================================== --- vendor/llvm/dist/docs/GettingStartedVS.html Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/docs/GettingStartedVS.html Sat Feb 26 22:03:50 2011 (r219067) @@ -348,8 +348,6 @@ out:

@@ -365,7 +363,7 @@ out:

Jeff Cohen
The LLVM Compiler Infrastructure
- Last modified: $Date: 2011-02-09 05:19:28 +0100 (Wed, 09 Feb 2011) $ + Last modified: $Date: 2011-02-20 16:34:12 +0100 (Sun, 20 Feb 2011) $ Modified: vendor/llvm/dist/docs/LangRef.html ============================================================================== --- vendor/llvm/dist/docs/LangRef.html Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/docs/LangRef.html Sat Feb 26 22:03:50 2011 (r219067) @@ -4575,12 +4575,12 @@ entry: type ty2.

Arguments:
-

The 'trunc' instruction takes a value to trunc, which must - be an integer type, and a type that specifies the - size and type of the result, which must be - an integer type. The bit size of value must - be larger than the bit size of ty2. Equal sized types are not - allowed.

+

The 'trunc' instruction takes a value to trunc, and a type to trunc it to. + Both types must be of integer types, or vectors + of the same number of integers. + The bit size of the value must be larger than + the bit size of the destination type, ty2. + Equal sized types are not allowed.

Semantics:

The 'trunc' instruction truncates the high order bits @@ -4590,9 +4590,10 @@ entry:

Example:
-  %X = trunc i32 257 to i8              ; yields i8:1
-  %Y = trunc i32 123 to i1              ; yields i1:true
-  %Z = trunc i32 122 to i1              ; yields i1:false
+  %X = trunc i32 257 to i8                        ; yields i8:1
+  %Y = trunc i32 123 to i1                        ; yields i1:true
+  %Z = trunc i32 122 to i1                        ; yields i1:false
+  %W = trunc <2 x i16> <i16 8, i16 7> to <2 x i8> ; yields <i8 8, i8 7>
 
@@ -4614,10 +4615,11 @@ entry:
Arguments:
-

The 'zext' instruction takes a value to cast, which must be of - integer type, and a type to cast it to, which must - also be of integer type. The bit size of the - value must be smaller than the bit size of the destination type, +

The 'zext' instruction takes a value to cast, and a type to cast it to. + Both types must be of integer types, or vectors + of the same number of integers. + The bit size of the value must be smaller than + the bit size of the destination type, ty2.

Semantics:
@@ -4630,6 +4632,7 @@ entry:
   %X = zext i32 257 to i64              ; yields i64:257
   %Y = zext i1 true to i32              ; yields i32:1
+  %Z = zext <2 x i16> <i16 8, i16 7> to <2 x i32> ; yields <i32 8, i32 7>
 
@@ -4649,10 +4652,11 @@ entry:

The 'sext' sign extends value to the type ty2.

Arguments:
-

The 'sext' instruction takes a value to cast, which must be of - integer type, and a type to cast it to, which must - also be of integer type. The bit size of the - value must be smaller than the bit size of the destination type, +

The 'sext' instruction takes a value to cast, and a type to cast it to. + Both types must be of integer types, or vectors + of the same number of integers. + The bit size of the value must be smaller than + the bit size of the destination type, ty2.

Semantics:
@@ -4666,6 +4670,7 @@ entry:
   %X = sext i8  -1 to i16              ; yields i16   :65535
   %Y = sext i1 true to i32             ; yields i32:-1
+  %Z = sext <2 x i16> <i16 8, i16 7> to <2 x i32> ; yields <i32 8, i32 7>
 
@@ -7781,7 +7786,7 @@ LLVM.

Chris Lattner
The LLVM Compiler Infrastructure
- Last modified: $Date: 2011-02-09 17:44:44 +0100 (Wed, 09 Feb 2011) $ + Last modified: $Date: 2011-02-24 22:01:34 +0100 (Thu, 24 Feb 2011) $ Modified: vendor/llvm/dist/include/llvm/ADT/APInt.h ============================================================================== --- vendor/llvm/dist/include/llvm/ADT/APInt.h Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/ADT/APInt.h Sat Feb 26 22:03:50 2011 (r219067) @@ -1193,6 +1193,12 @@ public: /// @brief Count the number of leading one bits. unsigned countLeadingOnes() const; + /// Computes the number of leading bits of this APInt that are equal to its + /// sign bit. + unsigned getNumSignBits() const { + return isNegative() ? countLeadingOnes() : countLeadingZeros(); + } + /// countTrailingZeros - This function is an APInt version of the /// countTrailingZeros_{32,64} functions in MathExtras.h. It counts /// the number of zeros from the least significant bit to the first set bit. Modified: vendor/llvm/dist/include/llvm/ADT/ArrayRef.h ============================================================================== --- vendor/llvm/dist/include/llvm/ADT/ArrayRef.h Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/ADT/ArrayRef.h Sat Feb 26 22:03:50 2011 (r219067) @@ -64,7 +64,10 @@ namespace llvm { /*implicit*/ ArrayRef(const std::vector &Vec) : Data(Vec.empty() ? (T*)0 : &Vec[0]), Length(Vec.size()) {} - // TODO: C arrays. + /// Construct an ArrayRef from a C array. + template + /*implicit*/ ArrayRef(const T (&Arr)[N]) + : Data(Arr), Length(N) {} /// @} /// @name Simple Operations Modified: vendor/llvm/dist/include/llvm/ADT/ImmutableIntervalMap.h ============================================================================== --- vendor/llvm/dist/include/llvm/ADT/ImmutableIntervalMap.h Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/ADT/ImmutableIntervalMap.h Sat Feb 26 22:03:50 2011 (r219067) @@ -215,7 +215,7 @@ public: ImmutableIntervalMap add(ImmutableIntervalMap Old, key_type_ref K, data_type_ref D) { - TreeTy *T = F.add(Old.Root, std::make_pair(K, D)); + TreeTy *T = F.add(Old.Root, std::pair(K, D)); return ImmutableIntervalMap(F.getCanonicalTree(T)); } Modified: vendor/llvm/dist/include/llvm/ADT/ImmutableMap.h ============================================================================== --- vendor/llvm/dist/include/llvm/ADT/ImmutableMap.h Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/ADT/ImmutableMap.h Sat Feb 26 22:03:50 2011 (r219067) @@ -108,7 +108,7 @@ public: ImmutableMap getEmptyMap() { return ImmutableMap(F.getEmptyTree()); } ImmutableMap add(ImmutableMap Old, key_type_ref K, data_type_ref D) { - TreeTy *T = F.add(Old.Root, std::make_pair(K,D)); + TreeTy *T = F.add(Old.Root, std::pair(K,D)); return ImmutableMap(Canonicalize ? F.getCanonicalTree(T): T); } Modified: vendor/llvm/dist/include/llvm/Analysis/DIBuilder.h ============================================================================== --- vendor/llvm/dist/include/llvm/Analysis/DIBuilder.h Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/Analysis/DIBuilder.h Sat Feb 26 22:03:50 2011 (r219067) @@ -58,7 +58,7 @@ namespace llvm { const MDNode *getCU() { return TheCU; } enum ComplexAddrKind { OpPlus=1, OpDeref }; - /// CreateCompileUnit - A CompileUnit provides an anchor for all debugging + /// createCompileUnit - A CompileUnit provides an anchor for all debugging /// information generated during this instance of compilation. /// @param Lang Source programming language, eg. dwarf::DW_LANG_C99 /// @param File File name @@ -72,67 +72,67 @@ namespace llvm { /// by a tool analyzing generated debugging information. /// @param RV This indicates runtime version for languages like /// Objective-C. - void CreateCompileUnit(unsigned Lang, StringRef File, StringRef Dir, + void createCompileUnit(unsigned Lang, StringRef File, StringRef Dir, StringRef Producer, bool isOptimized, StringRef Flags, unsigned RV); - /// CreateFile - Create a file descriptor to hold debugging information + /// createFile - Create a file descriptor to hold debugging information /// for a file. - DIFile CreateFile(StringRef Filename, StringRef Directory); + DIFile createFile(StringRef Filename, StringRef Directory); - /// CreateEnumerator - Create a single enumerator value. - DIEnumerator CreateEnumerator(StringRef Name, uint64_t Val); + /// createEnumerator - Create a single enumerator value. + DIEnumerator createEnumerator(StringRef Name, uint64_t Val); - /// CreateBasicType - Create debugging information entry for a basic + /// createBasicType - Create debugging information entry for a basic /// type. /// @param Name Type name. /// @param SizeInBits Size of the type. /// @param AlignInBits Type alignment. /// @param Encoding DWARF encoding code, e.g. dwarf::DW_ATE_float. - DIType CreateBasicType(StringRef Name, uint64_t SizeInBits, + DIType createBasicType(StringRef Name, uint64_t SizeInBits, uint64_t AlignInBits, unsigned Encoding); - /// CreateQualifiedType - Create debugging information entry for a qualified + /// createQualifiedType - Create debugging information entry for a qualified /// type, e.g. 'const int'. /// @param Tag Tag identifing type, e.g. dwarf::TAG_volatile_type /// @param FromTy Base Type. - DIType CreateQualifiedType(unsigned Tag, DIType FromTy); + DIType createQualifiedType(unsigned Tag, DIType FromTy); - /// CreatePointerType - Create debugging information entry for a pointer. + /// createPointerType - Create debugging information entry for a pointer. /// @param PointeeTy Type pointed by this pointer. /// @param SizeInBits Size. /// @param AlignInBits Alignment. (optional) /// @param Name Pointer type name. (optional) - DIType CreatePointerType(DIType PointeeTy, uint64_t SizeInBits, + DIType createPointerType(DIType PointeeTy, uint64_t SizeInBits, uint64_t AlignInBits = 0, StringRef Name = StringRef()); - /// CreateReferenceType - Create debugging information entry for a c++ + /// createReferenceType - Create debugging information entry for a c++ /// style reference. - DIType CreateReferenceType(DIType RTy); + DIType createReferenceType(DIType RTy); - /// CreateTypedef - Create debugging information entry for a typedef. + /// createTypedef - Create debugging information entry for a typedef. /// @param Ty Original type. /// @param Name Typedef name. /// @param File File where this type is defined. /// @param LineNo Line number. - DIType CreateTypedef(DIType Ty, StringRef Name, DIFile File, + DIType createTypedef(DIType Ty, StringRef Name, DIFile File, unsigned LineNo); - /// CreateFriend - Create debugging information entry for a 'friend'. - DIType CreateFriend(DIType Ty, DIType FriendTy); + /// createFriend - Create debugging information entry for a 'friend'. + DIType createFriend(DIType Ty, DIType FriendTy); - /// CreateInheritance - Create debugging information entry to establish + /// createInheritance - Create debugging information entry to establish /// inheritance relationship between two types. /// @param Ty Original type. /// @param BaseTy Base type. Ty is inherits from base. /// @param BaseOffset Base offset. /// @param Flags Flags to describe inheritance attribute, /// e.g. private - DIType CreateInheritance(DIType Ty, DIType BaseTy, uint64_t BaseOffset, + DIType createInheritance(DIType Ty, DIType BaseTy, uint64_t BaseOffset, unsigned Flags); - /// CreateMemberType - Create debugging information entry for a member. + /// createMemberType - Create debugging information entry for a member. /// @param Name Member name. /// @param File File where this member is defined. /// @param LineNo Line number. @@ -141,12 +141,12 @@ namespace llvm { /// @param OffsetInBits Member offset. /// @param Flags Flags to encode member attribute, e.g. private /// @param Ty Parent type. - DIType CreateMemberType(StringRef Name, DIFile File, + DIType createMemberType(StringRef Name, DIFile File, unsigned LineNo, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, DIType Ty); - /// CreateClassType - Create debugging information entry for a class. + /// createClassType - Create debugging information entry for a class. /// @param Scope Scope in which this class is defined. /// @param Name class name. /// @param File File where this member is defined. @@ -161,14 +161,14 @@ namespace llvm { /// DW_AT_containing_type. See DWARF documentation /// for more info. /// @param TemplateParms Template type parameters. - DIType CreateClassType(DIDescriptor Scope, StringRef Name, DIFile File, + DIType createClassType(DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNumber, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, DIType DerivedFrom, DIArray Elements, MDNode *VTableHolder = 0, MDNode *TemplateParms = 0); - /// CreateStructType - Create debugging information entry for a struct. + /// createStructType - Create debugging information entry for a struct. /// @param Scope Scope in which this struct is defined. /// @param Name Struct name. /// @param File File where this member is defined. @@ -178,12 +178,12 @@ namespace llvm { /// @param Flags Flags to encode member attribute, e.g. private /// @param Elements Struct elements. /// @param RunTimeLang Optional parameter, Objective-C runtime version. - DIType CreateStructType(DIDescriptor Scope, StringRef Name, DIFile File, + DIType createStructType(DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNumber, uint64_t SizeInBits, uint64_t AlignInBits, unsigned Flags, DIArray Elements, unsigned RunTimeLang = 0); - /// CreateUnionType - Create debugging information entry for an union. + /// createUnionType - Create debugging information entry for an union. /// @param Scope Scope in which this union is defined. /// @param Name Union name. /// @param File File where this member is defined. @@ -193,12 +193,12 @@ namespace llvm { /// @param Flags Flags to encode member attribute, e.g. private /// @param Elements Union elements. /// @param RunTimeLang Optional parameter, Objective-C runtime version. - DIType CreateUnionType(DIDescriptor Scope, StringRef Name, DIFile File, + DIType createUnionType(DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNumber, uint64_t SizeInBits, uint64_t AlignInBits, unsigned Flags, DIArray Elements, unsigned RunTimeLang = 0); - /// CreateTemplateTypeParameter - Create debugging information for template + /// createTemplateTypeParameter - Create debugging information for template /// type parameter. /// @param Scope Scope in which this type is defined. /// @param Name Type parameter name. @@ -207,11 +207,11 @@ namespace llvm { /// @param LineNo Line number. /// @param ColumnNo Column Number. DITemplateTypeParameter - CreateTemplateTypeParameter(DIDescriptor Scope, StringRef Name, DIType Ty, + createTemplateTypeParameter(DIDescriptor Scope, StringRef Name, DIType Ty, MDNode *File = 0, unsigned LineNo = 0, unsigned ColumnNo = 0); - /// CreateTemplateValueParameter - Create debugging information for template + /// createTemplateValueParameter - Create debugging information for template /// value parameter. /// @param Scope Scope in which this type is defined. /// @param Name Value parameter name. @@ -221,28 +221,28 @@ namespace llvm { /// @param LineNo Line number. /// @param ColumnNo Column Number. DITemplateValueParameter - CreateTemplateValueParameter(DIDescriptor Scope, StringRef Name, DIType Ty, + createTemplateValueParameter(DIDescriptor Scope, StringRef Name, DIType Ty, uint64_t Value, MDNode *File = 0, unsigned LineNo = 0, unsigned ColumnNo = 0); - /// CreateArrayType - Create debugging information entry for an array. + /// createArrayType - Create debugging information entry for an array. /// @param Size Array size. /// @param AlignInBits Alignment. /// @param Ty Element type. /// @param Subscripts Subscripts. - DIType CreateArrayType(uint64_t Size, uint64_t AlignInBits, + DIType createArrayType(uint64_t Size, uint64_t AlignInBits, DIType Ty, DIArray Subscripts); - /// CreateVectorType - Create debugging information entry for a vector type. + /// createVectorType - Create debugging information entry for a vector type. /// @param Size Array size. /// @param AlignInBits Alignment. /// @param Ty Element type. /// @param Subscripts Subscripts. - DIType CreateVectorType(uint64_t Size, uint64_t AlignInBits, + DIType createVectorType(uint64_t Size, uint64_t AlignInBits, DIType Ty, DIArray Subscripts); - /// CreateEnumerationType - Create debugging information entry for an + /// createEnumerationType - Create debugging information entry for an /// enumeration. /// @param Scope Scope in which this enumeration is defined. /// @param Name Union name. @@ -251,40 +251,40 @@ namespace llvm { /// @param SizeInBits Member size. /// @param AlignInBits Member alignment. /// @param Elements Enumeration elements. - DIType CreateEnumerationType(DIDescriptor Scope, StringRef Name, + DIType createEnumerationType(DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNumber, uint64_t SizeInBits, uint64_t AlignInBits, DIArray Elements); - /// CreateSubroutineType - Create subroutine type. + /// createSubroutineType - Create subroutine type. /// @param File File in which this subroutine is defined. /// @param ParamterTypes An array of subroutine parameter types. This /// includes return type at 0th index. - DIType CreateSubroutineType(DIFile File, DIArray ParameterTypes); + DIType createSubroutineType(DIFile File, DIArray ParameterTypes); - /// CreateArtificialType - Create a new DIType with "artificial" flag set. - DIType CreateArtificialType(DIType Ty); + /// createArtificialType - Create a new DIType with "artificial" flag set. + DIType createArtificialType(DIType Ty); - /// CreateTemporaryType - Create a temporary forward-declared type. - DIType CreateTemporaryType(); - DIType CreateTemporaryType(DIFile F); + /// createTemporaryType - Create a temporary forward-declared type. + DIType createTemporaryType(); + DIType createTemporaryType(DIFile F); - /// RetainType - Retain DIType in a module even if it is not referenced + /// retainType - Retain DIType in a module even if it is not referenced /// through debug info anchors. - void RetainType(DIType T); + void retainType(DIType T); - /// CreateUnspecifiedParameter - Create unspeicified type descriptor + /// createUnspecifiedParameter - Create unspeicified type descriptor /// for a subroutine type. - DIDescriptor CreateUnspecifiedParameter(); + DIDescriptor createUnspecifiedParameter(); - /// GetOrCreateArray - Get a DIArray, create one if required. - DIArray GetOrCreateArray(Value *const *Elements, unsigned NumElements); + /// getOrCreateArray - Get a DIArray, create one if required. + DIArray getOrCreateArray(Value *const *Elements, unsigned NumElements); - /// GetOrCreateSubrange - Create a descriptor for a value range. This + /// getOrCreateSubrange - Create a descriptor for a value range. This /// implicitly uniques the values returned. - DISubrange GetOrCreateSubrange(int64_t Lo, int64_t Hi); + DISubrange getOrCreateSubrange(int64_t Lo, int64_t Hi); - /// CreateGlobalVariable - Create a new descriptor for the specified global. + /// createGlobalVariable - Create a new descriptor for the specified global. /// @param Name Name of the variable. /// @param File File where this variable is defined. /// @param LineNo Line number. @@ -293,11 +293,11 @@ namespace llvm { /// externally visible or not. /// @param Val llvm::Value of the variable. DIGlobalVariable - CreateGlobalVariable(StringRef Name, DIFile File, unsigned LineNo, + createGlobalVariable(StringRef Name, DIFile File, unsigned LineNo, DIType Ty, bool isLocalToUnit, llvm::Value *Val); - /// CreateStaticVariable - Create a new descriptor for the specified + /// createStaticVariable - Create a new descriptor for the specified /// variable. /// @param Conext Variable scope. /// @param Name Name of the variable. @@ -309,12 +309,12 @@ namespace llvm { /// externally visible or not. /// @param Val llvm::Value of the variable. DIGlobalVariable - CreateStaticVariable(DIDescriptor Context, StringRef Name, + createStaticVariable(DIDescriptor Context, StringRef Name, StringRef LinkageName, DIFile File, unsigned LineNo, DIType Ty, bool isLocalToUnit, llvm::Value *Val); - /// CreateLocalVariable - Create a new descriptor for the specified + /// createLocalVariable - Create a new descriptor for the specified /// local variable. /// @param Tag Dwarf TAG. Usually DW_TAG_auto_variable or /// DW_TAG_arg_variable. @@ -326,14 +326,14 @@ namespace llvm { /// @param AlwaysPreserve Boolean. Set to true if debug info for this /// variable should be preserved in optimized build. /// @param Flags Flags, e.g. artificial variable. - DIVariable CreateLocalVariable(unsigned Tag, DIDescriptor Scope, + DIVariable createLocalVariable(unsigned Tag, DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNo, DIType Ty, bool AlwaysPreserve = false, unsigned Flags = 0); - /// CreateComplexVariable - Create a new descriptor for the specified + /// createComplexVariable - Create a new descriptor for the specified /// variable which has a complex address expression for its address. /// @param Tag Dwarf TAG. Usually DW_TAG_auto_variable or /// DW_TAG_arg_variable. @@ -344,12 +344,12 @@ namespace llvm { /// @param Ty Variable Type /// @param Addr A pointer to a vector of complex address operations. /// @param NumAddr Num of address operations in the vector. - DIVariable CreateComplexVariable(unsigned Tag, DIDescriptor Scope, + DIVariable createComplexVariable(unsigned Tag, DIDescriptor Scope, StringRef Name, DIFile F, unsigned LineNo, DIType Ty, Value *const *Addr, unsigned NumAddr); - /// CreateFunction - Create a new descriptor for the specified subprogram. + /// createFunction - Create a new descriptor for the specified subprogram. /// See comments in DISubprogram for descriptions of these fields. /// @param Scope Function scope. /// @param Name Function name. @@ -363,7 +363,7 @@ namespace llvm { /// This flags are used to emit dwarf attributes. /// @param isOptimized True if optimization is ON. /// @param Fn llvm::Function pointer. - DISubprogram CreateFunction(DIDescriptor Scope, StringRef Name, + DISubprogram createFunction(DIDescriptor Scope, StringRef Name, StringRef LinkageName, DIFile File, unsigned LineNo, DIType Ty, bool isLocalToUnit, @@ -372,7 +372,7 @@ namespace llvm { bool isOptimized = false, Function *Fn = 0); - /// CreateMethod - Create a new descriptor for the specified C++ method. + /// createMethod - Create a new descriptor for the specified C++ method. /// See comments in DISubprogram for descriptions of these fields. /// @param Scope Function scope. /// @param Name Function name. @@ -390,7 +390,7 @@ namespace llvm { /// This flags are used to emit dwarf attributes. /// @param isOptimized True if optimization is ON. /// @param Fn llvm::Function pointer. - DISubprogram CreateMethod(DIDescriptor Scope, StringRef Name, + DISubprogram createMethod(DIDescriptor Scope, StringRef Name, StringRef LinkageName, DIFile File, unsigned LineNo, DIType Ty, bool isLocalToUnit, @@ -401,55 +401,55 @@ namespace llvm { bool isOptimized = false, Function *Fn = 0); - /// CreateNameSpace - This creates new descriptor for a namespace + /// createNameSpace - This creates new descriptor for a namespace /// with the specified parent scope. /// @param Scope Namespace scope /// @param Name Name of this namespace /// @param File Source file /// @param LineNo Line number - DINameSpace CreateNameSpace(DIDescriptor Scope, StringRef Name, + DINameSpace createNameSpace(DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNo); - /// CreateLexicalBlock - This creates a descriptor for a lexical block + /// createLexicalBlock - This creates a descriptor for a lexical block /// with the specified parent context. /// @param Scope Parent lexical scope. /// @param File Source file /// @param Line Line number /// @param Col Column number - DILexicalBlock CreateLexicalBlock(DIDescriptor Scope, DIFile File, + DILexicalBlock createLexicalBlock(DIDescriptor Scope, DIFile File, unsigned Line, unsigned Col); - /// InsertDeclare - Insert a new llvm.dbg.declare intrinsic call. + /// insertDeclare - Insert a new llvm.dbg.declare intrinsic call. /// @param Storage llvm::Value of the variable /// @param VarInfo Variable's debug info descriptor. /// @param InsertAtEnd Location for the new intrinsic. - Instruction *InsertDeclare(llvm::Value *Storage, DIVariable VarInfo, + Instruction *insertDeclare(llvm::Value *Storage, DIVariable VarInfo, BasicBlock *InsertAtEnd); - /// InsertDeclare - Insert a new llvm.dbg.declare intrinsic call. + /// insertDeclare - Insert a new llvm.dbg.declare intrinsic call. /// @param Storage llvm::Value of the variable /// @param VarInfo Variable's debug info descriptor. /// @param InsertBefore Location for the new intrinsic. - Instruction *InsertDeclare(llvm::Value *Storage, DIVariable VarInfo, + Instruction *insertDeclare(llvm::Value *Storage, DIVariable VarInfo, Instruction *InsertBefore); - /// InsertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call. + /// insertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call. /// @param Val llvm::Value of the variable /// @param Offset Offset /// @param VarInfo Variable's debug info descriptor. /// @param InsertAtEnd Location for the new intrinsic. - Instruction *InsertDbgValueIntrinsic(llvm::Value *Val, uint64_t Offset, + Instruction *insertDbgValueIntrinsic(llvm::Value *Val, uint64_t Offset, DIVariable VarInfo, BasicBlock *InsertAtEnd); - /// InsertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call. + /// insertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call. /// @param Val llvm::Value of the variable /// @param Offset Offset /// @param VarInfo Variable's debug info descriptor. /// @param InsertBefore Location for the new intrinsic. - Instruction *InsertDbgValueIntrinsic(llvm::Value *Val, uint64_t Offset, + Instruction *insertDbgValueIntrinsic(llvm::Value *Val, uint64_t Offset, DIVariable VarInfo, Instruction *InsertBefore); Modified: vendor/llvm/dist/include/llvm/CMakeLists.txt ============================================================================== --- vendor/llvm/dist/include/llvm/CMakeLists.txt Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/CMakeLists.txt Sat Feb 26 22:03:50 2011 (r219067) @@ -4,6 +4,7 @@ tablegen(Intrinsics.gen -gen-intrinsic) add_custom_target(intrinsics_gen ALL DEPENDS ${llvm_builded_incs_dir}/Intrinsics.gen) +set_target_properties(intrinsics_gen PROPERTIES FOLDER "Tablegenning") set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} intrinsics_gen PARENT_SCOPE) @@ -16,4 +17,5 @@ if( MSVC_IDE OR XCODE ) # We need at least one source file: ${LLVM_MAIN_SRC_DIR}/lib/Transforms/Hello/Hello.cpp ${headers}) + set_target_properties(llvm_headers_do_not_build PROPERTIES FOLDER "Misc") endif() Modified: vendor/llvm/dist/include/llvm/CodeGen/AsmPrinter.h ============================================================================== --- vendor/llvm/dist/include/llvm/CodeGen/AsmPrinter.h Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/CodeGen/AsmPrinter.h Sat Feb 26 22:03:50 2011 (r219067) @@ -445,7 +445,8 @@ namespace llvm { /// EmitVisibility - This emits visibility information about symbol, if /// this is suported by the target. - void EmitVisibility(MCSymbol *Sym, unsigned Visibility) const; + void EmitVisibility(MCSymbol *Sym, unsigned Visibility, + bool IsDefinition = true) const; void EmitLinkage(unsigned Linkage, MCSymbol *GVSym) const; Modified: vendor/llvm/dist/include/llvm/CodeGen/FunctionLoweringInfo.h ============================================================================== --- vendor/llvm/dist/include/llvm/CodeGen/FunctionLoweringInfo.h Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/CodeGen/FunctionLoweringInfo.h Sat Feb 26 22:03:50 2011 (r219067) @@ -101,13 +101,16 @@ public: #endif struct LiveOutInfo { - unsigned NumSignBits; + unsigned NumSignBits : 31; + bool IsValid : 1; APInt KnownOne, KnownZero; - LiveOutInfo() : NumSignBits(0), KnownOne(1, 0), KnownZero(1, 0) {} + LiveOutInfo() : NumSignBits(0), IsValid(true), KnownOne(1, 0), + KnownZero(1, 0) {} }; - - /// LiveOutRegInfo - Information about live out vregs. - IndexedMap LiveOutRegInfo; + + /// VisitedBBs - The set of basic blocks visited thus far by instruction + /// selection. + DenseSet VisitedBBs; /// PHINodesToUpdate - A list of phi instructions whose operand list will /// be updated after processing the current basic block. @@ -143,12 +146,62 @@ public: return R = CreateRegs(V->getType()); } + /// GetLiveOutRegInfo - Gets LiveOutInfo for a register, returning NULL if the + /// register is a PHI destination and the PHI's LiveOutInfo is not valid. + const LiveOutInfo *GetLiveOutRegInfo(unsigned Reg) { + if (!LiveOutRegInfo.inBounds(Reg)) + return NULL; + + const LiveOutInfo *LOI = &LiveOutRegInfo[Reg]; + if (!LOI->IsValid) + return NULL; + + return LOI; + } + + /// GetLiveOutRegInfo - Gets LiveOutInfo for a register, returning NULL if the + /// register is a PHI destination and the PHI's LiveOutInfo is not valid. If + /// the register's LiveOutInfo is for a smaller bit width, it is extended to + /// the larger bit width by zero extension. The bit width must be no smaller + /// than the LiveOutInfo's existing bit width. + const LiveOutInfo *GetLiveOutRegInfo(unsigned Reg, unsigned BitWidth); + + /// AddLiveOutRegInfo - Adds LiveOutInfo for a register. + void AddLiveOutRegInfo(unsigned Reg, unsigned NumSignBits, + const APInt &KnownZero, const APInt &KnownOne) { + // Only install this information if it tells us something. + if (NumSignBits == 1 && KnownZero == 0 && KnownOne == 0) + return; + + LiveOutRegInfo.grow(Reg); + LiveOutInfo &LOI = LiveOutRegInfo[Reg]; + LOI.NumSignBits = NumSignBits; + LOI.KnownOne = KnownOne; + LOI.KnownZero = KnownZero; + } + + /// ComputePHILiveOutRegInfo - Compute LiveOutInfo for a PHI's destination + /// register based on the LiveOutInfo of its operands. + void ComputePHILiveOutRegInfo(const PHINode*); + + /// InvalidatePHILiveOutRegInfo - Invalidates a PHI's LiveOutInfo, to be + /// called when a block is visited before all of its predecessors. + void InvalidatePHILiveOutRegInfo(const PHINode *PN) { + unsigned Reg = ValueMap[PN]; + LiveOutRegInfo.grow(Reg); + LiveOutRegInfo[Reg].IsValid = false; + } + /// setByValArgumentFrameIndex - Record frame index for the byval /// argument. void setByValArgumentFrameIndex(const Argument *A, int FI); /// getByValArgumentFrameIndex - Get frame index for the byval argument. int getByValArgumentFrameIndex(const Argument *A); + +private: + /// LiveOutRegInfo - Information about live out vregs. + IndexedMap LiveOutRegInfo; }; /// AddCatchInfo - Extract the personality and type infos from an eh.selector Modified: vendor/llvm/dist/include/llvm/CodeGen/MachineConstantPool.h ============================================================================== --- vendor/llvm/dist/include/llvm/CodeGen/MachineConstantPool.h Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/CodeGen/MachineConstantPool.h Sat Feb 26 22:03:50 2011 (r219067) @@ -16,6 +16,7 @@ #ifndef LLVM_CODEGEN_MACHINECONSTANTPOOL_H #define LLVM_CODEGEN_MACHINECONSTANTPOOL_H +#include "llvm/ADT/DenseSet.h" #include #include #include @@ -130,6 +131,8 @@ class MachineConstantPool { const TargetData *TD; ///< The machine's TargetData. unsigned PoolAlignment; ///< The alignment for the pool. std::vector Constants; ///< The pool of constants. + /// MachineConstantPoolValues that use an existing MachineConstantPoolEntry. + DenseSet MachineCPVsSharingEntries; public: /// @brief The only constructor. explicit MachineConstantPool(const TargetData *td) Modified: vendor/llvm/dist/include/llvm/CodeGen/MachineFunction.h ============================================================================== --- vendor/llvm/dist/include/llvm/CodeGen/MachineFunction.h Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/CodeGen/MachineFunction.h Sat Feb 26 22:03:50 2011 (r219067) @@ -281,7 +281,7 @@ public: /// addLiveIn - Add the specified physical register as a live-in value and /// create a corresponding virtual register for it. - unsigned addLiveIn(unsigned PReg, const TargetRegisterClass *RC, DebugLoc DL); + unsigned addLiveIn(unsigned PReg, const TargetRegisterClass *RC); //===--------------------------------------------------------------------===// // BasicBlock accessor functions. Modified: vendor/llvm/dist/include/llvm/CodeGen/MachineRegisterInfo.h ============================================================================== --- vendor/llvm/dist/include/llvm/CodeGen/MachineRegisterInfo.h Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/CodeGen/MachineRegisterInfo.h Sat Feb 26 22:03:50 2011 (r219067) @@ -17,8 +17,6 @@ #include "llvm/Target/TargetRegisterInfo.h" #include "llvm/ADT/BitVector.h" #include "llvm/ADT/IndexedMap.h" -#include "llvm/ADT/DenseMap.h" -#include "llvm/Support/DebugLoc.h" #include namespace llvm { @@ -66,10 +64,7 @@ class MachineRegisterInfo { /// stored in the second element. std::vector > LiveIns; std::vector LiveOuts; - - /// LiveInLocs - Keep track of location livein registers. - DenseMap LiveInLocs; - + MachineRegisterInfo(const MachineRegisterInfo&); // DO NOT IMPLEMENT void operator=(const MachineRegisterInfo&); // DO NOT IMPLEMENT public: @@ -276,12 +271,7 @@ public: LiveIns.push_back(std::make_pair(Reg, vreg)); } void addLiveOut(unsigned Reg) { LiveOuts.push_back(Reg); } - - /// addLiveInLoc - Keep track of location info for live in reg. - void addLiveInLoc(unsigned VReg, DebugLoc DL) { - LiveInLocs[VReg] = DL; - } - + // Iteration support for live in/out sets. These sets are kept in sorted // order by their register number. typedef std::vector >::const_iterator Modified: vendor/llvm/dist/include/llvm/IntrinsicsXCore.td ============================================================================== --- vendor/llvm/dist/include/llvm/IntrinsicsXCore.td Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/IntrinsicsXCore.td Sat Feb 26 22:03:50 2011 (r219067) @@ -33,4 +33,23 @@ let TargetPrefix = "xcore" in { // All [NoCapture<0>]>; def int_xcore_setc : Intrinsic<[],[llvm_anyptr_ty, llvm_i32_ty], [NoCapture<0>]>; + def int_xcore_inshr : Intrinsic<[llvm_i32_ty],[llvm_anyptr_ty, llvm_i32_ty], + [NoCapture<0>]>; + def int_xcore_outshr : Intrinsic<[llvm_i32_ty],[llvm_anyptr_ty, llvm_i32_ty], + [NoCapture<0>]>; + def int_xcore_setpt : Intrinsic<[],[llvm_anyptr_ty, llvm_i32_ty], + [NoCapture<0>]>; + def int_xcore_getts : Intrinsic<[llvm_i32_ty],[llvm_anyptr_ty], + [NoCapture<0>]>; + def int_xcore_syncr : Intrinsic<[],[llvm_anyptr_ty], + [NoCapture<0>]>; + def int_xcore_settw : Intrinsic<[],[llvm_anyptr_ty, llvm_i32_ty], + [NoCapture<0>]>; + def int_xcore_setv : Intrinsic<[],[llvm_anyptr_ty, llvm_ptr_ty], + [NoCapture<0>]>; + def int_xcore_eeu : Intrinsic<[],[llvm_anyptr_ty], [NoCapture<0>]>; + + // Intrinsics for events. + def int_xcore_waitevent : Intrinsic<[llvm_ptr_ty],[], [IntrReadMem]>; + def int_xcore_clre : Intrinsic<[],[],[]>; } Modified: vendor/llvm/dist/include/llvm/MC/MCAsmInfo.h ============================================================================== --- vendor/llvm/dist/include/llvm/MC/MCAsmInfo.h Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/MC/MCAsmInfo.h Sat Feb 26 22:03:50 2011 (r219067) @@ -246,6 +246,11 @@ namespace llvm { /// declare a symbol as having hidden visibility. MCSymbolAttr HiddenVisibilityAttr; // Defaults to MCSA_Hidden. + /// HiddenDeclarationVisibilityAttr - This attribute, if not MCSA_Invalid, + /// is used to declare an undefined symbol as having hidden visibility. + MCSymbolAttr HiddenDeclarationVisibilityAttr; // Defaults to MCSA_Hidden. + + /// ProtectedVisibilityAttr - This attribute, if not MCSA_Invalid, is used /// to declare a symbol as having protected visibility. MCSymbolAttr ProtectedVisibilityAttr; // Defaults to MCSA_Protected @@ -425,6 +430,9 @@ namespace llvm { const char *getLinkOnceDirective() const { return LinkOnceDirective; } MCSymbolAttr getHiddenVisibilityAttr() const { return HiddenVisibilityAttr;} + MCSymbolAttr getHiddenDeclarationVisibilityAttr() const { + return HiddenDeclarationVisibilityAttr; + } MCSymbolAttr getProtectedVisibilityAttr() const { return ProtectedVisibilityAttr; } Modified: vendor/llvm/dist/include/llvm/MC/MCParser/MCAsmParserExtension.h ============================================================================== --- vendor/llvm/dist/include/llvm/MC/MCParser/MCAsmParserExtension.h Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/MC/MCParser/MCAsmParserExtension.h Sat Feb 26 22:03:50 2011 (r219067) @@ -38,6 +38,8 @@ protected: return (Obj->*Handler)(Directive, DirectiveLoc); } + bool BracketExpressionsSupported; + public: virtual ~MCAsmParserExtension(); @@ -68,6 +70,8 @@ public: const AsmToken &getTok() { return getParser().getTok(); } + bool HasBracketExpressions() const { return BracketExpressionsSupported; } + /// @} }; Modified: vendor/llvm/dist/include/llvm/MC/MCStreamer.h ============================================================================== --- vendor/llvm/dist/include/llvm/MC/MCStreamer.h Sat Feb 26 21:27:41 2011 (r219066) +++ vendor/llvm/dist/include/llvm/MC/MCStreamer.h Sat Feb 26 22:03:50 2011 (r219067) @@ -57,13 +57,10 @@ namespace llvm { MCDwarfFrameInfo *getCurrentFrameInfo(); void EnsureValidFrame(); - /// CurSectionStack - This is stack of CurSection values saved by - /// PushSection. - SmallVector CurSectionStack; - - /// PrevSectionStack - This is stack of PrevSection values saved by - /// PushSection. - SmallVector PrevSectionStack; + /// SectionStack - This is stack of current and previous section + /// values saved by PushSection. + SmallVector, 4> SectionStack; protected: MCStreamer(MCContext &Ctx); @@ -117,16 +114,16 @@ namespace llvm { /// getCurrentSection - Return the current section that the streamer is /// emitting code to. const MCSection *getCurrentSection() const { - if (!CurSectionStack.empty()) - return CurSectionStack.back(); + if (!SectionStack.empty()) + return SectionStack.back().first; return NULL; } /// getPreviousSection - Return the previous section that the streamer is /// emitting code to. *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 22:05:15 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D0FD106564A; Sat, 26 Feb 2011 22:05:15 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D5C278FC0C; Sat, 26 Feb 2011 22:05:14 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QM5EMq097550; Sat, 26 Feb 2011 22:05:14 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QM5E2e097549; Sat, 26 Feb 2011 22:05:14 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102262205.p1QM5E2e097549@svn.freebsd.org> From: Dimitry Andric Date: Sat, 26 Feb 2011 22:05:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219068 - vendor/llvm/llvm-r126547 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 22:05:15 -0000 Author: dim Date: Sat Feb 26 22:05:14 2011 New Revision: 219068 URL: http://svn.freebsd.org/changeset/base/219068 Log: Tag llvm r126547. Added: vendor/llvm/llvm-r126547/ - copied from r219067, vendor/llvm/dist/ From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 22:09:04 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65DA1106564A; Sat, 26 Feb 2011 22:09:04 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4F91F8FC0A; Sat, 26 Feb 2011 22:09:04 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QM94tX097758; Sat, 26 Feb 2011 22:09:04 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QM94wK097754; Sat, 26 Feb 2011 22:09:04 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102262209.p1QM94wK097754@svn.freebsd.org> From: Dimitry Andric Date: Sat, 26 Feb 2011 22:09:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219069 - in vendor/clang/dist: . clang.xcodeproj docs examples/wpa include/clang-c include/clang/AST include/clang/Analysis include/clang/Analysis/Analyses include/clang/Basic include/... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 22:09:04 -0000 Author: dim Date: Sat Feb 26 22:09:03 2011 New Revision: 219069 URL: http://svn.freebsd.org/changeset/base/219069 Log: Vendor import of clang trunk r126547: http://llvm.org/svn/llvm-project/cfe/trunk@126547 Added: vendor/clang/dist/include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h vendor/clang/dist/lib/Analysis/CFGReachabilityAnalysis.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p2.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p8-0x.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p9-0x.cpp vendor/clang/dist/test/CodeGen/attribute-section-data-common.c vendor/clang/dist/test/CodeGenCXX/conditional-gnu-ext.cpp vendor/clang/dist/test/CodeGenCXX/debug-info-limit.cpp vendor/clang/dist/test/CodeGenObjC/2008-08-25-incompatible-cond-expr.m vendor/clang/dist/test/CodeGenObjC/2009-01-21-invalid-debug-info.m vendor/clang/dist/test/CodeGenObjC/2010-02-09-DbgSelf.m vendor/clang/dist/test/CodeGenObjC/2010-02-15-Dbg-MethodStart.m vendor/clang/dist/test/CodeGenObjC/function-decay.m vendor/clang/dist/test/CodeGenObjC/illegal-UTF8.m vendor/clang/dist/test/CodeGenObjC/rdr-6732143-dangling-block-reference.m vendor/clang/dist/test/FixIt/auto-fixit.m vendor/clang/dist/test/Index/annotate-nested-name-specifier.cpp vendor/clang/dist/test/Parser/method-def-in-class.m vendor/clang/dist/test/Rewriter/rewrite-block-property.m vendor/clang/dist/test/Rewriter/rewrite-foreach-protocol-id.m vendor/clang/dist/test/Rewriter/rewrite-vararg.m vendor/clang/dist/test/Sema/expr-comma-c99.c vendor/clang/dist/test/SemaCXX/nested-name-spec-locations.cpp vendor/clang/dist/test/SemaCXX/shift.cpp vendor/clang/dist/test/SemaCXX/warn-unused-result.cpp vendor/clang/dist/test/SemaObjC/auto-objective-c.m vendor/clang/dist/test/SemaObjC/block-as-object.m vendor/clang/dist/test/SemaObjC/dist-object-modifiers.m vendor/clang/dist/test/SemaObjC/rdar6248119.m Deleted: vendor/clang/dist/lib/StaticAnalyzer/Checkers/StackAddrLeakChecker.cpp vendor/clang/dist/test/CodeGen/2008-08-25-incompatible-cond-expr.m vendor/clang/dist/test/CodeGen/2009-01-21-invalid-debug-info.m vendor/clang/dist/test/CodeGen/2010-02-09-DbgSelf.m vendor/clang/dist/test/CodeGen/2010-02-15-Dbg-MethodStart.m vendor/clang/dist/test/CodeGen/function-decay.m vendor/clang/dist/test/CodeGen/illegal-UTF8.m vendor/clang/dist/test/CodeGen/rdr-6732143-dangling-block-reference.m vendor/clang/dist/test/CodeGenCXX/gnu-conditional-scalar-ext.cpp vendor/clang/dist/test/Sema/block-as-object.m vendor/clang/dist/test/Sema/expr-comma-c89.c vendor/clang/dist/test/Sema/rdar6248119.m Modified: vendor/clang/dist/CMakeLists.txt vendor/clang/dist/clang.xcodeproj/project.pbxproj vendor/clang/dist/docs/LanguageExtensions.html vendor/clang/dist/examples/wpa/clang-wpa.cpp vendor/clang/dist/include/clang-c/Index.h vendor/clang/dist/include/clang/AST/ASTContext.h vendor/clang/dist/include/clang/AST/ASTImporter.h vendor/clang/dist/include/clang/AST/CMakeLists.txt vendor/clang/dist/include/clang/AST/Decl.h vendor/clang/dist/include/clang/AST/DeclBase.h vendor/clang/dist/include/clang/AST/DeclCXX.h vendor/clang/dist/include/clang/AST/DeclGroup.h vendor/clang/dist/include/clang/AST/DeclTemplate.h vendor/clang/dist/include/clang/AST/Expr.h vendor/clang/dist/include/clang/AST/ExprCXX.h vendor/clang/dist/include/clang/AST/NestedNameSpecifier.h vendor/clang/dist/include/clang/AST/RecursiveASTVisitor.h vendor/clang/dist/include/clang/AST/Stmt.h vendor/clang/dist/include/clang/Analysis/AnalysisContext.h vendor/clang/dist/include/clang/Basic/Builtins.def vendor/clang/dist/include/clang/Basic/Builtins.h vendor/clang/dist/include/clang/Basic/CMakeLists.txt vendor/clang/dist/include/clang/Basic/Diagnostic.h vendor/clang/dist/include/clang/Basic/DiagnosticFrontendKinds.td vendor/clang/dist/include/clang/Basic/DiagnosticGroups.td vendor/clang/dist/include/clang/Basic/DiagnosticIDs.h vendor/clang/dist/include/clang/Basic/DiagnosticParseKinds.td vendor/clang/dist/include/clang/Basic/DiagnosticSemaKinds.td vendor/clang/dist/include/clang/Basic/LangOptions.h vendor/clang/dist/include/clang/Basic/PartialDiagnostic.h vendor/clang/dist/include/clang/Basic/SourceManager.h vendor/clang/dist/include/clang/Driver/CC1Options.td vendor/clang/dist/include/clang/Driver/CMakeLists.txt vendor/clang/dist/include/clang/Driver/Options.td vendor/clang/dist/include/clang/Frontend/AnalyzerOptions.h vendor/clang/dist/include/clang/Frontend/DeclXML.def vendor/clang/dist/include/clang/Frontend/HeaderSearchOptions.h vendor/clang/dist/include/clang/Frontend/Utils.h vendor/clang/dist/include/clang/Lex/CMakeLists.txt vendor/clang/dist/include/clang/Lex/Preprocessor.h vendor/clang/dist/include/clang/Lex/TokenLexer.h vendor/clang/dist/include/clang/Sema/AnalysisBasedWarnings.h vendor/clang/dist/include/clang/Sema/DeclSpec.h vendor/clang/dist/include/clang/Sema/ExternalSemaSource.h vendor/clang/dist/include/clang/Sema/Initialization.h vendor/clang/dist/include/clang/Sema/ParsedTemplate.h vendor/clang/dist/include/clang/Sema/ScopeInfo.h vendor/clang/dist/include/clang/Sema/Sema.h vendor/clang/dist/include/clang/Serialization/ASTReader.h vendor/clang/dist/include/clang/Serialization/ASTWriter.h vendor/clang/dist/include/clang/Serialization/CMakeLists.txt vendor/clang/dist/include/clang/StaticAnalyzer/Checkers/LocalCheckers.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/CheckerManager.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/CheckerProvider.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/CheckerV2.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/Checker.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/GRStateTrait.h vendor/clang/dist/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h vendor/clang/dist/include/clang/StaticAnalyzer/Frontend/FrontendActions.h vendor/clang/dist/lib/AST/ASTContext.cpp vendor/clang/dist/lib/AST/ASTImporter.cpp vendor/clang/dist/lib/AST/Decl.cpp vendor/clang/dist/lib/AST/DeclBase.cpp vendor/clang/dist/lib/AST/DeclCXX.cpp vendor/clang/dist/lib/AST/DeclPrinter.cpp vendor/clang/dist/lib/AST/Expr.cpp vendor/clang/dist/lib/AST/ExprCXX.cpp vendor/clang/dist/lib/AST/ExprConstant.cpp vendor/clang/dist/lib/AST/ItaniumMangle.cpp vendor/clang/dist/lib/AST/NestedNameSpecifier.cpp vendor/clang/dist/lib/AST/RecordLayoutBuilder.cpp vendor/clang/dist/lib/AST/Stmt.cpp vendor/clang/dist/lib/AST/StmtDumper.cpp vendor/clang/dist/lib/AST/TemplateBase.cpp vendor/clang/dist/lib/Analysis/AnalysisContext.cpp vendor/clang/dist/lib/Analysis/CFG.cpp vendor/clang/dist/lib/Analysis/CMakeLists.txt vendor/clang/dist/lib/Basic/DiagnosticIDs.cpp vendor/clang/dist/lib/Basic/SourceManager.cpp vendor/clang/dist/lib/Basic/Targets.cpp vendor/clang/dist/lib/CodeGen/CGBlocks.cpp vendor/clang/dist/lib/CodeGen/CGBlocks.h vendor/clang/dist/lib/CodeGen/CGClass.cpp vendor/clang/dist/lib/CodeGen/CGCleanup.cpp vendor/clang/dist/lib/CodeGen/CGDebugInfo.cpp vendor/clang/dist/lib/CodeGen/CGDebugInfo.h vendor/clang/dist/lib/CodeGen/CGDecl.cpp vendor/clang/dist/lib/CodeGen/CGException.cpp vendor/clang/dist/lib/CodeGen/CGExpr.cpp vendor/clang/dist/lib/CodeGen/CGObjC.cpp vendor/clang/dist/lib/CodeGen/CGObjCGNU.cpp vendor/clang/dist/lib/CodeGen/CGObjCMac.cpp vendor/clang/dist/lib/CodeGen/CGRecordLayoutBuilder.cpp vendor/clang/dist/lib/CodeGen/CodeGenFunction.h vendor/clang/dist/lib/CodeGen/CodeGenModule.cpp vendor/clang/dist/lib/CodeGen/CodeGenModule.h vendor/clang/dist/lib/CodeGen/TargetInfo.cpp vendor/clang/dist/lib/Driver/ToolChain.cpp vendor/clang/dist/lib/Driver/ToolChains.cpp vendor/clang/dist/lib/Driver/Tools.cpp vendor/clang/dist/lib/Frontend/ASTUnit.cpp vendor/clang/dist/lib/Frontend/CompilerInvocation.cpp vendor/clang/dist/lib/Frontend/DocumentXML.cpp vendor/clang/dist/lib/Frontend/InitHeaderSearch.cpp vendor/clang/dist/lib/Frontend/InitPreprocessor.cpp vendor/clang/dist/lib/Frontend/TextDiagnosticPrinter.cpp vendor/clang/dist/lib/Frontend/VerifyDiagnosticsClient.cpp vendor/clang/dist/lib/FrontendTool/ExecuteCompilerInvocation.cpp vendor/clang/dist/lib/Headers/CMakeLists.txt vendor/clang/dist/lib/Lex/PPDirectives.cpp vendor/clang/dist/lib/Lex/Pragma.cpp vendor/clang/dist/lib/Lex/TokenLexer.cpp vendor/clang/dist/lib/Parse/ParseDecl.cpp vendor/clang/dist/lib/Parse/ParseExprCXX.cpp vendor/clang/dist/lib/Parse/ParseTemplate.cpp vendor/clang/dist/lib/Parse/Parser.cpp vendor/clang/dist/lib/Rewrite/RewriteObjC.cpp vendor/clang/dist/lib/Sema/AnalysisBasedWarnings.cpp vendor/clang/dist/lib/Sema/DeclSpec.cpp vendor/clang/dist/lib/Sema/Sema.cpp vendor/clang/dist/lib/Sema/SemaCXXScopeSpec.cpp vendor/clang/dist/lib/Sema/SemaChecking.cpp vendor/clang/dist/lib/Sema/SemaDecl.cpp vendor/clang/dist/lib/Sema/SemaDeclAttr.cpp vendor/clang/dist/lib/Sema/SemaDeclCXX.cpp vendor/clang/dist/lib/Sema/SemaDeclObjC.cpp vendor/clang/dist/lib/Sema/SemaExpr.cpp vendor/clang/dist/lib/Sema/SemaExprCXX.cpp vendor/clang/dist/lib/Sema/SemaInit.cpp vendor/clang/dist/lib/Sema/SemaLookup.cpp vendor/clang/dist/lib/Sema/SemaOverload.cpp vendor/clang/dist/lib/Sema/SemaStmt.cpp vendor/clang/dist/lib/Sema/SemaTemplate.cpp vendor/clang/dist/lib/Sema/SemaTemplateDeduction.cpp vendor/clang/dist/lib/Sema/SemaTemplateInstantiate.cpp vendor/clang/dist/lib/Sema/SemaTemplateInstantiateDecl.cpp vendor/clang/dist/lib/Sema/SemaType.cpp vendor/clang/dist/lib/Sema/TreeTransform.h vendor/clang/dist/lib/Sema/TypeLocBuilder.h vendor/clang/dist/lib/Serialization/ASTReader.cpp vendor/clang/dist/lib/Serialization/ASTReaderDecl.cpp vendor/clang/dist/lib/Serialization/ASTReaderStmt.cpp vendor/clang/dist/lib/Serialization/ASTWriter.cpp vendor/clang/dist/lib/Serialization/ASTWriterDecl.cpp vendor/clang/dist/lib/Serialization/ASTWriterStmt.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/CMakeLists.txt vendor/clang/dist/lib/StaticAnalyzer/Checkers/CStringChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/Checkers.td vendor/clang/dist/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ClangSACheckerProvider.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ExperimentalChecks.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ExprEngine.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/IdempotentOperationChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/InternalChecks.h vendor/clang/dist/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/MallocChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/StreamChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/BugReporter.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/CheckerManager.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/CoreEngine.cpp vendor/clang/dist/lib/StaticAnalyzer/Core/Environment.cpp vendor/clang/dist/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp vendor/clang/dist/lib/StaticAnalyzer/Frontend/CMakeLists.txt vendor/clang/dist/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp vendor/clang/dist/test/Analysis/CFDateGC.m vendor/clang/dist/test/Analysis/CFRetainRelease_NSAssertionHandler.m vendor/clang/dist/test/Analysis/CGColorSpace.c vendor/clang/dist/test/Analysis/CheckNSError.m vendor/clang/dist/test/Analysis/MissingDealloc.m vendor/clang/dist/test/Analysis/NSPanel.m vendor/clang/dist/test/Analysis/NSString.m vendor/clang/dist/test/Analysis/NSWindow.m vendor/clang/dist/test/Analysis/NoReturn.m vendor/clang/dist/test/Analysis/ObjCProperties.m vendor/clang/dist/test/Analysis/ObjCRetSigs.m vendor/clang/dist/test/Analysis/PR2599.m vendor/clang/dist/test/Analysis/PR2978.m vendor/clang/dist/test/Analysis/PR3991.m vendor/clang/dist/test/Analysis/analyzer-stats.c vendor/clang/dist/test/Analysis/array-struct-region.c vendor/clang/dist/test/Analysis/casts.c vendor/clang/dist/test/Analysis/casts.m vendor/clang/dist/test/Analysis/cfref_PR2519.c vendor/clang/dist/test/Analysis/cfref_rdar6080742.c vendor/clang/dist/test/Analysis/complex.c vendor/clang/dist/test/Analysis/concrete-address.c vendor/clang/dist/test/Analysis/conditional-op-missing-lhs.c vendor/clang/dist/test/Analysis/constant-folding.c vendor/clang/dist/test/Analysis/dead-stores.c vendor/clang/dist/test/Analysis/dead-stores.cpp vendor/clang/dist/test/Analysis/dead-stores.m vendor/clang/dist/test/Analysis/delegates.m vendor/clang/dist/test/Analysis/elementtype.c vendor/clang/dist/test/Analysis/exercise-ps.c vendor/clang/dist/test/Analysis/fields.c vendor/clang/dist/test/Analysis/free.c vendor/clang/dist/test/Analysis/func.c vendor/clang/dist/test/Analysis/malloc.c vendor/clang/dist/test/Analysis/misc-ps-64.m vendor/clang/dist/test/Analysis/misc-ps-basic-store.m vendor/clang/dist/test/Analysis/misc-ps-eager-assume.m vendor/clang/dist/test/Analysis/misc-ps-ranges.m vendor/clang/dist/test/Analysis/misc-ps-region-store-i386.m vendor/clang/dist/test/Analysis/misc-ps-region-store-x86_64.m vendor/clang/dist/test/Analysis/misc-ps-region-store.cpp vendor/clang/dist/test/Analysis/misc-ps-region-store.m vendor/clang/dist/test/Analysis/misc-ps-region-store.mm vendor/clang/dist/test/Analysis/misc-ps.m vendor/clang/dist/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m vendor/clang/dist/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m vendor/clang/dist/test/Analysis/no-exit-cfg.c vendor/clang/dist/test/Analysis/no-outofbounds.c vendor/clang/dist/test/Analysis/null-deref-ps-region.c vendor/clang/dist/test/Analysis/null-deref-ps.c vendor/clang/dist/test/Analysis/operator-calls.cpp vendor/clang/dist/test/Analysis/outofbound.c vendor/clang/dist/test/Analysis/override-werror.c vendor/clang/dist/test/Analysis/plist-output-alternate.m vendor/clang/dist/test/Analysis/plist-output.m vendor/clang/dist/test/Analysis/pr4209.m vendor/clang/dist/test/Analysis/pr_2542_rdar_6793404.m vendor/clang/dist/test/Analysis/pr_4164.c vendor/clang/dist/test/Analysis/ptr-arith.c vendor/clang/dist/test/Analysis/rdar-6442306-1.m vendor/clang/dist/test/Analysis/rdar-6540084.m vendor/clang/dist/test/Analysis/rdar-6541136-region.c vendor/clang/dist/test/Analysis/rdar-6541136.c vendor/clang/dist/test/Analysis/rdar-6562655.m vendor/clang/dist/test/Analysis/rdar-6582778-basic-store.c vendor/clang/dist/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m vendor/clang/dist/test/Analysis/rdar-7168531.m vendor/clang/dist/test/Analysis/refcnt_naming.m vendor/clang/dist/test/Analysis/reference.cpp vendor/clang/dist/test/Analysis/region-1.m vendor/clang/dist/test/Analysis/retain-release-basic-store.m vendor/clang/dist/test/Analysis/retain-release-gc-only.m vendor/clang/dist/test/Analysis/retain-release-region-store.m vendor/clang/dist/test/Analysis/retain-release.m vendor/clang/dist/test/Analysis/stack-addr-ps.c vendor/clang/dist/test/Analysis/stackaddrleak.c vendor/clang/dist/test/Analysis/string.c vendor/clang/dist/test/Analysis/undef-buffers.c vendor/clang/dist/test/Analysis/unix-fns.c vendor/clang/dist/test/Analysis/unreachable-code-path.c vendor/clang/dist/test/CMakeLists.txt vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p2-cxx0x.cpp vendor/clang/dist/test/CodeGen/asm-inout.c vendor/clang/dist/test/CodeGen/decl.c vendor/clang/dist/test/CodeGen/may-alias.c vendor/clang/dist/test/CodeGenCXX/anonymous-union-member-initializer.cpp vendor/clang/dist/test/CodeGenCXX/exceptions.cpp vendor/clang/dist/test/CodeGenCXX/mangle-exprs.cpp vendor/clang/dist/test/CodeGenObjC/blocks-3.m vendor/clang/dist/test/CodeGenObjC/blocks-4.m vendor/clang/dist/test/CodeGenObjC/blocks.m vendor/clang/dist/test/CodeGenObjC/exceptions-nonfragile.m vendor/clang/dist/test/CodeGenObjC/exceptions.m vendor/clang/dist/test/CodeGenObjC/for-in.m vendor/clang/dist/test/CodeGenObjC/gnu-exceptions.m vendor/clang/dist/test/CodeGenObjC/messages-2.m vendor/clang/dist/test/CodeGenObjC/messages.m vendor/clang/dist/test/CodeGenObjC/metadata_symbols.m vendor/clang/dist/test/CodeGenObjC/nested-rethrow.m vendor/clang/dist/test/CodeGenObjC/try.m vendor/clang/dist/test/CodeGenObjC/unwind-fn.m vendor/clang/dist/test/Coverage/ast-printing.m vendor/clang/dist/test/Coverage/codegen-gnu.m vendor/clang/dist/test/Coverage/codegen-next.m vendor/clang/dist/test/Driver/darwin-xarch.c vendor/clang/dist/test/Driver/rewrite-objc.m vendor/clang/dist/test/Frontend/dependency-gen.c vendor/clang/dist/test/PCH/objc_stmts.m vendor/clang/dist/test/Parser/objc-try-catch-1.m vendor/clang/dist/test/Rewriter/finally.m vendor/clang/dist/test/Rewriter/rewrite-eh.m vendor/clang/dist/test/Rewriter/rewrite-foreach-5.m vendor/clang/dist/test/Rewriter/rewrite-foreach-6.m vendor/clang/dist/test/Sema/MicrosoftExtensions.c vendor/clang/dist/test/Sema/array-init.c vendor/clang/dist/test/Sema/conversion.c vendor/clang/dist/test/Sema/exprs.c vendor/clang/dist/test/Sema/format-strings.c vendor/clang/dist/test/Sema/i-c-e.c vendor/clang/dist/test/Sema/parentheses.c vendor/clang/dist/test/Sema/return.c vendor/clang/dist/test/Sema/shift.c vendor/clang/dist/test/SemaCUDA/kernel-call.cu vendor/clang/dist/test/SemaCXX/MicrosoftExtensions.cpp vendor/clang/dist/test/SemaCXX/PR7944.cpp vendor/clang/dist/test/SemaCXX/abstract.cpp vendor/clang/dist/test/SemaCXX/array-bounds.cpp vendor/clang/dist/test/SemaCXX/attr-unavailable.cpp vendor/clang/dist/test/SemaCXX/auto-cxx0x.cpp vendor/clang/dist/test/SemaCXX/dependent-auto.cpp vendor/clang/dist/test/SemaCXX/enum-scoped.cpp vendor/clang/dist/test/SemaCXX/linkage.cpp vendor/clang/dist/test/SemaCXX/member-expr.cpp vendor/clang/dist/test/SemaCXX/nested-name-spec.cpp vendor/clang/dist/test/SemaCXX/return.cpp vendor/clang/dist/test/SemaCXX/switch.cpp vendor/clang/dist/test/SemaCXX/undefined-internal.cpp vendor/clang/dist/test/SemaCXX/warn-unused-variables.cpp vendor/clang/dist/test/SemaObjC/catch-stmt.m vendor/clang/dist/test/SemaObjC/conflict-nonfragile-abi2.m vendor/clang/dist/test/SemaObjC/invalid-code.m vendor/clang/dist/test/SemaObjC/no-objc-exceptions.m vendor/clang/dist/test/SemaObjC/property-6.m vendor/clang/dist/test/SemaObjC/return.m vendor/clang/dist/test/SemaObjC/scope-check.m vendor/clang/dist/test/SemaObjC/stmts.m vendor/clang/dist/test/SemaObjC/try-catch.m vendor/clang/dist/test/SemaObjC/warn-unused-exception-param.m vendor/clang/dist/test/SemaObjCXX/instantiate-stmt.mm vendor/clang/dist/tools/driver/CMakeLists.txt vendor/clang/dist/tools/driver/clang_symlink.cmake vendor/clang/dist/tools/libclang/CIndex.cpp vendor/clang/dist/tools/libclang/CMakeLists.txt vendor/clang/dist/tools/scan-build/scan-build vendor/clang/dist/tools/scan-view/ScanView.py vendor/clang/dist/unittests/CMakeLists.txt vendor/clang/dist/www/cxx_status.html Modified: vendor/clang/dist/CMakeLists.txt ============================================================================== --- vendor/clang/dist/CMakeLists.txt Sat Feb 26 22:05:14 2011 (r219068) +++ vendor/clang/dist/CMakeLists.txt Sat Feb 26 22:09:03 2011 (r219069) @@ -51,9 +51,6 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib ) set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib ) - add_definitions( -D__STDC_LIMIT_MACROS ) - add_definitions( -D__STDC_CONSTANT_MACROS ) - set( CLANG_BUILT_STANDALONE 1 ) endif() @@ -121,6 +118,37 @@ configure_file( ${CLANG_SOURCE_DIR}/include/clang/Config/config.h.cmake ${CLANG_BINARY_DIR}/include/clang/Config/config.h) +include(LLVMParseArguments) + +function(clang_tablegen) + # Syntax: + # clang_tablegen output-file [tablegen-arg ...] SOURCE source-file + # [[TARGET cmake-target-name] [DEPENDS extra-dependency ...]] + # + # Generates a custom command for invoking tblgen as + # + # tblgen source-file -o=output-file tablegen-arg ... + # + # and, if cmake-target-name is provided, creates a custom target for + # executing the custom command depending on output-file. It is + # possible to list more files to depend after DEPENDS. + + parse_arguments( CTG "SOURCE;TARGET;DEPENDS" "" ${ARGN} ) + + if( NOT CTG_SOURCE ) + message(FATAL_ERROR "SOURCE source-file required by clang_tablegen") + endif() + + set( LLVM_TARGET_DEFINITIONS ${CTG_SOURCE} ) + tablegen( ${CTG_DEFAULT_ARGS} ) + + list( GET CTG_DEFAULT_ARGS 0 output_file ) + if( CTG_TARGET ) + add_custom_target( ${CTG_TARGET} DEPENDS ${output_file} ${CTG_DEPENDS} ) + set_target_properties( ${CTG_TARGET} PROPERTIES FOLDER "Clang tablegenning") + endif() +endfunction(clang_tablegen) + macro(add_clang_library name) llvm_process_sources(srcs ${ARGN}) if(MSVC_IDE OR XCODE) @@ -175,10 +203,12 @@ macro(add_clang_library name) install(TARGETS ${name} LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}) + set_target_properties(${name} PROPERTIES FOLDER "Clang libraries") endmacro(add_clang_library) macro(add_clang_executable name) add_llvm_executable( ${name} ${ARGN} ) + set_target_properties(${name} PROPERTIES FOLDER "Clang executables") endmacro(add_clang_executable) include_directories( @@ -204,6 +234,16 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY add_definitions( -D_GNU_SOURCE -DHAVE_CLANG_CONFIG_H ) +# Clang version information +set(CLANG_EXECUTABLE_VERSION + "${CLANG_VERSION_MAJOR}.${CLANG_VERSION_MINOR}" CACHE STRING + "Version number that will be placed into the clang executable, in the form XX.YY") +set(LIBCLANG_LIBRARY_VERSION + "${CLANG_VERSION_MAJOR}.${CLANG_VERSION_MINOR}" CACHE STRING + "Version number that will be placed into the libclang library , in the form XX.YY") +mark_as_advanced(CLANG_EXECUTABLE_VERSION LIBCLANG_LIBRARY_VERSION) + + option(CLANG_BUILD_EXAMPLES "Build CLANG example programs." OFF) if(CLANG_BUILD_EXAMPLES) add_subdirectory(examples) @@ -215,13 +255,12 @@ add_subdirectory(tools) add_subdirectory(runtime) # TODO: docs. -if( LLVM_INCLUDE_TESTS ) add_subdirectory(test) -endif() -# FIXME: unittests require gtest. -if( NOT CLANG_BUILT_STANDALONE ) - add_subdirectory(unittests) +if( LLVM_INCLUDE_TESTS ) + if( NOT CLANG_BUILT_STANDALONE ) + add_subdirectory(unittests) + endif() endif() # Workaround for MSVS10 to avoid the Dialog Hell Modified: vendor/clang/dist/clang.xcodeproj/project.pbxproj ============================================================================== --- vendor/clang/dist/clang.xcodeproj/project.pbxproj Sat Feb 26 22:05:14 2011 (r219068) +++ vendor/clang/dist/clang.xcodeproj/project.pbxproj Sat Feb 26 22:09:03 2011 (r219069) @@ -6,454 +6,6 @@ objectVersion = 42; objects = { -/* Begin PBXBuildFile section */ - 03F50AC60D416EAA00B9CF60 /* Targets.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 03F50AC50D416EAA00B9CF60 /* Targets.cpp */; }; - 1A2193CE0F45EEB700C0713D /* Mangle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A2193CC0F45EEB700C0713D /* Mangle.cpp */; }; - 1A2A54B60FD1DD1C00F4CE45 /* ASTConsumers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A2A54A50FD1DD1C00F4CE45 /* ASTConsumers.cpp */; }; - 1A2A54B80FD1DD1C00F4CE45 /* CacheTokens.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A2A54A70FD1DD1C00F4CE45 /* CacheTokens.cpp */; }; - 1A2A54B90FD1DD1C00F4CE45 /* DependencyFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A2A54A80FD1DD1C00F4CE45 /* DependencyFile.cpp */; }; - 1A2A54BA0FD1DD1C00F4CE45 /* DiagChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A2A54A90FD1DD1C00F4CE45 /* DiagChecker.cpp */; }; - 1A2A54BB0FD1DD1C00F4CE45 /* DocumentXML.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A2A54AA0FD1DD1C00F4CE45 /* DocumentXML.cpp */; }; - 1A2A54BF0FD1DD1C00F4CE45 /* PrintPreprocessedOutput.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A2A54AE0FD1DD1C00F4CE45 /* PrintPreprocessedOutput.cpp */; }; - 1A2A54C40FD1DD1C00F4CE45 /* StmtXML.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A2A54B30FD1DD1C00F4CE45 /* StmtXML.cpp */; }; - 1A2A54C50FD1DD1C00F4CE45 /* Warnings.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A2A54B40FD1DD1C00F4CE45 /* Warnings.cpp */; }; - 1A30A9E90B93A4C800201A91 /* ExprCXX.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 1A30A9E80B93A4C800201A91 /* ExprCXX.h */; }; - 1A376A2D0D4AED9B002A1C52 /* CGExprConstant.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A376A2C0D4AED9B002A1C52 /* CGExprConstant.cpp */; }; - 1A3D2C4E12A2CD3D0088C44A /* CGCXXABI.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A3D2C4D12A2CD3D0088C44A /* CGCXXABI.cpp */; }; - 1A471AB50F437BC500753CE8 /* CGBlocks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A471AB40F437BC500753CE8 /* CGBlocks.cpp */; }; - 1A4C41BF105B4C0B0047B5E7 /* CGClass.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A4C41BE105B4C0B0047B5E7 /* CGClass.cpp */; }; - 1A5D5E580E5E81010023C059 /* CGCXX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A5D5E570E5E81010023C059 /* CGCXX.cpp */; }; - 1A621BB7110FE6AA009E6834 /* TargetInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A621BB5110FE6AA009E6834 /* TargetInfo.cpp */; }; - 1A621C4211111D61009E6834 /* CIndexCodeCompletion.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A621C3A11111D61009E6834 /* CIndexCodeCompletion.cpp */; }; - 1A621C4311111D61009E6834 /* CIndexer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A621C3B11111D61009E6834 /* CIndexer.cpp */; }; - 1A621C4411111D61009E6834 /* CIndexInclusionStack.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A621C3D11111D61009E6834 /* CIndexInclusionStack.cpp */; }; - 1A621C4511111D61009E6834 /* CIndexUSRs.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A621C3E11111D61009E6834 /* CIndexUSRs.cpp */; }; - 1A621C4611111D61009E6834 /* CXCursor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A621C3F11111D61009E6834 /* CXCursor.cpp */; }; - 1A6B6CD410693FC900BB4A8F /* CodeCompleteConsumer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A6B6CD110693FC900BB4A8F /* CodeCompleteConsumer.cpp */; }; - 1A6B6CD510693FC900BB4A8F /* SemaCodeComplete.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A6B6CD210693FC900BB4A8F /* SemaCodeComplete.cpp */; }; - 1A6B6E9A1069833600BB4A8F /* CGExprCXX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A6B6E991069833600BB4A8F /* CGExprCXX.cpp */; }; - 1A6C01F7108128710072DEE4 /* CGRTTI.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A6C01F6108128710072DEE4 /* CGRTTI.cpp */; }; - 1A6FE7090FD6F85800E00CA9 /* CGTemporaries.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A6FE7080FD6F85800E00CA9 /* CGTemporaries.cpp */; }; - 1A701B640F7C8FE400FEC4D1 /* SemaAccess.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A701B630F7C8FE400FEC4D1 /* SemaAccess.cpp */; }; - 1A7342480C7B57D500122F56 /* CGObjC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A7342470C7B57D500122F56 /* CGObjC.cpp */; }; - 1A81AA19108144F40094E50B /* CGVTables.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A81AA18108144F40094E50B /* CGVTables.cpp */; }; - 1A869A700BA2164C008DA07A /* LiteralSupport.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 1A869A6E0BA2164C008DA07A /* LiteralSupport.h */; }; - 1A869AA80BA21ABA008DA07A /* LiteralSupport.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A869AA70BA21ABA008DA07A /* LiteralSupport.cpp */; }; - 1A97825B1108BA18002B98FC /* CGVTT.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A97825A1108BA18002B98FC /* CGVTT.cpp */; }; - 1A986AB710D0746D00A8EA9E /* CGDeclCXX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A986AB610D0746D00A8EA9E /* CGDeclCXX.cpp */; }; - 1ABC36940C7A4BDC006DB0AB /* CGBuiltin.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABC36930C7A4BDC006DB0AB /* CGBuiltin.cpp */; }; - 1ABD23D61182449800A48E65 /* APValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23B11182449800A48E65 /* APValue.cpp */; }; - 1ABD23D71182449800A48E65 /* ASTConsumer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23B21182449800A48E65 /* ASTConsumer.cpp */; }; - 1ABD23D81182449800A48E65 /* ASTContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23B31182449800A48E65 /* ASTContext.cpp */; }; - 1ABD23D91182449800A48E65 /* ASTDiagnostic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23B41182449800A48E65 /* ASTDiagnostic.cpp */; }; - 1ABD23DA1182449800A48E65 /* ASTImporter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23B51182449800A48E65 /* ASTImporter.cpp */; }; - 1ABD23DB1182449800A48E65 /* AttrImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23B61182449800A48E65 /* AttrImpl.cpp */; }; - 1ABD23DC1182449800A48E65 /* CXXInheritance.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23B71182449800A48E65 /* CXXInheritance.cpp */; }; - 1ABD23DD1182449800A48E65 /* Decl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23B81182449800A48E65 /* Decl.cpp */; }; - 1ABD23DE1182449800A48E65 /* DeclarationName.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23B91182449800A48E65 /* DeclarationName.cpp */; }; - 1ABD23DF1182449800A48E65 /* DeclBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23BA1182449800A48E65 /* DeclBase.cpp */; }; - 1ABD23E01182449800A48E65 /* DeclCXX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23BB1182449800A48E65 /* DeclCXX.cpp */; }; - 1ABD23E11182449800A48E65 /* DeclFriend.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23BC1182449800A48E65 /* DeclFriend.cpp */; }; - 1ABD23E21182449800A48E65 /* DeclGroup.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23BD1182449800A48E65 /* DeclGroup.cpp */; }; - 1ABD23E31182449800A48E65 /* DeclObjC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23BE1182449800A48E65 /* DeclObjC.cpp */; }; - 1ABD23E41182449800A48E65 /* DeclPrinter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23BF1182449800A48E65 /* DeclPrinter.cpp */; }; - 1ABD23E51182449800A48E65 /* DeclTemplate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23C01182449800A48E65 /* DeclTemplate.cpp */; }; - 1ABD23E61182449800A48E65 /* Expr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23C11182449800A48E65 /* Expr.cpp */; }; - 1ABD23E71182449800A48E65 /* ExprConstant.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23C21182449800A48E65 /* ExprConstant.cpp */; }; - 1ABD23E81182449800A48E65 /* ExprCXX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23C31182449800A48E65 /* ExprCXX.cpp */; }; - 1ABD23E91182449800A48E65 /* FullExpr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23C41182449800A48E65 /* FullExpr.cpp */; }; - 1ABD23EA1182449800A48E65 /* InheritViz.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23C51182449800A48E65 /* InheritViz.cpp */; }; - 1ABD23EB1182449800A48E65 /* NestedNameSpecifier.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23C61182449800A48E65 /* NestedNameSpecifier.cpp */; }; - 1ABD23EC1182449800A48E65 /* ParentMap.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23C71182449800A48E65 /* ParentMap.cpp */; }; - 1ABD23ED1182449800A48E65 /* RecordLayout.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23C81182449800A48E65 /* RecordLayout.cpp */; }; - 1ABD23EE1182449800A48E65 /* RecordLayoutBuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23C91182449800A48E65 /* RecordLayoutBuilder.cpp */; }; - 1ABD23EF1182449800A48E65 /* Stmt.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23CB1182449800A48E65 /* Stmt.cpp */; }; - 1ABD23F01182449800A48E65 /* StmtDumper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23CC1182449800A48E65 /* StmtDumper.cpp */; }; - 1ABD23F11182449800A48E65 /* StmtIterator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23CD1182449800A48E65 /* StmtIterator.cpp */; }; - 1ABD23F21182449800A48E65 /* StmtPrinter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23CE1182449800A48E65 /* StmtPrinter.cpp */; }; - 1ABD23F31182449800A48E65 /* StmtProfile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23CF1182449800A48E65 /* StmtProfile.cpp */; }; - 1ABD23F41182449800A48E65 /* StmtViz.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23D01182449800A48E65 /* StmtViz.cpp */; }; - 1ABD23F51182449800A48E65 /* TemplateBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23D11182449800A48E65 /* TemplateBase.cpp */; }; - 1ABD23F61182449800A48E65 /* TemplateName.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23D21182449800A48E65 /* TemplateName.cpp */; }; - 1ABD23F71182449800A48E65 /* Type.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23D31182449800A48E65 /* Type.cpp */; }; - 1ABD23F81182449800A48E65 /* TypeLoc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23D41182449800A48E65 /* TypeLoc.cpp */; }; - 1ABD23F91182449800A48E65 /* TypePrinter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABD23D51182449800A48E65 /* TypePrinter.cpp */; }; - 1AC1A67D12999D8E006FBC77 /* AnalysisContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67212999D8E006FBC77 /* AnalysisContext.cpp */; }; - 1AC1A67E12999D8E006FBC77 /* CFG.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67312999D8E006FBC77 /* CFG.cpp */; }; - 1AC1A67F12999D8E006FBC77 /* CFGStmtMap.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67412999D8E006FBC77 /* CFGStmtMap.cpp */; }; - 1AC1A68012999D8E006FBC77 /* FormatString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67512999D8E006FBC77 /* FormatString.cpp */; }; - 1AC1A68112999D8E006FBC77 /* LiveVariables.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67712999D8E006FBC77 /* LiveVariables.cpp */; }; - 1AC1A68212999D8E006FBC77 /* PrintfFormatString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67812999D8E006FBC77 /* PrintfFormatString.cpp */; }; - 1AC1A68312999D8E006FBC77 /* PseudoConstantAnalysis.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67912999D8E006FBC77 /* PseudoConstantAnalysis.cpp */; }; - 1AC1A68412999D8E006FBC77 /* ReachableCode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67A12999D8E006FBC77 /* ReachableCode.cpp */; }; - 1AC1A68512999D8E006FBC77 /* ScanfFormatString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67B12999D8E006FBC77 /* ScanfFormatString.cpp */; }; - 1AC1A68612999D8E006FBC77 /* UninitializedValues.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A67C12999D8E006FBC77 /* UninitializedValues.cpp */; }; - 1AC1A9EF1299A287006FBC77 /* AdjustedReturnValueChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6881299A284006FBC77 /* AdjustedReturnValueChecker.cpp */; }; - 1AC1A9F01299A287006FBC77 /* AggExprVisitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6891299A284006FBC77 /* AggExprVisitor.cpp */; }; - 1AC1A9F11299A287006FBC77 /* AnalysisConsumer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A68A1299A284006FBC77 /* AnalysisConsumer.cpp */; }; - 1AC1A9F21299A287006FBC77 /* AnalysisManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A68B1299A284006FBC77 /* AnalysisManager.cpp */; }; - 1AC1A9F31299A287006FBC77 /* AnalyzerStatsChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A68C1299A284006FBC77 /* AnalyzerStatsChecker.cpp */; }; - 1AC1A9F41299A287006FBC77 /* ArrayBoundChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A68D1299A284006FBC77 /* ArrayBoundChecker.cpp */; }; - 1AC1A9F51299A287006FBC77 /* AttrNonNullChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A68E1299A284006FBC77 /* AttrNonNullChecker.cpp */; }; - 1AC1A9F61299A287006FBC77 /* BasicConstraintManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A68F1299A284006FBC77 /* BasicConstraintManager.cpp */; }; - 1AC1A9F71299A287006FBC77 /* BasicObjCFoundationChecks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6901299A284006FBC77 /* BasicObjCFoundationChecks.cpp */; }; - 1AC1A9F81299A287006FBC77 /* BasicStore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6921299A284006FBC77 /* BasicStore.cpp */; }; - 1AC1A9F91299A287006FBC77 /* BasicValueFactory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6931299A284006FBC77 /* BasicValueFactory.cpp */; }; - 1AC1A9FA1299A287006FBC77 /* BugReporter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6941299A284006FBC77 /* BugReporter.cpp */; }; - 1AC1A9FB1299A287006FBC77 /* BugReporterVisitors.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6951299A284006FBC77 /* BugReporterVisitors.cpp */; }; - 1AC1A9FC1299A287006FBC77 /* BuiltinFunctionChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6961299A284006FBC77 /* BuiltinFunctionChecker.cpp */; }; - 1AC1A9FD1299A287006FBC77 /* CallAndMessageChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6971299A284006FBC77 /* CallAndMessageChecker.cpp */; }; - 1AC1A9FE1299A287006FBC77 /* CastSizeChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6981299A284006FBC77 /* CastSizeChecker.cpp */; }; - 1AC1A9FF1299A287006FBC77 /* CastToStructChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6991299A284006FBC77 /* CastToStructChecker.cpp */; }; - 1AC1AA001299A287006FBC77 /* CFRefCount.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A69A1299A284006FBC77 /* CFRefCount.cpp */; }; - 1AC1AA011299A287006FBC77 /* CheckDeadStores.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A69B1299A284006FBC77 /* CheckDeadStores.cpp */; }; - 1AC1AA021299A287006FBC77 /* Checker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A69C1299A284006FBC77 /* Checker.cpp */; }; - 1AC1AA031299A287006FBC77 /* CheckerHelpers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A69D1299A284006FBC77 /* CheckerHelpers.cpp */; }; - 1AC1AA041299A287006FBC77 /* CheckObjCDealloc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A69E1299A284006FBC77 /* CheckObjCDealloc.cpp */; }; - 1AC1AA051299A287006FBC77 /* CheckObjCInstMethSignature.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A69F1299A284006FBC77 /* CheckObjCInstMethSignature.cpp */; }; - 1AC1AA061299A287006FBC77 /* CheckSecuritySyntaxOnly.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6A01299A284006FBC77 /* CheckSecuritySyntaxOnly.cpp */; }; - 1AC1AA071299A287006FBC77 /* CheckSizeofPointer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6A11299A284006FBC77 /* CheckSizeofPointer.cpp */; }; - 1AC1AA081299A287006FBC77 /* ChrootChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6A21299A284006FBC77 /* ChrootChecker.cpp */; }; - 1AC1AA091299A287006FBC77 /* CocoaConventions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6A41299A284006FBC77 /* CocoaConventions.cpp */; }; - 1AC1AA0A1299A287006FBC77 /* CStringChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A6A51299A284006FBC77 /* CStringChecker.cpp */; }; - 1AC1AB3D1299A287006FBC77 /* DereferenceChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7DC1299A285006FBC77 /* DereferenceChecker.cpp */; }; - 1AC1AB3E1299A287006FBC77 /* DivZeroChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7DD1299A285006FBC77 /* DivZeroChecker.cpp */; }; - 1AC1AB3F1299A287006FBC77 /* Environment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7DE1299A285006FBC77 /* Environment.cpp */; }; - 1AC1AB401299A287006FBC77 /* ExplodedGraph.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7DF1299A285006FBC77 /* ExplodedGraph.cpp */; }; - 1AC1AB411299A287006FBC77 /* FixedAddressChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E01299A285006FBC77 /* FixedAddressChecker.cpp */; }; - 1AC1AB421299A287006FBC77 /* FlatStore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E11299A285006FBC77 /* FlatStore.cpp */; }; - 1AC1AB431299A287006FBC77 /* FrontendActions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E21299A285006FBC77 /* FrontendActions.cpp */; }; - 1AC1AB441299A287006FBC77 /* GRBlockCounter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E31299A285006FBC77 /* GRBlockCounter.cpp */; }; - 1AC1AB451299A287006FBC77 /* GRCoreEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E41299A285006FBC77 /* GRCoreEngine.cpp */; }; - 1AC1AB461299A287006FBC77 /* GRCXXExprEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E51299A285006FBC77 /* GRCXXExprEngine.cpp */; }; - 1AC1AB471299A287006FBC77 /* GRExprEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E61299A285006FBC77 /* GRExprEngine.cpp */; }; - 1AC1AB481299A287006FBC77 /* GRExprEngineExperimentalChecks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7E71299A285006FBC77 /* GRExprEngineExperimentalChecks.cpp */; }; - 1AC1AB491299A287006FBC77 /* GRState.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7EA1299A285006FBC77 /* GRState.cpp */; }; - 1AC1AB4A1299A287006FBC77 /* HTMLDiagnostics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7EB1299A285006FBC77 /* HTMLDiagnostics.cpp */; }; - 1AC1AB4B1299A287006FBC77 /* IdempotentOperationChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7EC1299A285006FBC77 /* IdempotentOperationChecker.cpp */; }; - 1AC1AB4C1299A287006FBC77 /* LLVMConventionsChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7ED1299A285006FBC77 /* LLVMConventionsChecker.cpp */; }; - 1AC1AB4D1299A287006FBC77 /* MacOSXAPIChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7EE1299A285006FBC77 /* MacOSXAPIChecker.cpp */; }; - 1AC1AB4F1299A287006FBC77 /* MallocChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F01299A285006FBC77 /* MallocChecker.cpp */; }; - 1AC1AB501299A287006FBC77 /* ManagerRegistry.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F11299A285006FBC77 /* ManagerRegistry.cpp */; }; - 1AC1AB511299A287006FBC77 /* MemRegion.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F21299A285006FBC77 /* MemRegion.cpp */; }; - 1AC1AB521299A287006FBC77 /* NoReturnFunctionChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F31299A285006FBC77 /* NoReturnFunctionChecker.cpp */; }; - 1AC1AB531299A287006FBC77 /* NSAutoreleasePoolChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F41299A285006FBC77 /* NSAutoreleasePoolChecker.cpp */; }; - 1AC1AB541299A287006FBC77 /* NSErrorChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F51299A285006FBC77 /* NSErrorChecker.cpp */; }; - 1AC1AB551299A287006FBC77 /* ObjCAtSyncChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F61299A285006FBC77 /* ObjCAtSyncChecker.cpp */; }; - 1AC1AB561299A287006FBC77 /* ObjCUnusedIVarsChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F71299A285006FBC77 /* ObjCUnusedIVarsChecker.cpp */; }; - 1AC1AB571299A287006FBC77 /* OSAtomicChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F81299A285006FBC77 /* OSAtomicChecker.cpp */; }; - 1AC1AB581299A287006FBC77 /* PathDiagnostic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7F91299A285006FBC77 /* PathDiagnostic.cpp */; }; - 1AC1AB591299A287006FBC77 /* PlistDiagnostics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7FA1299A285006FBC77 /* PlistDiagnostics.cpp */; }; - 1AC1AB5A1299A287006FBC77 /* PointerArithChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7FB1299A285006FBC77 /* PointerArithChecker.cpp */; }; - 1AC1AB5B1299A287006FBC77 /* PointerSubChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7FC1299A285006FBC77 /* PointerSubChecker.cpp */; }; - 1AC1AB5C1299A287006FBC77 /* PthreadLockChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7FD1299A285006FBC77 /* PthreadLockChecker.cpp */; }; - 1AC1AB5D1299A287006FBC77 /* RangeConstraintManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A7FE1299A285006FBC77 /* RangeConstraintManager.cpp */; }; - 1AC1AB5E1299A287006FBC77 /* RegionStore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A8001299A285006FBC77 /* RegionStore.cpp */; }; - 1AC1AD331299A287006FBC77 /* ReturnPointerRangeChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9DB1299A287006FBC77 /* ReturnPointerRangeChecker.cpp */; }; - 1AC1AD341299A287006FBC77 /* ReturnUndefChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9DC1299A287006FBC77 /* ReturnUndefChecker.cpp */; }; - 1AC1AD351299A287006FBC77 /* SimpleConstraintManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9DD1299A287006FBC77 /* SimpleConstraintManager.cpp */; }; - 1AC1AD361299A287006FBC77 /* SimpleSValuator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9DF1299A287006FBC77 /* SimpleSValuator.cpp */; }; - 1AC1AD371299A287006FBC77 /* StackAddrLeakChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E01299A287006FBC77 /* StackAddrLeakChecker.cpp */; }; - 1AC1AD381299A287006FBC77 /* Store.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E11299A287006FBC77 /* Store.cpp */; }; - 1AC1AD391299A287006FBC77 /* StreamChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E21299A287006FBC77 /* StreamChecker.cpp */; }; - 1AC1AD3A1299A287006FBC77 /* SVals.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E31299A287006FBC77 /* SVals.cpp */; }; - 1AC1AD3B1299A287006FBC77 /* SValuator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E41299A287006FBC77 /* SValuator.cpp */; }; - 1AC1AD3C1299A287006FBC77 /* SymbolManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E51299A287006FBC77 /* SymbolManager.cpp */; }; - 1AC1AD3D1299A287006FBC77 /* UndefBranchChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E61299A287006FBC77 /* UndefBranchChecker.cpp */; }; - 1AC1AD3E1299A287006FBC77 /* UndefCapturedBlockVarChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E71299A287006FBC77 /* UndefCapturedBlockVarChecker.cpp */; }; - 1AC1AD3F1299A287006FBC77 /* UndefinedArraySubscriptChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E81299A287006FBC77 /* UndefinedArraySubscriptChecker.cpp */; }; - 1AC1AD401299A287006FBC77 /* UndefinedAssignmentChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9E91299A287006FBC77 /* UndefinedAssignmentChecker.cpp */; }; - 1AC1AD411299A287006FBC77 /* UndefResultChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9EA1299A287006FBC77 /* UndefResultChecker.cpp */; }; - 1AC1AD421299A287006FBC77 /* UnixAPIChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9EB1299A287006FBC77 /* UnixAPIChecker.cpp */; }; - 1AC1AD431299A287006FBC77 /* UnreachableCodeChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9EC1299A287006FBC77 /* UnreachableCodeChecker.cpp */; }; - 1AC1AD441299A287006FBC77 /* ValueManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9ED1299A287006FBC77 /* ValueManager.cpp */; }; - 1AC1AD451299A287006FBC77 /* VLASizeChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC1A9EE1299A287006FBC77 /* VLASizeChecker.cpp */; }; - 1ACB57E41105820D0047B991 /* CompilerInstance.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ACB57DB1105820D0047B991 /* CompilerInstance.cpp */; }; - 1ACB57E51105820D0047B991 /* CompilerInvocation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ACB57DC1105820D0047B991 /* CompilerInvocation.cpp */; }; - 1ACB57E61105820D0047B991 /* DeclXML.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ACB57DD1105820D0047B991 /* DeclXML.cpp */; }; - 1ACB57E71105820D0047B991 /* FrontendAction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ACB57DE1105820D0047B991 /* FrontendAction.cpp */; }; - 1ACB57E81105820D0047B991 /* FrontendActions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ACB57DF1105820D0047B991 /* FrontendActions.cpp */; }; - 1ACB57E91105820D0047B991 /* FrontendOptions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ACB57E01105820D0047B991 /* FrontendOptions.cpp */; }; - 1ACB57EA1105820D0047B991 /* LangStandards.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ACB57E11105820D0047B991 /* LangStandards.cpp */; }; - 1ACB57EB1105820D0047B991 /* TypeXML.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ACB57E21105820D0047B991 /* TypeXML.cpp */; }; - 1ACB57EC1105820D0047B991 /* VerifyDiagnosticsClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ACB57E31105820D0047B991 /* VerifyDiagnosticsClient.cpp */; }; - 1ADF47AF0F782C3200E48A8A /* SemaTemplateInstantiateDecl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ADF47AE0F782C3200E48A8A /* SemaTemplateInstantiateDecl.cpp */; }; - 1AF1B50F109A4FB800AFAFAC /* CGException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AF1B50E109A4FB800AFAFAC /* CGException.cpp */; }; - 1AFDD8721161085D00AE030A /* ASTMerge.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFDD8701161085D00AE030A /* ASTMerge.cpp */; }; - 1AFF8AE31012BFC900D248DA /* CGRecordLayoutBuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFF8AE11012BFC900D248DA /* CGRecordLayoutBuilder.cpp */; }; - 352246E80F5C6BE000D0D279 /* InitHeaderSearch.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 352246E20F5C6BE000D0D279 /* InitHeaderSearch.cpp */; }; - 352246EB0F5C6BE000D0D279 /* TextDiagnosticBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 352246E50F5C6BE000D0D279 /* TextDiagnosticBuffer.cpp */; }; - 352246EC0F5C6BE000D0D279 /* TextDiagnosticPrinter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 352246E60F5C6BE000D0D279 /* TextDiagnosticPrinter.cpp */; }; - 352712510DAFE54700C76352 /* IdentifierResolver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 352712500DAFE54700C76352 /* IdentifierResolver.cpp */; }; - 3534A01D0E129849002709B2 /* ParseCXXInlineMethods.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3534A01C0E129849002709B2 /* ParseCXXInlineMethods.cpp */; }; - 3537AA0E0ECD08A4008F7CDC /* PreprocessorLexer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3537AA0D0ECD08A4008F7CDC /* PreprocessorLexer.cpp */; }; - 353959D50EE5F88A00E82461 /* ParseTemplate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 353959D40EE5F88A00E82461 /* ParseTemplate.cpp */; }; - 35475B200E79973F0000BFE4 /* CGCall.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 35475B1F0E79973F0000BFE4 /* CGCall.cpp */; }; - 3551068C0E9A8546006A4E44 /* ParsePragma.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3551068A0E9A8546006A4E44 /* ParsePragma.cpp */; }; - 3551068D0E9A8546006A4E44 /* ParseTentative.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3551068B0E9A8546006A4E44 /* ParseTentative.cpp */; }; - 3552E7550E520D80003A8CA5 /* PPCaching.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3552E7540E520D80003A8CA5 /* PPCaching.cpp */; }; - 3552E7590E520DD7003A8CA5 /* CGObjCMac.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3552E7580E520DD7003A8CA5 /* CGObjCMac.cpp */; }; - 35544B8C0F5C803200D92AA9 /* SemaTemplateInstantiate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 35544B8B0F5C803200D92AA9 /* SemaTemplateInstantiate.cpp */; }; - 35585DC00EAFBC4500D0A97A /* SemaOverload.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 35585DBE0EAFBC4500D0A97A /* SemaOverload.cpp */; }; - 35707EFE0CD0F5CC000B2204 /* SourceLocation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 35707EFD0CD0F5CC000B2204 /* SourceLocation.cpp */; }; - 357EA27D0F2526F300439B60 /* SemaLookup.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 357EA27C0F2526F300439B60 /* SemaLookup.cpp */; }; - 3591853F0EFB1088000039AF /* SemaTemplate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3591853E0EFB1088000039AF /* SemaTemplate.cpp */; }; - 3599299B0DE2425300A8A33E /* SemaInit.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3599299A0DE2425300A8A33E /* SemaInit.cpp */; }; - 35A3E7020DD3874400757F74 /* CGDebugInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 35A3E7000DD3874400757F74 /* CGDebugInfo.cpp */; }; - 35E194690ECB82FB00F21733 /* SemaCXXScopeSpec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 35E194670ECB82FB00F21733 /* SemaCXXScopeSpec.cpp */; }; - 35E1946A0ECB82FB00F21733 /* SemaCXXCast.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 35E194680ECB82FB00F21733 /* SemaCXXCast.cpp */; }; - 35E1946D0ECB83C100F21733 /* PTHLexer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 35E1946C0ECB83C100F21733 /* PTHLexer.cpp */; }; - 35EF67700DAD1D2C00B19414 /* SemaDeclCXX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 35EF676F0DAD1D2C00B19414 /* SemaDeclCXX.cpp */; }; - 57AA9250121C8B9400B4AA6C /* ASTReader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 57AA924D121C8B9400B4AA6C /* ASTReader.cpp */; }; - 57AA9251121C8B9400B4AA6C /* ASTReaderDecl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 57AA924E121C8B9400B4AA6C /* ASTReaderDecl.cpp */; }; - 57AA9252121C8B9400B4AA6C /* ASTReaderStmt.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 57AA924F121C8B9400B4AA6C /* ASTReaderStmt.cpp */; }; - 57F66612121B4DE600DCE3B7 /* ASTWriter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 57F6660F121B4DE600DCE3B7 /* ASTWriter.cpp */; }; - 57F66613121B4DE600DCE3B7 /* ASTWriterDecl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 57F66610121B4DE600DCE3B7 /* ASTWriterDecl.cpp */; }; - 57F66614121B4DE600DCE3B7 /* ASTWriterStmt.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 57F66611121B4DE600DCE3B7 /* ASTWriterStmt.cpp */; }; - 72D16C1F0D9975C400E6DA4A /* HTMLRewrite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 72D16C1E0D9975C400E6DA4A /* HTMLRewrite.cpp */; }; - 84AF36A10CB17A3B00C820A5 /* DeclObjC.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 84AF36A00CB17A3B00C820A5 /* DeclObjC.h */; }; - 9012911D1048068D0083456D /* ASTUnit.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9012911C1048068D0083456D /* ASTUnit.cpp */; }; - 90129121104812F90083456D /* CIndex.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9012911F104812F90083456D /* CIndex.cpp */; }; - 906BF4B00F83BA2E001071FA /* ConvertUTF.c in Sources */ = {isa = PBXBuildFile; fileRef = 906BF4AF0F83BA2E001071FA /* ConvertUTF.c */; }; - 90F9EFAA104ABDED00D09A15 /* c-index-test.c in Sources */ = {isa = PBXBuildFile; fileRef = 90F9EFA9104ABDED00D09A15 /* c-index-test.c */; }; - 90FD6D7B103C3D49005F5B73 /* Analyzer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 90FD6D6D103C3D49005F5B73 /* Analyzer.cpp */; }; - 90FD6D7C103C3D49005F5B73 /* ASTLocation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 90FD6D6E103C3D49005F5B73 /* ASTLocation.cpp */; }; - 90FD6D7D103C3D49005F5B73 /* DeclReferenceMap.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 90FD6D70103C3D49005F5B73 /* DeclReferenceMap.cpp */; }; - 90FD6D7E103C3D49005F5B73 /* Entity.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 90FD6D71103C3D49005F5B73 /* Entity.cpp */; }; - 90FD6D7F103C3D49005F5B73 /* GlobalSelector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 90FD6D73103C3D49005F5B73 /* GlobalSelector.cpp */; }; - 90FD6D80103C3D49005F5B73 /* Handlers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 90FD6D74103C3D49005F5B73 /* Handlers.cpp */; }; - 90FD6D81103C3D49005F5B73 /* Indexer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 90FD6D75103C3D49005F5B73 /* Indexer.cpp */; }; - 90FD6D82103C3D49005F5B73 /* IndexProvider.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 90FD6D76103C3D49005F5B73 /* IndexProvider.cpp */; }; - 90FD6D83103C3D49005F5B73 /* Program.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 90FD6D77103C3D49005F5B73 /* Program.cpp */; }; - 90FD6D85103C3D49005F5B73 /* SelectorMap.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 90FD6D7A103C3D49005F5B73 /* SelectorMap.cpp */; }; - 90FD6DB6103D977E005F5B73 /* index-test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 90FD6DB5103D977E005F5B73 /* index-test.cpp */; }; - BB5C372912A5057500259F53 /* DumpXML.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BB5C372812A5057500259F53 /* DumpXML.cpp */; }; - BBA5AB7E1309C2FA000B38F1 /* AdjustedReturnValueChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB141309C2FA000B38F1 /* AdjustedReturnValueChecker.cpp */; }; - BBA5AB7F1309C2FA000B38F1 /* AnalyzerStatsChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB151309C2FA000B38F1 /* AnalyzerStatsChecker.cpp */; }; - BBA5AB801309C2FA000B38F1 /* ArrayBoundChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB161309C2FA000B38F1 /* ArrayBoundChecker.cpp */; }; - BBA5AB811309C2FA000B38F1 /* ArrayBoundCheckerV2.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB171309C2FA000B38F1 /* ArrayBoundCheckerV2.cpp */; }; - BBA5AB821309C2FA000B38F1 /* AttrNonNullChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB181309C2FA000B38F1 /* AttrNonNullChecker.cpp */; }; - BBA5AB831309C2FA000B38F1 /* BasicObjCFoundationChecks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB191309C2FA000B38F1 /* BasicObjCFoundationChecks.cpp */; }; - BBA5AB841309C2FA000B38F1 /* BuiltinFunctionChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB1B1309C2FA000B38F1 /* BuiltinFunctionChecker.cpp */; }; - BBA5AB851309C2FA000B38F1 /* CallAndMessageChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB1C1309C2FA000B38F1 /* CallAndMessageChecker.cpp */; }; - BBA5AB861309C2FA000B38F1 /* CastSizeChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB1D1309C2FA000B38F1 /* CastSizeChecker.cpp */; }; - BBA5AB871309C2FA000B38F1 /* CastToStructChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB1E1309C2FA000B38F1 /* CastToStructChecker.cpp */; }; - BBA5AB881309C2FA000B38F1 /* CheckObjCDealloc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB201309C2FA000B38F1 /* CheckObjCDealloc.cpp */; }; - BBA5AB891309C2FA000B38F1 /* CheckObjCInstMethSignature.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB211309C2FA000B38F1 /* CheckObjCInstMethSignature.cpp */; }; - BBA5AB8A1309C2FA000B38F1 /* CheckSecuritySyntaxOnly.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB221309C2FA000B38F1 /* CheckSecuritySyntaxOnly.cpp */; }; - BBA5AB8B1309C2FA000B38F1 /* CheckSizeofPointer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB231309C2FA000B38F1 /* CheckSizeofPointer.cpp */; }; - BBA5AB8C1309C2FA000B38F1 /* ChrootChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB241309C2FA000B38F1 /* ChrootChecker.cpp */; }; - BBA5AB8D1309C2FA000B38F1 /* ClangSACheckerProvider.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB251309C2FA000B38F1 /* ClangSACheckerProvider.cpp */; }; - BBA5AB8E1309C2FA000B38F1 /* CStringChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB291309C2FA000B38F1 /* CStringChecker.cpp */; }; - BBA5AB8F1309C2FA000B38F1 /* DeadStoresChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB2A1309C2FA000B38F1 /* DeadStoresChecker.cpp */; }; - BBA5AB901309C2FA000B38F1 /* DereferenceChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB2B1309C2FA000B38F1 /* DereferenceChecker.cpp */; }; - BBA5AB911309C2FA000B38F1 /* DivZeroChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB2C1309C2FA000B38F1 /* DivZeroChecker.cpp */; }; - BBA5AB921309C2FA000B38F1 /* ExperimentalChecks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB2D1309C2FA000B38F1 /* ExperimentalChecks.cpp */; }; - BBA5AB931309C2FA000B38F1 /* ExprEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB2F1309C2FA000B38F1 /* ExprEngine.cpp */; }; - BBA5AB941309C2FA000B38F1 /* FixedAddressChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB301309C2FA000B38F1 /* FixedAddressChecker.cpp */; }; - BBA5AB951309C2FA000B38F1 /* IdempotentOperationChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB311309C2FA000B38F1 /* IdempotentOperationChecker.cpp */; }; - BBA5AB961309C2FA000B38F1 /* LLVMConventionsChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB331309C2FA000B38F1 /* LLVMConventionsChecker.cpp */; }; - BBA5AB971309C2FA000B38F1 /* MacOSXAPIChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB341309C2FA000B38F1 /* MacOSXAPIChecker.cpp */; }; - BBA5AB991309C2FA000B38F1 /* MallocChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB361309C2FA000B38F1 /* MallocChecker.cpp */; }; - BBA5AB9A1309C2FA000B38F1 /* NoReturnFunctionChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB371309C2FA000B38F1 /* NoReturnFunctionChecker.cpp */; }; - BBA5AB9B1309C2FA000B38F1 /* NSAutoreleasePoolChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB381309C2FA000B38F1 /* NSAutoreleasePoolChecker.cpp */; }; - BBA5AB9C1309C2FA000B38F1 /* NSErrorChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB3A1309C2FA000B38F1 /* NSErrorChecker.cpp */; }; - BBA5AB9D1309C2FA000B38F1 /* ObjCAtSyncChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB3B1309C2FA000B38F1 /* ObjCAtSyncChecker.cpp */; }; - BBA5AB9E1309C2FA000B38F1 /* ObjCSelfInitChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB3D1309C2FA000B38F1 /* ObjCSelfInitChecker.cpp */; }; - BBA5AB9F1309C2FA000B38F1 /* ObjCUnusedIVarsChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB3F1309C2FA000B38F1 /* ObjCUnusedIVarsChecker.cpp */; }; - BBA5ABA01309C2FA000B38F1 /* OSAtomicChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB401309C2FA000B38F1 /* OSAtomicChecker.cpp */; }; - BBA5ABA11309C2FA000B38F1 /* PointerArithChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB411309C2FA000B38F1 /* PointerArithChecker.cpp */; }; - BBA5ABA21309C2FA000B38F1 /* PointerSubChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB421309C2FA000B38F1 /* PointerSubChecker.cpp */; }; - BBA5ABA31309C2FA000B38F1 /* PthreadLockChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB431309C2FA000B38F1 /* PthreadLockChecker.cpp */; }; - BBA5ABA41309C2FA000B38F1 /* ReturnPointerRangeChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB441309C2FA000B38F1 /* ReturnPointerRangeChecker.cpp */; }; - BBA5ABA51309C2FA000B38F1 /* ReturnUndefChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB451309C2FA000B38F1 /* ReturnUndefChecker.cpp */; }; - BBA5ABA61309C2FA000B38F1 /* StackAddrLeakChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB461309C2FA000B38F1 /* StackAddrLeakChecker.cpp */; }; - BBA5ABA71309C2FA000B38F1 /* StreamChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB471309C2FA000B38F1 /* StreamChecker.cpp */; }; - BBA5ABA81309C2FA000B38F1 /* UndefBranchChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB481309C2FA000B38F1 /* UndefBranchChecker.cpp */; }; - BBA5ABA91309C2FA000B38F1 /* UndefCapturedBlockVarChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB491309C2FA000B38F1 /* UndefCapturedBlockVarChecker.cpp */; }; - BBA5ABAA1309C2FA000B38F1 /* UndefinedArraySubscriptChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB4A1309C2FA000B38F1 /* UndefinedArraySubscriptChecker.cpp */; }; - BBA5ABAB1309C2FA000B38F1 /* UndefinedAssignmentChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB4B1309C2FA000B38F1 /* UndefinedAssignmentChecker.cpp */; }; - BBA5ABAC1309C2FA000B38F1 /* UndefResultChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB4C1309C2FA000B38F1 /* UndefResultChecker.cpp */; }; - BBA5ABAD1309C2FA000B38F1 /* UnixAPIChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB4D1309C2FA000B38F1 /* UnixAPIChecker.cpp */; }; - BBA5ABAE1309C2FA000B38F1 /* UnreachableCodeChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB4E1309C2FA000B38F1 /* UnreachableCodeChecker.cpp */; }; - BBA5ABAF1309C2FA000B38F1 /* VLASizeChecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB4F1309C2FA000B38F1 /* VLASizeChecker.cpp */; }; - BBA5ABB01309C2FA000B38F1 /* AggExprVisitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB521309C2FA000B38F1 /* AggExprVisitor.cpp */; }; - BBA5ABB11309C2FA000B38F1 /* AnalysisManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB531309C2FA000B38F1 /* AnalysisManager.cpp */; }; - BBA5ABB21309C2FA000B38F1 /* BasicConstraintManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB541309C2FA000B38F1 /* BasicConstraintManager.cpp */; }; - BBA5ABB31309C2FA000B38F1 /* BasicStore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB551309C2FA000B38F1 /* BasicStore.cpp */; }; - BBA5ABB41309C2FA000B38F1 /* BasicValueFactory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB561309C2FA000B38F1 /* BasicValueFactory.cpp */; }; - BBA5ABB51309C2FA000B38F1 /* BlockCounter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB571309C2FA000B38F1 /* BlockCounter.cpp */; }; - BBA5ABB61309C2FA000B38F1 /* BugReporter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB581309C2FA000B38F1 /* BugReporter.cpp */; }; - BBA5ABB71309C2FA000B38F1 /* BugReporterVisitors.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB591309C2FA000B38F1 /* BugReporterVisitors.cpp */; }; - BBA5ABB81309C2FA000B38F1 /* CFRefCount.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB5A1309C2FA000B38F1 /* CFRefCount.cpp */; }; - BBA5ABB91309C2FA000B38F1 /* Checker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB5B1309C2FA000B38F1 /* Checker.cpp */; }; - BBA5ABBA1309C2FA000B38F1 /* CheckerHelpers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB5C1309C2FA000B38F1 /* CheckerHelpers.cpp */; }; - BBA5ABBB1309C2FA000B38F1 /* CheckerManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB5D1309C2FA000B38F1 /* CheckerManager.cpp */; }; - BBA5ABBC1309C2FA000B38F1 /* CoreEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB5F1309C2FA000B38F1 /* CoreEngine.cpp */; }; - BBA5ABBD1309C2FA000B38F1 /* CXXExprEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB601309C2FA000B38F1 /* CXXExprEngine.cpp */; }; - BBA5ABBE1309C2FA000B38F1 /* Environment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB611309C2FA000B38F1 /* Environment.cpp */; }; - BBA5ABBF1309C2FA000B38F1 /* ExplodedGraph.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB621309C2FA000B38F1 /* ExplodedGraph.cpp */; }; - BBA5ABC01309C2FA000B38F1 /* FlatStore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB631309C2FA000B38F1 /* FlatStore.cpp */; }; - BBA5ABC11309C2FA000B38F1 /* GRState.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB641309C2FA000B38F1 /* GRState.cpp */; }; - BBA5ABC21309C2FA000B38F1 /* HTMLDiagnostics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB651309C2FA000B38F1 /* HTMLDiagnostics.cpp */; }; - BBA5ABC41309C2FA000B38F1 /* MemRegion.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB671309C2FA000B38F1 /* MemRegion.cpp */; }; - BBA5ABC51309C2FA000B38F1 /* ObjCMessage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB681309C2FA000B38F1 /* ObjCMessage.cpp */; }; - BBA5ABC61309C2FA000B38F1 /* PathDiagnostic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB691309C2FA000B38F1 /* PathDiagnostic.cpp */; }; - BBA5ABC71309C2FA000B38F1 /* PlistDiagnostics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB6A1309C2FA000B38F1 /* PlistDiagnostics.cpp */; }; - BBA5ABC81309C2FA000B38F1 /* RangeConstraintManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB6B1309C2FA000B38F1 /* RangeConstraintManager.cpp */; }; - BBA5ABC91309C2FA000B38F1 /* RegionStore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB6C1309C2FA000B38F1 /* RegionStore.cpp */; }; - BBA5ABCA1309C2FA000B38F1 /* SimpleConstraintManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB6D1309C2FA000B38F1 /* SimpleConstraintManager.cpp */; }; - BBA5ABCB1309C2FA000B38F1 /* SimpleSValBuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB6F1309C2FA000B38F1 /* SimpleSValBuilder.cpp */; }; - BBA5ABCC1309C2FA000B38F1 /* Store.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB701309C2FA000B38F1 /* Store.cpp */; }; - BBA5ABCD1309C2FA000B38F1 /* SValBuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB711309C2FA000B38F1 /* SValBuilder.cpp */; }; - BBA5ABCE1309C2FA000B38F1 /* SVals.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB721309C2FA000B38F1 /* SVals.cpp */; }; - BBA5ABCF1309C2FA000B38F1 /* SymbolManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB731309C2FA000B38F1 /* SymbolManager.cpp */; }; - BBA5ABD01309C2FA000B38F1 /* TextPathDiagnostics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB741309C2FA000B38F1 /* TextPathDiagnostics.cpp */; }; - BBA5ABD11309C2FA000B38F1 /* AnalysisConsumer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB761309C2FA000B38F1 /* AnalysisConsumer.cpp */; }; - BBA5ABD21309C2FA000B38F1 /* CheckerRegistration.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB781309C2FA000B38F1 /* CheckerRegistration.cpp */; }; - BBA5ABD31309C2FA000B38F1 /* FrontendActions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BBA5AB7A1309C2FA000B38F1 /* FrontendActions.cpp */; }; - BDF87CF70FD746F300BBF872 /* SemaTemplateDeduction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BDF87CF60FD746F300BBF872 /* SemaTemplateDeduction.cpp */; }; - BF89C3E211595818001C2D68 /* AnalysisBasedWarnings.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF89C3E111595818001C2D68 /* AnalysisBasedWarnings.cpp */; }; - BF89C3E91159594A001C2D68 /* SemaObjCProperty.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF89C3E81159594A001C2D68 /* SemaObjCProperty.cpp */; }; - BF89C3F911595A01001C2D68 /* SemaType.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF89C3F811595A01001C2D68 /* SemaType.cpp */; }; - BF89C3FB11595A37001C2D68 /* SemaCodeComplete.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF89C3FA11595A37001C2D68 /* SemaCodeComplete.cpp */; }; - BF89C3FD11595A5D001C2D68 /* SemaExceptionSpec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF89C3FC11595A5D001C2D68 /* SemaExceptionSpec.cpp */; }; - BF9FEDFB1225E6A9003A8B71 /* AttributeList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF9FEDFA1225E6A9003A8B71 /* AttributeList.cpp */; }; - BF9FEDFD1225E6C6003A8B71 /* DeclSpec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF9FEDFC1225E6C6003A8B71 /* DeclSpec.cpp */; }; - BF9FEDFF1225E6DD003A8B71 /* TargetAttributesSema.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF9FEDFE1225E6DD003A8B71 /* TargetAttributesSema.cpp */; }; - BF9FEE021225E73F003A8B71 /* ExprClassification.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF9FEE011225E73F003A8B71 /* ExprClassification.cpp */; }; - BF9FEE041225E759003A8B71 /* ItaniumCXXABI.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF9FEE031225E759003A8B71 /* ItaniumCXXABI.cpp */; }; - BF9FEE061225E770003A8B71 /* MicrosoftCXXABI.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF9FEE051225E770003A8B71 /* MicrosoftCXXABI.cpp */; }; - BF9FEE2C1225E7EA003A8B71 /* BackendUtil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF9FEE2B1225E7EA003A8B71 /* BackendUtil.cpp */; }; - BF9FEE311225E86C003A8B71 /* CodeGenAction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF9FEE301225E86C003A8B71 /* CodeGenAction.cpp */; }; - BF9FEE331225E898003A8B71 /* ItaniumCXXABI.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF9FEE321225E898003A8B71 /* ItaniumCXXABI.cpp */; }; - BF9FEE351225E8B1003A8B71 /* MicrosoftCXXABI.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF9FEE341225E8B1003A8B71 /* MicrosoftCXXABI.cpp */; }; - BF9FEE381225E925003A8B71 /* BoostConAction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF9FEE371225E925003A8B71 /* BoostConAction.cpp */; }; - BF9FEE521226FE9F003A8B71 /* ParseAST.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF9FEE511226FE9F003A8B71 /* ParseAST.cpp */; }; - BF9FEEF2122D8068003A8B71 /* PreprocessingRecord.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BF9FEEF1122D8068003A8B71 /* PreprocessingRecord.cpp */; }; - BFE2F6C111DA955A0007EDC0 /* DeltaTree.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFE2F69311DA955A0007EDC0 /* DeltaTree.cpp */; }; - BFE2F6C211DA955A0007EDC0 /* FixItRewriter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFE2F69411DA955A0007EDC0 /* FixItRewriter.cpp */; }; - BFE2F6C311DA955A0007EDC0 /* FrontendActions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFE2F69511DA955A0007EDC0 /* FrontendActions.cpp */; }; - BFE2F6C411DA955A0007EDC0 /* HTMLPrint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFE2F69611DA955A0007EDC0 /* HTMLPrint.cpp */; }; - BFE2F6C511DA955A0007EDC0 /* HTMLRewrite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFE2F69711DA955A0007EDC0 /* HTMLRewrite.cpp */; }; - BFE2F6D111DA955A0007EDC0 /* RewriteMacros.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFE2F6A511DA955A0007EDC0 /* RewriteMacros.cpp */; }; - BFE2F6D211DA955A0007EDC0 /* RewriteObjC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFE2F6A611DA955A0007EDC0 /* RewriteObjC.cpp */; }; - BFE2F6D311DA955A0007EDC0 /* Rewriter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFE2F6A711DA955A0007EDC0 /* Rewriter.cpp */; }; - BFE2F6D411DA955A0007EDC0 /* RewriteRope.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFE2F6A811DA955A0007EDC0 /* RewriteRope.cpp */; }; - BFE2F6D511DA955A0007EDC0 /* RewriteTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFE2F6A911DA955A0007EDC0 /* RewriteTest.cpp */; }; - BFE2F6D611DA955A0007EDC0 /* TokenRewriter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFE2F6AA11DA955A0007EDC0 /* TokenRewriter.cpp */; }; - DE01DA490B12ADA300AC22CE /* PPCallbacks.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE01DA480B12ADA300AC22CE /* PPCallbacks.h */; }; - DE06756C0C051CFE00EBBFD8 /* ParseExprCXX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE06756B0C051CFE00EBBFD8 /* ParseExprCXX.cpp */; }; - DE06B73E0A8307640050E87E /* LangOptions.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE06B73D0A8307640050E87E /* LangOptions.h */; }; - DE06D4310A8BB52D0050E87E /* Parser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE06D42F0A8BB52D0050E87E /* Parser.cpp */; }; - DE0FCA630A95859D00248FD5 /* Expr.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE0FCA620A95859D00248FD5 /* Expr.h */; }; - DE1F22030A7D852A00FBF588 /* Parser.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE1F22020A7D852A00FBF588 /* Parser.h */; }; - DE224FF80C7AA98800D370A5 /* CGExprComplex.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE224FF70C7AA98800D370A5 /* CGExprComplex.cpp */; }; - DE2252700C7E82D000D370A5 /* CGExprScalar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE22526F0C7E82D000D370A5 /* CGExprScalar.cpp */; }; - DE2255FC0C8004E600D370A5 /* ParseDeclCXX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE2255FB0C8004E600D370A5 /* ParseDeclCXX.cpp */; }; - DE22BCF20E14197E0094DC60 /* SemaDeclAttr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE22BCF10E14197E0094DC60 /* SemaDeclAttr.cpp */; }; - DE344AB80AE5DF6D00DBC861 /* HeaderSearch.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE344AB70AE5DF6D00DBC861 /* HeaderSearch.h */; }; - DE344B540AE5E46C00DBC861 /* HeaderSearch.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE344B530AE5E46C00DBC861 /* HeaderSearch.cpp */; }; - DE3450D70AEB543100DBC861 /* DirectoryLookup.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE3450D60AEB543100DBC861 /* DirectoryLookup.h */; }; - DE3452810AEF1B1800DBC861 /* Stmt.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE3452800AEF1B1800DBC861 /* Stmt.h */; }; - DE345C1A0AFC658B00DBC861 /* StmtVisitor.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE345C190AFC658B00DBC861 /* StmtVisitor.h */; }; - DE3460000AFDCC1900DBC861 /* ParseObjc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE345FFF0AFDCC1900DBC861 /* ParseObjc.cpp */; }; - DE3460050AFDCC6500DBC861 /* ParseInit.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE3460040AFDCC6500DBC861 /* ParseInit.cpp */; }; - DE34600B0AFDCCBF00DBC861 /* ParseStmt.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE34600A0AFDCCBF00DBC861 /* ParseStmt.cpp */; }; - DE34600F0AFDCCCE00DBC861 /* ParseDecl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE34600E0AFDCCCE00DBC861 /* ParseDecl.cpp */; }; - DE3460130AFDCCDA00DBC861 /* ParseExpr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE3460120AFDCCDA00DBC861 /* ParseExpr.cpp */; }; - DE3464220B03040900DBC861 /* Type.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE3464210B03040900DBC861 /* Type.h */; }; - DE37252E0FE481AD00CF2CC2 /* Builtins.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE37252D0FE481AD00CF2CC2 /* Builtins.cpp */; }; - DE38CD500D794D0100A273B6 /* CGObjCGNU.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE38CD4F0D794D0100A273B6 /* CGObjCGNU.cpp */; }; - DE3986F00CB8D4B300223765 /* IdentifierTable.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE3986EF0CB8D4B300223765 /* IdentifierTable.h */; }; - DE3986F40CB8D50C00223765 /* IdentifierTable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE3986F30CB8D50C00223765 /* IdentifierTable.cpp */; }; - DE4264FC0C113592005A861D /* CGDecl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE4264FB0C113592005A861D /* CGDecl.cpp */; }; - DE46BF280AE0A82D00CC047C /* TargetInfo.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE46BF270AE0A82D00CC047C /* TargetInfo.h */; }; - DE4772FA0C10EAE5002239E8 /* CGStmt.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE4772F90C10EAE5002239E8 /* CGStmt.cpp */; }; - DE4772FC0C10EAEC002239E8 /* CGExpr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE4772FB0C10EAEC002239E8 /* CGExpr.cpp */; }; - DE47999C0D2EBE1A00706D2D /* SemaExprObjC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE47999B0D2EBE1A00706D2D /* SemaExprObjC.cpp */; }; - DE4DC7A30EA1C33E00069E5A /* TokenRewriter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE4DC7A20EA1C33E00069E5A /* TokenRewriter.cpp */; }; - DE67E70D0C020ECA00F66BC5 /* SemaStmt.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE67E70C0C020ECA00F66BC5 /* SemaStmt.cpp */; }; - DE67E70F0C020ECF00F66BC5 /* SemaExprCXX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE67E70E0C020ECF00F66BC5 /* SemaExprCXX.cpp */; }; - DE67E7110C020ED400F66BC5 /* SemaExpr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE67E7100C020ED400F66BC5 /* SemaExpr.cpp */; }; - DE67E7130C020ED900F66BC5 /* SemaDecl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE67E7120C020ED900F66BC5 /* SemaDecl.cpp */; }; - DE67E7170C020EE400F66BC5 /* Sema.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE67E7160C020EE400F66BC5 /* Sema.cpp */; }; - DE6951C70C4D1F5D00A5826B /* RecordLayout.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE6951C60C4D1F5D00A5826B /* RecordLayout.h */; }; - DE6954640C5121BD00A5826B /* Token.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE6954630C5121BD00A5826B /* Token.h */; }; - DE704B260D0FBEBE009C7762 /* SemaDeclObjC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE704B250D0FBEBE009C7762 /* SemaDeclObjC.cpp */; }; - DE704DD20D1668A4009C7762 /* HeaderMap.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE704DD10D1668A4009C7762 /* HeaderMap.cpp */; }; - DE75ED290B044DC90020CF81 /* ASTContext.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE75ED280B044DC90020CF81 /* ASTContext.h */; }; - DE85CD810D8380B10070E26E /* TokenLexer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE85CD800D8380B10070E26E /* TokenLexer.cpp */; }; - DE85CDA30D8383B20070E26E /* MacroArgs.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE85CDA20D8383B20070E26E /* MacroArgs.cpp */; }; - DE85CDAC0D838C120070E26E /* PPMacroExpansion.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE85CDAB0D838C120070E26E /* PPMacroExpansion.cpp */; }; - DE85CDB00D838C390070E26E /* PPDirectives.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE85CDAF0D838C390070E26E /* PPDirectives.cpp */; }; - DE85CDB60D839BAE0070E26E /* PPLexerChange.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE85CDB50D839BAE0070E26E /* PPLexerChange.cpp */; }; - DE928B130C05659200231DA4 /* ModuleBuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE928B120C05659200231DA4 /* ModuleBuilder.cpp */; }; - DE928B200C0565B000231DA4 /* ModuleBuilder.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE928B1F0C0565B000231DA4 /* ModuleBuilder.h */; }; - DE928B7D0C0A615100231DA4 /* CodeGenModule.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE928B7C0C0A615100231DA4 /* CodeGenModule.h */; }; - DE928B7F0C0A615600231DA4 /* CodeGenModule.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE928B7E0C0A615600231DA4 /* CodeGenModule.cpp */; }; - DE928B810C0A615B00231DA4 /* CodeGenFunction.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE928B800C0A615B00231DA4 /* CodeGenFunction.h */; }; - DE928B830C0A616000231DA4 /* CodeGenFunction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE928B820C0A616000231DA4 /* CodeGenFunction.cpp */; }; - DEAEE98B0A5A2B970045101B /* MultipleIncludeOpt.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DEAEE98A0A5A2B970045101B /* MultipleIncludeOpt.h */; }; - DEAEED4B0A5AF89A0045101B /* NOTES.txt in CopyFiles */ = {isa = PBXBuildFile; fileRef = DEAEED4A0A5AF89A0045101B /* NOTES.txt */; }; - DEB077990F44F97800F5A2BE /* TokenConcatenation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEB077980F44F97800F5A2BE /* TokenConcatenation.cpp */; }; - DEB07AC80F4A427E00F5A2BE /* SemaAttr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEB07AC70F4A427E00F5A2BE /* SemaAttr.cpp */; }; - DEC8D9910A9433CD00353FCA /* Decl.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DEC8D9900A9433CD00353FCA /* Decl.h */; }; - DEC8D9A40A94346E00353FCA /* AST.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DEC8D9A30A94346E00353FCA /* AST.h */; }; - DECAB0D00DB3C84200E13CCB /* RewriteRope.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DECAB0CF0DB3C84200E13CCB /* RewriteRope.cpp */; }; - DECB6D650F9AE26600F5FBC7 /* JumpDiagnostics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DECB6D640F9AE26600F5FBC7 /* JumpDiagnostics.cpp */; }; - DECB6F070F9D93A800F5FBC7 /* InitPreprocessor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DECB6F060F9D93A800F5FBC7 /* InitPreprocessor.cpp */; }; - DED626C90AE0C065001E80A4 /* TargetInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED626C80AE0C065001E80A4 /* TargetInfo.cpp */; }; - DED7D7410A524295003AD0FB /* Diagnostic.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DED7D7310A524295003AD0FB /* Diagnostic.h */; }; - DED7D7430A524295003AD0FB /* FileManager.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DED7D7330A524295003AD0FB /* FileManager.h */; }; - DED7D7450A524295003AD0FB /* SourceLocation.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DED7D7350A524295003AD0FB /* SourceLocation.h */; }; - DED7D7460A524295003AD0FB /* SourceManager.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DED7D7360A524295003AD0FB /* SourceManager.h */; }; - DED7D7470A524295003AD0FB /* TokenKinds.def in CopyFiles */ = {isa = PBXBuildFile; fileRef = DED7D7370A524295003AD0FB /* TokenKinds.def */; }; - DED7D7480A524295003AD0FB /* TokenKinds.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DED7D7380A524295003AD0FB /* TokenKinds.h */; }; - DED7D74A0A524295003AD0FB /* Lexer.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DED7D73B0A524295003AD0FB /* Lexer.h */; }; - DED7D74D0A524295003AD0FB /* MacroInfo.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DED7D73E0A524295003AD0FB /* MacroInfo.h */; }; - DED7D74E0A524295003AD0FB /* Pragma.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DED7D73F0A524295003AD0FB /* Pragma.h */; }; - DED7D74F0A524295003AD0FB /* Preprocessor.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DED7D7400A524295003AD0FB /* Preprocessor.h */; }; - DED7D77A0A5242C7003AD0FB /* Diagnostic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED7D75D0A5242C7003AD0FB /* Diagnostic.cpp */; }; - DED7D77B0A5242C7003AD0FB /* FileManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED7D75E0A5242C7003AD0FB /* FileManager.cpp */; }; - DED7D7890A5242C7003AD0FB /* SourceManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED7D76D0A5242C7003AD0FB /* SourceManager.cpp */; }; - DED7D78A0A5242C7003AD0FB /* TokenKinds.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED7D76E0A5242C7003AD0FB /* TokenKinds.cpp */; }; - DED7D7C30A5242E6003AD0FB /* Lexer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED7D79E0A5242E6003AD0FB /* Lexer.cpp */; }; - DED7D7C50A5242E6003AD0FB /* MacroInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED7D7A00A5242E6003AD0FB /* MacroInfo.cpp */; }; - DED7D7C70A5242E6003AD0FB /* PPExpressions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED7D7A20A5242E6003AD0FB /* PPExpressions.cpp */; }; - DED7D7C80A5242E6003AD0FB /* Pragma.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED7D7A30A5242E6003AD0FB /* Pragma.cpp */; }; - DED7D7C90A5242E6003AD0FB /* Preprocessor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED7D7A40A5242E6003AD0FB /* Preprocessor.cpp */; }; - DED7D7D80A524302003AD0FB /* README.txt in CopyFiles */ = {isa = PBXBuildFile; fileRef = DED7D7D70A524302003AD0FB /* README.txt */; }; - DED7D9180A52518C003AD0FB /* ScratchBuffer.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DED7D9170A52518C003AD0FB /* ScratchBuffer.h */; }; - DED7D9E50A5257F6003AD0FB /* ScratchBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED7D9E40A5257F6003AD0FB /* ScratchBuffer.cpp */; }; - DEDFE6460F7B3B4E0035BD10 /* driver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE6450F7B3B4E0035BD10 /* driver.cpp */; }; - DEDFE65A0F7B3B830035BD10 /* Types.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE6480F7B3B830035BD10 /* Types.cpp */; }; - DEDFE65B0F7B3B830035BD10 /* Tools.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE64A0F7B3B830035BD10 /* Tools.cpp */; }; - DEDFE65C0F7B3B830035BD10 /* Compilation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE64C0F7B3B830035BD10 /* Compilation.cpp */; }; - DEDFE65D0F7B3B830035BD10 /* ArgList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE64D0F7B3B830035BD10 /* ArgList.cpp */; }; - DEDFE65E0F7B3B830035BD10 /* Arg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE64E0F7B3B830035BD10 /* Arg.cpp */; }; - DEDFE65F0F7B3B830035BD10 /* Action.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE64F0F7B3B830035BD10 /* Action.cpp */; }; - DEDFE6600F7B3B830035BD10 /* Phases.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE6500F7B3B830035BD10 /* Phases.cpp */; }; - DEDFE6610F7B3B830035BD10 /* OptTable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE6510F7B3B830035BD10 /* OptTable.cpp */; }; - DEDFE6620F7B3B830035BD10 /* Option.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE6520F7B3B830035BD10 /* Option.cpp */; }; - DEDFE6630F7B3B830035BD10 /* Job.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE6530F7B3B830035BD10 /* Job.cpp */; }; - DEDFE6640F7B3B830035BD10 /* ToolChains.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE6550F7B3B830035BD10 /* ToolChains.cpp */; }; - DEDFE6650F7B3B830035BD10 /* ToolChain.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE6560F7B3B830035BD10 /* ToolChain.cpp */; }; - DEDFE6660F7B3B830035BD10 /* Tool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE6570F7B3B830035BD10 /* Tool.cpp */; }; - DEDFE6670F7B3B830035BD10 /* HostInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE6580F7B3B830035BD10 /* HostInfo.cpp */; }; - DEDFE6680F7B3B830035BD10 /* Driver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEDFE6590F7B3B830035BD10 /* Driver.cpp */; }; - DEEBBD440C19C5D200A9FE82 /* TODO.txt in CopyFiles */ = {isa = PBXBuildFile; fileRef = DEEBBD430C19C5D200A9FE82 /* TODO.txt */; }; - DEEBC3BA0C2363B800A9FE82 /* CodeGenTypes.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DEEBC3B90C2363B800A9FE82 /* CodeGenTypes.h */; }; - DEEBC3BC0C2363BC00A9FE82 /* CodeGenTypes.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEEBC3BB0C2363BC00A9FE82 /* CodeGenTypes.cpp */; }; - DEF2E95F0C5FBD74000C4259 /* InternalsManual.html in CopyFiles */ = {isa = PBXBuildFile; fileRef = DEF2E95E0C5FBD74000C4259 /* InternalsManual.html */; }; - DEF2EFF30C6CDD74000C4259 /* CGExprAgg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEF2EFF20C6CDD74000C4259 /* CGExprAgg.cpp */; }; - DEF2F0100C6CFED5000C4259 /* SemaChecking.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEF2F00F0C6CFED5000C4259 /* SemaChecking.cpp */; }; - DEF7D9F70C9C8B1A0001F598 /* Rewriter.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DEF7D9F60C9C8B1A0001F598 /* Rewriter.h */; }; - DEF7D9F90C9C8B1D0001F598 /* Rewriter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEF7D9F80C9C8B1D0001F598 /* Rewriter.cpp */; }; - DEFFECA70DB1546600B4E7C3 /* DeltaTree.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEFFECA60DB1546600B4E7C3 /* DeltaTree.cpp */; }; - E16B523510D30B2400430AC9 /* cc1_main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E16B523410D30B2400430AC9 /* cc1_main.cpp */; }; -/* End PBXBuildFile section */ - /* Begin PBXCopyFilesBuildPhase section */ 8DD76F690486A84900D96B5E /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; @@ -461,46 +13,6 @@ dstPath = /usr/share/man/man1/; dstSubfolderSpec = 0; files = ( - DED7D7410A524295003AD0FB /* Diagnostic.h in CopyFiles */, - DED7D7430A524295003AD0FB /* FileManager.h in CopyFiles */, - DED7D7450A524295003AD0FB /* SourceLocation.h in CopyFiles */, - DED7D7460A524295003AD0FB /* SourceManager.h in CopyFiles */, - DED7D7470A524295003AD0FB /* TokenKinds.def in CopyFiles */, - DED7D7480A524295003AD0FB /* TokenKinds.h in CopyFiles */, - DED7D74A0A524295003AD0FB /* Lexer.h in CopyFiles */, - DED7D74D0A524295003AD0FB /* MacroInfo.h in CopyFiles */, - DED7D74E0A524295003AD0FB /* Pragma.h in CopyFiles */, - DED7D74F0A524295003AD0FB /* Preprocessor.h in CopyFiles */, - DED7D7D80A524302003AD0FB /* README.txt in CopyFiles */, - DED7D9180A52518C003AD0FB /* ScratchBuffer.h in CopyFiles */, - DEAEE98B0A5A2B970045101B /* MultipleIncludeOpt.h in CopyFiles */, - DEAEED4B0A5AF89A0045101B /* NOTES.txt in CopyFiles */, - DE1F22030A7D852A00FBF588 /* Parser.h in CopyFiles */, - DE06B73E0A8307640050E87E /* LangOptions.h in CopyFiles */, - DEC8D9910A9433CD00353FCA /* Decl.h in CopyFiles */, - DEC8D9A40A94346E00353FCA /* AST.h in CopyFiles */, - DE0FCA630A95859D00248FD5 /* Expr.h in CopyFiles */, - DE46BF280AE0A82D00CC047C /* TargetInfo.h in CopyFiles */, - DE344AB80AE5DF6D00DBC861 /* HeaderSearch.h in CopyFiles */, - DE3450D70AEB543100DBC861 /* DirectoryLookup.h in CopyFiles */, - DE3452810AEF1B1800DBC861 /* Stmt.h in CopyFiles */, - DE345C1A0AFC658B00DBC861 /* StmtVisitor.h in CopyFiles */, - DE3464220B03040900DBC861 /* Type.h in CopyFiles */, - DE75ED290B044DC90020CF81 /* ASTContext.h in CopyFiles */, - DE01DA490B12ADA300AC22CE /* PPCallbacks.h in CopyFiles */, - 1A30A9E90B93A4C800201A91 /* ExprCXX.h in CopyFiles */, - 1A869A700BA2164C008DA07A /* LiteralSupport.h in CopyFiles */, - DE928B200C0565B000231DA4 /* ModuleBuilder.h in CopyFiles */, - DE928B7D0C0A615100231DA4 /* CodeGenModule.h in CopyFiles */, - DE928B810C0A615B00231DA4 /* CodeGenFunction.h in CopyFiles */, - DEEBBD440C19C5D200A9FE82 /* TODO.txt in CopyFiles */, - DEEBC3BA0C2363B800A9FE82 /* CodeGenTypes.h in CopyFiles */, - DE6951C70C4D1F5D00A5826B /* RecordLayout.h in CopyFiles */, - DE6954640C5121BD00A5826B /* Token.h in CopyFiles */, - DEF2E95F0C5FBD74000C4259 /* InternalsManual.html in CopyFiles */, - DEF7D9F70C9C8B1A0001F598 /* Rewriter.h in CopyFiles */, - 84AF36A10CB17A3B00C820A5 /* DeclObjC.h in CopyFiles */, - DE3986F00CB8D4B300223765 /* IdentifierTable.h in CopyFiles */, ); runOnlyForDeploymentPostprocessing = 1; }; @@ -2388,411 +1900,6 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - DED7D77A0A5242C7003AD0FB /* Diagnostic.cpp in Sources */, - DED7D77B0A5242C7003AD0FB /* FileManager.cpp in Sources */, - DED7D7890A5242C7003AD0FB /* SourceManager.cpp in Sources */, - DED7D78A0A5242C7003AD0FB /* TokenKinds.cpp in Sources */, - DED7D7C30A5242E6003AD0FB /* Lexer.cpp in Sources */, - DED7D7C50A5242E6003AD0FB /* MacroInfo.cpp in Sources */, - DED7D7C70A5242E6003AD0FB /* PPExpressions.cpp in Sources */, - DED7D7C80A5242E6003AD0FB /* Pragma.cpp in Sources */, - DED7D7C90A5242E6003AD0FB /* Preprocessor.cpp in Sources */, - DED7D9E50A5257F6003AD0FB /* ScratchBuffer.cpp in Sources */, - DE06D4310A8BB52D0050E87E /* Parser.cpp in Sources */, - DED626C90AE0C065001E80A4 /* TargetInfo.cpp in Sources */, - DE344B540AE5E46C00DBC861 /* HeaderSearch.cpp in Sources */, - DE3460000AFDCC1900DBC861 /* ParseObjc.cpp in Sources */, - DE3460050AFDCC6500DBC861 /* ParseInit.cpp in Sources */, - DE34600B0AFDCCBF00DBC861 /* ParseStmt.cpp in Sources */, - DE34600F0AFDCCCE00DBC861 /* ParseDecl.cpp in Sources */, - DE3460130AFDCCDA00DBC861 /* ParseExpr.cpp in Sources */, - 1A869AA80BA21ABA008DA07A /* LiteralSupport.cpp in Sources */, - DE67E70D0C020ECA00F66BC5 /* SemaStmt.cpp in Sources */, - DE67E70F0C020ECF00F66BC5 /* SemaExprCXX.cpp in Sources */, - DE67E7110C020ED400F66BC5 /* SemaExpr.cpp in Sources */, - DE67E7130C020ED900F66BC5 /* SemaDecl.cpp in Sources */, - DE67E7170C020EE400F66BC5 /* Sema.cpp in Sources */, - DE06756C0C051CFE00EBBFD8 /* ParseExprCXX.cpp in Sources */, - DE928B130C05659200231DA4 /* ModuleBuilder.cpp in Sources */, - DE928B7F0C0A615600231DA4 /* CodeGenModule.cpp in Sources */, - DE928B830C0A616000231DA4 /* CodeGenFunction.cpp in Sources */, - DE4772FA0C10EAE5002239E8 /* CGStmt.cpp in Sources */, - DE4772FC0C10EAEC002239E8 /* CGExpr.cpp in Sources */, - DE4264FC0C113592005A861D /* CGDecl.cpp in Sources */, - DEEBC3BC0C2363BC00A9FE82 /* CodeGenTypes.cpp in Sources */, - DEF2EFF30C6CDD74000C4259 /* CGExprAgg.cpp in Sources */, - DEF2F0100C6CFED5000C4259 /* SemaChecking.cpp in Sources */, - 1ABC36940C7A4BDC006DB0AB /* CGBuiltin.cpp in Sources */, - DE224FF80C7AA98800D370A5 /* CGExprComplex.cpp in Sources */, - 1A7342480C7B57D500122F56 /* CGObjC.cpp in Sources */, - DE2252700C7E82D000D370A5 /* CGExprScalar.cpp in Sources */, - DE2255FC0C8004E600D370A5 /* ParseDeclCXX.cpp in Sources */, - DEF7D9F90C9C8B1D0001F598 /* Rewriter.cpp in Sources */, - DE3986F40CB8D50C00223765 /* IdentifierTable.cpp in Sources */, - 35707EFE0CD0F5CC000B2204 /* SourceLocation.cpp in Sources */, - DE704B260D0FBEBE009C7762 /* SemaDeclObjC.cpp in Sources */, - DE704DD20D1668A4009C7762 /* HeaderMap.cpp in Sources */, - DE47999C0D2EBE1A00706D2D /* SemaExprObjC.cpp in Sources */, - 03F50AC60D416EAA00B9CF60 /* Targets.cpp in Sources */, - 1A376A2D0D4AED9B002A1C52 /* CGExprConstant.cpp in Sources */, - DE38CD500D794D0100A273B6 /* CGObjCGNU.cpp in Sources */, - DE85CD810D8380B10070E26E /* TokenLexer.cpp in Sources */, - DE85CDA30D8383B20070E26E /* MacroArgs.cpp in Sources */, - DE85CDAC0D838C120070E26E /* PPMacroExpansion.cpp in Sources */, - DE85CDB00D838C390070E26E /* PPDirectives.cpp in Sources */, - DE85CDB60D839BAE0070E26E /* PPLexerChange.cpp in Sources */, - 72D16C1F0D9975C400E6DA4A /* HTMLRewrite.cpp in Sources */, - 35EF67700DAD1D2C00B19414 /* SemaDeclCXX.cpp in Sources */, - 352712510DAFE54700C76352 /* IdentifierResolver.cpp in Sources */, - DEFFECA70DB1546600B4E7C3 /* DeltaTree.cpp in Sources */, - DECAB0D00DB3C84200E13CCB /* RewriteRope.cpp in Sources */, - 35A3E7020DD3874400757F74 /* CGDebugInfo.cpp in Sources */, - 3599299B0DE2425300A8A33E /* SemaInit.cpp in Sources */, - 3534A01D0E129849002709B2 /* ParseCXXInlineMethods.cpp in Sources */, - DE22BCF20E14197E0094DC60 /* SemaDeclAttr.cpp in Sources */, - 3552E7550E520D80003A8CA5 /* PPCaching.cpp in Sources */, - 3552E7590E520DD7003A8CA5 /* CGObjCMac.cpp in Sources */, - 1A5D5E580E5E81010023C059 /* CGCXX.cpp in Sources */, - 35475B200E79973F0000BFE4 /* CGCall.cpp in Sources */, - 3551068C0E9A8546006A4E44 /* ParsePragma.cpp in Sources */, - 3551068D0E9A8546006A4E44 /* ParseTentative.cpp in Sources */, - DE4DC7A30EA1C33E00069E5A /* TokenRewriter.cpp in Sources */, - 35585DC00EAFBC4500D0A97A /* SemaOverload.cpp in Sources */, - 35E194690ECB82FB00F21733 /* SemaCXXScopeSpec.cpp in Sources */, - 35E1946A0ECB82FB00F21733 /* SemaCXXCast.cpp in Sources */, - 35E1946D0ECB83C100F21733 /* PTHLexer.cpp in Sources */, - 3537AA0E0ECD08A4008F7CDC /* PreprocessorLexer.cpp in Sources */, - 353959D50EE5F88A00E82461 /* ParseTemplate.cpp in Sources */, - 3591853F0EFB1088000039AF /* SemaTemplate.cpp in Sources */, - 357EA27D0F2526F300439B60 /* SemaLookup.cpp in Sources */, - 1A471AB50F437BC500753CE8 /* CGBlocks.cpp in Sources */, - DEB077990F44F97800F5A2BE /* TokenConcatenation.cpp in Sources */, - 1A2193CE0F45EEB700C0713D /* Mangle.cpp in Sources */, - DEB07AC80F4A427E00F5A2BE /* SemaAttr.cpp in Sources */, - 352246E80F5C6BE000D0D279 /* InitHeaderSearch.cpp in Sources */, - 352246EB0F5C6BE000D0D279 /* TextDiagnosticBuffer.cpp in Sources */, - 352246EC0F5C6BE000D0D279 /* TextDiagnosticPrinter.cpp in Sources */, - 35544B8C0F5C803200D92AA9 /* SemaTemplateInstantiate.cpp in Sources */, - 1ADF47AF0F782C3200E48A8A /* SemaTemplateInstantiateDecl.cpp in Sources */, - DEDFE6460F7B3B4E0035BD10 /* driver.cpp in Sources */, - DEDFE65A0F7B3B830035BD10 /* Types.cpp in Sources */, - DEDFE65B0F7B3B830035BD10 /* Tools.cpp in Sources */, - DEDFE65C0F7B3B830035BD10 /* Compilation.cpp in Sources */, - DEDFE65D0F7B3B830035BD10 /* ArgList.cpp in Sources */, - DEDFE65E0F7B3B830035BD10 /* Arg.cpp in Sources */, - DEDFE65F0F7B3B830035BD10 /* Action.cpp in Sources */, - DEDFE6600F7B3B830035BD10 /* Phases.cpp in Sources */, - DEDFE6610F7B3B830035BD10 /* OptTable.cpp in Sources */, - DEDFE6620F7B3B830035BD10 /* Option.cpp in Sources */, - DEDFE6630F7B3B830035BD10 /* Job.cpp in Sources */, - DEDFE6640F7B3B830035BD10 /* ToolChains.cpp in Sources */, - DEDFE6650F7B3B830035BD10 /* ToolChain.cpp in Sources */, - DEDFE6660F7B3B830035BD10 /* Tool.cpp in Sources */, - DEDFE6670F7B3B830035BD10 /* HostInfo.cpp in Sources */, - DEDFE6680F7B3B830035BD10 /* Driver.cpp in Sources */, - 1A701B640F7C8FE400FEC4D1 /* SemaAccess.cpp in Sources */, - 906BF4B00F83BA2E001071FA /* ConvertUTF.c in Sources */, - DECB6D650F9AE26600F5FBC7 /* JumpDiagnostics.cpp in Sources */, - DECB6F070F9D93A800F5FBC7 /* InitPreprocessor.cpp in Sources */, - 1A2A54B60FD1DD1C00F4CE45 /* ASTConsumers.cpp in Sources */, - 1A2A54B80FD1DD1C00F4CE45 /* CacheTokens.cpp in Sources */, - 1A2A54B90FD1DD1C00F4CE45 /* DependencyFile.cpp in Sources */, - 1A2A54BA0FD1DD1C00F4CE45 /* DiagChecker.cpp in Sources */, - 1A2A54BB0FD1DD1C00F4CE45 /* DocumentXML.cpp in Sources */, - 1A2A54BF0FD1DD1C00F4CE45 /* PrintPreprocessedOutput.cpp in Sources */, - 1A2A54C40FD1DD1C00F4CE45 /* StmtXML.cpp in Sources */, - 1A2A54C50FD1DD1C00F4CE45 /* Warnings.cpp in Sources */, - 1A6FE7090FD6F85800E00CA9 /* CGTemporaries.cpp in Sources */, - BDF87CF70FD746F300BBF872 /* SemaTemplateDeduction.cpp in Sources */, - DE37252E0FE481AD00CF2CC2 /* Builtins.cpp in Sources */, - 1AFF8AE31012BFC900D248DA /* CGRecordLayoutBuilder.cpp in Sources */, - 90FD6D7B103C3D49005F5B73 /* Analyzer.cpp in Sources */, - 90FD6D7C103C3D49005F5B73 /* ASTLocation.cpp in Sources */, - 90FD6D7D103C3D49005F5B73 /* DeclReferenceMap.cpp in Sources */, - 90FD6D7E103C3D49005F5B73 /* Entity.cpp in Sources */, - 90FD6D7F103C3D49005F5B73 /* GlobalSelector.cpp in Sources */, - 90FD6D80103C3D49005F5B73 /* Handlers.cpp in Sources */, - 90FD6D81103C3D49005F5B73 /* Indexer.cpp in Sources */, - 90FD6D82103C3D49005F5B73 /* IndexProvider.cpp in Sources */, - 90FD6D83103C3D49005F5B73 /* Program.cpp in Sources */, - 90FD6D85103C3D49005F5B73 /* SelectorMap.cpp in Sources */, - 90FD6DB6103D977E005F5B73 /* index-test.cpp in Sources */, - 9012911D1048068D0083456D /* ASTUnit.cpp in Sources */, - 90129121104812F90083456D /* CIndex.cpp in Sources */, - 90F9EFAA104ABDED00D09A15 /* c-index-test.c in Sources */, - 1A4C41BF105B4C0B0047B5E7 /* CGClass.cpp in Sources */, - 1A6B6CD410693FC900BB4A8F /* CodeCompleteConsumer.cpp in Sources */, - 1A6B6CD510693FC900BB4A8F /* SemaCodeComplete.cpp in Sources */, - 1A6B6E9A1069833600BB4A8F /* CGExprCXX.cpp in Sources */, - 1A6C01F7108128710072DEE4 /* CGRTTI.cpp in Sources */, - 1A81AA19108144F40094E50B /* CGVTables.cpp in Sources */, - 1AF1B50F109A4FB800AFAFAC /* CGException.cpp in Sources */, - 1A986AB710D0746D00A8EA9E /* CGDeclCXX.cpp in Sources */, - E16B523510D30B2400430AC9 /* cc1_main.cpp in Sources */, - 1ACB57E41105820D0047B991 /* CompilerInstance.cpp in Sources */, - 1ACB57E51105820D0047B991 /* CompilerInvocation.cpp in Sources */, - 1ACB57E61105820D0047B991 /* DeclXML.cpp in Sources */, - 1ACB57E71105820D0047B991 /* FrontendAction.cpp in Sources */, - 1ACB57E81105820D0047B991 /* FrontendActions.cpp in Sources */, - 1ACB57E91105820D0047B991 /* FrontendOptions.cpp in Sources */, - 1ACB57EA1105820D0047B991 /* LangStandards.cpp in Sources */, - 1ACB57EB1105820D0047B991 /* TypeXML.cpp in Sources */, - 1ACB57EC1105820D0047B991 /* VerifyDiagnosticsClient.cpp in Sources */, - 1A97825B1108BA18002B98FC /* CGVTT.cpp in Sources */, - 1A621BB7110FE6AA009E6834 /* TargetInfo.cpp in Sources */, - 1A621C4211111D61009E6834 /* CIndexCodeCompletion.cpp in Sources */, - 1A621C4311111D61009E6834 /* CIndexer.cpp in Sources */, - 1A621C4411111D61009E6834 /* CIndexInclusionStack.cpp in Sources */, - 1A621C4511111D61009E6834 /* CIndexUSRs.cpp in Sources */, - 1A621C4611111D61009E6834 /* CXCursor.cpp in Sources */, - BF89C3E211595818001C2D68 /* AnalysisBasedWarnings.cpp in Sources */, - BF89C3E91159594A001C2D68 /* SemaObjCProperty.cpp in Sources */, - BF89C3F911595A01001C2D68 /* SemaType.cpp in Sources */, - BF89C3FB11595A37001C2D68 /* SemaCodeComplete.cpp in Sources */, - BF89C3FD11595A5D001C2D68 /* SemaExceptionSpec.cpp in Sources */, - 1AFDD8721161085D00AE030A /* ASTMerge.cpp in Sources */, - 1ABD23D61182449800A48E65 /* APValue.cpp in Sources */, - 1ABD23D71182449800A48E65 /* ASTConsumer.cpp in Sources */, - 1ABD23D81182449800A48E65 /* ASTContext.cpp in Sources */, - 1ABD23D91182449800A48E65 /* ASTDiagnostic.cpp in Sources */, - 1ABD23DA1182449800A48E65 /* ASTImporter.cpp in Sources */, - 1ABD23DB1182449800A48E65 /* AttrImpl.cpp in Sources */, - 1ABD23DC1182449800A48E65 /* CXXInheritance.cpp in Sources */, - 1ABD23DD1182449800A48E65 /* Decl.cpp in Sources */, - 1ABD23DE1182449800A48E65 /* DeclarationName.cpp in Sources */, - 1ABD23DF1182449800A48E65 /* DeclBase.cpp in Sources */, - 1ABD23E01182449800A48E65 /* DeclCXX.cpp in Sources */, - 1ABD23E11182449800A48E65 /* DeclFriend.cpp in Sources */, - 1ABD23E21182449800A48E65 /* DeclGroup.cpp in Sources */, - 1ABD23E31182449800A48E65 /* DeclObjC.cpp in Sources */, - 1ABD23E41182449800A48E65 /* DeclPrinter.cpp in Sources */, - 1ABD23E51182449800A48E65 /* DeclTemplate.cpp in Sources */, - 1ABD23E61182449800A48E65 /* Expr.cpp in Sources */, - 1ABD23E71182449800A48E65 /* ExprConstant.cpp in Sources */, - 1ABD23E81182449800A48E65 /* ExprCXX.cpp in Sources */, - 1ABD23E91182449800A48E65 /* FullExpr.cpp in Sources */, - 1ABD23EA1182449800A48E65 /* InheritViz.cpp in Sources */, - 1ABD23EB1182449800A48E65 /* NestedNameSpecifier.cpp in Sources */, - 1ABD23EC1182449800A48E65 /* ParentMap.cpp in Sources */, - 1ABD23ED1182449800A48E65 /* RecordLayout.cpp in Sources */, - 1ABD23EE1182449800A48E65 /* RecordLayoutBuilder.cpp in Sources */, - 1ABD23EF1182449800A48E65 /* Stmt.cpp in Sources */, - 1ABD23F01182449800A48E65 /* StmtDumper.cpp in Sources */, - 1ABD23F11182449800A48E65 /* StmtIterator.cpp in Sources */, - 1ABD23F21182449800A48E65 /* StmtPrinter.cpp in Sources */, - 1ABD23F31182449800A48E65 /* StmtProfile.cpp in Sources */, - 1ABD23F41182449800A48E65 /* StmtViz.cpp in Sources */, - 1ABD23F51182449800A48E65 /* TemplateBase.cpp in Sources */, - 1ABD23F61182449800A48E65 /* TemplateName.cpp in Sources */, - 1ABD23F71182449800A48E65 /* Type.cpp in Sources */, - 1ABD23F81182449800A48E65 /* TypeLoc.cpp in Sources */, - 1ABD23F91182449800A48E65 /* TypePrinter.cpp in Sources */, - BFE2F6C111DA955A0007EDC0 /* DeltaTree.cpp in Sources */, - BFE2F6C211DA955A0007EDC0 /* FixItRewriter.cpp in Sources */, - BFE2F6C311DA955A0007EDC0 /* FrontendActions.cpp in Sources */, - BFE2F6C411DA955A0007EDC0 /* HTMLPrint.cpp in Sources */, - BFE2F6C511DA955A0007EDC0 /* HTMLRewrite.cpp in Sources */, - BFE2F6D111DA955A0007EDC0 /* RewriteMacros.cpp in Sources */, - BFE2F6D211DA955A0007EDC0 /* RewriteObjC.cpp in Sources */, - BFE2F6D311DA955A0007EDC0 /* Rewriter.cpp in Sources */, - BFE2F6D411DA955A0007EDC0 /* RewriteRope.cpp in Sources */, - BFE2F6D511DA955A0007EDC0 /* RewriteTest.cpp in Sources */, - BFE2F6D611DA955A0007EDC0 /* TokenRewriter.cpp in Sources */, - 57F66612121B4DE600DCE3B7 /* ASTWriter.cpp in Sources */, - 57F66613121B4DE600DCE3B7 /* ASTWriterDecl.cpp in Sources */, - 57F66614121B4DE600DCE3B7 /* ASTWriterStmt.cpp in Sources */, - 57AA9250121C8B9400B4AA6C /* ASTReader.cpp in Sources */, - 57AA9251121C8B9400B4AA6C /* ASTReaderDecl.cpp in Sources */, - 57AA9252121C8B9400B4AA6C /* ASTReaderStmt.cpp in Sources */, - BF9FEDFB1225E6A9003A8B71 /* AttributeList.cpp in Sources */, - BF9FEDFD1225E6C6003A8B71 /* DeclSpec.cpp in Sources */, - BF9FEDFF1225E6DD003A8B71 /* TargetAttributesSema.cpp in Sources */, - BF9FEE021225E73F003A8B71 /* ExprClassification.cpp in Sources */, - BF9FEE041225E759003A8B71 /* ItaniumCXXABI.cpp in Sources */, - BF9FEE061225E770003A8B71 /* MicrosoftCXXABI.cpp in Sources */, - BF9FEE2C1225E7EA003A8B71 /* BackendUtil.cpp in Sources */, - BF9FEE311225E86C003A8B71 /* CodeGenAction.cpp in Sources */, - BF9FEE331225E898003A8B71 /* ItaniumCXXABI.cpp in Sources */, - BF9FEE351225E8B1003A8B71 /* MicrosoftCXXABI.cpp in Sources */, - BF9FEE381225E925003A8B71 /* BoostConAction.cpp in Sources */, - BF9FEE521226FE9F003A8B71 /* ParseAST.cpp in Sources */, - BF9FEEF2122D8068003A8B71 /* PreprocessingRecord.cpp in Sources */, - 1AC1A67D12999D8E006FBC77 /* AnalysisContext.cpp in Sources */, - 1AC1A67E12999D8E006FBC77 /* CFG.cpp in Sources */, - 1AC1A67F12999D8E006FBC77 /* CFGStmtMap.cpp in Sources */, - 1AC1A68012999D8E006FBC77 /* FormatString.cpp in Sources */, - 1AC1A68112999D8E006FBC77 /* LiveVariables.cpp in Sources */, - 1AC1A68212999D8E006FBC77 /* PrintfFormatString.cpp in Sources */, - 1AC1A68312999D8E006FBC77 /* PseudoConstantAnalysis.cpp in Sources */, - 1AC1A68412999D8E006FBC77 /* ReachableCode.cpp in Sources */, - 1AC1A68512999D8E006FBC77 /* ScanfFormatString.cpp in Sources */, - 1AC1A68612999D8E006FBC77 /* UninitializedValues.cpp in Sources */, - 1AC1A9EF1299A287006FBC77 /* AdjustedReturnValueChecker.cpp in Sources */, - 1AC1A9F01299A287006FBC77 /* AggExprVisitor.cpp in Sources */, - 1AC1A9F11299A287006FBC77 /* AnalysisConsumer.cpp in Sources */, - 1AC1A9F21299A287006FBC77 /* AnalysisManager.cpp in Sources */, - 1AC1A9F31299A287006FBC77 /* AnalyzerStatsChecker.cpp in Sources */, - 1AC1A9F41299A287006FBC77 /* ArrayBoundChecker.cpp in Sources */, - 1AC1A9F51299A287006FBC77 /* AttrNonNullChecker.cpp in Sources */, - 1AC1A9F61299A287006FBC77 /* BasicConstraintManager.cpp in Sources */, - 1AC1A9F71299A287006FBC77 /* BasicObjCFoundationChecks.cpp in Sources */, - 1AC1A9F81299A287006FBC77 /* BasicStore.cpp in Sources */, - 1AC1A9F91299A287006FBC77 /* BasicValueFactory.cpp in Sources */, - 1AC1A9FA1299A287006FBC77 /* BugReporter.cpp in Sources */, - 1AC1A9FB1299A287006FBC77 /* BugReporterVisitors.cpp in Sources */, - 1AC1A9FC1299A287006FBC77 /* BuiltinFunctionChecker.cpp in Sources */, - 1AC1A9FD1299A287006FBC77 /* CallAndMessageChecker.cpp in Sources */, - 1AC1A9FE1299A287006FBC77 /* CastSizeChecker.cpp in Sources */, - 1AC1A9FF1299A287006FBC77 /* CastToStructChecker.cpp in Sources */, - 1AC1AA001299A287006FBC77 /* CFRefCount.cpp in Sources */, - 1AC1AA011299A287006FBC77 /* CheckDeadStores.cpp in Sources */, - 1AC1AA021299A287006FBC77 /* Checker.cpp in Sources */, - 1AC1AA031299A287006FBC77 /* CheckerHelpers.cpp in Sources */, - 1AC1AA041299A287006FBC77 /* CheckObjCDealloc.cpp in Sources */, - 1AC1AA051299A287006FBC77 /* CheckObjCInstMethSignature.cpp in Sources */, - 1AC1AA061299A287006FBC77 /* CheckSecuritySyntaxOnly.cpp in Sources */, - 1AC1AA071299A287006FBC77 /* CheckSizeofPointer.cpp in Sources */, - 1AC1AA081299A287006FBC77 /* ChrootChecker.cpp in Sources */, - 1AC1AA091299A287006FBC77 /* CocoaConventions.cpp in Sources */, - 1AC1AA0A1299A287006FBC77 /* CStringChecker.cpp in Sources */, - 1AC1AB3D1299A287006FBC77 /* DereferenceChecker.cpp in Sources */, - 1AC1AB3E1299A287006FBC77 /* DivZeroChecker.cpp in Sources */, - 1AC1AB3F1299A287006FBC77 /* Environment.cpp in Sources */, - 1AC1AB401299A287006FBC77 /* ExplodedGraph.cpp in Sources */, - 1AC1AB411299A287006FBC77 /* FixedAddressChecker.cpp in Sources */, - 1AC1AB421299A287006FBC77 /* FlatStore.cpp in Sources */, - 1AC1AB431299A287006FBC77 /* FrontendActions.cpp in Sources */, - 1AC1AB441299A287006FBC77 /* GRBlockCounter.cpp in Sources */, - 1AC1AB451299A287006FBC77 /* GRCoreEngine.cpp in Sources */, - 1AC1AB461299A287006FBC77 /* GRCXXExprEngine.cpp in Sources */, - 1AC1AB471299A287006FBC77 /* GRExprEngine.cpp in Sources */, - 1AC1AB481299A287006FBC77 /* GRExprEngineExperimentalChecks.cpp in Sources */, - 1AC1AB491299A287006FBC77 /* GRState.cpp in Sources */, - 1AC1AB4A1299A287006FBC77 /* HTMLDiagnostics.cpp in Sources */, - 1AC1AB4B1299A287006FBC77 /* IdempotentOperationChecker.cpp in Sources */, - 1AC1AB4C1299A287006FBC77 /* LLVMConventionsChecker.cpp in Sources */, - 1AC1AB4D1299A287006FBC77 /* MacOSXAPIChecker.cpp in Sources */, - 1AC1AB4F1299A287006FBC77 /* MallocChecker.cpp in Sources */, - 1AC1AB501299A287006FBC77 /* ManagerRegistry.cpp in Sources */, - 1AC1AB511299A287006FBC77 /* MemRegion.cpp in Sources */, - 1AC1AB521299A287006FBC77 /* NoReturnFunctionChecker.cpp in Sources */, - 1AC1AB531299A287006FBC77 /* NSAutoreleasePoolChecker.cpp in Sources */, - 1AC1AB541299A287006FBC77 /* NSErrorChecker.cpp in Sources */, - 1AC1AB551299A287006FBC77 /* ObjCAtSyncChecker.cpp in Sources */, - 1AC1AB561299A287006FBC77 /* ObjCUnusedIVarsChecker.cpp in Sources */, - 1AC1AB571299A287006FBC77 /* OSAtomicChecker.cpp in Sources */, - 1AC1AB581299A287006FBC77 /* PathDiagnostic.cpp in Sources */, - 1AC1AB591299A287006FBC77 /* PlistDiagnostics.cpp in Sources */, - 1AC1AB5A1299A287006FBC77 /* PointerArithChecker.cpp in Sources */, - 1AC1AB5B1299A287006FBC77 /* PointerSubChecker.cpp in Sources */, - 1AC1AB5C1299A287006FBC77 /* PthreadLockChecker.cpp in Sources */, - 1AC1AB5D1299A287006FBC77 /* RangeConstraintManager.cpp in Sources */, - 1AC1AB5E1299A287006FBC77 /* RegionStore.cpp in Sources */, - 1AC1AD331299A287006FBC77 /* ReturnPointerRangeChecker.cpp in Sources */, - 1AC1AD341299A287006FBC77 /* ReturnUndefChecker.cpp in Sources */, - 1AC1AD351299A287006FBC77 /* SimpleConstraintManager.cpp in Sources */, - 1AC1AD361299A287006FBC77 /* SimpleSValuator.cpp in Sources */, - 1AC1AD371299A287006FBC77 /* StackAddrLeakChecker.cpp in Sources */, - 1AC1AD381299A287006FBC77 /* Store.cpp in Sources */, - 1AC1AD391299A287006FBC77 /* StreamChecker.cpp in Sources */, - 1AC1AD3A1299A287006FBC77 /* SVals.cpp in Sources */, - 1AC1AD3B1299A287006FBC77 /* SValuator.cpp in Sources */, - 1AC1AD3C1299A287006FBC77 /* SymbolManager.cpp in Sources */, - 1AC1AD3D1299A287006FBC77 /* UndefBranchChecker.cpp in Sources */, - 1AC1AD3E1299A287006FBC77 /* UndefCapturedBlockVarChecker.cpp in Sources */, - 1AC1AD3F1299A287006FBC77 /* UndefinedArraySubscriptChecker.cpp in Sources */, - 1AC1AD401299A287006FBC77 /* UndefinedAssignmentChecker.cpp in Sources */, - 1AC1AD411299A287006FBC77 /* UndefResultChecker.cpp in Sources */, - 1AC1AD421299A287006FBC77 /* UnixAPIChecker.cpp in Sources */, - 1AC1AD431299A287006FBC77 /* UnreachableCodeChecker.cpp in Sources */, - 1AC1AD441299A287006FBC77 /* ValueManager.cpp in Sources */, - 1AC1AD451299A287006FBC77 /* VLASizeChecker.cpp in Sources */, - 1A3D2C4E12A2CD3D0088C44A /* CGCXXABI.cpp in Sources */, - BB5C372912A5057500259F53 /* DumpXML.cpp in Sources */, - BBA5AB7E1309C2FA000B38F1 /* AdjustedReturnValueChecker.cpp in Sources */, - BBA5AB7F1309C2FA000B38F1 /* AnalyzerStatsChecker.cpp in Sources */, - BBA5AB801309C2FA000B38F1 /* ArrayBoundChecker.cpp in Sources */, - BBA5AB811309C2FA000B38F1 /* ArrayBoundCheckerV2.cpp in Sources */, - BBA5AB821309C2FA000B38F1 /* AttrNonNullChecker.cpp in Sources */, - BBA5AB831309C2FA000B38F1 /* BasicObjCFoundationChecks.cpp in Sources */, - BBA5AB841309C2FA000B38F1 /* BuiltinFunctionChecker.cpp in Sources */, - BBA5AB851309C2FA000B38F1 /* CallAndMessageChecker.cpp in Sources */, - BBA5AB861309C2FA000B38F1 /* CastSizeChecker.cpp in Sources */, - BBA5AB871309C2FA000B38F1 /* CastToStructChecker.cpp in Sources */, - BBA5AB881309C2FA000B38F1 /* CheckObjCDealloc.cpp in Sources */, - BBA5AB891309C2FA000B38F1 /* CheckObjCInstMethSignature.cpp in Sources */, - BBA5AB8A1309C2FA000B38F1 /* CheckSecuritySyntaxOnly.cpp in Sources */, - BBA5AB8B1309C2FA000B38F1 /* CheckSizeofPointer.cpp in Sources */, - BBA5AB8C1309C2FA000B38F1 /* ChrootChecker.cpp in Sources */, - BBA5AB8D1309C2FA000B38F1 /* ClangSACheckerProvider.cpp in Sources */, - BBA5AB8E1309C2FA000B38F1 /* CStringChecker.cpp in Sources */, - BBA5AB8F1309C2FA000B38F1 /* DeadStoresChecker.cpp in Sources */, - BBA5AB901309C2FA000B38F1 /* DereferenceChecker.cpp in Sources */, - BBA5AB911309C2FA000B38F1 /* DivZeroChecker.cpp in Sources */, - BBA5AB921309C2FA000B38F1 /* ExperimentalChecks.cpp in Sources */, - BBA5AB931309C2FA000B38F1 /* ExprEngine.cpp in Sources */, - BBA5AB941309C2FA000B38F1 /* FixedAddressChecker.cpp in Sources */, - BBA5AB951309C2FA000B38F1 /* IdempotentOperationChecker.cpp in Sources */, - BBA5AB961309C2FA000B38F1 /* LLVMConventionsChecker.cpp in Sources */, - BBA5AB971309C2FA000B38F1 /* MacOSXAPIChecker.cpp in Sources */, - BBA5AB991309C2FA000B38F1 /* MallocChecker.cpp in Sources */, - BBA5AB9A1309C2FA000B38F1 /* NoReturnFunctionChecker.cpp in Sources */, - BBA5AB9B1309C2FA000B38F1 /* NSAutoreleasePoolChecker.cpp in Sources */, - BBA5AB9C1309C2FA000B38F1 /* NSErrorChecker.cpp in Sources */, - BBA5AB9D1309C2FA000B38F1 /* ObjCAtSyncChecker.cpp in Sources */, - BBA5AB9E1309C2FA000B38F1 /* ObjCSelfInitChecker.cpp in Sources */, - BBA5AB9F1309C2FA000B38F1 /* ObjCUnusedIVarsChecker.cpp in Sources */, - BBA5ABA01309C2FA000B38F1 /* OSAtomicChecker.cpp in Sources */, - BBA5ABA11309C2FA000B38F1 /* PointerArithChecker.cpp in Sources */, - BBA5ABA21309C2FA000B38F1 /* PointerSubChecker.cpp in Sources */, - BBA5ABA31309C2FA000B38F1 /* PthreadLockChecker.cpp in Sources */, - BBA5ABA41309C2FA000B38F1 /* ReturnPointerRangeChecker.cpp in Sources */, - BBA5ABA51309C2FA000B38F1 /* ReturnUndefChecker.cpp in Sources */, - BBA5ABA61309C2FA000B38F1 /* StackAddrLeakChecker.cpp in Sources */, - BBA5ABA71309C2FA000B38F1 /* StreamChecker.cpp in Sources */, - BBA5ABA81309C2FA000B38F1 /* UndefBranchChecker.cpp in Sources */, - BBA5ABA91309C2FA000B38F1 /* UndefCapturedBlockVarChecker.cpp in Sources */, - BBA5ABAA1309C2FA000B38F1 /* UndefinedArraySubscriptChecker.cpp in Sources */, - BBA5ABAB1309C2FA000B38F1 /* UndefinedAssignmentChecker.cpp in Sources */, - BBA5ABAC1309C2FA000B38F1 /* UndefResultChecker.cpp in Sources */, - BBA5ABAD1309C2FA000B38F1 /* UnixAPIChecker.cpp in Sources */, - BBA5ABAE1309C2FA000B38F1 /* UnreachableCodeChecker.cpp in Sources */, - BBA5ABAF1309C2FA000B38F1 /* VLASizeChecker.cpp in Sources */, - BBA5ABB01309C2FA000B38F1 /* AggExprVisitor.cpp in Sources */, - BBA5ABB11309C2FA000B38F1 /* AnalysisManager.cpp in Sources */, - BBA5ABB21309C2FA000B38F1 /* BasicConstraintManager.cpp in Sources */, - BBA5ABB31309C2FA000B38F1 /* BasicStore.cpp in Sources */, - BBA5ABB41309C2FA000B38F1 /* BasicValueFactory.cpp in Sources */, - BBA5ABB51309C2FA000B38F1 /* BlockCounter.cpp in Sources */, - BBA5ABB61309C2FA000B38F1 /* BugReporter.cpp in Sources */, - BBA5ABB71309C2FA000B38F1 /* BugReporterVisitors.cpp in Sources */, - BBA5ABB81309C2FA000B38F1 /* CFRefCount.cpp in Sources */, - BBA5ABB91309C2FA000B38F1 /* Checker.cpp in Sources */, - BBA5ABBA1309C2FA000B38F1 /* CheckerHelpers.cpp in Sources */, - BBA5ABBB1309C2FA000B38F1 /* CheckerManager.cpp in Sources */, - BBA5ABBC1309C2FA000B38F1 /* CoreEngine.cpp in Sources */, - BBA5ABBD1309C2FA000B38F1 /* CXXExprEngine.cpp in Sources */, - BBA5ABBE1309C2FA000B38F1 /* Environment.cpp in Sources */, - BBA5ABBF1309C2FA000B38F1 /* ExplodedGraph.cpp in Sources */, - BBA5ABC01309C2FA000B38F1 /* FlatStore.cpp in Sources */, - BBA5ABC11309C2FA000B38F1 /* GRState.cpp in Sources */, - BBA5ABC21309C2FA000B38F1 /* HTMLDiagnostics.cpp in Sources */, - BBA5ABC41309C2FA000B38F1 /* MemRegion.cpp in Sources */, - BBA5ABC51309C2FA000B38F1 /* ObjCMessage.cpp in Sources */, - BBA5ABC61309C2FA000B38F1 /* PathDiagnostic.cpp in Sources */, - BBA5ABC71309C2FA000B38F1 /* PlistDiagnostics.cpp in Sources */, - BBA5ABC81309C2FA000B38F1 /* RangeConstraintManager.cpp in Sources */, *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 22:09:58 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 448BB106564A; Sat, 26 Feb 2011 22:09:58 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 194A88FC08; Sat, 26 Feb 2011 22:09:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QM9v3Q097818; Sat, 26 Feb 2011 22:09:57 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QM9vbH097817; Sat, 26 Feb 2011 22:09:57 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102262209.p1QM9vbH097817@svn.freebsd.org> From: Dimitry Andric Date: Sat, 26 Feb 2011 22:09:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219070 - vendor/clang/clang-r126547 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 22:09:58 -0000 Author: dim Date: Sat Feb 26 22:09:57 2011 New Revision: 219070 URL: http://svn.freebsd.org/changeset/base/219070 Log: Tag clang r126547. Added: vendor/clang/clang-r126547/ - copied from r219069, vendor/clang/dist/ From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 22:45:40 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3003106566C; Sat, 26 Feb 2011 22:45:40 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 878EB8FC12; Sat, 26 Feb 2011 22:45:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QMjeDk099544; Sat, 26 Feb 2011 22:45:40 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QMjefm099542; Sat, 26 Feb 2011 22:45:40 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102262245.p1QMjefm099542@svn.freebsd.org> From: Dimitry Andric Date: Sat, 26 Feb 2011 22:45:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219071 - head/sys/netinet X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 22:45:40 -0000 Author: dim Date: Sat Feb 26 22:45:40 2011 New Revision: 219071 URL: http://svn.freebsd.org/changeset/base/219071 Log: Fix breakage in sys/netinet/sctp_sysctl.c, introduced by r219057. If SCTP_HAS_RTTC is not defined, this file fails to compile. Insert the necessary #ifdefs to make it work. Pointy hat to: rrs Modified: head/sys/netinet/sctp_sysctl.c Modified: head/sys/netinet/sctp_sysctl.c ============================================================================== --- head/sys/netinet/sctp_sysctl.c Sat Feb 26 22:09:57 2011 (r219070) +++ head/sys/netinet/sctp_sysctl.c Sat Feb 26 22:45:40 2011 (r219071) @@ -115,9 +115,11 @@ sctp_init_sysctls() SCTP_BASE_SYSCTL(sctp_vtag_time_wait) = SCTPCTL_TIME_WAIT_DEFAULT; SCTP_BASE_SYSCTL(sctp_buffer_splitting) = SCTPCTL_BUFFER_SPLITTING_DEFAULT; SCTP_BASE_SYSCTL(sctp_initial_cwnd) = SCTPCTL_INITIAL_CWND_DEFAULT; +#ifdef SCTP_HAS_RTTCC SCTP_BASE_SYSCTL(sctp_rttvar_bw) = SCTPCTL_RTTVAR_BW_DEFAULT; SCTP_BASE_SYSCTL(sctp_rttvar_rtt) = SCTPCTL_RTTVAR_RTT_DEFAULT; SCTP_BASE_SYSCTL(sctp_rttvar_eqret) = SCTPCTL_RTTVAR_EQRET_DEFAULT; +#endif #if defined(SCTP_LOCAL_TRACE_BUF) memset(&SCTP_BASE_SYSCTL(sctp_log), 0, sizeof(struct sctp_log)); #endif @@ -636,9 +638,11 @@ sysctl_sctp_check(SYSCTL_HANDLER_ARGS) RANGECHK(SCTP_BASE_SYSCTL(sctp_vtag_time_wait), SCTPCTL_TIME_WAIT_MIN, SCTPCTL_TIME_WAIT_MAX); RANGECHK(SCTP_BASE_SYSCTL(sctp_buffer_splitting), SCTPCTL_BUFFER_SPLITTING_MIN, SCTPCTL_BUFFER_SPLITTING_MAX); RANGECHK(SCTP_BASE_SYSCTL(sctp_initial_cwnd), SCTPCTL_INITIAL_CWND_MIN, SCTPCTL_INITIAL_CWND_MAX); +#ifdef SCTP_HAS_RTTCC RANGECHK(SCTP_BASE_SYSCTL(sctp_rttvar_bw), SCTPCTL_RTTVAR_BW_MIN, SCTPCTL_RTTVAR_BW_MAX); RANGECHK(SCTP_BASE_SYSCTL(sctp_rttvar_rtt), SCTPCTL_RTTVAR_RTT_MIN, SCTPCTL_RTTVAR_RTT_MAX); RANGECHK(SCTP_BASE_SYSCTL(sctp_rttvar_eqret), SCTPCTL_RTTVAR_EQRET_MIN, SCTPCTL_RTTVAR_EQRET_MAX); +#endif RANGECHK(SCTP_BASE_SYSCTL(sctp_mobility_base), SCTPCTL_MOBILITY_BASE_MIN, SCTPCTL_MOBILITY_BASE_MAX); RANGECHK(SCTP_BASE_SYSCTL(sctp_mobility_fasthandoff), SCTPCTL_MOBILITY_FASTHANDOFF_MIN, SCTPCTL_MOBILITY_FASTHANDOFF_MAX); RANGECHK(SCTP_BASE_SYSCTL(sctp_udp_tunneling_for_client_enable), SCTPCTL_UDP_TUNNELING_FOR_CLIENT_ENABLE_MIN, SCTPCTL_UDP_TUNNELING_FOR_CLIENT_ENABLE_MAX); @@ -1106,6 +1110,7 @@ SYSCTL_VNET_PROC(_net_inet_sctp, OID_AUT &SCTP_BASE_SYSCTL(sctp_initial_cwnd), 0, sysctl_sctp_check, "IU", SCTPCTL_INITIAL_CWND_DESC); +#ifdef SCTP_HAS_RTTCC SYSCTL_VNET_PROC(_net_inet_sctp, OID_AUTO, rttvar_bw, CTLTYPE_UINT | CTLFLAG_RW, &SCTP_BASE_SYSCTL(sctp_rttvar_bw), 0, sysctl_sctp_check, "IU", SCTPCTL_RTTVAR_BW_DESC); @@ -1117,6 +1122,7 @@ SYSCTL_VNET_PROC(_net_inet_sctp, OID_AUT SYSCTL_VNET_PROC(_net_inet_sctp, OID_AUTO, rttvar_eqret, CTLTYPE_UINT | CTLFLAG_RW, &SCTP_BASE_SYSCTL(sctp_rttvar_eqret), 0, sysctl_sctp_check, "IU", SCTPCTL_RTTVAR_EQRET_DESC); +#endif #ifdef SCTP_DEBUG SYSCTL_VNET_PROC(_net_inet_sctp, OID_AUTO, debug, CTLTYPE_UINT | CTLFLAG_RW, From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 23:05:47 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 807DD106567A; Sat, 26 Feb 2011 23:05:47 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6F9958FC13; Sat, 26 Feb 2011 23:05:47 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QN5lHJ000745; Sat, 26 Feb 2011 23:05:47 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QN5l9I000743; Sat, 26 Feb 2011 23:05:47 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102262305.p1QN5l9I000743@svn.freebsd.org> From: Dimitry Andric Date: Sat, 26 Feb 2011 23:05:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219072 - head/contrib/llvm/tools/clang/lib/Driver X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 23:05:47 -0000 Author: dim Date: Sat Feb 26 23:05:47 2011 New Revision: 219072 URL: http://svn.freebsd.org/changeset/base/219072 Log: Remove misapplied space. Modified: head/contrib/llvm/tools/clang/lib/Driver/Tools.cpp Modified: head/contrib/llvm/tools/clang/lib/Driver/Tools.cpp ============================================================================== --- head/contrib/llvm/tools/clang/lib/Driver/Tools.cpp Sat Feb 26 22:45:40 2011 (r219071) +++ head/contrib/llvm/tools/clang/lib/Driver/Tools.cpp Sat Feb 26 23:05:47 2011 (r219072) @@ -3206,7 +3206,7 @@ void freebsd::Link::ConstructJob(Compila } Args.AddAllArgs(CmdArgs, options::OPT_L); - + const ToolChain::path_list Paths = getToolChain().getFilePaths(); for (ToolChain::path_list::const_iterator i = Paths.begin(), e = Paths.end(); i != e; ++i) From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 23:07:44 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C1CF106564A; Sat, 26 Feb 2011 23:07:44 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EF5918FC15; Sat, 26 Feb 2011 23:07:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QN7hkK000943; Sat, 26 Feb 2011 23:07:43 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QN7hJt000941; Sat, 26 Feb 2011 23:07:43 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102262307.p1QN7hJt000941@svn.freebsd.org> From: Dimitry Andric Date: Sat, 26 Feb 2011 23:07:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219073 - head/contrib/llvm/tools/clang/lib/Driver X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 23:07:44 -0000 Author: dim Date: Sat Feb 26 23:07:43 2011 New Revision: 219073 URL: http://svn.freebsd.org/changeset/base/219073 Log: Remove getDriver().Dir + /../libexec and /usr/libexec from clang's program paths. Unlike gcc, clang has no executables in libexec. Modified: head/contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp Modified: head/contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp ============================================================================== --- head/contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp Sat Feb 26 23:05:47 2011 (r219072) +++ head/contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp Sat Feb 26 23:07:43 2011 (r219073) @@ -1108,8 +1108,6 @@ FreeBSD::FreeBSD(const HostInfo &Host, c llvm::Triple::x86_64) Lib32 = true; - getProgramPaths().push_back(getDriver().Dir + "/../libexec"); - getProgramPaths().push_back("/usr/libexec"); if (Lib32) { getFilePaths().push_back(CLANG_PREFIX "/usr/lib32"); } else { From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 23:12:36 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2649106564A; Sat, 26 Feb 2011 23:12:36 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 912D58FC08; Sat, 26 Feb 2011 23:12:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QNCauY001395; Sat, 26 Feb 2011 23:12:36 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QNCa86001392; Sat, 26 Feb 2011 23:12:36 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201102262312.p1QNCa86001392@svn.freebsd.org> From: Dimitry Andric Date: Sat, 26 Feb 2011 23:12:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219074 - head/lib/clang/include/llvm/Config X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 23:12:36 -0000 Author: dim Date: Sat Feb 26 23:12:36 2011 New Revision: 219074 URL: http://svn.freebsd.org/changeset/base/219074 Log: Update llvm's config.h files to match more closely what is generated by a regular autoconf-based build. More cosmetic than functional changes. Modified: head/lib/clang/include/llvm/Config/config.h head/lib/clang/include/llvm/Config/llvm-config.h Modified: head/lib/clang/include/llvm/Config/config.h ============================================================================== --- head/lib/clang/include/llvm/Config/config.h Sat Feb 26 23:07:43 2011 (r219073) +++ head/lib/clang/include/llvm/Config/config.h Sat Feb 26 23:12:36 2011 (r219074) @@ -27,13 +27,13 @@ #define ENABLE_CBE_PRINTF_A 1 /* Define if position independent code is enabled */ -#define ENABLE_PIC 1 +#define ENABLE_PIC 0 /* Define if threads enabled */ -/* #undef ENABLE_THREADS */ +#define ENABLE_THREADS 0 /* Define if timestamp information (e.g., __DATE___) is allowed */ -/* #undef ENABLE_TIMESTAMPS */ +#define ENABLE_TIMESTAMPS 0 /* Define to 1 if you have the `argz_append' function. */ /* #undef HAVE_ARGZ_APPEND */ @@ -74,9 +74,16 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_CRASHREPORTERCLIENT_H */ +/* Define if __crashreporter_info__ exists. */ +#define HAVE_CRASHREPORTER_INFO 0 + /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 +/* Define to 1 if you have the declaration of `strerror_s', and to 0 if you + don't. */ +#define HAVE_DECL_STRERROR_S 0 + /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 @@ -202,7 +209,7 @@ /* #undef HAVE_LIBPSAPI */ /* Define to 1 if you have the `pthread' library (-lpthread). */ -#define HAVE_LIBPTHREAD 1 +/* #undef HAVE_LIBPTHREAD */ /* Define to 1 if you have the `udis86' library (-ludis86). */ /* #undef HAVE_LIBUDIS86 */ @@ -383,9 +390,6 @@ /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 -/* Define to 1 if you have the `strerror_s' function. */ -/* #undef HAVE_STRERROR_S */ - /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 @@ -439,6 +443,9 @@ /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_UIO_H 1 + /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 @@ -466,14 +473,98 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ +/* Define to 1 if you have the `writev' function. */ +#define HAVE_WRITEV 1 + /* Define if the xdot.py program is available */ /* #undef HAVE_XDOT_PY */ +/* Have host's _alloca */ +/* #undef HAVE__ALLOCA */ + +/* Have host's __alloca */ +/* #undef HAVE___ALLOCA */ + +/* Have host's __ashldi3 */ +/* #undef HAVE___ASHLDI3 */ + +/* Have host's __ashrdi3 */ +/* #undef HAVE___ASHRDI3 */ + +/* Have host's __chkstk */ +/* #undef HAVE___CHKSTK */ + +/* Have host's __cmpdi2 */ +/* #undef HAVE___CMPDI2 */ + +/* Have host's __divdi3 */ +/* #undef HAVE___DIVDI3 */ + /* Define to 1 if you have the `__dso_handle' function. */ #define HAVE___DSO_HANDLE 1 +/* Have host's __fixdfdi */ +/* #undef HAVE___FIXDFDI */ + +/* Have host's __fixsfdi */ +/* #undef HAVE___FIXSFDI */ + +/* Have host's __floatdidf */ +/* #undef HAVE___FLOATDIDF */ + +/* Have host's __lshrdi3 */ +/* #undef HAVE___LSHRDI3 */ + +/* Have host's __main */ +/* #undef HAVE___MAIN */ + +/* Have host's __moddi3 */ +/* #undef HAVE___MODDI3 */ + +/* Have host's __udivdi3 */ +/* #undef HAVE___UDIVDI3 */ + +/* Have host's __umoddi3 */ +/* #undef HAVE___UMODDI3 */ + +/* Have host's ___chkstk */ +/* #undef HAVE____CHKSTK */ + +/* Linker version detected at compile time. */ +/* #undef HOST_LINK_VERSION */ + +/* Installation directory for binary executables */ +/* #undef LLVM_BINDIR */ + +/* Time at which LLVM was configured */ +/* #undef LLVM_CONFIGTIME */ + +/* Installation directory for data files */ +/* #undef LLVM_DATADIR */ + +/* Installation directory for documentation */ +/* #undef LLVM_DOCSDIR */ + +/* Installation directory for config files */ +/* #undef LLVM_ETCDIR */ + +/* Host triple we were built on */ +/* #undef LLVM_HOSTTRIPLE */ + +/* Installation directory for include files */ +/* #undef LLVM_INCLUDEDIR */ + +/* Installation directory for .info files */ +/* #undef LLVM_INFODIR */ + +/* Installation directory for libraries */ +/* #undef LLVM_LIBDIR */ + +/* Installation directory for man pages */ +/* #undef LLVM_MANDIR */ + /* Build multithreading support into LLVM */ -/* #undef LLVM_MULTITHREADED */ +#define LLVM_MULTITHREADED 0 /* LLVM architecture name for the native architecture, if available */ #define LLVM_NATIVE_ARCH X86 @@ -521,7 +612,7 @@ /* #undef LLVM_PATH_XDOT_PY */ /* Installation prefix directory */ -#define LLVM_PREFIX "/usr" +/* #undef LLVM_PREFIX */ /* Define if the OS needs help to load dependent libraries for dlopen(). */ #define LTDL_DLOPEN_DEPLIBS 1 Modified: head/lib/clang/include/llvm/Config/llvm-config.h ============================================================================== --- head/lib/clang/include/llvm/Config/llvm-config.h Sat Feb 26 23:07:43 2011 (r219073) +++ head/lib/clang/include/llvm/Config/llvm-config.h Sat Feb 26 23:12:36 2011 (r219074) @@ -18,8 +18,38 @@ /* TODO: This is a bit of a hack. */ #ifndef CONFIG_H +/* Installation directory for binary executables */ +/* #undef LLVM_BINDIR */ + +/* Time at which LLVM was configured */ +/* #undef LLVM_CONFIGTIME */ + +/* Installation directory for data files */ +/* #undef LLVM_DATADIR */ + +/* Installation directory for documentation */ +/* #undef LLVM_DOCSDIR */ + +/* Installation directory for config files */ +/* #undef LLVM_ETCDIR */ + +/* Host triple we were built on */ +/* #undef LLVM_HOSTTRIPLE */ + +/* Installation directory for include files */ +/* #undef LLVM_INCLUDEDIR */ + +/* Installation directory for .info files */ +/* #undef LLVM_INFODIR */ + +/* Installation directory for libraries */ +/* #undef LLVM_LIBDIR */ + +/* Installation directory for man pages */ +/* #undef LLVM_MANDIR */ + /* Build multithreading support into LLVM */ -/* #undef LLVM_MULTITHREADED */ +#define LLVM_MULTITHREADED 0 /* LLVM architecture name for the native architecture, if available */ #define LLVM_NATIVE_ARCH X86 @@ -64,6 +94,6 @@ /* #undef LLVM_PATH_TWOPI */ /* Installation prefix directory */ -#define LLVM_PREFIX "/usr" +/* #undef LLVM_PREFIX */ #endif From owner-svn-src-all@FreeBSD.ORG Sat Feb 26 23:30:32 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A660106564A; Sat, 26 Feb 2011 23:30:32 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 79CAA8FC0A; Sat, 26 Feb 2011 23:30:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1QNUWcs003526; Sat, 26 Feb 2011 23:30:32 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1QNUWDv003524; Sat, 26 Feb 2011 23:30:32 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201102262330.p1QNUWDv003524@svn.freebsd.org> From: Nathan Whitehorn Date: Sat, 26 Feb 2011 23:30:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219075 - head/sys/cam/scsi X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 23:30:32 -0000 Author: nwhitehorn Date: Sat Feb 26 23:30:32 2011 New Revision: 219075 URL: http://svn.freebsd.org/changeset/base/219075 Log: Missed a file in r219056: add disk description for da(4). Modified: head/sys/cam/scsi/scsi_da.c Modified: head/sys/cam/scsi/scsi_da.c ============================================================================== --- head/sys/cam/scsi/scsi_da.c Sat Feb 26 23:12:36 2011 (r219074) +++ head/sys/cam/scsi/scsi_da.c Sat Feb 26 23:30:32 2011 (r219075) @@ -1310,6 +1310,12 @@ daregister(struct cam_periph *periph, vo softc->disk->d_flags |= DISKFLAG_CANFLUSHCACHE; strlcpy(softc->disk->d_ident, cgd->serial_num, MIN(sizeof(softc->disk->d_ident), cgd->serial_num_len + 1)); + cam_strvis(softc->disk->d_descr, cgd->inq_data.vendor, + sizeof(cgd->inq_data.vendor), sizeof(softc->disk->d_descr)); + strlcat(softc->disk->d_descr, " ", sizeof(softc->disk->d_descr)); + cam_strvis(&softc->disk->d_descr[strlen(softc->disk->d_descr)], + cgd->inq_data.product, sizeof(cgd->inq_data.product), + sizeof(softc->disk->d_descr) - strlen(softc->disk->d_descr)); softc->disk->d_hba_vendor = cpi.hba_vendor; softc->disk->d_hba_device = cpi.hba_device; softc->disk->d_hba_subvendor = cpi.hba_subvendor;