From owner-svn-src-projects@FreeBSD.ORG Sun Nov 17 03:08:18 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94489B8C; Sun, 17 Nov 2013 03:08:18 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 84FC42400; Sun, 17 Nov 2013 03:08:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAH38IQk094060; Sun, 17 Nov 2013 03:08:18 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAH38IFX094058; Sun, 17 Nov 2013 03:08:18 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201311170308.rAH38IFX094058@svn.freebsd.org> From: Marcel Moolenaar Date: Sun, 17 Nov 2013 03:08:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258248 - in projects/altix2/sys: kern sys X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 03:08:18 -0000 Author: marcel Date: Sun Nov 17 03:08:17 2013 New Revision: 258248 URL: http://svnweb.freebsd.org/changeset/base/258248 Log: Add some more tag accessor functions: . busdma_tag_get_align() . busdma_tag_get_bndry() Add an I/O MMU private field to the MD's segment. The implementation for sparc64 uses it to save a pointer to the corresponding struct resource. I may remove it later, since it doesn't seem to be necessary per se. Modified: projects/altix2/sys/kern/subr_busdma.c projects/altix2/sys/sys/busdma.h Modified: projects/altix2/sys/kern/subr_busdma.c ============================================================================== --- projects/altix2/sys/kern/subr_busdma.c Sun Nov 17 02:26:09 2013 (r258247) +++ projects/altix2/sys/kern/subr_busdma.c Sun Nov 17 03:08:17 2013 (r258248) @@ -72,6 +72,7 @@ struct busdma_md_seg { vm_paddr_t mds_paddr; vm_offset_t mds_vaddr; vm_size_t mds_size; + uintptr_t mds_iommu; }; struct busdma_md { @@ -625,6 +626,24 @@ busdma_tag_destroy(struct busdma_tag *ta } bus_addr_t +busdma_tag_get_align(struct busdma_tag *tag) +{ + + CTR2(KTR_BUSDMA, "%s: tag=%p", __func__, tag); + + return ((tag != NULL) ? tag->dt_align : 0UL); +} + +bus_addr_t +busdma_tag_get_bndry(struct busdma_tag *tag) +{ + + CTR2(KTR_BUSDMA, "%s: tag=%p", __func__, tag); + + return ((tag != NULL) ? tag->dt_bndry : 0UL); +} + +bus_addr_t busdma_tag_get_maxaddr(struct busdma_tag *tag) { @@ -695,6 +714,19 @@ busdma_md_get_flags(struct busdma_md *md return ((md != NULL) ? md->md_flags : 0); } +uintptr_t +busdma_md_get_iommu(struct busdma_md *md, u_int idx) +{ + struct busdma_md_seg *seg; + uintptr_t iommu; + + CTR3(KTR_BUSDMA, "%s: md=%p, idx=%u", __func__, md, idx); + + seg = _busdma_md_get_seg(md, idx); + iommu = (seg != NULL) ? seg->mds_iommu : 0UL; + return (iommu); +} + u_int busdma_md_get_nsegs(struct busdma_md *md) { @@ -755,6 +787,24 @@ busdma_md_get_vaddr(struct busdma_md *md return (vaddr); } +uintptr_t +busdma_md_set_iommu(struct busdma_md *md, u_int idx, uintptr_t iommu) +{ + struct busdma_md_seg *seg; + uintptr_t prev; + + CTR4(KTR_BUSDMA, "%s: md=%p, idx=%u, iommu=%jx", __func__, md, idx, + (uintmax_t)iommu); + + seg = _busdma_md_get_seg(md, idx); + if (seg != NULL) { + prev = seg->mds_iommu; + seg->mds_iommu = iommu; + } else + prev = 0UL; + return (prev); +} + int busdma_md_load_ccb(busdma_md_t md, union ccb *ccb, busdma_callback_f cb, void *arg, u_int flags) Modified: projects/altix2/sys/sys/busdma.h ============================================================================== --- projects/altix2/sys/sys/busdma.h Sun Nov 17 02:26:09 2013 (r258247) +++ projects/altix2/sys/sys/busdma.h Sun Nov 17 03:08:17 2013 (r258248) @@ -93,6 +93,8 @@ int busdma_tag_derive(busdma_tag_t tag, */ int busdma_tag_destroy(busdma_tag_t tag); +bus_addr_t busdma_tag_get_align(busdma_tag_t tag); +bus_addr_t busdma_tag_get_bndry(busdma_tag_t tag); bus_addr_t busdma_tag_get_maxaddr(busdma_tag_t tag); /* @@ -121,9 +123,11 @@ u_int busdma_md_get_flags(busdma_md_t md u_int busdma_md_get_nsegs(busdma_md_t md); busdma_tag_t busdma_md_get_tag(busdma_md_t md); bus_addr_t busdma_md_get_busaddr(busdma_md_t md, u_int idx); +uintptr_t busdma_md_get_iommu(busdma_md_t md, u_int idx); vm_paddr_t busdma_md_get_paddr(busdma_md_t md, u_int idx); -vm_offset_t busdma_md_get_vaddr(busdma_md_t md, u_int idx); vm_size_t busdma_md_get_size(busdma_md_t md, u_int idx); +vm_offset_t busdma_md_get_vaddr(busdma_md_t md, u_int idx); +uintptr_t busdma_md_set_iommu(busdma_md_t md, u_int idx, uintptr_t); static __inline void * busdma_md_get_pointer(busdma_md_t md, u_int idx) From owner-svn-src-projects@FreeBSD.ORG Sun Nov 17 03:11:37 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 63F5DD76; Sun, 17 Nov 2013 03:11:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 549632437; Sun, 17 Nov 2013 03:11:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAH3BbGr096780; Sun, 17 Nov 2013 03:11:37 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAH3BbCw096779; Sun, 17 Nov 2013 03:11:37 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201311170311.rAH3BbCw096779@svn.freebsd.org> From: Marcel Moolenaar Date: Sun, 17 Nov 2013 03:11:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258249 - projects/altix2/sys/sparc64/sparc64 X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 03:11:37 -0000 Author: marcel Date: Sun Nov 17 03:11:36 2013 New Revision: 258249 URL: http://svnweb.freebsd.org/changeset/base/258249 Log: Finish the first rough implementation. This seems to work fairly well. I can now do some basic performance comparisons to see how much overhead the busdma/mi approach has. Modified: projects/altix2/sys/sparc64/sparc64/iommu.c Modified: projects/altix2/sys/sparc64/sparc64/iommu.c ============================================================================== --- projects/altix2/sys/sparc64/sparc64/iommu.c Sun Nov 17 03:08:17 2013 (r258248) +++ projects/altix2/sys/sparc64/sparc64/iommu.c Sun Nov 17 03:11:36 2013 (r258249) @@ -1180,33 +1180,124 @@ iommu_xlate(device_t bus __unused, devic } int -iommu_map(device_t bus __unused, device_t dev __unused, - busdma_md_t md __unused, u_int idx __unused, bus_addr_t *ba_p __unused) +iommu_map(device_t bus, device_t dev __unused, busdma_md_t md, u_int idx, + bus_addr_t *ba_p) { + struct iommu_state *is, **isp; + struct resource *r; + busdma_tag_t tag; + bus_addr_t ba; + u_long align, bndry, maxaddr, size, start; + u_int flags, stream; + + isp = device_get_softc(bus); + is = *isp; + + ba = *ba_p; - return (ENOSYS); + tag = busdma_md_get_tag(md); + align = (busdma_tag_get_align(tag) + IO_PAGE_MASK) >> IO_PAGE_SHIFT; + bndry = busdma_tag_get_bndry(tag) >> IO_PAGE_SHIFT; + maxaddr = busdma_tag_get_maxaddr(tag) >> IO_PAGE_SHIFT; + size = busdma_md_get_size(md, idx) + (ba & IO_PAGE_MASK); + size = round_io_page(size) >> IO_PAGE_SHIFT; + + r = rman_reserve_resource_bound(&is->is_dvma_rman, 0L, maxaddr, size, + bndry, RF_ACTIVE | rman_make_alignment_flags(align), NULL); + if (r == NULL) + return (ENOMEM); + + size = rman_get_size(r); + start = rman_get_start(r) << IO_PAGE_SHIFT; + + *ba_p = start | (ba & IO_PAGE_MASK); + ba &= ~IO_PAGE_MASK; + busdma_md_set_iommu(md, idx, (uintptr_t)(void *)r); + + flags = busdma_md_get_flags(md); + stream = size >= IOMMU_STREAM_THRESH && IOMMU_HAS_SB(is) && + (flags & BUSDMA_ALLOC_COHERENT) == 0; + while (size > 0) { + iommu_enter(is, start, ba, stream, 0); + start += IO_PAGE_SIZE; + ba += IO_PAGE_SIZE; + size--; + } + return (0); } int -iommu_unmap(device_t bus __unused, device_t dev __unused, - busdma_md_t md __unused, u_int idx __unused) +iommu_unmap(device_t bus, device_t dev __unused, busdma_md_t md, u_int idx) { + struct iommu_state *is, **isp; + struct resource *r; + u_int sync; - return (ENOSYS); + isp = device_get_softc(bus); + is = *isp; + + IS_LOCK(is); + r = (void *)busdma_md_get_iommu(md, idx); + sync = iommu_remove(is, rman_get_start(r) << IO_PAGE_SHIFT, + rman_get_size(r) << IO_PAGE_SHIFT); + if (sync) + iommu_strbuf_sync(is); + rman_release_resource(r); + IS_UNLOCK(is); + return (0); } int -iommu_sync(device_t bus, device_t dev __unused, - busdma_md_t md __unused, u_int op __unused, bus_addr_t addr __unused, - bus_size_t size __unused) +iommu_sync(device_t bus, device_t dev __unused, busdma_md_t md, u_int op, + bus_addr_t addr, bus_size_t size) { struct iommu_state *is, **isp; + struct resource *r; + bus_addr_t ba; + bus_size_t sz; + u_long va; + u_int flags, idx, nsegs, sync; + + if ((op & BUSDMA_SYNC_PREWRITE) != BUSDMA_SYNC_PREWRITE && + (op & BUSDMA_SYNC_POSTREAD) != BUSDMA_SYNC_POSTREAD) + return (0); + + if ((op & BUSDMA_SYNC_PREWRITE) == BUSDMA_SYNC_PREWRITE) + membar(Sync); + + flags = busdma_md_get_flags(md); + if ((flags & BUSDMA_ALLOC_COHERENT) != 0) + return (0); isp = device_get_softc(bus); is = *isp; - if ((op & BUSDMA_SYNC_PREWRITE) == BUSDMA_SYNC_PREWRITE) - membar(Sync); + nsegs = busdma_md_get_nsegs(md); + for (idx = 0; idx < nsegs; idx++) { + ba = busdma_md_get_busaddr(md, idx); + sz = busdma_md_get_size(md, idx); + if (ba + sz <= addr || addr + size <= ba) + continue; + r = (void *)busdma_md_get_iommu(md, idx); + if (r == NULL) + continue; + + sz = rman_get_size(r); + va = rman_get_start(r) << IO_PAGE_SHIFT; + sync = 0; + IS_LOCK(is); + while (sz > 0) { + if ((IOMMU_GET_TTE(is, va) & IOTTE_STREAM) != 0) { + sync++; + iommu_strbuf_flush(is, va); + } + va += IO_PAGE_SIZE; + sz--; + } + if (sync) + iommu_strbuf_sync(is); + IS_UNLOCK(is); + } return (0); } From owner-svn-src-projects@FreeBSD.ORG Sun Nov 17 06:22:16 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1FD862CC; Sun, 17 Nov 2013 06:22:16 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 101A02B68; Sun, 17 Nov 2013 06:22:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAH6MFh1060511; Sun, 17 Nov 2013 06:22:15 GMT (envelope-from linimon@svn.freebsd.org) Received: (from linimon@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAH6MFa2060510; Sun, 17 Nov 2013 06:22:15 GMT (envelope-from linimon@svn.freebsd.org) Message-Id: <201311170622.rAH6MFa2060510@svn.freebsd.org> From: Mark Linimon Date: Sun, 17 Nov 2013 06:22:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258252 - projects/portbuild/conf X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 06:22:16 -0000 Author: linimon (doc,ports committer) Date: Sun Nov 17 06:22:15 2013 New Revision: 258252 URL: http://svnweb.freebsd.org/changeset/base/258252 Log: Update supported FreeBSD branches. Modified: projects/portbuild/conf/server.conf Modified: projects/portbuild/conf/server.conf ============================================================================== --- projects/portbuild/conf/server.conf Sun Nov 17 05:38:54 2013 (r258251) +++ projects/portbuild/conf/server.conf Sun Nov 17 06:22:15 2013 (r258252) @@ -17,12 +17,14 @@ SUPPORTED_ARCHS="amd64 arm i386 ia64 mips powerpc sparc64" -SRC_BRANCHES="7 8 9 10" +SRC_BRANCHES="8 9 10 11" SRC_BRANCHES_PATTERN="^[0-9]" -SRC_BRANCH_7_SUBDIR=releng/7.4/ SRC_BRANCH_8_SUBDIR=releng/8.3/ -SRC_BRANCH_9_SUBDIR=releng/9.0/ -SRC_BRANCH_10_SUBDIR=head/ +SRC_BRANCH_9_SUBDIR=releng/9.1/ +# 20131117 notyet +#SRC_BRANCH_10_SUBDIR=releng/10.0/ +SRC_BRANCH_10_SUBDIR=stable/10/ +SRC_BRANCH_11_SUBDIR=head/ # # directory management definitions From owner-svn-src-projects@FreeBSD.ORG Sun Nov 17 06:33:09 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5AD19419; Sun, 17 Nov 2013 06:33:09 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4AE382BC0; Sun, 17 Nov 2013 06:33:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAH6X9OH063807; Sun, 17 Nov 2013 06:33:09 GMT (envelope-from linimon@svn.freebsd.org) Received: (from linimon@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAH6X952063806; Sun, 17 Nov 2013 06:33:09 GMT (envelope-from linimon@svn.freebsd.org) Message-Id: <201311170633.rAH6X952063806@svn.freebsd.org> From: Mark Linimon Date: Sun, 17 Nov 2013 06:33:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258253 - projects/portbuild/admin/conf X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 06:33:09 -0000 Author: linimon (doc,ports committer) Date: Sun Nov 17 06:33:08 2013 New Revision: 258253 URL: http://svnweb.freebsd.org/changeset/base/258253 Log: Update supported FreeBSD branches. Modified: projects/portbuild/admin/conf/admin.conf Modified: projects/portbuild/admin/conf/admin.conf ============================================================================== --- projects/portbuild/admin/conf/admin.conf Sun Nov 17 06:22:15 2013 (r258252) +++ projects/portbuild/admin/conf/admin.conf Sun Nov 17 06:33:08 2013 (r258253) @@ -15,12 +15,14 @@ SUPPORTED_ARCHS="amd64 arm i386 ia64 mips powerpc sparc64" -SRC_BRANCHES="7 8 9 10" +SRC_BRANCHES="8 9 10 11" SRC_BRANCHES_PATTERN="^[0-9]" -SRC_BRANCH_7_SUBDIR=releng/7.4/ SRC_BRANCH_8_SUBDIR=releng/8.3/ -SRC_BRANCH_9_SUBDIR=releng/9.0/ -SRC_BRANCH_10_SUBDIR=head/ +SRC_BRANCH_9_SUBDIR=releng/9.1/ +# 20131117 notyet +#SRC_BRANCH_10_SUBDIR=releng/10.0/ +SRC_BRANCH_10_SUBDIR=stable/10/ +SRC_BRANCH_11_SUBDIR=head/ # # directory management definitions From owner-svn-src-projects@FreeBSD.ORG Sun Nov 17 10:17:02 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 194753AB; Sun, 17 Nov 2013 10:17:02 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 061B42512; Sun, 17 Nov 2013 10:17:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAHAH1VE038169; Sun, 17 Nov 2013 10:17:01 GMT (envelope-from markm@svn.freebsd.org) Received: (from markm@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAHAGvtu038127; Sun, 17 Nov 2013 10:16:57 GMT (envelope-from markm@svn.freebsd.org) Message-Id: <201311171016.rAHAGvtu038127@svn.freebsd.org> From: Mark Murray Date: Sun, 17 Nov 2013 10:16:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258255 - in projects/random_number_generator: . contrib/bmake contrib/bmake/lst.lib contrib/gcc contrib/gcc/config/rs6000 contrib/gcc/cp contrib/gcc/doc contrib/gcclibs/libcpp contrib/... X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 10:17:02 -0000 Author: markm Date: Sun Nov 17 10:16:56 2013 New Revision: 258255 URL: http://svnweb.freebsd.org/changeset/base/258255 Log: MFC - tracking commit. Added: projects/random_number_generator/sys/arm/ti/ti_mbox.c - copied unchanged from r258254, head/sys/arm/ti/ti_mbox.c projects/random_number_generator/sys/arm/ti/ti_mbox.h - copied unchanged from r258254, head/sys/arm/ti/ti_mbox.h projects/random_number_generator/sys/arm/ti/ti_pruss.c - copied unchanged from r258254, head/sys/arm/ti/ti_pruss.c projects/random_number_generator/sys/arm/ti/ti_pruss.h - copied unchanged from r258254, head/sys/arm/ti/ti_pruss.h projects/random_number_generator/sys/net/ieee_oui.h - copied unchanged from r258254, head/sys/net/ieee_oui.h Modified: projects/random_number_generator/Makefile.inc1 projects/random_number_generator/contrib/bmake/hash.c projects/random_number_generator/contrib/bmake/lst.lib/lstMember.c projects/random_number_generator/contrib/gcc/ChangeLog.gcc43 projects/random_number_generator/contrib/gcc/c-decl.c projects/random_number_generator/contrib/gcc/c-opts.c projects/random_number_generator/contrib/gcc/c.opt projects/random_number_generator/contrib/gcc/config/rs6000/rs6000.c projects/random_number_generator/contrib/gcc/cp/cp-lang.c projects/random_number_generator/contrib/gcc/cp/cp-tree.h projects/random_number_generator/contrib/gcc/cp/decl.c projects/random_number_generator/contrib/gcc/cp/tree.c projects/random_number_generator/contrib/gcc/cp/typeck.c projects/random_number_generator/contrib/gcc/doc/invoke.texi projects/random_number_generator/contrib/gcc/dwarf2out.c projects/random_number_generator/contrib/gcc/flags.h projects/random_number_generator/contrib/gcc/langhooks-def.h projects/random_number_generator/contrib/gcc/langhooks.h projects/random_number_generator/contrib/gcc/opts.c projects/random_number_generator/contrib/gcc/postreload-gcse.c projects/random_number_generator/contrib/gcc/regs.h projects/random_number_generator/contrib/gcc/rtlanal.c projects/random_number_generator/contrib/gcc/tree-vrp.c projects/random_number_generator/contrib/gcc/tree.h projects/random_number_generator/contrib/gcclibs/libcpp/files.c projects/random_number_generator/contrib/gcclibs/libcpp/internal.h projects/random_number_generator/contrib/gcclibs/libcpp/lex.c projects/random_number_generator/contrib/gperf/doc/gperf.1 projects/random_number_generator/contrib/gperf/src/options.cc projects/random_number_generator/contrib/gperf/src/options.h projects/random_number_generator/contrib/gperf/src/options.icc projects/random_number_generator/contrib/gperf/src/output.cc projects/random_number_generator/contrib/netcat/nc.1 projects/random_number_generator/contrib/netcat/netcat.c projects/random_number_generator/etc/Makefile projects/random_number_generator/etc/mtree/BSD.include.dist projects/random_number_generator/etc/mtree/BSD.tests.dist projects/random_number_generator/etc/mtree/BSD.usr.dist projects/random_number_generator/etc/mtree/Makefile projects/random_number_generator/etc/pkg/FreeBSD.conf projects/random_number_generator/lib/libc/stdio/printf_l.3 projects/random_number_generator/lib/libc/stdio/scanf_l.3 projects/random_number_generator/share/i18n/esdb/UTF/UTF.alias projects/random_number_generator/share/man/man4/pf.4 projects/random_number_generator/share/man/man4/rights.4 projects/random_number_generator/sys/amd64/amd64/machdep.c projects/random_number_generator/sys/amd64/ia32/ia32_signal.c projects/random_number_generator/sys/amd64/linux32/linux32_sysvec.c projects/random_number_generator/sys/arm/arm/trap.c projects/random_number_generator/sys/arm/econa/uart_bus_ec.c projects/random_number_generator/sys/arm/econa/uart_cpu_ec.c projects/random_number_generator/sys/arm/ti/files.ti projects/random_number_generator/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lz4.c projects/random_number_generator/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c projects/random_number_generator/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_compress.h projects/random_number_generator/sys/dev/acpica/acpi_hpet.c projects/random_number_generator/sys/dev/ahci/ahci.c projects/random_number_generator/sys/dev/ahci/ahci.h projects/random_number_generator/sys/dev/ata/ata-pci.h projects/random_number_generator/sys/dev/ata/chipsets/ata-intel.c projects/random_number_generator/sys/dev/bxe/bxe.c projects/random_number_generator/sys/dev/bxe/bxe.h projects/random_number_generator/sys/dev/bxe/bxe_elink.c projects/random_number_generator/sys/dev/bxe/ecore_hsi.h projects/random_number_generator/sys/dev/bxe/ecore_init.h projects/random_number_generator/sys/dev/bxe/ecore_reg.h projects/random_number_generator/sys/dev/bxe/ecore_sp.c projects/random_number_generator/sys/dev/bxe/ecore_sp.h projects/random_number_generator/sys/dev/ichsmb/ichsmb_pci.c projects/random_number_generator/sys/dev/iwn/if_iwn.c projects/random_number_generator/sys/dev/iwn/if_iwn_chip_cfg.h projects/random_number_generator/sys/dev/iwn/if_iwnreg.h projects/random_number_generator/sys/dev/nand/nand.c projects/random_number_generator/sys/dev/nand/nand.h projects/random_number_generator/sys/dev/nand/nand_generic.c projects/random_number_generator/sys/dev/oce/oce_hw.h projects/random_number_generator/sys/dev/oce/oce_sysctl.c projects/random_number_generator/sys/dev/qlxgbe/ql_hw.c projects/random_number_generator/sys/dev/qlxgbe/ql_hw.h projects/random_number_generator/sys/dev/qlxgbe/ql_ioctl.c projects/random_number_generator/sys/dev/qlxge/qls_ioctl.c projects/random_number_generator/sys/dev/sound/pci/hda/hdac.c projects/random_number_generator/sys/dev/sound/pci/hda/hdac.h projects/random_number_generator/sys/dev/sound/pci/hda/hdacc.c projects/random_number_generator/sys/dev/usb/controller/ehci_pci.c projects/random_number_generator/sys/dev/xen/balloon/balloon.c projects/random_number_generator/sys/geom/multipath/g_multipath.c projects/random_number_generator/sys/geom/multipath/g_multipath.h projects/random_number_generator/sys/i386/i386/machdep.c projects/random_number_generator/sys/i386/include/vm86.h projects/random_number_generator/sys/i386/linux/linux_sysvec.c projects/random_number_generator/sys/kern/kern_event.c projects/random_number_generator/sys/kern/subr_capability.c projects/random_number_generator/sys/kern/sys_generic.c projects/random_number_generator/sys/kern/uipc_mbuf.c projects/random_number_generator/sys/kern/uipc_mqueue.c projects/random_number_generator/sys/kern/vfs_bio.c projects/random_number_generator/sys/net/if_gif.c projects/random_number_generator/sys/netinet/sctp_bsd_addr.c projects/random_number_generator/sys/netinet/sctp_indata.c projects/random_number_generator/sys/netinet/sctp_output.c projects/random_number_generator/sys/netinet/sctp_pcb.c projects/random_number_generator/sys/netpfil/pf/pf_lb.c projects/random_number_generator/sys/pc98/pc98/machdep.c projects/random_number_generator/sys/powerpc/aim/mmu_oea64.c projects/random_number_generator/sys/powerpc/booke/machdep.c projects/random_number_generator/sys/powerpc/booke/pmap.c projects/random_number_generator/sys/powerpc/fpu/fpu_emu.c projects/random_number_generator/sys/powerpc/fpu/fpu_explode.c projects/random_number_generator/sys/powerpc/include/counter.h projects/random_number_generator/sys/powerpc/include/pcb.h projects/random_number_generator/sys/powerpc/mpc85xx/mpc85xx.h projects/random_number_generator/sys/powerpc/mpc85xx/platform_mpc85xx.c projects/random_number_generator/sys/powerpc/powerpc/genassym.c projects/random_number_generator/sys/powerpc/powerpc/swtch32.S projects/random_number_generator/sys/rpc/svc.c projects/random_number_generator/sys/sys/capability.h projects/random_number_generator/sys/x86/include/psl.h projects/random_number_generator/tools/regression/usr.sbin/etcupdate/fbsdid.sh projects/random_number_generator/usr.bin/procstat/procstat_files.c projects/random_number_generator/usr.sbin/etcupdate/etcupdate.sh projects/random_number_generator/usr.sbin/pkg/pkg.c projects/random_number_generator/usr.sbin/portsnap/portsnap/portsnap.sh Directory Properties: projects/random_number_generator/ (props changed) projects/random_number_generator/contrib/bmake/ (props changed) projects/random_number_generator/contrib/gcc/ (props changed) projects/random_number_generator/contrib/netcat/ (props changed) projects/random_number_generator/lib/libc/ (props changed) projects/random_number_generator/share/man/man4/ (props changed) projects/random_number_generator/sys/ (props changed) projects/random_number_generator/sys/cddl/contrib/opensolaris/ (props changed) projects/random_number_generator/usr.bin/procstat/ (props changed) Modified: projects/random_number_generator/Makefile.inc1 ============================================================================== --- projects/random_number_generator/Makefile.inc1 Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/Makefile.inc1 Sun Nov 17 10:16:56 2013 (r258255) @@ -509,7 +509,7 @@ _worldtmp: .endif .if ${MK_TESTS} != "no" mtree -deU -f ${.CURDIR}/etc/mtree/BSD.tests.dist \ - -p ${WORLDTMP}${TESTSBASE} >/dev/null + -p ${WORLDTMP}/usr >/dev/null .endif .for _mtree in ${LOCAL_MTREE} mtree -deU -f ${.CURDIR}/${_mtree} -p ${WORLDTMP} > /dev/null Modified: projects/random_number_generator/contrib/bmake/hash.c ============================================================================== --- projects/random_number_generator/contrib/bmake/hash.c Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/bmake/hash.c Sun Nov 17 10:16:56 2013 (r258255) @@ -221,6 +221,9 @@ Hash_FindEntry(Hash_Table *t, const char unsigned h; const char *p; + if (t == NULL || t->bucketPtr == NULL) { + return NULL; + } for (h = 0, p = key; *p;) h = (h << 5) - h + *p++; p = key; Modified: projects/random_number_generator/contrib/bmake/lst.lib/lstMember.c ============================================================================== --- projects/random_number_generator/contrib/bmake/lst.lib/lstMember.c Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/bmake/lst.lib/lstMember.c Sun Nov 17 10:16:56 2013 (r258255) @@ -58,6 +58,9 @@ Lst_Member(Lst l, void *d) List list = l; ListNode lNode; + if (list == NULL) { + return NULL; + } lNode = list->firstPtr; if (lNode == NULL) { return NULL; Modified: projects/random_number_generator/contrib/gcc/ChangeLog.gcc43 ============================================================================== --- projects/random_number_generator/contrib/gcc/ChangeLog.gcc43 Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/ChangeLog.gcc43 Sun Nov 17 10:16:56 2013 (r258255) @@ -1,9 +1,29 @@ -2007-06-05 Joerg Wunsch (r23479) +2007-06-05 Joerg Wunsch (r125346) PR preprocessor/23479 * doc/extend.texi: Document the 0b-prefixed binary integer constant extension. +2007-05-24 Richard Sandiford (r125037) + + * postreload-gcse.c (reg_changed_after_insn_p): New function. + (oprs_unchanged_p): Use it to check all registers in a REG. + (record_opr_changes): Look for clobbers in CALL_INSN_FUNCTION_USAGE. + (reg_set_between_after_reload_p): Delete. + (reg_used_between_after_reload_p): Likewise. + (reg_set_or_used_since_bb_start): Likewise. + (eliminate_partially_redundant_load): Use reg_changed_after_insn_p + and reg_used_between_p instead of reg_set_or_used_since_bb_start. + Use reg_set_between_p instead of reg_set_between_after_reload_p. + * rtlanal.c (reg_set_p): Check whether REG overlaps + regs_invalidated_by_call, rather than just checking the + membership of REGNO (REG). + +2007-05-03 Ian Lance Taylor (r124381) + + * config/rs6000/rs6000.c (rs6000_override_options): Don't set + MASK_PPC_GFXOPT for 8540 or 8548. + 2007-05-01 Dwarakanath Rajagopal (r124341) * doc/invoke.texi: Fix typo, 'AMD Family 10h core' instead of @@ -22,6 +42,57 @@ alignment for amdfam10 architecture. Increasing the max loop alignment to 24 bytes. +2007-04-16 Lawrence Crowl + + * doc/invoke.texi (Debugging Options): Add documentation for the + -femit-struct-debug options -femit-struct-debug-baseonly, + -femit-struct-debug-reduced, and + -femit-struct-debug-detailed[=...]. + + * c-opts.c (c_common_handle_option): Add + OPT_femit_struct_debug_baseonly, OPT_femit_struct_debug_reduced, + and OPT_femit_struct_debug_detailed_. + * c.opt: Add specifications for + -femit-struct-debug-baseonly, -femit-struct-debug-reduced, + and -femit-struct-debug-detailed[=...]. + * opts.c (set_struct_debug_option): Parse the + -femit-struct-debug-... options. + * opts.c (matches_main_base, main_input_basename, + main_input_baselength, base_of_path, matches_main_base): Add + variables and functions to compare header base name to compilation + unit base name. + * opts.c (should_emit_struct_debug): Add to determine to emit a + structure based on the option. + (dump_struct_debug) Also disabled function to debug this + function. + * opts.c (handle_options): Save the base name of the + compilation unit. + + * langhooks-def.h (LANG_HOOKS_GENERIC_TYPE_P): Define. + (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add. + This hook indicates if a type is generic. Set it by default + to "never generic". + * langhooks.h (struct lang_hooks_for_types): Add a new hook + to determine if a struct type is generic or not. + * cp/cp-tree.h (class_tmpl_impl_spec_p): Declare a C++ hook. + * cp/tree.c (class_tmpl_impl_spec_p): Implement the C++ hook. + * cp/cp-lang.c (LANG_HOOKS_GENERIC_TYPE_P): Override null C hook + with live C++ hook. + + * flags.h (enum debug_info_usage): Add an enumeration to describe + a program's use of a structure type. + * dwarf2out.c (gen_struct_or_union_type_die): Add a new parameter + to indicate the program's usage of the type. Filter structs based + on the -femit-struct-debug-... specification. + (gen_type_die): Split into two routines, gen_type_die and + gen_type_die_with_usage. gen_type_die is now a wrapper + that assumes direct usage. + (gen_type_die_with_usage): Replace calls to gen_type_die + with gen_type_die_with_usage adding the program usage of + the referenced type. + (dwarf2out_imported_module_or_decl): Suppress struct debug + information using should_emit_struct_debug when appropriate. + 2007-04-12 Richard Guenther (r123736) PR tree-optimization/24689 @@ -44,6 +115,19 @@ * config/i386/i386.c (override_options): Likewise. * doc/invoke.texi: Likewise. +2007-03-12 Seongbae Park + + * c-decl.c (warn_variable_length_array): New function. + Refactored from grokdeclarator to handle warn_vla + and handle unnamed array case. + (grokdeclarator): Refactored VLA warning case. + * c.opt (Wvla): New flag. + +2007-03-11 Ian Lance Taylor (r122831 - partial) + + * tree-vrp.c (vrp_int_const_binop): Handle PLUS_EXPR and + the *_DIV_EXPR codes correctly with overflow infinities. + 2007-02-09 Dwarakanath Rajagopal (r121763) * config/i386/driver-i386.c: Turn on -mtune=native for AMDFAM10. Modified: projects/random_number_generator/contrib/gcc/c-decl.c ============================================================================== --- projects/random_number_generator/contrib/gcc/c-decl.c Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/c-decl.c Sun Nov 17 10:16:56 2013 (r258255) @@ -3931,6 +3931,61 @@ check_bitfield_type_and_width (tree *typ } + +/* Print warning about variable length array if necessary. */ + +static void +warn_variable_length_array (const char *name, tree size) +{ + int ped = !flag_isoc99 && pedantic && warn_vla != 0; + int const_size = TREE_CONSTANT (size); + + if (ped) + { + if (const_size) + { + if (name) + pedwarn ("ISO C90 forbids array %qs whose size " + "can%'t be evaluated", + name); + else + pedwarn ("ISO C90 forbids array whose size " + "can%'t be evaluated"); + } + else + { + if (name) + pedwarn ("ISO C90 forbids variable length array %qs", + name); + else + pedwarn ("ISO C90 forbids variable length array"); + } + } + else if (warn_vla > 0) + { + if (const_size) + { + if (name) + warning (OPT_Wvla, + "the size of array %qs can" + "%'t be evaluated", name); + else + warning (OPT_Wvla, + "the size of array can %'t be evaluated"); + } + else + { + if (name) + warning (OPT_Wvla, + "variable length array %qs is used", + name); + else + warning (OPT_Wvla, + "variable length array is used"); + } + } +} + /* Given declspecs and a declarator, determine the name and type of the object declared and construct a ..._DECL node for it. @@ -4329,17 +4384,7 @@ grokdeclarator (const struct c_declarato nonconstant even if it is (eg) a const variable with known value. */ size_varies = 1; - - if (!flag_isoc99 && pedantic) - { - if (TREE_CONSTANT (size)) - pedwarn ("ISO C90 forbids array %qs whose size " - "can%'t be evaluated", - name); - else - pedwarn ("ISO C90 forbids variable-size array %qs", - name); - } + warn_variable_length_array (orig_name, size); if (warn_variable_decl) warning (0, "variable-sized array %qs", name); } Modified: projects/random_number_generator/contrib/gcc/c-opts.c ============================================================================== --- projects/random_number_generator/contrib/gcc/c-opts.c Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/c-opts.c Sun Nov 17 10:16:56 2013 (r258255) @@ -818,6 +818,18 @@ c_common_handle_option (size_t scode, co flag_gen_declaration = 1; break; + case OPT_femit_struct_debug_baseonly: + set_struct_debug_option ("base"); + break; + + case OPT_femit_struct_debug_reduced: + set_struct_debug_option ("dir:ord:sys,dir:gen:any,ind:base"); + break; + + case OPT_femit_struct_debug_detailed_: + set_struct_debug_option (arg); + break; + case OPT_idirafter: add_path (xstrdup (arg), AFTER, 0, true); break; Modified: projects/random_number_generator/contrib/gcc/c.opt ============================================================================== --- projects/random_number_generator/contrib/gcc/c.opt Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/c.opt Sun Nov 17 10:16:56 2013 (r258255) @@ -432,6 +432,10 @@ Wvariadic-macros C ObjC C++ ObjC++ Do not warn about using variadic macros when -pedantic +Wvla +C ObjC C++ ObjC++ Var(warn_vla) Init(-1) Warning +Warn if a variable length array is used + Wwrite-strings C ObjC C++ ObjC++ Var(warn_write_strings) In C++, nonzero means warn about deprecated conversion from string literals to `char *'. In C, similar warning, except that the conversion is of course not deprecated by the ISO C standard. @@ -761,6 +765,18 @@ gen-decls ObjC ObjC++ Dump declarations to a .decl file +femit-struct-debug-baseonly +C ObjC C++ ObjC++ +-femit-struct-debug-baseonly Aggressive reduced debug info for structs + +femit-struct-debug-reduced +C ObjC C++ ObjC++ +-femit-struct-debug-reduced Conservative reduced debug info for structs + +femit-struct-debug-detailed= +C ObjC C++ ObjC++ Joined +-femit-struct-debug-detailed= Detailed reduced debug info for structs + idirafter C ObjC C++ ObjC++ Joined Separate -idirafter Add to the end of the system include path Modified: projects/random_number_generator/contrib/gcc/config/rs6000/rs6000.c ============================================================================== --- projects/random_number_generator/contrib/gcc/config/rs6000/rs6000.c Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/config/rs6000/rs6000.c Sun Nov 17 10:16:56 2013 (r258255) @@ -1171,11 +1171,9 @@ rs6000_override_options (const char *def {"801", PROCESSOR_MPCCORE, POWERPC_BASE_MASK | MASK_SOFT_FLOAT}, {"821", PROCESSOR_MPCCORE, POWERPC_BASE_MASK | MASK_SOFT_FLOAT}, {"823", PROCESSOR_MPCCORE, POWERPC_BASE_MASK | MASK_SOFT_FLOAT}, - {"8540", PROCESSOR_PPC8540, - POWERPC_BASE_MASK | MASK_PPC_GFXOPT | MASK_STRICT_ALIGN}, + {"8540", PROCESSOR_PPC8540, POWERPC_BASE_MASK | MASK_STRICT_ALIGN}, /* 8548 has a dummy entry for now. */ - {"8548", PROCESSOR_PPC8540, - POWERPC_BASE_MASK | MASK_PPC_GFXOPT | MASK_STRICT_ALIGN}, + {"8548", PROCESSOR_PPC8540, POWERPC_BASE_MASK | MASK_STRICT_ALIGN}, {"860", PROCESSOR_MPCCORE, POWERPC_BASE_MASK | MASK_SOFT_FLOAT}, {"970", PROCESSOR_POWER4, POWERPC_7400_MASK | MASK_PPC_GPOPT | MASK_MFCRF | MASK_POWERPC64}, Modified: projects/random_number_generator/contrib/gcc/cp/cp-lang.c ============================================================================== --- projects/random_number_generator/contrib/gcc/cp/cp-lang.c Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/cp/cp-lang.c Sun Nov 17 10:16:56 2013 (r258255) @@ -44,6 +44,8 @@ static void cp_init_ts (void); #define LANG_HOOKS_NAME "GNU C++" #undef LANG_HOOKS_INIT #define LANG_HOOKS_INIT cxx_init +#undef LANG_HOOKS_GENERIC_TYPE_P +#define LANG_HOOKS_GENERIC_TYPE_P class_tmpl_impl_spec_p #undef LANG_HOOKS_DECL_PRINTABLE_NAME #define LANG_HOOKS_DECL_PRINTABLE_NAME cxx_printable_name #undef LANG_HOOKS_FOLD_OBJ_TYPE_REF Modified: projects/random_number_generator/contrib/gcc/cp/cp-tree.h ============================================================================== --- projects/random_number_generator/contrib/gcc/cp/cp-tree.h Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/cp/cp-tree.h Sun Nov 17 10:16:56 2013 (r258255) @@ -4373,6 +4373,7 @@ extern tree add_stmt_to_compound (tree, extern tree cxx_maybe_build_cleanup (tree); extern void init_tree (void); extern int pod_type_p (tree); +extern bool class_tmpl_impl_spec_p (tree); extern int zero_init_p (tree); extern tree canonical_type_variant (tree); extern tree copy_binfo (tree, tree, tree, Modified: projects/random_number_generator/contrib/gcc/cp/decl.c ============================================================================== --- projects/random_number_generator/contrib/gcc/cp/decl.c Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/cp/decl.c Sun Nov 17 10:16:56 2013 (r258255) @@ -6702,12 +6702,21 @@ compute_array_index_type (tree name, tre error ("size of array is not an integral constant-expression"); size = integer_one_node; } - else if (pedantic) + else if (pedantic && warn_vla != 0) { if (name) - pedwarn ("ISO C++ forbids variable-size array %qD", name); + pedwarn ("ISO C++ forbids variable length array %qD", name); else - pedwarn ("ISO C++ forbids variable-size array"); + pedwarn ("ISO C++ forbids variable length array"); + } + else if (warn_vla > 0) + { + if (name) + warning (OPT_Wvla, + "variable length array %qD is used", name); + else + warning (OPT_Wvla, + "variable length array is used"); } if (processing_template_decl && !TREE_CONSTANT (size)) Modified: projects/random_number_generator/contrib/gcc/cp/tree.c ============================================================================== --- projects/random_number_generator/contrib/gcc/cp/tree.c Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/cp/tree.c Sun Nov 17 10:16:56 2013 (r258255) @@ -1762,6 +1762,14 @@ pod_type_p (tree t) return 1; } +/* Nonzero iff type T is a class template implicit specialization. */ + +bool +class_tmpl_impl_spec_p (tree t) +{ + return CLASS_TYPE_P (t) && CLASSTYPE_TEMPLATE_INSTANTIATION (t); +} + /* Returns 1 iff zero initialization of type T means actually storing zeros in it. */ Modified: projects/random_number_generator/contrib/gcc/cp/typeck.c ============================================================================== --- projects/random_number_generator/contrib/gcc/cp/typeck.c Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/cp/typeck.c Sun Nov 17 10:16:56 2013 (r258255) @@ -3773,6 +3773,12 @@ build_binary_op (enum tree_code code, tr result = fold_if_not_in_template (result); if (final_type != 0) result = cp_convert (final_type, result); + + if (TREE_OVERFLOW_P (result) + && !TREE_OVERFLOW_P (op0) + && !TREE_OVERFLOW_P (op1)) + overflow_warning (result); + return result; } Modified: projects/random_number_generator/contrib/gcc/doc/invoke.texi ============================================================================== --- projects/random_number_generator/contrib/gcc/doc/invoke.texi Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/doc/invoke.texi Sun Nov 17 10:16:56 2013 (r258255) @@ -230,7 +230,8 @@ in the following sections. -Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol -Wunknown-pragmas -Wno-pragmas -Wunreachable-code @gol -Wunused -Wunused-function -Wunused-label -Wunused-parameter @gol --Wunused-value -Wunused-variable -Wvariadic-macros @gol +-Wunused-value -Wunused-variable @gol +-Wvariadic-macros -Wvla @gol -Wvolatile-register-var -Wwrite-strings} @item C-only Warning Options @@ -274,6 +275,8 @@ in the following sections. -ftest-coverage -ftime-report -fvar-tracking @gol -g -g@var{level} -gcoff -gdwarf-2 @gol -ggdb -gstabs -gstabs+ -gvms -gxcoff -gxcoff+ @gol +-femit-struct-debug-baseonly -femit-struct-debug-reduced @gol +-femit-struct-debug-detailed@r{[}=@var{spec-list}@r{]} @gol -p -pg -print-file-name=@var{library} -print-libgcc-file-name @gol -print-multi-directory -print-multi-lib @gol -print-prog-name=@var{program} -print-search-dirs -Q @gol @@ -3201,6 +3204,13 @@ Warn if variadic macros are used in peda alternate syntax when in pedantic ISO C99 mode. This is default. To inhibit the warning messages, use @option{-Wno-variadic-macros}. +@item -Wvla +@opindex Wvla +@opindex Wno-vla +Warn if variable length array is used in the code. +@option{-Wno-vla} will prevent the @option{-pedantic} warning of +the variable length array. + @item -Wvolatile-register-var @opindex Wvolatile-register-var @opindex Wno-volatile-register-var @@ -3403,6 +3413,78 @@ Compress DWARF2 debugging information by information about each symbol. This option only makes sense when generating DWARF2 debugging information with @option{-gdwarf-2}. +@item -femit-struct-debug-baseonly +Emit debug information for struct-like types +only when the base name of the compilation source file +matches the base name of file in which the struct was defined. + +This option substantially reduces the size of debugging information, +but at significant potential loss in type information to the debugger. +See @option{-femit-struct-debug-reduced} for a less aggressive option. +See @option{-femit-struct-debug-detailed} for more detailed control. + +This option works only with DWARF 2. + +@item -femit-struct-debug-reduced +Emit debug information for struct-like types +only when the base name of the compilation source file +matches the base name of file in which the type was defined, +unless the struct is a template or defined in a system header. + +This option significantly reduces the size of debugging information, +with some potential loss in type information to the debugger. +See @option{-femit-struct-debug-baseonly} for a more aggressive option. +See @option{-femit-struct-debug-detailed} for more detailed control. + +This option works only with DWARF 2. + +@item -femit-struct-debug-detailed@r{[}=@var{spec-list}@r{]} +Specify the struct-like types +for which the compiler will generate debug information. +The intent is to reduce duplicate struct debug information +between different object files within the same program. + +This option is a detailed version of +@option{-femit-struct-debug-reduced} and @option{-femit-struct-debug-baseonly}, +which will serve for most needs. + +A specification has the syntax +[@samp{dir:}|@samp{ind:}][@samp{ord:}|@samp{gen:}](@samp{any}|@samp{sys}|@samp{base}|@samp{none}) + +The optional first word limits the specification to +structs that are used directly (@samp{dir:}) or used indirectly (@samp{ind:}). +A struct type is used directly when it is the type of a variable, member. +Indirect uses arise through pointers to structs. +That is, when use of an incomplete struct would be legal, the use is indirect. +An example is +@samp{struct one direct; struct two * indirect;}. + +The optional second word limits the specification to +ordinary structs (@samp{ord:}) or generic structs (@samp{gen:}). +Generic structs are a bit complicated to explain. +For C++, these are non-explicit specializations of template classes, +or non-template classes within the above. +Other programming languages have generics, +but @samp{-femit-struct-debug-detailed} does not yet implement them. + +The third word specifies the source files for those +structs for which the compiler will emit debug information. +The values @samp{none} and @samp{any} have the normal meaning. +The value @samp{base} means that +the base of name of the file in which the type declaration appears +must match the base of the name of the main compilation file. +In practice, this means that +types declared in @file{foo.c} and @file{foo.h} will have debug information, +but types declared in other header will not. +The value @samp{sys} means those types satisfying @samp{base} +or declared in system or compiler headers. + +You may need to experiment to determine the best settings for your application. + +The default is @samp{-femit-struct-debug-detailed=all}. + +This option works only with DWARF 2. + @cindex @command{prof} @item -p @opindex p Modified: projects/random_number_generator/contrib/gcc/dwarf2out.c ============================================================================== --- projects/random_number_generator/contrib/gcc/dwarf2out.c Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/dwarf2out.c Sun Nov 17 10:16:56 2013 (r258255) @@ -4215,7 +4215,8 @@ static void gen_ptr_to_mbr_type_die (tre static dw_die_ref gen_compile_unit_die (const char *); static void gen_inheritance_die (tree, tree, dw_die_ref); static void gen_member_die (tree, dw_die_ref); -static void gen_struct_or_union_type_die (tree, dw_die_ref); +static void gen_struct_or_union_type_die (tree, dw_die_ref, + enum debug_info_usage); static void gen_subroutine_type_die (tree, dw_die_ref); static void gen_typedef_die (tree, dw_die_ref); static void gen_type_die (tree, dw_die_ref); @@ -12473,7 +12474,8 @@ gen_member_die (tree type, dw_die_ref co member DIEs needed by later specification DIEs. */ static void -gen_struct_or_union_type_die (tree type, dw_die_ref context_die) +gen_struct_or_union_type_die (tree type, dw_die_ref context_die, + enum debug_info_usage usage) { dw_die_ref type_die = lookup_type_die (type); dw_die_ref scope_die = 0; @@ -12482,6 +12484,7 @@ gen_struct_or_union_type_die (tree type, && (! TYPE_STUB_DECL (type) || ! TYPE_DECL_SUPPRESS_DEBUG (TYPE_STUB_DECL (type)))); int ns_decl = (context_die && context_die->die_tag == DW_TAG_namespace); + complete = complete && should_emit_struct_debug (type, usage); if (type_die && ! complete) return; @@ -12609,7 +12612,8 @@ gen_typedef_die (tree decl, dw_die_ref c /* Generate a type description DIE. */ static void -gen_type_die (tree type, dw_die_ref context_die) +gen_type_die_with_usage (tree type, dw_die_ref context_die, + enum debug_info_usage usage) { int need_pop; @@ -12657,16 +12661,19 @@ gen_type_die (tree type, dw_die_ref cont /* For these types, all that is required is that we output a DIE (or a set of DIEs) to represent the "basis" type. */ - gen_type_die (TREE_TYPE (type), context_die); + gen_type_die_with_usage (TREE_TYPE (type), context_die, + DINFO_USAGE_IND_USE); break; case OFFSET_TYPE: /* This code is used for C++ pointer-to-data-member types. Output a description of the relevant class type. */ - gen_type_die (TYPE_OFFSET_BASETYPE (type), context_die); + gen_type_die_with_usage (TYPE_OFFSET_BASETYPE (type), context_die, + DINFO_USAGE_IND_USE); /* Output a description of the type of the object pointed to. */ - gen_type_die (TREE_TYPE (type), context_die); + gen_type_die_with_usage (TREE_TYPE (type), context_die, + DINFO_USAGE_IND_USE); /* Now output a DIE to represent this pointer-to-data-member type itself. */ @@ -12675,13 +12682,15 @@ gen_type_die (tree type, dw_die_ref cont case FUNCTION_TYPE: /* Force out return type (in case it wasn't forced out already). */ - gen_type_die (TREE_TYPE (type), context_die); + gen_type_die_with_usage (TREE_TYPE (type), context_die, + DINFO_USAGE_DIR_USE); gen_subroutine_type_die (type, context_die); break; case METHOD_TYPE: /* Force out return type (in case it wasn't forced out already). */ - gen_type_die (TREE_TYPE (type), context_die); + gen_type_die_with_usage (TREE_TYPE (type), context_die, + DINFO_USAGE_DIR_USE); gen_subroutine_type_die (type, context_die); break; @@ -12707,7 +12716,7 @@ gen_type_die (tree type, dw_die_ref cont && AGGREGATE_TYPE_P (TYPE_CONTEXT (type)) && ! TREE_ASM_WRITTEN (TYPE_CONTEXT (type))) { - gen_type_die (TYPE_CONTEXT (type), context_die); + gen_type_die_with_usage (TYPE_CONTEXT (type), context_die, usage); if (TREE_ASM_WRITTEN (type)) return; @@ -12731,7 +12740,7 @@ gen_type_die (tree type, dw_die_ref cont gen_enumeration_type_die (type, context_die); } else - gen_struct_or_union_type_die (type, context_die); + gen_struct_or_union_type_die (type, context_die, usage); if (need_pop) pop_decl_scope (); @@ -12760,6 +12769,12 @@ gen_type_die (tree type, dw_die_ref cont TREE_ASM_WRITTEN (type) = 1; } +static void +gen_type_die (tree type, dw_die_ref context_die) +{ + gen_type_die_with_usage (type, context_die, DINFO_USAGE_DIR_USE); +} + /* Generate a DIE for a tagged type instantiation. */ static void @@ -13357,7 +13372,11 @@ dwarf2out_imported_module_or_decl (tree if (!context) scope_die = comp_unit_die; else if (TYPE_P (context)) + { + if (!should_emit_struct_debug (context, DINFO_USAGE_DIR_USE)) + return; scope_die = force_type_die (context); + } else scope_die = force_decl_die (context); @@ -13383,7 +13402,12 @@ dwarf2out_imported_module_or_decl (tree if (TYPE_CONTEXT (type)) if (TYPE_P (TYPE_CONTEXT (type))) + { + if (!should_emit_struct_debug (TYPE_CONTEXT (type), + DINFO_USAGE_DIR_USE)) + return; type_context_die = force_type_die (TYPE_CONTEXT (type)); + } else type_context_die = force_decl_die (TYPE_CONTEXT (type)); else Modified: projects/random_number_generator/contrib/gcc/flags.h ============================================================================== --- projects/random_number_generator/contrib/gcc/flags.h Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/flags.h Sun Nov 17 10:16:56 2013 (r258255) @@ -23,6 +23,7 @@ Software Foundation, 51 Franklin Street, #ifndef GCC_FLAGS_H #define GCC_FLAGS_H +#include "coretypes.h" #include "options.h" enum debug_info_type @@ -54,6 +55,25 @@ enum debug_info_level /* Specify how much debugging info to generate. */ extern enum debug_info_level debug_info_level; +/* A major contribution to object and executable size is debug + information size. A major contribution to debug information + size is struct descriptions replicated in several object files. + The following function determines whether or not debug information + should be generated for a given struct. The indirect parameter + indicates that the struct is being handled indirectly, via + a pointer. See opts.c for the implementation. */ + +enum debug_info_usage +{ + DINFO_USAGE_DFN, /* A struct definition. */ + DINFO_USAGE_DIR_USE, /* A direct use, such as the type of a variable. */ + DINFO_USAGE_IND_USE, /* An indirect use, such as through a pointer. */ + DINFO_USAGE_NUM_ENUMS /* The number of enumerators. */ +}; + +extern bool should_emit_struct_debug (tree type_decl, enum debug_info_usage); +extern void set_struct_debug_option (const char *value); + /* Nonzero means use GNU-only extensions in the generated symbolic debugging information. */ extern bool use_gnu_debug_info_extensions; Modified: projects/random_number_generator/contrib/gcc/langhooks-def.h ============================================================================== --- projects/random_number_generator/contrib/gcc/langhooks-def.h Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/langhooks-def.h Sun Nov 17 10:16:56 2013 (r258255) @@ -217,6 +217,7 @@ extern tree lhd_make_node (enum tree_cod so we create a compile-time error instead. */ #define LANG_HOOKS_MAKE_TYPE lhd_make_node #define LANG_HOOKS_INCOMPLETE_TYPE_ERROR lhd_incomplete_type_error +#define LANG_HOOKS_GENERIC_TYPE_P hook_bool_tree_false #define LANG_HOOKS_TYPE_PROMOTES_TO lhd_type_promotes_to #define LANG_HOOKS_REGISTER_BUILTIN_TYPE lhd_register_builtin_type #define LANG_HOOKS_TYPE_MAX_SIZE lhd_return_null_tree @@ -231,6 +232,7 @@ extern tree lhd_make_node (enum tree_cod LANG_HOOKS_UNSIGNED_TYPE, \ LANG_HOOKS_SIGNED_TYPE, \ LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE, \ + LANG_HOOKS_GENERIC_TYPE_P, \ LANG_HOOKS_TYPE_PROMOTES_TO, \ LANG_HOOKS_REGISTER_BUILTIN_TYPE, \ LANG_HOOKS_INCOMPLETE_TYPE_ERROR, \ Modified: projects/random_number_generator/contrib/gcc/langhooks.h ============================================================================== --- projects/random_number_generator/contrib/gcc/langhooks.h Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/langhooks.h Sun Nov 17 10:16:56 2013 (r258255) @@ -119,6 +119,10 @@ struct lang_hooks_for_types according to UNSIGNEDP. */ tree (*signed_or_unsigned_type) (int, tree); + /* True if the type is an instantiation of a generic type, + e.g. C++ template implicit specializations. */ + bool (*generic_p) (tree); + /* Given a type, apply default promotions to unnamed function arguments and return the new type. Return the same type if no change. Required by any language that supports variadic Modified: projects/random_number_generator/contrib/gcc/opts.c ============================================================================== --- projects/random_number_generator/contrib/gcc/opts.c Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/opts.c Sun Nov 17 10:16:56 2013 (r258255) @@ -79,6 +79,256 @@ enum debug_info_type write_symbols = NO_ the definitions of the different possible levels. */ enum debug_info_level debug_info_level = DINFO_LEVEL_NONE; +/* A major contribution to object and executable size is debug + information size. A major contribution to debug information size + is struct descriptions replicated in several object files. The + following flags attempt to reduce this information. The basic + idea is to not emit struct debugging information in the current + compilation unit when that information will be generated by + another compilation unit. + + Debug information for a struct defined in the current source + file should be generated in the object file. Likewise the + debug information for a struct defined in a header should be + generated in the object file of the corresponding source file. + Both of these case are handled when the base name of the file of + the struct definition matches the base name of the source file + of thet current compilation unit. This matching emits minimal + struct debugging information. + + The base file name matching rule above will fail to emit debug + information for structs defined in system headers. So a second + category of files includes system headers in addition to files + with matching bases. + + The remaining types of files are library headers and application + headers. We cannot currently distinguish these two types. */ + +enum debug_struct_file +{ + DINFO_STRUCT_FILE_NONE, /* Debug no structs. */ + DINFO_STRUCT_FILE_BASE, /* Debug structs defined in files with the + same base name as the compilation unit. */ + DINFO_STRUCT_FILE_SYS, /* Also debug structs defined in system + header files. */ + DINFO_STRUCT_FILE_ANY /* Debug structs defined in all files. */ +}; + +/* Generic structs (e.g. templates not explicitly specialized) + may not have a compilation unit associated with them, and so + may need to be treated differently from ordinary structs. + + Structs only handled by reference (indirectly), will also usually + not need as much debugging information. */ + +static enum debug_struct_file debug_struct_ordinary[DINFO_USAGE_NUM_ENUMS] + = { DINFO_STRUCT_FILE_ANY, DINFO_STRUCT_FILE_ANY, DINFO_STRUCT_FILE_ANY }; +static enum debug_struct_file debug_struct_generic[DINFO_USAGE_NUM_ENUMS] + = { DINFO_STRUCT_FILE_ANY, DINFO_STRUCT_FILE_ANY, DINFO_STRUCT_FILE_ANY }; + +/* Parse the -femit-struct-debug-detailed option value + and set the flag variables. */ + +#define MATCH( prefix, string ) \ + ((strncmp (prefix, string, sizeof prefix - 1) == 0) \ + ? ((string += sizeof prefix - 1), 1) : 0) + +void +set_struct_debug_option (const char *spec) +{ + /* various labels for comparison */ + static char dfn_lbl[] = "dfn:", dir_lbl[] = "dir:", ind_lbl[] = "ind:"; + static char ord_lbl[] = "ord:", gen_lbl[] = "gen:"; + static char none_lbl[] = "none", any_lbl[] = "any"; + static char base_lbl[] = "base", sys_lbl[] = "sys"; + + enum debug_struct_file files = DINFO_STRUCT_FILE_ANY; + /* Default is to apply to as much as possible. */ + enum debug_info_usage usage = DINFO_USAGE_NUM_ENUMS; + int ord = 1, gen = 1; + + /* What usage? */ + if (MATCH (dfn_lbl, spec)) + usage = DINFO_USAGE_DFN; + else if (MATCH (dir_lbl, spec)) + usage = DINFO_USAGE_DIR_USE; + else if (MATCH (ind_lbl, spec)) + usage = DINFO_USAGE_IND_USE; + + /* Generics or not? */ + if (MATCH (ord_lbl, spec)) + gen = 0; + else if (MATCH (gen_lbl, spec)) + ord = 0; + + /* What allowable environment? */ + if (MATCH (none_lbl, spec)) + files = DINFO_STRUCT_FILE_NONE; + else if (MATCH (any_lbl, spec)) + files = DINFO_STRUCT_FILE_ANY; + else if (MATCH (sys_lbl, spec)) + files = DINFO_STRUCT_FILE_SYS; + else if (MATCH (base_lbl, spec)) + files = DINFO_STRUCT_FILE_BASE; + else + error ("argument %qs to %<-femit-struct-debug-detailed%> not recognized", + spec); + + /* Effect the specification. */ + if (usage == DINFO_USAGE_NUM_ENUMS) + { + if (ord) + { + debug_struct_ordinary[DINFO_USAGE_DFN] = files; + debug_struct_ordinary[DINFO_USAGE_DIR_USE] = files; + debug_struct_ordinary[DINFO_USAGE_IND_USE] = files; + } + if (gen) + { + debug_struct_generic[DINFO_USAGE_DFN] = files; + debug_struct_generic[DINFO_USAGE_DIR_USE] = files; + debug_struct_generic[DINFO_USAGE_IND_USE] = files; + } + } + else + { + if (ord) + debug_struct_ordinary[usage] = files; + if (gen) + debug_struct_generic[usage] = files; + } + + if (*spec == ',') + set_struct_debug_option (spec+1); + else + { + /* No more -femit-struct-debug-detailed specifications. + Do final checks. */ + if (*spec != '\0') + error ("argument %qs to %<-femit-struct-debug-detailed%> unknown", + spec); + if (debug_struct_ordinary[DINFO_USAGE_DIR_USE] + < debug_struct_ordinary[DINFO_USAGE_IND_USE] + || debug_struct_generic[DINFO_USAGE_DIR_USE] + < debug_struct_generic[DINFO_USAGE_IND_USE]) + error ("%<-femit-struct-debug-detailed=dir:...%> must allow at least" + " as much as %<-femit-struct-debug-detailed=ind:...%>"); + } +} + +/* Find the base name of a path, stripping off both directories and + a single final extension. */ +static int +base_of_path (const char *path, const char **base_out) +{ + const char *base = path; + const char *dot = 0; + const char *p = path; + char c = *p; + while (c) + { + if (IS_DIR_SEPARATOR(c)) + { + base = p + 1; + dot = 0; + } + else if (c == '.') + dot = p; + c = *++p; + } + if (!dot) + dot = p; + *base_out = base; + return dot - base; +} + +/* Match the base name of a file to the base name of a compilation unit. */ + +static const char *main_input_basename; +static int main_input_baselength; + +static int +matches_main_base (const char *path) +{ + /* Cache the last query. */ + static const char *last_path = NULL; + static int last_match = 0; + if (path != last_path) + { + const char *base; + int length = base_of_path (path, &base); + last_path = path; + last_match = (length == main_input_baselength + && memcmp (base, main_input_basename, length) == 0); + } + return last_match; +} + +#ifdef DEBUG_DEBUG_STRUCT + +static int +dump_struct_debug (tree type, enum debug_info_usage usage, + enum debug_struct_file criterion, int generic, + int matches, int result) +{ + /* Find the type name. */ + tree type_decl = TYPE_STUB_DECL (type); + tree t = type_decl; + const char *name = 0; + if (TREE_CODE (t) == TYPE_DECL) + t = DECL_NAME (t); + if (t) + name = IDENTIFIER_POINTER (t); + + fprintf (stderr, " struct %d %s %s %s %s %d %p %s\n", + criterion, + DECL_IN_SYSTEM_HEADER (type_decl) ? "sys" : "usr", + matches ? "bas" : "hdr", + generic ? "gen" : "ord", + usage == DINFO_USAGE_DFN ? ";" : + usage == DINFO_USAGE_DIR_USE ? "." : "*", + result, + (void*) type_decl, name); + return result; +} +#define DUMP_GSTRUCT(type, usage, criterion, generic, matches, result) \ + dump_struct_debug (type, usage, criterion, generic, matches, result) + +#else + +#define DUMP_GSTRUCT(type, usage, criterion, generic, matches, result) \ + (result) + +#endif + + +bool +should_emit_struct_debug (tree type, enum debug_info_usage usage) +{ + enum debug_struct_file criterion; + tree type_decl; + bool generic = lang_hooks.types.generic_p (type); + + if (generic) + criterion = debug_struct_generic[usage]; + else + criterion = debug_struct_ordinary[usage]; + + if (criterion == DINFO_STRUCT_FILE_NONE) + return DUMP_GSTRUCT (type, usage, criterion, generic, false, false); + if (criterion == DINFO_STRUCT_FILE_ANY) + return DUMP_GSTRUCT (type, usage, criterion, generic, false, true); + + type_decl = TYPE_STUB_DECL (type); + + if (criterion == DINFO_STRUCT_FILE_SYS && DECL_IN_SYSTEM_HEADER (type_decl)) + return DUMP_GSTRUCT (type, usage, criterion, generic, false, true); + + if (matches_main_base (DECL_SOURCE_FILE (type_decl))) + return DUMP_GSTRUCT (type, usage, criterion, generic, true, true); + return DUMP_GSTRUCT (type, usage, criterion, generic, false, false); +} + /* Nonzero means use GNU-only extensions in the generated symbolic debugging information. Currently, this only has an effect when write_symbols is set to DBX_DEBUG, XCOFF_DEBUG, or DWARF_DEBUG. */ @@ -370,7 +620,11 @@ handle_options (unsigned int argc, const if (opt[0] != '-' || opt[1] == '\0') { if (main_input_filename == NULL) + { main_input_filename = opt; + main_input_baselength + = base_of_path (main_input_filename, &main_input_basename); + } add_input_filename (opt); n = 1; continue; Modified: projects/random_number_generator/contrib/gcc/postreload-gcse.c ============================================================================== --- projects/random_number_generator/contrib/gcc/postreload-gcse.c Sun Nov 17 06:50:41 2013 (r258254) +++ projects/random_number_generator/contrib/gcc/postreload-gcse.c Sun Nov 17 10:16:56 2013 (r258255) @@ -197,8 +197,6 @@ static void dump_hash_table (FILE *); static bool reg_killed_on_edge (rtx, edge); static bool reg_used_on_edge (rtx, edge); -static rtx reg_set_between_after_reload_p (rtx, rtx, rtx); -static rtx reg_used_between_after_reload_p (rtx, rtx, rtx); static rtx get_avail_load_store_reg (rtx); static bool bb_has_well_behaved_predecessors (basic_block); @@ -470,6 +468,22 @@ dump_hash_table (FILE *file) fprintf (file, "\n"); } +/* Return true if register X is recorded as being set by an instruction + whose CUID is greater than the one given. */ + +static bool +reg_changed_after_insn_p (rtx x, int cuid) +{ + unsigned int regno, end_regno; + + regno = REGNO (x); + end_regno = END_HARD_REGNO (x); + do + if (reg_avail_info[regno] > cuid) + return true; + while (++regno < end_regno); + return false; +} /* Return nonzero if the operands of expression X are unchanged *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-projects@FreeBSD.ORG Sun Nov 17 23:43:52 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 14FA4AB9; Sun, 17 Nov 2013 23:43:52 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 02A152D5B; Sun, 17 Nov 2013 23:43:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAHNhpmo020433; Sun, 17 Nov 2013 23:43:51 GMT (envelope-from markm@svn.freebsd.org) Received: (from markm@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAHNho7R020423; Sun, 17 Nov 2013 23:43:50 GMT (envelope-from markm@svn.freebsd.org) Message-Id: <201311172343.rAHNho7R020423@svn.freebsd.org> From: Mark Murray Date: Sun, 17 Nov 2013 23:43:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258288 - projects/random_number_generator/sys/dev/random X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 23:43:52 -0000 Author: markm Date: Sun Nov 17 23:43:50 2013 New Revision: 258288 URL: http://svnweb.freebsd.org/changeset/base/258288 Log: Snapshot of WIP. Big refactor of the random_adaptors code to remove unnecessary layering. Also Yet Another Big Sweep Of Old code, essentially a rewrite of anything dodgy looking with my mind on efficiency. Some excess code is removed, and block copies are eliminated where possible. Locking is broken. This will be fixed in a follow-up. Modified: projects/random_number_generator/sys/dev/random/dummy_rng.c projects/random_number_generator/sys/dev/random/ivy.c projects/random_number_generator/sys/dev/random/live_entropy_sources.c projects/random_number_generator/sys/dev/random/live_entropy_sources.h projects/random_number_generator/sys/dev/random/nehemiah.c projects/random_number_generator/sys/dev/random/random_adaptors.c projects/random_number_generator/sys/dev/random/random_adaptors.h projects/random_number_generator/sys/dev/random/random_harvestq.c projects/random_number_generator/sys/dev/random/random_harvestq.h projects/random_number_generator/sys/dev/random/randomdev.c projects/random_number_generator/sys/dev/random/randomdev.h projects/random_number_generator/sys/dev/random/randomdev_soft.c projects/random_number_generator/sys/dev/random/randomdev_soft.h projects/random_number_generator/sys/dev/random/yarrow.c projects/random_number_generator/sys/dev/random/yarrow.h Modified: projects/random_number_generator/sys/dev/random/dummy_rng.c ============================================================================== --- projects/random_number_generator/sys/dev/random/dummy_rng.c Sun Nov 17 23:28:10 2013 (r258287) +++ projects/random_number_generator/sys/dev/random/dummy_rng.c Sun Nov 17 23:43:50 2013 (r258288) @@ -28,94 +28,66 @@ #include __FBSDID("$FreeBSD$"); +#include "opt_random.h" + #include +#include #include #include #include #include -#include #include #include #include -#include #include #include -static struct mtx dummy_random_mtx; - -/* If no entropy device is loaded, don't spam the console with warnings */ -static int warned = 0; - -/* Used to fake out unused random calls in random_adaptor */ -static void -random_null_func(void) -{ -} - static int -dummy_random_poll(int events __unused, struct thread *td __unused) +dummy_random_zero(void) { return (0); } -static int -dummy_random_block(int flag) -{ - int error = 0; - - mtx_lock(&dummy_random_mtx); - - /* Blocking logic */ - while (!error) { - if (flag & O_NONBLOCK) - error = EWOULDBLOCK; - else { - printf("random: dummy device blocking on read.\n"); - error = msleep(&dummy_random_block, - &dummy_random_mtx, - PUSER | PCATCH, "block", 0); - } - } - mtx_unlock(&dummy_random_mtx); - - return (error); -} - static void -dummy_random_init(void) +dummy_random(void) { - - mtx_init(&dummy_random_mtx, "sleep mtx for dummy_random", - NULL, MTX_DEF); } +/* ARGSUSED */ static void -dummy_random_deinit(void) +dummy_random_init(struct mtx *mtx __unused) { - mtx_destroy(&dummy_random_mtx); + randomdev_init_reader(dummy_random_read_phony); } /* This is used only by the internal read_random(9) call, and then only * if no entropy processor is loaded. * - * DO NOT, REPEAT, DO NOT add this to the "struct random_adaptor" below! - * * Make a token effort to provide _some_ kind of output. No warranty of * the quality of this output is made, mainly because its lousy. * + * This is only used by the internal read_random(9) call when no other + * adaptor is active. + * + * It has external scope due to the way things work in + * randomdev_[de]init_reader() that the rest of the world doesn't need to + * know about. + * * Caveat Emptor. */ -int -dummy_random_read_phony(void *buf, int count) +u_int +dummy_random_read_phony(void *buf, u_int count) { + /* If no entropy device is loaded, don't spam the console with warnings */ + static int warned = 0; u_long randval; int size, i; if (!warned) { - log(LOG_WARNING, "random device not loaded; using insecure pseudo-random number generator\n"); + log(LOG_WARNING, "random device not loaded/active; using insecure pseudo-random number generator\n"); warned = 1; } @@ -132,13 +104,12 @@ dummy_random_read_phony(void *buf, int c } struct random_adaptor randomdev_dummy = { - .ra_ident = "Dummy entropy device", - .ra_init = dummy_random_init, - .ra_deinit = dummy_random_deinit, - .ra_block = dummy_random_block, - .ra_poll = dummy_random_poll, - .ra_read = (random_adaptor_read_func_t *)random_null_func, - .ra_reseed = (random_adaptor_reseed_func_t *)random_null_func, - .ra_seeded = 0, /* This device can never be seeded */ + .ra_ident = "Dummy", .ra_priority = 1, /* Bottom priority, so goes to last position */ + .ra_reseed = dummy_random, + .ra_seeded = (random_adaptor_seeded_func_t *)dummy_random_zero, + .ra_read = (random_adaptor_read_func_t *)dummy_random_zero, + .ra_write = (random_adaptor_write_func_t *)dummy_random_zero, + .ra_init = dummy_random_init, + .ra_deinit = dummy_random, }; Modified: projects/random_number_generator/sys/dev/random/ivy.c ============================================================================== --- projects/random_number_generator/sys/dev/random/ivy.c Sun Nov 17 23:28:10 2013 (r258287) +++ projects/random_number_generator/sys/dev/random/ivy.c Sun Nov 17 23:43:50 2013 (r258288) @@ -52,10 +52,10 @@ __FBSDID("$FreeBSD$"); #define RETRY_COUNT 10 -static int random_ivy_read(void *, int); +static u_int random_ivy_read(void *, u_int); static struct live_entropy_source random_ivy = { - .les_ident = "Hardware, Intel IvyBridge+ RNG", + .les_ident = "Intel IvyBridge+ RNG", .les_source = RANDOM_PURE_RDRAND, .les_read = random_ivy_read }; @@ -85,15 +85,17 @@ ivy_rng_store(long *buf) #endif } -static int -random_ivy_read(void *buf, int c) +/* It is specifically allowed that buf is a multiple of sizeof(long) */ +static u_int +random_ivy_read(void *buf, u_int c) { long *b; - int count; + u_int count; KASSERT(c % sizeof(long) == 0, ("partial read %d", c)); - for (b = buf, count = c; count > 0; count -= sizeof(long), b++) { - if (ivy_rng_store(b) == 0) + b = buf; + for (count = c; count > 0; count -= sizeof(long)) { + if (ivy_rng_store(b++) == 0) break; } return (c - count); Modified: projects/random_number_generator/sys/dev/random/live_entropy_sources.c ============================================================================== --- projects/random_number_generator/sys/dev/random/live_entropy_sources.c Sun Nov 17 23:28:10 2013 (r258287) +++ projects/random_number_generator/sys/dev/random/live_entropy_sources.c Sun Nov 17 23:43:50 2013 (r258288) @@ -28,6 +28,8 @@ #include __FBSDID("$FreeBSD$"); +#include "opt_random.h" + #include #include #include @@ -52,7 +54,7 @@ __FBSDID("$FreeBSD$"); /* * The les_lock protects the consistency of the "struct les_head les_sources" */ -static struct sx les_lock; /* need a sleepable lock */ +static struct sx les_lock; /* Need a sleepable lock for the sbuf/sysctl stuff. */ LIST_HEAD(les_head, live_entropy_sources); static struct les_head les_sources = LIST_HEAD_INITIALIZER(les_sources); @@ -124,7 +126,6 @@ live_entropy_source_handler(SYSCTL_HANDL * * BEWARE!!! * This function runs inside the RNG thread! Don't do anything silly! - * Remember that we are NOT holding harvest_mtx on entry! */ /* XXXRW: get_cyclecount() is cheap on most modern hardware, where cycle * counters are built in, but on older hardware it will do a real time clock @@ -135,7 +136,8 @@ live_entropy_sources_feed(void) { static struct harvest_event event; struct live_entropy_sources *lles; - int i, n, read_rate; + int i, read_rate; + u_int n; sx_slock(&les_lock); @@ -156,7 +158,7 @@ live_entropy_sources_feed(void) /* This *must* be quick, since it's a live entropy source. */ n = lles->lles_rsource->les_read(event.he_entropy, HARVESTSIZE); KASSERT((n > 0 && n <= HARVESTSIZE), ("very bad return from les_read (= %d) in %s", n, __func__)); - memset(event.he_entropy + n, 0, HARVESTSIZE - (u_int)n); + memset(event.he_entropy + n, 0, HARVESTSIZE - n); /* Do the actual entropy insertion */ harvest_process_event(&event); Modified: projects/random_number_generator/sys/dev/random/live_entropy_sources.h ============================================================================== --- projects/random_number_generator/sys/dev/random/live_entropy_sources.h Sun Nov 17 23:28:10 2013 (r258287) +++ projects/random_number_generator/sys/dev/random/live_entropy_sources.h Sun Nov 17 23:43:50 2013 (r258288) @@ -30,6 +30,8 @@ #ifndef SYS_DEV_RANDOM_LIVE_ENTROPY_SOURCES_H_INCLUDED #define SYS_DEV_RANDOM_LIVE_ENTROPY_SOURCES_H_INCLUDED +typedef u_int random_live_read_func_t(void *, u_int); + /* * Live entropy source is a source of entropy that can provide * specified or approximate amount of entropy immediately upon request or within @@ -38,7 +40,7 @@ struct live_entropy_source { const char *les_ident; enum random_entropy_source les_source; - random_adaptor_read_func_t *les_read; + random_live_read_func_t *les_read; }; struct live_entropy_sources { Modified: projects/random_number_generator/sys/dev/random/nehemiah.c ============================================================================== --- projects/random_number_generator/sys/dev/random/nehemiah.c Sun Nov 17 23:28:10 2013 (r258287) +++ projects/random_number_generator/sys/dev/random/nehemiah.c Sun Nov 17 23:43:50 2013 (r258288) @@ -50,10 +50,10 @@ __FBSDID("$FreeBSD$"); static void random_nehemiah_init(void); static void random_nehemiah_deinit(void); -static int random_nehemiah_read(void *, int); +static u_int random_nehemiah_read(void *, u_int); static struct live_entropy_source random_nehemiah = { - .les_ident = "Hardware, VIA Nehemiah Padlock RNG", + .les_ident = "VIA Nehemiah Padlock RNG", .les_source = RANDOM_PURE_NEHEMIAH, .les_read = random_nehemiah_read }; @@ -100,8 +100,9 @@ random_nehemiah_deinit(void) fpu_kern_free_ctx(fpu_ctx_save); } -static int -random_nehemiah_read(void *buf, int c) +/* It is specifically allowed that buf is a multiple of sizeof(long) */ +static u_int +random_nehemiah_read(void *buf, u_int c) { uint8_t *b; size_t count, ret; Modified: projects/random_number_generator/sys/dev/random/random_adaptors.c ============================================================================== --- projects/random_number_generator/sys/dev/random/random_adaptors.c Sun Nov 17 23:28:10 2013 (r258287) +++ projects/random_number_generator/sys/dev/random/random_adaptors.c Sun Nov 17 23:43:50 2013 (r258288) @@ -29,7 +29,11 @@ #include __FBSDID("$FreeBSD$"); +#include "opt_random.h" + #include +#include +#include #include #include #include @@ -40,6 +44,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -48,25 +53,105 @@ __FBSDID("$FreeBSD$"); #include #include -/* These are the data structures and associated items that need to be locked against - * "under-the-feet" changes. +/* The random_adaptors_lock protects random_adaptors_list and friends and random_adaptor. + * We need a sleepable lock for uiomove/block/poll/sbuf/sysctl. */ -static struct sx random_adaptors_lock; /* need a sleepable lock */ - +static struct sx random_adaptors_lock; LIST_HEAD(adaptors_head, random_adaptors); static struct adaptors_head random_adaptors_list = LIST_HEAD_INITIALIZER(random_adaptors_list); static struct random_adaptor *random_adaptor = NULL; /* Currently active adaptor */ -/* End of data items requiring adaptor lock protection */ +/* End of data items requiring random_adaptors_lock protection */ -/* The rate mutex protects the consistency of the read-rate logic. */ -struct mtx rate_mtx; +/* The random_rate_mtx mutex protects the consistency of the read-rate logic. */ +struct mtx random_rate_mtx; int random_adaptor_read_rate_cache; -/* End of data items requiring rate mutex protection */ +/* End of data items requiring random_rate_mtx mutex protection */ + +/* The random_reseed_mtx mutex protects seeding and polling/blocking. + * This is passed into the software entropy hasher/processor. + */ +struct mtx random_reseed_mtx; +/* End of data items requiring random_reseed_mtx mutex protection */ -MALLOC_DEFINE(M_ENTROPY, "entropy", "Entropy harvesting buffers and data structures"); +static struct selinfo rsel; + +/* Utility routine to change active adaptor when the random_adaptors_list + * gets modified. + * + * Walk a list of registered random(4) adaptors and pick either a requested + * one or the highest priority one, whichever comes first. Panic on failure + * as the fallback must always be the "dummy" adaptor. + */ +static void +random_adaptor_choose(void) +{ + char rngs[128], *token, *cp; + struct random_adaptors *rra, *rrai; + struct random_adaptor *random_adaptor_previous; + int primax; + + /* We are going to be messing with random_adaptor. + * Exclusive lock is mandatory. + */ + sx_assert(&random_adaptors_lock, SA_XLOCKED); + + random_adaptor_previous = random_adaptor; + + random_adaptor = NULL; + if (TUNABLE_STR_FETCH("kern.random.active_adaptor", rngs, sizeof(rngs))) { + cp = rngs; -static void random_adaptor_choose(void); + while ((token = strsep(&cp, ",")) != NULL) { + LIST_FOREACH(rra, &random_adaptors_list, rra_entries) + if (strcmp(rra->rra_name, token) == 0) { + random_adaptor = rra->rra_ra; + break; + } + if (random_adaptor != NULL) { + printf("random: selecting requested adaptor <%s>\n", + random_adaptor->ra_ident); + break; + } + else + printf("random: requested adaptor <%s> not available\n", + token); + } + } + primax = 0; + if (random_adaptor == NULL) { + /* + * Fall back to the highest priority item on the available + * RNG list. + */ + LIST_FOREACH(rrai, &random_adaptors_list, rra_entries) { + if (rrai->rra_ra->ra_priority >= primax) { + random_adaptor = rrai->rra_ra; + primax = rrai->rra_ra->ra_priority; + } + } + if (random_adaptor != NULL) + printf("random: selecting highest priority adaptor <%s>\n", + random_adaptor->ra_ident); + } + + KASSERT(random_adaptor != NULL, ("adaptor not found")); + + /* If we are changing adaptors, deinit the old and init the new. */ + if (random_adaptor != random_adaptor_previous) { +#ifdef RANDOM_DEBUG + printf("random: %s - changing from %s to %s\n", __func__, + (random_adaptor_previous == NULL ? "NULL" : random_adaptor_previous->ra_ident), + random_adaptor->ra_ident); +#endif + if (random_adaptor_previous != NULL) + (random_adaptor_previous->ra_deinit)(); + (random_adaptor->ra_init)(&random_reseed_mtx); + } +} + + +/* XXX: FIX!! Make sure we are not inserting a duplicate */ void random_adaptor_register(const char *name, struct random_adaptor *ra) { @@ -79,12 +164,8 @@ random_adaptor_register(const char *name rra->rra_ra = ra; sx_xlock(&random_adaptors_lock); - - /* XXX: FIX!! Make sure we are not inserting a duplicate */ LIST_INSERT_HEAD(&random_adaptors_list, rra, rra_entries); - random_adaptor_choose(); - sx_xunlock(&random_adaptors_lock); KASSERT(random_adaptor != NULL, ("No active random adaptor in %s", __func__)); @@ -99,80 +180,133 @@ random_adaptor_deregister(const char *na KASSERT(random_adaptor != NULL, ("No active random adaptor in %s", __func__)); sx_xlock(&random_adaptors_lock); - LIST_FOREACH(rra, &random_adaptors_list, rra_entries) if (strcmp(rra->rra_name, name) == 0) { LIST_REMOVE(rra, rra_entries); break; } - random_adaptor_choose(); - /* It is conceivable that there is no active random adaptor here, - * e.g. at shutdown. - */ - sx_xunlock(&random_adaptors_lock); - if (rra != NULL) - free(rra, M_ENTROPY); + free(rra, M_ENTROPY); } +/* + * Per-instance structure. + * + * List of locks + * XXX: FIX!! + */ +struct random_adaptor_softc { + int oink; + int tweet; +}; + +static void +random_adaptor_dtor(void *data) +{ + struct random_adaptor_softc *ras = data; + + free(ras, M_ENTROPY); +} + +/* ARGSUSED */ int -random_adaptor_block(int flag) +random_adaptor_open(struct cdev *dev __unused, int flags, int mode __unused, struct thread *td __unused) { - int ret; + struct random_adaptor_softc *ras; KASSERT(random_adaptor != NULL, ("No active random adaptor in %s", __func__)); - sx_slock(&random_adaptors_lock); + ras = malloc(sizeof(struct random_adaptor_softc), M_ENTROPY, M_WAITOK|M_ZERO); + /* XXX: FIX!! Set up softc here */ - ret = random_adaptor->ra_block(flag); + devfs_set_cdevpriv(ras, random_adaptor_dtor); - sx_sunlock(&random_adaptors_lock); + /* Give the source a chance to do some pre-read/write startup */ + if (flags & FREAD) { + sx_slock(&random_adaptors_lock); + (random_adaptor->ra_read)(NULL, 0); + sx_sunlock(&random_adaptors_lock); + } else if (flags & FWRITE) { + sx_slock(&random_adaptors_lock); + (random_adaptor->ra_write)(NULL, 0); + sx_sunlock(&random_adaptors_lock); + } + + return (0); +} - return ret; +/* ARGSUSED */ +int +random_adaptor_close(struct cdev *dev __unused, int flags, int fmt __unused, struct thread *td __unused) +{ + + KASSERT(random_adaptor != NULL, ("No active random adaptor in %s", __func__)); + + /* Give the source a chance to do some post-read/write shutdown */ + if (flags & FREAD) { + sx_slock(&random_adaptors_lock); + (random_adaptor->ra_read)(NULL, 1); + sx_sunlock(&random_adaptors_lock); + } else if (flags & FWRITE) { + sx_slock(&random_adaptors_lock); + (random_adaptor->ra_write)(NULL, 1); + sx_sunlock(&random_adaptors_lock); + } + + return (0); } +/* ARGSUSED */ int -random_adaptor_read(struct uio *uio, int flag) +random_adaptor_read(struct cdev *dev __unused, struct uio *uio, int flags __unused) { - int c, error = 0; void *random_buf; + int c, error; + u_int npages; + struct random_adaptor_softc *ras; KASSERT(random_adaptor != NULL, ("No active random adaptor in %s", __func__)); - /* The read-rate stuff is a *VERY* crude measure of the instantaneous read rate, designed - * to increase the use of 'live' entropy sources when lots of reads are done. - */ - mtx_lock(&rate_mtx); - random_adaptor_read_rate_cache += (int)((uio->uio_resid + PAGE_SIZE + 1)/PAGE_SIZE); - mtx_unlock(&rate_mtx); + error = devfs_get_cdevpriv((void **)&ras); + if (error == 0) { - sx_slock(&random_adaptors_lock); + sx_slock(&random_adaptors_lock); - /* Blocking logic */ - if (random_adaptor->ra_seeded) - error = (random_adaptor->ra_block)(flag); - - /* The actual read */ - if (!error) { - - random_buf = (void *)malloc(PAGE_SIZE, M_ENTROPY, M_WAITOK); - - while (uio->uio_resid > 0 && !error) { - c = MIN(uio->uio_resid, PAGE_SIZE); - c = (random_adaptor->ra_read)(random_buf, c); - error = uiomove(random_buf, c, uio); + /* Blocking logic */ + mtx_lock(&random_reseed_mtx); + while (!random_adaptor->ra_seeded() && !error) { + if (flags & O_NONBLOCK) + error = EWOULDBLOCK; + else + error = msleep(&random_adaptor, &random_reseed_mtx, PUSER | PCATCH, "block", 0); } - /* Finished reading; let the source know so it can do some - * optional housekeeping */ - (random_adaptor->ra_read)(NULL, 0); + mtx_unlock(&random_reseed_mtx); - free(random_buf, M_ENTROPY); + /* The actual read */ + if (!error) { + /* The read-rate stuff is a *VERY* crude indication of the instantaneous read rate, + * designed to increase the use of 'live' entropy sources when lots of reads are done. + */ + mtx_lock(&random_rate_mtx); + npages = (uio->uio_resid + PAGE_SIZE - 1)/PAGE_SIZE; + random_adaptor_read_rate_cache += npages; + random_adaptor_read_rate_cache = MIN(random_adaptor_read_rate_cache, 32); + mtx_unlock(&random_rate_mtx); + + random_buf = (void *)malloc(npages*PAGE_SIZE, M_ENTROPY, M_WAITOK); + while (uio->uio_resid > 0 && !error) { + c = MIN(uio->uio_resid, npages*PAGE_SIZE); + (random_adaptor->ra_read)(random_buf, c); + error = uiomove(random_buf, c, uio); + } + free(random_buf, M_ENTROPY); + } - } + sx_sunlock(&random_adaptors_lock); - sx_sunlock(&random_adaptors_lock); + } return (error); } @@ -182,98 +316,83 @@ random_adaptor_read_rate(void) { int ret; - mtx_lock(&rate_mtx); - ret = random_adaptor_read_rate_cache = random_adaptor_read_rate_cache ? random_adaptor_read_rate_cache%32 + 1 : 1; - mtx_unlock(&rate_mtx); + KASSERT(random_adaptor != NULL, ("No active random adaptor in %s", __func__)); + + mtx_lock(&random_rate_mtx); + ret = random_adaptor_read_rate_cache; + mtx_unlock(&random_rate_mtx); return (ret); } +/* ARGSUSED */ int -random_adaptor_poll(int events, struct thread *td) +random_adaptor_write(struct cdev *dev __unused, struct uio *uio, int flags __unused) { - int revents = 0; + int error; + struct random_adaptor_softc *ras; - sx_slock(&random_adaptors_lock); + KASSERT(random_adaptor != NULL, ("No active random adaptor in %s", __func__)); - if (events & (POLLIN | POLLRDNORM)) { - if (random_adaptor->ra_seeded) - revents = events & (POLLIN | POLLRDNORM); - else - revents = (random_adaptor->ra_poll)(events, td); + sx_slock(&random_adaptors_lock); + error = devfs_get_cdevpriv((void **)&ras); + if (error == 0) { + /* We used to allow this to insert userland entropy. + * We don't any more because (1) this so-called entropy + * is usually lousy and (b) its vaguely possible to + * mess with entropy harvesting by overdoing a write. + * Now we just ignore input like /dev/null does. + */ + /* XXX: FIX!! Now that RWFILE is gone, we need to get this back. + * ALSO: See devfs_get_cdevpriv(9) and friends for ways to build per-session nodes. + */ + uio->uio_resid = 0; + /* c = (random_adaptor->ra_write)(random_buf, c); */ } - sx_sunlock(&random_adaptors_lock); - return (revents); + return (error); } -/* - * Walk a list of registered random(4) adaptors and pick either a requested - * one or the highest priority one, whichever comes first. Panic on failure - * as the fallback must be the "dummy" adaptor. - */ -static void -random_adaptor_choose(void) +/* ARGSUSED */ +int +random_adaptor_poll(struct cdev *dev __unused, int events, struct thread *td __unused) { - char rngs[128], *token, *cp; - struct random_adaptors *rra, *rrai; - struct random_adaptor *random_adaptor_previous; - int primax; - - /* We are going to be messing with random_adaptor. - * Exclusive lock is mandatory. - */ - sx_assert(&random_adaptors_lock, SA_XLOCKED); + struct random_adaptor_softc *ras; - random_adaptor_previous = random_adaptor; + KASSERT(random_adaptor != NULL, ("No active random adaptor in %s", __func__)); - random_adaptor = NULL; - if (TUNABLE_STR_FETCH("kern.random.active_adaptor", rngs, sizeof(rngs))) { - cp = rngs; + if (devfs_get_cdevpriv((void **)&ras) != 0) + return (events & + (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM)); - while ((token = strsep(&cp, ",")) != NULL) { - LIST_FOREACH(rra, &random_adaptors_list, rra_entries) - if (strcmp(rra->rra_name, token) == 0) { - random_adaptor = rra->rra_ra; - break; - } - if (random_adaptor != NULL) { - printf("random: selecting requested adaptor <%s>\n", - random_adaptor->ra_ident); - break; - } - else - printf("random: requested adaptor <%s> not available\n", - token); - } + sx_slock(&random_adaptors_lock); + mtx_lock(&random_reseed_mtx); + if (events & (POLLIN | POLLRDNORM)) { + if (random_adaptor->ra_seeded()) + events &= (POLLIN | POLLRDNORM); + else + selrecord(td, &rsel); } + mtx_unlock(&random_reseed_mtx); + sx_sunlock(&random_adaptors_lock); - primax = 0; - if (random_adaptor == NULL) { - /* - * Fall back to the highest priority item on the available - * RNG list. - */ - LIST_FOREACH(rrai, &random_adaptors_list, rra_entries) { - if (rrai->rra_ra->ra_priority >= primax) { - random_adaptor = rrai->rra_ra; - primax = rrai->rra_ra->ra_priority; - } - } - if (random_adaptor != NULL) - printf("random: selecting highest priority adaptor <%s>\n", - random_adaptor->ra_ident); - } + return (events); +} - KASSERT(random_adaptor != NULL, ("adaptor not found")); +/* This will be called by the entropy processor when it seeds itself and becomes secure */ +void +random_adaptor_unblock(void) +{ - /* If we are changing adaptors, deinit the old and init the new. */ - if (random_adaptor != random_adaptor_previous) { - if (random_adaptor_previous != NULL) - (random_adaptor_previous->ra_deinit)(); - (random_adaptor->ra_init)(); - } + mtx_assert(&random_reseed_mtx, MA_OWNED); + + selwakeuppri(&rsel, PUSER); + wakeup(&random_adaptor); + printf("random: unblocking device.\n"); + + /* Do arc4random(9) a favour while we are about it. */ + (void)atomic_cmpset_int(&arc4rand_iniseed_state, ARC4_ENTR_NONE, ARC4_ENTR_HAVE); } static int @@ -284,9 +403,7 @@ random_sysctl_adaptors_handler(SYSCTL_HA int error, count; sx_slock(&random_adaptors_lock); - sbuf_new_for_sysctl(&sbuf, NULL, 64, req); - count = 0; LIST_FOREACH(rra, &random_adaptors_list, rra_entries) sbuf_printf(&sbuf, "%s%s(%d)", @@ -294,7 +411,6 @@ random_sysctl_adaptors_handler(SYSCTL_HA error = sbuf_finish(&sbuf); sbuf_delete(&sbuf); - sx_sunlock(&random_adaptors_lock); return (error); @@ -310,19 +426,14 @@ random_sysctl_active_adaptor_handler(SYS KASSERT(random_adaptor != NULL, ("No active random adaptor in %s", __func__)); sx_slock(&random_adaptors_lock); - sbuf_new_for_sysctl(&sbuf, NULL, 16, req); - LIST_FOREACH(rra, &random_adaptors_list, rra_entries) if (rra->rra_ra == random_adaptor) { sbuf_cat(&sbuf, rra->rra_name); break; } - - error = sbuf_finish(&sbuf); sbuf_delete(&sbuf); - sx_sunlock(&random_adaptors_lock); return (error); @@ -344,30 +455,37 @@ random_adaptors_init(void *unused __unus "Active Random Number Generator Adaptor"); sx_init(&random_adaptors_lock, "random_adaptors"); - mtx_init(&rate_mtx, "read rate mutex", NULL, MTX_DEF); - /* This dummy "thing" is not a module by itself, but part of the + mtx_init(&random_rate_mtx, "read rate mutex", NULL, MTX_DEF); + mtx_init(&random_reseed_mtx, "read rate mutex", NULL, MTX_DEF); + + /* The dummy adaptor is not a module by itself, but part of the * randomdev module. */ random_adaptor_register("dummy", &randomdev_dummy); } +SYSINIT(random_adaptors, SI_SUB_DRIVERS, SI_ORDER_FIRST, + random_adaptors_init, NULL); /* ARGSUSED */ static void random_adaptors_deinit(void *unused __unused) { - /* Don't do this! Panic will follow. */ + /* Don't do this! Panic will surely follow! */ /* random_adaptor_deregister("dummy"); */ - mtx_destroy(&rate_mtx); + mtx_destroy(&random_reseed_mtx); + mtx_destroy(&random_rate_mtx); + sx_destroy(&random_adaptors_lock); } +SYSUNINIT(random_adaptors, SI_SUB_DRIVERS, SI_ORDER_FIRST, + random_adaptors_deinit, NULL); /* * First seed. * * NB! NB! NB! - * * NB! NB! NB! * * It turns out this is bloody dangerous. I was fiddling with code elsewhere @@ -376,6 +494,9 @@ random_adaptors_deinit(void *unused __un * As crap randomness is not directly distinguishable from good randomness, this * could have gone unnoticed for quite a while. * + * NB! NB! NB! + * NB! NB! NB! + * * Very luckily, the probe-time entropy is very nearly good enough to cause a * first seed all of the time, and the default settings for other entropy * harvesting causes a proper, safe, first seed (unblock) in short order after that. @@ -394,9 +515,7 @@ random_adaptors_seed(void *unused __unus KASSERT(random_adaptor != NULL, ("No active random adaptor in %s", __func__)); sx_slock(&random_adaptors_lock); - random_adaptor->ra_reseed(); - sx_sunlock(&random_adaptors_lock); arc4rand(NULL, 0, 1); @@ -404,8 +523,3 @@ random_adaptors_seed(void *unused __unus SYSINIT(random_seed, SI_SUB_INTRINSIC_POST, SI_ORDER_LAST, random_adaptors_reseed, NULL); #endif /* RANDOM_AUTOSEED */ - -SYSINIT(random_adaptors, SI_SUB_DRIVERS, SI_ORDER_SECOND, - random_adaptors_init, NULL); -SYSUNINIT(random_adaptors, SI_SUB_DRIVERS, SI_ORDER_SECOND, - random_adaptors_deinit, NULL); Modified: projects/random_number_generator/sys/dev/random/random_adaptors.h ============================================================================== --- projects/random_number_generator/sys/dev/random/random_adaptors.h Sun Nov 17 23:28:10 2013 (r258287) +++ projects/random_number_generator/sys/dev/random/random_adaptors.h Sun Nov 17 23:43:50 2013 (r258288) @@ -31,25 +31,22 @@ MALLOC_DECLARE(M_ENTROPY); -typedef void random_adaptor_init_func_t(void); +typedef void random_adaptor_init_func_t(struct mtx *); typedef void random_adaptor_deinit_func_t(void); - -typedef int random_adaptor_block_func_t(int); -typedef int random_adaptor_read_func_t(void *, int); -typedef int random_adaptor_poll_func_t(int, struct thread *); - +typedef void random_adaptor_read_func_t(uint8_t *, u_int); +typedef void random_adaptor_write_func_t(uint8_t *, u_int); +typedef int random_adaptor_seeded_func_t(void); typedef void random_adaptor_reseed_func_t(void); struct random_adaptor { const char *ra_ident; - int ra_seeded; - int ra_priority; + int ra_priority; random_adaptor_init_func_t *ra_init; random_adaptor_deinit_func_t *ra_deinit; - random_adaptor_block_func_t *ra_block; random_adaptor_read_func_t *ra_read; - random_adaptor_poll_func_t *ra_poll; + random_adaptor_write_func_t *ra_write; random_adaptor_reseed_func_t *ra_reseed; + random_adaptor_seeded_func_t *ra_seeded; }; struct random_adaptors { @@ -64,10 +61,13 @@ extern struct random_adaptor randomdev_d void random_adaptor_register(const char *, struct random_adaptor *); void random_adaptor_deregister(const char *); -int random_adaptor_block(int); -int random_adaptor_read(struct uio *, int); -int random_adaptor_poll(int, struct thread *); +int random_adaptor_open(struct cdev *, int, int, struct thread *); +int random_adaptor_read(struct cdev *, struct uio *, int); +int random_adaptor_write(struct cdev *, struct uio *, int); +int random_adaptor_close(struct cdev *, int, int, struct thread *); +int random_adaptor_poll(struct cdev *, int, struct thread *); int random_adaptor_read_rate(void); +void random_adaptor_unblock(void); #endif /* SYS_DEV_RANDOM_RANDOM_ADAPTORS_H_INCLUDED */ Modified: projects/random_number_generator/sys/dev/random/random_harvestq.c ============================================================================== --- projects/random_number_generator/sys/dev/random/random_harvestq.c Sun Nov 17 23:28:10 2013 (r258287) +++ projects/random_number_generator/sys/dev/random/random_harvestq.c Sun Nov 17 23:43:50 2013 (r258288) @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include @@ -52,6 +53,9 @@ __FBSDID("$FreeBSD$"); #include #include +/* List for the dynamic sysctls */ +static struct sysctl_ctx_list random_clist; + /* * How many events to queue up. We create this many items in * an 'empty' queue, then transfer them to the 'harvest' queue with @@ -64,7 +68,7 @@ __FBSDID("$FreeBSD$"); * The harvest mutex protects the consistency of the entropy Fifos and * empty fifo and other associated structures. */ -struct mtx harvest_mtx; +static struct mtx harvest_mtx; /* Lockable FIFO queue holding entropy buffers */ struct entropyfifo { @@ -83,6 +87,11 @@ u_int harvest_destination[ENTROPYSOURCE] /* Function called to process one harvested stochastic event */ void (*harvest_process_event)(struct harvest_event *); +/* Allow the sysadmin to select the broad category of + * entropy types to harvest. + */ +static u_int harvest_source_mask = ((1<= 0; i--) *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-projects@FreeBSD.ORG Mon Nov 18 18:03:55 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 55A377EB; Mon, 18 Nov 2013 18:03:55 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 426E32BD2; Mon, 18 Nov 2013 18:03:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAII3tVn013241; Mon, 18 Nov 2013 18:03:55 GMT (envelope-from markm@svn.freebsd.org) Received: (from markm@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAII3qrg013224; Mon, 18 Nov 2013 18:03:52 GMT (envelope-from markm@svn.freebsd.org) Message-Id: <201311181803.rAII3qrg013224@svn.freebsd.org> From: Mark Murray Date: Mon, 18 Nov 2013 18:03:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258315 - in projects/random_number_generator: . contrib/atf contrib/atf/admin contrib/atf/atf-c contrib/atf/atf-c++ contrib/atf/atf-c++/detail contrib/atf/atf-c/detail contrib/atf/atf-... X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 18:03:55 -0000 Author: markm Date: Mon Nov 18 18:03:52 2013 New Revision: 258315 URL: http://svnweb.freebsd.org/changeset/base/258315 Log: MFC - tracking commit Added: projects/random_number_generator/contrib/atf/atf-c++/detail/auto_array.hpp - copied unchanged from r258314, head/contrib/atf/atf-c++/detail/auto_array.hpp projects/random_number_generator/contrib/atf/atf-c++/detail/auto_array_test.cpp - copied unchanged from r258314, head/contrib/atf/atf-c++/detail/auto_array_test.cpp projects/random_number_generator/contrib/atf/atf-c++/noncopyable.hpp - copied unchanged from r258314, head/contrib/atf/atf-c++/noncopyable.hpp projects/random_number_generator/contrib/atf/atf-c++/utils.cpp - copied unchanged from r258314, head/contrib/atf/atf-c++/utils.cpp projects/random_number_generator/lib/libc/iconv/iconv-internal.h - copied unchanged from r258314, head/lib/libc/iconv/iconv-internal.h projects/random_number_generator/lib/libc/iconv/iconv_compat.c - copied unchanged from r258314, head/lib/libc/iconv/iconv_compat.c projects/random_number_generator/lib/libc_nonshared/ - copied from r258314, head/lib/libc_nonshared/ projects/random_number_generator/release/amd64/pkg-stage.conf - copied unchanged from r258314, head/release/amd64/pkg-stage.conf projects/random_number_generator/release/i386/pkg-stage.conf - copied unchanged from r258314, head/release/i386/pkg-stage.conf projects/random_number_generator/release/scripts/pkg-stage.sh - copied unchanged from r258314, head/release/scripts/pkg-stage.sh projects/random_number_generator/share/examples/tests/ - copied from r258314, head/share/examples/tests/ projects/random_number_generator/share/tests/ - copied from r258314, head/share/tests/ Deleted: projects/random_number_generator/contrib/atf/Atffile projects/random_number_generator/contrib/atf/Makefile.am projects/random_number_generator/contrib/atf/Makefile.in projects/random_number_generator/contrib/atf/admin/ projects/random_number_generator/contrib/atf/atf-c++/Atffile projects/random_number_generator/contrib/atf/atf-c++/Makefile.am.inc projects/random_number_generator/contrib/atf/atf-c++/detail/Atffile projects/random_number_generator/contrib/atf/atf-c++/detail/Makefile.am.inc projects/random_number_generator/contrib/atf/atf-c/Atffile projects/random_number_generator/contrib/atf/atf-c/Makefile.am.inc projects/random_number_generator/contrib/atf/atf-c/detail/Atffile projects/random_number_generator/contrib/atf/atf-c/detail/Makefile.am.inc projects/random_number_generator/contrib/atf/atf-c/detail/test_helpers_test.c projects/random_number_generator/contrib/atf/atf-config/ projects/random_number_generator/contrib/atf/atf-report/ projects/random_number_generator/contrib/atf/atf-run/ projects/random_number_generator/contrib/atf/atf-sh/Atffile projects/random_number_generator/contrib/atf/atf-sh/Makefile.am.inc projects/random_number_generator/contrib/atf/atf-version/ projects/random_number_generator/contrib/atf/bconfig.h.in projects/random_number_generator/contrib/atf/configure projects/random_number_generator/contrib/atf/configure.ac projects/random_number_generator/contrib/atf/doc/Makefile.am.inc projects/random_number_generator/contrib/atf/doc/atf-formats.5 projects/random_number_generator/contrib/atf/doc/atf.7.in projects/random_number_generator/contrib/atf/test-programs/Atffile projects/random_number_generator/contrib/atf/test-programs/Makefile.am.inc projects/random_number_generator/contrib/atf/test-programs/fork_test.sh Modified: projects/random_number_generator/Makefile.inc1 projects/random_number_generator/ObsoleteFiles.inc projects/random_number_generator/contrib/atf/FREEBSD-Xlist projects/random_number_generator/contrib/atf/FREEBSD-upgrade projects/random_number_generator/contrib/atf/NEWS projects/random_number_generator/contrib/atf/atf-c++.hpp projects/random_number_generator/contrib/atf/atf-c++/atf-c++-api.3 projects/random_number_generator/contrib/atf/atf-c++/check.hpp projects/random_number_generator/contrib/atf/atf-c++/check_test.cpp projects/random_number_generator/contrib/atf/atf-c++/detail/Kyuafile projects/random_number_generator/contrib/atf/atf-c++/detail/parser.hpp projects/random_number_generator/contrib/atf/atf-c++/detail/process.cpp projects/random_number_generator/contrib/atf/atf-c++/detail/process.hpp projects/random_number_generator/contrib/atf/atf-c++/detail/test_helpers.cpp projects/random_number_generator/contrib/atf/atf-c++/detail/test_helpers.hpp projects/random_number_generator/contrib/atf/atf-c++/macros_test.cpp projects/random_number_generator/contrib/atf/atf-c++/pkg_config_test.sh projects/random_number_generator/contrib/atf/atf-c++/tests.cpp projects/random_number_generator/contrib/atf/atf-c++/tests.hpp projects/random_number_generator/contrib/atf/atf-c++/utils.hpp projects/random_number_generator/contrib/atf/atf-c++/utils_test.cpp projects/random_number_generator/contrib/atf/atf-c.h projects/random_number_generator/contrib/atf/atf-c/atf-c-api.3 projects/random_number_generator/contrib/atf/atf-c/check_test.c projects/random_number_generator/contrib/atf/atf-c/detail/Kyuafile projects/random_number_generator/contrib/atf/atf-c/detail/process_test.c projects/random_number_generator/contrib/atf/atf-c/detail/sanity_test.c projects/random_number_generator/contrib/atf/atf-c/detail/test_helpers.c projects/random_number_generator/contrib/atf/atf-c/detail/test_helpers.h projects/random_number_generator/contrib/atf/atf-c/macros.h projects/random_number_generator/contrib/atf/atf-c/macros_test.c projects/random_number_generator/contrib/atf/atf-c/pkg_config_test.sh projects/random_number_generator/contrib/atf/atf-c/utils.c projects/random_number_generator/contrib/atf/atf-c/utils.h projects/random_number_generator/contrib/atf/atf-c/utils_test.c projects/random_number_generator/contrib/atf/atf-sh/atf-check.cpp projects/random_number_generator/contrib/atf/atf-sh/atf-check_test.sh projects/random_number_generator/contrib/atf/atf-sh/atf-sh-api.3 projects/random_number_generator/contrib/atf/atf-sh/atf-sh.1 projects/random_number_generator/contrib/atf/atf-sh/atf_check_test.sh projects/random_number_generator/contrib/atf/atf-sh/misc_helpers.sh projects/random_number_generator/contrib/atf/bconfig.h projects/random_number_generator/contrib/atf/test-programs/Kyuafile projects/random_number_generator/contrib/atf/test-programs/c_helpers.c projects/random_number_generator/contrib/atf/test-programs/cpp_helpers.cpp projects/random_number_generator/contrib/atf/test-programs/sh_helpers.sh projects/random_number_generator/etc/mtree/BSD.tests.dist projects/random_number_generator/include/iconv.h projects/random_number_generator/lib/Makefile projects/random_number_generator/lib/atf/libatf-c++/Makefile projects/random_number_generator/lib/atf/libatf-c++/tests/Makefile projects/random_number_generator/lib/atf/libatf-c/tests/Makefile projects/random_number_generator/lib/atf/tests/test-programs/Makefile projects/random_number_generator/lib/libc/iconv/Makefile.inc projects/random_number_generator/lib/libc/iconv/Symbol.map projects/random_number_generator/lib/libc/iconv/iconv.c projects/random_number_generator/lib/libc/libc.ldscript projects/random_number_generator/release/Makefile projects/random_number_generator/release/release.sh projects/random_number_generator/share/Makefile projects/random_number_generator/share/examples/Makefile projects/random_number_generator/share/mk/atf.test.mk projects/random_number_generator/share/mk/plain.test.mk projects/random_number_generator/sys/arm/arm/pmap-v6.c projects/random_number_generator/sys/boot/forth/beastie.4th projects/random_number_generator/sys/boot/forth/loader.4th projects/random_number_generator/sys/boot/forth/loader.4th.8 projects/random_number_generator/sys/boot/forth/loader.rc projects/random_number_generator/sys/boot/forth/menu.rc projects/random_number_generator/sys/boot/i386/loader/loader.rc projects/random_number_generator/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c projects/random_number_generator/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_userhold.c projects/random_number_generator/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h projects/random_number_generator/sys/conf/files.powerpc projects/random_number_generator/sys/dev/drm2/drm.h projects/random_number_generator/sys/dev/drm2/drmP.h projects/random_number_generator/sys/dev/drm2/drm_drv.c projects/random_number_generator/sys/dev/drm2/drm_ioctl.c projects/random_number_generator/sys/kern/kern_exit.c projects/random_number_generator/sys/kern/kern_sig.c projects/random_number_generator/sys/netinet/in.c projects/random_number_generator/sys/netinet/tcp_subr.c projects/random_number_generator/sys/ofed/drivers/net/mlx4/en_netdev.c projects/random_number_generator/sys/powerpc/aim/mmu_oea64.c projects/random_number_generator/sys/powerpc/aim/trap.c projects/random_number_generator/sys/powerpc/booke/trap.c projects/random_number_generator/sys/powerpc/include/pcb.h projects/random_number_generator/sys/powerpc/include/trap.h projects/random_number_generator/sys/powerpc/ofw/ofw_syscons.c projects/random_number_generator/sys/powerpc/powermac/macio.c projects/random_number_generator/sys/powerpc/powermac/uninorth.c projects/random_number_generator/sys/powerpc/powermac/uninorthpci.c projects/random_number_generator/sys/powerpc/powermac/uninorthvar.h projects/random_number_generator/sys/powerpc/powerpc/exec_machdep.c projects/random_number_generator/sys/powerpc/powerpc/fpu.c projects/random_number_generator/sys/powerpc/powerpc/swtch32.S projects/random_number_generator/sys/sys/param.h projects/random_number_generator/tools/build/mk/OptionalObsoleteFiles.inc projects/random_number_generator/tools/tools/umastat/umastat.c projects/random_number_generator/usr.sbin/bsdconfig/packages/packages projects/random_number_generator/usr.sbin/bsdconfig/share/media/cdrom.subr projects/random_number_generator/usr.sbin/bsdconfig/share/media/http.subr projects/random_number_generator/usr.sbin/bsdconfig/share/packages/index.subr projects/random_number_generator/usr.sbin/bsdconfig/share/packages/packages.subr Directory Properties: projects/random_number_generator/ (props changed) projects/random_number_generator/contrib/atf/ (props changed) projects/random_number_generator/lib/libc/ (props changed) projects/random_number_generator/sys/ (props changed) projects/random_number_generator/sys/boot/ (props changed) projects/random_number_generator/sys/cddl/contrib/opensolaris/ (props changed) projects/random_number_generator/sys/conf/ (props changed) Modified: projects/random_number_generator/Makefile.inc1 ============================================================================== --- projects/random_number_generator/Makefile.inc1 Mon Nov 18 17:52:18 2013 (r258314) +++ projects/random_number_generator/Makefile.inc1 Mon Nov 18 18:03:52 2013 (r258315) @@ -1475,11 +1475,13 @@ _startup_libs+= lib/csu/${MACHINE_CPUARC _startup_libs+= gnu/lib/libgcc _startup_libs+= lib/libcompiler_rt _startup_libs+= lib/libc +_startup_libs+= lib/libc_nonshared .if ${MK_LIBCPLUSPLUS} != "no" _startup_libs+= lib/libcxxrt .endif gnu/lib/libgcc__L: lib/libc__L +gnu/lib/libgcc__L: lib/libc_nonshared__L .if ${MK_LIBCPLUSPLUS} != "no" lib/libcxxrt__L: gnu/lib/libgcc__L .endif Modified: projects/random_number_generator/ObsoleteFiles.inc ============================================================================== --- projects/random_number_generator/ObsoleteFiles.inc Mon Nov 18 17:52:18 2013 (r258314) +++ projects/random_number_generator/ObsoleteFiles.inc Mon Nov 18 18:03:52 2013 (r258315) @@ -44,6 +44,9 @@ OLD_FILES+=usr/share/man/man2/extattr_ge # 20131107: example files removed OLD_FILES+=usr/share/examples/libusb20/aux.c OLD_FILES+=usr/share/examples/libusb20/aux.h +# 20131105: tzdata 2013h import +OLD_FILES+=usr/share/zoneinfo/America/Shiprock +OLD_FILES+=usr/share/zoneinfo/Antarctica/South_Pole # 20131103: WITH_LIBICONV_COMPAT removal OLD_FILES+=usr/include/_libiconv_compat.h OLD_FILES+=usr/lib/libiconv.a @@ -79,8 +82,14 @@ OLD_FILES+=etc/keys/pkg/trusted/pkg.free # 20131028: ng_fec(4) removed OLD_FILES+=usr/include/netgraph/ng_fec.h OLD_FILES+=usr/share/man/man4/ng_fec.4.gz +# 20131027: header moved +OLD_FILES+=usr/include/net/pf_mtag.h # 20131023: remove never used iscsi directory OLD_DIRS+=usr/share/examples/iscsi +# 20131021: isf(4) removed +OLD_FILES+=usr/sbin/isfctl +OLD_FILES+=usr/share/man/man4/isf.4.gz +OLD_FILES+=usr/share/man/man8/isfctl.8.gz # 20131014: libbsdyml becomes private OLD_FILES+=usr/lib/libbsdyml.a OLD_FILES+=usr/lib/libbsdyml.so Modified: projects/random_number_generator/contrib/atf/FREEBSD-Xlist ============================================================================== --- projects/random_number_generator/contrib/atf/FREEBSD-Xlist Mon Nov 18 17:52:18 2013 (r258314) +++ projects/random_number_generator/contrib/atf/FREEBSD-Xlist Mon Nov 18 18:03:52 2013 (r258315) @@ -1,8 +1,21 @@ +*/*/Atffile +*/*/Makefile* +*/Atffile +*/Makefile* +Atffile +INSTALL +Makefile* +aclocal.m4 +admin/ +atf-*/atf-*.m4 +atf-*/atf-*.pc.in +atf-config/ +atf-report/ +atf-run/ +atf-version/ +bconfig.h.in bootstrap/ -config.log -config.status -libtool -Makefile -stamp-h1 -*/*/.deps/ -*/.deps/ +configure* +doc/atf-formats.5 +doc/atf.7.in +m4/ Modified: projects/random_number_generator/contrib/atf/FREEBSD-upgrade ============================================================================== --- projects/random_number_generator/contrib/atf/FREEBSD-upgrade Mon Nov 18 17:52:18 2013 (r258314) +++ projects/random_number_generator/contrib/atf/FREEBSD-upgrade Mon Nov 18 18:03:52 2013 (r258315) @@ -1,28 +1,48 @@ $FreeBSD$ -atf +This document contains a collection of notes specific to the import +of atf into head. These notes are built on the instructions in +the FreeBSD Subversion Primer that detail how to deal with vendor +branches and you are supposed to follow those: -The source code is hosted on GoogleCode as a subcomponent of the Kyua project: + http://www.freebsd.org/doc/en/articles/committers-guide/subversion-primer.html - http://code.google.com/p/kyua/downloads/list - -For the contrib directory, the sources were initially prepared like so: - - ./configure --prefix=/ --exec-prefix=/usr --datarootdir=/usr/share +The ATF source code is hosted on Google Code as a subcomponent of the +Kyua project: -For the contrib directory, files and directories were pruned by: - -sh -c 'for F in `cat FREEBSD-Xlist`; do rm -rf ./$F ; done' + http://code.google.com/p/kyua/downloads/list -You may check if there are any new files that we don't need. +and is imported into the atf vendor branch (see base/vendor/atf/). -The instructions for importing new release and merging to HEAD can be found -at FreeBSD wiki: +To merge the vendor branch into head do something like this: - http://wiki.freebsd.org/SubversionPrimer/VendorImports + cd .../base/head/contrib/atf + svn merge --accept=postpone \ + svn+ssh://svn.freebsd.org/base/vendor/atf/dist . + svn remove --force $(cat FREEBSD-Xlist) + +and resolve any conflicts that may arise at this point. + +Once this is done, you must regenerate bconfig.h. The recommended way +of doing so is by using the release files already imported into the +vendor branch (which is a good justification for importing the verbatim +sources in the first place so that this step is reproducible). You can +use a set of commands similar to the following: + + mkdir /tmp/atf + cd /tmp/atf + .../vendor/atf/dist/configure \ + --prefix=/ \ + --exec-prefix=/usr \ + --datarootdir=/usr/share + cp bconfig.h .../base/head/contrib/atf/ + +Please do NOT run './configure' straight from the 'dist' directory of +the vendor branch as you easily risk committing build products into the +tree. -To make local changes to atf, simply patch and commit to the trunk -branch (aka HEAD). Never make local changes on the vendor branch. +Lastly, with the list of old and new files in this import, make sure +to udpate the reachover Makefiles accordingly. -gcooper@FreeBSD.org -5-August-2012 +Test the build (keeping in mind the WITH_TESTS/WITHOUT_TESTS knobs) and, +if all looks good, you are ready to commit all the changes in one go. Modified: projects/random_number_generator/contrib/atf/NEWS ============================================================================== --- projects/random_number_generator/contrib/atf/NEWS Mon Nov 18 17:52:18 2013 (r258314) +++ projects/random_number_generator/contrib/atf/NEWS Mon Nov 18 18:03:52 2013 (r258315) @@ -2,6 +2,58 @@ Major changes between releases =========================================================================== +Changes in version 0.18 +*********************** + +Experimental version released on November 16th, 2013. + +* Issue 45: Added require.memory support in atf-run for FreeBSD. + +* Fixed an issue with the handling of cin with libc++. + +* Issue 64: Fixed various mandoc formatting warnings. + +* NetBSD PR bin/48284: Made atf-check flush its progress message to + stdout so that an interrupted test case always shows the last message + being executed. + +* NetBSD PR bin/48285: Fixed atf_check examples in atf-sh-api(3). + + +Changes in version 0.17 +*********************** + +Experimental version released on February 14th, 2013. + +* Added the atf_utils_cat_file, atf_utils_compare_file, + atf_utils_copy_file, atf_utils_create_file, atf_utils_file_exists, + atf_utils_fork, atf_utils_grep_file, atf_utils_grep_string, + atf_utils_readline, atf_utils_redirect and atf_utils_wait utility + functions to atf-c-api. Documented the already-public + atf_utils_free_charpp function. + +* Added the cat_file, compare_file, copy_file, create_file, file_exists, + fork, grep_collection, grep_file, grep_string, redirect and wait + functions to the atf::utils namespace of atf-c++-api. These are + wrappers around the same functions added to the atf-c-api library. + +* Added the ATF_CHECK_MATCH, ATF_CHECK_MATCH_MSG, ATF_REQUIRE_MATCH and + ATF_REQUIRE_MATCH_MSG macros to atf-c to simplify the validation of a + string against a regular expression. + +* Miscellaneous fixes for manpage typos and compilation problems with + clang. + +* Added caching of the results of those configure tests that rely on + executing a test program. This should help crossbuild systems by + providing a mechanism to pre-specify what the results should be. + +* PR bin/45690: Make atf-report convert any non-printable characters to + a plain-text representation (matching their corresponding hexadecimal + entities) in XML output files. This is to prevent the output of test + cases from breaking xsltproc later. + + Changes in version 0.16 *********************** Modified: projects/random_number_generator/contrib/atf/atf-c++.hpp ============================================================================== --- projects/random_number_generator/contrib/atf/atf-c++.hpp Mon Nov 18 17:52:18 2013 (r258314) +++ projects/random_number_generator/contrib/atf/atf-c++.hpp Mon Nov 18 18:03:52 2013 (r258315) @@ -31,5 +31,6 @@ #define _ATF_CXX_HPP_ #include +#include #endif // !defined(_ATF_CXX_HPP_) Modified: projects/random_number_generator/contrib/atf/atf-c++/atf-c++-api.3 ============================================================================== --- projects/random_number_generator/contrib/atf/atf-c++/atf-c++-api.3 Mon Nov 18 17:52:18 2013 (r258314) +++ projects/random_number_generator/contrib/atf/atf-c++/atf-c++-api.3 Mon Nov 18 18:03:52 2013 (r258315) @@ -26,10 +26,11 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd January 21, 2012 +.Dd November 15, 2013 .Dt ATF-C++-API 3 .Os .Sh NAME +.Nm atf-c++-api , .Nm ATF_ADD_TEST_CASE , .Nm ATF_CHECK_ERRNO , .Nm ATF_FAIL , @@ -52,6 +53,17 @@ .Nm ATF_TEST_CASE_USE , .Nm ATF_TEST_CASE_WITH_CLEANUP , .Nm ATF_TEST_CASE_WITHOUT_HEAD , +.Nm atf::utils::cat_file , +.Nm atf::utils::compare_file , +.Nm atf::utils::copy_file , +.Nm atf::utils::create_file , +.Nm atf::utils::file_exists , +.Nm atf::utils::fork , +.Nm atf::utils::grep_collection , +.Nm atf::utils::grep_file , +.Nm atf::utils::grep_string , +.Nm atf::utils::redirect , +.Nm atf::utils::wait .Nd C++ API to write ATF-based test programs .Sh SYNOPSIS .In atf-c++.hpp @@ -77,18 +89,64 @@ .Fn ATF_TEST_CASE_USE "name" .Fn ATF_TEST_CASE_WITH_CLEANUP "name" .Fn ATF_TEST_CASE_WITHOUT_HEAD "name" +.Ft void +.Fo atf::utils::cat_file +.Fa "const std::string& path" +.Fa "const std::string& prefix" +.Fc +.Ft bool +.Fo atf::utils::compare_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Ft void +.Fo atf::utils::copy_file +.Fa "const std::string& source" +.Fa "const std::string& destination" +.Fc +.Ft void +.Fo atf::utils::create_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Ft void +.Fo atf::utils::file_exists +.Fa "const std::string& path" +.Fc +.Ft pid_t +.Fo atf::utils::fork +.Fa "void" +.Fc +.Ft bool +.Fo atf::utils::grep_collection +.Fa "const std::string& regexp" +.Fa "const Collection& collection" +.Fc +.Ft bool +.Fo atf::utils::grep_file +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Ft bool +.Fo atf::utils::grep_string +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Ft void +.Fo atf::utils::redirect +.Fa "const int fd" +.Fa "const std::string& path" +.Fc +.Ft void +.Fo atf::utils::wait +.Fa "const pid_t pid" +.Fa "const int expected_exit_status" +.Fa "const std::string& expected_stdout" +.Fa "const std::string& expected_stderr" +.Fc .Sh DESCRIPTION -ATF provides a mostly-macro-based programming interface to implement test -programs in C or C++. -This interface is backed by a C++ implementation, but this fact is -hidden from the developer as much as possible through the use of -macros to simplify programming. -However, the use of C++ is not hidden everywhere and while you can -implement test cases without knowing anything at all about the object model -underneath the provided calls, you might need some minimum notions of the -language in very specific circumstances. -.Pp -C++-based test programs always follow this template: +ATF provides a C++ programming interface to implement test programs. +C++-based test programs follow this template: .Bd -literal -offset indent extern "C" { .Ns ... C-specific includes go here ... @@ -205,7 +263,7 @@ The first parameter of this macro matche former call. .Ss Header definitions The test case's header can define the meta-data by using the -.Fn set +.Fn set_md_var method, which takes two parameters: the first one specifies the meta-data variable to be set and the second one specifies its value. Both of them are strings. @@ -348,7 +406,7 @@ in the collection. .Fn ATF_REQUIRE_THROW takes the name of an exception and a statement and raises a failure if the statement does not throw the specified exception. -.Fn ATF_REQUIRE_THROW_EQ +.Fn ATF_REQUIRE_THROW_RE takes the name of an exception, a regular expresion and a statement and raises a failure if the statement does not throw the specified exception and if the message of the exception does not match the regular expression. @@ -362,6 +420,163 @@ variable and, second, a boolean expressi means that a call failed and .Va errno has to be checked against the first value. +.Ss Utility functions +The following functions are provided as part of the +.Nm +API to simplify the creation of a variety of tests. +In particular, these are useful to write tests for command-line interfaces. +.Pp +.Ft void +.Fo atf::utils::cat_file +.Fa "const std::string& path" +.Fa "const std::string& prefix" +.Fc +.Bd -ragged -offset indent +Prints the contents of +.Fa path +to the standard output, prefixing every line with the string in +.Fa prefix . +.Ed +.Pp +.Ft bool +.Fo atf::utils::compare_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Bd -ragged -offset indent +Returns true if the given +.Fa path +matches exactly the expected inlined +.Fa contents . +.Ed +.Pp +.Ft void +.Fo atf::utils::copy_file +.Fa "const std::string& source" +.Fa "const std::string& destination" +.Fc +.Bd -ragged -offset indent +Copies the file +.Fa source +to +.Fa destination . +The permissions of the file are preserved during the code. +.Ed +.Pp +.Ft void +.Fo atf::utils::create_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Bd -ragged -offset indent +Creates +.Fa file +with the text given in +.Fa contents . +.Ed +.Pp +.Ft void +.Fo atf::utils::file_exists +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Checks if +.Fa path +exists. +.Ed +.Pp +.Ft pid_t +.Fo atf::utils::fork +.Fa "void" +.Fc +.Bd -ragged -offset indent +Forks a process and redirects the standard output and standard error of the +child to files for later validation with +.Fn atf::utils::wait . +Fails the test case if the fork fails, so this does not return an error. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_collection +.Fa "const std::string& regexp" +.Fa "const Collection& collection" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in any of the strings contained in the +.Fa collection . +This is a template that accepts any one-dimensional container of strings. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_file +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in the file +.Fa path . +The variable arguments are used to construct the regular expression. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_string +.Fa "const std::string& regexp" +.Fa "const std::string& str" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in the string +.Fa str . +.Ed +.Ft void +.Fo atf::utils::redirect +.Fa "const int fd" +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Redirects the given file descriptor +.Fa fd +to the file +.Fa path . +This function exits the process in case of an error and does not properly mark +the test case as failed. +As a result, it should only be used in subprocesses of the test case; specially +those spawned by +.Fn atf::utils::fork . +.Ed +.Pp +.Ft void +.Fo atf::utils::wait +.Fa "const pid_t pid" +.Fa "const int expected_exit_status" +.Fa "const std::string& expected_stdout" +.Fa "const std::string& expected_stderr" +.Fc +.Bd -ragged -offset indent +Waits and validates the result of a subprocess spawned with +.Fn atf::utils::wait . +The validation involves checking that the subprocess exited cleanly and returned +the code specified in +.Fa expected_exit_status +and that its standard output and standard error match the strings given in +.Fa expected_stdout +and +.Fa expected_stderr . +.Pp +If any of the +.Fa expected_stdout +or +.Fa expected_stderr +strings are prefixed with +.Sq save: , +then they specify the name of the file into which to store the stdout or stderr +of the subprocess, and no comparison is performed. +.Ed .Sh EXAMPLES The following shows a complete test program with a single test case that validates the addition operator: @@ -371,7 +586,7 @@ validates the addition operator: ATF_TEST_CASE(addition); ATF_TEST_CASE_HEAD(addition) { - set("descr", "Sample tests for the addition operator"); + set_md_var("descr", "Sample tests for the addition operator"); } ATF_TEST_CASE_BODY(addition) { @@ -387,7 +602,7 @@ ATF_TEST_CASE_BODY(addition) ATF_TEST_CASE(open_failure); ATF_TEST_CASE_HEAD(open_failure) { - set("descr", "Sample tests for the open function"); + set_md_var("descr", "Sample tests for the open function"); } ATF_TEST_CASE_BODY(open_failure) { @@ -397,7 +612,7 @@ ATF_TEST_CASE_BODY(open_failure) ATF_TEST_CASE(known_bug); ATF_TEST_CASE_HEAD(known_bug) { - set("descr", "Reproduces a known bug"); + set_md_var("descr", "Reproduces a known bug"); } ATF_TEST_CASE_BODY(known_bug) { Modified: projects/random_number_generator/contrib/atf/atf-c++/check.hpp ============================================================================== --- projects/random_number_generator/contrib/atf/atf-c++/check.hpp Mon Nov 18 17:52:18 2013 (r258314) +++ projects/random_number_generator/contrib/atf/atf-c++/check.hpp Mon Nov 18 18:03:52 2013 (r258315) @@ -39,7 +39,7 @@ extern "C" { #include #include -#include +#include namespace atf { @@ -60,7 +60,7 @@ namespace check { //! of executing arbitrary command and manages files containing //! its output. //! -class check_result : utils::noncopyable { +class check_result : noncopyable { //! //! \brief Internal representation of a result. //! Modified: projects/random_number_generator/contrib/atf/atf-c++/check_test.cpp ============================================================================== --- projects/random_number_generator/contrib/atf/atf-c++/check_test.cpp Mon Nov 18 17:52:18 2013 (r258314) +++ projects/random_number_generator/contrib/atf/atf-c++/check_test.cpp Mon Nov 18 18:03:52 2013 (r258315) @@ -193,15 +193,15 @@ ATF_TEST_CASE_BODY(build_c_o) { ATF_TEST_CASE_USE(h_build_c_o_ok); run_h_tc< ATF_TEST_CASE_NAME(h_build_c_o_ok) >(); - ATF_REQUIRE(grep_file("stdout", "-o test.o")); - ATF_REQUIRE(grep_file("stdout", "-c test.c")); + ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("-c test.c", "stdout")); ATF_TEST_CASE_USE(h_build_c_o_fail); run_h_tc< ATF_TEST_CASE_NAME(h_build_c_o_fail) >(); - ATF_REQUIRE(grep_file("stdout", "-o test.o")); - ATF_REQUIRE(grep_file("stdout", "-c test.c")); - ATF_REQUIRE(grep_file("stderr", "test.c")); - ATF_REQUIRE(grep_file("stderr", "UNDEFINED_SYMBOL")); + ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("-c test.c", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("test.c", "stderr")); + ATF_REQUIRE(atf::utils::grep_file("UNDEFINED_SYMBOL", "stderr")); } ATF_TEST_CASE(build_cpp); @@ -213,16 +213,16 @@ ATF_TEST_CASE_BODY(build_cpp) { ATF_TEST_CASE_USE(h_build_cpp_ok); run_h_tc< ATF_TEST_CASE_NAME(h_build_cpp_ok) >(); - ATF_REQUIRE(grep_file("stdout", "-o.*test.p")); - ATF_REQUIRE(grep_file("stdout", "test.c")); - ATF_REQUIRE(grep_file("test.p", "foo bar")); + ATF_REQUIRE(atf::utils::grep_file("-o.*test.p", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("test.c", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("foo bar", "test.p")); ATF_TEST_CASE_USE(h_build_cpp_fail); run_h_tc< ATF_TEST_CASE_NAME(h_build_cpp_fail) >(); - ATF_REQUIRE(grep_file("stdout", "-o test.p")); - ATF_REQUIRE(grep_file("stdout", "test.c")); - ATF_REQUIRE(grep_file("stderr", "test.c")); - ATF_REQUIRE(grep_file("stderr", "non-existent.h")); + ATF_REQUIRE(atf::utils::grep_file("-o test.p", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("test.c", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("test.c", "stderr")); + ATF_REQUIRE(atf::utils::grep_file("non-existent.h", "stderr")); } ATF_TEST_CASE(build_cxx_o); @@ -234,15 +234,15 @@ ATF_TEST_CASE_BODY(build_cxx_o) { ATF_TEST_CASE_USE(h_build_cxx_o_ok); run_h_tc< ATF_TEST_CASE_NAME(h_build_cxx_o_ok) >(); - ATF_REQUIRE(grep_file("stdout", "-o test.o")); - ATF_REQUIRE(grep_file("stdout", "-c test.cpp")); + ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("-c test.cpp", "stdout")); ATF_TEST_CASE_USE(h_build_cxx_o_fail); run_h_tc< ATF_TEST_CASE_NAME(h_build_cxx_o_fail) >(); - ATF_REQUIRE(grep_file("stdout", "-o test.o")); - ATF_REQUIRE(grep_file("stdout", "-c test.cpp")); - ATF_REQUIRE(grep_file("stderr", "test.cpp")); - ATF_REQUIRE(grep_file("stderr", "UNDEFINED_SYMBOL")); + ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("-c test.cpp", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("test.cpp", "stderr")); + ATF_REQUIRE(atf::utils::grep_file("UNDEFINED_SYMBOL", "stderr")); } ATF_TEST_CASE(exec_cleanup); Modified: projects/random_number_generator/contrib/atf/atf-c++/detail/Kyuafile ============================================================================== --- projects/random_number_generator/contrib/atf/atf-c++/detail/Kyuafile Mon Nov 18 17:52:18 2013 (r258314) +++ projects/random_number_generator/contrib/atf/atf-c++/detail/Kyuafile Mon Nov 18 18:03:52 2013 (r258315) @@ -3,6 +3,7 @@ syntax("kyuafile", 1) test_suite("atf") atf_test_program{name="application_test"} +atf_test_program{name="auto_array_test"} atf_test_program{name="env_test"} atf_test_program{name="exceptions_test"} atf_test_program{name="expand_test"} Copied: projects/random_number_generator/contrib/atf/atf-c++/detail/auto_array.hpp (from r258314, head/contrib/atf/atf-c++/detail/auto_array.hpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/random_number_generator/contrib/atf/atf-c++/detail/auto_array.hpp Mon Nov 18 18:03:52 2013 (r258315, copy of r258314, head/contrib/atf/atf-c++/detail/auto_array.hpp) @@ -0,0 +1,179 @@ +// +// Automated Testing Framework (atf) +// +// Copyright (c) 2007 The NetBSD Foundation, Inc. +// 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. +// + +#if !defined(_ATF_CXX_AUTO_ARRAY_HPP_) +#define _ATF_CXX_AUTO_ARRAY_HPP_ + +#include + +namespace atf { + +// ------------------------------------------------------------------------ +// The "auto_array" class. +// ------------------------------------------------------------------------ + +template< class T > +struct auto_array_ref { + T* m_ptr; + + explicit auto_array_ref(T*); +}; + +template< class T > +auto_array_ref< T >::auto_array_ref(T* ptr) : + m_ptr(ptr) +{ +} + +template< class T > +class auto_array { + T* m_ptr; + +public: + auto_array(T* = NULL) throw(); + auto_array(auto_array< T >&) throw(); + auto_array(auto_array_ref< T >) throw(); + ~auto_array(void) throw(); + + T* get(void) throw(); + const T* get(void) const throw(); + T* release(void) throw(); + void reset(T* = NULL) throw(); + + auto_array< T >& operator=(auto_array< T >&) throw(); + auto_array< T >& operator=(auto_array_ref< T >) throw(); + + T& operator[](int) throw(); + operator auto_array_ref< T >(void) throw(); +}; + +template< class T > +auto_array< T >::auto_array(T* ptr) + throw() : + m_ptr(ptr) +{ +} + +template< class T > +auto_array< T >::auto_array(auto_array< T >& ptr) + throw() : + m_ptr(ptr.release()) +{ +} + +template< class T > +auto_array< T >::auto_array(auto_array_ref< T > ref) + throw() : + m_ptr(ref.m_ptr) +{ +} + +template< class T > +auto_array< T >::~auto_array(void) + throw() +{ + if (m_ptr != NULL) + delete [] m_ptr; +} + +template< class T > +T* +auto_array< T >::get(void) + throw() +{ + return m_ptr; +} + +template< class T > +const T* +auto_array< T >::get(void) + const throw() +{ + return m_ptr; +} + +template< class T > +T* +auto_array< T >::release(void) + throw() +{ + T* ptr = m_ptr; + m_ptr = NULL; + return ptr; +} + +template< class T > +void +auto_array< T >::reset(T* ptr) + throw() +{ + if (m_ptr != NULL) + delete [] m_ptr; + m_ptr = ptr; +} + +template< class T > +auto_array< T >& +auto_array< T >::operator=(auto_array< T >& ptr) + throw() +{ + reset(ptr.release()); + return *this; +} + +template< class T > +auto_array< T >& +auto_array< T >::operator=(auto_array_ref< T > ref) + throw() +{ + if (m_ptr != ref.m_ptr) { + delete [] m_ptr; + m_ptr = ref.m_ptr; + } + return *this; +} + +template< class T > +T& +auto_array< T >::operator[](int pos) + throw() +{ + return m_ptr[pos]; +} + +template< class T > +auto_array< T >::operator auto_array_ref< T >(void) + throw() +{ + return auto_array_ref< T >(release()); +} + +} // namespace atf + +#endif // !defined(_ATF_CXX_AUTO_ARRAY_HPP_) Copied: projects/random_number_generator/contrib/atf/atf-c++/detail/auto_array_test.cpp (from r258314, head/contrib/atf/atf-c++/detail/auto_array_test.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/random_number_generator/contrib/atf/atf-c++/detail/auto_array_test.cpp Mon Nov 18 18:03:52 2013 (r258315, copy of r258314, head/contrib/atf/atf-c++/detail/auto_array_test.cpp) @@ -0,0 +1,304 @@ +// +// Automated Testing Framework (atf) +// +// Copyright (c) 2007 The NetBSD Foundation, Inc. +// 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. +// + +extern "C" { +#include +} + +#include + +#include "atf-c/defs.h" + +#include "../macros.hpp" + +#include "auto_array.hpp" + +// ------------------------------------------------------------------------ +// Tests for the "auto_array" class. +// ------------------------------------------------------------------------ + +class test_array { +public: + int m_value; + + static ssize_t m_nblocks; + + static + atf::auto_array< test_array > + do_copy(atf::auto_array< test_array >& ta) + { + return atf::auto_array< test_array >(ta); + } + + void* operator new(size_t size ATF_DEFS_ATTRIBUTE_UNUSED) + { + ATF_FAIL("New called but should have been new[]"); + return new int(5); + } + + void* operator new[](size_t size) + { + m_nblocks++; + void* mem = ::operator new(size); + std::cout << "Allocated 'test_array' object " << mem << "\n"; + return mem; + } + + void operator delete(void* mem ATF_DEFS_ATTRIBUTE_UNUSED) + { + ATF_FAIL("Delete called but should have been delete[]"); + } + + void operator delete[](void* mem) + { + std::cout << "Releasing 'test_array' object " << mem << "\n"; + if (m_nblocks == 0) + ATF_FAIL("Unbalanced delete[]"); + m_nblocks--; + ::operator delete(mem); + } +}; + +ssize_t test_array::m_nblocks = 0; + +ATF_TEST_CASE(auto_array_scope); +ATF_TEST_CASE_HEAD(auto_array_scope) +{ + set_md_var("descr", "Tests the automatic scope handling in the " + "auto_array smart pointer class"); +} +ATF_TEST_CASE_BODY(auto_array_scope) +{ + using atf::auto_array; + + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); + { + auto_array< test_array > t(new test_array[10]); + ATF_REQUIRE_EQ(test_array::m_nblocks, 1); + } + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); +} + +ATF_TEST_CASE(auto_array_copy); +ATF_TEST_CASE_HEAD(auto_array_copy) +{ + set_md_var("descr", "Tests the auto_array smart pointer class' copy " + "constructor"); +} +ATF_TEST_CASE_BODY(auto_array_copy) +{ + using atf::auto_array; + + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); + { + auto_array< test_array > t1(new test_array[10]); + ATF_REQUIRE_EQ(test_array::m_nblocks, 1); + + { + auto_array< test_array > t2(t1); + ATF_REQUIRE_EQ(test_array::m_nblocks, 1); + } + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); + } + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); +} + +ATF_TEST_CASE(auto_array_copy_ref); +ATF_TEST_CASE_HEAD(auto_array_copy_ref) +{ + set_md_var("descr", "Tests the auto_array smart pointer class' copy " + "constructor through the auxiliary auto_array_ref object"); +} +ATF_TEST_CASE_BODY(auto_array_copy_ref) +{ + using atf::auto_array; + + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); + { + auto_array< test_array > t1(new test_array[10]); + ATF_REQUIRE_EQ(test_array::m_nblocks, 1); + + { + auto_array< test_array > t2 = test_array::do_copy(t1); + ATF_REQUIRE_EQ(test_array::m_nblocks, 1); + } + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); + } + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); +} + +ATF_TEST_CASE(auto_array_get); +ATF_TEST_CASE_HEAD(auto_array_get) +{ + set_md_var("descr", "Tests the auto_array smart pointer class' get " + "method"); +} +ATF_TEST_CASE_BODY(auto_array_get) +{ + using atf::auto_array; + + test_array* ta = new test_array[10]; + auto_array< test_array > t(ta); + ATF_REQUIRE_EQ(t.get(), ta); +} + +ATF_TEST_CASE(auto_array_release); +ATF_TEST_CASE_HEAD(auto_array_release) +{ + set_md_var("descr", "Tests the auto_array smart pointer class' release " + "method"); +} +ATF_TEST_CASE_BODY(auto_array_release) +{ + using atf::auto_array; + + test_array* ta1 = new test_array[10]; + { + auto_array< test_array > t(ta1); + ATF_REQUIRE_EQ(test_array::m_nblocks, 1); *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-projects@FreeBSD.ORG Mon Nov 18 22:18:09 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A347912; Mon, 18 Nov 2013 22:18:09 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0A3C32B10; Mon, 18 Nov 2013 22:18:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAIMI8vB018871; Mon, 18 Nov 2013 22:18:08 GMT (envelope-from glebius@svn.freebsd.org) Received: (from glebius@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAIMI84r018865; Mon, 18 Nov 2013 22:18:08 GMT (envelope-from glebius@svn.freebsd.org) Message-Id: <201311182218.rAIMI84r018865@svn.freebsd.org> From: Gleb Smirnoff Date: Mon, 18 Nov 2013 22:18:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258322 - in projects/pf/head/sys: net netpfil/pf X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 22:18:09 -0000 Author: glebius Date: Mon Nov 18 22:18:07 2013 New Revision: 258322 URL: http://svnweb.freebsd.org/changeset/base/258322 Log: - Split functions that initialize various pf parts into their vimage parts and global parts. - Since global parts appeared to be only mutex initializations, just abandon them and use MTX_SYSINIT() instead. - Kill my incorrect VNET_FOREACH() iterator and instead use correct approach with VNET_SYSINIT(). Submitted by: Nikos Vassiliadis Reviewed by: trociny Modified: projects/pf/head/sys/net/pfvar.h projects/pf/head/sys/netpfil/pf/pf.c projects/pf/head/sys/netpfil/pf/pf_if.c projects/pf/head/sys/netpfil/pf/pf_ioctl.c projects/pf/head/sys/netpfil/pf/pf_norm.c Modified: projects/pf/head/sys/net/pfvar.h ============================================================================== --- projects/pf/head/sys/net/pfvar.h Mon Nov 18 20:21:44 2013 (r258321) +++ projects/pf/head/sys/net/pfvar.h Mon Nov 18 22:18:07 2013 (r258322) @@ -1522,7 +1522,7 @@ VNET_DECLARE(struct pf_altqqueue *, pf_ VNET_DECLARE(struct pf_rulequeue, pf_unlinked_rules); #define V_pf_unlinked_rules VNET(pf_unlinked_rules) -void pf_initialize(void); +void pf_vnet_initialize(void); void pf_cleanup(void); struct pf_mtag *pf_get_mtag(struct mbuf *); @@ -1609,7 +1609,7 @@ int pf_match_addr_range(struct pf_addr * struct pf_addr *, sa_family_t); int pf_match_port(u_int8_t, u_int16_t, u_int16_t, u_int16_t); -void pf_normalize_init(void); +void pf_vnet_normalize_init(void); void pf_normalize_cleanup(void); int pf_normalize_ip(struct mbuf **, int, struct pfi_kif *, u_short *, struct pf_pdesc *); @@ -1671,7 +1671,7 @@ MALLOC_DECLARE(PFI_MTYPE); VNET_DECLARE(struct pfi_kif *, pfi_all); #define V_pfi_all VNET(pfi_all) -void pfi_initialize(void); +void pfi_vnet_initialize(void); void pfi_cleanup(void); void pfi_kif_ref(struct pfi_kif *); void pfi_kif_unref(struct pfi_kif *); Modified: projects/pf/head/sys/netpfil/pf/pf.c ============================================================================== --- projects/pf/head/sys/netpfil/pf/pf.c Mon Nov 18 20:21:44 2013 (r258321) +++ projects/pf/head/sys/netpfil/pf/pf.c Mon Nov 18 22:18:07 2013 (r258322) @@ -158,6 +158,7 @@ static VNET_DEFINE(struct pf_send_head, #define V_pf_sendqueue VNET(pf_sendqueue) static struct mtx pf_sendqueue_mtx; +MTX_SYSINIT(pf_sendqueue_mtx, &pf_sendqueue_mtx, "pf send queue", MTX_DEF); #define PF_SENDQ_LOCK() mtx_lock(&pf_sendqueue_mtx) #define PF_SENDQ_UNLOCK() mtx_unlock(&pf_sendqueue_mtx) @@ -179,11 +180,15 @@ static VNET_DEFINE(struct task, pf_overl #define V_pf_overloadtask VNET(pf_overloadtask) static struct mtx pf_overloadqueue_mtx; +MTX_SYSINIT(pf_overloadqueue_mtx, &pf_overloadqueue_mtx, + "pf overload/flush queue", MTX_DEF); #define PF_OVERLOADQ_LOCK() mtx_lock(&pf_overloadqueue_mtx) #define PF_OVERLOADQ_UNLOCK() mtx_unlock(&pf_overloadqueue_mtx) VNET_DEFINE(struct pf_rulequeue, pf_unlinked_rules); struct mtx pf_unlnkdrules_mtx; +MTX_SYSINIT(pf_unlnkdrules_mtx, &pf_unlnkdrules_mtx, "pf unlinked rules", + MTX_DEF); static VNET_DEFINE(uma_zone_t, pf_sources_z); #define V_pf_sources_z VNET(pf_sources_z) @@ -697,7 +702,7 @@ pf_remove_src_node(struct pf_src_node *s /* Data storage structures initialization. */ void -pf_initialize() +pf_vnet_initialize() { struct pf_keyhash *kh; struct pf_idhash *ih; @@ -763,13 +768,9 @@ pf_initialize() STAILQ_INIT(&V_pf_sendqueue); SLIST_INIT(&V_pf_overloadqueue); TASK_INIT(&V_pf_overloadtask, 0, pf_overload_task, &V_pf_overloadqueue); - mtx_init(&pf_sendqueue_mtx, "pf send queue", NULL, MTX_DEF); - mtx_init(&pf_overloadqueue_mtx, "pf overload/flush queue", NULL, - MTX_DEF); /* Unlinked, but may be referenced rules. */ TAILQ_INIT(&V_pf_unlinked_rules); - mtx_init(&pf_unlnkdrules_mtx, "pf unlinked rules", NULL, MTX_DEF); } void @@ -805,10 +806,6 @@ pf_cleanup() free(pfse, M_PFTEMP); } - mtx_destroy(&pf_sendqueue_mtx); - mtx_destroy(&pf_overloadqueue_mtx); - mtx_destroy(&pf_unlnkdrules_mtx); - uma_zdestroy(V_pf_mtag_z); uma_zdestroy(V_pf_sources_z); uma_zdestroy(V_pf_state_z); Modified: projects/pf/head/sys/netpfil/pf/pf_if.c ============================================================================== --- projects/pf/head/sys/netpfil/pf/pf_if.c Mon Nov 18 20:21:44 2013 (r258321) +++ projects/pf/head/sys/netpfil/pf/pf_if.c Mon Nov 18 22:18:07 2013 (r258322) @@ -102,10 +102,13 @@ MALLOC_DEFINE(PFI_MTYPE, "pf_ifnet", "pf LIST_HEAD(pfi_list, pfi_kif); static VNET_DEFINE(struct pfi_list, pfi_unlinked_kifs); #define V_pfi_unlinked_kifs VNET(pfi_unlinked_kifs) + static struct mtx pfi_unlnkdkifs_mtx; +MTX_SYSINIT(pfi_unlnkdkifs_mtx, &pfi_unlnkdkifs_mtx, "pf unlinked interfaces", + MTX_DEF); void -pfi_initialize(void) +pfi_vnet_initialize(void) { struct ifg_group *ifg; struct ifnet *ifp; @@ -115,8 +118,6 @@ pfi_initialize(void) V_pfi_buffer = malloc(V_pfi_buffer_max * sizeof(*V_pfi_buffer), PFI_MTYPE, M_WAITOK); - mtx_init(&pfi_unlnkdkifs_mtx, "pf unlinked interfaces", NULL, MTX_DEF); - kif = malloc(sizeof(*kif), PFI_MTYPE, M_WAITOK); PF_RULES_WLOCK(); V_pfi_all = pfi_kif_attach(kif, IFG_ALL); @@ -166,8 +167,6 @@ pfi_cleanup(void) free(p, PFI_MTYPE); } - mtx_destroy(&pfi_unlnkdkifs_mtx); - free(V_pfi_buffer, PFI_MTYPE); } Modified: projects/pf/head/sys/netpfil/pf/pf_ioctl.c ============================================================================== --- projects/pf/head/sys/netpfil/pf/pf_ioctl.c Mon Nov 18 20:21:44 2013 (r258321) +++ projects/pf/head/sys/netpfil/pf/pf_ioctl.c Mon Nov 18 22:18:07 2013 (r258322) @@ -86,7 +86,7 @@ __FBSDID("$FreeBSD$"); #include #endif -static int pfattach(void); +static int pf_vnet_init(void); static struct pf_pool *pf_get_pool(char *, u_int32_t, u_int8_t, u_int32_t, u_int8_t, u_int8_t, u_int8_t); @@ -202,15 +202,18 @@ pfsync_defer_t *pfsync_defer_ptr = NUL pflog_packet_t *pflog_packet_ptr = NULL; static int -pfattach(void) +pf_vnet_init(void) { u_int32_t *my_timeout = V_pf_default_rule.timeout; int error; - pf_initialize(); + TAILQ_INIT(&V_pf_tags); + TAILQ_INIT(&V_pf_qids); + + pf_vnet_initialize(); pfr_initialize(); - pfi_initialize(); - pf_normalize_init(); + pfi_vnet_initialize(); + pf_vnet_normalize_init(); V_pf_limits[PF_LIMIT_STATES].limit = PFSTATE_HIWAT; V_pf_limits[PF_LIMIT_SRC_NODES].limit = PFSNODE_HIWAT; @@ -3634,26 +3637,9 @@ dehook_pf(void) static int pf_load(void) { - int error; - - VNET_ITERATOR_DECL(vnet_iter); - - VNET_LIST_RLOCK(); - VNET_FOREACH(vnet_iter) { - CURVNET_SET(vnet_iter); - V_pf_pfil_hooked = 0; - V_pf_end_threads = 0; - TAILQ_INIT(&V_pf_tags); - TAILQ_INIT(&V_pf_qids); - CURVNET_RESTORE(); - } - VNET_LIST_RUNLOCK(); rw_init(&pf_rules_lock, "pf rulesets"); - pf_dev = make_dev(&pf_cdevsw, 0, 0, 0, 0600, PF_NAME); - if ((error = pfattach()) != 0) - return (error); return (0); } @@ -3730,3 +3716,6 @@ static moduledata_t pf_mod = { DECLARE_MODULE(pf, pf_mod, SI_SUB_PSEUDO, SI_ORDER_FIRST); MODULE_VERSION(pf, PF_MODVER); + +VNET_SYSINIT(pf_vnet_init, SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY - 255, + pf_vnet_init, NULL); Modified: projects/pf/head/sys/netpfil/pf/pf_norm.c ============================================================================== --- projects/pf/head/sys/netpfil/pf/pf_norm.c Mon Nov 18 20:21:44 2013 (r258321) +++ projects/pf/head/sys/netpfil/pf/pf_norm.c Mon Nov 18 22:18:07 2013 (r258322) @@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$"); #include "opt_pf.h" #include +#include #include #include #include @@ -92,6 +93,7 @@ struct pf_fragment { }; static struct mtx pf_frag_mtx; +MTX_SYSINIT(pf_frag_mtx, &pf_frag_mtx, "pf fragments", MTX_DEF); #define PF_FRAG_LOCK() mtx_lock(&pf_frag_mtx) #define PF_FRAG_UNLOCK() mtx_unlock(&pf_frag_mtx) #define PF_FRAG_ASSERT() mtx_assert(&pf_frag_mtx, MA_OWNED) @@ -146,7 +148,7 @@ static void pf_scrub_ip6(struct mbuf * } while(0) void -pf_normalize_init(void) +pf_vnet_normalize_init(void) { V_pf_frag_z = uma_zcreate("pf frags", sizeof(struct pf_fragment), @@ -162,8 +164,6 @@ pf_normalize_init(void) uma_zone_set_max(V_pf_frent_z, PFFRAG_FRENT_HIWAT); uma_zone_set_warning(V_pf_frent_z, "PF frag entries limit reached"); - mtx_init(&pf_frag_mtx, "pf fragments", NULL, MTX_DEF); - TAILQ_INIT(&V_pf_fragqueue); TAILQ_INIT(&V_pf_cachequeue); } @@ -175,8 +175,6 @@ pf_normalize_cleanup(void) uma_zdestroy(V_pf_state_scrub_z); uma_zdestroy(V_pf_frent_z); uma_zdestroy(V_pf_frag_z); - - mtx_destroy(&pf_frag_mtx); } static int From owner-svn-src-projects@FreeBSD.ORG Tue Nov 19 12:21:51 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5CBDA0F; Tue, 19 Nov 2013 12:21:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D111C2C4C; Tue, 19 Nov 2013 12:21:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAJCLpA3096337; Tue, 19 Nov 2013 12:21:51 GMT (envelope-from glebius@svn.freebsd.org) Received: (from glebius@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAJCLnWo096323; Tue, 19 Nov 2013 12:21:49 GMT (envelope-from glebius@svn.freebsd.org) Message-Id: <201311191221.rAJCLnWo096323@svn.freebsd.org> From: Gleb Smirnoff Date: Tue, 19 Nov 2013 12:21:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258344 - in projects/pf/head: . contrib/atf contrib/atf/admin contrib/atf/atf-c contrib/atf/atf-c++ contrib/atf/atf-c++/detail contrib/atf/atf-c/detail contrib/atf/atf-config contrib/a... X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2013 12:21:52 -0000 Author: glebius Date: Tue Nov 19 12:21:47 2013 New Revision: 258344 URL: http://svnweb.freebsd.org/changeset/base/258344 Log: Merge head up to r258343. Added: projects/pf/head/contrib/atf/atf-c++/detail/auto_array.hpp - copied unchanged from r258343, head/contrib/atf/atf-c++/detail/auto_array.hpp projects/pf/head/contrib/atf/atf-c++/detail/auto_array_test.cpp - copied unchanged from r258343, head/contrib/atf/atf-c++/detail/auto_array_test.cpp projects/pf/head/contrib/atf/atf-c++/noncopyable.hpp - copied unchanged from r258343, head/contrib/atf/atf-c++/noncopyable.hpp projects/pf/head/contrib/atf/atf-c++/utils.cpp - copied unchanged from r258343, head/contrib/atf/atf-c++/utils.cpp projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/StreamGDBRemote.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/include/lldb/Core/StreamGDBRemote.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/ValueObjectPrinter.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/ValueObjectPrinter.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Host/OptionParser.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/include/lldb/Host/OptionParser.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Target/SystemRuntime.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/include/lldb/Target/SystemRuntime.h projects/pf/head/contrib/llvm/tools/lldb/source/Core/StreamGDBRemote.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Core/StreamGDBRemote.cpp projects/pf/head/contrib/llvm/tools/lldb/source/DataFormatters/LibCxxUnorderedMap.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/DataFormatters/LibCxxUnorderedMap.cpp projects/pf/head/contrib/llvm/tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Host/common/ProcessRunLock.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Host/common/ProcessRunLock.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/ - copied from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/ projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_mips64.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_mips64.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_i386.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_i386.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_mips64.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_mips64.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_x86_64.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_x86_64.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h projects/pf/head/contrib/llvm/tools/lldb/source/Target/SystemRuntime.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/source/Target/SystemRuntime.cpp projects/pf/head/contrib/llvm/tools/lldb/tools/driver/ELWrapper.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/tools/driver/ELWrapper.cpp projects/pf/head/contrib/llvm/tools/lldb/tools/driver/ELWrapper.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/tools/driver/ELWrapper.h projects/pf/head/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.cpp projects/pf/head/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.h projects/pf/head/contrib/llvm/tools/lldb/tools/driver/Platform.cpp - copied unchanged from r258343, head/contrib/llvm/tools/lldb/tools/driver/Platform.cpp projects/pf/head/contrib/llvm/tools/lldb/tools/driver/Platform.h - copied unchanged from r258343, head/contrib/llvm/tools/lldb/tools/driver/Platform.h projects/pf/head/contrib/llvm/tools/lldb/tools/lldb-platform/ - copied from r258343, head/contrib/llvm/tools/lldb/tools/lldb-platform/ projects/pf/head/lib/libc/iconv/iconv-internal.h - copied unchanged from r258343, head/lib/libc/iconv/iconv-internal.h projects/pf/head/lib/libc/iconv/iconv_compat.c - copied unchanged from r258343, head/lib/libc/iconv/iconv_compat.c projects/pf/head/lib/libc_nonshared/ - copied from r258343, head/lib/libc_nonshared/ projects/pf/head/lib/libnv/ - copied from r258343, head/lib/libnv/ projects/pf/head/release/amd64/pkg-stage.conf - copied unchanged from r258343, head/release/amd64/pkg-stage.conf projects/pf/head/release/i386/pkg-stage.conf - copied unchanged from r258343, head/release/i386/pkg-stage.conf projects/pf/head/release/scripts/pkg-stage.sh - copied unchanged from r258343, head/release/scripts/pkg-stage.sh projects/pf/head/share/examples/tests/ - copied from r258343, head/share/examples/tests/ projects/pf/head/share/man/man4/axge.4 - copied unchanged from r258343, head/share/man/man4/axge.4 projects/pf/head/share/man/man4/gpioiic.4 - copied unchanged from r258343, head/share/man/man4/gpioiic.4 projects/pf/head/share/man/man4/gpioled.4 - copied unchanged from r258343, head/share/man/man4/gpioled.4 projects/pf/head/share/tests/ - copied from r258343, head/share/tests/ projects/pf/head/sys/amd64/vmm/io/vioapic.c - copied unchanged from r258343, head/sys/amd64/vmm/io/vioapic.c projects/pf/head/sys/amd64/vmm/io/vioapic.h - copied unchanged from r258343, head/sys/amd64/vmm/io/vioapic.h projects/pf/head/sys/arm/conf/COSMIC - copied unchanged from r258343, head/sys/arm/conf/COSMIC projects/pf/head/sys/arm/freescale/vybrid/ - copied from r258343, head/sys/arm/freescale/vybrid/ projects/pf/head/sys/arm/ti/ti_mbox.c - copied unchanged from r258343, head/sys/arm/ti/ti_mbox.c projects/pf/head/sys/arm/ti/ti_mbox.h - copied unchanged from r258343, head/sys/arm/ti/ti_mbox.h projects/pf/head/sys/arm/ti/ti_pruss.c - copied unchanged from r258343, head/sys/arm/ti/ti_pruss.c projects/pf/head/sys/arm/ti/ti_pruss.h - copied unchanged from r258343, head/sys/arm/ti/ti_pruss.h projects/pf/head/sys/boot/fdt/dts/vybrid-cosmic.dts - copied unchanged from r258343, head/sys/boot/fdt/dts/vybrid-cosmic.dts projects/pf/head/sys/boot/fdt/dts/vybrid.dtsi - copied unchanged from r258343, head/sys/boot/fdt/dts/vybrid.dtsi projects/pf/head/sys/dev/iwn/if_iwn_chip_cfg.h - copied unchanged from r258343, head/sys/dev/iwn/if_iwn_chip_cfg.h projects/pf/head/sys/dev/usb/net/if_axge.c - copied unchanged from r258343, head/sys/dev/usb/net/if_axge.c projects/pf/head/sys/dev/usb/net/if_axgereg.h - copied unchanged from r258343, head/sys/dev/usb/net/if_axgereg.h projects/pf/head/sys/modules/usb/axge/ - copied from r258343, head/sys/modules/usb/axge/ projects/pf/head/sys/net/ieee_oui.h - copied unchanged from r258343, head/sys/net/ieee_oui.h projects/pf/head/sys/powerpc/ofw/ofw_pcibus.h - copied unchanged from r258343, head/sys/powerpc/ofw/ofw_pcibus.h projects/pf/head/sys/powerpc/powerpc/copyinout.c - copied unchanged from r258343, head/sys/powerpc/powerpc/copyinout.c projects/pf/head/sys/powerpc/pseries/plpar_pcibus.c - copied unchanged from r258343, head/sys/powerpc/pseries/plpar_pcibus.c projects/pf/head/tools/build/options/WITH_TESTS - copied unchanged from r258343, head/tools/build/options/WITH_TESTS projects/pf/head/tools/regression/lib/libnv/ - copied from r258343, head/tools/regression/lib/libnv/ projects/pf/head/tools/regression/usr.sbin/etcupdate/preworld.sh - copied unchanged from r258343, head/tools/regression/usr.sbin/etcupdate/preworld.sh Deleted: projects/pf/head/contrib/atf/Atffile projects/pf/head/contrib/atf/Makefile.am projects/pf/head/contrib/atf/Makefile.in projects/pf/head/contrib/atf/admin/ projects/pf/head/contrib/atf/atf-c++/Atffile projects/pf/head/contrib/atf/atf-c++/Makefile.am.inc projects/pf/head/contrib/atf/atf-c++/detail/Atffile projects/pf/head/contrib/atf/atf-c++/detail/Makefile.am.inc projects/pf/head/contrib/atf/atf-c/Atffile projects/pf/head/contrib/atf/atf-c/Makefile.am.inc projects/pf/head/contrib/atf/atf-c/detail/Atffile projects/pf/head/contrib/atf/atf-c/detail/Makefile.am.inc projects/pf/head/contrib/atf/atf-c/detail/test_helpers_test.c projects/pf/head/contrib/atf/atf-config/ projects/pf/head/contrib/atf/atf-report/ projects/pf/head/contrib/atf/atf-run/ projects/pf/head/contrib/atf/atf-sh/Atffile projects/pf/head/contrib/atf/atf-sh/Makefile.am.inc projects/pf/head/contrib/atf/atf-version/ projects/pf/head/contrib/atf/bconfig.h.in projects/pf/head/contrib/atf/configure projects/pf/head/contrib/atf/configure.ac projects/pf/head/contrib/atf/doc/Makefile.am.inc projects/pf/head/contrib/atf/doc/atf-formats.5 projects/pf/head/contrib/atf/doc/atf.7.in projects/pf/head/contrib/atf/test-programs/Atffile projects/pf/head/contrib/atf/test-programs/Makefile.am.inc projects/pf/head/contrib/atf/test-programs/fork_test.sh projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Utility/RefCounter.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreFreeBSD_x86_64.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreFreeBSD_x86_64.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreLinux_x86_64.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreLinux_x86_64.h projects/pf/head/contrib/llvm/tools/lldb/source/Utility/RefCounter.cpp projects/pf/head/sys/arm/samsung/exynos/bus_space.c projects/pf/head/sys/powerpc/aim/copyinout.c projects/pf/head/sys/powerpc/booke/copyinout.c projects/pf/head/tools/build/options/WITH_LIBICONV_COMPAT projects/pf/head/usr.sbin/bhyve/ioapic.c projects/pf/head/usr.sbin/bhyve/ioapic.h Modified: projects/pf/head/Makefile.inc1 projects/pf/head/ObsoleteFiles.inc projects/pf/head/contrib/atf/FREEBSD-Xlist projects/pf/head/contrib/atf/FREEBSD-upgrade projects/pf/head/contrib/atf/NEWS projects/pf/head/contrib/atf/atf-c++.hpp projects/pf/head/contrib/atf/atf-c++/atf-c++-api.3 projects/pf/head/contrib/atf/atf-c++/check.hpp projects/pf/head/contrib/atf/atf-c++/check_test.cpp projects/pf/head/contrib/atf/atf-c++/detail/Kyuafile projects/pf/head/contrib/atf/atf-c++/detail/parser.hpp projects/pf/head/contrib/atf/atf-c++/detail/process.cpp projects/pf/head/contrib/atf/atf-c++/detail/process.hpp projects/pf/head/contrib/atf/atf-c++/detail/test_helpers.cpp projects/pf/head/contrib/atf/atf-c++/detail/test_helpers.hpp projects/pf/head/contrib/atf/atf-c++/macros_test.cpp projects/pf/head/contrib/atf/atf-c++/pkg_config_test.sh projects/pf/head/contrib/atf/atf-c++/tests.cpp projects/pf/head/contrib/atf/atf-c++/tests.hpp projects/pf/head/contrib/atf/atf-c++/utils.hpp projects/pf/head/contrib/atf/atf-c++/utils_test.cpp projects/pf/head/contrib/atf/atf-c.h projects/pf/head/contrib/atf/atf-c/atf-c-api.3 projects/pf/head/contrib/atf/atf-c/check_test.c projects/pf/head/contrib/atf/atf-c/detail/Kyuafile projects/pf/head/contrib/atf/atf-c/detail/process_test.c projects/pf/head/contrib/atf/atf-c/detail/sanity_test.c projects/pf/head/contrib/atf/atf-c/detail/test_helpers.c projects/pf/head/contrib/atf/atf-c/detail/test_helpers.h projects/pf/head/contrib/atf/atf-c/macros.h projects/pf/head/contrib/atf/atf-c/macros_test.c projects/pf/head/contrib/atf/atf-c/pkg_config_test.sh projects/pf/head/contrib/atf/atf-c/utils.c projects/pf/head/contrib/atf/atf-c/utils.h projects/pf/head/contrib/atf/atf-c/utils_test.c projects/pf/head/contrib/atf/atf-sh/atf-check.cpp projects/pf/head/contrib/atf/atf-sh/atf-check_test.sh projects/pf/head/contrib/atf/atf-sh/atf-sh-api.3 projects/pf/head/contrib/atf/atf-sh/atf-sh.1 projects/pf/head/contrib/atf/atf-sh/atf_check_test.sh projects/pf/head/contrib/atf/atf-sh/misc_helpers.sh projects/pf/head/contrib/atf/bconfig.h projects/pf/head/contrib/atf/test-programs/Kyuafile projects/pf/head/contrib/atf/test-programs/c_helpers.c projects/pf/head/contrib/atf/test-programs/cpp_helpers.cpp projects/pf/head/contrib/atf/test-programs/sh_helpers.sh projects/pf/head/contrib/binutils/binutils/cxxfilt.c projects/pf/head/contrib/bmake/hash.c projects/pf/head/contrib/bmake/lst.lib/lstMember.c projects/pf/head/contrib/gcc/ChangeLog.gcc43 projects/pf/head/contrib/gcc/c-common.c projects/pf/head/contrib/gcc/c-common.h projects/pf/head/contrib/gcc/c-decl.c projects/pf/head/contrib/gcc/c-opts.c projects/pf/head/contrib/gcc/c-typeck.c projects/pf/head/contrib/gcc/c.opt projects/pf/head/contrib/gcc/config/rs6000/rs6000.c projects/pf/head/contrib/gcc/cp/cp-lang.c projects/pf/head/contrib/gcc/cp/cp-tree.h projects/pf/head/contrib/gcc/cp/decl.c projects/pf/head/contrib/gcc/cp/parser.c projects/pf/head/contrib/gcc/cp/pt.c projects/pf/head/contrib/gcc/cp/semantics.c projects/pf/head/contrib/gcc/cp/tree.c projects/pf/head/contrib/gcc/cp/typeck.c projects/pf/head/contrib/gcc/doc/invoke.texi projects/pf/head/contrib/gcc/dwarf2out.c projects/pf/head/contrib/gcc/flags.h projects/pf/head/contrib/gcc/langhooks-def.h projects/pf/head/contrib/gcc/langhooks.h projects/pf/head/contrib/gcc/opts.c projects/pf/head/contrib/gcc/postreload-gcse.c projects/pf/head/contrib/gcc/regs.h projects/pf/head/contrib/gcc/rtlanal.c projects/pf/head/contrib/gcc/tree-vrp.c projects/pf/head/contrib/gcc/tree.h projects/pf/head/contrib/gcclibs/libcpp/files.c projects/pf/head/contrib/gcclibs/libcpp/internal.h projects/pf/head/contrib/gcclibs/libcpp/lex.c projects/pf/head/contrib/gcclibs/libiberty/cp-demangle.c projects/pf/head/contrib/gcclibs/libiberty/testsuite/demangle-expected projects/pf/head/contrib/gperf/doc/gperf.1 projects/pf/head/contrib/gperf/src/options.cc projects/pf/head/contrib/gperf/src/options.h projects/pf/head/contrib/gperf/src/options.icc projects/pf/head/contrib/gperf/src/output.cc projects/pf/head/contrib/llvm/tools/lldb/include/lldb/API/SBHostOS.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/API/SBProcess.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/API/SBTarget.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/API/SBThread.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/Breakpoint.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointList.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocation.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointResolver.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointSiteList.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/StoppointLocation.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/Address.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/ArchSpec.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionFileDescriptor.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionMachPort.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/ConstString.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/DataExtractor.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/Debugger.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/Disassembler.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/EmulateInstruction.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/Error.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/Flags.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/Log.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/Module.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/ModuleList.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/ModuleSpec.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/Opcode.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/PluginManager.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/RangeMap.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/RegularExpression.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/UUID.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/Value.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/ValueObject.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/ValueObjectDynamicValue.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Core/dwarf.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/CXXFormatterFunctions.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/DataVisualization.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatCache.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatClasses.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatManager.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatNavigator.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeCategory.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeCategoryMap.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeSummary.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeSynthetic.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Expression/ClangExpressionDeclMap.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Expression/ClangFunction.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Expression/ClangUserExpression.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Expression/DWARFExpression.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Expression/IRExecutionUnit.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Expression/IRForTarget.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Host/Condition.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Host/Config.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Host/File.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Host/FileSpec.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Host/Host.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Host/Mutex.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Host/ProcessRunLock.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Host/SocketAddress.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Host/Symbols.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Host/Terminal.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Host/TimeValue.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Interpreter/Args.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Interpreter/CommandObject.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Interpreter/OptionGroupValueObjectDisplay.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Interpreter/OptionValueBoolean.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Interpreter/OptionValueEnumeration.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Interpreter/Options.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Interpreter/PythonDataObjects.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Interpreter/ScriptInterpreter.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Interpreter/ScriptInterpreterPython.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Symbol/Block.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Symbol/ClangASTImporter.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Symbol/ClangASTType.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Symbol/ClangNamespaceDecl.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Symbol/ObjectFile.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Symbol/Symbol.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Symbol/SymbolContext.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Symbol/Symtab.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Symbol/Type.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Symbol/TypeList.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Target/DynamicLoader.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Target/ExecutionContext.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Target/Platform.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Target/Process.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Target/RegisterContext.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Target/StackFrame.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Target/StackFrameList.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Target/StackID.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Target/Target.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Target/Thread.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Target/ThreadPlanCallFunction.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Target/ThreadPlanStepOverRange.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/Utility/SharingPtr.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/lldb-defines.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/lldb-enumerations.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/lldb-forward.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/lldb-private-enumerations.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/lldb-private-interfaces.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/lldb-private-log.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/lldb-private.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/lldb-types.h projects/pf/head/contrib/llvm/tools/lldb/include/lldb/lldb-versioning.h projects/pf/head/contrib/llvm/tools/lldb/source/API/SBCommandInterpreter.cpp projects/pf/head/contrib/llvm/tools/lldb/source/API/SBData.cpp projects/pf/head/contrib/llvm/tools/lldb/source/API/SBDebugger.cpp projects/pf/head/contrib/llvm/tools/lldb/source/API/SBFileSpec.cpp projects/pf/head/contrib/llvm/tools/lldb/source/API/SBFunction.cpp projects/pf/head/contrib/llvm/tools/lldb/source/API/SBHostOS.cpp projects/pf/head/contrib/llvm/tools/lldb/source/API/SBModuleSpec.cpp projects/pf/head/contrib/llvm/tools/lldb/source/API/SBProcess.cpp projects/pf/head/contrib/llvm/tools/lldb/source/API/SBSymbol.cpp projects/pf/head/contrib/llvm/tools/lldb/source/API/SBTarget.cpp projects/pf/head/contrib/llvm/tools/lldb/source/API/SBThread.cpp projects/pf/head/contrib/llvm/tools/lldb/source/API/SBType.cpp projects/pf/head/contrib/llvm/tools/lldb/source/API/SBTypeCategory.cpp projects/pf/head/contrib/llvm/tools/lldb/source/API/SBTypeNameSpecifier.cpp projects/pf/head/contrib/llvm/tools/lldb/source/API/SBValue.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Breakpoint/Breakpoint.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointList.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointLocation.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointLocationList.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolver.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolverName.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Breakpoint/StoppointLocation.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandCompletions.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectArgs.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectBreakpoint.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectBreakpointCommand.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectCommands.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectDisassemble.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.h projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectFrame.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectHelp.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectLog.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectMemory.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectPlatform.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectProcess.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectRegister.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectSettings.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectSource.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectThread.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectType.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpoint.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/Address.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/ArchSpec.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/Communication.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/ConnectionFileDescriptor.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/ConnectionMachPort.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/ConnectionSharedMemory.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/ConstString.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/DataBufferMemoryMap.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/DataExtractor.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/Debugger.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/Disassembler.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/Error.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/FileLineResolver.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/Log.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/Mangled.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/Module.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/ModuleList.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/Opcode.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/PluginManager.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/SearchFilter.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/SourceManager.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/Timer.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/Value.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/ValueObject.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/ValueObjectDynamicValue.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/ValueObjectSyntheticFilter.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Core/ValueObjectVariable.cpp projects/pf/head/contrib/llvm/tools/lldb/source/DataFormatters/CXXFormatterFunctions.cpp projects/pf/head/contrib/llvm/tools/lldb/source/DataFormatters/DataVisualization.cpp projects/pf/head/contrib/llvm/tools/lldb/source/DataFormatters/FormatCache.cpp projects/pf/head/contrib/llvm/tools/lldb/source/DataFormatters/FormatManager.cpp projects/pf/head/contrib/llvm/tools/lldb/source/DataFormatters/TypeCategory.cpp projects/pf/head/contrib/llvm/tools/lldb/source/DataFormatters/TypeCategoryMap.cpp projects/pf/head/contrib/llvm/tools/lldb/source/DataFormatters/TypeFormat.cpp projects/pf/head/contrib/llvm/tools/lldb/source/DataFormatters/TypeSummary.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Expression/ClangASTSource.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Expression/ClangExpressionDeclMap.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Expression/ClangFunction.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Expression/ClangUserExpression.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Expression/DWARFExpression.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Expression/IRForTarget.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Expression/IRInterpreter.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Expression/IRMemoryMap.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Expression/Materializer.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Host/common/Condition.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Host/common/File.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Host/common/FileSpec.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Host/common/Host.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Host/common/Mutex.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Host/common/SocketAddress.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Host/common/Symbols.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Host/common/Terminal.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Host/common/TimeValue.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Host/freebsd/Host.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/Args.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/CommandInterpreter.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/CommandObject.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupArchitecture.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupBoolean.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupFile.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupFormat.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupOutputFile.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupPlatform.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupString.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUInt64.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUUID.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupVariable.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupWatchpoint.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/OptionValueFileSpec.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/OptionValueProperties.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/Options.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/PythonDataObjects.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreter.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterPython.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulationStateARM.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessMessage.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessMessage.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_x86.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfo.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfo.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfoEntry.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfoEntry.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationDescription.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationDescription.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/LogChannelDWARF.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Symbol/ClangASTImporter.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Symbol/ClangASTType.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Symbol/CompileUnit.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Symbol/DWARFCallFrameInfo.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Symbol/FuncUnwinders.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Symbol/LineEntry.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Symbol/ObjectFile.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Symbol/Symbol.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Symbol/SymbolContext.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Symbol/Symtab.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Symbol/Type.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Symbol/UnwindTable.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Symbol/Variable.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/ExecutionContext.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/LanguageRuntime.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/Platform.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/Process.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/RegisterContext.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/StackFrame.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/StackFrameList.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/StopInfo.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/Target.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/TargetList.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/Thread.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/ThreadPlanCallFunction.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/ThreadPlanRunToAddress.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepOut.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepOverRange.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepRange.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepThrough.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepUntil.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Target/UnixSignals.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Utility/PseudoTerminal.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Utility/SharingPtr.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Utility/StringExtractor.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Utility/StringExtractor.h projects/pf/head/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp projects/pf/head/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.h projects/pf/head/contrib/llvm/tools/lldb/source/lldb-log.cpp projects/pf/head/contrib/llvm/tools/lldb/source/lldb.cpp projects/pf/head/contrib/llvm/tools/lldb/tools/driver/Driver.cpp projects/pf/head/contrib/llvm/tools/lldb/tools/driver/Driver.h projects/pf/head/contrib/llvm/tools/lldb/tools/driver/IOChannel.cpp projects/pf/head/contrib/llvm/tools/lldb/tools/driver/IOChannel.h projects/pf/head/contrib/mdocml/lib.in projects/pf/head/contrib/netcat/nc.1 projects/pf/head/contrib/netcat/netcat.c projects/pf/head/contrib/smbfs/lib/smb/nls.c projects/pf/head/etc/Makefile projects/pf/head/etc/devd/usb.conf projects/pf/head/etc/mtree/BSD.include.dist projects/pf/head/etc/mtree/BSD.tests.dist projects/pf/head/etc/mtree/BSD.usr.dist projects/pf/head/etc/mtree/Makefile projects/pf/head/etc/network.subr projects/pf/head/etc/pkg/FreeBSD.conf projects/pf/head/etc/rc.d/ftp-proxy projects/pf/head/etc/rc.d/pflog projects/pf/head/include/iconv.h projects/pf/head/lib/Makefile projects/pf/head/lib/atf/libatf-c++/Makefile projects/pf/head/lib/atf/libatf-c++/tests/Makefile projects/pf/head/lib/atf/libatf-c/tests/Makefile projects/pf/head/lib/atf/tests/test-programs/Makefile projects/pf/head/lib/clang/liblldbCore/Makefile projects/pf/head/lib/clang/liblldbDataFormatters/Makefile projects/pf/head/lib/clang/liblldbHostCommon/Makefile projects/pf/head/lib/clang/liblldbPluginProcessElfCore/Makefile projects/pf/head/lib/clang/liblldbPluginProcessPOSIX/Makefile projects/pf/head/lib/clang/liblldbPluginSymbolFileDWARF/Makefile projects/pf/head/lib/clang/liblldbTarget/Makefile projects/pf/head/lib/clang/liblldbUtility/Makefile projects/pf/head/lib/libc/iconv/Makefile.inc projects/pf/head/lib/libc/iconv/Symbol.map projects/pf/head/lib/libc/iconv/iconv.c projects/pf/head/lib/libc/libc.ldscript projects/pf/head/lib/libc/posix1e/acl.3 projects/pf/head/lib/libc/posix1e/acl_is_trivial_np.3 projects/pf/head/lib/libc/stdio/printf_l.3 projects/pf/head/lib/libc/stdio/scanf_l.3 projects/pf/head/lib/libiconv_modules/UTF7/citrus_utf7.c projects/pf/head/lib/libsmb/Makefile projects/pf/head/lib/libutil/expand_number.3 projects/pf/head/lib/libvmmapi/vmmapi.c projects/pf/head/lib/libvmmapi/vmmapi.h projects/pf/head/release/Makefile projects/pf/head/release/release.sh projects/pf/head/sbin/nvmecontrol/firmware.c projects/pf/head/sbin/sysctl/sysctl.8 projects/pf/head/share/Makefile projects/pf/head/share/examples/Makefile projects/pf/head/share/i18n/esdb/UTF/UTF.alias projects/pf/head/share/man/man4/Makefile projects/pf/head/share/man/man4/gpio.4 projects/pf/head/share/man/man4/pf.4 projects/pf/head/share/man/man4/rights.4 projects/pf/head/share/man/man5/rc.conf.5 projects/pf/head/share/man/man5/src.conf.5 projects/pf/head/share/man/man7/release.7 projects/pf/head/share/mk/atf.test.mk projects/pf/head/share/mk/bsd.libnames.mk projects/pf/head/share/mk/bsd.own.mk projects/pf/head/share/mk/bsd.progs.mk projects/pf/head/share/mk/plain.test.mk projects/pf/head/sys/amd64/amd64/machdep.c projects/pf/head/sys/amd64/ia32/ia32_signal.c projects/pf/head/sys/amd64/include/vmm.h (contents, props changed) projects/pf/head/sys/amd64/include/vmm_dev.h (contents, props changed) projects/pf/head/sys/amd64/linux32/linux32_sysvec.c projects/pf/head/sys/amd64/vmm/vmm.c projects/pf/head/sys/amd64/vmm/vmm_dev.c projects/pf/head/sys/arm/arm/pmap-v6.c projects/pf/head/sys/arm/arm/trap.c projects/pf/head/sys/arm/broadcom/bcm2835/bcm2835_bsc.c projects/pf/head/sys/arm/broadcom/bcm2835/bcm2835_bscvar.h projects/pf/head/sys/arm/econa/uart_bus_ec.c projects/pf/head/sys/arm/econa/uart_cpu_ec.c projects/pf/head/sys/arm/samsung/exynos/exynos5_machdep.c projects/pf/head/sys/arm/samsung/exynos/files.exynos5 projects/pf/head/sys/arm/ti/files.ti projects/pf/head/sys/boot/forth/beastie.4th projects/pf/head/sys/boot/forth/loader.4th projects/pf/head/sys/boot/forth/loader.4th.8 projects/pf/head/sys/boot/forth/loader.rc projects/pf/head/sys/boot/forth/menu.rc projects/pf/head/sys/boot/i386/loader/loader.rc projects/pf/head/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c projects/pf/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_userhold.c projects/pf/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lz4.c projects/pf/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c projects/pf/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_compress.h projects/pf/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c projects/pf/head/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h projects/pf/head/sys/conf/files projects/pf/head/sys/conf/files.powerpc projects/pf/head/sys/dev/acpica/acpi_hpet.c projects/pf/head/sys/dev/ahci/ahci.c projects/pf/head/sys/dev/ahci/ahci.h projects/pf/head/sys/dev/ata/ata-pci.h projects/pf/head/sys/dev/ata/chipsets/ata-intel.c projects/pf/head/sys/dev/bxe/bxe.c projects/pf/head/sys/dev/bxe/bxe.h projects/pf/head/sys/dev/bxe/bxe_elink.c projects/pf/head/sys/dev/bxe/ecore_hsi.h projects/pf/head/sys/dev/bxe/ecore_init.h projects/pf/head/sys/dev/bxe/ecore_reg.h projects/pf/head/sys/dev/bxe/ecore_sp.c projects/pf/head/sys/dev/bxe/ecore_sp.h projects/pf/head/sys/dev/drm2/drm.h projects/pf/head/sys/dev/drm2/drmP.h projects/pf/head/sys/dev/drm2/drm_drv.c projects/pf/head/sys/dev/drm2/drm_ioctl.c projects/pf/head/sys/dev/gpio/gpiobus.c projects/pf/head/sys/dev/ichsmb/ichsmb_pci.c projects/pf/head/sys/dev/iwn/if_iwn.c projects/pf/head/sys/dev/iwn/if_iwnreg.h projects/pf/head/sys/dev/iwn/if_iwnvar.h projects/pf/head/sys/dev/nand/nand.c projects/pf/head/sys/dev/nand/nand.h projects/pf/head/sys/dev/nand/nand_generic.c projects/pf/head/sys/dev/oce/oce_hw.h projects/pf/head/sys/dev/oce/oce_sysctl.c projects/pf/head/sys/dev/ofw/ofw_bus_if.m projects/pf/head/sys/dev/qlxgbe/ql_hw.c projects/pf/head/sys/dev/qlxgbe/ql_hw.h projects/pf/head/sys/dev/qlxgbe/ql_ioctl.c projects/pf/head/sys/dev/qlxge/qls_ioctl.c projects/pf/head/sys/dev/sound/pci/hda/hdac.c projects/pf/head/sys/dev/sound/pci/hda/hdac.h projects/pf/head/sys/dev/sound/pci/hda/hdacc.c projects/pf/head/sys/dev/uart/uart.h projects/pf/head/sys/dev/uart/uart_bus_fdt.c projects/pf/head/sys/dev/usb/controller/ehci_pci.c projects/pf/head/sys/dev/usb/usbdevs projects/pf/head/sys/dev/usb/wlan/if_rsu.c projects/pf/head/sys/dev/usb/wlan/if_run.c projects/pf/head/sys/dev/usb/wlan/if_runreg.h projects/pf/head/sys/dev/xen/balloon/balloon.c projects/pf/head/sys/fs/pseudofs/pseudofs_vnops.c projects/pf/head/sys/geom/multipath/g_multipath.c projects/pf/head/sys/geom/multipath/g_multipath.h projects/pf/head/sys/i386/conf/XEN projects/pf/head/sys/i386/i386/machdep.c projects/pf/head/sys/i386/include/vm86.h projects/pf/head/sys/i386/linux/linux_sysvec.c projects/pf/head/sys/kern/kern_event.c projects/pf/head/sys/kern/kern_exit.c projects/pf/head/sys/kern/kern_sig.c projects/pf/head/sys/kern/subr_capability.c projects/pf/head/sys/kern/subr_param.c projects/pf/head/sys/kern/sys_generic.c projects/pf/head/sys/kern/sysv_shm.c projects/pf/head/sys/kern/uipc_mbuf.c projects/pf/head/sys/kern/uipc_mqueue.c projects/pf/head/sys/kern/vfs_bio.c projects/pf/head/sys/kern/vfs_vnops.c projects/pf/head/sys/modules/usb/Makefile projects/pf/head/sys/modules/vmm/Makefile projects/pf/head/sys/net/if_ethersubr.c projects/pf/head/sys/net/if_gif.c projects/pf/head/sys/netinet/in.c projects/pf/head/sys/netinet/sctp_bsd_addr.c projects/pf/head/sys/netinet/sctp_indata.c projects/pf/head/sys/netinet/sctp_output.c projects/pf/head/sys/netinet/sctp_pcb.c projects/pf/head/sys/netinet/tcp_subr.c projects/pf/head/sys/netpfil/pf/pf_lb.c projects/pf/head/sys/ofed/drivers/net/mlx4/en_netdev.c projects/pf/head/sys/pc98/pc98/machdep.c projects/pf/head/sys/powerpc/aim/mmu_oea64.c projects/pf/head/sys/powerpc/aim/trap.c projects/pf/head/sys/powerpc/booke/machdep.c projects/pf/head/sys/powerpc/booke/pmap.c projects/pf/head/sys/powerpc/booke/trap.c projects/pf/head/sys/powerpc/fpu/fpu_emu.c projects/pf/head/sys/powerpc/fpu/fpu_explode.c projects/pf/head/sys/powerpc/include/counter.h projects/pf/head/sys/powerpc/include/param.h projects/pf/head/sys/powerpc/include/pcb.h projects/pf/head/sys/powerpc/include/trap.h projects/pf/head/sys/powerpc/mpc85xx/mpc85xx.h projects/pf/head/sys/powerpc/mpc85xx/platform_mpc85xx.c projects/pf/head/sys/powerpc/ofw/ofw_pcibus.c projects/pf/head/sys/powerpc/ofw/ofw_syscons.c projects/pf/head/sys/powerpc/powermac/macio.c projects/pf/head/sys/powerpc/powermac/uninorth.c projects/pf/head/sys/powerpc/powermac/uninorthpci.c projects/pf/head/sys/powerpc/powermac/uninorthvar.h projects/pf/head/sys/powerpc/powerpc/exec_machdep.c projects/pf/head/sys/powerpc/powerpc/fpu.c projects/pf/head/sys/powerpc/powerpc/genassym.c projects/pf/head/sys/powerpc/powerpc/swtch32.S projects/pf/head/sys/powerpc/pseries/plpar_iommu.c projects/pf/head/sys/powerpc/pseries/rtas_pci.c projects/pf/head/sys/rpc/svc.c projects/pf/head/sys/sys/capability.h projects/pf/head/sys/sys/param.h projects/pf/head/sys/sys/systm.h projects/pf/head/sys/vm/uma_core.c projects/pf/head/sys/vm/uma_int.h projects/pf/head/sys/vm/vm_fault.c projects/pf/head/sys/x86/include/psl.h projects/pf/head/tools/build/mk/OptionalObsoleteFiles.inc projects/pf/head/tools/regression/usr.sbin/etcupdate/always.sh projects/pf/head/tools/regression/usr.sbin/etcupdate/conflicts.sh projects/pf/head/tools/regression/usr.sbin/etcupdate/fbsdid.sh projects/pf/head/tools/regression/usr.sbin/etcupdate/ignore.sh projects/pf/head/tools/regression/usr.sbin/etcupdate/tests.sh projects/pf/head/tools/tools/bus_autoconf/bus_autoconf.sh projects/pf/head/tools/tools/umastat/umastat.c projects/pf/head/usr.bin/cmp/cmp.1 projects/pf/head/usr.bin/login/login.c projects/pf/head/usr.bin/procstat/procstat_files.c projects/pf/head/usr.bin/svn/svn/Makefile projects/pf/head/usr.sbin/bhyve/Makefile projects/pf/head/usr.sbin/bhyve/bhyverun.c projects/pf/head/usr.sbin/bhyve/pci_emul.c projects/pf/head/usr.sbin/bhyve/pci_lpc.c projects/pf/head/usr.sbin/bhyve/pit_8254.c projects/pf/head/usr.sbin/bsdconfig/packages/packages projects/pf/head/usr.sbin/bsdconfig/share/media/cdrom.subr projects/pf/head/usr.sbin/bsdconfig/share/media/http.subr projects/pf/head/usr.sbin/bsdconfig/share/packages/index.subr projects/pf/head/usr.sbin/bsdconfig/share/packages/packages.subr projects/pf/head/usr.sbin/bsdconfig/share/sysrc.subr projects/pf/head/usr.sbin/bsdinstall/scripts/zfsboot projects/pf/head/usr.sbin/etcupdate/etcupdate.8 projects/pf/head/usr.sbin/etcupdate/etcupdate.sh projects/pf/head/usr.sbin/gpioctl/gpioctl.8 projects/pf/head/usr.sbin/mfiutil/mfiutil.c projects/pf/head/usr.sbin/pkg/pkg.c projects/pf/head/usr.sbin/portsnap/portsnap/portsnap.sh projects/pf/head/usr.sbin/syslogd/syslogd.c Directory Properties: projects/pf/head/ (props changed) projects/pf/head/contrib/atf/ (props changed) projects/pf/head/contrib/binutils/ (props changed) projects/pf/head/contrib/bmake/ (props changed) projects/pf/head/contrib/gcc/ (props changed) projects/pf/head/contrib/llvm/ (props changed) projects/pf/head/contrib/llvm/tools/lldb/ (props changed) projects/pf/head/contrib/netcat/ (props changed) projects/pf/head/gnu/lib/ (props changed) projects/pf/head/lib/libc/ (props changed) projects/pf/head/lib/libutil/ (props changed) projects/pf/head/lib/libvmmapi/ (props changed) projects/pf/head/sbin/ (props changed) projects/pf/head/share/man/man4/ (props changed) projects/pf/head/sys/ (props changed) projects/pf/head/sys/amd64/vmm/ (props changed) projects/pf/head/sys/boot/ (props changed) projects/pf/head/sys/cddl/contrib/opensolaris/ (props changed) projects/pf/head/sys/conf/ (props changed) projects/pf/head/sys/modules/vmm/ (props changed) projects/pf/head/usr.bin/procstat/ (props changed) projects/pf/head/usr.sbin/bhyve/ (props changed) Modified: projects/pf/head/Makefile.inc1 ============================================================================== --- projects/pf/head/Makefile.inc1 Tue Nov 19 11:47:30 2013 (r258343) +++ projects/pf/head/Makefile.inc1 Tue Nov 19 12:21:47 2013 (r258344) @@ -136,7 +136,7 @@ REVISION!= make -C ${SRCDIR}/release -V BRANCH!= make -C ${SRCDIR}/release -V BRANCH SRCRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \ ${SRCDIR}/sys/sys/param.h -VERSION= FreeBSD ${REVISION}-${BRANCH} ${TARGET_ARCH} ${SRCRELDATE} +VERSION= FreeBSD ${REVISION}-${BRANCH:C/-p[0-9]+$//} ${TARGET_ARCH} ${SRCRELDATE} .endif KNOWN_ARCHES?= amd64 arm armeb/arm armv6/arm i386 i386/pc98 ia64 mips mipsel/mips mips64el/mips mips64/mips mipsn32el/mips mipsn32/mips powerpc powerpc64/powerpc sparc64 @@ -509,7 +509,7 @@ _worldtmp: .endif .if ${MK_TESTS} != "no" mtree -deU -f ${.CURDIR}/etc/mtree/BSD.tests.dist \ - -p ${WORLDTMP}${TESTSBASE} >/dev/null + -p ${WORLDTMP}/usr >/dev/null .endif .for _mtree in ${LOCAL_MTREE} mtree -deU -f ${.CURDIR}/${_mtree} -p ${WORLDTMP} > /dev/null @@ -1475,11 +1475,13 @@ _startup_libs+= lib/csu/${MACHINE_CPUARC _startup_libs+= gnu/lib/libgcc _startup_libs+= lib/libcompiler_rt _startup_libs+= lib/libc +_startup_libs+= lib/libc_nonshared .if ${MK_LIBCPLUSPLUS} != "no" _startup_libs+= lib/libcxxrt .endif gnu/lib/libgcc__L: lib/libc__L +gnu/lib/libgcc__L: lib/libc_nonshared__L .if ${MK_LIBCPLUSPLUS} != "no" lib/libcxxrt__L: gnu/lib/libgcc__L .endif Modified: projects/pf/head/ObsoleteFiles.inc ============================================================================== --- projects/pf/head/ObsoleteFiles.inc Tue Nov 19 11:47:30 2013 (r258343) +++ projects/pf/head/ObsoleteFiles.inc Tue Nov 19 12:21:47 2013 (r258344) @@ -44,12 +44,19 @@ OLD_FILES+=usr/share/man/man2/extattr_ge # 20131107: example files removed OLD_FILES+=usr/share/examples/libusb20/aux.c OLD_FILES+=usr/share/examples/libusb20/aux.h +# 20131105: tzdata 2013h import +OLD_FILES+=usr/share/zoneinfo/America/Shiprock +OLD_FILES+=usr/share/zoneinfo/Antarctica/South_Pole # 20131103: WITH_LIBICONV_COMPAT removal OLD_FILES+=usr/include/_libiconv_compat.h OLD_FILES+=usr/lib/libiconv.a OLD_FILES+=usr/lib/libiconv.so OLD_FILES+=usr/lib/libiconv.so.3 OLD_FILES+=usr/lib/libiconv_p.a +OLD_FILES+=usr/lib32/libiconv.a +OLD_FILES+=usr/lib32/libiconv.so +OLD_FILES+=usr/lib32/libiconv.so.3 +OLD_FILES+=usr/lib32/libiconv_p.a # 20131103: removal of utxrm(8), use 'utx rm' instead. OLD_FILES+=usr/sbin/utxrm OLD_FILES+=usr/share/man/man8/utxrm.8.gz @@ -79,8 +86,14 @@ OLD_FILES+=etc/keys/pkg/trusted/pkg.free # 20131028: ng_fec(4) removed OLD_FILES+=usr/include/netgraph/ng_fec.h OLD_FILES+=usr/share/man/man4/ng_fec.4.gz +# 20131027: header moved +OLD_FILES+=usr/include/net/pf_mtag.h # 20131023: remove never used iscsi directory OLD_DIRS+=usr/share/examples/iscsi +# 20131021: isf(4) removed +OLD_FILES+=usr/sbin/isfctl +OLD_FILES+=usr/share/man/man4/isf.4.gz +OLD_FILES+=usr/share/man/man8/isfctl.8.gz # 20131014: libbsdyml becomes private OLD_FILES+=usr/lib/libbsdyml.a OLD_FILES+=usr/lib/libbsdyml.so Modified: projects/pf/head/contrib/atf/FREEBSD-Xlist ============================================================================== --- projects/pf/head/contrib/atf/FREEBSD-Xlist Tue Nov 19 11:47:30 2013 (r258343) +++ projects/pf/head/contrib/atf/FREEBSD-Xlist Tue Nov 19 12:21:47 2013 (r258344) @@ -1,8 +1,21 @@ +*/*/Atffile +*/*/Makefile* +*/Atffile +*/Makefile* +Atffile +INSTALL +Makefile* +aclocal.m4 +admin/ +atf-*/atf-*.m4 +atf-*/atf-*.pc.in +atf-config/ +atf-report/ +atf-run/ +atf-version/ +bconfig.h.in bootstrap/ -config.log -config.status -libtool -Makefile -stamp-h1 -*/*/.deps/ -*/.deps/ +configure* +doc/atf-formats.5 +doc/atf.7.in +m4/ Modified: projects/pf/head/contrib/atf/FREEBSD-upgrade ============================================================================== --- projects/pf/head/contrib/atf/FREEBSD-upgrade Tue Nov 19 11:47:30 2013 (r258343) +++ projects/pf/head/contrib/atf/FREEBSD-upgrade Tue Nov 19 12:21:47 2013 (r258344) @@ -1,28 +1,48 @@ $FreeBSD$ -atf +This document contains a collection of notes specific to the import +of atf into head. These notes are built on the instructions in +the FreeBSD Subversion Primer that detail how to deal with vendor +branches and you are supposed to follow those: -The source code is hosted on GoogleCode as a subcomponent of the Kyua project: + http://www.freebsd.org/doc/en/articles/committers-guide/subversion-primer.html - http://code.google.com/p/kyua/downloads/list - -For the contrib directory, the sources were initially prepared like so: - - ./configure --prefix=/ --exec-prefix=/usr --datarootdir=/usr/share +The ATF source code is hosted on Google Code as a subcomponent of the +Kyua project: -For the contrib directory, files and directories were pruned by: - -sh -c 'for F in `cat FREEBSD-Xlist`; do rm -rf ./$F ; done' + http://code.google.com/p/kyua/downloads/list -You may check if there are any new files that we don't need. +and is imported into the atf vendor branch (see base/vendor/atf/). -The instructions for importing new release and merging to HEAD can be found -at FreeBSD wiki: +To merge the vendor branch into head do something like this: - http://wiki.freebsd.org/SubversionPrimer/VendorImports + cd .../base/head/contrib/atf + svn merge --accept=postpone \ + svn+ssh://svn.freebsd.org/base/vendor/atf/dist . + svn remove --force $(cat FREEBSD-Xlist) + +and resolve any conflicts that may arise at this point. + +Once this is done, you must regenerate bconfig.h. The recommended way +of doing so is by using the release files already imported into the +vendor branch (which is a good justification for importing the verbatim +sources in the first place so that this step is reproducible). You can +use a set of commands similar to the following: + + mkdir /tmp/atf + cd /tmp/atf + .../vendor/atf/dist/configure \ + --prefix=/ \ + --exec-prefix=/usr \ + --datarootdir=/usr/share + cp bconfig.h .../base/head/contrib/atf/ + +Please do NOT run './configure' straight from the 'dist' directory of +the vendor branch as you easily risk committing build products into the +tree. -To make local changes to atf, simply patch and commit to the trunk -branch (aka HEAD). Never make local changes on the vendor branch. +Lastly, with the list of old and new files in this import, make sure +to udpate the reachover Makefiles accordingly. -gcooper@FreeBSD.org -5-August-2012 +Test the build (keeping in mind the WITH_TESTS/WITHOUT_TESTS knobs) and, +if all looks good, you are ready to commit all the changes in one go. Modified: projects/pf/head/contrib/atf/NEWS ============================================================================== --- projects/pf/head/contrib/atf/NEWS Tue Nov 19 11:47:30 2013 (r258343) +++ projects/pf/head/contrib/atf/NEWS Tue Nov 19 12:21:47 2013 (r258344) @@ -2,6 +2,58 @@ Major changes between releases =========================================================================== +Changes in version 0.18 +*********************** + +Experimental version released on November 16th, 2013. + +* Issue 45: Added require.memory support in atf-run for FreeBSD. + +* Fixed an issue with the handling of cin with libc++. + +* Issue 64: Fixed various mandoc formatting warnings. + +* NetBSD PR bin/48284: Made atf-check flush its progress message to + stdout so that an interrupted test case always shows the last message + being executed. + +* NetBSD PR bin/48285: Fixed atf_check examples in atf-sh-api(3). + + +Changes in version 0.17 +*********************** + +Experimental version released on February 14th, 2013. + +* Added the atf_utils_cat_file, atf_utils_compare_file, + atf_utils_copy_file, atf_utils_create_file, atf_utils_file_exists, + atf_utils_fork, atf_utils_grep_file, atf_utils_grep_string, + atf_utils_readline, atf_utils_redirect and atf_utils_wait utility + functions to atf-c-api. Documented the already-public + atf_utils_free_charpp function. + +* Added the cat_file, compare_file, copy_file, create_file, file_exists, + fork, grep_collection, grep_file, grep_string, redirect and wait + functions to the atf::utils namespace of atf-c++-api. These are + wrappers around the same functions added to the atf-c-api library. + +* Added the ATF_CHECK_MATCH, ATF_CHECK_MATCH_MSG, ATF_REQUIRE_MATCH and + ATF_REQUIRE_MATCH_MSG macros to atf-c to simplify the validation of a + string against a regular expression. + +* Miscellaneous fixes for manpage typos and compilation problems with + clang. + +* Added caching of the results of those configure tests that rely on + executing a test program. This should help crossbuild systems by + providing a mechanism to pre-specify what the results should be. + +* PR bin/45690: Make atf-report convert any non-printable characters to + a plain-text representation (matching their corresponding hexadecimal + entities) in XML output files. This is to prevent the output of test + cases from breaking xsltproc later. + + Changes in version 0.16 *********************** Modified: projects/pf/head/contrib/atf/atf-c++.hpp ============================================================================== --- projects/pf/head/contrib/atf/atf-c++.hpp Tue Nov 19 11:47:30 2013 (r258343) +++ projects/pf/head/contrib/atf/atf-c++.hpp Tue Nov 19 12:21:47 2013 (r258344) @@ -31,5 +31,6 @@ #define _ATF_CXX_HPP_ #include +#include #endif // !defined(_ATF_CXX_HPP_) Modified: projects/pf/head/contrib/atf/atf-c++/atf-c++-api.3 ============================================================================== --- projects/pf/head/contrib/atf/atf-c++/atf-c++-api.3 Tue Nov 19 11:47:30 2013 (r258343) +++ projects/pf/head/contrib/atf/atf-c++/atf-c++-api.3 Tue Nov 19 12:21:47 2013 (r258344) @@ -26,10 +26,11 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd January 21, 2012 +.Dd November 15, 2013 .Dt ATF-C++-API 3 .Os .Sh NAME +.Nm atf-c++-api , .Nm ATF_ADD_TEST_CASE , .Nm ATF_CHECK_ERRNO , .Nm ATF_FAIL , @@ -52,6 +53,17 @@ .Nm ATF_TEST_CASE_USE , .Nm ATF_TEST_CASE_WITH_CLEANUP , .Nm ATF_TEST_CASE_WITHOUT_HEAD , +.Nm atf::utils::cat_file , +.Nm atf::utils::compare_file , +.Nm atf::utils::copy_file , +.Nm atf::utils::create_file , +.Nm atf::utils::file_exists , +.Nm atf::utils::fork , +.Nm atf::utils::grep_collection , +.Nm atf::utils::grep_file , +.Nm atf::utils::grep_string , +.Nm atf::utils::redirect , +.Nm atf::utils::wait .Nd C++ API to write ATF-based test programs .Sh SYNOPSIS .In atf-c++.hpp @@ -77,18 +89,64 @@ .Fn ATF_TEST_CASE_USE "name" .Fn ATF_TEST_CASE_WITH_CLEANUP "name" .Fn ATF_TEST_CASE_WITHOUT_HEAD "name" +.Ft void +.Fo atf::utils::cat_file +.Fa "const std::string& path" +.Fa "const std::string& prefix" +.Fc +.Ft bool +.Fo atf::utils::compare_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Ft void +.Fo atf::utils::copy_file +.Fa "const std::string& source" +.Fa "const std::string& destination" +.Fc +.Ft void +.Fo atf::utils::create_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Ft void +.Fo atf::utils::file_exists +.Fa "const std::string& path" +.Fc +.Ft pid_t +.Fo atf::utils::fork +.Fa "void" +.Fc +.Ft bool +.Fo atf::utils::grep_collection +.Fa "const std::string& regexp" +.Fa "const Collection& collection" +.Fc +.Ft bool +.Fo atf::utils::grep_file +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Ft bool +.Fo atf::utils::grep_string +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Ft void +.Fo atf::utils::redirect +.Fa "const int fd" +.Fa "const std::string& path" +.Fc +.Ft void +.Fo atf::utils::wait +.Fa "const pid_t pid" +.Fa "const int expected_exit_status" +.Fa "const std::string& expected_stdout" +.Fa "const std::string& expected_stderr" +.Fc .Sh DESCRIPTION -ATF provides a mostly-macro-based programming interface to implement test -programs in C or C++. -This interface is backed by a C++ implementation, but this fact is -hidden from the developer as much as possible through the use of -macros to simplify programming. -However, the use of C++ is not hidden everywhere and while you can -implement test cases without knowing anything at all about the object model -underneath the provided calls, you might need some minimum notions of the -language in very specific circumstances. -.Pp -C++-based test programs always follow this template: +ATF provides a C++ programming interface to implement test programs. +C++-based test programs follow this template: .Bd -literal -offset indent extern "C" { .Ns ... C-specific includes go here ... @@ -205,7 +263,7 @@ The first parameter of this macro matche former call. .Ss Header definitions The test case's header can define the meta-data by using the -.Fn set +.Fn set_md_var method, which takes two parameters: the first one specifies the meta-data variable to be set and the second one specifies its value. Both of them are strings. @@ -348,7 +406,7 @@ in the collection. .Fn ATF_REQUIRE_THROW takes the name of an exception and a statement and raises a failure if the statement does not throw the specified exception. -.Fn ATF_REQUIRE_THROW_EQ +.Fn ATF_REQUIRE_THROW_RE takes the name of an exception, a regular expresion and a statement and raises a failure if the statement does not throw the specified exception and if the message of the exception does not match the regular expression. @@ -362,6 +420,163 @@ variable and, second, a boolean expressi means that a call failed and .Va errno has to be checked against the first value. +.Ss Utility functions +The following functions are provided as part of the +.Nm +API to simplify the creation of a variety of tests. +In particular, these are useful to write tests for command-line interfaces. +.Pp +.Ft void +.Fo atf::utils::cat_file +.Fa "const std::string& path" +.Fa "const std::string& prefix" +.Fc +.Bd -ragged -offset indent +Prints the contents of +.Fa path +to the standard output, prefixing every line with the string in +.Fa prefix . +.Ed +.Pp +.Ft bool +.Fo atf::utils::compare_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Bd -ragged -offset indent +Returns true if the given +.Fa path +matches exactly the expected inlined +.Fa contents . +.Ed +.Pp +.Ft void +.Fo atf::utils::copy_file +.Fa "const std::string& source" +.Fa "const std::string& destination" +.Fc +.Bd -ragged -offset indent +Copies the file +.Fa source +to +.Fa destination . +The permissions of the file are preserved during the code. +.Ed +.Pp +.Ft void +.Fo atf::utils::create_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Bd -ragged -offset indent +Creates +.Fa file +with the text given in +.Fa contents . +.Ed +.Pp +.Ft void +.Fo atf::utils::file_exists +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Checks if +.Fa path +exists. +.Ed +.Pp +.Ft pid_t +.Fo atf::utils::fork +.Fa "void" +.Fc +.Bd -ragged -offset indent +Forks a process and redirects the standard output and standard error of the +child to files for later validation with +.Fn atf::utils::wait . +Fails the test case if the fork fails, so this does not return an error. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_collection +.Fa "const std::string& regexp" +.Fa "const Collection& collection" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in any of the strings contained in the +.Fa collection . +This is a template that accepts any one-dimensional container of strings. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_file +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in the file +.Fa path . +The variable arguments are used to construct the regular expression. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_string +.Fa "const std::string& regexp" +.Fa "const std::string& str" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in the string +.Fa str . +.Ed +.Ft void +.Fo atf::utils::redirect +.Fa "const int fd" +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Redirects the given file descriptor +.Fa fd +to the file +.Fa path . +This function exits the process in case of an error and does not properly mark +the test case as failed. +As a result, it should only be used in subprocesses of the test case; specially +those spawned by +.Fn atf::utils::fork . +.Ed +.Pp +.Ft void +.Fo atf::utils::wait +.Fa "const pid_t pid" +.Fa "const int expected_exit_status" +.Fa "const std::string& expected_stdout" +.Fa "const std::string& expected_stderr" +.Fc +.Bd -ragged -offset indent +Waits and validates the result of a subprocess spawned with +.Fn atf::utils::wait . +The validation involves checking that the subprocess exited cleanly and returned +the code specified in +.Fa expected_exit_status +and that its standard output and standard error match the strings given in +.Fa expected_stdout +and +.Fa expected_stderr . +.Pp +If any of the +.Fa expected_stdout +or +.Fa expected_stderr +strings are prefixed with +.Sq save: , +then they specify the name of the file into which to store the stdout or stderr +of the subprocess, and no comparison is performed. +.Ed .Sh EXAMPLES The following shows a complete test program with a single test case that validates the addition operator: @@ -371,7 +586,7 @@ validates the addition operator: ATF_TEST_CASE(addition); ATF_TEST_CASE_HEAD(addition) { - set("descr", "Sample tests for the addition operator"); + set_md_var("descr", "Sample tests for the addition operator"); } ATF_TEST_CASE_BODY(addition) { @@ -387,7 +602,7 @@ ATF_TEST_CASE_BODY(addition) ATF_TEST_CASE(open_failure); ATF_TEST_CASE_HEAD(open_failure) { - set("descr", "Sample tests for the open function"); + set_md_var("descr", "Sample tests for the open function"); } ATF_TEST_CASE_BODY(open_failure) { @@ -397,7 +612,7 @@ ATF_TEST_CASE_BODY(open_failure) ATF_TEST_CASE(known_bug); ATF_TEST_CASE_HEAD(known_bug) { - set("descr", "Reproduces a known bug"); + set_md_var("descr", "Reproduces a known bug"); } ATF_TEST_CASE_BODY(known_bug) { Modified: projects/pf/head/contrib/atf/atf-c++/check.hpp ============================================================================== --- projects/pf/head/contrib/atf/atf-c++/check.hpp Tue Nov 19 11:47:30 2013 (r258343) +++ projects/pf/head/contrib/atf/atf-c++/check.hpp Tue Nov 19 12:21:47 2013 (r258344) @@ -39,7 +39,7 @@ extern "C" { #include #include -#include +#include namespace atf { @@ -60,7 +60,7 @@ namespace check { //! of executing arbitrary command and manages files containing //! its output. //! -class check_result : utils::noncopyable { +class check_result : noncopyable { //! //! \brief Internal representation of a result. //! Modified: projects/pf/head/contrib/atf/atf-c++/check_test.cpp ============================================================================== --- projects/pf/head/contrib/atf/atf-c++/check_test.cpp Tue Nov 19 11:47:30 2013 (r258343) +++ projects/pf/head/contrib/atf/atf-c++/check_test.cpp Tue Nov 19 12:21:47 2013 (r258344) @@ -193,15 +193,15 @@ ATF_TEST_CASE_BODY(build_c_o) { ATF_TEST_CASE_USE(h_build_c_o_ok); run_h_tc< ATF_TEST_CASE_NAME(h_build_c_o_ok) >(); - ATF_REQUIRE(grep_file("stdout", "-o test.o")); - ATF_REQUIRE(grep_file("stdout", "-c test.c")); + ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("-c test.c", "stdout")); ATF_TEST_CASE_USE(h_build_c_o_fail); run_h_tc< ATF_TEST_CASE_NAME(h_build_c_o_fail) >(); - ATF_REQUIRE(grep_file("stdout", "-o test.o")); - ATF_REQUIRE(grep_file("stdout", "-c test.c")); - ATF_REQUIRE(grep_file("stderr", "test.c")); - ATF_REQUIRE(grep_file("stderr", "UNDEFINED_SYMBOL")); + ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("-c test.c", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("test.c", "stderr")); + ATF_REQUIRE(atf::utils::grep_file("UNDEFINED_SYMBOL", "stderr")); } ATF_TEST_CASE(build_cpp); @@ -213,16 +213,16 @@ ATF_TEST_CASE_BODY(build_cpp) { ATF_TEST_CASE_USE(h_build_cpp_ok); run_h_tc< ATF_TEST_CASE_NAME(h_build_cpp_ok) >(); - ATF_REQUIRE(grep_file("stdout", "-o.*test.p")); - ATF_REQUIRE(grep_file("stdout", "test.c")); - ATF_REQUIRE(grep_file("test.p", "foo bar")); + ATF_REQUIRE(atf::utils::grep_file("-o.*test.p", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("test.c", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("foo bar", "test.p")); ATF_TEST_CASE_USE(h_build_cpp_fail); run_h_tc< ATF_TEST_CASE_NAME(h_build_cpp_fail) >(); - ATF_REQUIRE(grep_file("stdout", "-o test.p")); - ATF_REQUIRE(grep_file("stdout", "test.c")); - ATF_REQUIRE(grep_file("stderr", "test.c")); - ATF_REQUIRE(grep_file("stderr", "non-existent.h")); + ATF_REQUIRE(atf::utils::grep_file("-o test.p", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("test.c", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("test.c", "stderr")); + ATF_REQUIRE(atf::utils::grep_file("non-existent.h", "stderr")); } ATF_TEST_CASE(build_cxx_o); @@ -234,15 +234,15 @@ ATF_TEST_CASE_BODY(build_cxx_o) { ATF_TEST_CASE_USE(h_build_cxx_o_ok); run_h_tc< ATF_TEST_CASE_NAME(h_build_cxx_o_ok) >(); - ATF_REQUIRE(grep_file("stdout", "-o test.o")); - ATF_REQUIRE(grep_file("stdout", "-c test.cpp")); + ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("-c test.cpp", "stdout")); ATF_TEST_CASE_USE(h_build_cxx_o_fail); run_h_tc< ATF_TEST_CASE_NAME(h_build_cxx_o_fail) >(); - ATF_REQUIRE(grep_file("stdout", "-o test.o")); - ATF_REQUIRE(grep_file("stdout", "-c test.cpp")); - ATF_REQUIRE(grep_file("stderr", "test.cpp")); - ATF_REQUIRE(grep_file("stderr", "UNDEFINED_SYMBOL")); + ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("-c test.cpp", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("test.cpp", "stderr")); + ATF_REQUIRE(atf::utils::grep_file("UNDEFINED_SYMBOL", "stderr")); } ATF_TEST_CASE(exec_cleanup); Modified: projects/pf/head/contrib/atf/atf-c++/detail/Kyuafile ============================================================================== --- projects/pf/head/contrib/atf/atf-c++/detail/Kyuafile Tue Nov 19 11:47:30 2013 (r258343) +++ projects/pf/head/contrib/atf/atf-c++/detail/Kyuafile Tue Nov 19 12:21:47 2013 (r258344) @@ -3,6 +3,7 @@ syntax("kyuafile", 1) test_suite("atf") atf_test_program{name="application_test"} +atf_test_program{name="auto_array_test"} atf_test_program{name="env_test"} atf_test_program{name="exceptions_test"} atf_test_program{name="expand_test"} Copied: projects/pf/head/contrib/atf/atf-c++/detail/auto_array.hpp (from r258343, head/contrib/atf/atf-c++/detail/auto_array.hpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/pf/head/contrib/atf/atf-c++/detail/auto_array.hpp Tue Nov 19 12:21:47 2013 (r258344, copy of r258343, head/contrib/atf/atf-c++/detail/auto_array.hpp) @@ -0,0 +1,179 @@ +// +// Automated Testing Framework (atf) +// +// Copyright (c) 2007 The NetBSD Foundation, Inc. +// 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. +// + +#if !defined(_ATF_CXX_AUTO_ARRAY_HPP_) +#define _ATF_CXX_AUTO_ARRAY_HPP_ + +#include + +namespace atf { + +// ------------------------------------------------------------------------ +// The "auto_array" class. +// ------------------------------------------------------------------------ + +template< class T > +struct auto_array_ref { + T* m_ptr; + + explicit auto_array_ref(T*); +}; + +template< class T > +auto_array_ref< T >::auto_array_ref(T* ptr) : + m_ptr(ptr) +{ +} + +template< class T > +class auto_array { + T* m_ptr; + +public: + auto_array(T* = NULL) throw(); + auto_array(auto_array< T >&) throw(); + auto_array(auto_array_ref< T >) throw(); + ~auto_array(void) throw(); + + T* get(void) throw(); + const T* get(void) const throw(); + T* release(void) throw(); + void reset(T* = NULL) throw(); + + auto_array< T >& operator=(auto_array< T >&) throw(); + auto_array< T >& operator=(auto_array_ref< T >) throw(); + + T& operator[](int) throw(); + operator auto_array_ref< T >(void) throw(); +}; + +template< class T > +auto_array< T >::auto_array(T* ptr) + throw() : + m_ptr(ptr) +{ +} + +template< class T > +auto_array< T >::auto_array(auto_array< T >& ptr) + throw() : + m_ptr(ptr.release()) +{ +} + +template< class T > +auto_array< T >::auto_array(auto_array_ref< T > ref) + throw() : + m_ptr(ref.m_ptr) +{ +} + +template< class T > +auto_array< T >::~auto_array(void) + throw() +{ + if (m_ptr != NULL) + delete [] m_ptr; +} + +template< class T > +T* +auto_array< T >::get(void) + throw() +{ + return m_ptr; +} + +template< class T > +const T* +auto_array< T >::get(void) + const throw() +{ + return m_ptr; +} + +template< class T > +T* +auto_array< T >::release(void) + throw() +{ + T* ptr = m_ptr; + m_ptr = NULL; + return ptr; +} + +template< class T > +void +auto_array< T >::reset(T* ptr) + throw() +{ + if (m_ptr != NULL) + delete [] m_ptr; + m_ptr = ptr; +} + +template< class T > +auto_array< T >& +auto_array< T >::operator=(auto_array< T >& ptr) + throw() +{ + reset(ptr.release()); + return *this; +} + +template< class T > +auto_array< T >& +auto_array< T >::operator=(auto_array_ref< T > ref) + throw() +{ + if (m_ptr != ref.m_ptr) { + delete [] m_ptr; + m_ptr = ref.m_ptr; + } + return *this; +} + +template< class T > +T& +auto_array< T >::operator[](int pos) + throw() +{ + return m_ptr[pos]; +} + +template< class T > +auto_array< T >::operator auto_array_ref< T >(void) + throw() +{ + return auto_array_ref< T >(release()); +} + +} // namespace atf + +#endif // !defined(_ATF_CXX_AUTO_ARRAY_HPP_) Copied: projects/pf/head/contrib/atf/atf-c++/detail/auto_array_test.cpp (from r258343, head/contrib/atf/atf-c++/detail/auto_array_test.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/pf/head/contrib/atf/atf-c++/detail/auto_array_test.cpp Tue Nov 19 12:21:47 2013 (r258344, copy of r258343, head/contrib/atf/atf-c++/detail/auto_array_test.cpp) @@ -0,0 +1,304 @@ +// +// Automated Testing Framework (atf) +// +// Copyright (c) 2007 The NetBSD Foundation, Inc. +// 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. +// + +extern "C" { +#include +} + +#include + +#include "atf-c/defs.h" + +#include "../macros.hpp" + +#include "auto_array.hpp" + +// ------------------------------------------------------------------------ +// Tests for the "auto_array" class. +// ------------------------------------------------------------------------ + +class test_array { +public: + int m_value; + + static ssize_t m_nblocks; + + static + atf::auto_array< test_array > + do_copy(atf::auto_array< test_array >& ta) + { + return atf::auto_array< test_array >(ta); + } + + void* operator new(size_t size ATF_DEFS_ATTRIBUTE_UNUSED) + { + ATF_FAIL("New called but should have been new[]"); + return new int(5); + } + + void* operator new[](size_t size) + { + m_nblocks++; + void* mem = ::operator new(size); + std::cout << "Allocated 'test_array' object " << mem << "\n"; + return mem; + } + + void operator delete(void* mem ATF_DEFS_ATTRIBUTE_UNUSED) + { + ATF_FAIL("Delete called but should have been delete[]"); + } + + void operator delete[](void* mem) + { + std::cout << "Releasing 'test_array' object " << mem << "\n"; + if (m_nblocks == 0) + ATF_FAIL("Unbalanced delete[]"); + m_nblocks--; + ::operator delete(mem); + } +}; + +ssize_t test_array::m_nblocks = 0; + +ATF_TEST_CASE(auto_array_scope); +ATF_TEST_CASE_HEAD(auto_array_scope) +{ + set_md_var("descr", "Tests the automatic scope handling in the " + "auto_array smart pointer class"); +} +ATF_TEST_CASE_BODY(auto_array_scope) +{ + using atf::auto_array; + + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); + { + auto_array< test_array > t(new test_array[10]); + ATF_REQUIRE_EQ(test_array::m_nblocks, 1); + } + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); +} + +ATF_TEST_CASE(auto_array_copy); +ATF_TEST_CASE_HEAD(auto_array_copy) +{ + set_md_var("descr", "Tests the auto_array smart pointer class' copy " + "constructor"); +} +ATF_TEST_CASE_BODY(auto_array_copy) +{ + using atf::auto_array; + + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); + { + auto_array< test_array > t1(new test_array[10]); + ATF_REQUIRE_EQ(test_array::m_nblocks, 1); + + { + auto_array< test_array > t2(t1); + ATF_REQUIRE_EQ(test_array::m_nblocks, 1); + } + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); + } + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); +} + +ATF_TEST_CASE(auto_array_copy_ref); +ATF_TEST_CASE_HEAD(auto_array_copy_ref) +{ + set_md_var("descr", "Tests the auto_array smart pointer class' copy " + "constructor through the auxiliary auto_array_ref object"); +} +ATF_TEST_CASE_BODY(auto_array_copy_ref) +{ + using atf::auto_array; + + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); + { + auto_array< test_array > t1(new test_array[10]); + ATF_REQUIRE_EQ(test_array::m_nblocks, 1); + + { + auto_array< test_array > t2 = test_array::do_copy(t1); + ATF_REQUIRE_EQ(test_array::m_nblocks, 1); + } + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); + } + ATF_REQUIRE_EQ(test_array::m_nblocks, 0); +} + +ATF_TEST_CASE(auto_array_get); *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-projects@FreeBSD.ORG Wed Nov 20 21:48:12 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06656CCB; Wed, 20 Nov 2013 21:48:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E71282BF9; Wed, 20 Nov 2013 21:48:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAKLmBEC083412; Wed, 20 Nov 2013 21:48:11 GMT (envelope-from peter@svn.freebsd.org) Received: (from peter@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAKLm7Od083385; Wed, 20 Nov 2013 21:48:07 GMT (envelope-from peter@svn.freebsd.org) Message-Id: <201311202148.rAKLm7Od083385@svn.freebsd.org> From: Peter Wemm Date: Wed, 20 Nov 2013 21:48:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258404 - in projects/random_number_generator: . cddl/contrib/opensolaris/cmd/plockstat cddl/contrib/opensolaris/cmd/zfs contrib/gcc contrib/llvm/lib/Analysis etc/devd lib/libfetch lib/... X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 21:48:12 -0000 Author: peter Date: Wed Nov 20 21:48:06 2013 New Revision: 258404 URL: http://svnweb.freebsd.org/changeset/base/258404 Log: Merge up to r258403 from head. Added: projects/random_number_generator/share/man/man4/axge.4 - copied unchanged from r258400, head/share/man/man4/axge.4 projects/random_number_generator/sys/dev/usb/net/if_axge.c - copied unchanged from r258400, head/sys/dev/usb/net/if_axge.c projects/random_number_generator/sys/dev/usb/net/if_axgereg.h - copied unchanged from r258400, head/sys/dev/usb/net/if_axgereg.h projects/random_number_generator/sys/modules/usb/axge/ - copied from r258400, head/sys/modules/usb/axge/ projects/random_number_generator/usr.sbin/bsdconfig/includes/ - copied from r258400, head/usr.sbin/bsdconfig/includes/ Modified: projects/random_number_generator/ObsoleteFiles.inc projects/random_number_generator/cddl/contrib/opensolaris/cmd/plockstat/plockstat.c projects/random_number_generator/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c projects/random_number_generator/contrib/gcc/ChangeLog.gcc43 projects/random_number_generator/contrib/llvm/lib/Analysis/CaptureTracking.cpp projects/random_number_generator/etc/devd/usb.conf projects/random_number_generator/lib/libfetch/common.c projects/random_number_generator/lib/libiconv_modules/UTF7/citrus_utf7.c projects/random_number_generator/release/Makefile projects/random_number_generator/release/amd64/pkg-stage.conf projects/random_number_generator/release/i386/pkg-stage.conf projects/random_number_generator/sbin/geom/class/mirror/geom_mirror.c projects/random_number_generator/sbin/geom/class/mirror/gmirror.8 projects/random_number_generator/share/man/man4/Makefile projects/random_number_generator/share/man/man7/release.7 projects/random_number_generator/share/mk/bsd.progs.mk projects/random_number_generator/sys/arm/arm/machdep.c projects/random_number_generator/sys/arm/arm/pmap-v6.c projects/random_number_generator/sys/arm/conf/BEAGLEBONE projects/random_number_generator/sys/arm/ti/ti_sdhci.c projects/random_number_generator/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c projects/random_number_generator/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c projects/random_number_generator/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c projects/random_number_generator/sys/cddl/dev/fbt/fbt_powerpc.c projects/random_number_generator/sys/conf/files projects/random_number_generator/sys/crypto/aesni/aesni.c projects/random_number_generator/sys/dev/nand/nand_cdev.c projects/random_number_generator/sys/dev/nand/nand_geom.c projects/random_number_generator/sys/dev/usb/serial/u3g.c projects/random_number_generator/sys/dev/usb/usbdevs projects/random_number_generator/sys/fs/pseudofs/pseudofs_vnops.c projects/random_number_generator/sys/geom/mirror/g_mirror.c projects/random_number_generator/sys/geom/mirror/g_mirror_ctl.c projects/random_number_generator/sys/kern/subr_taskqueue.c projects/random_number_generator/sys/kern/vfs_vnops.c projects/random_number_generator/sys/modules/usb/Makefile projects/random_number_generator/sys/net/if_ethersubr.c projects/random_number_generator/sys/sys/bufobj.h projects/random_number_generator/sys/ufs/ffs/ffs_softdep.c projects/random_number_generator/sys/ufs/ffs/softdep.h projects/random_number_generator/sys/vm/uma_core.c projects/random_number_generator/sys/vm/uma_int.h projects/random_number_generator/sys/vm/vm_fault.c projects/random_number_generator/sys/vm/vm_map.c projects/random_number_generator/tools/regression/fsx/fsx.c projects/random_number_generator/tools/tools/bus_autoconf/bus_autoconf.sh projects/random_number_generator/tools/tools/umastat/umastat.c projects/random_number_generator/usr.bin/cmp/cmp.1 projects/random_number_generator/usr.bin/uname/uname.1 projects/random_number_generator/usr.sbin/bsdconfig/Makefile projects/random_number_generator/usr.sbin/bsdconfig/includes/USAGE projects/random_number_generator/usr.sbin/bsdconfig/includes/includes projects/random_number_generator/usr.sbin/bsdconfig/networking/share/device.subr projects/random_number_generator/usr.sbin/bsdconfig/share/variable.subr projects/random_number_generator/usr.sbin/pkg/pkg.7 Directory Properties: projects/random_number_generator/ (props changed) projects/random_number_generator/cddl/ (props changed) projects/random_number_generator/cddl/contrib/opensolaris/ (props changed) projects/random_number_generator/cddl/contrib/opensolaris/cmd/zfs/ (props changed) projects/random_number_generator/contrib/gcc/ (props changed) projects/random_number_generator/contrib/llvm/ (props changed) projects/random_number_generator/sbin/ (props changed) projects/random_number_generator/share/man/man4/ (props changed) projects/random_number_generator/sys/ (props changed) projects/random_number_generator/sys/cddl/contrib/opensolaris/ (props changed) projects/random_number_generator/sys/conf/ (props changed) Modified: projects/random_number_generator/ObsoleteFiles.inc ============================================================================== --- projects/random_number_generator/ObsoleteFiles.inc Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/ObsoleteFiles.inc Wed Nov 20 21:48:06 2013 (r258404) @@ -53,6 +53,10 @@ OLD_FILES+=usr/lib/libiconv.a OLD_FILES+=usr/lib/libiconv.so OLD_FILES+=usr/lib/libiconv.so.3 OLD_FILES+=usr/lib/libiconv_p.a +OLD_FILES+=usr/lib32/libiconv.a +OLD_FILES+=usr/lib32/libiconv.so +OLD_FILES+=usr/lib32/libiconv.so.3 +OLD_FILES+=usr/lib32/libiconv_p.a # 20131103: removal of utxrm(8), use 'utx rm' instead. OLD_FILES+=usr/sbin/utxrm OLD_FILES+=usr/share/man/man8/utxrm.8.gz @@ -128,6 +132,7 @@ OLD_FILES+=usr/bin/gnu-ranlib OLD_FILES+=usr/share/man/man1/gnu-ar.1.gz OLD_FILES+=usr/share/man/man1/gnu-ranlib.1.gz # 20130930: BIND removed from base +OLD_FILES+=etc/mtree/BIND.chroot.dist OLD_FILES+=etc/namedb OLD_FILES+=etc/periodic/daily/470.status-named OLD_FILES+=usr/bin/dig Modified: projects/random_number_generator/cddl/contrib/opensolaris/cmd/plockstat/plockstat.c ============================================================================== --- projects/random_number_generator/cddl/contrib/opensolaris/cmd/plockstat/plockstat.c Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/cddl/contrib/opensolaris/cmd/plockstat/plockstat.c Wed Nov 20 21:48:06 2013 (r258404) @@ -778,7 +778,8 @@ main(int argc, char **argv) #endif int err; int opt_C = 0, opt_H = 0, opt_p = 0, opt_v = 0; - char c, *p, *end; + int c; + char *p, *end; struct sigaction act; int done = 0; Modified: projects/random_number_generator/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c ============================================================================== --- projects/random_number_generator/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c Wed Nov 20 21:48:06 2013 (r258404) @@ -2011,7 +2011,7 @@ zfs_do_upgrade(int argc, char **argv) boolean_t showversions = B_FALSE; int ret = 0; upgrade_cbdata_t cb = { 0 }; - char c; + int c; int flags = ZFS_ITER_ARGS_CAN_BE_PATHS; /* check options */ @@ -3561,7 +3561,7 @@ static int zfs_do_snapshot(int argc, char **argv) { int ret = 0; - char c; + int c; nvlist_t *props; snap_cbdata_t sd = { 0 }; boolean_t multiple_snaps = B_FALSE; Modified: projects/random_number_generator/contrib/gcc/ChangeLog.gcc43 ============================================================================== --- projects/random_number_generator/contrib/gcc/ChangeLog.gcc43 Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/contrib/gcc/ChangeLog.gcc43 Wed Nov 20 21:48:06 2013 (r258404) @@ -1,3 +1,9 @@ +2007-08-08 Andrew Haley (r128087) + + * config/arm/libunwind.S (UNWIND_WRAPPER _Unwind_Backtrace): New. + * config/arm/unwind-arm.h (__gnu_Unwind_Backtrace): New. + * config/arm/unwind-arm.c (__gnu_Unwind_Backtrace): New. + 2007-06-05 Joerg Wunsch (r125346) PR preprocessor/23479 @@ -365,6 +371,35 @@ (override_options): Add entries for Core2. (ix86_issue_rate): Add case for Core2. +2006-10-31 Geoffrey Keating (r118356) + + * c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on + inline static functions in c99 mode. + + PR 16622 + * doc/extend.texi (Inline): Update. + * c-tree.h (struct language_function): Remove field 'extern_inline'. + * c-decl.c (current_extern_inline): Delete. + (pop_scope): Adjust test for an undefined nested function. + Add warning about undeclared inline function. + (diagnose_mismatched_decls): Update comments. Disallow overriding + of inline functions in a translation unit in C99. Allow inline + declarations in C99 at any time. + (merge_decls): Boolize variables. Handle C99 'extern inline' + semantics. + (grokdeclarator): Set DECL_EXTERNAL here for functions. Handle + C99 inline semantics. + (start_function): Don't clear current_extern_inline. Don't set + DECL_EXTERNAL. + (c_push_function_context): Don't push current_extern_inline. + (c_pop_function_context): Don't restore current_extern_inline. + + PR 11377 + * c-typeck.c (build_external_ref): Warn about static variables + used in extern inline functions. + * c-decl.c (start_decl): Warn about static variables declared + in extern inline functions. + 2006-10-27 Vladimir Makarov (r118090) * config/i386/i386.h (TARGET_GEODE): Modified: projects/random_number_generator/contrib/llvm/lib/Analysis/CaptureTracking.cpp ============================================================================== --- projects/random_number_generator/contrib/llvm/lib/Analysis/CaptureTracking.cpp Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/contrib/llvm/lib/Analysis/CaptureTracking.cpp Wed Nov 20 21:48:06 2013 (r258404) @@ -146,8 +146,14 @@ void llvm::PointerMayBeCaptured(const Va case Instruction::PHI: case Instruction::Select: // The original value is not captured via this if the new value isn't. + Count = 0; for (Instruction::use_iterator UI = I->use_begin(), UE = I->use_end(); UI != UE; ++UI) { + // If there are lots of uses, conservatively say that the value + // is captured to avoid taking too much compile time. + if (Count++ >= Threshold) + return Tracker->tooManyUses(); + Use *U = &UI.getUse(); if (Visited.insert(U)) if (Tracker->shouldExplore(U)) Modified: projects/random_number_generator/etc/devd/usb.conf ============================================================================== --- projects/random_number_generator/etc/devd/usb.conf Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/etc/devd/usb.conf Wed Nov 20 21:48:06 2013 (r258404) @@ -1,7 +1,7 @@ # # $FreeBSD$ # -# This file was automatically generated by "tools/bus_autoconf.sh". +# This file was automatically generated by "tools/tools/bus_autoconf/bus_autoconf.sh". # Please do not edit! # @@ -833,7 +833,7 @@ nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; match "vendor" "0x050d"; - match "product" "0x935a"; + match "product" "(0x935a|0x935b)"; action "kldload -n if_run"; }; @@ -1801,6 +1801,14 @@ nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; match "vendor" "0x0846"; + match "product" "0x1100"; + action "kldload -n uslcom"; +}; + +nomatch 32 { + match "bus" "uhub[0-9]+"; + match "mode" "host"; + match "vendor" "0x0846"; match "product" "0x4240"; action "kldload -n if_upgt"; }; @@ -2185,7 +2193,23 @@ nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; match "vendor" "0x0af0"; - match "product" "(0x7601|0xc031|0xd013|0xd031)"; + match "product" "0x7601"; + action "kldload -n uhso"; +}; + +nomatch 32 { + match "bus" "uhub[0-9]+"; + match "mode" "host"; + match "vendor" "0x0af0"; + match "product" "0x9000"; + action "kldload -n u3g"; +}; + +nomatch 32 { + match "bus" "uhub[0-9]+"; + match "mode" "host"; + match "vendor" "0x0af0"; + match "product" "(0xc031|0xd013|0xd031)"; action "kldload -n uhso"; }; @@ -2289,7 +2313,7 @@ nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; match "vendor" "0x0b05"; - match "product" "0x17b5"; + match "product" "(0x17b5|0x17cb)"; action "kldload -n ng_ubt"; }; @@ -2361,7 +2385,23 @@ nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; match "vendor" "0x0b95"; - match "product" "(0x1720|0x1780|0x7720|0x772a|0x772b|0x7e2b)"; + match "product" "(0x1720|0x1780)"; + action "kldload -n if_axe"; +}; + +nomatch 32 { + match "bus" "uhub[0-9]+"; + match "mode" "host"; + match "vendor" "0x0b95"; + match "product" "(0x178a|0x1790)"; + action "kldload -n if_axge"; +}; + +nomatch 32 { + match "bus" "uhub[0-9]+"; + match "mode" "host"; + match "vendor" "0x0b95"; + match "product" "(0x7720|0x772a|0x772b|0x7e2b)"; action "kldload -n if_axe"; }; @@ -2433,7 +2473,7 @@ nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; match "vendor" "0x0bda"; - match "product" "(0x8176|0x8177|0x8178|0x817a|0x817b|0x817c|0x817d|0x817e)"; + match "product" "(0x8176|0x8176|0x8177|0x8178|0x817a|0x817b|0x817c|0x817d|0x817e)"; action "kldload -n if_urtwn"; }; @@ -3104,6 +3144,14 @@ nomatch 32 { nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; + match "vendor" "0x0fde"; + match "product" "0xca05"; + action "kldload -n uslcom"; +}; + +nomatch 32 { + match "bus" "uhub[0-9]+"; + match "mode" "host"; match "vendor" "0x0fe6"; match "product" "(0x8101|0x9700)"; action "kldload -n if_udav"; @@ -3265,7 +3313,7 @@ nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; match "vendor" "0x10c4"; - match "product" "(0x8066|0x806f|0x807a|0x80c4|0x80ca|0x80dd|0x80ed|0x80f6|0x8115|0x813d|0x813f|0x814a|0x814a|0x814b|0x8156|0x815e|0x815f|0x818b|0x819f|0x81a6|0x81a9|0x81ac|0x81ad|0x81c8|0x81e2|0x81e7|0x81e8|0x81f2|0x8218|0x822b|0x826b|0x8293|0x82f9|0x8341|0x8382|0x83a8|0x83d8|0x8411|0x8418|0x846e|0x8477|0x85ea|0x85eb|0x8664|0x8665|0xea60|0xea61|0xea70|0xea71|0xea80|0xf001|0xf002|0xf003|0xf004)"; + match "product" "(0x8066|0x806f|0x807a|0x80c4|0x80ca|0x80dd|0x80ed|0x80f6|0x8115|0x813d|0x813f|0x814a|0x814a|0x814b|0x8156|0x815e|0x815f|0x818b|0x819f|0x81a6|0x81a9|0x81ac|0x81ad|0x81c8|0x81e2|0x81e7|0x81e8|0x81f2|0x8218|0x822b|0x826b|0x8293|0x82f9|0x8341|0x8382|0x83a8|0x83d8|0x8411|0x8418|0x846e|0x8477|0x85ea|0x85eb|0x85f8|0x8664|0x8665|0x88a4|0x88a5|0xea60|0xea61|0xea70|0xea71|0xea80|0xf001|0xf002|0xf003|0xf004)"; action "kldload -n uslcom"; }; @@ -3665,7 +3713,7 @@ nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; match "vendor" "0x1410"; - match "product" "(0x1100|0x1110|0x1120|0x1130|0x1400|0x1410|0x1420|0x1430|0x1450|0x2100|0x2110|0x2120|0x2130|0x2400|0x2410|0x2420|0x4100|0x4400|0x5010|0x5041|0x5100|0x6000|0x6002|0x7042)"; + match "product" "(0x1100|0x1110|0x1120|0x1130|0x1400|0x1410|0x1420|0x1430|0x1450|0x2100|0x2110|0x2120|0x2130|0x2400|0x2410|0x2420|0x4100|0x4400|0x5010|0x5020|0x5041|0x5100|0x6000|0x6002|0x7042)"; action "kldload -n u3g"; }; @@ -3777,7 +3825,7 @@ nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; match "vendor" "0x148f"; - match "product" "(0x2770|0x2870|0x3070|0x3071|0x3072|0x3370|0x3572|0x8070)"; + match "product" "(0x2770|0x2870|0x3070|0x3071|0x3072|0x3370|0x3572|0x5370|0x8070)"; action "kldload -n if_run"; }; @@ -4376,6 +4424,14 @@ nomatch 32 { nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; + match "vendor" "0x1adb"; + match "product" "0x0001"; + action "kldload -n uslcom"; +}; + +nomatch 32 { + match "bus" "uhub[0-9]+"; + match "mode" "host"; match "vendor" "0x1b3d"; match "product" "(0x0100|0x0101|0x0102|0x0103|0x0104|0x0105|0x0106|0x0107|0x0108|0x0109|0x010a|0x010b|0x010c|0x010d|0x010e|0x010f|0x0110|0x0111|0x0112|0x0113|0x0114|0x0115|0x0116|0x0117|0x0118|0x0119|0x011a|0x011b|0x011c|0x011d|0x011e|0x011f|0x0120|0x0121|0x0122|0x0123|0x0124|0x0125|0x0126|0x0128|0x0129|0x012a|0x012b|0x012d|0x012e|0x012f|0x0130|0x0131|0x0132|0x0133|0x0134|0x0135|0x0136|0x0137|0x0138|0x0139|0x013a|0x013b|0x013c|0x013d|0x013e|0x013f|0x0140|0x0141|0x0142|0x0143|0x0144|0x0145|0x0146|0x0147|0x0148|0x0149|0x014a|0x014b|0x014c|0x014d|0x014e|0x014f|0x0150|0x0151|0x0152|0x0153|0x0159|0x015a|0x015b|0x015c|0x015d|0x015e|0x015f|0x0160|0x0161|0x0162|0x0163|0x0164|0x0165|0x0166|0x0167|0x0168|0x0169|0x016a|0x016b|0x016c|0x016d|0x016e|0x016f|0x0170|0x0171|0x0172|0x0173|0x0174|0x0175|0x0176|0x0177|0x0178|0x0179|0x017a|0x017b|0x017c|0x017d|0x017e|0x017f|0x0180|0x0181|0x0182|0x0183|0x0184|0x0185|0x0186|0x0187|0x0188|0x0189|0x018a|0x018b|0x018c|0x018d|0x018e|0x018f|0x0190|0x0191|0x019 2|0x0193|0x0194|0x0195|0x0196|0x0197|0x0198|0x0199|0x019a|0x019b|0x019c|0x019d|0x019e|0x019f|0x01a0|0x01a1|0x01a2|0x01a3|0x01a4|0x01a5|0x01a6|0x01a7|0x01a8|0x01a9|0x01aa|0x01ab|0x01ac|0x01ad|0x01ae|0x01af|0x01b0|0x01b1|0x01b2|0x01b3|0x01b4|0x01b5|0x01b6|0x01b7|0x01b8|0x01b9|0x01ba|0x01bb|0x01bc|0x01bd|0x01be|0x01bf|0x01c0|0x01c1|0x01c2|0x01c3|0x01c4|0x01c5|0x01c6|0x01c7|0x01c8|0x01c9|0x01ca|0x01cb|0x01cc|0x01cd|0x01ce|0x01cf|0x01d0|0x01d1|0x01d2|0x01d3|0x01d4|0x01d5|0x01d6|0x01d7|0x01d8|0x01d9|0x01da|0x01db|0x01dc|0x01dd|0x01de|0x01df|0x01e0|0x01e1|0x01e2|0x01e3|0x01e4|0x01e5|0x01e6|0x01e7|0x01e8|0x01e9|0x01ea|0x01eb|0x01ec|0x01ed|0x01ee|0x01ef|0x01f0|0x01f1|0x01f2|0x01f3|0x01f4|0x01f5|0x01f6|0x01f7|0x01f8|0x01f9|0x01fa|0x01fb|0x01fc|0x01fd|0x01fe|0x01ff)"; action "kldload -n uftdi"; @@ -4512,6 +4568,14 @@ nomatch 32 { nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; + match "vendor" "0x1fb9"; + match "product" "(0x0100|0x0200|0x0201|0x0202|0x0203|0x0300|0x0301|0x0302|0x0303|0x0400|0x0401|0x0402|0x0403|0x0404|0x0600|0x0601|0x0602|0x0700|0x0701)"; + action "kldload -n uslcom"; +}; + +nomatch 32 { + match "bus" "uhub[0-9]+"; + match "mode" "host"; match "vendor" "0x2001"; match "product" "(0x1a00|0x1a02)"; action "kldload -n if_axe"; @@ -4561,7 +4625,7 @@ nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; match "vendor" "0x2001"; - match "product" "(0x3c09|0x3c0a)"; + match "product" "(0x3c09|0x3c0a|0x3c15|0x3c1b)"; action "kldload -n if_run"; }; @@ -4768,6 +4832,14 @@ nomatch 32 { nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; + match "vendor" "0x2405"; + match "product" "0x0003"; + action "kldload -n uslcom"; +}; + +nomatch 32 { + match "bus" "uhub[0-9]+"; + match "mode" "host"; match "vendor" "0x2478"; match "product" "0x2008"; action "kldload -n uplcom"; @@ -5122,6 +5194,15 @@ nomatch 32 { match "mode" "host"; match "intclass" "0x02"; match "intsubclass" "0x02"; + match "intprotocol" "0x00"; + action "kldload -n umodem"; +}; + +nomatch 32 { + match "bus" "uhub[0-9]+"; + match "mode" "host"; + match "intclass" "0x02"; + match "intsubclass" "0x02"; match "intprotocol" "0x01"; action "kldload -n umodem"; }; @@ -5260,5 +5341,5 @@ nomatch 32 { action "kldload -n umass"; }; -# 2537 USB entries processed +# 2574 USB entries processed Modified: projects/random_number_generator/lib/libfetch/common.c ============================================================================== --- projects/random_number_generator/lib/libfetch/common.c Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/lib/libfetch/common.c Wed Nov 20 21:48:06 2013 (r258404) @@ -829,6 +829,16 @@ fetch_ssl(conn_t *conn, const struct url return (-1); } SSL_set_fd(conn->ssl, conn->sd); + +#if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT) + if (!SSL_set_tlsext_host_name(conn->ssl, + __DECONST(struct url *, URL)->host)) { + fprintf(stderr, + "TLS server name indication extension failed for host %s\n", + URL->host); + return (-1); + } +#endif while ((ret = SSL_connect(conn->ssl)) == -1) { ssl_err = SSL_get_error(conn->ssl, ret); if (ssl_err != SSL_ERROR_WANT_READ && Modified: projects/random_number_generator/lib/libiconv_modules/UTF7/citrus_utf7.c ============================================================================== --- projects/random_number_generator/lib/libiconv_modules/UTF7/citrus_utf7.c Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/lib/libiconv_modules/UTF7/citrus_utf7.c Wed Nov 20 21:48:06 2013 (r258404) @@ -113,9 +113,9 @@ static const char base64[] = static const char direct[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz" - "0123456789(),-./:?"; + "0123456789'(),-./:?"; -static const char option[] = "!\"#$%&';<=>@[]^_`{|}"; +static const char option[] = "!\"#$%&*;<=>@[]^_`{|}"; static const char spaces[] = " \t\r\n"; #define BASE64_BIT 6 @@ -165,6 +165,7 @@ _citrus_UTF7_mbtoutf16(_UTF7EncodingInfo *nresult = (size_t)-2; *s = s0; sv.chlen = psenc->chlen; + memcpy(sv.ch, psenc->ch, sizeof(sv.ch)); *psenc = sv; return (0); } @@ -202,6 +203,9 @@ _citrus_UTF7_mbtoutf16(_UTF7EncodingInfo goto ilseq; *u16 = (uint16_t)psenc->ch[i]; done = 1; + } else { + psenc->chlen--; + i--; } } else { psenc->cache = @@ -241,7 +245,6 @@ _citrus_UTF7_mbrtowc_priv(_UTF7EncodingI wchar_t * __restrict pwc, const char ** __restrict s, size_t n, _UTF7State * __restrict psenc, size_t * __restrict nresult) { - const char *s0; uint32_t u32; uint16_t hi, lo; size_t nr, siz; @@ -252,14 +255,13 @@ _citrus_UTF7_mbrtowc_priv(_UTF7EncodingI *nresult = (size_t)_ENCODING_IS_STATE_DEPENDENT; return (0); } - s0 = *s; if (psenc->surrogate) { - hi = (psenc->cache >> 2) & UTF16_MAX; + hi = (psenc->cache >> psenc->bits) & UTF16_MAX; if (hi < HISRG_MIN || hi > HISRG_MAX) return (EINVAL); siz = 0; } else { - err = _citrus_UTF7_mbtoutf16(ei, &hi, &s0, n, psenc, &nr); + err = _citrus_UTF7_mbtoutf16(ei, &hi, s, n, psenc, &nr); if (nr == (size_t)-1 || nr == (size_t)-2) { *nresult = nr; return (err); @@ -274,7 +276,7 @@ _citrus_UTF7_mbrtowc_priv(_UTF7EncodingI } psenc->surrogate = 1; } - err = _citrus_UTF7_mbtoutf16(ei, &lo, &s0, n, psenc, &nr); + err = _citrus_UTF7_mbtoutf16(ei, &lo, s, n, psenc, &nr); if (nr == (size_t)-1 || nr == (size_t)-2) { *nresult = nr; return (err); @@ -286,7 +288,6 @@ _citrus_UTF7_mbrtowc_priv(_UTF7EncodingI u32 = (hi << 10 | lo) + SRG_BASE; siz += nr; done: - *s = s0; if (pwc != NULL) *pwc = (wchar_t)u32; if (u32 == (uint32_t)0) { Modified: projects/random_number_generator/release/Makefile ============================================================================== --- projects/random_number_generator/release/Makefile Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/release/Makefile Wed Nov 20 21:48:06 2013 (r258404) @@ -172,8 +172,7 @@ dvd: # Install system mkdir -p ${.TARGET} cd ${WORLDDIR} && ${IMAKE} installkernel installworld distribution \ - DESTDIR=${.OBJDIR}/${.TARGET} WITHOUT_RESCUE=1 WITHOUT_KERNEL_SYMBOLS=1 \ - WITHOUT_PROFILE=1 + DESTDIR=${.OBJDIR}/${.TARGET} WITHOUT_RESCUE=1 WITHOUT_KERNEL_SYMBOLS=1 # Copy distfiles mkdir -p ${.TARGET}/usr/freebsd-dist cp *.txz MANIFEST ${.TARGET}/usr/freebsd-dist Modified: projects/random_number_generator/release/amd64/pkg-stage.conf ============================================================================== --- projects/random_number_generator/release/amd64/pkg-stage.conf Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/release/amd64/pkg-stage.conf Wed Nov 20 21:48:06 2013 (r258404) @@ -3,7 +3,7 @@ # $FreeBSD$ # -export PKG_ABI="freebsd:$(echo ${REVISION} | sed -e 's/\.[0-9]//'):x86:64" +export PKG_ABI="freebsd:${REVISION%.[0-9]*}:x86:64" export ASSUME_ALWAYS_YES=1 export __PKG_CONF="/etc/pkg/FreeBSD.conf" export PACKAGESITE="http://pkg.FreeBSD.org/${PKG_ABI}/latest" Modified: projects/random_number_generator/release/i386/pkg-stage.conf ============================================================================== --- projects/random_number_generator/release/i386/pkg-stage.conf Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/release/i386/pkg-stage.conf Wed Nov 20 21:48:06 2013 (r258404) @@ -3,7 +3,7 @@ # $FreeBSD$ # -export PKG_ABI="freebsd:$(echo ${REVISION} | sed -e 's/\.[0-9]//'):x86:32" +export PKG_ABI="freebsd:${REVISION%.[0-9]*}:x86:32" export ASSUME_ALWAYS_YES=1 export __PKG_CONF="/etc/pkg/FreeBSD.conf" export PACKAGESITE="http://pkg.FreeBSD.org/${PKG_ABI}/latest" Modified: projects/random_number_generator/sbin/geom/class/mirror/geom_mirror.c ============================================================================== --- projects/random_number_generator/sbin/geom/class/mirror/geom_mirror.c Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/sbin/geom/class/mirror/geom_mirror.c Wed Nov 20 21:48:06 2013 (r258404) @@ -28,6 +28,7 @@ __FBSDID("$FreeBSD$"); #include +#include #include #include #include @@ -53,6 +54,7 @@ static void mirror_activate(struct gctl_ static void mirror_clear(struct gctl_req *req); static void mirror_dump(struct gctl_req *req); static void mirror_label(struct gctl_req *req); +static void mirror_resize(struct gctl_req *req, unsigned flags); struct g_command class_commands[] = { { "activate", G_FLAG_VERBOSE, mirror_main, G_NULL_OPTS, @@ -112,6 +114,13 @@ struct g_command class_commands[] = { { "remove", G_FLAG_VERBOSE, NULL, G_NULL_OPTS, "[-v] name prov ..." }, + { "resize", G_FLAG_VERBOSE, mirror_resize, + { + { 's', "size", "*", G_TYPE_STRING }, + G_OPT_SENTINEL + }, + "[-s size] [-v] name" + }, { "stop", G_FLAG_VERBOSE, NULL, { { 'f', "force", NULL, G_TYPE_BOOL }, @@ -376,3 +385,96 @@ mirror_activate(struct gctl_req *req) printf("Provider %s activated.\n", path); } } + +static struct gclass * +find_class(struct gmesh *mesh, const char *name) +{ + struct gclass *classp; + + LIST_FOREACH(classp, &mesh->lg_class, lg_class) { + if (strcmp(classp->lg_name, name) == 0) + return (classp); + } + return (NULL); +} + +static struct ggeom * +find_geom(struct gclass *classp, const char *name) +{ + struct ggeom *gp; + + LIST_FOREACH(gp, &classp->lg_geom, lg_geom) { + if (strcmp(gp->lg_name, name) == 0) + return (gp); + } + return (NULL); +} + +static void +mirror_resize(struct gctl_req *req, unsigned flags __unused) +{ + struct gmesh mesh; + struct gclass *classp; + struct ggeom *gp; + struct gprovider *pp; + struct gconsumer *cp; + off_t size; + int error, nargs; + const char *name; + char ssize[30]; + + nargs = gctl_get_int(req, "nargs"); + if (nargs < 1) { + gctl_error(req, "Too few arguments."); + return; + } + error = geom_gettree(&mesh); + if (error) + errc(EXIT_FAILURE, error, "Cannot get GEOM tree"); + name = gctl_get_ascii(req, "class"); + if (name == NULL) + abort(); + classp = find_class(&mesh, name); + if (classp == NULL) + errx(EXIT_FAILURE, "Class %s not found.", name); + name = gctl_get_ascii(req, "arg0"); + if (name == NULL) + abort(); + gp = find_geom(classp, name); + if (gp == NULL) + errx(EXIT_FAILURE, "No such geom: %s.", name); + pp = LIST_FIRST(&gp->lg_provider); + if (pp == NULL) + errx(EXIT_FAILURE, "Provider of geom %s not found.", name); + size = pp->lg_mediasize; + name = gctl_get_ascii(req, "size"); + if (name == NULL) + errx(EXIT_FAILURE, "The size is not specified."); + if (*name == '*') { +#define CSZ(c) ((c)->lg_provider->lg_mediasize - \ + (c)->lg_provider->lg_sectorsize) + /* Find the maximum possible size */ + LIST_FOREACH(cp, &gp->lg_consumer, lg_consumer) { + if (CSZ(cp) > size) + size = CSZ(cp); + } + LIST_FOREACH(cp, &gp->lg_consumer, lg_consumer) { + if (CSZ(cp) < size) + size = CSZ(cp); + } +#undef CSZ + if (size == pp->lg_mediasize) + errx(EXIT_FAILURE, + "Cannot expand provider %s\n", + pp->lg_name); + } else { + error = g_parse_lba(name, pp->lg_sectorsize, &size); + if (error) + errc(EXIT_FAILURE, error, "Invalid size param"); + size *= pp->lg_sectorsize; + } + snprintf(ssize, sizeof(ssize), "%ju", (uintmax_t)size); + gctl_change_param(req, "size", -1, ssize); + geom_deletetree(&mesh); + gctl_issue(req); +} Modified: projects/random_number_generator/sbin/geom/class/mirror/gmirror.8 ============================================================================== --- projects/random_number_generator/sbin/geom/class/mirror/gmirror.8 Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/sbin/geom/class/mirror/gmirror.8 Wed Nov 20 21:48:06 2013 (r258404) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 8, 2009 +.Dd November 20, 2013 .Dt GMIRROR 8 .Os .Sh NAME @@ -60,6 +60,11 @@ .Ar name .Ar prov ... .Nm +.Cm resize +.Op Fl v +.Op Fl s Ar size +.Ar name +.Nm .Cm insert .Op Fl hiv .Op Fl p Ar priority @@ -193,6 +198,16 @@ balance algorithm. Rebuild the given mirror components forcibly. If autosynchronization was not turned off for the given device, this command should be unnecessary. +.It Cm resize +Change the size of the given mirror. +.Pp +Additional options include: +.Bl -tag -width ".Fl s Ar size" +.It Fl s Ar size +New size of the mirror is expressed in logical block numbers. +This option can be omitted, then it will be automatically calculated to +maximum available size. +.El .It Cm insert Add the given component(s) to the existing mirror. .Pp Modified: projects/random_number_generator/share/man/man4/Makefile ============================================================================== --- projects/random_number_generator/share/man/man4/Makefile Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/share/man/man4/Makefile Wed Nov 20 21:48:06 2013 (r258404) @@ -67,6 +67,7 @@ MAN= aac.4 \ auditpipe.4 \ aue.4 \ axe.4 \ + axge.4 \ bce.4 \ bfe.4 \ bge.4 \ Copied: projects/random_number_generator/share/man/man4/axge.4 (from r258400, head/share/man/man4/axge.4) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/random_number_generator/share/man/man4/axge.4 Wed Nov 20 21:48:06 2013 (r258404, copy of r258400, head/share/man/man4/axge.4) @@ -0,0 +1,149 @@ +.\" Copyright (c) 1997, 1998, 1999, 2000-2003 +.\" Bill Paul . 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. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by Bill Paul. +.\" 4. Neither the name of the author nor the names of any co-contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY Bill Paul 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 Bill Paul OR THE VOICES IN HIS HEAD +.\" 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 November 12, 2013 +.Dt AXGE 4 +.Os +.Sh NAME +.Nm axge +.Nd "ASIX Electronics AX88178A/AX88179 USB Gigabit Ethernet driver" +.Sh SYNOPSIS +To compile this driver into the kernel, +place the following lines in your +kernel configuration file: +.Bd -ragged -offset indent +.Cd "device ehci" +.Cd "device uhci" +.Cd "device ohci" +.Cd "device usb" +.Cd "device miibus" +.Cd "device axge" +.Ed +.Pp +Alternatively, to load the driver as a +module at boot time, place the following line in +.Xr loader.conf 5 : +.Bd -literal -offset indent +if_axge_load="YES" +.Ed +.Sh DESCRIPTION +The +.Nm +driver provides support for USB Gigabit Ethernet adapters based on the ASIX +Electronics AX88179 USB 3.0 and AX88178A USB 2.0 chipsets. +.Pp +The AX88179 and AX88178A contain a 10/100/1000 Ethernet MAC with a GMII +interface for interfacing with the Gigabit Ethernet PHY. +.Pp +These devices will operate with both USB 1.x and USB 2.0 controllers, and the +AX88179 will operate with USB 3.0 controllers. +Packets are received and transmitted over separate USB bulk transfer endpoints. +.Pp +The +.Nm +driver supports the following media types: +.Bl -tag -width ".Cm 10baseT/UTP" +.It Cm autoselect +Enable autoselection of the media type and options. +The user can manually override +the autoselected mode by adding media options to +.Xr rc.conf 5 . +.It Cm 10baseT/UTP +Set 10Mbps operation. +The +.Xr ifconfig 8 +.Cm mediaopt +option can also be used to select either +.Cm full-duplex +or +.Cm half-duplex +modes. +.It Cm 100baseTX +Set 100Mbps (Fast Ethernet) operation. +The +.Xr ifconfig 8 +.Cm mediaopt +option can also be used to select either +.Cm full-duplex +or +.Cm half-duplex +modes. +.It Cm 1000baseT +Set 1000Mbps (Gigabit Ethernet) operation (AX88178 only). +The +.Xr ifconfig 8 +.Cm mediaopt +option can also be used to select either +.Cm full-duplex +or +.Cm half-duplex +modes. +.El +.Pp +The +.Nm +driver supports the following media options: +.Bl -tag -width ".Cm full-duplex" +.It Cm full-duplex +Force full duplex operation. +.It Cm half-duplex +Force half duplex operation. +.El +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +.Sh SEE ALSO +.Xr altq 4 , +.Xr arp 4 , +.Xr miibus 4 , +.Xr netintro 4 , +.Xr ng_ether 4 , +.Xr rgephy 4 , +.Xr vlan 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx 10.1 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Kevin Lo Aq kevlo@FreeBSD.org +and +.An Li-Wen Hsu Aq lwhsu@FreeBSD.org . +This manual page was adapted by +.An Mark Johnston Aq markj@FreeBSD.org +from the +.Xr axe 4 +manual page. Modified: projects/random_number_generator/share/man/man7/release.7 ============================================================================== --- projects/random_number_generator/share/man/man7/release.7 Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/share/man/man7/release.7 Wed Nov 20 21:48:06 2013 (r258404) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 7, 2013 +.Dd November 18, 2013 .Dt RELEASE 7 .Os .Sh NAME @@ -230,6 +230,10 @@ When set, will prevent the .Fa doc.txz distribution package from being created. +.It Va NODVD +Set to a non-empty value to skip the +.Cm dvdrom +target. .It Va NOPORTS Set to a non-empty value to skip the .Li ports/ @@ -270,6 +274,15 @@ This target produces files called and .Pa bootonly.iso as its output. +.It Cm dvdrom +Builds installation DVD-ROM images. +This may require the +.Xr md 4 +(memory disk) device driver be present in the kernel +(either by being compiled in or available as a module). +This target produces the +.Pa dvd1.iso +file as its output. .It Cm memstick Builds an installation memory stick image named .Pa memstick.img . @@ -302,7 +315,8 @@ Builds a bootable installation system co packaged by the .Cm packagesystem target, and suitable for imaging by the -.Cm cdrom +.Cm cdrom , +.Cm dvdrom and .Cm memstick targets. Modified: projects/random_number_generator/share/mk/bsd.progs.mk ============================================================================== --- projects/random_number_generator/share/mk/bsd.progs.mk Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/share/mk/bsd.progs.mk Wed Nov 20 21:48:06 2013 (r258404) @@ -44,7 +44,7 @@ PROG ?= $t # just one of many PROG_VARS += BINDIR CFLAGS CPPFLAGS CXXFLAGS DPADD DPLIBS LDADD MAN SRCS .for v in ${PROG_VARS:O:u} -.if defined(${v}.${PROG}) +.if defined(${v}.${PROG}) || defined(${v}_${PROG}) $v += ${${v}_${PROG}:U${${v}.${PROG}}} .else $v ?= Modified: projects/random_number_generator/sys/arm/arm/machdep.c ============================================================================== --- projects/random_number_generator/sys/arm/arm/machdep.c Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/sys/arm/arm/machdep.c Wed Nov 20 21:48:06 2013 (r258404) @@ -361,7 +361,6 @@ cpu_startup(void *dummy) #endif #endif - cpu_setup(""); identify_arm_cpu(); printf("real memory = %ju (%ju MB)\n", (uintmax_t)ptoa(physmem), @@ -1431,6 +1430,12 @@ initarm(struct arm_boot_params *abp) cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL * 2)); /* + * Now that proper page tables are installed, call cpu_setup() to enable + * instruction and data caches and other chip-specific features. + */ + cpu_setup(""); + + /* * Only after the SOC registers block is mapped we can perform device * tree fixups, as they may attempt to read parameters from hardware. */ Modified: projects/random_number_generator/sys/arm/arm/pmap-v6.c ============================================================================== --- projects/random_number_generator/sys/arm/arm/pmap-v6.c Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/sys/arm/arm/pmap-v6.c Wed Nov 20 21:48:06 2013 (r258404) @@ -1519,10 +1519,10 @@ pmap_fault_fixup(pmap_t pmap, vm_offset_ vm_page_dirty(m); /* Re-enable write permissions for the page */ - pmap_set_prot(ptep, VM_PROT_WRITE, *ptep & L2_S_PROT_U); - CTR1(KTR_PMAP, "pmap_fault_fix: new pte:0x%x", pte); + *ptep = (pte & ~L2_APX); PTE_SYNC(ptep); rv = 1; + CTR1(KTR_PMAP, "pmap_fault_fix: new pte:0x%x", *ptep); } else if (!L2_S_REFERENCED(pte)) { /* * This looks like a good candidate for "page referenced" @@ -1545,6 +1545,7 @@ pmap_fault_fixup(pmap_t pmap, vm_offset_ *ptep = pte | L2_S_REF; PTE_SYNC(ptep); rv = 1; + CTR1(KTR_PMAP, "pmap_fault_fix: new pte:0x%x", *ptep); } /* @@ -3078,36 +3079,38 @@ validate: * then continue setting mapping parameters */ if (m != NULL) { - if (prot & (VM_PROT_ALL)) { - if ((m->oflags & VPO_UNMANAGED) == 0) + if ((m->oflags & VPO_UNMANAGED) == 0) { + if (prot & (VM_PROT_ALL)) { vm_page_aflag_set(m, PGA_REFERENCED); - } else { - /* - * Need to do page referenced emulation. - */ - npte &= ~L2_S_REF; + } else { + /* + * Need to do page referenced emulation. + */ + npte &= ~L2_S_REF; + } } if (prot & VM_PROT_WRITE) { - /* - * Enable write permission if the access type - * indicates write intention. Emulate modified - * bit otherwise. - */ - if ((access & VM_PROT_WRITE) != 0) - npte &= ~(L2_APX); - if ((m->oflags & VPO_UNMANAGED) == 0) { - vm_page_aflag_set(m, PGA_WRITEABLE); /* - * The access type and permissions indicate - * that the page will be written as soon as - * returned from fault service. - * Mark it dirty from the outset. + * Enable write permission if the access type + * indicates write intention. Emulate modified + * bit otherwise. */ - if ((access & VM_PROT_WRITE) != 0) + if ((access & VM_PROT_WRITE) != 0) { + npte &= ~(L2_APX); + vm_page_aflag_set(m, PGA_WRITEABLE); + /* + * The access type and permissions + * indicate that the page will be + * written as soon as returned from + * fault service. + * Mark it dirty from the outset. + */ vm_page_dirty(m); - } + } + } else + npte &= ~(L2_APX); } if (!(prot & VM_PROT_EXECUTE)) npte |= L2_XN; Modified: projects/random_number_generator/sys/arm/conf/BEAGLEBONE ============================================================================== --- projects/random_number_generator/sys/arm/conf/BEAGLEBONE Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/sys/arm/conf/BEAGLEBONE Wed Nov 20 21:48:06 2013 (r258404) @@ -104,6 +104,7 @@ device gpio # USB support device usb +options USB_HOST_ALIGN=64 # Cacheline size is 64 on AM335x. options USB_DEBUG #options USB_REQ_DEBUG #options USB_VERBOSE Modified: projects/random_number_generator/sys/arm/ti/ti_sdhci.c ============================================================================== --- projects/random_number_generator/sys/arm/ti/ti_sdhci.c Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/sys/arm/ti/ti_sdhci.c Wed Nov 20 21:48:06 2013 (r258404) @@ -108,7 +108,7 @@ static struct ofw_compat_data compat_dat #define MMCHS_CON 0x02C #define MMCHS_CON_DW8 (1 << 5) #define MMCHS_CON_DVAL_8_4MS (3 << 9) -#define MMCHS_SD_CAPA 0x240 +#define MMCHS_SD_CAPA 0x140 #define MMCHS_SD_CAPA_VS18 (1 << 26) #define MMCHS_SD_CAPA_VS30 (1 << 25) #define MMCHS_SD_CAPA_VS33 (1 << 24) @@ -432,9 +432,9 @@ ti_sdhci_attach(device_t dev) * that it can set the right values in the CAPA register, which can only * be done once and never reset. */ - sc->slot.host.host_ocr |= MMC_OCR_LOW_VOLTAGE; + sc->slot.host.caps |= MMC_OCR_LOW_VOLTAGE; if (sc->mmchs_device_id == 0 || OF_hasprop(node, "ti,dual-volt")) { - sc->slot.host.host_ocr |= MMC_OCR_290_300 | MMC_OCR_300_310; + sc->slot.host.caps |= MMC_OCR_290_300 | MMC_OCR_300_310; } /* Modified: projects/random_number_generator/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c ============================================================================== --- projects/random_number_generator/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Wed Nov 20 21:21:29 2013 (r258403) +++ projects/random_number_generator/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Wed Nov 20 21:48:06 2013 (r258404) @@ -20,9 +20,9 @@ *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-projects@FreeBSD.ORG Wed Nov 20 21:59:25 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8AF0414E; Wed, 20 Nov 2013 21:59:25 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 618CF2C83; Wed, 20 Nov 2013 21:59:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAKLxPui086915; Wed, 20 Nov 2013 21:59:25 GMT (envelope-from peter@svn.freebsd.org) Received: (from peter@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAKLxPCA086914; Wed, 20 Nov 2013 21:59:25 GMT (envelope-from peter@svn.freebsd.org) Message-Id: <201311202159.rAKLxPCA086914@svn.freebsd.org> From: Peter Wemm Date: Wed, 20 Nov 2013 21:59:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258405 - projects/random_number_generator X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 21:59:25 -0000 Author: peter Date: Wed Nov 20 21:59:24 2013 New Revision: 258405 URL: http://svnweb.freebsd.org/changeset/base/258405 Log: MFC r258404 Modified: Directory Properties: projects/random_number_generator/ (props changed) From owner-svn-src-projects@FreeBSD.ORG Thu Nov 21 22:07:58 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3A0E2F56; Thu, 21 Nov 2013 22:07:58 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 251392A65; Thu, 21 Nov 2013 22:07:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rALM7wm8079261; Thu, 21 Nov 2013 22:07:58 GMT (envelope-from emaste@svn.freebsd.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rALM7rNp079229; Thu, 21 Nov 2013 22:07:53 GMT (envelope-from emaste@svn.freebsd.org) Message-Id: <201311212207.rALM7rNp079229@svn.freebsd.org> From: Ed Maste Date: Thu, 21 Nov 2013 22:07:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258449 - in projects/uefi: . bin/pkill bin/sh cddl/contrib/opensolaris/cmd/plockstat cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/common/ctf cddl/contrib/opensolaris/lib/l... X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2013 22:07:58 -0000 Author: emaste Date: Thu Nov 21 22:07:50 2013 New Revision: 258449 URL: http://svnweb.freebsd.org/changeset/base/258449 Log: Merge from HEAD at r258430 Sponsored by: The FreeBSD Foundation Added: projects/uefi/contrib/atf/atf-c++/detail/auto_array.hpp - copied unchanged from r258430, head/contrib/atf/atf-c++/detail/auto_array.hpp projects/uefi/contrib/atf/atf-c++/detail/auto_array_test.cpp - copied unchanged from r258430, head/contrib/atf/atf-c++/detail/auto_array_test.cpp projects/uefi/contrib/atf/atf-c++/noncopyable.hpp - copied unchanged from r258430, head/contrib/atf/atf-c++/noncopyable.hpp projects/uefi/contrib/atf/atf-c++/utils.cpp - copied unchanged from r258430, head/contrib/atf/atf-c++/utils.cpp projects/uefi/contrib/gcc/cp/ChangeLog.gcc43 - copied unchanged from r258430, head/contrib/gcc/cp/ChangeLog.gcc43 projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/StreamGDBRemote.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/include/lldb/Core/StreamGDBRemote.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/ValueObjectPrinter.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/ValueObjectPrinter.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/OptionParser.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/include/lldb/Host/OptionParser.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/SystemRuntime.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/include/lldb/Target/SystemRuntime.h projects/uefi/contrib/llvm/tools/lldb/source/Core/StreamGDBRemote.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Core/StreamGDBRemote.cpp projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/LibCxxUnorderedMap.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/DataFormatters/LibCxxUnorderedMap.cpp projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp projects/uefi/contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp projects/uefi/contrib/llvm/tools/lldb/source/Host/common/ProcessRunLock.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Host/common/ProcessRunLock.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/ - copied from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/ projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_mips64.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_mips64.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_i386.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_i386.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_mips64.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_mips64.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_x86_64.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_x86_64.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h projects/uefi/contrib/llvm/tools/lldb/source/Target/SystemRuntime.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/source/Target/SystemRuntime.cpp projects/uefi/contrib/llvm/tools/lldb/tools/driver/ELWrapper.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/tools/driver/ELWrapper.cpp projects/uefi/contrib/llvm/tools/lldb/tools/driver/ELWrapper.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/tools/driver/ELWrapper.h projects/uefi/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.cpp projects/uefi/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.h projects/uefi/contrib/llvm/tools/lldb/tools/driver/Platform.cpp - copied unchanged from r258430, head/contrib/llvm/tools/lldb/tools/driver/Platform.cpp projects/uefi/contrib/llvm/tools/lldb/tools/driver/Platform.h - copied unchanged from r258430, head/contrib/llvm/tools/lldb/tools/driver/Platform.h projects/uefi/contrib/llvm/tools/lldb/tools/lldb-platform/ - copied from r258430, head/contrib/llvm/tools/lldb/tools/lldb-platform/ projects/uefi/contrib/tzdata/leap-seconds.list - copied unchanged from r258430, head/contrib/tzdata/leap-seconds.list projects/uefi/lib/atf/libatf-c++/Makefile.inc - copied unchanged from r258430, head/lib/atf/libatf-c++/Makefile.inc projects/uefi/lib/atf/libatf-c++/tests/ - copied from r258430, head/lib/atf/libatf-c++/tests/ projects/uefi/lib/atf/libatf-c/Makefile.inc - copied unchanged from r258430, head/lib/atf/libatf-c/Makefile.inc projects/uefi/lib/atf/libatf-c/tests/ - copied from r258430, head/lib/atf/libatf-c/tests/ projects/uefi/lib/atf/tests/ - copied from r258430, head/lib/atf/tests/ projects/uefi/lib/libc/capability/cap_rights_init.3 - copied unchanged from r258430, head/lib/libc/capability/cap_rights_init.3 projects/uefi/lib/libc/gen/cap_rights_get.3 - copied unchanged from r258430, head/lib/libc/gen/cap_rights_get.3 projects/uefi/lib/libc/iconv/iconv-internal.h - copied unchanged from r258430, head/lib/libc/iconv/iconv-internal.h projects/uefi/lib/libc/iconv/iconv_compat.c - copied unchanged from r258430, head/lib/libc/iconv/iconv_compat.c projects/uefi/lib/libc_nonshared/ - copied from r258430, head/lib/libc_nonshared/ projects/uefi/lib/libnv/ - copied from r258430, head/lib/libnv/ projects/uefi/lib/tests/ - copied from r258430, head/lib/tests/ projects/uefi/libexec/atf/atf-check/Makefile.inc - copied unchanged from r258430, head/libexec/atf/atf-check/Makefile.inc projects/uefi/libexec/atf/atf-check/tests/ - copied from r258430, head/libexec/atf/atf-check/tests/ projects/uefi/libexec/atf/tests/ - copied from r258430, head/libexec/atf/tests/ projects/uefi/libexec/tests/ - copied from r258430, head/libexec/tests/ projects/uefi/release/amd64/pkg-stage.conf - copied unchanged from r258430, head/release/amd64/pkg-stage.conf projects/uefi/release/i386/pkg-stage.conf - copied unchanged from r258430, head/release/i386/pkg-stage.conf projects/uefi/release/scripts/pkg-stage.sh - copied unchanged from r258430, head/release/scripts/pkg-stage.sh projects/uefi/share/examples/libusb20/util.c - copied unchanged from r258430, head/share/examples/libusb20/util.c projects/uefi/share/examples/libusb20/util.h - copied unchanged from r258430, head/share/examples/libusb20/util.h projects/uefi/share/examples/tests/ - copied from r258430, head/share/examples/tests/ projects/uefi/share/man/man4/axge.4 - copied unchanged from r258430, head/share/man/man4/axge.4 projects/uefi/share/man/man4/gpioiic.4 - copied unchanged from r258430, head/share/man/man4/gpioiic.4 projects/uefi/share/man/man4/gpioled.4 - copied unchanged from r258430, head/share/man/man4/gpioled.4 projects/uefi/share/man/man4/rights.4 - copied unchanged from r258430, head/share/man/man4/rights.4 projects/uefi/share/man/man4/urtwnfw.4 - copied unchanged from r258430, head/share/man/man4/urtwnfw.4 projects/uefi/share/tests/ - copied from r258430, head/share/tests/ projects/uefi/sys/amd64/vmm/io/vioapic.c - copied unchanged from r258430, head/sys/amd64/vmm/io/vioapic.c projects/uefi/sys/amd64/vmm/io/vioapic.h - copied unchanged from r258430, head/sys/amd64/vmm/io/vioapic.h projects/uefi/sys/arm/arm/bus_space-v6.c - copied unchanged from r258430, head/sys/arm/arm/bus_space-v6.c projects/uefi/sys/arm/arm/devmap.c - copied unchanged from r258430, head/sys/arm/arm/devmap.c projects/uefi/sys/arm/conf/COSMIC - copied unchanged from r258430, head/sys/arm/conf/COSMIC projects/uefi/sys/arm/conf/WANDBOARD-DUAL - copied unchanged from r258430, head/sys/arm/conf/WANDBOARD-DUAL projects/uefi/sys/arm/conf/WANDBOARD-QUAD - copied unchanged from r258430, head/sys/arm/conf/WANDBOARD-QUAD projects/uefi/sys/arm/conf/WANDBOARD-SOLO - copied unchanged from r258430, head/sys/arm/conf/WANDBOARD-SOLO projects/uefi/sys/arm/conf/WANDBOARD.common - copied unchanged from r258430, head/sys/arm/conf/WANDBOARD.common projects/uefi/sys/arm/freescale/imx/files.imx6 - copied unchanged from r258430, head/sys/arm/freescale/imx/files.imx6 projects/uefi/sys/arm/freescale/imx/imx6_anatop.c - copied unchanged from r258430, head/sys/arm/freescale/imx/imx6_anatop.c projects/uefi/sys/arm/freescale/imx/imx6_anatopreg.h - copied unchanged from r258430, head/sys/arm/freescale/imx/imx6_anatopreg.h projects/uefi/sys/arm/freescale/imx/imx6_anatopvar.h - copied unchanged from r258430, head/sys/arm/freescale/imx/imx6_anatopvar.h projects/uefi/sys/arm/freescale/imx/imx6_ccm.c - copied unchanged from r258430, head/sys/arm/freescale/imx/imx6_ccm.c projects/uefi/sys/arm/freescale/imx/imx6_ccmreg.h - copied unchanged from r258430, head/sys/arm/freescale/imx/imx6_ccmreg.h projects/uefi/sys/arm/freescale/imx/imx6_machdep.c - copied unchanged from r258430, head/sys/arm/freescale/imx/imx6_machdep.c projects/uefi/sys/arm/freescale/imx/imx6_pl310.c - copied unchanged from r258430, head/sys/arm/freescale/imx/imx6_pl310.c projects/uefi/sys/arm/freescale/imx/imx6_usbphy.c - copied unchanged from r258430, head/sys/arm/freescale/imx/imx6_usbphy.c projects/uefi/sys/arm/freescale/imx/imx_sdhci.c - copied unchanged from r258430, head/sys/arm/freescale/imx/imx_sdhci.c projects/uefi/sys/arm/freescale/imx/std.imx6 - copied unchanged from r258430, head/sys/arm/freescale/imx/std.imx6 projects/uefi/sys/arm/freescale/vybrid/ - copied from r258430, head/sys/arm/freescale/vybrid/ projects/uefi/sys/arm/include/devmap.h - copied unchanged from r258430, head/sys/arm/include/devmap.h projects/uefi/sys/arm/ti/ti_mbox.c - copied unchanged from r258430, head/sys/arm/ti/ti_mbox.c projects/uefi/sys/arm/ti/ti_mbox.h - copied unchanged from r258430, head/sys/arm/ti/ti_mbox.h projects/uefi/sys/arm/ti/ti_pruss.c - copied unchanged from r258430, head/sys/arm/ti/ti_pruss.c projects/uefi/sys/arm/ti/ti_pruss.h - copied unchanged from r258430, head/sys/arm/ti/ti_pruss.h projects/uefi/sys/boot/fdt/dts/imx6.dtsi - copied unchanged from r258430, head/sys/boot/fdt/dts/imx6.dtsi projects/uefi/sys/boot/fdt/dts/vybrid-cosmic.dts - copied unchanged from r258430, head/sys/boot/fdt/dts/vybrid-cosmic.dts projects/uefi/sys/boot/fdt/dts/vybrid.dtsi - copied unchanged from r258430, head/sys/boot/fdt/dts/vybrid.dtsi projects/uefi/sys/boot/fdt/dts/wandboard-dual.dts - copied unchanged from r258430, head/sys/boot/fdt/dts/wandboard-dual.dts projects/uefi/sys/boot/fdt/dts/wandboard-quad.dts - copied unchanged from r258430, head/sys/boot/fdt/dts/wandboard-quad.dts projects/uefi/sys/boot/fdt/dts/wandboard-solo.dts - copied unchanged from r258430, head/sys/boot/fdt/dts/wandboard-solo.dts projects/uefi/sys/dev/iwn/if_iwn_chip_cfg.h - copied unchanged from r258430, head/sys/dev/iwn/if_iwn_chip_cfg.h projects/uefi/sys/dev/netmap/netmap_mem2.h - copied unchanged from r258430, head/sys/dev/netmap/netmap_mem2.h projects/uefi/sys/dev/usb/net/if_axge.c - copied unchanged from r258430, head/sys/dev/usb/net/if_axge.c projects/uefi/sys/dev/usb/net/if_axgereg.h - copied unchanged from r258430, head/sys/dev/usb/net/if_axgereg.h projects/uefi/sys/modules/usb/axge/ - copied from r258430, head/sys/modules/usb/axge/ projects/uefi/sys/net/ieee_oui.h - copied unchanged from r258430, head/sys/net/ieee_oui.h projects/uefi/sys/powerpc/mpc85xx/platform_mpc85xx.c - copied unchanged from r258430, head/sys/powerpc/mpc85xx/platform_mpc85xx.c projects/uefi/sys/powerpc/ofw/ofw_pcibus.h - copied unchanged from r258430, head/sys/powerpc/ofw/ofw_pcibus.h projects/uefi/sys/powerpc/powerpc/copyinout.c - copied unchanged from r258430, head/sys/powerpc/powerpc/copyinout.c projects/uefi/sys/powerpc/powerpc/swtch32.S - copied unchanged from r258430, head/sys/powerpc/powerpc/swtch32.S projects/uefi/sys/powerpc/powerpc/swtch64.S - copied unchanged from r258430, head/sys/powerpc/powerpc/swtch64.S projects/uefi/sys/powerpc/pseries/plpar_pcibus.c - copied unchanged from r258430, head/sys/powerpc/pseries/plpar_pcibus.c projects/uefi/sys/x86/iommu/intel_qi.c - copied unchanged from r258430, head/sys/x86/iommu/intel_qi.c projects/uefi/tools/build/options/WITH_TESTS - copied unchanged from r258430, head/tools/build/options/WITH_TESTS projects/uefi/tools/regression/bin/sh/builtins/command12.0 - copied unchanged from r258430, head/tools/regression/bin/sh/builtins/command12.0 projects/uefi/tools/regression/bin/sh/builtins/trap13.0 - copied unchanged from r258430, head/tools/regression/bin/sh/builtins/trap13.0 projects/uefi/tools/regression/bin/sh/builtins/trap14.0 - copied unchanged from r258430, head/tools/regression/bin/sh/builtins/trap14.0 projects/uefi/tools/regression/bin/sh/parser/var-assign1.0 - copied unchanged from r258430, head/tools/regression/bin/sh/parser/var-assign1.0 projects/uefi/tools/regression/lib/libnv/ - copied from r258430, head/tools/regression/lib/libnv/ projects/uefi/tools/regression/usr.sbin/etcupdate/preworld.sh - copied unchanged from r258430, head/tools/regression/usr.sbin/etcupdate/preworld.sh projects/uefi/usr.bin/atf/atf-sh/tests/ - copied from r258430, head/usr.bin/atf/atf-sh/tests/ projects/uefi/usr.bin/atf/tests/ - copied from r258430, head/usr.bin/atf/tests/ projects/uefi/usr.bin/tests/ - copied from r258430, head/usr.bin/tests/ projects/uefi/usr.sbin/bsdconfig/includes/ - copied from r258430, head/usr.sbin/bsdconfig/includes/ projects/uefi/usr.sbin/mfiutil/mfi_properties.c - copied unchanged from r258430, head/usr.sbin/mfiutil/mfi_properties.c Deleted: projects/uefi/contrib/atf/Atffile projects/uefi/contrib/atf/Makefile.am projects/uefi/contrib/atf/Makefile.in projects/uefi/contrib/atf/admin/ projects/uefi/contrib/atf/atf-c++/Atffile projects/uefi/contrib/atf/atf-c++/Makefile.am.inc projects/uefi/contrib/atf/atf-c++/detail/Atffile projects/uefi/contrib/atf/atf-c++/detail/Makefile.am.inc projects/uefi/contrib/atf/atf-c/Atffile projects/uefi/contrib/atf/atf-c/Makefile.am.inc projects/uefi/contrib/atf/atf-c/detail/Atffile projects/uefi/contrib/atf/atf-c/detail/Makefile.am.inc projects/uefi/contrib/atf/atf-c/detail/test_helpers_test.c projects/uefi/contrib/atf/atf-config/ projects/uefi/contrib/atf/atf-report/ projects/uefi/contrib/atf/atf-run/ projects/uefi/contrib/atf/atf-sh/Atffile projects/uefi/contrib/atf/atf-sh/Makefile.am.inc projects/uefi/contrib/atf/atf-version/ projects/uefi/contrib/atf/bconfig.h.in projects/uefi/contrib/atf/configure projects/uefi/contrib/atf/configure.ac projects/uefi/contrib/atf/doc/Makefile.am.inc projects/uefi/contrib/atf/doc/atf-formats.5 projects/uefi/contrib/atf/doc/atf.7.in projects/uefi/contrib/atf/test-programs/Atffile projects/uefi/contrib/atf/test-programs/Makefile.am.inc projects/uefi/contrib/atf/test-programs/fork_test.sh projects/uefi/contrib/llvm/tools/lldb/include/lldb/Utility/RefCounter.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreFreeBSD_x86_64.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreFreeBSD_x86_64.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreLinux_x86_64.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreLinux_x86_64.h projects/uefi/contrib/llvm/tools/lldb/source/Utility/RefCounter.cpp projects/uefi/etc/namedb/ projects/uefi/etc/periodic/daily/220.backup-pkgdb projects/uefi/etc/periodic/daily/470.status-named projects/uefi/etc/periodic/daily/490.status-pkg-changes projects/uefi/etc/periodic/security/460.chkportsum projects/uefi/etc/periodic/weekly/400.status-pkg projects/uefi/etc/rc.d/named projects/uefi/lib/libiconv_compat/ projects/uefi/release/doc/fr_FR.ISO8859-1/installation/common/abstract.xml projects/uefi/release/doc/ru_RU.KOI8-R/installation/common/abstract.xml projects/uefi/release/generate-release.sh projects/uefi/share/examples/libusb20/aux.c projects/uefi/share/examples/libusb20/aux.h projects/uefi/sys/amd64/vmm/io/vdev.c projects/uefi/sys/amd64/vmm/io/vdev.h projects/uefi/sys/arm/allwinner/bus_space.c projects/uefi/sys/arm/broadcom/bcm2835/bus_space.c projects/uefi/sys/arm/freescale/imx/bus_space.c projects/uefi/sys/arm/rockchip/bus_space.c projects/uefi/sys/arm/samsung/exynos/bus_space.c projects/uefi/sys/arm/ti/bus_space.c projects/uefi/sys/powerpc/aim/copyinout.c projects/uefi/sys/powerpc/aim/swtch32.S projects/uefi/sys/powerpc/aim/swtch64.S projects/uefi/sys/powerpc/booke/copyinout.c projects/uefi/sys/powerpc/booke/swtch.S projects/uefi/tools/build/options/WITH_LIBICONV_COMPAT projects/uefi/tools/build/options/WITH_PKGTOOLS projects/uefi/usr.sbin/bhyve/ioapic.c projects/uefi/usr.sbin/bhyve/ioapic.h projects/uefi/usr.sbin/pkg_install/ Modified: projects/uefi/MAINTAINERS (contents, props changed) projects/uefi/Makefile.inc1 projects/uefi/ObsoleteFiles.inc projects/uefi/UPDATING projects/uefi/bin/pkill/pkill.c projects/uefi/bin/sh/exec.c projects/uefi/bin/sh/nodetypes projects/uefi/bin/sh/sh.1 projects/uefi/bin/sh/trap.c projects/uefi/cddl/contrib/opensolaris/cmd/plockstat/plockstat.c projects/uefi/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c projects/uefi/cddl/contrib/opensolaris/common/ctf/ctf_create.c projects/uefi/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c projects/uefi/cddl/contrib/opensolaris/lib/libnvpair/libnvpair.c projects/uefi/cddl/lib/libnvpair/Makefile projects/uefi/contrib/atf/FREEBSD-Xlist projects/uefi/contrib/atf/FREEBSD-upgrade projects/uefi/contrib/atf/NEWS projects/uefi/contrib/atf/atf-c++.hpp projects/uefi/contrib/atf/atf-c++/atf-c++-api.3 projects/uefi/contrib/atf/atf-c++/check.hpp projects/uefi/contrib/atf/atf-c++/check_test.cpp projects/uefi/contrib/atf/atf-c++/detail/Kyuafile projects/uefi/contrib/atf/atf-c++/detail/parser.hpp projects/uefi/contrib/atf/atf-c++/detail/process.cpp projects/uefi/contrib/atf/atf-c++/detail/process.hpp projects/uefi/contrib/atf/atf-c++/detail/test_helpers.cpp projects/uefi/contrib/atf/atf-c++/detail/test_helpers.hpp projects/uefi/contrib/atf/atf-c++/macros_test.cpp projects/uefi/contrib/atf/atf-c++/pkg_config_test.sh projects/uefi/contrib/atf/atf-c++/tests.cpp projects/uefi/contrib/atf/atf-c++/tests.hpp projects/uefi/contrib/atf/atf-c++/utils.hpp projects/uefi/contrib/atf/atf-c++/utils_test.cpp projects/uefi/contrib/atf/atf-c.h projects/uefi/contrib/atf/atf-c/atf-c-api.3 projects/uefi/contrib/atf/atf-c/check_test.c projects/uefi/contrib/atf/atf-c/detail/Kyuafile projects/uefi/contrib/atf/atf-c/detail/process_test.c projects/uefi/contrib/atf/atf-c/detail/sanity_test.c projects/uefi/contrib/atf/atf-c/detail/test_helpers.c projects/uefi/contrib/atf/atf-c/detail/test_helpers.h projects/uefi/contrib/atf/atf-c/macros.h projects/uefi/contrib/atf/atf-c/macros_test.c projects/uefi/contrib/atf/atf-c/pkg_config_test.sh projects/uefi/contrib/atf/atf-c/utils.c projects/uefi/contrib/atf/atf-c/utils.h projects/uefi/contrib/atf/atf-c/utils_test.c projects/uefi/contrib/atf/atf-sh/atf-check.cpp projects/uefi/contrib/atf/atf-sh/atf-check_test.sh projects/uefi/contrib/atf/atf-sh/atf-sh-api.3 projects/uefi/contrib/atf/atf-sh/atf-sh.1 projects/uefi/contrib/atf/atf-sh/atf_check_test.sh projects/uefi/contrib/atf/atf-sh/misc_helpers.sh projects/uefi/contrib/atf/bconfig.h projects/uefi/contrib/atf/test-programs/Kyuafile projects/uefi/contrib/atf/test-programs/c_helpers.c projects/uefi/contrib/atf/test-programs/cpp_helpers.cpp projects/uefi/contrib/atf/test-programs/sh_helpers.sh projects/uefi/contrib/binutils/binutils/cxxfilt.c projects/uefi/contrib/binutils/binutils/readelf.c projects/uefi/contrib/binutils/opcodes/i386-dis.c projects/uefi/contrib/bmake/hash.c projects/uefi/contrib/bmake/lst.lib/lstMember.c projects/uefi/contrib/gcc/ChangeLog.gcc43 projects/uefi/contrib/gcc/Makefile.in projects/uefi/contrib/gcc/builtin-types.def projects/uefi/contrib/gcc/builtins.c projects/uefi/contrib/gcc/builtins.def projects/uefi/contrib/gcc/c-common.c projects/uefi/contrib/gcc/c-common.h projects/uefi/contrib/gcc/c-decl.c projects/uefi/contrib/gcc/c-opts.c projects/uefi/contrib/gcc/c-typeck.c projects/uefi/contrib/gcc/c.opt projects/uefi/contrib/gcc/cgraphunit.c projects/uefi/contrib/gcc/collect2.c projects/uefi/contrib/gcc/config/i386/beos-elf.h projects/uefi/contrib/gcc/config/i386/cygwin.h projects/uefi/contrib/gcc/config/i386/i386.c projects/uefi/contrib/gcc/config/i386/i386.h projects/uefi/contrib/gcc/config/i386/i386.md projects/uefi/contrib/gcc/config/i386/nto.h projects/uefi/contrib/gcc/config/rs6000/aix.h projects/uefi/contrib/gcc/config/rs6000/rs6000.c projects/uefi/contrib/gcc/config/rs6000/sysv4.h projects/uefi/contrib/gcc/config/svr4.h projects/uefi/contrib/gcc/configure projects/uefi/contrib/gcc/configure.ac projects/uefi/contrib/gcc/coverage.c projects/uefi/contrib/gcc/cp/cp-lang.c projects/uefi/contrib/gcc/cp/cp-tree.h projects/uefi/contrib/gcc/cp/decl.c projects/uefi/contrib/gcc/cp/decl2.c projects/uefi/contrib/gcc/cp/name-lookup.c projects/uefi/contrib/gcc/cp/parser.c projects/uefi/contrib/gcc/cp/pt.c projects/uefi/contrib/gcc/cp/semantics.c projects/uefi/contrib/gcc/cp/tree.c projects/uefi/contrib/gcc/cp/typeck.c projects/uefi/contrib/gcc/cppdefault.c projects/uefi/contrib/gcc/doc/extend.texi projects/uefi/contrib/gcc/doc/invoke.texi projects/uefi/contrib/gcc/doc/libgcc.texi projects/uefi/contrib/gcc/doc/rtl.texi projects/uefi/contrib/gcc/dwarf2out.c projects/uefi/contrib/gcc/expr.c projects/uefi/contrib/gcc/flags.h projects/uefi/contrib/gcc/fold-const.c projects/uefi/contrib/gcc/gcc.c projects/uefi/contrib/gcc/genattrtab.c projects/uefi/contrib/gcc/genopinit.c projects/uefi/contrib/gcc/langhooks-def.h projects/uefi/contrib/gcc/langhooks.h projects/uefi/contrib/gcc/libgcc-std.ver projects/uefi/contrib/gcc/libgcc2.c projects/uefi/contrib/gcc/libgcc2.h projects/uefi/contrib/gcc/mips-tdump.c projects/uefi/contrib/gcc/mips-tfile.c projects/uefi/contrib/gcc/mklibgcc.in projects/uefi/contrib/gcc/optabs.c projects/uefi/contrib/gcc/optabs.h projects/uefi/contrib/gcc/opts.c projects/uefi/contrib/gcc/postreload-gcse.c projects/uefi/contrib/gcc/regs.h projects/uefi/contrib/gcc/reload1.c projects/uefi/contrib/gcc/rtl.def projects/uefi/contrib/gcc/rtlanal.c projects/uefi/contrib/gcc/simplify-rtx.c projects/uefi/contrib/gcc/tree-ssa-propagate.c projects/uefi/contrib/gcc/tree-vrp.c projects/uefi/contrib/gcc/tree.c projects/uefi/contrib/gcc/tree.h projects/uefi/contrib/gcclibs/libcpp/files.c projects/uefi/contrib/gcclibs/libcpp/internal.h projects/uefi/contrib/gcclibs/libcpp/lex.c projects/uefi/contrib/gcclibs/libiberty/cp-demangle.c projects/uefi/contrib/gcclibs/libiberty/testsuite/demangle-expected projects/uefi/contrib/gperf/doc/gperf.1 projects/uefi/contrib/gperf/src/options.cc projects/uefi/contrib/gperf/src/options.h projects/uefi/contrib/gperf/src/options.icc projects/uefi/contrib/gperf/src/output.cc projects/uefi/contrib/libexecinfo/backtrace.c projects/uefi/contrib/libpcap/bpf/net/bpf_filter.c projects/uefi/contrib/libpcap/bpf_dump.c projects/uefi/contrib/libpcap/bpf_image.c projects/uefi/contrib/libpcap/pcap/bpf.h projects/uefi/contrib/libpcap/pcap/pcap.h projects/uefi/contrib/libreadline/display.c projects/uefi/contrib/libreadline/input.c projects/uefi/contrib/libreadline/search.c projects/uefi/contrib/libreadline/support/shobj-conf projects/uefi/contrib/libstdc++/include/bits/basic_string.h projects/uefi/contrib/libstdc++/include/bits/basic_string.tcc projects/uefi/contrib/libstdc++/include/bits/stl_algobase.h projects/uefi/contrib/libstdc++/include/bits/stl_tree.h projects/uefi/contrib/libstdc++/include/bits/stl_vector.h projects/uefi/contrib/libstdc++/include/ext/mt_allocator.h projects/uefi/contrib/libstdc++/include/ext/throw_allocator.h projects/uefi/contrib/libstdc++/libsupc++/eh_alloc.cc projects/uefi/contrib/libstdc++/src/mt_allocator.cc projects/uefi/contrib/llvm/include/llvm/Support/Dwarf.h projects/uefi/contrib/llvm/include/llvm/Support/ELF.h projects/uefi/contrib/llvm/lib/Analysis/CaptureTracking.cpp projects/uefi/contrib/llvm/lib/Support/Dwarf.cpp projects/uefi/contrib/llvm/tools/lldb/include/lldb/API/SBHostOS.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/API/SBProcess.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/API/SBTarget.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/API/SBThread.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Breakpoint/Breakpoint.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointList.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocation.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointResolver.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointSiteList.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Breakpoint/StoppointLocation.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/Address.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/ArchSpec.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionFileDescriptor.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionMachPort.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/ConstString.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/DataExtractor.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/Debugger.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/Disassembler.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/EmulateInstruction.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/Error.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/Flags.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/Log.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/Module.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/ModuleList.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/ModuleSpec.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/Opcode.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/PluginManager.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/RangeMap.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/RegularExpression.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/UUID.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/Value.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/ValueObject.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/ValueObjectDynamicValue.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Core/dwarf.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/CXXFormatterFunctions.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/DataVisualization.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatCache.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatClasses.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatManager.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatNavigator.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeCategory.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeCategoryMap.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeSummary.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeSynthetic.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Expression/ClangExpressionDeclMap.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Expression/ClangFunction.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Expression/ClangUserExpression.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Expression/DWARFExpression.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Expression/IRExecutionUnit.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Expression/IRForTarget.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/Condition.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/Config.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/File.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/FileSpec.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/Host.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/Mutex.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/ProcessRunLock.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/SocketAddress.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/Symbols.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/Terminal.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Host/TimeValue.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Interpreter/Args.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Interpreter/CommandObject.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Interpreter/OptionGroupValueObjectDisplay.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Interpreter/OptionValueBoolean.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Interpreter/OptionValueEnumeration.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Interpreter/Options.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Interpreter/PythonDataObjects.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Interpreter/ScriptInterpreter.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Interpreter/ScriptInterpreterPython.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Symbol/Block.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Symbol/ClangASTImporter.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Symbol/ClangASTType.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Symbol/ClangNamespaceDecl.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Symbol/ObjectFile.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Symbol/Symbol.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Symbol/SymbolContext.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Symbol/Symtab.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Symbol/Type.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Symbol/TypeList.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/DynamicLoader.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/ExecutionContext.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/Platform.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/Process.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/RegisterContext.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/StackFrame.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/StackFrameList.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/StackID.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/Target.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/Thread.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/ThreadPlanCallFunction.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Target/ThreadPlanStepOverRange.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/Utility/SharingPtr.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/lldb-defines.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/lldb-enumerations.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/lldb-forward.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/lldb-private-enumerations.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/lldb-private-interfaces.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/lldb-private-log.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/lldb-private.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/lldb-types.h projects/uefi/contrib/llvm/tools/lldb/include/lldb/lldb-versioning.h projects/uefi/contrib/llvm/tools/lldb/source/API/SBCommandInterpreter.cpp projects/uefi/contrib/llvm/tools/lldb/source/API/SBData.cpp projects/uefi/contrib/llvm/tools/lldb/source/API/SBDebugger.cpp projects/uefi/contrib/llvm/tools/lldb/source/API/SBFileSpec.cpp projects/uefi/contrib/llvm/tools/lldb/source/API/SBFunction.cpp projects/uefi/contrib/llvm/tools/lldb/source/API/SBHostOS.cpp projects/uefi/contrib/llvm/tools/lldb/source/API/SBModuleSpec.cpp projects/uefi/contrib/llvm/tools/lldb/source/API/SBProcess.cpp projects/uefi/contrib/llvm/tools/lldb/source/API/SBSymbol.cpp projects/uefi/contrib/llvm/tools/lldb/source/API/SBTarget.cpp projects/uefi/contrib/llvm/tools/lldb/source/API/SBThread.cpp projects/uefi/contrib/llvm/tools/lldb/source/API/SBType.cpp projects/uefi/contrib/llvm/tools/lldb/source/API/SBTypeCategory.cpp projects/uefi/contrib/llvm/tools/lldb/source/API/SBTypeNameSpecifier.cpp projects/uefi/contrib/llvm/tools/lldb/source/API/SBValue.cpp projects/uefi/contrib/llvm/tools/lldb/source/Breakpoint/Breakpoint.cpp projects/uefi/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointList.cpp projects/uefi/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointLocation.cpp projects/uefi/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointLocationList.cpp projects/uefi/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolver.cpp projects/uefi/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp projects/uefi/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp projects/uefi/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolverName.cpp projects/uefi/contrib/llvm/tools/lldb/source/Breakpoint/StoppointLocation.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandCompletions.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectArgs.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectBreakpoint.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectBreakpointCommand.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectCommands.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectDisassemble.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.h projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectFrame.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectHelp.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectLog.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectMemory.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectPlatform.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectProcess.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectRegister.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectSettings.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectSource.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectThread.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectType.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpoint.cpp projects/uefi/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/Address.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/ArchSpec.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/Communication.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/ConnectionFileDescriptor.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/ConnectionMachPort.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/ConnectionSharedMemory.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/ConstString.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/DataBufferMemoryMap.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/DataExtractor.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/Debugger.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/Disassembler.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/Error.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/FileLineResolver.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/Log.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/Mangled.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/Module.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/ModuleList.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/Opcode.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/PluginManager.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/SearchFilter.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/SourceManager.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/Timer.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/Value.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/ValueObject.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/ValueObjectDynamicValue.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/ValueObjectSyntheticFilter.cpp projects/uefi/contrib/llvm/tools/lldb/source/Core/ValueObjectVariable.cpp projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/CXXFormatterFunctions.cpp projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/DataVisualization.cpp projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/FormatCache.cpp projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/FormatManager.cpp projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/TypeCategory.cpp projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/TypeCategoryMap.cpp projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/TypeFormat.cpp projects/uefi/contrib/llvm/tools/lldb/source/DataFormatters/TypeSummary.cpp projects/uefi/contrib/llvm/tools/lldb/source/Expression/ClangASTSource.cpp projects/uefi/contrib/llvm/tools/lldb/source/Expression/ClangExpressionDeclMap.cpp projects/uefi/contrib/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp projects/uefi/contrib/llvm/tools/lldb/source/Expression/ClangFunction.cpp projects/uefi/contrib/llvm/tools/lldb/source/Expression/ClangUserExpression.cpp projects/uefi/contrib/llvm/tools/lldb/source/Expression/DWARFExpression.cpp projects/uefi/contrib/llvm/tools/lldb/source/Expression/IRForTarget.cpp projects/uefi/contrib/llvm/tools/lldb/source/Expression/IRInterpreter.cpp projects/uefi/contrib/llvm/tools/lldb/source/Expression/IRMemoryMap.cpp projects/uefi/contrib/llvm/tools/lldb/source/Expression/Materializer.cpp projects/uefi/contrib/llvm/tools/lldb/source/Host/common/Condition.cpp projects/uefi/contrib/llvm/tools/lldb/source/Host/common/File.cpp projects/uefi/contrib/llvm/tools/lldb/source/Host/common/FileSpec.cpp projects/uefi/contrib/llvm/tools/lldb/source/Host/common/Host.cpp projects/uefi/contrib/llvm/tools/lldb/source/Host/common/Mutex.cpp projects/uefi/contrib/llvm/tools/lldb/source/Host/common/SocketAddress.cpp projects/uefi/contrib/llvm/tools/lldb/source/Host/common/Symbols.cpp projects/uefi/contrib/llvm/tools/lldb/source/Host/common/Terminal.cpp projects/uefi/contrib/llvm/tools/lldb/source/Host/common/TimeValue.cpp projects/uefi/contrib/llvm/tools/lldb/source/Host/freebsd/Host.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/Args.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/CommandInterpreter.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/CommandObject.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupArchitecture.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupBoolean.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupFile.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupFormat.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupOutputFile.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupPlatform.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupString.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUInt64.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUUID.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupVariable.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupWatchpoint.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/OptionValueFileSpec.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/OptionValueProperties.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/Options.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/PythonDataObjects.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreter.cpp projects/uefi/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterPython.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulationStateARM.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessMessage.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessMessage.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_x86.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfo.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfo.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfoEntry.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfoEntry.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationDescription.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationDescription.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/LogChannelDWARF.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h projects/uefi/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp projects/uefi/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp projects/uefi/contrib/llvm/tools/lldb/source/Symbol/ClangASTImporter.cpp projects/uefi/contrib/llvm/tools/lldb/source/Symbol/ClangASTType.cpp projects/uefi/contrib/llvm/tools/lldb/source/Symbol/CompileUnit.cpp projects/uefi/contrib/llvm/tools/lldb/source/Symbol/DWARFCallFrameInfo.cpp projects/uefi/contrib/llvm/tools/lldb/source/Symbol/FuncUnwinders.cpp projects/uefi/contrib/llvm/tools/lldb/source/Symbol/LineEntry.cpp projects/uefi/contrib/llvm/tools/lldb/source/Symbol/ObjectFile.cpp projects/uefi/contrib/llvm/tools/lldb/source/Symbol/Symbol.cpp projects/uefi/contrib/llvm/tools/lldb/source/Symbol/SymbolContext.cpp projects/uefi/contrib/llvm/tools/lldb/source/Symbol/Symtab.cpp projects/uefi/contrib/llvm/tools/lldb/source/Symbol/Type.cpp projects/uefi/contrib/llvm/tools/lldb/source/Symbol/UnwindTable.cpp projects/uefi/contrib/llvm/tools/lldb/source/Symbol/Variable.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/ExecutionContext.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/LanguageRuntime.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/Platform.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/Process.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/RegisterContext.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/StackFrame.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/StackFrameList.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/StopInfo.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/Target.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/TargetList.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/Thread.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/ThreadPlanCallFunction.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/ThreadPlanRunToAddress.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepOut.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepOverRange.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepRange.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepThrough.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepUntil.cpp projects/uefi/contrib/llvm/tools/lldb/source/Target/UnixSignals.cpp projects/uefi/contrib/llvm/tools/lldb/source/Utility/PseudoTerminal.cpp projects/uefi/contrib/llvm/tools/lldb/source/Utility/SharingPtr.cpp projects/uefi/contrib/llvm/tools/lldb/source/Utility/StringExtractor.cpp projects/uefi/contrib/llvm/tools/lldb/source/Utility/StringExtractor.h projects/uefi/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp projects/uefi/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.h projects/uefi/contrib/llvm/tools/lldb/source/lldb-log.cpp projects/uefi/contrib/llvm/tools/lldb/source/lldb.cpp projects/uefi/contrib/llvm/tools/lldb/tools/driver/Driver.cpp projects/uefi/contrib/llvm/tools/lldb/tools/driver/Driver.h projects/uefi/contrib/llvm/tools/lldb/tools/driver/IOChannel.cpp projects/uefi/contrib/llvm/tools/lldb/tools/driver/IOChannel.h projects/uefi/contrib/mdocml/lib.in projects/uefi/contrib/netcat/nc.1 projects/uefi/contrib/netcat/netcat.c projects/uefi/contrib/nvi/README projects/uefi/contrib/nvi/common/main.c projects/uefi/contrib/nvi/docs/USD.doc/vi.man/vi.1 projects/uefi/contrib/nvi/ex/ex_print.c projects/uefi/contrib/nvi/ex/version.h projects/uefi/contrib/nvi/vi/v_txt.c projects/uefi/contrib/nvi/vi/vs_refresh.c projects/uefi/contrib/smbfs/lib/smb/nls.c projects/uefi/contrib/subversion/CHANGES projects/uefi/contrib/subversion/INSTALL projects/uefi/contrib/subversion/Makefile.in projects/uefi/contrib/subversion/build-outputs.mk projects/uefi/contrib/subversion/build.conf projects/uefi/contrib/subversion/configure projects/uefi/contrib/subversion/subversion/include/private/svn_client_private.h projects/uefi/contrib/subversion/subversion/include/private/svn_subr_private.h projects/uefi/contrib/subversion/subversion/include/svn_config.h projects/uefi/contrib/subversion/subversion/include/svn_types.h projects/uefi/contrib/subversion/subversion/include/svn_version.h projects/uefi/contrib/subversion/subversion/libsvn_client/commit.c projects/uefi/contrib/subversion/subversion/libsvn_client/merge.c projects/uefi/contrib/subversion/subversion/libsvn_client/mergeinfo.c projects/uefi/contrib/subversion/subversion/libsvn_client/update.c projects/uefi/contrib/subversion/subversion/libsvn_diff/diff_file.c projects/uefi/contrib/subversion/subversion/libsvn_fs/fs-loader.c projects/uefi/contrib/subversion/subversion/libsvn_fs_base/fs.c projects/uefi/contrib/subversion/subversion/libsvn_fs_fs/fs.c projects/uefi/contrib/subversion/subversion/libsvn_fs_fs/fs_fs.c projects/uefi/contrib/subversion/subversion/libsvn_fs_fs/rep-cache-db.h projects/uefi/contrib/subversion/subversion/libsvn_ra/ra_loader.c projects/uefi/contrib/subversion/subversion/libsvn_ra/ra_loader.h projects/uefi/contrib/subversion/subversion/libsvn_ra_local/ra_plugin.c projects/uefi/contrib/subversion/subversion/libsvn_ra_local/split_url.c projects/uefi/contrib/subversion/subversion/libsvn_ra_serf/commit.c projects/uefi/contrib/subversion/subversion/libsvn_ra_serf/ra_serf.h projects/uefi/contrib/subversion/subversion/libsvn_ra_serf/replay.c projects/uefi/contrib/subversion/subversion/libsvn_ra_serf/serf.c projects/uefi/contrib/subversion/subversion/libsvn_ra_serf/util.c projects/uefi/contrib/subversion/subversion/libsvn_ra_svn/client.c projects/uefi/contrib/subversion/subversion/libsvn_subr/auth.c projects/uefi/contrib/subversion/subversion/libsvn_subr/cache_config.c projects/uefi/contrib/subversion/subversion/libsvn_subr/cmdline.c projects/uefi/contrib/subversion/subversion/libsvn_subr/config_auth.c projects/uefi/contrib/subversion/subversion/libsvn_subr/deprecated.c projects/uefi/contrib/subversion/subversion/libsvn_subr/dirent_uri.c projects/uefi/contrib/subversion/subversion/libsvn_subr/internal_statements.h projects/uefi/contrib/subversion/subversion/libsvn_subr/io.c projects/uefi/contrib/subversion/subversion/libsvn_subr/sysinfo.c projects/uefi/contrib/subversion/subversion/libsvn_subr/utf.c projects/uefi/contrib/subversion/subversion/libsvn_subr/version.c projects/uefi/contrib/subversion/subversion/libsvn_subr/win32_crashrpt.c projects/uefi/contrib/subversion/subversion/libsvn_wc/diff_editor.c projects/uefi/contrib/subversion/subversion/libsvn_wc/diff_local.c projects/uefi/contrib/subversion/subversion/libsvn_wc/info.c projects/uefi/contrib/subversion/subversion/libsvn_wc/old-and-busted.c projects/uefi/contrib/subversion/subversion/libsvn_wc/update_editor.c projects/uefi/contrib/subversion/subversion/libsvn_wc/wc-checks.h projects/uefi/contrib/subversion/subversion/libsvn_wc/wc-metadata.h projects/uefi/contrib/subversion/subversion/libsvn_wc/wc-queries.h projects/uefi/contrib/subversion/subversion/libsvn_wc/wc-queries.sql projects/uefi/contrib/subversion/subversion/libsvn_wc/wc_db.c projects/uefi/contrib/subversion/subversion/libsvn_wc/wc_db.h projects/uefi/contrib/subversion/subversion/libsvn_wc/wc_db_private.h projects/uefi/contrib/subversion/subversion/libsvn_wc/wc_db_update_move.c projects/uefi/contrib/subversion/subversion/svn/cl.h projects/uefi/contrib/subversion/subversion/svn/status-cmd.c projects/uefi/contrib/subversion/subversion/svn/status.c projects/uefi/contrib/subversion/subversion/svn/svn.c projects/uefi/contrib/subversion/subversion/svnadmin/svnadmin.c projects/uefi/contrib/subversion/subversion/svndumpfilter/svndumpfilter.c projects/uefi/contrib/subversion/subversion/svnlook/svnlook.c projects/uefi/contrib/subversion/subversion/svnmucc/svnmucc.c projects/uefi/contrib/subversion/subversion/svnserve/svnserve.c projects/uefi/contrib/subversion/subversion/svnsync/svnsync.c projects/uefi/contrib/subversion/subversion/svnversion/svnversion.c projects/uefi/contrib/tcp_wrappers/clean_exit.c projects/uefi/contrib/tcp_wrappers/hosts_access.c projects/uefi/contrib/tcp_wrappers/options.c projects/uefi/contrib/tcp_wrappers/percent_x.c projects/uefi/contrib/tcp_wrappers/rfc931.c projects/uefi/contrib/tcp_wrappers/shell_cmd.c projects/uefi/contrib/tcp_wrappers/update.c projects/uefi/contrib/telnet/telnetd/sys_term.c projects/uefi/contrib/tzdata/africa projects/uefi/contrib/tzdata/antarctica projects/uefi/contrib/tzdata/asia projects/uefi/contrib/tzdata/australasia projects/uefi/contrib/tzdata/backward projects/uefi/contrib/tzdata/etcetera projects/uefi/contrib/tzdata/europe projects/uefi/contrib/tzdata/northamerica projects/uefi/contrib/tzdata/southamerica projects/uefi/contrib/tzdata/zone.tab projects/uefi/crypto/openssh/ChangeLog projects/uefi/crypto/openssh/README projects/uefi/crypto/openssh/auth-options.c projects/uefi/crypto/openssh/auth2-chall.c projects/uefi/crypto/openssh/authfd.c projects/uefi/crypto/openssh/channels.c projects/uefi/crypto/openssh/cipher-3des1.c projects/uefi/crypto/openssh/clientloop.c projects/uefi/crypto/openssh/contrib/caldera/openssh.spec projects/uefi/crypto/openssh/contrib/redhat/openssh.spec projects/uefi/crypto/openssh/contrib/suse/openssh.spec projects/uefi/crypto/openssh/gss-genr.c projects/uefi/crypto/openssh/monitor_mm.c projects/uefi/crypto/openssh/monitor_wrap.c projects/uefi/crypto/openssh/packet.c projects/uefi/crypto/openssh/schnorr.c projects/uefi/crypto/openssh/sftp-client.c projects/uefi/crypto/openssh/sftp-glob.c projects/uefi/crypto/openssh/sftp-server.0 projects/uefi/crypto/openssh/sftp.0 projects/uefi/crypto/openssh/ssh_config projects/uefi/crypto/openssh/ssh_config.5 projects/uefi/crypto/openssh/sshd_config projects/uefi/crypto/openssh/sshd_config.5 projects/uefi/crypto/openssh/umac.c projects/uefi/crypto/openssh/version.h projects/uefi/etc/Makefile projects/uefi/etc/defaults/periodic.conf projects/uefi/etc/defaults/rc.conf projects/uefi/etc/devd/usb.conf projects/uefi/etc/freebsd-update.conf projects/uefi/etc/mtree/BSD.include.dist projects/uefi/etc/mtree/BSD.tests.dist projects/uefi/etc/mtree/BSD.usr.dist projects/uefi/etc/mtree/Makefile projects/uefi/etc/periodic/daily/Makefile projects/uefi/etc/periodic/security/Makefile projects/uefi/etc/periodic/weekly/Makefile projects/uefi/etc/pkg/FreeBSD.conf projects/uefi/etc/rc.d/Makefile projects/uefi/etc/rc.d/ftp-proxy projects/uefi/etc/rc.d/ntpdate projects/uefi/etc/rc.d/pflog projects/uefi/etc/rc.d/rpcbind projects/uefi/etc/rc.d/syslogd projects/uefi/gnu/usr.bin/binutils/ld/Makefile projects/uefi/include/Makefile projects/uefi/include/iconv.h projects/uefi/lib/Makefile projects/uefi/lib/atf/Makefile projects/uefi/lib/atf/Makefile.inc projects/uefi/lib/atf/libatf-c++/Makefile projects/uefi/lib/atf/libatf-c/Makefile projects/uefi/lib/clang/liblldbCore/Makefile projects/uefi/lib/clang/liblldbDataFormatters/Makefile projects/uefi/lib/clang/liblldbHostCommon/Makefile projects/uefi/lib/clang/liblldbPluginProcessElfCore/Makefile projects/uefi/lib/clang/liblldbPluginProcessPOSIX/Makefile projects/uefi/lib/clang/liblldbPluginSymbolFileDWARF/Makefile projects/uefi/lib/clang/liblldbTarget/Makefile projects/uefi/lib/clang/liblldbUtility/Makefile projects/uefi/lib/libc/capability/Makefile.inc projects/uefi/lib/libc/gen/Makefile.inc projects/uefi/lib/libc/iconv/Makefile.inc projects/uefi/lib/libc/iconv/Symbol.map projects/uefi/lib/libc/iconv/citrus_csmapper.h projects/uefi/lib/libc/iconv/iconv.c projects/uefi/lib/libc/libc.ldscript projects/uefi/lib/libc/posix1e/acl.3 projects/uefi/lib/libc/posix1e/acl_is_trivial_np.3 projects/uefi/lib/libc/stdio/printf_l.3 projects/uefi/lib/libc/stdio/scanf_l.3 projects/uefi/lib/libc/string/strcasecmp.3 projects/uefi/lib/libc/string/strlcpy.3 projects/uefi/lib/libc/sys/Makefile.inc projects/uefi/lib/libc/sys/cap_ioctls_limit.2 projects/uefi/lib/libc/sys/cap_rights_limit.2 projects/uefi/lib/libc/sys/kqueue.2 projects/uefi/lib/libfetch/common.c projects/uefi/lib/libiconv_modules/UTF7/citrus_utf7.c projects/uefi/lib/libproc/proc_bkpt.c projects/uefi/lib/libproc/proc_sym.c projects/uefi/lib/libsmb/Makefile projects/uefi/lib/libutil/expand_number.3 projects/uefi/lib/libvmmapi/vmmapi.c projects/uefi/lib/libvmmapi/vmmapi.h projects/uefi/lib/libz/FREEBSD-upgrade (contents, props changed) projects/uefi/lib/libz/Makefile (contents, props changed) projects/uefi/lib/libz/Symbol.map (contents, props changed) projects/uefi/lib/libz/Versions.def (contents, props changed) projects/uefi/lib/libz/zopen.c (contents, props changed) projects/uefi/lib/msun/Makefile projects/uefi/lib/msun/src/s_round.c projects/uefi/lib/msun/src/s_roundf.c projects/uefi/lib/msun/src/s_roundl.c projects/uefi/libexec/Makefile projects/uefi/libexec/atf/Makefile projects/uefi/libexec/atf/Makefile.inc projects/uefi/libexec/atf/atf-check/Makefile projects/uefi/libexec/rbootd/bpf.c projects/uefi/libexec/rtld-elf/rtld.c projects/uefi/release/Makefile projects/uefi/release/doc/de_DE.ISO8859-1/early-adopter/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/errata/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/hardware/alpha/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/hardware/alpha/proc-alpha.xml projects/uefi/release/doc/de_DE.ISO8859-1/hardware/common/artheader.xml projects/uefi/release/doc/de_DE.ISO8859-1/hardware/common/dev.xml projects/uefi/release/doc/de_DE.ISO8859-1/hardware/common/intro.xml projects/uefi/release/doc/de_DE.ISO8859-1/hardware/i386/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/hardware/i386/proc-i386.xml projects/uefi/release/doc/de_DE.ISO8859-1/hardware/ia64/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/hardware/ia64/proc-ia64.xml projects/uefi/release/doc/de_DE.ISO8859-1/hardware/pc98/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/hardware/pc98/proc-pc98.xml projects/uefi/release/doc/de_DE.ISO8859-1/hardware/sparc64/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/hardware/sparc64/dev-sparc64.xml projects/uefi/release/doc/de_DE.ISO8859-1/hardware/sparc64/proc-sparc64.xml projects/uefi/release/doc/de_DE.ISO8859-1/installation/alpha/Makefile projects/uefi/release/doc/de_DE.ISO8859-1/installation/alpha/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/installation/common/abstract.xml projects/uefi/release/doc/de_DE.ISO8859-1/installation/common/artheader.xml projects/uefi/release/doc/de_DE.ISO8859-1/installation/common/install.ent projects/uefi/release/doc/de_DE.ISO8859-1/installation/common/install.xml projects/uefi/release/doc/de_DE.ISO8859-1/installation/common/layout.xml projects/uefi/release/doc/de_DE.ISO8859-1/installation/common/trouble.xml projects/uefi/release/doc/de_DE.ISO8859-1/installation/common/upgrade.xml projects/uefi/release/doc/de_DE.ISO8859-1/installation/i386/Makefile projects/uefi/release/doc/de_DE.ISO8859-1/installation/i386/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/installation/ia64/Makefile projects/uefi/release/doc/de_DE.ISO8859-1/installation/ia64/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/installation/pc98/Makefile projects/uefi/release/doc/de_DE.ISO8859-1/installation/pc98/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/installation/sparc64/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/installation/sparc64/install.xml projects/uefi/release/doc/de_DE.ISO8859-1/readme/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/relnotes/alpha/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/relnotes/common/new.xml projects/uefi/release/doc/de_DE.ISO8859-1/relnotes/i386/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/relnotes/ia64/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/relnotes/pc98/article.xml projects/uefi/release/doc/de_DE.ISO8859-1/relnotes/sparc64/article.xml projects/uefi/release/doc/en_US.ISO8859-1/errata/article.xml projects/uefi/release/doc/en_US.ISO8859-1/hardware/article.xml projects/uefi/release/doc/en_US.ISO8859-1/readme/article.xml projects/uefi/release/doc/en_US.ISO8859-1/relnotes/article.xml projects/uefi/release/doc/fr_FR.ISO8859-1/early-adopter/article.xml projects/uefi/release/doc/fr_FR.ISO8859-1/errata/article.xml projects/uefi/release/doc/fr_FR.ISO8859-1/hardware/alpha/article.xml projects/uefi/release/doc/fr_FR.ISO8859-1/hardware/alpha/proc-alpha.xml projects/uefi/release/doc/fr_FR.ISO8859-1/hardware/common/artheader.xml projects/uefi/release/doc/fr_FR.ISO8859-1/hardware/common/dev.xml projects/uefi/release/doc/fr_FR.ISO8859-1/hardware/common/intro.xml projects/uefi/release/doc/fr_FR.ISO8859-1/hardware/i386/article.xml projects/uefi/release/doc/fr_FR.ISO8859-1/hardware/i386/proc-i386.xml projects/uefi/release/doc/fr_FR.ISO8859-1/hardware/ia64/article.xml projects/uefi/release/doc/fr_FR.ISO8859-1/hardware/ia64/proc-ia64.xml projects/uefi/release/doc/fr_FR.ISO8859-1/hardware/pc98/article.xml projects/uefi/release/doc/fr_FR.ISO8859-1/hardware/pc98/proc-pc98.xml projects/uefi/release/doc/fr_FR.ISO8859-1/hardware/sparc64/article.xml projects/uefi/release/doc/fr_FR.ISO8859-1/hardware/sparc64/dev-sparc64.xml projects/uefi/release/doc/fr_FR.ISO8859-1/hardware/sparc64/proc-sparc64.xml projects/uefi/release/doc/fr_FR.ISO8859-1/installation/alpha/Makefile projects/uefi/release/doc/fr_FR.ISO8859-1/installation/alpha/article.xml projects/uefi/release/doc/fr_FR.ISO8859-1/installation/common/artheader.xml projects/uefi/release/doc/fr_FR.ISO8859-1/installation/common/install.ent projects/uefi/release/doc/fr_FR.ISO8859-1/installation/common/install.xml projects/uefi/release/doc/fr_FR.ISO8859-1/installation/common/layout.xml projects/uefi/release/doc/fr_FR.ISO8859-1/installation/common/trouble.xml projects/uefi/release/doc/fr_FR.ISO8859-1/installation/common/upgrade.xml projects/uefi/release/doc/fr_FR.ISO8859-1/installation/i386/Makefile projects/uefi/release/doc/fr_FR.ISO8859-1/installation/i386/article.xml projects/uefi/release/doc/fr_FR.ISO8859-1/installation/pc98/Makefile projects/uefi/release/doc/fr_FR.ISO8859-1/installation/pc98/article.xml projects/uefi/release/doc/fr_FR.ISO8859-1/installation/sparc64/article.xml projects/uefi/release/doc/fr_FR.ISO8859-1/installation/sparc64/install.xml projects/uefi/release/doc/fr_FR.ISO8859-1/relnotes/alpha/article.xml projects/uefi/release/doc/fr_FR.ISO8859-1/relnotes/common/new.xml projects/uefi/release/doc/fr_FR.ISO8859-1/relnotes/i386/article.xml projects/uefi/release/doc/ja_JP.eucJP/errata/article.xml projects/uefi/release/doc/ja_JP.eucJP/hardware/alpha/article.xml projects/uefi/release/doc/ja_JP.eucJP/hardware/amd64/article.xml projects/uefi/release/doc/ja_JP.eucJP/hardware/amd64/proc-amd64.xml projects/uefi/release/doc/ja_JP.eucJP/hardware/common/artheader.xml projects/uefi/release/doc/ja_JP.eucJP/hardware/common/dev.xml projects/uefi/release/doc/ja_JP.eucJP/hardware/common/intro.xml projects/uefi/release/doc/ja_JP.eucJP/hardware/i386/article.xml projects/uefi/release/doc/ja_JP.eucJP/hardware/i386/proc-i386.xml projects/uefi/release/doc/ja_JP.eucJP/hardware/ia64/article.xml projects/uefi/release/doc/ja_JP.eucJP/hardware/ia64/proc-ia64.xml projects/uefi/release/doc/ja_JP.eucJP/hardware/pc98/article.xml projects/uefi/release/doc/ja_JP.eucJP/hardware/pc98/proc-pc98.xml projects/uefi/release/doc/ja_JP.eucJP/hardware/sparc64/article.xml projects/uefi/release/doc/ja_JP.eucJP/hardware/sparc64/proc-sparc64.xml projects/uefi/release/doc/ja_JP.eucJP/relnotes/alpha/article.xml projects/uefi/release/doc/ja_JP.eucJP/relnotes/amd64/article.xml projects/uefi/release/doc/ja_JP.eucJP/relnotes/common/new.xml projects/uefi/release/doc/ja_JP.eucJP/relnotes/i386/article.xml projects/uefi/release/doc/ja_JP.eucJP/relnotes/ia64/article.xml projects/uefi/release/doc/ja_JP.eucJP/relnotes/pc98/article.xml projects/uefi/release/doc/ja_JP.eucJP/relnotes/sparc64/article.xml projects/uefi/release/doc/ja_JP.eucJP/share/xml/catalog.xml projects/uefi/release/doc/ru_RU.KOI8-R/errata/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/hardware/alpha/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/hardware/amd64/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/hardware/amd64/proc-amd64.xml projects/uefi/release/doc/ru_RU.KOI8-R/hardware/common/artheader.xml projects/uefi/release/doc/ru_RU.KOI8-R/hardware/common/dev.xml projects/uefi/release/doc/ru_RU.KOI8-R/hardware/common/intro.xml projects/uefi/release/doc/ru_RU.KOI8-R/hardware/i386/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/hardware/i386/proc-i386.xml projects/uefi/release/doc/ru_RU.KOI8-R/hardware/ia64/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/hardware/ia64/proc-ia64.xml projects/uefi/release/doc/ru_RU.KOI8-R/hardware/pc98/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/hardware/pc98/proc-pc98.xml projects/uefi/release/doc/ru_RU.KOI8-R/hardware/sparc64/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/hardware/sparc64/proc-sparc64.xml projects/uefi/release/doc/ru_RU.KOI8-R/installation/alpha/Makefile projects/uefi/release/doc/ru_RU.KOI8-R/installation/alpha/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/installation/amd64/Makefile projects/uefi/release/doc/ru_RU.KOI8-R/installation/amd64/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/installation/common/artheader.xml projects/uefi/release/doc/ru_RU.KOI8-R/installation/common/install.ent projects/uefi/release/doc/ru_RU.KOI8-R/installation/common/install.xml projects/uefi/release/doc/ru_RU.KOI8-R/installation/common/layout.xml projects/uefi/release/doc/ru_RU.KOI8-R/installation/common/trouble.xml projects/uefi/release/doc/ru_RU.KOI8-R/installation/common/upgrade.xml projects/uefi/release/doc/ru_RU.KOI8-R/installation/i386/Makefile projects/uefi/release/doc/ru_RU.KOI8-R/installation/i386/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/installation/ia64/Makefile projects/uefi/release/doc/ru_RU.KOI8-R/installation/ia64/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/installation/pc98/Makefile projects/uefi/release/doc/ru_RU.KOI8-R/installation/pc98/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/installation/sparc64/Makefile projects/uefi/release/doc/ru_RU.KOI8-R/installation/sparc64/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/readme/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/relnotes/alpha/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/relnotes/amd64/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/relnotes/common/new.xml projects/uefi/release/doc/ru_RU.KOI8-R/relnotes/i386/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/relnotes/ia64/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/relnotes/pc98/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/relnotes/sparc64/article.xml projects/uefi/release/doc/ru_RU.KOI8-R/share/xml/catalog.xml projects/uefi/release/doc/share/misc/man2hwnotes.pl projects/uefi/release/doc/share/xml/catalog.xml projects/uefi/release/doc/zh_CN.GB2312/errata/article.xml projects/uefi/release/doc/zh_CN.GB2312/hardware/article.xml projects/uefi/release/doc/zh_CN.GB2312/readme/article.xml projects/uefi/release/doc/zh_CN.GB2312/relnotes/article.xml projects/uefi/release/picobsd/build/picobsd projects/uefi/release/release.sh projects/uefi/sbin/devd/devd.cc projects/uefi/sbin/geom/class/mirror/geom_mirror.c projects/uefi/sbin/geom/class/mirror/gmirror.8 projects/uefi/sbin/hastd/hastd.8 projects/uefi/sbin/ifconfig/ifconfig.c projects/uefi/sbin/nvmecontrol/firmware.c projects/uefi/sbin/nvmecontrol/perftest.c projects/uefi/sbin/sysctl/sysctl.8 projects/uefi/share/Makefile projects/uefi/share/dict/README projects/uefi/share/doc/Makefile projects/uefi/share/examples/Makefile projects/uefi/share/examples/bhyve/vmrun.sh projects/uefi/share/examples/libusb20/Makefile projects/uefi/share/examples/libusb20/bulk.c projects/uefi/share/examples/libusb20/control.c projects/uefi/share/i18n/csmapper/JIS/JISX0201-KANA%UCS.src projects/uefi/share/i18n/csmapper/JIS/JISX0208@1990%UCS.src projects/uefi/share/i18n/csmapper/JIS/UCS%JISX0201-KANA.src projects/uefi/share/i18n/csmapper/JIS/UCS%JISX0208@1990.src projects/uefi/share/i18n/csmapper/JIS/charset.pivot.JIS.src projects/uefi/share/i18n/csmapper/JIS/mapper.dir.JIS.src projects/uefi/share/i18n/esdb/EUC/EUC-JP.src projects/uefi/share/i18n/esdb/UTF/UTF.alias projects/uefi/share/man/man1/Makefile projects/uefi/share/man/man3/tree.3 projects/uefi/share/man/man4/Makefile projects/uefi/share/man/man4/altera_atse.4 projects/uefi/share/man/man4/capsicum.4 projects/uefi/share/man/man4/ddb.4 projects/uefi/share/man/man4/gpio.4 projects/uefi/share/man/man4/natm.4 projects/uefi/share/man/man4/netmap.4 projects/uefi/share/man/man4/pf.4 projects/uefi/share/man/man4/run.4 projects/uefi/share/man/man4/runfw.4 projects/uefi/share/man/man4/tcp.4 projects/uefi/share/man/man4/urtwn.4 projects/uefi/share/man/man5/rc.conf.5 projects/uefi/share/man/man5/src.conf.5 projects/uefi/share/man/man7/release.7 projects/uefi/share/man/man9/getenv.9 projects/uefi/share/man/man9/ifnet.9 projects/uefi/share/misc/bsd-family-tree projects/uefi/share/misc/committers-ports.dot (contents, props changed) projects/uefi/share/misc/committers-src.dot projects/uefi/share/mk/Makefile projects/uefi/share/mk/atf.test.mk projects/uefi/share/mk/bsd.libnames.mk projects/uefi/share/mk/bsd.own.mk projects/uefi/share/mk/bsd.prog.mk projects/uefi/share/mk/bsd.progs.mk projects/uefi/share/mk/plain.test.mk projects/uefi/sys/amd64/amd64/identcpu.c projects/uefi/sys/amd64/amd64/machdep.c projects/uefi/sys/amd64/amd64/trap.c projects/uefi/sys/amd64/ia32/ia32_signal.c projects/uefi/sys/amd64/include/vmm.h (contents, props changed) projects/uefi/sys/amd64/include/vmm_dev.h (contents, props changed) projects/uefi/sys/amd64/include/vmparam.h projects/uefi/sys/amd64/linux32/linux32_sysvec.c projects/uefi/sys/amd64/vmm/intel/vmx.c projects/uefi/sys/amd64/vmm/io/vlapic.c projects/uefi/sys/amd64/vmm/io/vlapic.h projects/uefi/sys/amd64/vmm/vmm.c projects/uefi/sys/amd64/vmm/vmm_dev.c projects/uefi/sys/amd64/vmm/vmm_ktr.h projects/uefi/sys/amd64/vmm/vmm_lapic.c projects/uefi/sys/arm/allwinner/a10_machdep.c projects/uefi/sys/arm/allwinner/a20/files.a20 projects/uefi/sys/arm/allwinner/files.a10 projects/uefi/sys/arm/arm/bus_space_generic.c projects/uefi/sys/arm/arm/gic.c projects/uefi/sys/arm/arm/machdep.c projects/uefi/sys/arm/arm/nexus.c projects/uefi/sys/arm/arm/pmap-v6.c projects/uefi/sys/arm/arm/pmap.c projects/uefi/sys/arm/arm/trap.c projects/uefi/sys/arm/at91/at91.c projects/uefi/sys/arm/at91/at91_machdep.c projects/uefi/sys/arm/broadcom/bcm2835/bcm2835_bsc.c projects/uefi/sys/arm/broadcom/bcm2835/bcm2835_bscvar.h projects/uefi/sys/arm/broadcom/bcm2835/bcm2835_fb.c projects/uefi/sys/arm/broadcom/bcm2835/bcm2835_machdep.c projects/uefi/sys/arm/broadcom/bcm2835/files.bcm2835 projects/uefi/sys/arm/conf/BEAGLEBONE projects/uefi/sys/arm/conf/DIGI-CCWMX53 projects/uefi/sys/arm/econa/econa_machdep.c projects/uefi/sys/arm/econa/uart_bus_ec.c projects/uefi/sys/arm/econa/uart_cpu_ec.c projects/uefi/sys/arm/freescale/imx/files.imx51 projects/uefi/sys/arm/freescale/imx/files.imx53 projects/uefi/sys/arm/freescale/imx/imx51_machdep.c projects/uefi/sys/arm/freescale/imx/imx53_machdep.c projects/uefi/sys/arm/freescale/imx/imx_gpt.c projects/uefi/sys/arm/freescale/imx/imx_machdep.c projects/uefi/sys/arm/freescale/imx/imx_machdep.h projects/uefi/sys/arm/freescale/imx/tzic.c projects/uefi/sys/arm/include/fdt.h projects/uefi/sys/arm/include/machdep.h projects/uefi/sys/arm/include/pmap.h projects/uefi/sys/arm/include/vmparam.h projects/uefi/sys/arm/lpc/lpc_machdep.c projects/uefi/sys/arm/mv/mv_localbus.c projects/uefi/sys/arm/mv/mv_machdep.c projects/uefi/sys/arm/mv/mv_pci.c projects/uefi/sys/arm/mv/mvvar.h projects/uefi/sys/arm/rockchip/files.rk30xx projects/uefi/sys/arm/rockchip/rk30xx_machdep.c projects/uefi/sys/arm/s3c2xx0/files.s3c2xx0 projects/uefi/sys/arm/s3c2xx0/s3c24x0_machdep.c projects/uefi/sys/arm/s3c2xx0/s3c2xx0_space.c projects/uefi/sys/arm/sa11x0/assabet_machdep.c projects/uefi/sys/arm/samsung/exynos/exynos5_machdep.c projects/uefi/sys/arm/samsung/exynos/files.exynos5 projects/uefi/sys/arm/tegra/tegra2_machdep.c projects/uefi/sys/arm/ti/files.ti projects/uefi/sys/arm/ti/ti_machdep.c projects/uefi/sys/arm/ti/ti_sdhci.c projects/uefi/sys/arm/versatile/versatile_machdep.c projects/uefi/sys/arm/xilinx/zy7_machdep.c projects/uefi/sys/arm/xscale/i80321/ep80219_machdep.c projects/uefi/sys/arm/xscale/i80321/iq31244_machdep.c projects/uefi/sys/arm/xscale/i8134x/crb_machdep.c projects/uefi/sys/arm/xscale/ixp425/avila_machdep.c projects/uefi/sys/arm/xscale/pxa/pxa_machdep.c projects/uefi/sys/boot/fdt/dts/am335x.dtsi projects/uefi/sys/boot/fdt/dts/beaglebone-black.dts projects/uefi/sys/boot/forth/beastie.4th projects/uefi/sys/boot/forth/loader.4th projects/uefi/sys/boot/forth/loader.4th.8 projects/uefi/sys/boot/forth/loader.conf projects/uefi/sys/boot/forth/loader.conf.5 projects/uefi/sys/boot/forth/loader.rc projects/uefi/sys/boot/forth/menu-commands.4th projects/uefi/sys/boot/forth/menu.4th projects/uefi/sys/boot/forth/menu.rc projects/uefi/sys/boot/forth/menusets.4th projects/uefi/sys/boot/i386/loader/loader.rc projects/uefi/sys/cam/cam_xpt.c projects/uefi/sys/cam/ctl/ctl.c projects/uefi/sys/cam/ctl/ctl_frontend.c projects/uefi/sys/cam/ctl/ctl_private.h projects/uefi/sys/cam/scsi/scsi_da.c projects/uefi/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c projects/uefi/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c projects/uefi/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_userhold.c projects/uefi/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lz4.c projects/uefi/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c projects/uefi/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_compress.h projects/uefi/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c projects/uefi/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c projects/uefi/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h projects/uefi/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap_impl.h projects/uefi/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c projects/uefi/sys/cddl/dev/dtrace/amd64/dtrace_subr.c projects/uefi/sys/cddl/dev/fbt/fbt_powerpc.c projects/uefi/sys/compat/linux/linux_ioctl.c projects/uefi/sys/compat/svr4/svr4_sockio.c projects/uefi/sys/conf/files projects/uefi/sys/conf/files.amd64 projects/uefi/sys/conf/files.arm projects/uefi/sys/conf/files.i386 projects/uefi/sys/conf/files.powerpc projects/uefi/sys/conf/kern.pre.mk projects/uefi/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c projects/uefi/sys/crypto/aesni/aesencdec.h projects/uefi/sys/crypto/aesni/aesni.c projects/uefi/sys/crypto/aesni/aesni.h projects/uefi/sys/crypto/aesni/aesni_wrap.c projects/uefi/sys/dev/aacraid/aacraid.c projects/uefi/sys/dev/aacraid/aacraid_cam.c projects/uefi/sys/dev/aacraid/aacraid_reg.h projects/uefi/sys/dev/aacraid/aacraid_var.h projects/uefi/sys/dev/acpica/acpi_hpet.c projects/uefi/sys/dev/ahci/ahci.c projects/uefi/sys/dev/ahci/ahci.h projects/uefi/sys/dev/aic7xxx/aicasm/Makefile projects/uefi/sys/dev/ata/ata-pci.h projects/uefi/sys/dev/ata/chipsets/ata-intel.c projects/uefi/sys/dev/bxe/bxe.c projects/uefi/sys/dev/bxe/bxe.h projects/uefi/sys/dev/bxe/bxe_elink.c projects/uefi/sys/dev/bxe/ecore_hsi.h projects/uefi/sys/dev/bxe/ecore_init.h projects/uefi/sys/dev/bxe/ecore_reg.h projects/uefi/sys/dev/bxe/ecore_sp.c projects/uefi/sys/dev/bxe/ecore_sp.h projects/uefi/sys/dev/cxgbe/t4_main.c projects/uefi/sys/dev/drm2/drm.h projects/uefi/sys/dev/drm2/drmP.h projects/uefi/sys/dev/drm2/drm_crtc.c projects/uefi/sys/dev/drm2/drm_drv.c projects/uefi/sys/dev/drm2/drm_ioctl.c projects/uefi/sys/dev/drm2/radeon/radeon_display.c projects/uefi/sys/dev/drm2/radeon/radeon_gem.c projects/uefi/sys/dev/e1000/if_em.c projects/uefi/sys/dev/e1000/if_igb.c projects/uefi/sys/dev/e1000/if_lem.c projects/uefi/sys/dev/e1000/if_lem.h projects/uefi/sys/dev/fdt/fdt_pci.c projects/uefi/sys/dev/fdt/simplebus.c projects/uefi/sys/dev/gpio/gpiobus.c projects/uefi/sys/dev/ichsmb/ichsmb_pci.c projects/uefi/sys/dev/ipmi/ipmi.c projects/uefi/sys/dev/isp/isp.c projects/uefi/sys/dev/isp/isp_freebsd.h projects/uefi/sys/dev/isp/isp_library.c projects/uefi/sys/dev/isp/isp_pci.c projects/uefi/sys/dev/iwn/if_iwn.c projects/uefi/sys/dev/iwn/if_iwn_debug.h projects/uefi/sys/dev/iwn/if_iwn_devid.h projects/uefi/sys/dev/iwn/if_iwnreg.h projects/uefi/sys/dev/iwn/if_iwnvar.h projects/uefi/sys/dev/ixgbe/ixgbe.c projects/uefi/sys/dev/mii/atphy.c projects/uefi/sys/dev/mii/miidevs projects/uefi/sys/dev/msk/if_msk.c projects/uefi/sys/dev/nand/nand.c projects/uefi/sys/dev/nand/nand.h projects/uefi/sys/dev/nand/nand_cdev.c projects/uefi/sys/dev/nand/nand_generic.c projects/uefi/sys/dev/nand/nand_geom.c projects/uefi/sys/dev/nand/nand_id.c projects/uefi/sys/dev/netmap/if_em_netmap.h projects/uefi/sys/dev/netmap/if_igb_netmap.h projects/uefi/sys/dev/netmap/if_lem_netmap.h projects/uefi/sys/dev/netmap/if_re_netmap.h projects/uefi/sys/dev/netmap/ixgbe_netmap.h projects/uefi/sys/dev/netmap/netmap.c projects/uefi/sys/dev/netmap/netmap_kern.h projects/uefi/sys/dev/netmap/netmap_mem2.c projects/uefi/sys/dev/nvme/nvme_ctrlr.c projects/uefi/sys/dev/nvme/nvme_ns.c projects/uefi/sys/dev/oce/oce_hw.h projects/uefi/sys/dev/oce/oce_sysctl.c projects/uefi/sys/dev/ofw/ofw_bus_if.m projects/uefi/sys/dev/ofw/ofw_fdt.c projects/uefi/sys/dev/ppc/ppc_pci.c projects/uefi/sys/dev/qlxgbe/ql_hw.c projects/uefi/sys/dev/qlxgbe/ql_hw.h projects/uefi/sys/dev/qlxgbe/ql_ioctl.c projects/uefi/sys/dev/qlxge/qls_ioctl.c projects/uefi/sys/dev/random/harvest.c projects/uefi/sys/dev/re/if_re.c projects/uefi/sys/dev/sound/pci/hda/hdac.c projects/uefi/sys/dev/sound/pci/hda/hdac.h projects/uefi/sys/dev/sound/pci/hda/hdacc.c projects/uefi/sys/dev/tsec/if_tsec.c projects/uefi/sys/dev/tsec/if_tsec.h projects/uefi/sys/dev/tsec/if_tsec_fdt.c projects/uefi/sys/dev/tsec/if_tsecreg.h projects/uefi/sys/dev/uart/uart.h projects/uefi/sys/dev/uart/uart_bus_fdt.c projects/uefi/sys/dev/uart/uart_bus_pci.c projects/uefi/sys/dev/uart/uart_cpu_fdt.c projects/uefi/sys/dev/usb/controller/ehci_pci.c projects/uefi/sys/dev/usb/serial/u3g.c projects/uefi/sys/dev/usb/serial/umodem.c projects/uefi/sys/dev/usb/usb.h projects/uefi/sys/dev/usb/usbdevs projects/uefi/sys/dev/usb/wlan/if_rsu.c projects/uefi/sys/dev/usb/wlan/if_rum.c projects/uefi/sys/dev/usb/wlan/if_run.c projects/uefi/sys/dev/usb/wlan/if_runreg.h projects/uefi/sys/dev/usb/wlan/if_runvar.h projects/uefi/sys/dev/usb/wlan/if_uath.c projects/uefi/sys/dev/usb/wlan/if_upgt.c projects/uefi/sys/dev/usb/wlan/if_ural.c projects/uefi/sys/dev/usb/wlan/if_urtw.c projects/uefi/sys/dev/usb/wlan/if_urtwn.c projects/uefi/sys/dev/usb/wlan/if_zyd.c projects/uefi/sys/dev/xen/balloon/balloon.c projects/uefi/sys/dev/xen/control/control.c projects/uefi/sys/dev/xen/netback/netback.c projects/uefi/sys/dev/xen/netback/netback_unit_tests.c projects/uefi/sys/dev/xen/netfront/netfront.c projects/uefi/sys/fs/nfs/nfs_commonkrpc.c projects/uefi/sys/fs/nfs/nfs_commonsubs.c projects/uefi/sys/fs/nfs/nfs_var.h projects/uefi/sys/fs/nfsclient/nfs_clcomsubs.c projects/uefi/sys/fs/pseudofs/pseudofs_vnops.c projects/uefi/sys/geom/eli/g_eli.c projects/uefi/sys/geom/eli/g_eli_ctl.c projects/uefi/sys/geom/mirror/g_mirror.c projects/uefi/sys/geom/mirror/g_mirror_ctl.c projects/uefi/sys/geom/multipath/g_multipath.c projects/uefi/sys/geom/multipath/g_multipath.h projects/uefi/sys/i386/conf/XEN projects/uefi/sys/i386/i386/identcpu.c projects/uefi/sys/i386/i386/machdep.c projects/uefi/sys/i386/i386/trap.c projects/uefi/sys/i386/include/vm86.h projects/uefi/sys/i386/include/vmparam.h projects/uefi/sys/i386/linux/linux_sysvec.c projects/uefi/sys/ia64/ia64/machdep.c projects/uefi/sys/ia64/ia64/mp_machdep.c projects/uefi/sys/ia64/ia64/pmap.c projects/uefi/sys/ia64/include/param.h projects/uefi/sys/ia64/include/pmap.h projects/uefi/sys/ia64/include/vmparam.h projects/uefi/sys/kern/capabilities.conf projects/uefi/sys/kern/kern_environment.c projects/uefi/sys/kern/kern_event.c projects/uefi/sys/kern/kern_exit.c projects/uefi/sys/kern/kern_jail.c projects/uefi/sys/kern/kern_malloc.c projects/uefi/sys/kern/kern_sig.c projects/uefi/sys/kern/subr_capability.c projects/uefi/sys/kern/subr_param.c projects/uefi/sys/kern/subr_taskqueue.c projects/uefi/sys/kern/sys_generic.c projects/uefi/sys/kern/sysv_shm.c projects/uefi/sys/kern/uipc_mbuf.c projects/uefi/sys/kern/uipc_mqueue.c projects/uefi/sys/kern/uipc_socket.c projects/uefi/sys/kern/vfs_bio.c projects/uefi/sys/kern/vfs_lookup.c projects/uefi/sys/kern/vfs_vnops.c projects/uefi/sys/kern/vnode_if.src projects/uefi/sys/mips/adm5120/if_admsw.c projects/uefi/sys/mips/alchemy/obio.c projects/uefi/sys/mips/cavium/std.octeon1 projects/uefi/sys/mips/idt/if_kr.c projects/uefi/sys/mips/include/vmparam.h projects/uefi/sys/mips/mips/nexus.c projects/uefi/sys/mips/mips/trap.c projects/uefi/sys/mips/rmi/dev/nlge/if_nlge.c projects/uefi/sys/modules/aic7xxx/Makefile projects/uefi/sys/modules/aic7xxx/ahc/Makefile projects/uefi/sys/modules/aic7xxx/ahd/Makefile projects/uefi/sys/modules/bwi/Makefile projects/uefi/sys/modules/iwnfw/Makefile projects/uefi/sys/modules/usb/Makefile projects/uefi/sys/modules/vmm/Makefile projects/uefi/sys/net/bpf.c projects/uefi/sys/net/if.c projects/uefi/sys/net/if.h projects/uefi/sys/net/if_ethersubr.c projects/uefi/sys/net/if_gif.c projects/uefi/sys/net/if_gre.c projects/uefi/sys/net/if_tap.c projects/uefi/sys/net/if_var.h projects/uefi/sys/net/netmap.h projects/uefi/sys/net80211/ieee80211_amrr.c projects/uefi/sys/net80211/ieee80211_output.c projects/uefi/sys/netgraph/ng_pipe.c projects/uefi/sys/netinet/if_ether.c projects/uefi/sys/netinet/in.c projects/uefi/sys/netinet/in_rmx.c projects/uefi/sys/netinet/in_var.h projects/uefi/sys/netinet/raw_ip.c projects/uefi/sys/netinet/sctp_asconf.c projects/uefi/sys/netinet/sctp_auth.c projects/uefi/sys/netinet/sctp_auth.h projects/uefi/sys/netinet/sctp_bsd_addr.c projects/uefi/sys/netinet/sctp_indata.c projects/uefi/sys/netinet/sctp_output.c projects/uefi/sys/netinet/sctp_pcb.c projects/uefi/sys/netinet/sctp_usrreq.c projects/uefi/sys/netinet/sctputil.c projects/uefi/sys/netinet/tcp_subr.c projects/uefi/sys/netinet/tcp_usrreq.c projects/uefi/sys/netinet6/in6.c projects/uefi/sys/netinet6/nd6_nbr.c projects/uefi/sys/netinet6/sctp6_usrreq.c projects/uefi/sys/netipsec/ipsec_input.c projects/uefi/sys/netpfil/ipfw/ip_fw2.c projects/uefi/sys/netpfil/pf/pf.c projects/uefi/sys/netpfil/pf/pf.h projects/uefi/sys/netpfil/pf/pf_ioctl.c projects/uefi/sys/netpfil/pf/pf_lb.c projects/uefi/sys/netsmb/smb_trantcp.c projects/uefi/sys/ofed/drivers/net/mlx4/en_ethtool.c projects/uefi/sys/ofed/drivers/net/mlx4/en_netdev.c projects/uefi/sys/ofed/drivers/net/mlx4/mlx4_en.h projects/uefi/sys/ofed/include/linux/bitops.h projects/uefi/sys/pc98/pc98/machdep.c projects/uefi/sys/powerpc/aim/mmu_oea64.c projects/uefi/sys/powerpc/aim/trap.c projects/uefi/sys/powerpc/booke/locore.S projects/uefi/sys/powerpc/booke/machdep.c projects/uefi/sys/powerpc/booke/mp_cpudep.c projects/uefi/sys/powerpc/booke/platform_bare.c projects/uefi/sys/powerpc/booke/pmap.c projects/uefi/sys/powerpc/booke/trap.c projects/uefi/sys/powerpc/booke/trap_subr.S projects/uefi/sys/powerpc/fpu/fpu_emu.c projects/uefi/sys/powerpc/fpu/fpu_explode.c projects/uefi/sys/powerpc/include/counter.h projects/uefi/sys/powerpc/include/param.h projects/uefi/sys/powerpc/include/pcb.h projects/uefi/sys/powerpc/include/pcpu.h projects/uefi/sys/powerpc/include/trap.h projects/uefi/sys/powerpc/include/vmparam.h projects/uefi/sys/powerpc/mpc85xx/lbc.c projects/uefi/sys/powerpc/mpc85xx/mpc85xx.h projects/uefi/sys/powerpc/mpc85xx/pci_mpc85xx.c projects/uefi/sys/powerpc/ofw/ofw_machdep.c projects/uefi/sys/powerpc/ofw/ofw_pcibus.c projects/uefi/sys/powerpc/ofw/ofw_syscons.c projects/uefi/sys/powerpc/powermac/macio.c projects/uefi/sys/powerpc/powermac/uninorth.c projects/uefi/sys/powerpc/powermac/uninorthpci.c projects/uefi/sys/powerpc/powermac/uninorthvar.h projects/uefi/sys/powerpc/powerpc/dump_machdep.c projects/uefi/sys/powerpc/powerpc/exec_machdep.c projects/uefi/sys/powerpc/powerpc/fpu.c projects/uefi/sys/powerpc/powerpc/genassym.c projects/uefi/sys/powerpc/pseries/mmu_phyp.c projects/uefi/sys/powerpc/pseries/plpar_iommu.c projects/uefi/sys/powerpc/pseries/rtas_pci.c projects/uefi/sys/rpc/svc.c projects/uefi/sys/sparc64/include/vmparam.h projects/uefi/sys/sys/bufobj.h projects/uefi/sys/sys/capability.h projects/uefi/sys/sys/dtrace_bsd.h projects/uefi/sys/sys/jail.h projects/uefi/sys/sys/mount.h projects/uefi/sys/sys/param.h projects/uefi/sys/sys/random.h projects/uefi/sys/sys/sockio.h projects/uefi/sys/sys/systm.h projects/uefi/sys/ufs/ffs/ffs_softdep.c projects/uefi/sys/ufs/ffs/softdep.h projects/uefi/sys/vm/uma_core.c projects/uefi/sys/vm/uma_int.h projects/uefi/sys/vm/vm_fault.c projects/uefi/sys/vm/vm_map.c projects/uefi/sys/vm/vm_object.c projects/uefi/sys/vm/vm_pageout.c projects/uefi/sys/x86/cpufreq/hwpstate.c projects/uefi/sys/x86/include/psl.h projects/uefi/sys/x86/include/specialreg.h projects/uefi/sys/x86/include/trap.h projects/uefi/sys/x86/iommu/busdma_dmar.c projects/uefi/sys/x86/iommu/intel_ctx.c projects/uefi/sys/x86/iommu/intel_dmar.h projects/uefi/sys/x86/iommu/intel_drv.c projects/uefi/sys/x86/iommu/intel_fault.c projects/uefi/sys/x86/iommu/intel_gas.c projects/uefi/sys/x86/iommu/intel_idpgtbl.c projects/uefi/sys/x86/iommu/intel_reg.h projects/uefi/sys/x86/iommu/intel_utils.c projects/uefi/tests/Makefile projects/uefi/tests/README projects/uefi/tools/build/mk/OptionalObsoleteFiles.inc projects/uefi/tools/build/options/WITHOUT_PKGBOOTSTRAP projects/uefi/tools/regression/fsx/fsx.c projects/uefi/tools/regression/pjdfstest/Makefile projects/uefi/tools/regression/pjdfstest/pjdfstest.c projects/uefi/tools/regression/usr.sbin/etcupdate/always.sh projects/uefi/tools/regression/usr.sbin/etcupdate/conflicts.sh projects/uefi/tools/regression/usr.sbin/etcupdate/fbsdid.sh projects/uefi/tools/regression/usr.sbin/etcupdate/ignore.sh projects/uefi/tools/regression/usr.sbin/etcupdate/tests.sh projects/uefi/tools/tools/ath/athstats/Makefile projects/uefi/tools/tools/bus_autoconf/bus_autoconf.sh projects/uefi/tools/tools/netmap/nm_util.c projects/uefi/tools/tools/netmap/pkt-gen.c projects/uefi/tools/tools/syscall_timing/syscall_timing.c projects/uefi/tools/tools/umastat/umastat.c projects/uefi/usr.bin/Makefile projects/uefi/usr.bin/atf/Makefile projects/uefi/usr.bin/atf/Makefile.inc projects/uefi/usr.bin/atf/atf-sh/Makefile projects/uefi/usr.bin/calendar/calendars/calendar.freebsd (contents, props changed) projects/uefi/usr.bin/cmp/cmp.1 projects/uefi/usr.bin/dtc/fdt.cc projects/uefi/usr.bin/iscsictl/iscsictl.c projects/uefi/usr.bin/limits/limits.1 projects/uefi/usr.bin/limits/limits.c projects/uefi/usr.bin/login/login.c projects/uefi/usr.bin/procstat/procstat_files.c projects/uefi/usr.bin/split/Makefile projects/uefi/usr.bin/split/split.c projects/uefi/usr.bin/svn/svn/Makefile projects/uefi/usr.bin/svn/svn_private_config.h projects/uefi/usr.bin/uname/uname.1 projects/uefi/usr.sbin/Makefile projects/uefi/usr.sbin/arp/arp.4 projects/uefi/usr.sbin/bhyve/Makefile projects/uefi/usr.sbin/bhyve/acpi.c projects/uefi/usr.sbin/bhyve/acpi.h projects/uefi/usr.sbin/bhyve/bhyverun.c projects/uefi/usr.sbin/bhyve/block_if.c projects/uefi/usr.sbin/bhyve/mevent.c projects/uefi/usr.sbin/bhyve/mptbl.c projects/uefi/usr.sbin/bhyve/mptbl.h projects/uefi/usr.sbin/bhyve/pci_ahci.c projects/uefi/usr.sbin/bhyve/pci_emul.c projects/uefi/usr.sbin/bhyve/pci_lpc.c projects/uefi/usr.sbin/bhyve/pci_virtio_net.c projects/uefi/usr.sbin/bhyve/pit_8254.c projects/uefi/usr.sbin/bsdconfig/Makefile projects/uefi/usr.sbin/bsdconfig/bsdconfig projects/uefi/usr.sbin/bsdconfig/include/messages.subr projects/uefi/usr.sbin/bsdconfig/networking/share/device.subr projects/uefi/usr.sbin/bsdconfig/packages/packages projects/uefi/usr.sbin/bsdconfig/share/common.subr projects/uefi/usr.sbin/bsdconfig/share/dialog.subr projects/uefi/usr.sbin/bsdconfig/share/media/cdrom.subr projects/uefi/usr.sbin/bsdconfig/share/media/http.subr projects/uefi/usr.sbin/bsdconfig/share/media/tcpip.subr projects/uefi/usr.sbin/bsdconfig/share/packages/index.subr projects/uefi/usr.sbin/bsdconfig/share/packages/packages.subr projects/uefi/usr.sbin/bsdconfig/share/strings.subr projects/uefi/usr.sbin/bsdconfig/share/sysrc.subr projects/uefi/usr.sbin/bsdconfig/share/variable.subr projects/uefi/usr.sbin/bsdconfig/startup/share/rcconf.subr projects/uefi/usr.sbin/bsdinstall/bsdinstall projects/uefi/usr.sbin/bsdinstall/bsdinstall.8 projects/uefi/usr.sbin/bsdinstall/scripts/auto projects/uefi/usr.sbin/bsdinstall/scripts/config projects/uefi/usr.sbin/bsdinstall/scripts/docsinstall projects/uefi/usr.sbin/bsdinstall/scripts/jail projects/uefi/usr.sbin/bsdinstall/scripts/netconfig_ipv4 projects/uefi/usr.sbin/bsdinstall/scripts/netconfig_ipv6 projects/uefi/usr.sbin/bsdinstall/scripts/script projects/uefi/usr.sbin/bsdinstall/scripts/wlanconfig projects/uefi/usr.sbin/bsdinstall/scripts/zfsboot projects/uefi/usr.sbin/crashinfo/crashinfo.sh projects/uefi/usr.sbin/ctld/ctl.conf.5 projects/uefi/usr.sbin/etcupdate/etcupdate.8 projects/uefi/usr.sbin/etcupdate/etcupdate.sh projects/uefi/usr.sbin/freebsd-update/freebsd-update.sh projects/uefi/usr.sbin/gpioctl/gpioctl.8 projects/uefi/usr.sbin/mfiutil/Makefile projects/uefi/usr.sbin/mfiutil/mfiutil.8 projects/uefi/usr.sbin/mfiutil/mfiutil.c projects/uefi/usr.sbin/mount_smbfs/Makefile projects/uefi/usr.sbin/newsyslog/newsyslog.c projects/uefi/usr.sbin/pkg/pkg.7 projects/uefi/usr.sbin/pkg/pkg.c projects/uefi/usr.sbin/portsnap/portsnap/portsnap.sh projects/uefi/usr.sbin/route6d/route6d.c projects/uefi/usr.sbin/syslogd/syslogd.c projects/uefi/usr.sbin/sysrc/sysrc projects/uefi/usr.sbin/sysrc/sysrc.8 projects/uefi/usr.sbin/utx/Makefile projects/uefi/usr.sbin/utx/utx.8 projects/uefi/usr.sbin/utx/utx.c Directory Properties: projects/uefi/ (props changed) projects/uefi/cddl/ (props changed) projects/uefi/cddl/contrib/opensolaris/ (props changed) projects/uefi/cddl/contrib/opensolaris/cmd/zfs/ (props changed) projects/uefi/contrib/atf/ (props changed) projects/uefi/contrib/binutils/ (props changed) projects/uefi/contrib/bmake/ (props changed) projects/uefi/contrib/gcc/ (props changed) projects/uefi/contrib/libexecinfo/ (props changed) projects/uefi/contrib/libpcap/ (props changed) projects/uefi/contrib/libstdc++/ (props changed) projects/uefi/contrib/llvm/ (props changed) projects/uefi/contrib/llvm/tools/lldb/ (props changed) projects/uefi/contrib/netcat/ (props changed) projects/uefi/contrib/nvi/ (props changed) projects/uefi/contrib/subversion/ (props changed) projects/uefi/contrib/tzdata/ (props changed) projects/uefi/crypto/openssh/ (props changed) projects/uefi/gnu/usr.bin/binutils/ (props changed) projects/uefi/lib/libc/ (props changed) projects/uefi/lib/libutil/ (props changed) projects/uefi/lib/libvmmapi/ (props changed) projects/uefi/lib/libz/ (props changed) projects/uefi/sbin/ (props changed) projects/uefi/share/man/man4/ (props changed) projects/uefi/sys/ (props changed) projects/uefi/sys/amd64/vmm/ (props changed) projects/uefi/sys/boot/ (props changed) projects/uefi/sys/cddl/contrib/opensolaris/ (props changed) projects/uefi/sys/conf/ (props changed) projects/uefi/sys/modules/vmm/ (props changed) projects/uefi/usr.bin/calendar/ (props changed) projects/uefi/usr.bin/procstat/ (props changed) projects/uefi/usr.sbin/bhyve/ (props changed) Modified: projects/uefi/MAINTAINERS ============================================================================== --- projects/uefi/MAINTAINERS Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/MAINTAINERS Thu Nov 21 22:07:50 2013 (r258449) @@ -99,7 +99,6 @@ nfs alfred Will be happy to review code rpc.lockd alfred Will be happy to review code, but not mandatory. truss alfred Will be happy to review code, but not mandatory. rpc alfred Pre-commit review requested. -pkg_install portmgr Pre-commit review or approval from portmgr@ requested. linux emul emulation Please discuss changes here. bs{diff,patch} cperciva Pre-commit review requested. portsnap cperciva Pre-commit review requested. Modified: projects/uefi/Makefile.inc1 ============================================================================== --- projects/uefi/Makefile.inc1 Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/Makefile.inc1 Thu Nov 21 22:07:50 2013 (r258449) @@ -136,7 +136,7 @@ REVISION!= make -C ${SRCDIR}/release -V BRANCH!= make -C ${SRCDIR}/release -V BRANCH SRCRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \ ${SRCDIR}/sys/sys/param.h -VERSION= FreeBSD ${REVISION}-${BRANCH} ${TARGET_ARCH} ${SRCRELDATE} +VERSION= FreeBSD ${REVISION}-${BRANCH:C/-p[0-9]+$//} ${TARGET_ARCH} ${SRCRELDATE} .endif KNOWN_ARCHES?= amd64 arm armeb/arm armv6/arm i386 i386/pc98 ia64 mips mipsel/mips mips64el/mips mips64/mips mipsn32el/mips mipsn32/mips powerpc powerpc64/powerpc sparc64 @@ -263,6 +263,21 @@ XMAKE= TOOLS_PREFIX=${WORLDTMP} ${BMAKE TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ -DWITHOUT_GDB +# kernel-tools stage +KTMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \ + PATH=${BPATH}:${PATH} \ + WORLDTMP=${WORLDTMP} \ + VERSION="${VERSION}" \ + COMPILER_TYPE=${COMPILER_TYPE} +KTMAKE= TOOLS_PREFIX=${WORLDTMP} MAKEOBJDIRPREFIX=${WORLDTMP} \ + ${KTMAKEENV} ${MAKE} ${WORLD_FLAGS} -f Makefile.inc1 \ + DESTDIR= \ + BOOTSTRAPPING=${OSRELDATE} \ + SSP_CFLAGS= \ + -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN \ + -DNO_PIC -DNO_PROFILE -DNO_SHARED \ + -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF -DEARLY_BUILD + # world stage WMAKEENV= ${CROSSENV} \ _SHLIBDIRPREFIX=${WORLDTMP} \ @@ -494,7 +509,7 @@ _worldtmp: .endif .if ${MK_TESTS} != "no" mtree -deU -f ${.CURDIR}/etc/mtree/BSD.tests.dist \ - -p ${WORLDTMP}${TESTSBASE} >/dev/null + -p ${WORLDTMP}/usr >/dev/null .endif .for _mtree in ${LOCAL_MTREE} mtree -deU -f ${.CURDIR}/${_mtree} -p ${WORLDTMP} > /dev/null @@ -540,6 +555,7 @@ _cross-tools: @echo ">>> stage 3: cross tools" @echo "--------------------------------------------------------------" ${_+_}cd ${.CURDIR}; ${XMAKE} cross-tools + ${_+_}cd ${.CURDIR}; ${XMAKE} kernel-tools _includes: @echo @echo "--------------------------------------------------------------" @@ -1019,20 +1035,7 @@ buildkernel: @echo "--------------------------------------------------------------" @echo ">>> stage 2.3: build tools" @echo "--------------------------------------------------------------" - cd ${KRNLOBJDIR}/${_kernel}; \ - PATH=${BPATH}:${PATH} \ - MAKESRCPATH=${KERNSRCDIR}/dev/aic7xxx/aicasm \ - ${MAKE} SSP_CFLAGS= -DNO_CPU_CFLAGS -DNO_CTF -DEARLY_BUILD \ - -f ${KERNSRCDIR}/dev/aic7xxx/aicasm/Makefile -# XXX - Gratuitously builds aicasm in the ``makeoptions NO_MODULES'' case. -.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists(${KERNSRCDIR}/modules) -.for target in obj depend all - cd ${KERNSRCDIR}/modules/aic7xxx/aicasm; \ - PATH=${BPATH}:${PATH} \ - MAKEOBJDIRPREFIX=${KRNLOBJDIR}/${_kernel}/modules \ - ${MAKE} SSP_CFLAGS= -DNO_CPU_CFLAGS -DNO_CTF -DEARLY_BUILD ${target} -.endfor -.endif + ${_+_}cd ${.CURDIR}; ${KTMAKE} kernel-tools .if !defined(NO_KERNELDEPEND) @echo @echo "--------------------------------------------------------------" @@ -1319,10 +1322,6 @@ bootstrap-tools: .MAKE # # build-tools: Build special purpose build tools # -.if defined(MODULES_WITH_WORLD) && exists(${KERNSRCDIR}/modules) -_aicasm= sys/modules/aic7xxx/aicasm -.endif - .if !defined(NO_SHARE) _share= share/syscons/scrnmaps .endif @@ -1344,7 +1343,6 @@ build-tools: .MAKE lib/ncurses/ncurses \ lib/ncurses/ncursesw \ ${_share} \ - ${_aicasm} \ usr.bin/awk \ lib/libmagic \ usr.bin/mkesdb_static \ @@ -1365,6 +1363,23 @@ build-tools: .MAKE .endfor # +# kernel-tools: Build kernel-building tools +# +kernel-tools: .MAKE + mkdir -p ${MAKEOBJDIRPREFIX}/usr + mtree -deU -f ${.CURDIR}/etc/mtree/BSD.usr.dist \ + -p ${MAKEOBJDIRPREFIX}/usr >/dev/null +.for _tool in \ + sys/dev/aic7xxx/aicasm + ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \ + cd ${.CURDIR}/${_tool} && \ + ${MAKE} DIRPRFX=${_tool}/ obj && \ + ${MAKE} DIRPRFX=${_tool}/ depend && \ + ${MAKE} DIRPRFX=${_tool}/ all && \ + ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX} install +.endfor + +# # cross-tools: Build cross-building tools # .if ${TARGET_ARCH} != ${MACHINE_ARCH} || ${BOOTSTRAPPING} < 800035 @@ -1460,11 +1475,13 @@ _startup_libs+= lib/csu/${MACHINE_CPUARC _startup_libs+= gnu/lib/libgcc _startup_libs+= lib/libcompiler_rt _startup_libs+= lib/libc +_startup_libs+= lib/libc_nonshared .if ${MK_LIBCPLUSPLUS} != "no" _startup_libs+= lib/libcxxrt .endif gnu/lib/libgcc__L: lib/libc__L +gnu/lib/libgcc__L: lib/libc_nonshared__L .if ${MK_LIBCPLUSPLUS} != "no" lib/libcxxrt__L: gnu/lib/libgcc__L .endif @@ -1478,7 +1495,7 @@ _prebuild_libs= ${_kerberos5_lib_libasn1 ${_kerberos5_lib_libhx509} ${_kerberos5_lib_libkrb5} \ ${_kerberos5_lib_libroken} \ ${_kerberos5_lib_libwind} \ - ${_lib_atf_libatf_c} \ + ${_lib_atf} \ lib/libbz2 ${_libcom_err} lib/libcrypt \ lib/libelf lib/libexpat \ ${_lib_libgssapi} ${_lib_libipx} \ @@ -1492,8 +1509,8 @@ _prebuild_libs= ${_kerberos5_lib_libasn1 ${_secure_lib_libcrypto} ${_lib_libldns} \ ${_secure_lib_libssh} ${_secure_lib_libssl} -.if ${MK_ATF} != "no" -_lib_atf_libatf_c= lib/atf/libatf-c +.if ${MK_TESTS} != "no" +_lib_atf= lib/atf .endif .if ${MK_LIBTHR} != "no" @@ -1602,10 +1619,12 @@ ${_lib}__PL: .PHONY .MAKE .if exists(${.CURDIR}/${_lib}) ${_+_}@${ECHODIR} "===> ${_lib} (obj,depend,all,install)"; \ cd ${.CURDIR}/${_lib} && \ - ${MAKE} DIRPRFX=${_lib}/ obj && \ - ${MAKE} DIRPRFX=${_lib}/ depend && \ - ${MAKE} -DNO_PROFILE -DNO_PIC DIRPRFX=${_lib}/ all && \ - ${MAKE} -DNO_PROFILE -DNO_PIC DIRPRFX=${_lib}/ install + ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ obj && \ + ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ depend && \ + ${MAKE} -DNO_TESTS -DNO_PROFILE -DNO_PIC \ + DIRPRFX=${_lib}/ all && \ + ${MAKE} -DNO_TESTS -DNO_PROFILE -DNO_PIC \ + DIRPRFX=${_lib}/ install .endif .endfor @@ -1614,10 +1633,10 @@ ${_lib}__L: .PHONY .MAKE .if exists(${.CURDIR}/${_lib}) ${_+_}@${ECHODIR} "===> ${_lib} (obj,depend,all,install)"; \ cd ${.CURDIR}/${_lib} && \ - ${MAKE} DIRPRFX=${_lib}/ obj && \ - ${MAKE} DIRPRFX=${_lib}/ depend && \ - ${MAKE} DIRPRFX=${_lib}/ all && \ - ${MAKE} DIRPRFX=${_lib}/ install + ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ obj && \ + ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ depend && \ + ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ all && \ + ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ install .endif .endfor @@ -1627,10 +1646,12 @@ ${_lib}__L: .PHONY .MAKE lib/libpam__L: .PHONY .MAKE ${_+_}@${ECHODIR} "===> lib/libpam (obj,depend,all,install)"; \ cd ${.CURDIR}/lib/libpam && \ - ${MAKE} DIRPRFX=lib/libpam/ obj && \ - ${MAKE} DIRPRFX=lib/libpam/ depend && \ - ${MAKE} DIRPRFX=lib/libpam/ -D_NO_LIBPAM_SO_YET all && \ - ${MAKE} DIRPRFX=lib/libpam/ -D_NO_LIBPAM_SO_YET install + ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ obj && \ + ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ depend && \ + ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ \ + -D_NO_LIBPAM_SO_YET all && \ + ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ \ + -D_NO_LIBPAM_SO_YET install _prereq_libs: ${_prereq_libs:S/$/__PL/} _startup_libs: ${_startup_libs:S/$/__L/} Modified: projects/uefi/ObsoleteFiles.inc ============================================================================== --- projects/uefi/ObsoleteFiles.inc Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/ObsoleteFiles.inc Thu Nov 21 22:07:50 2013 (r258449) @@ -38,11 +38,62 @@ # xargs -n1 | sort | uniq -d; # done +# 20131109: extattr(2) mlinks fixed +OLD_FILES+=usr/share/man/man2/extattr_delete_list.2.gz +OLD_FILES+=usr/share/man/man2/extattr_get_list.2.gz +# 20131107: example files removed +OLD_FILES+=usr/share/examples/libusb20/aux.c +OLD_FILES+=usr/share/examples/libusb20/aux.h +# 20131105: tzdata 2013h import +OLD_FILES+=usr/share/zoneinfo/America/Shiprock +OLD_FILES+=usr/share/zoneinfo/Antarctica/South_Pole +# 20131103: WITH_LIBICONV_COMPAT removal +OLD_FILES+=usr/include/_libiconv_compat.h +OLD_FILES+=usr/lib/libiconv.a +OLD_FILES+=usr/lib/libiconv.so +OLD_FILES+=usr/lib/libiconv.so.3 +OLD_FILES+=usr/lib/libiconv_p.a +OLD_FILES+=usr/lib32/libiconv.a +OLD_FILES+=usr/lib32/libiconv.so +OLD_FILES+=usr/lib32/libiconv.so.3 +OLD_FILES+=usr/lib32/libiconv_p.a +# 20131103: removal of utxrm(8), use 'utx rm' instead. +OLD_FILES+=usr/sbin/utxrm +OLD_FILES+=usr/share/man/man8/utxrm.8.gz +# 20131031: pkg_install has been removed +OLD_FILES+=etc/periodic/daily/220.backup-pkgdb +OLD_FILES+=etc/periodic/daily/490.status-pkg-changes +OLD_FILES+=etc/periodic/security/460.chkportsum +OLD_FILES+=etc/periodic/weekly/400.status-pkg +OLD_FILES+=usr/sbin/pkg_add +OLD_FILES+=usr/sbin/pkg_create +OLD_FILES+=usr/sbin/pkg_delete +OLD_FILES+=usr/sbin/pkg_info +OLD_FILES+=usr/sbin/pkg_updating +OLD_FILES+=usr/sbin/pkg_version +OLD_FILES+=usr/share/man/man1/pkg_add.1.gz +OLD_FILES+=usr/share/man/man1/pkg_create.1.gz +OLD_FILES+=usr/share/man/man1/pkg_delete.1.gz +OLD_FILES+=usr/share/man/man1/pkg_info.1.gz +OLD_FILES+=usr/share/man/man1/pkg_updating.1.gz +OLD_FILES+=usr/share/man/man1/pkg_version.1.gz +# 20131030: /etc/keys moved to /usr/share/keys +OLD_DIRS+=etc/keys +OLD_DIRS+=etc/keys/pkg +OLD_DIRS+=etc/keys/pkg/revoked +OLD_DIRS+=etc/keys/pkg/trusted +OLD_FILES+=etc/keys/pkg/trusted/pkg.freebsd.org.2013102301 # 20131028: ng_fec(4) removed OLD_FILES+=usr/include/netgraph/ng_fec.h OLD_FILES+=usr/share/man/man4/ng_fec.4.gz +# 20131027: header moved +OLD_FILES+=usr/include/net/pf_mtag.h # 20131023: remove never used iscsi directory OLD_DIRS+=usr/share/examples/iscsi +# 20131021: isf(4) removed +OLD_FILES+=usr/sbin/isfctl +OLD_FILES+=usr/share/man/man4/isf.4.gz +OLD_FILES+=usr/share/man/man8/isfctl.8.gz # 20131014: libbsdyml becomes private OLD_FILES+=usr/lib/libbsdyml.a OLD_FILES+=usr/lib/libbsdyml.so @@ -81,6 +132,7 @@ OLD_FILES+=usr/bin/gnu-ranlib OLD_FILES+=usr/share/man/man1/gnu-ar.1.gz OLD_FILES+=usr/share/man/man1/gnu-ranlib.1.gz # 20130930: BIND removed from base +OLD_FILES+=etc/mtree/BIND.chroot.dist OLD_FILES+=etc/namedb OLD_FILES+=etc/periodic/daily/470.status-named OLD_FILES+=usr/bin/dig Modified: projects/uefi/UPDATING ============================================================================== --- projects/uefi/UPDATING Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/UPDATING Thu Nov 21 22:07:50 2013 (r258449) @@ -31,6 +31,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11 disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20131108: + The WITHOUT_ATF build knob has been removed and its functionality + has been subsumed into the more generic WITHOUT_TESTS. If you were + using the former to disable the build of the ATF libraries, you + should change your settings to use the latter. + 20131025: The default version of mtree is nmtree which is obtained from NetBSD. The output is generally the same, but may vary Modified: projects/uefi/bin/pkill/pkill.c ============================================================================== --- projects/uefi/bin/pkill/pkill.c Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/bin/pkill/pkill.c Thu Nov 21 22:07:50 2013 (r258449) @@ -318,7 +318,10 @@ main(int argc, char **argv) * Use KERN_PROC_PROC instead of KERN_PROC_ALL, since we * just want processes and not individual kernel threads. */ - plist = kvm_getprocs(kd, KERN_PROC_PROC, 0, &nproc); + if (pidfromfile >= 0) + plist = kvm_getprocs(kd, KERN_PROC_PID, pidfromfile, &nproc); + else + plist = kvm_getprocs(kd, KERN_PROC_PROC, 0, &nproc); if (plist == NULL) { errx(STATUS_ERROR, "Cannot get process list (%s)", kvm_geterr(kd)); Modified: projects/uefi/bin/sh/exec.c ============================================================================== --- projects/uefi/bin/sh/exec.c Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/bin/sh/exec.c Thu Nov 21 22:07:50 2013 (r258449) @@ -672,9 +672,11 @@ typecmd_impl(int argc, char **argv, int /* Then look at the aliases */ if ((ap = lookupalias(argv[i], 1)) != NULL) { - if (cmd == TYPECMD_SMALLV) - out1fmt("alias %s='%s'\n", argv[i], ap->val); - else + if (cmd == TYPECMD_SMALLV) { + out1fmt("alias %s=", argv[i]); + out1qstr(ap->val); + outcslow('\n', out1); + } else out1fmt("%s is an alias for %s\n", argv[i], ap->val); continue; Modified: projects/uefi/bin/sh/nodetypes ============================================================================== --- projects/uefi/bin/sh/nodetypes Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/bin/sh/nodetypes Thu Nov 21 22:07:50 2013 (r258449) @@ -118,16 +118,16 @@ NFROMTO nfile # fd<> fname NAPPEND nfile # fd>> fname NCLOBBER nfile # fd>| fname type int - next nodeptr # next redirection in list fd int # file descriptor being redirected + next nodeptr # next redirection in list fname nodeptr # file name, in a NARG node expfname temp char *expfname # actual file name NTOFD ndup # fd<&dupfd NFROMFD ndup # fd>&dupfd type int - next nodeptr # next redirection in list fd int # file descriptor being redirected + next nodeptr # next redirection in list dupfd int # file descriptor to duplicate vname nodeptr # file name if fd>&$var @@ -135,8 +135,8 @@ NFROMFD ndup # fd>&dupfd NHERE nhere # fd<<\! NXHERE nhere # fd<dt_oflags & DTRACE_O_LP64); + int use_32 = (dtp->dt_oflags & DTRACE_O_ILP32); #else /* * Arches which are 32-bit only just use the normal @@ -1879,9 +1879,7 @@ dtrace_program_link(dtrace_hdl_t *dtp, d len = snprintf(&tmp, 1, fmt, dtp->dt_ld_path, file, tfile, drti) + 1; -#if !defined(sun) len *= 2; -#endif cmd = alloca(len); (void) snprintf(cmd, len, fmt, dtp->dt_ld_path, file, Modified: projects/uefi/cddl/contrib/opensolaris/lib/libnvpair/libnvpair.c ============================================================================== --- projects/uefi/cddl/contrib/opensolaris/lib/libnvpair/libnvpair.c Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/cddl/contrib/opensolaris/lib/libnvpair/libnvpair.c Thu Nov 21 22:07:50 2013 (r258449) @@ -210,7 +210,7 @@ NVLIST_PRTFUNC(int32, int32_t, int32_t, NVLIST_PRTFUNC(uint32, uint32_t, uint32_t, "0x%x") NVLIST_PRTFUNC(int64, int64_t, longlong_t, "%lld") NVLIST_PRTFUNC(uint64, uint64_t, u_longlong_t, "0x%llx") -NVLIST_PRTFUNC(double, double, double, "0x%llf") +NVLIST_PRTFUNC(double, double, double, "0x%f") NVLIST_PRTFUNC(string, char *, char *, "%s") NVLIST_PRTFUNC(hrtime, hrtime_t, hrtime_t, "0x%llx") Modified: projects/uefi/cddl/lib/libnvpair/Makefile ============================================================================== --- projects/uefi/cddl/lib/libnvpair/Makefile Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/cddl/lib/libnvpair/Makefile Thu Nov 21 22:07:50 2013 (r258449) @@ -21,4 +21,13 @@ CFLAGS+= -I${.CURDIR}/../../../sys CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem +# This library uses macros to define fprintf behavior for several object types +# The compiler will see the non-string literal arguments to the fprintf calls and +# omit warnings for them. Quiesce these warnings in contrib code: +# +# cddl/contrib/opensolaris/lib/libnvpair/libnvpair.c:743:12: warning: format +# string is not a string literal (potentially insecure) [-Wformat-security] +# ARENDER(pctl, nvlist_array, nvl, name, val, nelem); +# +CFLAGS+= -Wno-format-security .include Modified: projects/uefi/contrib/atf/FREEBSD-Xlist ============================================================================== --- projects/uefi/contrib/atf/FREEBSD-Xlist Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/contrib/atf/FREEBSD-Xlist Thu Nov 21 22:07:50 2013 (r258449) @@ -1,8 +1,21 @@ +*/*/Atffile +*/*/Makefile* +*/Atffile +*/Makefile* +Atffile +INSTALL +Makefile* +aclocal.m4 +admin/ +atf-*/atf-*.m4 +atf-*/atf-*.pc.in +atf-config/ +atf-report/ +atf-run/ +atf-version/ +bconfig.h.in bootstrap/ -config.log -config.status -libtool -Makefile -stamp-h1 -*/*/.deps/ -*/.deps/ +configure* +doc/atf-formats.5 +doc/atf.7.in +m4/ Modified: projects/uefi/contrib/atf/FREEBSD-upgrade ============================================================================== --- projects/uefi/contrib/atf/FREEBSD-upgrade Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/contrib/atf/FREEBSD-upgrade Thu Nov 21 22:07:50 2013 (r258449) @@ -1,28 +1,48 @@ $FreeBSD$ -atf +This document contains a collection of notes specific to the import +of atf into head. These notes are built on the instructions in +the FreeBSD Subversion Primer that detail how to deal with vendor +branches and you are supposed to follow those: -The source code is hosted on GoogleCode as a subcomponent of the Kyua project: + http://www.freebsd.org/doc/en/articles/committers-guide/subversion-primer.html - http://code.google.com/p/kyua/downloads/list - -For the contrib directory, the sources were initially prepared like so: - - ./configure --prefix=/ --exec-prefix=/usr --datarootdir=/usr/share +The ATF source code is hosted on Google Code as a subcomponent of the +Kyua project: -For the contrib directory, files and directories were pruned by: - -sh -c 'for F in `cat FREEBSD-Xlist`; do rm -rf ./$F ; done' + http://code.google.com/p/kyua/downloads/list -You may check if there are any new files that we don't need. +and is imported into the atf vendor branch (see base/vendor/atf/). -The instructions for importing new release and merging to HEAD can be found -at FreeBSD wiki: +To merge the vendor branch into head do something like this: - http://wiki.freebsd.org/SubversionPrimer/VendorImports + cd .../base/head/contrib/atf + svn merge --accept=postpone \ + svn+ssh://svn.freebsd.org/base/vendor/atf/dist . + svn remove --force $(cat FREEBSD-Xlist) + +and resolve any conflicts that may arise at this point. + +Once this is done, you must regenerate bconfig.h. The recommended way +of doing so is by using the release files already imported into the +vendor branch (which is a good justification for importing the verbatim +sources in the first place so that this step is reproducible). You can +use a set of commands similar to the following: + + mkdir /tmp/atf + cd /tmp/atf + .../vendor/atf/dist/configure \ + --prefix=/ \ + --exec-prefix=/usr \ + --datarootdir=/usr/share + cp bconfig.h .../base/head/contrib/atf/ + +Please do NOT run './configure' straight from the 'dist' directory of +the vendor branch as you easily risk committing build products into the +tree. -To make local changes to atf, simply patch and commit to the trunk -branch (aka HEAD). Never make local changes on the vendor branch. +Lastly, with the list of old and new files in this import, make sure +to udpate the reachover Makefiles accordingly. -gcooper@FreeBSD.org -5-August-2012 +Test the build (keeping in mind the WITH_TESTS/WITHOUT_TESTS knobs) and, +if all looks good, you are ready to commit all the changes in one go. Modified: projects/uefi/contrib/atf/NEWS ============================================================================== --- projects/uefi/contrib/atf/NEWS Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/contrib/atf/NEWS Thu Nov 21 22:07:50 2013 (r258449) @@ -2,6 +2,58 @@ Major changes between releases =========================================================================== +Changes in version 0.18 +*********************** + +Experimental version released on November 16th, 2013. + +* Issue 45: Added require.memory support in atf-run for FreeBSD. + +* Fixed an issue with the handling of cin with libc++. + +* Issue 64: Fixed various mandoc formatting warnings. + +* NetBSD PR bin/48284: Made atf-check flush its progress message to + stdout so that an interrupted test case always shows the last message + being executed. + +* NetBSD PR bin/48285: Fixed atf_check examples in atf-sh-api(3). + + +Changes in version 0.17 +*********************** + +Experimental version released on February 14th, 2013. + +* Added the atf_utils_cat_file, atf_utils_compare_file, + atf_utils_copy_file, atf_utils_create_file, atf_utils_file_exists, + atf_utils_fork, atf_utils_grep_file, atf_utils_grep_string, + atf_utils_readline, atf_utils_redirect and atf_utils_wait utility + functions to atf-c-api. Documented the already-public + atf_utils_free_charpp function. + +* Added the cat_file, compare_file, copy_file, create_file, file_exists, + fork, grep_collection, grep_file, grep_string, redirect and wait + functions to the atf::utils namespace of atf-c++-api. These are + wrappers around the same functions added to the atf-c-api library. + +* Added the ATF_CHECK_MATCH, ATF_CHECK_MATCH_MSG, ATF_REQUIRE_MATCH and + ATF_REQUIRE_MATCH_MSG macros to atf-c to simplify the validation of a + string against a regular expression. + +* Miscellaneous fixes for manpage typos and compilation problems with + clang. + +* Added caching of the results of those configure tests that rely on + executing a test program. This should help crossbuild systems by + providing a mechanism to pre-specify what the results should be. + +* PR bin/45690: Make atf-report convert any non-printable characters to + a plain-text representation (matching their corresponding hexadecimal + entities) in XML output files. This is to prevent the output of test + cases from breaking xsltproc later. + + Changes in version 0.16 *********************** Modified: projects/uefi/contrib/atf/atf-c++.hpp ============================================================================== --- projects/uefi/contrib/atf/atf-c++.hpp Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/contrib/atf/atf-c++.hpp Thu Nov 21 22:07:50 2013 (r258449) @@ -31,5 +31,6 @@ #define _ATF_CXX_HPP_ #include +#include #endif // !defined(_ATF_CXX_HPP_) Modified: projects/uefi/contrib/atf/atf-c++/atf-c++-api.3 ============================================================================== --- projects/uefi/contrib/atf/atf-c++/atf-c++-api.3 Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/contrib/atf/atf-c++/atf-c++-api.3 Thu Nov 21 22:07:50 2013 (r258449) @@ -26,10 +26,11 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd January 21, 2012 +.Dd November 15, 2013 .Dt ATF-C++-API 3 .Os .Sh NAME +.Nm atf-c++-api , .Nm ATF_ADD_TEST_CASE , .Nm ATF_CHECK_ERRNO , .Nm ATF_FAIL , @@ -52,6 +53,17 @@ .Nm ATF_TEST_CASE_USE , .Nm ATF_TEST_CASE_WITH_CLEANUP , .Nm ATF_TEST_CASE_WITHOUT_HEAD , +.Nm atf::utils::cat_file , +.Nm atf::utils::compare_file , +.Nm atf::utils::copy_file , +.Nm atf::utils::create_file , +.Nm atf::utils::file_exists , +.Nm atf::utils::fork , +.Nm atf::utils::grep_collection , +.Nm atf::utils::grep_file , +.Nm atf::utils::grep_string , +.Nm atf::utils::redirect , +.Nm atf::utils::wait .Nd C++ API to write ATF-based test programs .Sh SYNOPSIS .In atf-c++.hpp @@ -77,18 +89,64 @@ .Fn ATF_TEST_CASE_USE "name" .Fn ATF_TEST_CASE_WITH_CLEANUP "name" .Fn ATF_TEST_CASE_WITHOUT_HEAD "name" +.Ft void +.Fo atf::utils::cat_file +.Fa "const std::string& path" +.Fa "const std::string& prefix" +.Fc +.Ft bool +.Fo atf::utils::compare_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Ft void +.Fo atf::utils::copy_file +.Fa "const std::string& source" +.Fa "const std::string& destination" +.Fc +.Ft void +.Fo atf::utils::create_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Ft void +.Fo atf::utils::file_exists +.Fa "const std::string& path" +.Fc +.Ft pid_t +.Fo atf::utils::fork +.Fa "void" +.Fc +.Ft bool +.Fo atf::utils::grep_collection +.Fa "const std::string& regexp" +.Fa "const Collection& collection" +.Fc +.Ft bool +.Fo atf::utils::grep_file +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Ft bool +.Fo atf::utils::grep_string +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Ft void +.Fo atf::utils::redirect +.Fa "const int fd" +.Fa "const std::string& path" +.Fc +.Ft void +.Fo atf::utils::wait +.Fa "const pid_t pid" +.Fa "const int expected_exit_status" +.Fa "const std::string& expected_stdout" +.Fa "const std::string& expected_stderr" +.Fc .Sh DESCRIPTION -ATF provides a mostly-macro-based programming interface to implement test -programs in C or C++. -This interface is backed by a C++ implementation, but this fact is -hidden from the developer as much as possible through the use of -macros to simplify programming. -However, the use of C++ is not hidden everywhere and while you can -implement test cases without knowing anything at all about the object model -underneath the provided calls, you might need some minimum notions of the -language in very specific circumstances. -.Pp -C++-based test programs always follow this template: +ATF provides a C++ programming interface to implement test programs. +C++-based test programs follow this template: .Bd -literal -offset indent extern "C" { .Ns ... C-specific includes go here ... @@ -205,7 +263,7 @@ The first parameter of this macro matche former call. .Ss Header definitions The test case's header can define the meta-data by using the -.Fn set +.Fn set_md_var method, which takes two parameters: the first one specifies the meta-data variable to be set and the second one specifies its value. Both of them are strings. @@ -348,7 +406,7 @@ in the collection. .Fn ATF_REQUIRE_THROW takes the name of an exception and a statement and raises a failure if the statement does not throw the specified exception. -.Fn ATF_REQUIRE_THROW_EQ +.Fn ATF_REQUIRE_THROW_RE takes the name of an exception, a regular expresion and a statement and raises a failure if the statement does not throw the specified exception and if the message of the exception does not match the regular expression. @@ -362,6 +420,163 @@ variable and, second, a boolean expressi means that a call failed and .Va errno has to be checked against the first value. +.Ss Utility functions +The following functions are provided as part of the +.Nm +API to simplify the creation of a variety of tests. +In particular, these are useful to write tests for command-line interfaces. +.Pp +.Ft void +.Fo atf::utils::cat_file +.Fa "const std::string& path" +.Fa "const std::string& prefix" +.Fc +.Bd -ragged -offset indent +Prints the contents of +.Fa path +to the standard output, prefixing every line with the string in +.Fa prefix . +.Ed +.Pp +.Ft bool +.Fo atf::utils::compare_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Bd -ragged -offset indent +Returns true if the given +.Fa path +matches exactly the expected inlined +.Fa contents . +.Ed +.Pp +.Ft void +.Fo atf::utils::copy_file +.Fa "const std::string& source" +.Fa "const std::string& destination" +.Fc +.Bd -ragged -offset indent +Copies the file +.Fa source +to +.Fa destination . +The permissions of the file are preserved during the code. +.Ed +.Pp +.Ft void +.Fo atf::utils::create_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Bd -ragged -offset indent +Creates +.Fa file +with the text given in +.Fa contents . +.Ed +.Pp +.Ft void +.Fo atf::utils::file_exists +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Checks if +.Fa path +exists. +.Ed +.Pp +.Ft pid_t +.Fo atf::utils::fork +.Fa "void" +.Fc +.Bd -ragged -offset indent +Forks a process and redirects the standard output and standard error of the +child to files for later validation with +.Fn atf::utils::wait . +Fails the test case if the fork fails, so this does not return an error. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_collection +.Fa "const std::string& regexp" +.Fa "const Collection& collection" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in any of the strings contained in the +.Fa collection . +This is a template that accepts any one-dimensional container of strings. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_file +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in the file +.Fa path . +The variable arguments are used to construct the regular expression. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_string +.Fa "const std::string& regexp" +.Fa "const std::string& str" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in the string +.Fa str . +.Ed +.Ft void +.Fo atf::utils::redirect +.Fa "const int fd" +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Redirects the given file descriptor +.Fa fd +to the file +.Fa path . +This function exits the process in case of an error and does not properly mark +the test case as failed. +As a result, it should only be used in subprocesses of the test case; specially +those spawned by +.Fn atf::utils::fork . +.Ed +.Pp +.Ft void +.Fo atf::utils::wait +.Fa "const pid_t pid" +.Fa "const int expected_exit_status" +.Fa "const std::string& expected_stdout" +.Fa "const std::string& expected_stderr" +.Fc +.Bd -ragged -offset indent +Waits and validates the result of a subprocess spawned with +.Fn atf::utils::wait . +The validation involves checking that the subprocess exited cleanly and returned +the code specified in +.Fa expected_exit_status +and that its standard output and standard error match the strings given in +.Fa expected_stdout +and +.Fa expected_stderr . +.Pp +If any of the +.Fa expected_stdout +or +.Fa expected_stderr +strings are prefixed with +.Sq save: , +then they specify the name of the file into which to store the stdout or stderr +of the subprocess, and no comparison is performed. +.Ed .Sh EXAMPLES The following shows a complete test program with a single test case that validates the addition operator: @@ -371,7 +586,7 @@ validates the addition operator: ATF_TEST_CASE(addition); ATF_TEST_CASE_HEAD(addition) { - set("descr", "Sample tests for the addition operator"); + set_md_var("descr", "Sample tests for the addition operator"); } ATF_TEST_CASE_BODY(addition) { @@ -387,7 +602,7 @@ ATF_TEST_CASE_BODY(addition) ATF_TEST_CASE(open_failure); ATF_TEST_CASE_HEAD(open_failure) { - set("descr", "Sample tests for the open function"); + set_md_var("descr", "Sample tests for the open function"); } ATF_TEST_CASE_BODY(open_failure) { @@ -397,7 +612,7 @@ ATF_TEST_CASE_BODY(open_failure) ATF_TEST_CASE(known_bug); ATF_TEST_CASE_HEAD(known_bug) { - set("descr", "Reproduces a known bug"); + set_md_var("descr", "Reproduces a known bug"); } ATF_TEST_CASE_BODY(known_bug) { Modified: projects/uefi/contrib/atf/atf-c++/check.hpp ============================================================================== --- projects/uefi/contrib/atf/atf-c++/check.hpp Thu Nov 21 22:02:59 2013 (r258448) +++ projects/uefi/contrib/atf/atf-c++/check.hpp Thu Nov 21 22:07:50 2013 (r258449) @@ -39,7 +39,7 @@ extern "C" { #include #include -#include +#include namespace atf { @@ -60,7 +60,7 @@ namespace check { //! of executing arbitrary command and manages files containing //! its output. //! *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-projects@FreeBSD.ORG Thu Nov 21 22:17:56 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8CE6233C; Thu, 21 Nov 2013 22:17:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7CB432B1D; Thu, 21 Nov 2013 22:17:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rALMHuh0082749; Thu, 21 Nov 2013 22:17:56 GMT (envelope-from emaste@svn.freebsd.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rALMHu05082748; Thu, 21 Nov 2013 22:17:56 GMT (envelope-from emaste@svn.freebsd.org) Message-Id: <201311212217.rALMHu05082748@svn.freebsd.org> From: Ed Maste Date: Thu, 21 Nov 2013 22:17:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258450 - projects/uefi/sys/amd64/amd64 X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2013 22:17:56 -0000 Author: emaste Date: Thu Nov 21 22:17:55 2013 New Revision: 258450 URL: http://svnweb.freebsd.org/changeset/base/258450 Log: Merge r258431 from HEAD (Merged individually due to conflict) Sponsored by: The FreeBSD Foundation Modified: projects/uefi/sys/amd64/amd64/machdep.c Directory Properties: projects/uefi/ (props changed) projects/uefi/gnu/lib/ (props changed) projects/uefi/sys/ (props changed) Modified: projects/uefi/sys/amd64/amd64/machdep.c ============================================================================== --- projects/uefi/sys/amd64/amd64/machdep.c Thu Nov 21 22:07:50 2013 (r258449) +++ projects/uefi/sys/amd64/amd64/machdep.c Thu Nov 21 22:17:55 2013 (r258450) @@ -1636,13 +1636,15 @@ getmemsize(vm_paddr_t first, vm_paddr_t printf("Physical memory use set to %ldK\n", Maxmem * 4); /* - * By default enable the memory test on real hardware, and disable - * it if we appear to be running in a VM. This avoids touching all - * pages unnecessarily, which doesn't matter on real hardware but is - * bad for shared VM hosts. Use a general name so that - * one could eventually do more with the code than just disable it. + * The boot memory test is disabled by default, as it takes a + * significant amount of time on large-memory systems, and is + * unfriendly to virtual machines as it unnecessarily touches all + * pages. + * + * A general name is used as the code may be extended to support + * additional tests beyond the current "page present" test. */ - memtest = (vm_guest > VM_GUEST_NO) ? 0 : 1; + memtest = 0; TUNABLE_ULONG_FETCH("hw.memtest.tests", &memtest); /* call pmap initialization to make new kernel address space */ From owner-svn-src-projects@FreeBSD.ORG Thu Nov 21 22:51:26 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC1C6571; Thu, 21 Nov 2013 22:51:26 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9C96C2D98; Thu, 21 Nov 2013 22:51:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rALMpQAX095624; Thu, 21 Nov 2013 22:51:26 GMT (envelope-from emaste@svn.freebsd.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rALMpQ8G095621; Thu, 21 Nov 2013 22:51:26 GMT (envelope-from emaste@svn.freebsd.org) Message-Id: <201311212251.rALMpQ8G095621@svn.freebsd.org> From: Ed Maste Date: Thu, 21 Nov 2013 22:51:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258452 - in projects/uefi/release/doc/en_US.ISO8859-1: errata hardware readme X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2013 22:51:26 -0000 Author: emaste Date: Thu Nov 21 22:51:25 2013 New Revision: 258452 URL: http://svnweb.freebsd.org/changeset/base/258452 Log: Merge from HEAD at r258433 Sponsored by: The FreeBSD Foundation Modified: projects/uefi/release/doc/en_US.ISO8859-1/errata/article.xml projects/uefi/release/doc/en_US.ISO8859-1/hardware/article.xml projects/uefi/release/doc/en_US.ISO8859-1/readme/article.xml Directory Properties: projects/uefi/ (props changed) Modified: projects/uefi/release/doc/en_US.ISO8859-1/errata/article.xml ============================================================================== --- projects/uefi/release/doc/en_US.ISO8859-1/errata/article.xml Thu Nov 21 22:31:18 2013 (r258451) +++ projects/uefi/release/doc/en_US.ISO8859-1/errata/article.xml Thu Nov 21 22:51:25 2013 (r258452) @@ -32,6 +32,14 @@ 2003 2004 2005 + 2006 + 2007 + 2008 + 2009 + 2010 + 2011 + 2012 + 2013 The &os; Documentation Project Modified: projects/uefi/release/doc/en_US.ISO8859-1/hardware/article.xml ============================================================================== --- projects/uefi/release/doc/en_US.ISO8859-1/hardware/article.xml Thu Nov 21 22:31:18 2013 (r258451) +++ projects/uefi/release/doc/en_US.ISO8859-1/hardware/article.xml Thu Nov 21 22:51:25 2013 (r258452) @@ -178,9 +178,7 @@ the &a.smp; may yield some clues. &os; will take advantage of HyperThreading (HTT) support - on &intel; CPUs that support this feature. A kernel with the - options SMP feature enabled will - automatically detect the additional logical processors. The + on &intel; CPUs that support this feature. The default &os; scheduler treats the logical processors the same as additional physical processors; in other words, no attempt is made to optimize scheduling decisions given the shared @@ -303,63 +301,12 @@ powerpc - This section describes the systems currently known to be - supported by &os; on the PowerPC platform. This list is not - exhaustive. - - In general, all New World architecture Apple hardware - is supported, as well a limited selection of non-Apple - machines. - - All systems listed below are fully supported, with the - exception that software fan control is currently missing on - some Power Macintosh G5 models. SMP is supported on all systems - with more than 1 processor. + All Apple PowerPC machines with built-in USB are supported, + as well a limited selection of non-Apple machines, + including KVM on POWER7 - - - Apple iMac G3 - - - Apple iMac G4 - - - Apple iMac G5 - - - Apple Power Macintosh G3 (Blue & White) - - - Apple Power Macintosh G4 - - - Apple Power Macintosh G5 - - - Apple iBook G3 - - - Apple iBook G4 - - - Apple PowerBook G3 (Lombard and Pismo) - - - Apple PowerBook G4 - - - Apple XServe G4 - - - Apple XServe G5 - - - Apple Mac Mini - - - Embedded boards based on MPC85XX - - + SMP is supported on all systems with more than + 1 processor. @@ -367,10 +314,7 @@ This section describes the systems currently known to be supported by &os; on the Fujitsu &sparc64; and Sun &ultrasparc; - platforms. For - background information on the various hardware designs see the - Sun System - Handbook. + platforms. SMP is supported on all systems with more than 1 processor. Modified: projects/uefi/release/doc/en_US.ISO8859-1/readme/article.xml ============================================================================== --- projects/uefi/release/doc/en_US.ISO8859-1/readme/article.xml Thu Nov 21 22:31:18 2013 (r258451) +++ projects/uefi/release/doc/en_US.ISO8859-1/readme/article.xml Thu Nov 21 22:51:25 2013 (r258452) @@ -30,6 +30,11 @@ 2006 2007 2008 + 2009 + 2010 + 2011 + 2012 + 2013 The &os; Documentation Project From owner-svn-src-projects@FreeBSD.ORG Thu Nov 21 23:00:00 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AE7BD8FC; Thu, 21 Nov 2013 23:00:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9ECE92E05; Thu, 21 Nov 2013 23:00:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rALN00CJ096682; Thu, 21 Nov 2013 23:00:00 GMT (envelope-from emaste@svn.freebsd.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rALN003X096680; Thu, 21 Nov 2013 23:00:00 GMT (envelope-from emaste@svn.freebsd.org) Message-Id: <201311212300.rALN003X096680@svn.freebsd.org> From: Ed Maste Date: Thu, 21 Nov 2013 23:00:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258453 - projects/uefi/sys/amd64/amd64 X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2013 23:00:00 -0000 Author: emaste Date: Thu Nov 21 23:00:00 2013 New Revision: 258453 URL: http://svnweb.freebsd.org/changeset/base/258453 Log: Merge r258436 from HEAD (Merged individually due to conflict) Sponsored by: The FreeBSD Foundation Modified: projects/uefi/sys/amd64/amd64/machdep.c Directory Properties: projects/uefi/ (props changed) projects/uefi/sys/ (props changed) Modified: projects/uefi/sys/amd64/amd64/machdep.c ============================================================================== --- projects/uefi/sys/amd64/amd64/machdep.c Thu Nov 21 22:51:25 2013 (r258452) +++ projects/uefi/sys/amd64/amd64/machdep.c Thu Nov 21 23:00:00 2013 (r258453) @@ -1444,15 +1444,14 @@ add_smap_entries(struct bios_smap *smapb for (smap = smapbase; smap < smapend; smap++) { if (boothowto & RB_VERBOSE) - printf("SMAP type=%02x base=%016lx " - "len=%016lx\n", + printf("SMAP type=%02x base=%016lx len=%016lx\n", smap->type, smap->base, smap->length); if (smap->type != SMAP_TYPE_MEMORY) continue; - if (!add_physmap_entry(smap->base, smap->length, - physmap, physmap_idx)) + if (!add_physmap_entry(smap->base, smap->length, physmap, + physmap_idx)) break; } } From owner-svn-src-projects@FreeBSD.ORG Fri Nov 22 01:32:09 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 47120945; Fri, 22 Nov 2013 01:32:09 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 32135296F; Fri, 22 Nov 2013 01:32:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAM1W9G5050955; Fri, 22 Nov 2013 01:32:09 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAM1W4iO050931; Fri, 22 Nov 2013 01:32:04 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201311220132.rAM1W4iO050931@svn.freebsd.org> From: Marcel Moolenaar Date: Fri, 22 Nov 2013 01:32:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258459 - in projects/altix2: . bin/pkill bin/sh cddl/contrib/opensolaris/cmd/plockstat cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/common/ctf cddl/contrib/opensolaris/lib... X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 01:32:09 -0000 Author: marcel Date: Fri Nov 22 01:32:01 2013 New Revision: 258459 URL: http://svnweb.freebsd.org/changeset/base/258459 Log: Merge ^/head@258458 Added: projects/altix2/contrib/atf/atf-c++/detail/auto_array.hpp - copied unchanged from r258458, head/contrib/atf/atf-c++/detail/auto_array.hpp projects/altix2/contrib/atf/atf-c++/detail/auto_array_test.cpp - copied unchanged from r258458, head/contrib/atf/atf-c++/detail/auto_array_test.cpp projects/altix2/contrib/atf/atf-c++/noncopyable.hpp - copied unchanged from r258458, head/contrib/atf/atf-c++/noncopyable.hpp projects/altix2/contrib/atf/atf-c++/utils.cpp - copied unchanged from r258458, head/contrib/atf/atf-c++/utils.cpp projects/altix2/contrib/gcc/cp/ChangeLog.gcc43 - copied unchanged from r258458, head/contrib/gcc/cp/ChangeLog.gcc43 projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/StreamGDBRemote.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/include/lldb/Core/StreamGDBRemote.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/DataFormatters/ValueObjectPrinter.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/ValueObjectPrinter.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Host/OptionParser.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/include/lldb/Host/OptionParser.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Target/SystemRuntime.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/include/lldb/Target/SystemRuntime.h projects/altix2/contrib/llvm/tools/lldb/source/Core/StreamGDBRemote.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Core/StreamGDBRemote.cpp projects/altix2/contrib/llvm/tools/lldb/source/DataFormatters/LibCxxUnorderedMap.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/DataFormatters/LibCxxUnorderedMap.cpp projects/altix2/contrib/llvm/tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp projects/altix2/contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp projects/altix2/contrib/llvm/tools/lldb/source/Host/common/ProcessRunLock.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Host/common/ProcessRunLock.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/ - copied from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/ projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_mips64.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_mips64.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_i386.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_i386.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_mips64.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_mips64.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_x86_64.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_x86_64.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h projects/altix2/contrib/llvm/tools/lldb/source/Target/SystemRuntime.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/source/Target/SystemRuntime.cpp projects/altix2/contrib/llvm/tools/lldb/tools/driver/ELWrapper.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/tools/driver/ELWrapper.cpp projects/altix2/contrib/llvm/tools/lldb/tools/driver/ELWrapper.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/tools/driver/ELWrapper.h projects/altix2/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.cpp projects/altix2/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.h projects/altix2/contrib/llvm/tools/lldb/tools/driver/Platform.cpp - copied unchanged from r258458, head/contrib/llvm/tools/lldb/tools/driver/Platform.cpp projects/altix2/contrib/llvm/tools/lldb/tools/driver/Platform.h - copied unchanged from r258458, head/contrib/llvm/tools/lldb/tools/driver/Platform.h projects/altix2/contrib/llvm/tools/lldb/tools/lldb-platform/ - copied from r258458, head/contrib/llvm/tools/lldb/tools/lldb-platform/ projects/altix2/contrib/tzdata/leap-seconds.list - copied unchanged from r258458, head/contrib/tzdata/leap-seconds.list projects/altix2/lib/atf/libatf-c++/Makefile.inc - copied unchanged from r258458, head/lib/atf/libatf-c++/Makefile.inc projects/altix2/lib/atf/libatf-c++/tests/ - copied from r258458, head/lib/atf/libatf-c++/tests/ projects/altix2/lib/atf/libatf-c/Makefile.inc - copied unchanged from r258458, head/lib/atf/libatf-c/Makefile.inc projects/altix2/lib/atf/libatf-c/tests/ - copied from r258458, head/lib/atf/libatf-c/tests/ projects/altix2/lib/atf/tests/ - copied from r258458, head/lib/atf/tests/ projects/altix2/lib/libc/capability/cap_rights_init.3 - copied unchanged from r258458, head/lib/libc/capability/cap_rights_init.3 projects/altix2/lib/libc/gen/cap_rights_get.3 - copied unchanged from r258458, head/lib/libc/gen/cap_rights_get.3 projects/altix2/lib/libc/iconv/iconv-internal.h - copied unchanged from r258458, head/lib/libc/iconv/iconv-internal.h projects/altix2/lib/libc/iconv/iconv_compat.c - copied unchanged from r258458, head/lib/libc/iconv/iconv_compat.c projects/altix2/lib/libc_nonshared/ - copied from r258458, head/lib/libc_nonshared/ projects/altix2/lib/libnv/ - copied from r258458, head/lib/libnv/ projects/altix2/lib/tests/ - copied from r258458, head/lib/tests/ projects/altix2/libexec/atf/atf-check/Makefile.inc - copied unchanged from r258458, head/libexec/atf/atf-check/Makefile.inc projects/altix2/libexec/atf/atf-check/tests/ - copied from r258458, head/libexec/atf/atf-check/tests/ projects/altix2/libexec/atf/tests/ - copied from r258458, head/libexec/atf/tests/ projects/altix2/libexec/tests/ - copied from r258458, head/libexec/tests/ projects/altix2/release/amd64/pkg-stage.conf - copied unchanged from r258458, head/release/amd64/pkg-stage.conf projects/altix2/release/i386/pkg-stage.conf - copied unchanged from r258458, head/release/i386/pkg-stage.conf projects/altix2/release/scripts/pkg-stage.sh - copied unchanged from r258458, head/release/scripts/pkg-stage.sh projects/altix2/share/examples/libusb20/util.c - copied unchanged from r258458, head/share/examples/libusb20/util.c projects/altix2/share/examples/libusb20/util.h - copied unchanged from r258458, head/share/examples/libusb20/util.h projects/altix2/share/examples/tests/ - copied from r258458, head/share/examples/tests/ projects/altix2/share/man/man4/axge.4 - copied unchanged from r258458, head/share/man/man4/axge.4 projects/altix2/share/man/man4/gpioiic.4 - copied unchanged from r258458, head/share/man/man4/gpioiic.4 projects/altix2/share/man/man4/gpioled.4 - copied unchanged from r258458, head/share/man/man4/gpioled.4 projects/altix2/share/man/man4/rights.4 - copied unchanged from r258458, head/share/man/man4/rights.4 projects/altix2/share/tests/ - copied from r258458, head/share/tests/ projects/altix2/sys/amd64/vmm/io/vioapic.c - copied unchanged from r258458, head/sys/amd64/vmm/io/vioapic.c projects/altix2/sys/amd64/vmm/io/vioapic.h - copied unchanged from r258458, head/sys/amd64/vmm/io/vioapic.h projects/altix2/sys/arm/arm/bus_space-v6.c - copied unchanged from r258458, head/sys/arm/arm/bus_space-v6.c projects/altix2/sys/arm/arm/devmap.c - copied unchanged from r258458, head/sys/arm/arm/devmap.c projects/altix2/sys/arm/conf/COSMIC - copied unchanged from r258458, head/sys/arm/conf/COSMIC projects/altix2/sys/arm/conf/WANDBOARD-DUAL - copied unchanged from r258458, head/sys/arm/conf/WANDBOARD-DUAL projects/altix2/sys/arm/conf/WANDBOARD-QUAD - copied unchanged from r258458, head/sys/arm/conf/WANDBOARD-QUAD projects/altix2/sys/arm/conf/WANDBOARD-SOLO - copied unchanged from r258458, head/sys/arm/conf/WANDBOARD-SOLO projects/altix2/sys/arm/conf/WANDBOARD.common - copied unchanged from r258458, head/sys/arm/conf/WANDBOARD.common projects/altix2/sys/arm/freescale/vybrid/ - copied from r258458, head/sys/arm/freescale/vybrid/ projects/altix2/sys/arm/include/devmap.h - copied unchanged from r258458, head/sys/arm/include/devmap.h projects/altix2/sys/arm/ti/ti_mbox.c - copied unchanged from r258458, head/sys/arm/ti/ti_mbox.c projects/altix2/sys/arm/ti/ti_mbox.h - copied unchanged from r258458, head/sys/arm/ti/ti_mbox.h projects/altix2/sys/arm/ti/ti_pruss.c - copied unchanged from r258458, head/sys/arm/ti/ti_pruss.c projects/altix2/sys/arm/ti/ti_pruss.h - copied unchanged from r258458, head/sys/arm/ti/ti_pruss.h projects/altix2/sys/boot/fdt/dts/vybrid-cosmic.dts - copied unchanged from r258458, head/sys/boot/fdt/dts/vybrid-cosmic.dts projects/altix2/sys/boot/fdt/dts/vybrid.dtsi - copied unchanged from r258458, head/sys/boot/fdt/dts/vybrid.dtsi projects/altix2/sys/dev/iwn/if_iwn_chip_cfg.h - copied unchanged from r258458, head/sys/dev/iwn/if_iwn_chip_cfg.h projects/altix2/sys/dev/netmap/netmap_mem2.h - copied unchanged from r258458, head/sys/dev/netmap/netmap_mem2.h projects/altix2/sys/dev/usb/net/if_axge.c - copied unchanged from r258458, head/sys/dev/usb/net/if_axge.c projects/altix2/sys/dev/usb/net/if_axgereg.h - copied unchanged from r258458, head/sys/dev/usb/net/if_axgereg.h projects/altix2/sys/modules/usb/axge/ - copied from r258458, head/sys/modules/usb/axge/ projects/altix2/sys/net/ieee_oui.h - copied unchanged from r258458, head/sys/net/ieee_oui.h projects/altix2/sys/powerpc/mpc85xx/platform_mpc85xx.c - copied unchanged from r258458, head/sys/powerpc/mpc85xx/platform_mpc85xx.c projects/altix2/sys/powerpc/ofw/ofw_pcibus.h - copied unchanged from r258458, head/sys/powerpc/ofw/ofw_pcibus.h projects/altix2/sys/powerpc/powerpc/copyinout.c - copied unchanged from r258458, head/sys/powerpc/powerpc/copyinout.c projects/altix2/sys/powerpc/powerpc/swtch32.S - copied unchanged from r258458, head/sys/powerpc/powerpc/swtch32.S projects/altix2/sys/powerpc/powerpc/swtch64.S - copied unchanged from r258458, head/sys/powerpc/powerpc/swtch64.S projects/altix2/sys/powerpc/pseries/plpar_pcibus.c - copied unchanged from r258458, head/sys/powerpc/pseries/plpar_pcibus.c projects/altix2/sys/x86/iommu/intel_qi.c - copied unchanged from r258458, head/sys/x86/iommu/intel_qi.c projects/altix2/tools/build/options/WITH_TESTS - copied unchanged from r258458, head/tools/build/options/WITH_TESTS projects/altix2/tools/regression/bin/sh/builtins/command12.0 - copied unchanged from r258458, head/tools/regression/bin/sh/builtins/command12.0 projects/altix2/tools/regression/bin/sh/parser/var-assign1.0 - copied unchanged from r258458, head/tools/regression/bin/sh/parser/var-assign1.0 projects/altix2/tools/regression/lib/libnv/ - copied from r258458, head/tools/regression/lib/libnv/ projects/altix2/tools/regression/usr.sbin/etcupdate/preworld.sh - copied unchanged from r258458, head/tools/regression/usr.sbin/etcupdate/preworld.sh projects/altix2/usr.bin/atf/atf-sh/tests/ - copied from r258458, head/usr.bin/atf/atf-sh/tests/ projects/altix2/usr.bin/atf/tests/ - copied from r258458, head/usr.bin/atf/tests/ projects/altix2/usr.bin/tests/ - copied from r258458, head/usr.bin/tests/ projects/altix2/usr.sbin/bsdconfig/includes/ - copied from r258458, head/usr.sbin/bsdconfig/includes/ projects/altix2/usr.sbin/mfiutil/mfi_properties.c - copied unchanged from r258458, head/usr.sbin/mfiutil/mfi_properties.c Deleted: projects/altix2/contrib/atf/Atffile projects/altix2/contrib/atf/Makefile.am projects/altix2/contrib/atf/Makefile.in projects/altix2/contrib/atf/admin/ projects/altix2/contrib/atf/atf-c++/Atffile projects/altix2/contrib/atf/atf-c++/Makefile.am.inc projects/altix2/contrib/atf/atf-c++/detail/Atffile projects/altix2/contrib/atf/atf-c++/detail/Makefile.am.inc projects/altix2/contrib/atf/atf-c/Atffile projects/altix2/contrib/atf/atf-c/Makefile.am.inc projects/altix2/contrib/atf/atf-c/detail/Atffile projects/altix2/contrib/atf/atf-c/detail/Makefile.am.inc projects/altix2/contrib/atf/atf-c/detail/test_helpers_test.c projects/altix2/contrib/atf/atf-config/ projects/altix2/contrib/atf/atf-report/ projects/altix2/contrib/atf/atf-run/ projects/altix2/contrib/atf/atf-sh/Atffile projects/altix2/contrib/atf/atf-sh/Makefile.am.inc projects/altix2/contrib/atf/atf-version/ projects/altix2/contrib/atf/bconfig.h.in projects/altix2/contrib/atf/configure projects/altix2/contrib/atf/configure.ac projects/altix2/contrib/atf/doc/Makefile.am.inc projects/altix2/contrib/atf/doc/atf-formats.5 projects/altix2/contrib/atf/doc/atf.7.in projects/altix2/contrib/atf/test-programs/Atffile projects/altix2/contrib/atf/test-programs/Makefile.am.inc projects/altix2/contrib/atf/test-programs/fork_test.sh projects/altix2/contrib/llvm/tools/lldb/include/lldb/Utility/RefCounter.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreFreeBSD_x86_64.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreFreeBSD_x86_64.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreLinux_x86_64.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreLinux_x86_64.h projects/altix2/contrib/llvm/tools/lldb/source/Utility/RefCounter.cpp projects/altix2/etc/namedb/ projects/altix2/etc/periodic/daily/470.status-named projects/altix2/etc/rc.d/named projects/altix2/lib/libiconv_compat/ projects/altix2/release/doc/fr_FR.ISO8859-1/installation/common/abstract.xml projects/altix2/release/doc/ru_RU.KOI8-R/installation/common/abstract.xml projects/altix2/release/generate-release.sh projects/altix2/share/examples/libusb20/aux.c projects/altix2/share/examples/libusb20/aux.h projects/altix2/sys/amd64/vmm/io/vdev.c projects/altix2/sys/amd64/vmm/io/vdev.h projects/altix2/sys/arm/allwinner/bus_space.c projects/altix2/sys/arm/broadcom/bcm2835/bus_space.c projects/altix2/sys/arm/freescale/imx/bus_space.c projects/altix2/sys/arm/rockchip/bus_space.c projects/altix2/sys/arm/samsung/exynos/bus_space.c projects/altix2/sys/arm/ti/bus_space.c projects/altix2/sys/powerpc/aim/copyinout.c projects/altix2/sys/powerpc/aim/swtch32.S projects/altix2/sys/powerpc/aim/swtch64.S projects/altix2/sys/powerpc/booke/copyinout.c projects/altix2/sys/powerpc/booke/swtch.S projects/altix2/tools/build/options/WITH_LIBICONV_COMPAT projects/altix2/usr.sbin/bhyve/ioapic.c projects/altix2/usr.sbin/bhyve/ioapic.h Modified: projects/altix2/MAINTAINERS (contents, props changed) projects/altix2/Makefile.inc1 projects/altix2/ObsoleteFiles.inc projects/altix2/UPDATING projects/altix2/bin/pkill/pkill.c projects/altix2/bin/sh/exec.c projects/altix2/bin/sh/nodetypes projects/altix2/bin/sh/sh.1 projects/altix2/cddl/contrib/opensolaris/cmd/plockstat/plockstat.c projects/altix2/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c projects/altix2/cddl/contrib/opensolaris/common/ctf/ctf_create.c projects/altix2/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c projects/altix2/cddl/contrib/opensolaris/lib/libnvpair/libnvpair.c projects/altix2/cddl/lib/libnvpair/Makefile projects/altix2/contrib/atf/FREEBSD-Xlist projects/altix2/contrib/atf/FREEBSD-upgrade projects/altix2/contrib/atf/NEWS projects/altix2/contrib/atf/atf-c++.hpp projects/altix2/contrib/atf/atf-c++/atf-c++-api.3 projects/altix2/contrib/atf/atf-c++/check.hpp projects/altix2/contrib/atf/atf-c++/check_test.cpp projects/altix2/contrib/atf/atf-c++/detail/Kyuafile projects/altix2/contrib/atf/atf-c++/detail/parser.hpp projects/altix2/contrib/atf/atf-c++/detail/process.cpp projects/altix2/contrib/atf/atf-c++/detail/process.hpp projects/altix2/contrib/atf/atf-c++/detail/test_helpers.cpp projects/altix2/contrib/atf/atf-c++/detail/test_helpers.hpp projects/altix2/contrib/atf/atf-c++/macros_test.cpp projects/altix2/contrib/atf/atf-c++/pkg_config_test.sh projects/altix2/contrib/atf/atf-c++/tests.cpp projects/altix2/contrib/atf/atf-c++/tests.hpp projects/altix2/contrib/atf/atf-c++/utils.hpp projects/altix2/contrib/atf/atf-c++/utils_test.cpp projects/altix2/contrib/atf/atf-c.h projects/altix2/contrib/atf/atf-c/atf-c-api.3 projects/altix2/contrib/atf/atf-c/check_test.c projects/altix2/contrib/atf/atf-c/detail/Kyuafile projects/altix2/contrib/atf/atf-c/detail/process_test.c projects/altix2/contrib/atf/atf-c/detail/sanity_test.c projects/altix2/contrib/atf/atf-c/detail/test_helpers.c projects/altix2/contrib/atf/atf-c/detail/test_helpers.h projects/altix2/contrib/atf/atf-c/macros.h projects/altix2/contrib/atf/atf-c/macros_test.c projects/altix2/contrib/atf/atf-c/pkg_config_test.sh projects/altix2/contrib/atf/atf-c/utils.c projects/altix2/contrib/atf/atf-c/utils.h projects/altix2/contrib/atf/atf-c/utils_test.c projects/altix2/contrib/atf/atf-sh/atf-check.cpp projects/altix2/contrib/atf/atf-sh/atf-check_test.sh projects/altix2/contrib/atf/atf-sh/atf-sh-api.3 projects/altix2/contrib/atf/atf-sh/atf-sh.1 projects/altix2/contrib/atf/atf-sh/atf_check_test.sh projects/altix2/contrib/atf/atf-sh/misc_helpers.sh projects/altix2/contrib/atf/bconfig.h projects/altix2/contrib/atf/test-programs/Kyuafile projects/altix2/contrib/atf/test-programs/c_helpers.c projects/altix2/contrib/atf/test-programs/cpp_helpers.cpp projects/altix2/contrib/atf/test-programs/sh_helpers.sh projects/altix2/contrib/binutils/binutils/cxxfilt.c projects/altix2/contrib/bmake/hash.c projects/altix2/contrib/bmake/lst.lib/lstMember.c projects/altix2/contrib/gcc/ChangeLog.gcc43 projects/altix2/contrib/gcc/Makefile.in projects/altix2/contrib/gcc/builtin-types.def projects/altix2/contrib/gcc/builtins.c projects/altix2/contrib/gcc/builtins.def projects/altix2/contrib/gcc/c-common.c projects/altix2/contrib/gcc/c-common.h projects/altix2/contrib/gcc/c-decl.c projects/altix2/contrib/gcc/c-opts.c projects/altix2/contrib/gcc/c-typeck.c projects/altix2/contrib/gcc/c.opt projects/altix2/contrib/gcc/cgraphunit.c projects/altix2/contrib/gcc/collect2.c projects/altix2/contrib/gcc/config/i386/beos-elf.h projects/altix2/contrib/gcc/config/i386/cygwin.h projects/altix2/contrib/gcc/config/i386/i386.c projects/altix2/contrib/gcc/config/i386/i386.h projects/altix2/contrib/gcc/config/i386/i386.md projects/altix2/contrib/gcc/config/i386/nto.h projects/altix2/contrib/gcc/config/rs6000/aix.h projects/altix2/contrib/gcc/config/rs6000/rs6000.c projects/altix2/contrib/gcc/config/rs6000/sysv4.h projects/altix2/contrib/gcc/config/svr4.h projects/altix2/contrib/gcc/configure projects/altix2/contrib/gcc/configure.ac projects/altix2/contrib/gcc/coverage.c projects/altix2/contrib/gcc/cp/cp-lang.c projects/altix2/contrib/gcc/cp/cp-tree.h projects/altix2/contrib/gcc/cp/decl.c projects/altix2/contrib/gcc/cp/decl2.c projects/altix2/contrib/gcc/cp/name-lookup.c projects/altix2/contrib/gcc/cp/parser.c projects/altix2/contrib/gcc/cp/pt.c projects/altix2/contrib/gcc/cp/semantics.c projects/altix2/contrib/gcc/cp/tree.c projects/altix2/contrib/gcc/cp/typeck.c projects/altix2/contrib/gcc/cppdefault.c projects/altix2/contrib/gcc/doc/extend.texi projects/altix2/contrib/gcc/doc/invoke.texi projects/altix2/contrib/gcc/doc/libgcc.texi projects/altix2/contrib/gcc/doc/rtl.texi projects/altix2/contrib/gcc/dwarf2out.c projects/altix2/contrib/gcc/expr.c projects/altix2/contrib/gcc/flags.h projects/altix2/contrib/gcc/fold-const.c projects/altix2/contrib/gcc/gcc.c projects/altix2/contrib/gcc/genattrtab.c projects/altix2/contrib/gcc/genopinit.c projects/altix2/contrib/gcc/langhooks-def.h projects/altix2/contrib/gcc/langhooks.h projects/altix2/contrib/gcc/libgcc-std.ver projects/altix2/contrib/gcc/libgcc2.c projects/altix2/contrib/gcc/libgcc2.h projects/altix2/contrib/gcc/mips-tdump.c projects/altix2/contrib/gcc/mips-tfile.c projects/altix2/contrib/gcc/mklibgcc.in projects/altix2/contrib/gcc/optabs.c projects/altix2/contrib/gcc/optabs.h projects/altix2/contrib/gcc/opts.c projects/altix2/contrib/gcc/postreload-gcse.c projects/altix2/contrib/gcc/regs.h projects/altix2/contrib/gcc/reload1.c projects/altix2/contrib/gcc/rtl.def projects/altix2/contrib/gcc/rtlanal.c projects/altix2/contrib/gcc/simplify-rtx.c projects/altix2/contrib/gcc/tree-ssa-propagate.c projects/altix2/contrib/gcc/tree-vrp.c projects/altix2/contrib/gcc/tree.c projects/altix2/contrib/gcc/tree.h projects/altix2/contrib/gcclibs/libcpp/files.c projects/altix2/contrib/gcclibs/libcpp/internal.h projects/altix2/contrib/gcclibs/libcpp/lex.c projects/altix2/contrib/gcclibs/libiberty/cp-demangle.c projects/altix2/contrib/gcclibs/libiberty/testsuite/demangle-expected projects/altix2/contrib/gperf/doc/gperf.1 projects/altix2/contrib/gperf/src/options.cc projects/altix2/contrib/gperf/src/options.h projects/altix2/contrib/gperf/src/options.icc projects/altix2/contrib/gperf/src/output.cc projects/altix2/contrib/libexecinfo/backtrace.c projects/altix2/contrib/libreadline/display.c projects/altix2/contrib/libreadline/input.c projects/altix2/contrib/libreadline/search.c projects/altix2/contrib/libreadline/support/shobj-conf projects/altix2/contrib/libstdc++/include/bits/basic_string.h projects/altix2/contrib/libstdc++/include/bits/basic_string.tcc projects/altix2/contrib/libstdc++/include/bits/stl_algobase.h projects/altix2/contrib/libstdc++/include/bits/stl_tree.h projects/altix2/contrib/libstdc++/include/bits/stl_vector.h projects/altix2/contrib/libstdc++/include/ext/mt_allocator.h projects/altix2/contrib/libstdc++/include/ext/throw_allocator.h projects/altix2/contrib/libstdc++/libsupc++/eh_alloc.cc projects/altix2/contrib/libstdc++/src/mt_allocator.cc projects/altix2/contrib/llvm/include/llvm/Support/Dwarf.h projects/altix2/contrib/llvm/include/llvm/Support/ELF.h projects/altix2/contrib/llvm/lib/Analysis/CaptureTracking.cpp projects/altix2/contrib/llvm/lib/Support/Dwarf.cpp projects/altix2/contrib/llvm/lib/Target/X86/X86ISelLowering.cpp projects/altix2/contrib/llvm/tools/lldb/include/lldb/API/SBHostOS.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/API/SBProcess.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/API/SBTarget.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/API/SBThread.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Breakpoint/Breakpoint.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointList.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocation.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointResolver.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointSiteList.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Breakpoint/StoppointLocation.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/Address.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/ArchSpec.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionFileDescriptor.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionMachPort.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/ConstString.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/DataExtractor.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/Debugger.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/Disassembler.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/EmulateInstruction.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/Error.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/Flags.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/Log.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/Module.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/ModuleList.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/ModuleSpec.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/Opcode.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/PluginManager.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/RangeMap.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/RegularExpression.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/UUID.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/Value.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/ValueObject.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/ValueObjectDynamicValue.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Core/dwarf.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/DataFormatters/CXXFormatterFunctions.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/DataFormatters/DataVisualization.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatCache.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatClasses.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatManager.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatNavigator.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeCategory.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeCategoryMap.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeSummary.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeSynthetic.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Expression/ClangExpressionDeclMap.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Expression/ClangFunction.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Expression/ClangUserExpression.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Expression/DWARFExpression.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Expression/IRExecutionUnit.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Expression/IRForTarget.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Host/Condition.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Host/Config.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Host/File.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Host/FileSpec.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Host/Host.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Host/Mutex.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Host/ProcessRunLock.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Host/SocketAddress.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Host/Symbols.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Host/Terminal.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Host/TimeValue.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Interpreter/Args.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Interpreter/CommandObject.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Interpreter/OptionGroupValueObjectDisplay.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Interpreter/OptionValueBoolean.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Interpreter/OptionValueEnumeration.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Interpreter/Options.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Interpreter/PythonDataObjects.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Interpreter/ScriptInterpreter.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Interpreter/ScriptInterpreterPython.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Symbol/Block.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Symbol/ClangASTImporter.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Symbol/ClangASTType.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Symbol/ClangNamespaceDecl.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Symbol/ObjectFile.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Symbol/Symbol.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Symbol/SymbolContext.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Symbol/Symtab.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Symbol/Type.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Symbol/TypeList.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Target/DynamicLoader.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Target/ExecutionContext.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Target/Platform.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Target/Process.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Target/RegisterContext.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Target/StackFrame.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Target/StackFrameList.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Target/StackID.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Target/Target.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Target/Thread.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Target/ThreadPlanCallFunction.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Target/ThreadPlanStepOverRange.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/Utility/SharingPtr.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/lldb-defines.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/lldb-enumerations.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/lldb-forward.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/lldb-private-enumerations.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/lldb-private-interfaces.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/lldb-private-log.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/lldb-private.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/lldb-types.h projects/altix2/contrib/llvm/tools/lldb/include/lldb/lldb-versioning.h projects/altix2/contrib/llvm/tools/lldb/source/API/SBCommandInterpreter.cpp projects/altix2/contrib/llvm/tools/lldb/source/API/SBData.cpp projects/altix2/contrib/llvm/tools/lldb/source/API/SBDebugger.cpp projects/altix2/contrib/llvm/tools/lldb/source/API/SBFileSpec.cpp projects/altix2/contrib/llvm/tools/lldb/source/API/SBFunction.cpp projects/altix2/contrib/llvm/tools/lldb/source/API/SBHostOS.cpp projects/altix2/contrib/llvm/tools/lldb/source/API/SBModuleSpec.cpp projects/altix2/contrib/llvm/tools/lldb/source/API/SBProcess.cpp projects/altix2/contrib/llvm/tools/lldb/source/API/SBSymbol.cpp projects/altix2/contrib/llvm/tools/lldb/source/API/SBTarget.cpp projects/altix2/contrib/llvm/tools/lldb/source/API/SBThread.cpp projects/altix2/contrib/llvm/tools/lldb/source/API/SBType.cpp projects/altix2/contrib/llvm/tools/lldb/source/API/SBTypeCategory.cpp projects/altix2/contrib/llvm/tools/lldb/source/API/SBTypeNameSpecifier.cpp projects/altix2/contrib/llvm/tools/lldb/source/API/SBValue.cpp projects/altix2/contrib/llvm/tools/lldb/source/Breakpoint/Breakpoint.cpp projects/altix2/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointList.cpp projects/altix2/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointLocation.cpp projects/altix2/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointLocationList.cpp projects/altix2/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolver.cpp projects/altix2/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp projects/altix2/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp projects/altix2/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolverName.cpp projects/altix2/contrib/llvm/tools/lldb/source/Breakpoint/StoppointLocation.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandCompletions.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectArgs.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectBreakpoint.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectBreakpointCommand.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectCommands.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectDisassemble.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.h projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectFrame.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectHelp.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectLog.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectMemory.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectPlatform.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectProcess.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectRegister.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectSettings.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectSource.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectThread.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectType.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpoint.cpp projects/altix2/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/Address.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/ArchSpec.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/Communication.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/ConnectionFileDescriptor.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/ConnectionMachPort.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/ConnectionSharedMemory.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/ConstString.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/DataBufferMemoryMap.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/DataExtractor.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/Debugger.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/Disassembler.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/Error.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/FileLineResolver.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/Log.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/Mangled.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/Module.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/ModuleList.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/Opcode.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/PluginManager.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/SearchFilter.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/SourceManager.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/Timer.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/Value.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/ValueObject.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/ValueObjectDynamicValue.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/ValueObjectSyntheticFilter.cpp projects/altix2/contrib/llvm/tools/lldb/source/Core/ValueObjectVariable.cpp projects/altix2/contrib/llvm/tools/lldb/source/DataFormatters/CXXFormatterFunctions.cpp projects/altix2/contrib/llvm/tools/lldb/source/DataFormatters/DataVisualization.cpp projects/altix2/contrib/llvm/tools/lldb/source/DataFormatters/FormatCache.cpp projects/altix2/contrib/llvm/tools/lldb/source/DataFormatters/FormatManager.cpp projects/altix2/contrib/llvm/tools/lldb/source/DataFormatters/TypeCategory.cpp projects/altix2/contrib/llvm/tools/lldb/source/DataFormatters/TypeCategoryMap.cpp projects/altix2/contrib/llvm/tools/lldb/source/DataFormatters/TypeFormat.cpp projects/altix2/contrib/llvm/tools/lldb/source/DataFormatters/TypeSummary.cpp projects/altix2/contrib/llvm/tools/lldb/source/Expression/ClangASTSource.cpp projects/altix2/contrib/llvm/tools/lldb/source/Expression/ClangExpressionDeclMap.cpp projects/altix2/contrib/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp projects/altix2/contrib/llvm/tools/lldb/source/Expression/ClangFunction.cpp projects/altix2/contrib/llvm/tools/lldb/source/Expression/ClangUserExpression.cpp projects/altix2/contrib/llvm/tools/lldb/source/Expression/DWARFExpression.cpp projects/altix2/contrib/llvm/tools/lldb/source/Expression/IRForTarget.cpp projects/altix2/contrib/llvm/tools/lldb/source/Expression/IRInterpreter.cpp projects/altix2/contrib/llvm/tools/lldb/source/Expression/IRMemoryMap.cpp projects/altix2/contrib/llvm/tools/lldb/source/Expression/Materializer.cpp projects/altix2/contrib/llvm/tools/lldb/source/Host/common/Condition.cpp projects/altix2/contrib/llvm/tools/lldb/source/Host/common/File.cpp projects/altix2/contrib/llvm/tools/lldb/source/Host/common/FileSpec.cpp projects/altix2/contrib/llvm/tools/lldb/source/Host/common/Host.cpp projects/altix2/contrib/llvm/tools/lldb/source/Host/common/Mutex.cpp projects/altix2/contrib/llvm/tools/lldb/source/Host/common/SocketAddress.cpp projects/altix2/contrib/llvm/tools/lldb/source/Host/common/Symbols.cpp projects/altix2/contrib/llvm/tools/lldb/source/Host/common/Terminal.cpp projects/altix2/contrib/llvm/tools/lldb/source/Host/common/TimeValue.cpp projects/altix2/contrib/llvm/tools/lldb/source/Host/freebsd/Host.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/Args.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/CommandInterpreter.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/CommandObject.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupArchitecture.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupBoolean.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupFile.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupFormat.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupOutputFile.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupPlatform.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupString.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUInt64.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUUID.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupVariable.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupWatchpoint.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/OptionValueFileSpec.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/OptionValueProperties.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/Options.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/PythonDataObjects.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreter.cpp projects/altix2/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterPython.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulationStateARM.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessMessage.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessMessage.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_x86.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfo.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfo.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfoEntry.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfoEntry.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationDescription.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationDescription.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/LogChannelDWARF.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h projects/altix2/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp projects/altix2/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp projects/altix2/contrib/llvm/tools/lldb/source/Symbol/ClangASTImporter.cpp projects/altix2/contrib/llvm/tools/lldb/source/Symbol/ClangASTType.cpp projects/altix2/contrib/llvm/tools/lldb/source/Symbol/CompileUnit.cpp projects/altix2/contrib/llvm/tools/lldb/source/Symbol/DWARFCallFrameInfo.cpp projects/altix2/contrib/llvm/tools/lldb/source/Symbol/FuncUnwinders.cpp projects/altix2/contrib/llvm/tools/lldb/source/Symbol/LineEntry.cpp projects/altix2/contrib/llvm/tools/lldb/source/Symbol/ObjectFile.cpp projects/altix2/contrib/llvm/tools/lldb/source/Symbol/Symbol.cpp projects/altix2/contrib/llvm/tools/lldb/source/Symbol/SymbolContext.cpp projects/altix2/contrib/llvm/tools/lldb/source/Symbol/Symtab.cpp projects/altix2/contrib/llvm/tools/lldb/source/Symbol/Type.cpp projects/altix2/contrib/llvm/tools/lldb/source/Symbol/UnwindTable.cpp projects/altix2/contrib/llvm/tools/lldb/source/Symbol/Variable.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/ExecutionContext.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/LanguageRuntime.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/Platform.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/Process.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/RegisterContext.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/StackFrame.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/StackFrameList.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/StopInfo.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/Target.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/TargetList.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/Thread.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/ThreadPlanCallFunction.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/ThreadPlanRunToAddress.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepOut.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepOverRange.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepRange.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepThrough.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepUntil.cpp projects/altix2/contrib/llvm/tools/lldb/source/Target/UnixSignals.cpp projects/altix2/contrib/llvm/tools/lldb/source/Utility/PseudoTerminal.cpp projects/altix2/contrib/llvm/tools/lldb/source/Utility/SharingPtr.cpp projects/altix2/contrib/llvm/tools/lldb/source/Utility/StringExtractor.cpp projects/altix2/contrib/llvm/tools/lldb/source/Utility/StringExtractor.h projects/altix2/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp projects/altix2/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.h projects/altix2/contrib/llvm/tools/lldb/source/lldb-log.cpp projects/altix2/contrib/llvm/tools/lldb/source/lldb.cpp projects/altix2/contrib/llvm/tools/lldb/tools/driver/Driver.cpp projects/altix2/contrib/llvm/tools/lldb/tools/driver/Driver.h projects/altix2/contrib/llvm/tools/lldb/tools/driver/IOChannel.cpp projects/altix2/contrib/llvm/tools/lldb/tools/driver/IOChannel.h projects/altix2/contrib/mdocml/lib.in projects/altix2/contrib/mtree/compare.c projects/altix2/contrib/mtree/create.c projects/altix2/contrib/mtree/spec.c projects/altix2/contrib/netcat/nc.1 projects/altix2/contrib/netcat/netcat.c projects/altix2/contrib/nvi/README projects/altix2/contrib/nvi/common/main.c projects/altix2/contrib/nvi/docs/USD.doc/vi.man/vi.1 projects/altix2/contrib/nvi/ex/ex_print.c projects/altix2/contrib/nvi/ex/version.h projects/altix2/contrib/nvi/vi/v_txt.c projects/altix2/contrib/nvi/vi/vs_refresh.c projects/altix2/contrib/smbfs/lib/smb/nls.c projects/altix2/contrib/subversion/CHANGES projects/altix2/contrib/subversion/INSTALL projects/altix2/contrib/subversion/Makefile.in projects/altix2/contrib/subversion/build-outputs.mk projects/altix2/contrib/subversion/build.conf projects/altix2/contrib/subversion/configure projects/altix2/contrib/subversion/subversion/include/private/svn_client_private.h projects/altix2/contrib/subversion/subversion/include/private/svn_subr_private.h projects/altix2/contrib/subversion/subversion/include/svn_config.h projects/altix2/contrib/subversion/subversion/include/svn_types.h projects/altix2/contrib/subversion/subversion/include/svn_version.h projects/altix2/contrib/subversion/subversion/libsvn_client/commit.c projects/altix2/contrib/subversion/subversion/libsvn_client/merge.c projects/altix2/contrib/subversion/subversion/libsvn_client/mergeinfo.c projects/altix2/contrib/subversion/subversion/libsvn_client/update.c projects/altix2/contrib/subversion/subversion/libsvn_diff/diff_file.c projects/altix2/contrib/subversion/subversion/libsvn_fs/fs-loader.c projects/altix2/contrib/subversion/subversion/libsvn_fs_base/fs.c projects/altix2/contrib/subversion/subversion/libsvn_fs_fs/fs.c projects/altix2/contrib/subversion/subversion/libsvn_fs_fs/fs_fs.c projects/altix2/contrib/subversion/subversion/libsvn_fs_fs/rep-cache-db.h projects/altix2/contrib/subversion/subversion/libsvn_ra/ra_loader.c projects/altix2/contrib/subversion/subversion/libsvn_ra/ra_loader.h projects/altix2/contrib/subversion/subversion/libsvn_ra_local/ra_plugin.c projects/altix2/contrib/subversion/subversion/libsvn_ra_local/split_url.c projects/altix2/contrib/subversion/subversion/libsvn_ra_serf/commit.c projects/altix2/contrib/subversion/subversion/libsvn_ra_serf/ra_serf.h projects/altix2/contrib/subversion/subversion/libsvn_ra_serf/replay.c projects/altix2/contrib/subversion/subversion/libsvn_ra_serf/serf.c projects/altix2/contrib/subversion/subversion/libsvn_ra_serf/util.c projects/altix2/contrib/subversion/subversion/libsvn_ra_svn/client.c projects/altix2/contrib/subversion/subversion/libsvn_subr/auth.c projects/altix2/contrib/subversion/subversion/libsvn_subr/cache_config.c projects/altix2/contrib/subversion/subversion/libsvn_subr/cmdline.c projects/altix2/contrib/subversion/subversion/libsvn_subr/config_auth.c projects/altix2/contrib/subversion/subversion/libsvn_subr/deprecated.c projects/altix2/contrib/subversion/subversion/libsvn_subr/dirent_uri.c projects/altix2/contrib/subversion/subversion/libsvn_subr/internal_statements.h projects/altix2/contrib/subversion/subversion/libsvn_subr/io.c projects/altix2/contrib/subversion/subversion/libsvn_subr/sysinfo.c projects/altix2/contrib/subversion/subversion/libsvn_subr/utf.c projects/altix2/contrib/subversion/subversion/libsvn_subr/version.c projects/altix2/contrib/subversion/subversion/libsvn_subr/win32_crashrpt.c projects/altix2/contrib/subversion/subversion/libsvn_wc/diff_editor.c projects/altix2/contrib/subversion/subversion/libsvn_wc/diff_local.c projects/altix2/contrib/subversion/subversion/libsvn_wc/info.c projects/altix2/contrib/subversion/subversion/libsvn_wc/old-and-busted.c projects/altix2/contrib/subversion/subversion/libsvn_wc/update_editor.c projects/altix2/contrib/subversion/subversion/libsvn_wc/wc-checks.h projects/altix2/contrib/subversion/subversion/libsvn_wc/wc-metadata.h projects/altix2/contrib/subversion/subversion/libsvn_wc/wc-queries.h projects/altix2/contrib/subversion/subversion/libsvn_wc/wc-queries.sql projects/altix2/contrib/subversion/subversion/libsvn_wc/wc_db.c projects/altix2/contrib/subversion/subversion/libsvn_wc/wc_db.h projects/altix2/contrib/subversion/subversion/libsvn_wc/wc_db_private.h projects/altix2/contrib/subversion/subversion/libsvn_wc/wc_db_update_move.c projects/altix2/contrib/subversion/subversion/svn/cl.h projects/altix2/contrib/subversion/subversion/svn/status-cmd.c projects/altix2/contrib/subversion/subversion/svn/status.c projects/altix2/contrib/subversion/subversion/svn/svn.c projects/altix2/contrib/subversion/subversion/svnadmin/svnadmin.c projects/altix2/contrib/subversion/subversion/svndumpfilter/svndumpfilter.c projects/altix2/contrib/subversion/subversion/svnlook/svnlook.c projects/altix2/contrib/subversion/subversion/svnmucc/svnmucc.c projects/altix2/contrib/subversion/subversion/svnserve/svnserve.c projects/altix2/contrib/subversion/subversion/svnsync/svnsync.c projects/altix2/contrib/subversion/subversion/svnversion/svnversion.c projects/altix2/contrib/telnet/telnetd/sys_term.c projects/altix2/contrib/tzdata/africa projects/altix2/contrib/tzdata/antarctica projects/altix2/contrib/tzdata/asia projects/altix2/contrib/tzdata/australasia projects/altix2/contrib/tzdata/backward projects/altix2/contrib/tzdata/etcetera projects/altix2/contrib/tzdata/europe projects/altix2/contrib/tzdata/northamerica projects/altix2/contrib/tzdata/southamerica projects/altix2/contrib/tzdata/zone.tab projects/altix2/crypto/openssh/ChangeLog projects/altix2/crypto/openssh/README projects/altix2/crypto/openssh/auth-options.c projects/altix2/crypto/openssh/auth2-chall.c projects/altix2/crypto/openssh/authfd.c projects/altix2/crypto/openssh/channels.c projects/altix2/crypto/openssh/cipher-3des1.c projects/altix2/crypto/openssh/clientloop.c projects/altix2/crypto/openssh/contrib/caldera/openssh.spec projects/altix2/crypto/openssh/contrib/redhat/openssh.spec projects/altix2/crypto/openssh/contrib/suse/openssh.spec projects/altix2/crypto/openssh/gss-genr.c projects/altix2/crypto/openssh/monitor_mm.c projects/altix2/crypto/openssh/monitor_wrap.c projects/altix2/crypto/openssh/packet.c projects/altix2/crypto/openssh/schnorr.c projects/altix2/crypto/openssh/sftp-client.c projects/altix2/crypto/openssh/sftp-glob.c projects/altix2/crypto/openssh/sftp-server.0 projects/altix2/crypto/openssh/sftp.0 projects/altix2/crypto/openssh/ssh_config projects/altix2/crypto/openssh/ssh_config.5 projects/altix2/crypto/openssh/sshd_config projects/altix2/crypto/openssh/sshd_config.5 projects/altix2/crypto/openssh/umac.c projects/altix2/crypto/openssh/version.h projects/altix2/etc/Makefile projects/altix2/etc/defaults/periodic.conf projects/altix2/etc/defaults/rc.conf projects/altix2/etc/devd/usb.conf projects/altix2/etc/freebsd-update.conf projects/altix2/etc/mtree/BSD.include.dist projects/altix2/etc/mtree/BSD.tests.dist projects/altix2/etc/mtree/BSD.usr.dist projects/altix2/etc/mtree/Makefile projects/altix2/etc/pkg/FreeBSD.conf projects/altix2/etc/rc.d/Makefile projects/altix2/etc/rc.d/ftp-proxy projects/altix2/etc/rc.d/ntpdate projects/altix2/etc/rc.d/pflog projects/altix2/etc/rc.d/rpcbind projects/altix2/etc/rc.d/syslogd projects/altix2/gnu/usr.bin/binutils/ld/Makefile projects/altix2/gnu/usr.bin/cc/Makefile.inc projects/altix2/gnu/usr.bin/cc/cc_tools/freebsd-native.h projects/altix2/include/Makefile projects/altix2/include/iconv.h projects/altix2/lib/Makefile projects/altix2/lib/atf/Makefile projects/altix2/lib/atf/Makefile.inc projects/altix2/lib/atf/libatf-c++/Makefile projects/altix2/lib/atf/libatf-c/Makefile projects/altix2/lib/clang/liblldbCore/Makefile projects/altix2/lib/clang/liblldbDataFormatters/Makefile projects/altix2/lib/clang/liblldbHostCommon/Makefile projects/altix2/lib/clang/liblldbPluginProcessElfCore/Makefile projects/altix2/lib/clang/liblldbPluginProcessPOSIX/Makefile projects/altix2/lib/clang/liblldbPluginSymbolFileDWARF/Makefile projects/altix2/lib/clang/liblldbTarget/Makefile projects/altix2/lib/clang/liblldbUtility/Makefile projects/altix2/lib/libc/amd64/SYS.h projects/altix2/lib/libc/amd64/gen/_setjmp.S projects/altix2/lib/libc/amd64/gen/setjmp.S projects/altix2/lib/libc/amd64/gen/sigsetjmp.S projects/altix2/lib/libc/amd64/sys/getcontext.S projects/altix2/lib/libc/amd64/sys/pipe.S projects/altix2/lib/libc/amd64/sys/reboot.S projects/altix2/lib/libc/amd64/sys/setlogin.S projects/altix2/lib/libc/amd64/sys/vfork.S projects/altix2/lib/libc/capability/Makefile.inc projects/altix2/lib/libc/gen/Makefile.inc projects/altix2/lib/libc/i386/SYS.h projects/altix2/lib/libc/i386/gen/_setjmp.S projects/altix2/lib/libc/i386/gen/setjmp.S projects/altix2/lib/libc/i386/gen/sigsetjmp.S projects/altix2/lib/libc/i386/string/strchr.S projects/altix2/lib/libc/i386/string/strrchr.S projects/altix2/lib/libc/i386/sys/Ovfork.S projects/altix2/lib/libc/i386/sys/getcontext.S projects/altix2/lib/libc/iconv/Makefile.inc projects/altix2/lib/libc/iconv/Symbol.map projects/altix2/lib/libc/iconv/citrus_csmapper.h projects/altix2/lib/libc/iconv/iconv.c projects/altix2/lib/libc/libc.ldscript projects/altix2/lib/libc/posix1e/acl.3 projects/altix2/lib/libc/posix1e/acl_is_trivial_np.3 projects/altix2/lib/libc/stdio/printf_l.3 projects/altix2/lib/libc/stdio/scanf_l.3 projects/altix2/lib/libc/string/strcasecmp.3 projects/altix2/lib/libc/string/strlcpy.3 projects/altix2/lib/libc/sys/Makefile.inc projects/altix2/lib/libc/sys/cap_ioctls_limit.2 projects/altix2/lib/libc/sys/cap_rights_limit.2 projects/altix2/lib/libc/sys/kqueue.2 projects/altix2/lib/libfetch/common.c projects/altix2/lib/libiconv_modules/UTF7/citrus_utf7.c projects/altix2/lib/libkse/arch/i386/i386/thr_getcontext.S projects/altix2/lib/libpam/libpam/Makefile projects/altix2/lib/libproc/proc_bkpt.c projects/altix2/lib/libproc/proc_sym.c projects/altix2/lib/libsmb/Makefile projects/altix2/lib/libutil/expand_number.3 projects/altix2/lib/libvmmapi/vmmapi.c projects/altix2/lib/libvmmapi/vmmapi.h projects/altix2/lib/msun/Makefile projects/altix2/lib/msun/src/s_round.c projects/altix2/lib/msun/src/s_roundf.c projects/altix2/lib/msun/src/s_roundl.c projects/altix2/libexec/Makefile projects/altix2/libexec/atf/Makefile projects/altix2/libexec/atf/Makefile.inc projects/altix2/libexec/atf/atf-check/Makefile projects/altix2/libexec/rbootd/bpf.c projects/altix2/libexec/rtld-elf/rtld.c projects/altix2/release/Makefile projects/altix2/release/doc/de_DE.ISO8859-1/early-adopter/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/errata/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/hardware/alpha/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/hardware/alpha/proc-alpha.xml projects/altix2/release/doc/de_DE.ISO8859-1/hardware/common/artheader.xml projects/altix2/release/doc/de_DE.ISO8859-1/hardware/common/dev.xml projects/altix2/release/doc/de_DE.ISO8859-1/hardware/common/intro.xml projects/altix2/release/doc/de_DE.ISO8859-1/hardware/i386/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/hardware/i386/proc-i386.xml projects/altix2/release/doc/de_DE.ISO8859-1/hardware/ia64/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/hardware/ia64/proc-ia64.xml projects/altix2/release/doc/de_DE.ISO8859-1/hardware/pc98/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/hardware/pc98/proc-pc98.xml projects/altix2/release/doc/de_DE.ISO8859-1/hardware/sparc64/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/hardware/sparc64/dev-sparc64.xml projects/altix2/release/doc/de_DE.ISO8859-1/hardware/sparc64/proc-sparc64.xml projects/altix2/release/doc/de_DE.ISO8859-1/installation/alpha/Makefile projects/altix2/release/doc/de_DE.ISO8859-1/installation/alpha/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/installation/common/abstract.xml projects/altix2/release/doc/de_DE.ISO8859-1/installation/common/artheader.xml projects/altix2/release/doc/de_DE.ISO8859-1/installation/common/install.ent projects/altix2/release/doc/de_DE.ISO8859-1/installation/common/install.xml projects/altix2/release/doc/de_DE.ISO8859-1/installation/common/layout.xml projects/altix2/release/doc/de_DE.ISO8859-1/installation/common/trouble.xml projects/altix2/release/doc/de_DE.ISO8859-1/installation/common/upgrade.xml projects/altix2/release/doc/de_DE.ISO8859-1/installation/i386/Makefile projects/altix2/release/doc/de_DE.ISO8859-1/installation/i386/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/installation/ia64/Makefile projects/altix2/release/doc/de_DE.ISO8859-1/installation/ia64/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/installation/pc98/Makefile projects/altix2/release/doc/de_DE.ISO8859-1/installation/pc98/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/installation/sparc64/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/installation/sparc64/install.xml projects/altix2/release/doc/de_DE.ISO8859-1/readme/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/relnotes/alpha/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/relnotes/common/new.xml projects/altix2/release/doc/de_DE.ISO8859-1/relnotes/i386/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/relnotes/ia64/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/relnotes/pc98/article.xml projects/altix2/release/doc/de_DE.ISO8859-1/relnotes/sparc64/article.xml projects/altix2/release/doc/en_US.ISO8859-1/errata/article.xml projects/altix2/release/doc/en_US.ISO8859-1/hardware/article.xml projects/altix2/release/doc/en_US.ISO8859-1/readme/article.xml projects/altix2/release/doc/en_US.ISO8859-1/relnotes/article.xml projects/altix2/release/doc/fr_FR.ISO8859-1/early-adopter/article.xml projects/altix2/release/doc/fr_FR.ISO8859-1/errata/article.xml projects/altix2/release/doc/fr_FR.ISO8859-1/hardware/alpha/article.xml projects/altix2/release/doc/fr_FR.ISO8859-1/hardware/alpha/proc-alpha.xml projects/altix2/release/doc/fr_FR.ISO8859-1/hardware/common/artheader.xml projects/altix2/release/doc/fr_FR.ISO8859-1/hardware/common/dev.xml projects/altix2/release/doc/fr_FR.ISO8859-1/hardware/common/intro.xml projects/altix2/release/doc/fr_FR.ISO8859-1/hardware/i386/article.xml projects/altix2/release/doc/fr_FR.ISO8859-1/hardware/i386/proc-i386.xml projects/altix2/release/doc/fr_FR.ISO8859-1/hardware/ia64/article.xml projects/altix2/release/doc/fr_FR.ISO8859-1/hardware/ia64/proc-ia64.xml projects/altix2/release/doc/fr_FR.ISO8859-1/hardware/pc98/article.xml projects/altix2/release/doc/fr_FR.ISO8859-1/hardware/pc98/proc-pc98.xml projects/altix2/release/doc/fr_FR.ISO8859-1/hardware/sparc64/article.xml projects/altix2/release/doc/fr_FR.ISO8859-1/hardware/sparc64/dev-sparc64.xml projects/altix2/release/doc/fr_FR.ISO8859-1/hardware/sparc64/proc-sparc64.xml projects/altix2/release/doc/fr_FR.ISO8859-1/installation/alpha/Makefile projects/altix2/release/doc/fr_FR.ISO8859-1/installation/alpha/article.xml projects/altix2/release/doc/fr_FR.ISO8859-1/installation/common/artheader.xml projects/altix2/release/doc/fr_FR.ISO8859-1/installation/common/install.ent projects/altix2/release/doc/fr_FR.ISO8859-1/installation/common/install.xml projects/altix2/release/doc/fr_FR.ISO8859-1/installation/common/layout.xml projects/altix2/release/doc/fr_FR.ISO8859-1/installation/common/trouble.xml projects/altix2/release/doc/fr_FR.ISO8859-1/installation/common/upgrade.xml projects/altix2/release/doc/fr_FR.ISO8859-1/installation/i386/Makefile projects/altix2/release/doc/fr_FR.ISO8859-1/installation/i386/article.xml projects/altix2/release/doc/fr_FR.ISO8859-1/installation/pc98/Makefile projects/altix2/release/doc/fr_FR.ISO8859-1/installation/pc98/article.xml projects/altix2/release/doc/fr_FR.ISO8859-1/installation/sparc64/article.xml projects/altix2/release/doc/fr_FR.ISO8859-1/installation/sparc64/install.xml projects/altix2/release/doc/fr_FR.ISO8859-1/relnotes/alpha/article.xml projects/altix2/release/doc/fr_FR.ISO8859-1/relnotes/common/new.xml projects/altix2/release/doc/fr_FR.ISO8859-1/relnotes/i386/article.xml projects/altix2/release/doc/ja_JP.eucJP/errata/article.xml projects/altix2/release/doc/ja_JP.eucJP/hardware/alpha/article.xml projects/altix2/release/doc/ja_JP.eucJP/hardware/amd64/article.xml projects/altix2/release/doc/ja_JP.eucJP/hardware/amd64/proc-amd64.xml projects/altix2/release/doc/ja_JP.eucJP/hardware/common/artheader.xml projects/altix2/release/doc/ja_JP.eucJP/hardware/common/dev.xml projects/altix2/release/doc/ja_JP.eucJP/hardware/common/intro.xml projects/altix2/release/doc/ja_JP.eucJP/hardware/i386/article.xml projects/altix2/release/doc/ja_JP.eucJP/hardware/i386/proc-i386.xml projects/altix2/release/doc/ja_JP.eucJP/hardware/ia64/article.xml projects/altix2/release/doc/ja_JP.eucJP/hardware/ia64/proc-ia64.xml projects/altix2/release/doc/ja_JP.eucJP/hardware/pc98/article.xml projects/altix2/release/doc/ja_JP.eucJP/hardware/pc98/proc-pc98.xml projects/altix2/release/doc/ja_JP.eucJP/hardware/sparc64/article.xml projects/altix2/release/doc/ja_JP.eucJP/hardware/sparc64/proc-sparc64.xml projects/altix2/release/doc/ja_JP.eucJP/relnotes/alpha/article.xml projects/altix2/release/doc/ja_JP.eucJP/relnotes/amd64/article.xml projects/altix2/release/doc/ja_JP.eucJP/relnotes/common/new.xml projects/altix2/release/doc/ja_JP.eucJP/relnotes/i386/article.xml projects/altix2/release/doc/ja_JP.eucJP/relnotes/ia64/article.xml projects/altix2/release/doc/ja_JP.eucJP/relnotes/pc98/article.xml projects/altix2/release/doc/ja_JP.eucJP/relnotes/sparc64/article.xml projects/altix2/release/doc/ja_JP.eucJP/share/xml/catalog.xml projects/altix2/release/doc/ru_RU.KOI8-R/errata/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/hardware/alpha/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/hardware/amd64/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/hardware/amd64/proc-amd64.xml projects/altix2/release/doc/ru_RU.KOI8-R/hardware/common/artheader.xml projects/altix2/release/doc/ru_RU.KOI8-R/hardware/common/dev.xml projects/altix2/release/doc/ru_RU.KOI8-R/hardware/common/intro.xml projects/altix2/release/doc/ru_RU.KOI8-R/hardware/i386/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/hardware/i386/proc-i386.xml projects/altix2/release/doc/ru_RU.KOI8-R/hardware/ia64/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/hardware/ia64/proc-ia64.xml projects/altix2/release/doc/ru_RU.KOI8-R/hardware/pc98/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/hardware/pc98/proc-pc98.xml projects/altix2/release/doc/ru_RU.KOI8-R/hardware/sparc64/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/hardware/sparc64/proc-sparc64.xml projects/altix2/release/doc/ru_RU.KOI8-R/installation/alpha/Makefile projects/altix2/release/doc/ru_RU.KOI8-R/installation/alpha/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/installation/amd64/Makefile projects/altix2/release/doc/ru_RU.KOI8-R/installation/amd64/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/installation/common/artheader.xml projects/altix2/release/doc/ru_RU.KOI8-R/installation/common/install.ent projects/altix2/release/doc/ru_RU.KOI8-R/installation/common/install.xml projects/altix2/release/doc/ru_RU.KOI8-R/installation/common/layout.xml projects/altix2/release/doc/ru_RU.KOI8-R/installation/common/trouble.xml projects/altix2/release/doc/ru_RU.KOI8-R/installation/common/upgrade.xml projects/altix2/release/doc/ru_RU.KOI8-R/installation/i386/Makefile projects/altix2/release/doc/ru_RU.KOI8-R/installation/i386/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/installation/ia64/Makefile projects/altix2/release/doc/ru_RU.KOI8-R/installation/ia64/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/installation/pc98/Makefile projects/altix2/release/doc/ru_RU.KOI8-R/installation/pc98/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/installation/sparc64/Makefile projects/altix2/release/doc/ru_RU.KOI8-R/installation/sparc64/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/readme/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/relnotes/alpha/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/relnotes/amd64/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/relnotes/common/new.xml projects/altix2/release/doc/ru_RU.KOI8-R/relnotes/i386/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/relnotes/ia64/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/relnotes/pc98/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/relnotes/sparc64/article.xml projects/altix2/release/doc/ru_RU.KOI8-R/share/xml/catalog.xml projects/altix2/release/doc/share/misc/man2hwnotes.pl projects/altix2/release/doc/share/xml/catalog.xml projects/altix2/release/doc/zh_CN.GB2312/errata/article.xml projects/altix2/release/doc/zh_CN.GB2312/hardware/article.xml projects/altix2/release/doc/zh_CN.GB2312/readme/article.xml projects/altix2/release/doc/zh_CN.GB2312/relnotes/article.xml projects/altix2/release/picobsd/build/picobsd projects/altix2/release/release.sh projects/altix2/sbin/devd/devd.cc projects/altix2/sbin/geom/class/mirror/geom_mirror.c projects/altix2/sbin/geom/class/mirror/gmirror.8 projects/altix2/sbin/hastd/hastd.8 projects/altix2/sbin/ifconfig/ifconfig.c projects/altix2/sbin/nvmecontrol/firmware.c projects/altix2/sbin/nvmecontrol/perftest.c projects/altix2/sbin/sysctl/sysctl.8 projects/altix2/share/Makefile projects/altix2/share/dict/README projects/altix2/share/doc/Makefile projects/altix2/share/examples/Makefile projects/altix2/share/examples/libusb20/Makefile projects/altix2/share/examples/libusb20/bulk.c projects/altix2/share/examples/libusb20/control.c projects/altix2/share/i18n/csmapper/JIS/JISX0201-KANA%UCS.src projects/altix2/share/i18n/csmapper/JIS/JISX0208@1990%UCS.src projects/altix2/share/i18n/csmapper/JIS/UCS%JISX0201-KANA.src projects/altix2/share/i18n/csmapper/JIS/UCS%JISX0208@1990.src projects/altix2/share/i18n/csmapper/JIS/charset.pivot.JIS.src projects/altix2/share/i18n/csmapper/JIS/mapper.dir.JIS.src projects/altix2/share/i18n/esdb/EUC/EUC-JP.src projects/altix2/share/i18n/esdb/UTF/UTF.alias projects/altix2/share/man/man1/Makefile projects/altix2/share/man/man3/tree.3 projects/altix2/share/man/man4/Makefile projects/altix2/share/man/man4/altera_atse.4 projects/altix2/share/man/man4/capsicum.4 projects/altix2/share/man/man4/ddb.4 projects/altix2/share/man/man4/gpio.4 projects/altix2/share/man/man4/natm.4 projects/altix2/share/man/man4/netmap.4 projects/altix2/share/man/man4/pf.4 projects/altix2/share/man/man4/run.4 projects/altix2/share/man/man4/runfw.4 projects/altix2/share/man/man4/tcp.4 projects/altix2/share/man/man5/rc.conf.5 projects/altix2/share/man/man5/src.conf.5 projects/altix2/share/man/man7/release.7 projects/altix2/share/man/man9/ifnet.9 projects/altix2/share/misc/bsd-family-tree projects/altix2/share/misc/committers-ports.dot (contents, props changed) projects/altix2/share/misc/committers-src.dot projects/altix2/share/mk/Makefile projects/altix2/share/mk/atf.test.mk projects/altix2/share/mk/bsd.libnames.mk projects/altix2/share/mk/bsd.own.mk projects/altix2/share/mk/bsd.prog.mk projects/altix2/share/mk/bsd.progs.mk projects/altix2/share/mk/plain.test.mk projects/altix2/sys/amd64/amd64/identcpu.c projects/altix2/sys/amd64/amd64/machdep.c projects/altix2/sys/amd64/ia32/ia32_signal.c projects/altix2/sys/amd64/include/asm.h projects/altix2/sys/amd64/include/vmm.h (contents, props changed) projects/altix2/sys/amd64/include/vmm_dev.h (contents, props changed) projects/altix2/sys/amd64/include/vmparam.h projects/altix2/sys/amd64/linux32/linux32_sysvec.c projects/altix2/sys/amd64/vmm/io/vlapic.c projects/altix2/sys/amd64/vmm/io/vlapic.h projects/altix2/sys/amd64/vmm/vmm.c projects/altix2/sys/amd64/vmm/vmm_dev.c projects/altix2/sys/amd64/vmm/vmm_lapic.c projects/altix2/sys/arm/allwinner/a10_machdep.c projects/altix2/sys/arm/allwinner/a20/files.a20 projects/altix2/sys/arm/allwinner/files.a10 projects/altix2/sys/arm/arm/bus_space_generic.c projects/altix2/sys/arm/arm/machdep.c projects/altix2/sys/arm/arm/nexus.c projects/altix2/sys/arm/arm/pmap-v6.c projects/altix2/sys/arm/arm/pmap.c projects/altix2/sys/arm/arm/trap.c projects/altix2/sys/arm/at91/at91.c projects/altix2/sys/arm/at91/at91_machdep.c projects/altix2/sys/arm/broadcom/bcm2835/bcm2835_bsc.c projects/altix2/sys/arm/broadcom/bcm2835/bcm2835_bscvar.h projects/altix2/sys/arm/broadcom/bcm2835/bcm2835_fb.c projects/altix2/sys/arm/broadcom/bcm2835/bcm2835_machdep.c projects/altix2/sys/arm/broadcom/bcm2835/files.bcm2835 projects/altix2/sys/arm/conf/BEAGLEBONE projects/altix2/sys/arm/econa/econa_machdep.c projects/altix2/sys/arm/econa/uart_bus_ec.c projects/altix2/sys/arm/econa/uart_cpu_ec.c projects/altix2/sys/arm/freescale/imx/files.imx51 projects/altix2/sys/arm/freescale/imx/files.imx53 projects/altix2/sys/arm/freescale/imx/files.imx6 projects/altix2/sys/arm/freescale/imx/imx51_machdep.c projects/altix2/sys/arm/freescale/imx/imx53_machdep.c projects/altix2/sys/arm/freescale/imx/imx6_anatopreg.h projects/altix2/sys/arm/freescale/imx/imx6_machdep.c projects/altix2/sys/arm/freescale/imx/imx_machdep.c projects/altix2/sys/arm/freescale/imx/imx_sdhci.c projects/altix2/sys/arm/freescale/imx/tzic.c projects/altix2/sys/arm/include/fdt.h projects/altix2/sys/arm/include/machdep.h projects/altix2/sys/arm/include/pmap.h projects/altix2/sys/arm/include/vmparam.h projects/altix2/sys/arm/lpc/lpc_machdep.c projects/altix2/sys/arm/mv/mv_localbus.c projects/altix2/sys/arm/mv/mv_machdep.c projects/altix2/sys/arm/mv/mv_pci.c projects/altix2/sys/arm/mv/mvvar.h projects/altix2/sys/arm/rockchip/files.rk30xx projects/altix2/sys/arm/rockchip/rk30xx_machdep.c projects/altix2/sys/arm/s3c2xx0/files.s3c2xx0 projects/altix2/sys/arm/s3c2xx0/s3c24x0_machdep.c projects/altix2/sys/arm/s3c2xx0/s3c2xx0_space.c projects/altix2/sys/arm/sa11x0/assabet_machdep.c projects/altix2/sys/arm/samsung/exynos/exynos5_machdep.c projects/altix2/sys/arm/samsung/exynos/files.exynos5 projects/altix2/sys/arm/tegra/tegra2_machdep.c projects/altix2/sys/arm/ti/files.ti projects/altix2/sys/arm/ti/ti_machdep.c projects/altix2/sys/arm/ti/ti_sdhci.c projects/altix2/sys/arm/versatile/versatile_machdep.c projects/altix2/sys/arm/xilinx/zy7_machdep.c projects/altix2/sys/arm/xscale/i80321/ep80219_machdep.c projects/altix2/sys/arm/xscale/i80321/iq31244_machdep.c projects/altix2/sys/arm/xscale/i8134x/crb_machdep.c projects/altix2/sys/arm/xscale/ixp425/avila_machdep.c projects/altix2/sys/arm/xscale/pxa/pxa_machdep.c projects/altix2/sys/boot/fdt/dts/am335x.dtsi projects/altix2/sys/boot/fdt/dts/beaglebone-black.dts projects/altix2/sys/boot/forth/beastie.4th projects/altix2/sys/boot/forth/loader.4th projects/altix2/sys/boot/forth/loader.4th.8 projects/altix2/sys/boot/forth/loader.conf projects/altix2/sys/boot/forth/loader.conf.5 projects/altix2/sys/boot/forth/loader.rc projects/altix2/sys/boot/forth/menu-commands.4th projects/altix2/sys/boot/forth/menu.4th projects/altix2/sys/boot/forth/menu.rc projects/altix2/sys/boot/forth/menusets.4th projects/altix2/sys/boot/i386/loader/loader.rc projects/altix2/sys/cam/cam_xpt.c projects/altix2/sys/cam/ctl/ctl.c projects/altix2/sys/cam/ctl/ctl_frontend.c projects/altix2/sys/cam/ctl/ctl_private.h projects/altix2/sys/cam/scsi/scsi_da.c projects/altix2/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c projects/altix2/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c projects/altix2/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_userhold.c projects/altix2/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lz4.c projects/altix2/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c projects/altix2/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_compress.h projects/altix2/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c projects/altix2/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c projects/altix2/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h projects/altix2/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap_impl.h projects/altix2/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c projects/altix2/sys/cddl/dev/fbt/fbt_powerpc.c projects/altix2/sys/compat/linux/linux_ioctl.c projects/altix2/sys/compat/svr4/svr4_sockio.c projects/altix2/sys/conf/files projects/altix2/sys/conf/files.amd64 projects/altix2/sys/conf/files.arm projects/altix2/sys/conf/files.i386 projects/altix2/sys/conf/files.powerpc projects/altix2/sys/conf/kern.pre.mk projects/altix2/sys/conf/options.arm projects/altix2/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c projects/altix2/sys/crypto/aesni/aesencdec.h projects/altix2/sys/crypto/aesni/aesni.c projects/altix2/sys/crypto/aesni/aesni.h projects/altix2/sys/crypto/aesni/aesni_wrap.c projects/altix2/sys/dev/aacraid/aacraid.c projects/altix2/sys/dev/aacraid/aacraid_cam.c projects/altix2/sys/dev/aacraid/aacraid_reg.h projects/altix2/sys/dev/aacraid/aacraid_var.h projects/altix2/sys/dev/acpica/acpi_hpet.c projects/altix2/sys/dev/ahci/ahci.c projects/altix2/sys/dev/ahci/ahci.h projects/altix2/sys/dev/aic7xxx/aicasm/Makefile projects/altix2/sys/dev/ata/ata-pci.h projects/altix2/sys/dev/ata/chipsets/ata-intel.c projects/altix2/sys/dev/bxe/bxe.c projects/altix2/sys/dev/bxe/bxe.h projects/altix2/sys/dev/bxe/bxe_elink.c projects/altix2/sys/dev/bxe/ecore_hsi.h projects/altix2/sys/dev/bxe/ecore_init.h projects/altix2/sys/dev/bxe/ecore_reg.h projects/altix2/sys/dev/bxe/ecore_sp.c projects/altix2/sys/dev/bxe/ecore_sp.h projects/altix2/sys/dev/cxgbe/t4_main.c projects/altix2/sys/dev/drm2/drm.h projects/altix2/sys/dev/drm2/drmP.h projects/altix2/sys/dev/drm2/drm_crtc.c projects/altix2/sys/dev/drm2/drm_drv.c projects/altix2/sys/dev/drm2/drm_ioctl.c projects/altix2/sys/dev/drm2/radeon/radeon_display.c projects/altix2/sys/dev/drm2/radeon/radeon_gem.c projects/altix2/sys/dev/e1000/if_em.c projects/altix2/sys/dev/e1000/if_igb.c projects/altix2/sys/dev/e1000/if_lem.c projects/altix2/sys/dev/e1000/if_lem.h projects/altix2/sys/dev/fdt/fdt_pci.c projects/altix2/sys/dev/fdt/simplebus.c projects/altix2/sys/dev/gpio/gpiobus.c projects/altix2/sys/dev/ichsmb/ichsmb_pci.c projects/altix2/sys/dev/isp/isp.c projects/altix2/sys/dev/isp/isp_freebsd.h projects/altix2/sys/dev/isp/isp_library.c projects/altix2/sys/dev/isp/isp_pci.c projects/altix2/sys/dev/iwn/if_iwn.c projects/altix2/sys/dev/iwn/if_iwn_debug.h projects/altix2/sys/dev/iwn/if_iwn_devid.h projects/altix2/sys/dev/iwn/if_iwnreg.h projects/altix2/sys/dev/iwn/if_iwnvar.h projects/altix2/sys/dev/ixgbe/ixgbe.c projects/altix2/sys/dev/mii/atphy.c projects/altix2/sys/dev/mii/miidevs projects/altix2/sys/dev/msk/if_msk.c projects/altix2/sys/dev/nand/nand.c projects/altix2/sys/dev/nand/nand.h projects/altix2/sys/dev/nand/nand_cdev.c projects/altix2/sys/dev/nand/nand_generic.c projects/altix2/sys/dev/nand/nand_geom.c projects/altix2/sys/dev/nand/nand_id.c projects/altix2/sys/dev/netmap/if_em_netmap.h projects/altix2/sys/dev/netmap/if_igb_netmap.h projects/altix2/sys/dev/netmap/if_lem_netmap.h projects/altix2/sys/dev/netmap/if_re_netmap.h projects/altix2/sys/dev/netmap/ixgbe_netmap.h projects/altix2/sys/dev/netmap/netmap.c projects/altix2/sys/dev/netmap/netmap_kern.h projects/altix2/sys/dev/netmap/netmap_mem2.c projects/altix2/sys/dev/nvme/nvme_ctrlr.c projects/altix2/sys/dev/nvme/nvme_ns.c projects/altix2/sys/dev/oce/oce_hw.h projects/altix2/sys/dev/oce/oce_sysctl.c projects/altix2/sys/dev/ofw/ofw_bus_if.m projects/altix2/sys/dev/ofw/ofw_fdt.c projects/altix2/sys/dev/ppc/ppc_pci.c projects/altix2/sys/dev/qlxgbe/ql_hw.c projects/altix2/sys/dev/qlxgbe/ql_hw.h projects/altix2/sys/dev/qlxgbe/ql_ioctl.c projects/altix2/sys/dev/qlxge/qls_ioctl.c projects/altix2/sys/dev/random/harvest.c projects/altix2/sys/dev/re/if_re.c projects/altix2/sys/dev/sound/pci/hda/hdac.c projects/altix2/sys/dev/sound/pci/hda/hdac.h projects/altix2/sys/dev/sound/pci/hda/hdacc.c projects/altix2/sys/dev/tsec/if_tsec.c projects/altix2/sys/dev/tsec/if_tsec.h projects/altix2/sys/dev/tsec/if_tsec_fdt.c projects/altix2/sys/dev/tsec/if_tsecreg.h projects/altix2/sys/dev/uart/uart.h projects/altix2/sys/dev/uart/uart_bus_fdt.c projects/altix2/sys/dev/uart/uart_bus_pci.c projects/altix2/sys/dev/uart/uart_cpu_fdt.c projects/altix2/sys/dev/usb/controller/ehci_pci.c projects/altix2/sys/dev/usb/serial/u3g.c projects/altix2/sys/dev/usb/usbdevs projects/altix2/sys/dev/usb/wlan/if_rsu.c projects/altix2/sys/dev/usb/wlan/if_rum.c projects/altix2/sys/dev/usb/wlan/if_run.c projects/altix2/sys/dev/usb/wlan/if_runreg.h projects/altix2/sys/dev/usb/wlan/if_runvar.h projects/altix2/sys/dev/usb/wlan/if_uath.c projects/altix2/sys/dev/usb/wlan/if_upgt.c projects/altix2/sys/dev/usb/wlan/if_ural.c projects/altix2/sys/dev/usb/wlan/if_urtw.c projects/altix2/sys/dev/usb/wlan/if_urtwn.c projects/altix2/sys/dev/usb/wlan/if_zyd.c projects/altix2/sys/dev/xen/balloon/balloon.c projects/altix2/sys/dev/xen/control/control.c projects/altix2/sys/dev/xen/netback/netback.c projects/altix2/sys/dev/xen/netback/netback_unit_tests.c projects/altix2/sys/dev/xen/netfront/netfront.c projects/altix2/sys/fs/nfs/nfs_commonkrpc.c projects/altix2/sys/fs/nfs/nfs_commonsubs.c projects/altix2/sys/fs/nfs/nfs_var.h projects/altix2/sys/fs/nfsclient/nfs_clcomsubs.c projects/altix2/sys/fs/pseudofs/pseudofs_vnops.c projects/altix2/sys/geom/eli/g_eli.c projects/altix2/sys/geom/eli/g_eli_ctl.c projects/altix2/sys/geom/mirror/g_mirror.c projects/altix2/sys/geom/mirror/g_mirror_ctl.c projects/altix2/sys/geom/multipath/g_multipath.c projects/altix2/sys/geom/multipath/g_multipath.h projects/altix2/sys/geom/part/g_part_gpt.c projects/altix2/sys/i386/conf/XEN projects/altix2/sys/i386/i386/identcpu.c projects/altix2/sys/i386/i386/machdep.c projects/altix2/sys/i386/include/asm.h projects/altix2/sys/i386/include/vm86.h projects/altix2/sys/i386/include/vmparam.h projects/altix2/sys/i386/linux/linux_sysvec.c projects/altix2/sys/ia64/include/vmparam.h projects/altix2/sys/kern/capabilities.conf projects/altix2/sys/kern/kern_environment.c projects/altix2/sys/kern/kern_event.c projects/altix2/sys/kern/kern_exit.c projects/altix2/sys/kern/kern_jail.c projects/altix2/sys/kern/kern_malloc.c projects/altix2/sys/kern/kern_sig.c projects/altix2/sys/kern/subr_capability.c projects/altix2/sys/kern/subr_param.c projects/altix2/sys/kern/subr_taskqueue.c projects/altix2/sys/kern/sys_generic.c projects/altix2/sys/kern/sysv_shm.c projects/altix2/sys/kern/uipc_mbuf.c projects/altix2/sys/kern/uipc_mqueue.c projects/altix2/sys/kern/uipc_socket.c projects/altix2/sys/kern/vfs_bio.c projects/altix2/sys/kern/vfs_lookup.c projects/altix2/sys/kern/vfs_vnops.c projects/altix2/sys/kern/vnode_if.src projects/altix2/sys/mips/cavium/std.octeon1 projects/altix2/sys/mips/include/vmparam.h projects/altix2/sys/mips/mips/nexus.c projects/altix2/sys/modules/aic7xxx/Makefile projects/altix2/sys/modules/aic7xxx/ahc/Makefile projects/altix2/sys/modules/aic7xxx/ahd/Makefile projects/altix2/sys/modules/bwi/Makefile projects/altix2/sys/modules/iwnfw/Makefile projects/altix2/sys/modules/usb/Makefile projects/altix2/sys/modules/vmm/Makefile projects/altix2/sys/net/bpf.c projects/altix2/sys/net/if.c projects/altix2/sys/net/if.h projects/altix2/sys/net/if_ethersubr.c projects/altix2/sys/net/if_gif.c projects/altix2/sys/net/if_gre.c projects/altix2/sys/net/if_tap.c projects/altix2/sys/net/if_var.h projects/altix2/sys/net/netmap.h projects/altix2/sys/net80211/ieee80211_amrr.c projects/altix2/sys/net80211/ieee80211_output.c projects/altix2/sys/netgraph/ng_pipe.c projects/altix2/sys/netinet/if_ether.c projects/altix2/sys/netinet/in.c projects/altix2/sys/netinet/in_rmx.c projects/altix2/sys/netinet/in_var.h projects/altix2/sys/netinet/raw_ip.c projects/altix2/sys/netinet/sctp_asconf.c projects/altix2/sys/netinet/sctp_auth.c projects/altix2/sys/netinet/sctp_auth.h projects/altix2/sys/netinet/sctp_bsd_addr.c projects/altix2/sys/netinet/sctp_indata.c projects/altix2/sys/netinet/sctp_output.c projects/altix2/sys/netinet/sctp_pcb.c projects/altix2/sys/netinet/sctp_usrreq.c projects/altix2/sys/netinet/sctputil.c projects/altix2/sys/netinet/tcp_subr.c projects/altix2/sys/netinet/tcp_usrreq.c projects/altix2/sys/netinet6/in6.c projects/altix2/sys/netinet6/nd6_nbr.c projects/altix2/sys/netinet6/sctp6_usrreq.c projects/altix2/sys/netipsec/ipsec_input.c projects/altix2/sys/netpfil/ipfw/ip_fw2.c projects/altix2/sys/netpfil/pf/pf.c projects/altix2/sys/netpfil/pf/pf.h projects/altix2/sys/netpfil/pf/pf_ioctl.c projects/altix2/sys/netpfil/pf/pf_lb.c projects/altix2/sys/netsmb/smb_trantcp.c projects/altix2/sys/ofed/drivers/net/mlx4/en_ethtool.c projects/altix2/sys/ofed/drivers/net/mlx4/en_netdev.c projects/altix2/sys/ofed/drivers/net/mlx4/mlx4_en.h projects/altix2/sys/ofed/include/linux/bitops.h projects/altix2/sys/pc98/pc98/machdep.c projects/altix2/sys/powerpc/aim/mmu_oea64.c projects/altix2/sys/powerpc/aim/trap.c projects/altix2/sys/powerpc/booke/locore.S projects/altix2/sys/powerpc/booke/machdep.c projects/altix2/sys/powerpc/booke/mp_cpudep.c projects/altix2/sys/powerpc/booke/platform_bare.c projects/altix2/sys/powerpc/booke/pmap.c projects/altix2/sys/powerpc/booke/trap.c projects/altix2/sys/powerpc/booke/trap_subr.S projects/altix2/sys/powerpc/fpu/fpu_emu.c projects/altix2/sys/powerpc/fpu/fpu_explode.c projects/altix2/sys/powerpc/include/counter.h projects/altix2/sys/powerpc/include/param.h projects/altix2/sys/powerpc/include/pcb.h projects/altix2/sys/powerpc/include/pcpu.h projects/altix2/sys/powerpc/include/trap.h projects/altix2/sys/powerpc/include/vmparam.h projects/altix2/sys/powerpc/mpc85xx/lbc.c projects/altix2/sys/powerpc/mpc85xx/mpc85xx.h projects/altix2/sys/powerpc/mpc85xx/pci_mpc85xx.c projects/altix2/sys/powerpc/ofw/ofw_machdep.c projects/altix2/sys/powerpc/ofw/ofw_pcibus.c projects/altix2/sys/powerpc/ofw/ofw_syscons.c projects/altix2/sys/powerpc/powermac/macio.c projects/altix2/sys/powerpc/powermac/uninorth.c projects/altix2/sys/powerpc/powermac/uninorthpci.c projects/altix2/sys/powerpc/powermac/uninorthvar.h projects/altix2/sys/powerpc/powerpc/dump_machdep.c projects/altix2/sys/powerpc/powerpc/exec_machdep.c projects/altix2/sys/powerpc/powerpc/fpu.c projects/altix2/sys/powerpc/powerpc/genassym.c projects/altix2/sys/powerpc/pseries/plpar_iommu.c projects/altix2/sys/powerpc/pseries/rtas_pci.c projects/altix2/sys/rpc/svc.c projects/altix2/sys/sparc64/include/vmparam.h projects/altix2/sys/sys/bufobj.h projects/altix2/sys/sys/capability.h projects/altix2/sys/sys/jail.h projects/altix2/sys/sys/mount.h projects/altix2/sys/sys/param.h projects/altix2/sys/sys/random.h projects/altix2/sys/sys/sockio.h projects/altix2/sys/sys/systm.h projects/altix2/sys/ufs/ffs/ffs_softdep.c projects/altix2/sys/ufs/ffs/softdep.h projects/altix2/sys/vm/uma_core.c projects/altix2/sys/vm/uma_int.h projects/altix2/sys/vm/vm_fault.c projects/altix2/sys/vm/vm_map.c projects/altix2/sys/vm/vm_object.c projects/altix2/sys/vm/vm_pageout.c projects/altix2/sys/x86/cpufreq/hwpstate.c projects/altix2/sys/x86/include/psl.h projects/altix2/sys/x86/include/specialreg.h projects/altix2/sys/x86/iommu/busdma_dmar.c projects/altix2/sys/x86/iommu/intel_ctx.c projects/altix2/sys/x86/iommu/intel_dmar.h projects/altix2/sys/x86/iommu/intel_drv.c projects/altix2/sys/x86/iommu/intel_fault.c projects/altix2/sys/x86/iommu/intel_gas.c projects/altix2/sys/x86/iommu/intel_idpgtbl.c projects/altix2/sys/x86/iommu/intel_reg.h projects/altix2/sys/x86/iommu/intel_utils.c projects/altix2/tests/Makefile projects/altix2/tests/README projects/altix2/tools/build/mk/OptionalObsoleteFiles.inc projects/altix2/tools/regression/fsx/fsx.c projects/altix2/tools/regression/usr.sbin/etcupdate/always.sh projects/altix2/tools/regression/usr.sbin/etcupdate/conflicts.sh projects/altix2/tools/regression/usr.sbin/etcupdate/fbsdid.sh projects/altix2/tools/regression/usr.sbin/etcupdate/ignore.sh projects/altix2/tools/regression/usr.sbin/etcupdate/tests.sh projects/altix2/tools/tools/ath/athstats/Makefile projects/altix2/tools/tools/bus_autoconf/bus_autoconf.sh projects/altix2/tools/tools/netmap/nm_util.c projects/altix2/tools/tools/netmap/pkt-gen.c projects/altix2/tools/tools/syscall_timing/syscall_timing.c projects/altix2/tools/tools/umastat/umastat.c projects/altix2/usr.bin/Makefile projects/altix2/usr.bin/atf/Makefile projects/altix2/usr.bin/atf/Makefile.inc projects/altix2/usr.bin/atf/atf-sh/Makefile projects/altix2/usr.bin/calendar/calendars/calendar.freebsd (contents, props changed) projects/altix2/usr.bin/cmp/cmp.1 projects/altix2/usr.bin/dtc/fdt.cc projects/altix2/usr.bin/from/from.c projects/altix2/usr.bin/iscsictl/iscsictl.c projects/altix2/usr.bin/limits/limits.1 projects/altix2/usr.bin/login/login.c projects/altix2/usr.bin/procstat/procstat_files.c projects/altix2/usr.bin/split/Makefile projects/altix2/usr.bin/split/split.c projects/altix2/usr.bin/svn/svn/Makefile projects/altix2/usr.bin/svn/svn_private_config.h projects/altix2/usr.bin/uname/uname.1 projects/altix2/usr.sbin/arp/arp.4 projects/altix2/usr.sbin/bhyve/Makefile projects/altix2/usr.sbin/bhyve/acpi.c projects/altix2/usr.sbin/bhyve/bhyverun.c projects/altix2/usr.sbin/bhyve/block_if.c projects/altix2/usr.sbin/bhyve/mevent.c projects/altix2/usr.sbin/bhyve/pci_ahci.c projects/altix2/usr.sbin/bhyve/pci_emul.c projects/altix2/usr.sbin/bhyve/pci_lpc.c projects/altix2/usr.sbin/bhyve/pci_virtio_net.c projects/altix2/usr.sbin/bhyve/pit_8254.c projects/altix2/usr.sbin/bsdconfig/Makefile projects/altix2/usr.sbin/bsdconfig/bsdconfig projects/altix2/usr.sbin/bsdconfig/dot/dot projects/altix2/usr.sbin/bsdconfig/include/messages.subr projects/altix2/usr.sbin/bsdconfig/networking/devices projects/altix2/usr.sbin/bsdconfig/networking/share/device.subr projects/altix2/usr.sbin/bsdconfig/packages/packages projects/altix2/usr.sbin/bsdconfig/share/common.subr projects/altix2/usr.sbin/bsdconfig/share/device.subr projects/altix2/usr.sbin/bsdconfig/share/dialog.subr projects/altix2/usr.sbin/bsdconfig/share/media/cdrom.subr projects/altix2/usr.sbin/bsdconfig/share/media/http.subr projects/altix2/usr.sbin/bsdconfig/share/media/tcpip.subr projects/altix2/usr.sbin/bsdconfig/share/packages/index.subr projects/altix2/usr.sbin/bsdconfig/share/packages/packages.subr projects/altix2/usr.sbin/bsdconfig/share/strings.subr projects/altix2/usr.sbin/bsdconfig/share/sysrc.subr projects/altix2/usr.sbin/bsdconfig/share/variable.subr projects/altix2/usr.sbin/bsdconfig/startup/share/rcconf.subr projects/altix2/usr.sbin/bsdinstall/bsdinstall projects/altix2/usr.sbin/bsdinstall/bsdinstall.8 projects/altix2/usr.sbin/bsdinstall/scripts/auto projects/altix2/usr.sbin/bsdinstall/scripts/config projects/altix2/usr.sbin/bsdinstall/scripts/docsinstall projects/altix2/usr.sbin/bsdinstall/scripts/jail projects/altix2/usr.sbin/bsdinstall/scripts/netconfig_ipv4 projects/altix2/usr.sbin/bsdinstall/scripts/netconfig_ipv6 projects/altix2/usr.sbin/bsdinstall/scripts/script projects/altix2/usr.sbin/bsdinstall/scripts/wlanconfig projects/altix2/usr.sbin/bsdinstall/scripts/zfsboot projects/altix2/usr.sbin/ctld/ctl.conf.5 projects/altix2/usr.sbin/etcupdate/etcupdate.8 projects/altix2/usr.sbin/etcupdate/etcupdate.sh projects/altix2/usr.sbin/freebsd-update/freebsd-update.sh projects/altix2/usr.sbin/gpioctl/gpioctl.8 projects/altix2/usr.sbin/mergemaster/mergemaster.sh projects/altix2/usr.sbin/mfiutil/Makefile projects/altix2/usr.sbin/mfiutil/mfiutil.8 projects/altix2/usr.sbin/mfiutil/mfiutil.c projects/altix2/usr.sbin/mount_smbfs/Makefile projects/altix2/usr.sbin/newsyslog/newsyslog.c projects/altix2/usr.sbin/pkg/pkg.7 projects/altix2/usr.sbin/pkg/pkg.c projects/altix2/usr.sbin/portsnap/portsnap/portsnap.sh projects/altix2/usr.sbin/route6d/route6d.c projects/altix2/usr.sbin/syslogd/syslogd.c projects/altix2/usr.sbin/sysrc/sysrc projects/altix2/usr.sbin/sysrc/sysrc.8 projects/altix2/usr.sbin/utx/Makefile projects/altix2/usr.sbin/utx/utx.8 projects/altix2/usr.sbin/utx/utx.c projects/altix2/usr.sbin/wpa/ndis_events/ndis_events.8 Directory Properties: projects/altix2/ (props changed) projects/altix2/cddl/ (props changed) projects/altix2/cddl/contrib/opensolaris/ (props changed) projects/altix2/cddl/contrib/opensolaris/cmd/zfs/ (props changed) projects/altix2/contrib/atf/ (props changed) projects/altix2/contrib/binutils/ (props changed) projects/altix2/contrib/bmake/ (props changed) projects/altix2/contrib/gcc/ (props changed) projects/altix2/contrib/libexecinfo/ (props changed) projects/altix2/contrib/libstdc++/ (props changed) projects/altix2/contrib/llvm/ (props changed) projects/altix2/contrib/llvm/tools/lldb/ (props changed) projects/altix2/contrib/mtree/ (props changed) projects/altix2/contrib/netcat/ (props changed) projects/altix2/contrib/nvi/ (props changed) projects/altix2/contrib/subversion/ (props changed) projects/altix2/contrib/tzdata/ (props changed) projects/altix2/crypto/openssh/ (props changed) projects/altix2/gnu/usr.bin/binutils/ (props changed) projects/altix2/gnu/usr.bin/cc/cc_tools/ (props changed) projects/altix2/lib/libc/ (props changed) projects/altix2/lib/libutil/ (props changed) projects/altix2/lib/libvmmapi/ (props changed) projects/altix2/sbin/ (props changed) projects/altix2/share/man/man4/ (props changed) projects/altix2/sys/ (props changed) projects/altix2/sys/amd64/vmm/ (props changed) projects/altix2/sys/boot/ (props changed) projects/altix2/sys/cddl/contrib/opensolaris/ (props changed) projects/altix2/sys/conf/ (props changed) projects/altix2/sys/modules/vmm/ (props changed) projects/altix2/usr.bin/calendar/ (props changed) projects/altix2/usr.bin/procstat/ (props changed) projects/altix2/usr.sbin/bhyve/ (props changed) Modified: projects/altix2/MAINTAINERS ============================================================================== --- projects/altix2/MAINTAINERS Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/MAINTAINERS Fri Nov 22 01:32:01 2013 (r258459) @@ -99,7 +99,6 @@ nfs alfred Will be happy to review code rpc.lockd alfred Will be happy to review code, but not mandatory. truss alfred Will be happy to review code, but not mandatory. rpc alfred Pre-commit review requested. -pkg_install portmgr Pre-commit review or approval from portmgr@ requested. linux emul emulation Please discuss changes here. bs{diff,patch} cperciva Pre-commit review requested. portsnap cperciva Pre-commit review requested. Modified: projects/altix2/Makefile.inc1 ============================================================================== --- projects/altix2/Makefile.inc1 Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/Makefile.inc1 Fri Nov 22 01:32:01 2013 (r258459) @@ -136,7 +136,7 @@ REVISION!= make -C ${SRCDIR}/release -V BRANCH!= make -C ${SRCDIR}/release -V BRANCH SRCRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \ ${SRCDIR}/sys/sys/param.h -VERSION= FreeBSD ${REVISION}-${BRANCH} ${TARGET_ARCH} ${SRCRELDATE} +VERSION= FreeBSD ${REVISION}-${BRANCH:C/-p[0-9]+$//} ${TARGET_ARCH} ${SRCRELDATE} .endif KNOWN_ARCHES?= amd64 arm armeb/arm armv6/arm i386 i386/pc98 ia64 mips mipsel/mips mips64el/mips mips64/mips mipsn32el/mips mipsn32/mips powerpc powerpc64/powerpc sparc64 @@ -263,6 +263,21 @@ XMAKE= TOOLS_PREFIX=${WORLDTMP} ${BMAKE TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ -DWITHOUT_GDB +# kernel-tools stage +KTMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \ + PATH=${BPATH}:${PATH} \ + WORLDTMP=${WORLDTMP} \ + VERSION="${VERSION}" \ + COMPILER_TYPE=${COMPILER_TYPE} +KTMAKE= TOOLS_PREFIX=${WORLDTMP} MAKEOBJDIRPREFIX=${WORLDTMP} \ + ${KTMAKEENV} ${MAKE} ${WORLD_FLAGS} -f Makefile.inc1 \ + DESTDIR= \ + BOOTSTRAPPING=${OSRELDATE} \ + SSP_CFLAGS= \ + -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN \ + -DNO_PIC -DNO_PROFILE -DNO_SHARED \ + -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF -DEARLY_BUILD + # world stage WMAKEENV= ${CROSSENV} \ _SHLIBDIRPREFIX=${WORLDTMP} \ @@ -494,7 +509,7 @@ _worldtmp: .endif .if ${MK_TESTS} != "no" mtree -deU -f ${.CURDIR}/etc/mtree/BSD.tests.dist \ - -p ${WORLDTMP}${TESTSBASE} >/dev/null + -p ${WORLDTMP}/usr >/dev/null .endif .for _mtree in ${LOCAL_MTREE} mtree -deU -f ${.CURDIR}/${_mtree} -p ${WORLDTMP} > /dev/null @@ -540,6 +555,7 @@ _cross-tools: @echo ">>> stage 3: cross tools" @echo "--------------------------------------------------------------" ${_+_}cd ${.CURDIR}; ${XMAKE} cross-tools + ${_+_}cd ${.CURDIR}; ${XMAKE} kernel-tools _includes: @echo @echo "--------------------------------------------------------------" @@ -1019,20 +1035,7 @@ buildkernel: @echo "--------------------------------------------------------------" @echo ">>> stage 2.3: build tools" @echo "--------------------------------------------------------------" - cd ${KRNLOBJDIR}/${_kernel}; \ - PATH=${BPATH}:${PATH} \ - MAKESRCPATH=${KERNSRCDIR}/dev/aic7xxx/aicasm \ - ${MAKE} SSP_CFLAGS= -DNO_CPU_CFLAGS -DNO_CTF -DEARLY_BUILD \ - -f ${KERNSRCDIR}/dev/aic7xxx/aicasm/Makefile -# XXX - Gratuitously builds aicasm in the ``makeoptions NO_MODULES'' case. -.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists(${KERNSRCDIR}/modules) -.for target in obj depend all - cd ${KERNSRCDIR}/modules/aic7xxx/aicasm; \ - PATH=${BPATH}:${PATH} \ - MAKEOBJDIRPREFIX=${KRNLOBJDIR}/${_kernel}/modules \ - ${MAKE} SSP_CFLAGS= -DNO_CPU_CFLAGS -DNO_CTF -DEARLY_BUILD ${target} -.endfor -.endif + ${_+_}cd ${.CURDIR}; ${KTMAKE} kernel-tools .if !defined(NO_KERNELDEPEND) @echo @echo "--------------------------------------------------------------" @@ -1319,10 +1322,6 @@ bootstrap-tools: .MAKE # # build-tools: Build special purpose build tools # -.if defined(MODULES_WITH_WORLD) && exists(${KERNSRCDIR}/modules) -_aicasm= sys/modules/aic7xxx/aicasm -.endif - .if !defined(NO_SHARE) _share= share/syscons/scrnmaps .endif @@ -1344,7 +1343,6 @@ build-tools: .MAKE lib/ncurses/ncurses \ lib/ncurses/ncursesw \ ${_share} \ - ${_aicasm} \ usr.bin/awk \ lib/libmagic \ usr.bin/mkesdb_static \ @@ -1365,6 +1363,23 @@ build-tools: .MAKE .endfor # +# kernel-tools: Build kernel-building tools +# +kernel-tools: .MAKE + mkdir -p ${MAKEOBJDIRPREFIX}/usr + mtree -deU -f ${.CURDIR}/etc/mtree/BSD.usr.dist \ + -p ${MAKEOBJDIRPREFIX}/usr >/dev/null +.for _tool in \ + sys/dev/aic7xxx/aicasm + ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \ + cd ${.CURDIR}/${_tool} && \ + ${MAKE} DIRPRFX=${_tool}/ obj && \ + ${MAKE} DIRPRFX=${_tool}/ depend && \ + ${MAKE} DIRPRFX=${_tool}/ all && \ + ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX} install +.endfor + +# # cross-tools: Build cross-building tools # .if ${TARGET_ARCH} != ${MACHINE_ARCH} || ${BOOTSTRAPPING} < 800035 @@ -1460,11 +1475,13 @@ _startup_libs+= lib/csu/${MACHINE_CPUARC _startup_libs+= gnu/lib/libgcc _startup_libs+= lib/libcompiler_rt _startup_libs+= lib/libc +_startup_libs+= lib/libc_nonshared .if ${MK_LIBCPLUSPLUS} != "no" _startup_libs+= lib/libcxxrt .endif gnu/lib/libgcc__L: lib/libc__L +gnu/lib/libgcc__L: lib/libc_nonshared__L .if ${MK_LIBCPLUSPLUS} != "no" lib/libcxxrt__L: gnu/lib/libgcc__L .endif @@ -1478,7 +1495,7 @@ _prebuild_libs= ${_kerberos5_lib_libasn1 ${_kerberos5_lib_libhx509} ${_kerberos5_lib_libkrb5} \ ${_kerberos5_lib_libroken} \ ${_kerberos5_lib_libwind} \ - ${_lib_atf_libatf_c} \ + ${_lib_atf} \ lib/libbz2 ${_libcom_err} lib/libcrypt \ lib/libelf lib/libexpat \ ${_lib_libgssapi} ${_lib_libipx} \ @@ -1492,8 +1509,8 @@ _prebuild_libs= ${_kerberos5_lib_libasn1 ${_secure_lib_libcrypto} ${_lib_libldns} \ ${_secure_lib_libssh} ${_secure_lib_libssl} -.if ${MK_ATF} != "no" -_lib_atf_libatf_c= lib/atf/libatf-c +.if ${MK_TESTS} != "no" +_lib_atf= lib/atf .endif .if ${MK_LIBTHR} != "no" @@ -1602,10 +1619,12 @@ ${_lib}__PL: .PHONY .MAKE .if exists(${.CURDIR}/${_lib}) ${_+_}@${ECHODIR} "===> ${_lib} (obj,depend,all,install)"; \ cd ${.CURDIR}/${_lib} && \ - ${MAKE} DIRPRFX=${_lib}/ obj && \ - ${MAKE} DIRPRFX=${_lib}/ depend && \ - ${MAKE} -DNO_PROFILE -DNO_PIC DIRPRFX=${_lib}/ all && \ - ${MAKE} -DNO_PROFILE -DNO_PIC DIRPRFX=${_lib}/ install + ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ obj && \ + ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ depend && \ + ${MAKE} -DNO_TESTS -DNO_PROFILE -DNO_PIC \ + DIRPRFX=${_lib}/ all && \ + ${MAKE} -DNO_TESTS -DNO_PROFILE -DNO_PIC \ + DIRPRFX=${_lib}/ install .endif .endfor @@ -1614,10 +1633,10 @@ ${_lib}__L: .PHONY .MAKE .if exists(${.CURDIR}/${_lib}) ${_+_}@${ECHODIR} "===> ${_lib} (obj,depend,all,install)"; \ cd ${.CURDIR}/${_lib} && \ - ${MAKE} DIRPRFX=${_lib}/ obj && \ - ${MAKE} DIRPRFX=${_lib}/ depend && \ - ${MAKE} DIRPRFX=${_lib}/ all && \ - ${MAKE} DIRPRFX=${_lib}/ install + ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ obj && \ + ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ depend && \ + ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ all && \ + ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ install .endif .endfor @@ -1627,10 +1646,12 @@ ${_lib}__L: .PHONY .MAKE lib/libpam__L: .PHONY .MAKE ${_+_}@${ECHODIR} "===> lib/libpam (obj,depend,all,install)"; \ cd ${.CURDIR}/lib/libpam && \ - ${MAKE} DIRPRFX=lib/libpam/ obj && \ - ${MAKE} DIRPRFX=lib/libpam/ depend && \ - ${MAKE} DIRPRFX=lib/libpam/ -D_NO_LIBPAM_SO_YET all && \ - ${MAKE} DIRPRFX=lib/libpam/ -D_NO_LIBPAM_SO_YET install + ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ obj && \ + ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ depend && \ + ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ \ + -D_NO_LIBPAM_SO_YET all && \ + ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ \ + -D_NO_LIBPAM_SO_YET install _prereq_libs: ${_prereq_libs:S/$/__PL/} _startup_libs: ${_startup_libs:S/$/__L/} Modified: projects/altix2/ObsoleteFiles.inc ============================================================================== --- projects/altix2/ObsoleteFiles.inc Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/ObsoleteFiles.inc Fri Nov 22 01:32:01 2013 (r258459) @@ -38,6 +38,28 @@ # xargs -n1 | sort | uniq -d; # done +# 20131109: extattr(2) mlinks fixed +OLD_FILES+=usr/share/man/man2/extattr_delete_list.2.gz +OLD_FILES+=usr/share/man/man2/extattr_get_list.2.gz +# 20131107: example files removed +OLD_FILES+=usr/share/examples/libusb20/aux.c +OLD_FILES+=usr/share/examples/libusb20/aux.h +# 20131105: tzdata 2013h import +OLD_FILES+=usr/share/zoneinfo/America/Shiprock +OLD_FILES+=usr/share/zoneinfo/Antarctica/South_Pole +# 20131103: WITH_LIBICONV_COMPAT removal +OLD_FILES+=usr/include/_libiconv_compat.h +OLD_FILES+=usr/lib/libiconv.a +OLD_FILES+=usr/lib/libiconv.so +OLD_FILES+=usr/lib/libiconv.so.3 +OLD_FILES+=usr/lib/libiconv_p.a +OLD_FILES+=usr/lib32/libiconv.a +OLD_FILES+=usr/lib32/libiconv.so +OLD_FILES+=usr/lib32/libiconv.so.3 +OLD_FILES+=usr/lib32/libiconv_p.a +# 20131103: removal of utxrm(8), use 'utx rm' instead. +OLD_FILES+=usr/sbin/utxrm +OLD_FILES+=usr/share/man/man8/utxrm.8.gz # 20131031: pkg_install has been removed OLD_FILES+=etc/periodic/daily/220.backup-pkgdb OLD_FILES+=etc/periodic/daily/490.status-pkg-changes @@ -64,8 +86,14 @@ OLD_FILES+=etc/keys/pkg/trusted/pkg.free # 20131028: ng_fec(4) removed OLD_FILES+=usr/include/netgraph/ng_fec.h OLD_FILES+=usr/share/man/man4/ng_fec.4.gz +# 20131027: header moved +OLD_FILES+=usr/include/net/pf_mtag.h # 20131023: remove never used iscsi directory OLD_DIRS+=usr/share/examples/iscsi +# 20131021: isf(4) removed +OLD_FILES+=usr/sbin/isfctl +OLD_FILES+=usr/share/man/man4/isf.4.gz +OLD_FILES+=usr/share/man/man8/isfctl.8.gz # 20131014: libbsdyml becomes private OLD_FILES+=usr/lib/libbsdyml.a OLD_FILES+=usr/lib/libbsdyml.so @@ -104,6 +132,7 @@ OLD_FILES+=usr/bin/gnu-ranlib OLD_FILES+=usr/share/man/man1/gnu-ar.1.gz OLD_FILES+=usr/share/man/man1/gnu-ranlib.1.gz # 20130930: BIND removed from base +OLD_FILES+=etc/mtree/BIND.chroot.dist OLD_FILES+=etc/namedb OLD_FILES+=etc/periodic/daily/470.status-named OLD_FILES+=usr/bin/dig Modified: projects/altix2/UPDATING ============================================================================== --- projects/altix2/UPDATING Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/UPDATING Fri Nov 22 01:32:01 2013 (r258459) @@ -31,6 +31,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11 disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20131108: + The WITHOUT_ATF build knob has been removed and its functionality + has been subsumed into the more generic WITHOUT_TESTS. If you were + using the former to disable the build of the ATF libraries, you + should change your settings to use the latter. + 20131025: The default version of mtree is nmtree which is obtained from NetBSD. The output is generally the same, but may vary Modified: projects/altix2/bin/pkill/pkill.c ============================================================================== --- projects/altix2/bin/pkill/pkill.c Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/bin/pkill/pkill.c Fri Nov 22 01:32:01 2013 (r258459) @@ -318,7 +318,10 @@ main(int argc, char **argv) * Use KERN_PROC_PROC instead of KERN_PROC_ALL, since we * just want processes and not individual kernel threads. */ - plist = kvm_getprocs(kd, KERN_PROC_PROC, 0, &nproc); + if (pidfromfile >= 0) + plist = kvm_getprocs(kd, KERN_PROC_PID, pidfromfile, &nproc); + else + plist = kvm_getprocs(kd, KERN_PROC_PROC, 0, &nproc); if (plist == NULL) { errx(STATUS_ERROR, "Cannot get process list (%s)", kvm_geterr(kd)); Modified: projects/altix2/bin/sh/exec.c ============================================================================== --- projects/altix2/bin/sh/exec.c Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/bin/sh/exec.c Fri Nov 22 01:32:01 2013 (r258459) @@ -672,9 +672,11 @@ typecmd_impl(int argc, char **argv, int /* Then look at the aliases */ if ((ap = lookupalias(argv[i], 1)) != NULL) { - if (cmd == TYPECMD_SMALLV) - out1fmt("alias %s='%s'\n", argv[i], ap->val); - else + if (cmd == TYPECMD_SMALLV) { + out1fmt("alias %s=", argv[i]); + out1qstr(ap->val); + outcslow('\n', out1); + } else out1fmt("%s is an alias for %s\n", argv[i], ap->val); continue; Modified: projects/altix2/bin/sh/nodetypes ============================================================================== --- projects/altix2/bin/sh/nodetypes Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/bin/sh/nodetypes Fri Nov 22 01:32:01 2013 (r258459) @@ -118,16 +118,16 @@ NFROMTO nfile # fd<> fname NAPPEND nfile # fd>> fname NCLOBBER nfile # fd>| fname type int - next nodeptr # next redirection in list fd int # file descriptor being redirected + next nodeptr # next redirection in list fname nodeptr # file name, in a NARG node expfname temp char *expfname # actual file name NTOFD ndup # fd<&dupfd NFROMFD ndup # fd>&dupfd type int - next nodeptr # next redirection in list fd int # file descriptor being redirected + next nodeptr # next redirection in list dupfd int # file descriptor to duplicate vname nodeptr # file name if fd>&$var @@ -135,8 +135,8 @@ NFROMFD ndup # fd>&dupfd NHERE nhere # fd<<\! NXHERE nhere # fd<dt_oflags & DTRACE_O_LP64); + int use_32 = (dtp->dt_oflags & DTRACE_O_ILP32); #else /* * Arches which are 32-bit only just use the normal @@ -1879,9 +1879,7 @@ dtrace_program_link(dtrace_hdl_t *dtp, d len = snprintf(&tmp, 1, fmt, dtp->dt_ld_path, file, tfile, drti) + 1; -#if !defined(sun) len *= 2; -#endif cmd = alloca(len); (void) snprintf(cmd, len, fmt, dtp->dt_ld_path, file, Modified: projects/altix2/cddl/contrib/opensolaris/lib/libnvpair/libnvpair.c ============================================================================== --- projects/altix2/cddl/contrib/opensolaris/lib/libnvpair/libnvpair.c Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/cddl/contrib/opensolaris/lib/libnvpair/libnvpair.c Fri Nov 22 01:32:01 2013 (r258459) @@ -210,7 +210,7 @@ NVLIST_PRTFUNC(int32, int32_t, int32_t, NVLIST_PRTFUNC(uint32, uint32_t, uint32_t, "0x%x") NVLIST_PRTFUNC(int64, int64_t, longlong_t, "%lld") NVLIST_PRTFUNC(uint64, uint64_t, u_longlong_t, "0x%llx") -NVLIST_PRTFUNC(double, double, double, "0x%llf") +NVLIST_PRTFUNC(double, double, double, "0x%f") NVLIST_PRTFUNC(string, char *, char *, "%s") NVLIST_PRTFUNC(hrtime, hrtime_t, hrtime_t, "0x%llx") Modified: projects/altix2/cddl/lib/libnvpair/Makefile ============================================================================== --- projects/altix2/cddl/lib/libnvpair/Makefile Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/cddl/lib/libnvpair/Makefile Fri Nov 22 01:32:01 2013 (r258459) @@ -21,4 +21,13 @@ CFLAGS+= -I${.CURDIR}/../../../sys CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem +# This library uses macros to define fprintf behavior for several object types +# The compiler will see the non-string literal arguments to the fprintf calls and +# omit warnings for them. Quiesce these warnings in contrib code: +# +# cddl/contrib/opensolaris/lib/libnvpair/libnvpair.c:743:12: warning: format +# string is not a string literal (potentially insecure) [-Wformat-security] +# ARENDER(pctl, nvlist_array, nvl, name, val, nelem); +# +CFLAGS+= -Wno-format-security .include Modified: projects/altix2/contrib/atf/FREEBSD-Xlist ============================================================================== --- projects/altix2/contrib/atf/FREEBSD-Xlist Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/contrib/atf/FREEBSD-Xlist Fri Nov 22 01:32:01 2013 (r258459) @@ -1,8 +1,21 @@ +*/*/Atffile +*/*/Makefile* +*/Atffile +*/Makefile* +Atffile +INSTALL +Makefile* +aclocal.m4 +admin/ +atf-*/atf-*.m4 +atf-*/atf-*.pc.in +atf-config/ +atf-report/ +atf-run/ +atf-version/ +bconfig.h.in bootstrap/ -config.log -config.status -libtool -Makefile -stamp-h1 -*/*/.deps/ -*/.deps/ +configure* +doc/atf-formats.5 +doc/atf.7.in +m4/ Modified: projects/altix2/contrib/atf/FREEBSD-upgrade ============================================================================== --- projects/altix2/contrib/atf/FREEBSD-upgrade Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/contrib/atf/FREEBSD-upgrade Fri Nov 22 01:32:01 2013 (r258459) @@ -1,28 +1,48 @@ $FreeBSD$ -atf +This document contains a collection of notes specific to the import +of atf into head. These notes are built on the instructions in +the FreeBSD Subversion Primer that detail how to deal with vendor +branches and you are supposed to follow those: -The source code is hosted on GoogleCode as a subcomponent of the Kyua project: + http://www.freebsd.org/doc/en/articles/committers-guide/subversion-primer.html - http://code.google.com/p/kyua/downloads/list - -For the contrib directory, the sources were initially prepared like so: - - ./configure --prefix=/ --exec-prefix=/usr --datarootdir=/usr/share +The ATF source code is hosted on Google Code as a subcomponent of the +Kyua project: -For the contrib directory, files and directories were pruned by: - -sh -c 'for F in `cat FREEBSD-Xlist`; do rm -rf ./$F ; done' + http://code.google.com/p/kyua/downloads/list -You may check if there are any new files that we don't need. +and is imported into the atf vendor branch (see base/vendor/atf/). -The instructions for importing new release and merging to HEAD can be found -at FreeBSD wiki: +To merge the vendor branch into head do something like this: - http://wiki.freebsd.org/SubversionPrimer/VendorImports + cd .../base/head/contrib/atf + svn merge --accept=postpone \ + svn+ssh://svn.freebsd.org/base/vendor/atf/dist . + svn remove --force $(cat FREEBSD-Xlist) + +and resolve any conflicts that may arise at this point. + +Once this is done, you must regenerate bconfig.h. The recommended way +of doing so is by using the release files already imported into the +vendor branch (which is a good justification for importing the verbatim +sources in the first place so that this step is reproducible). You can +use a set of commands similar to the following: + + mkdir /tmp/atf + cd /tmp/atf + .../vendor/atf/dist/configure \ + --prefix=/ \ + --exec-prefix=/usr \ + --datarootdir=/usr/share + cp bconfig.h .../base/head/contrib/atf/ + +Please do NOT run './configure' straight from the 'dist' directory of +the vendor branch as you easily risk committing build products into the +tree. -To make local changes to atf, simply patch and commit to the trunk -branch (aka HEAD). Never make local changes on the vendor branch. +Lastly, with the list of old and new files in this import, make sure +to udpate the reachover Makefiles accordingly. -gcooper@FreeBSD.org -5-August-2012 +Test the build (keeping in mind the WITH_TESTS/WITHOUT_TESTS knobs) and, +if all looks good, you are ready to commit all the changes in one go. Modified: projects/altix2/contrib/atf/NEWS ============================================================================== --- projects/altix2/contrib/atf/NEWS Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/contrib/atf/NEWS Fri Nov 22 01:32:01 2013 (r258459) @@ -2,6 +2,58 @@ Major changes between releases =========================================================================== +Changes in version 0.18 +*********************** + +Experimental version released on November 16th, 2013. + +* Issue 45: Added require.memory support in atf-run for FreeBSD. + +* Fixed an issue with the handling of cin with libc++. + +* Issue 64: Fixed various mandoc formatting warnings. + +* NetBSD PR bin/48284: Made atf-check flush its progress message to + stdout so that an interrupted test case always shows the last message + being executed. + +* NetBSD PR bin/48285: Fixed atf_check examples in atf-sh-api(3). + + +Changes in version 0.17 +*********************** + +Experimental version released on February 14th, 2013. + +* Added the atf_utils_cat_file, atf_utils_compare_file, + atf_utils_copy_file, atf_utils_create_file, atf_utils_file_exists, + atf_utils_fork, atf_utils_grep_file, atf_utils_grep_string, + atf_utils_readline, atf_utils_redirect and atf_utils_wait utility + functions to atf-c-api. Documented the already-public + atf_utils_free_charpp function. + +* Added the cat_file, compare_file, copy_file, create_file, file_exists, + fork, grep_collection, grep_file, grep_string, redirect and wait + functions to the atf::utils namespace of atf-c++-api. These are + wrappers around the same functions added to the atf-c-api library. + +* Added the ATF_CHECK_MATCH, ATF_CHECK_MATCH_MSG, ATF_REQUIRE_MATCH and + ATF_REQUIRE_MATCH_MSG macros to atf-c to simplify the validation of a + string against a regular expression. + +* Miscellaneous fixes for manpage typos and compilation problems with + clang. + +* Added caching of the results of those configure tests that rely on + executing a test program. This should help crossbuild systems by + providing a mechanism to pre-specify what the results should be. + +* PR bin/45690: Make atf-report convert any non-printable characters to + a plain-text representation (matching their corresponding hexadecimal + entities) in XML output files. This is to prevent the output of test + cases from breaking xsltproc later. + + Changes in version 0.16 *********************** Modified: projects/altix2/contrib/atf/atf-c++.hpp ============================================================================== --- projects/altix2/contrib/atf/atf-c++.hpp Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/contrib/atf/atf-c++.hpp Fri Nov 22 01:32:01 2013 (r258459) @@ -31,5 +31,6 @@ #define _ATF_CXX_HPP_ #include +#include #endif // !defined(_ATF_CXX_HPP_) Modified: projects/altix2/contrib/atf/atf-c++/atf-c++-api.3 ============================================================================== --- projects/altix2/contrib/atf/atf-c++/atf-c++-api.3 Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/contrib/atf/atf-c++/atf-c++-api.3 Fri Nov 22 01:32:01 2013 (r258459) @@ -26,10 +26,11 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd January 21, 2012 +.Dd November 15, 2013 .Dt ATF-C++-API 3 .Os .Sh NAME +.Nm atf-c++-api , .Nm ATF_ADD_TEST_CASE , .Nm ATF_CHECK_ERRNO , .Nm ATF_FAIL , @@ -52,6 +53,17 @@ .Nm ATF_TEST_CASE_USE , .Nm ATF_TEST_CASE_WITH_CLEANUP , .Nm ATF_TEST_CASE_WITHOUT_HEAD , +.Nm atf::utils::cat_file , +.Nm atf::utils::compare_file , +.Nm atf::utils::copy_file , +.Nm atf::utils::create_file , +.Nm atf::utils::file_exists , +.Nm atf::utils::fork , +.Nm atf::utils::grep_collection , +.Nm atf::utils::grep_file , +.Nm atf::utils::grep_string , +.Nm atf::utils::redirect , +.Nm atf::utils::wait .Nd C++ API to write ATF-based test programs .Sh SYNOPSIS .In atf-c++.hpp @@ -77,18 +89,64 @@ .Fn ATF_TEST_CASE_USE "name" .Fn ATF_TEST_CASE_WITH_CLEANUP "name" .Fn ATF_TEST_CASE_WITHOUT_HEAD "name" +.Ft void +.Fo atf::utils::cat_file +.Fa "const std::string& path" +.Fa "const std::string& prefix" +.Fc +.Ft bool +.Fo atf::utils::compare_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Ft void +.Fo atf::utils::copy_file +.Fa "const std::string& source" +.Fa "const std::string& destination" +.Fc +.Ft void +.Fo atf::utils::create_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Ft void +.Fo atf::utils::file_exists +.Fa "const std::string& path" +.Fc +.Ft pid_t +.Fo atf::utils::fork +.Fa "void" +.Fc +.Ft bool +.Fo atf::utils::grep_collection +.Fa "const std::string& regexp" +.Fa "const Collection& collection" +.Fc +.Ft bool +.Fo atf::utils::grep_file +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Ft bool +.Fo atf::utils::grep_string +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Ft void +.Fo atf::utils::redirect +.Fa "const int fd" +.Fa "const std::string& path" +.Fc +.Ft void +.Fo atf::utils::wait +.Fa "const pid_t pid" +.Fa "const int expected_exit_status" +.Fa "const std::string& expected_stdout" +.Fa "const std::string& expected_stderr" +.Fc .Sh DESCRIPTION -ATF provides a mostly-macro-based programming interface to implement test -programs in C or C++. -This interface is backed by a C++ implementation, but this fact is -hidden from the developer as much as possible through the use of -macros to simplify programming. -However, the use of C++ is not hidden everywhere and while you can -implement test cases without knowing anything at all about the object model -underneath the provided calls, you might need some minimum notions of the -language in very specific circumstances. -.Pp -C++-based test programs always follow this template: +ATF provides a C++ programming interface to implement test programs. +C++-based test programs follow this template: .Bd -literal -offset indent extern "C" { .Ns ... C-specific includes go here ... @@ -205,7 +263,7 @@ The first parameter of this macro matche former call. .Ss Header definitions The test case's header can define the meta-data by using the -.Fn set +.Fn set_md_var method, which takes two parameters: the first one specifies the meta-data variable to be set and the second one specifies its value. Both of them are strings. @@ -348,7 +406,7 @@ in the collection. .Fn ATF_REQUIRE_THROW takes the name of an exception and a statement and raises a failure if the statement does not throw the specified exception. -.Fn ATF_REQUIRE_THROW_EQ +.Fn ATF_REQUIRE_THROW_RE takes the name of an exception, a regular expresion and a statement and raises a failure if the statement does not throw the specified exception and if the message of the exception does not match the regular expression. @@ -362,6 +420,163 @@ variable and, second, a boolean expressi means that a call failed and .Va errno has to be checked against the first value. +.Ss Utility functions +The following functions are provided as part of the +.Nm +API to simplify the creation of a variety of tests. +In particular, these are useful to write tests for command-line interfaces. +.Pp +.Ft void +.Fo atf::utils::cat_file +.Fa "const std::string& path" +.Fa "const std::string& prefix" +.Fc +.Bd -ragged -offset indent +Prints the contents of +.Fa path +to the standard output, prefixing every line with the string in +.Fa prefix . +.Ed +.Pp +.Ft bool +.Fo atf::utils::compare_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Bd -ragged -offset indent +Returns true if the given +.Fa path +matches exactly the expected inlined +.Fa contents . +.Ed +.Pp +.Ft void +.Fo atf::utils::copy_file +.Fa "const std::string& source" +.Fa "const std::string& destination" +.Fc +.Bd -ragged -offset indent +Copies the file +.Fa source +to +.Fa destination . +The permissions of the file are preserved during the code. +.Ed +.Pp +.Ft void +.Fo atf::utils::create_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Bd -ragged -offset indent +Creates +.Fa file +with the text given in +.Fa contents . +.Ed +.Pp +.Ft void +.Fo atf::utils::file_exists +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Checks if +.Fa path +exists. +.Ed +.Pp +.Ft pid_t +.Fo atf::utils::fork +.Fa "void" +.Fc +.Bd -ragged -offset indent +Forks a process and redirects the standard output and standard error of the +child to files for later validation with +.Fn atf::utils::wait . +Fails the test case if the fork fails, so this does not return an error. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_collection +.Fa "const std::string& regexp" +.Fa "const Collection& collection" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in any of the strings contained in the +.Fa collection . +This is a template that accepts any one-dimensional container of strings. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_file +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in the file +.Fa path . +The variable arguments are used to construct the regular expression. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_string +.Fa "const std::string& regexp" +.Fa "const std::string& str" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in the string +.Fa str . +.Ed +.Ft void +.Fo atf::utils::redirect +.Fa "const int fd" +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Redirects the given file descriptor +.Fa fd +to the file +.Fa path . +This function exits the process in case of an error and does not properly mark +the test case as failed. +As a result, it should only be used in subprocesses of the test case; specially +those spawned by +.Fn atf::utils::fork . +.Ed +.Pp +.Ft void +.Fo atf::utils::wait +.Fa "const pid_t pid" +.Fa "const int expected_exit_status" +.Fa "const std::string& expected_stdout" +.Fa "const std::string& expected_stderr" +.Fc +.Bd -ragged -offset indent +Waits and validates the result of a subprocess spawned with +.Fn atf::utils::wait . +The validation involves checking that the subprocess exited cleanly and returned +the code specified in +.Fa expected_exit_status +and that its standard output and standard error match the strings given in +.Fa expected_stdout +and +.Fa expected_stderr . +.Pp +If any of the +.Fa expected_stdout +or +.Fa expected_stderr +strings are prefixed with +.Sq save: , +then they specify the name of the file into which to store the stdout or stderr +of the subprocess, and no comparison is performed. +.Ed .Sh EXAMPLES The following shows a complete test program with a single test case that validates the addition operator: @@ -371,7 +586,7 @@ validates the addition operator: ATF_TEST_CASE(addition); ATF_TEST_CASE_HEAD(addition) { - set("descr", "Sample tests for the addition operator"); + set_md_var("descr", "Sample tests for the addition operator"); } ATF_TEST_CASE_BODY(addition) { @@ -387,7 +602,7 @@ ATF_TEST_CASE_BODY(addition) ATF_TEST_CASE(open_failure); ATF_TEST_CASE_HEAD(open_failure) { - set("descr", "Sample tests for the open function"); + set_md_var("descr", "Sample tests for the open function"); } ATF_TEST_CASE_BODY(open_failure) { @@ -397,7 +612,7 @@ ATF_TEST_CASE_BODY(open_failure) ATF_TEST_CASE(known_bug); ATF_TEST_CASE_HEAD(known_bug) { - set("descr", "Reproduces a known bug"); + set_md_var("descr", "Reproduces a known bug"); } ATF_TEST_CASE_BODY(known_bug) { Modified: projects/altix2/contrib/atf/atf-c++/check.hpp ============================================================================== --- projects/altix2/contrib/atf/atf-c++/check.hpp Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/contrib/atf/atf-c++/check.hpp Fri Nov 22 01:32:01 2013 (r258459) @@ -39,7 +39,7 @@ extern "C" { #include #include -#include +#include namespace atf { @@ -60,7 +60,7 @@ namespace check { //! of executing arbitrary command and manages files containing //! its output. //! -class check_result : utils::noncopyable { +class check_result : noncopyable { //! //! \brief Internal representation of a result. //! Modified: projects/altix2/contrib/atf/atf-c++/check_test.cpp ============================================================================== --- projects/altix2/contrib/atf/atf-c++/check_test.cpp Fri Nov 22 00:32:32 2013 (r258458) +++ projects/altix2/contrib/atf/atf-c++/check_test.cpp Fri Nov 22 01:32:01 2013 (r258459) @@ -193,15 +193,15 @@ ATF_TEST_CASE_BODY(build_c_o) { ATF_TEST_CASE_USE(h_build_c_o_ok); run_h_tc< ATF_TEST_CASE_NAME(h_build_c_o_ok) >(); - ATF_REQUIRE(grep_file("stdout", "-o test.o")); - ATF_REQUIRE(grep_file("stdout", "-c test.c")); + ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("-c test.c", "stdout")); ATF_TEST_CASE_USE(h_build_c_o_fail); run_h_tc< ATF_TEST_CASE_NAME(h_build_c_o_fail) >(); - ATF_REQUIRE(grep_file("stdout", "-o test.o")); - ATF_REQUIRE(grep_file("stdout", "-c test.c")); - ATF_REQUIRE(grep_file("stderr", "test.c")); - ATF_REQUIRE(grep_file("stderr", "UNDEFINED_SYMBOL")); + ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("-c test.c", "stdout")); + ATF_REQUIRE(atf::utils::grep_file("test.c", "stderr")); + ATF_REQUIRE(atf::utils::grep_file("UNDEFINED_SYMBOL", "stderr")); } ATF_TEST_CASE(build_cpp); @@ -213,16 +213,16 @@ ATF_TEST_CASE_BODY(build_cpp) { ATF_TEST_CASE_USE(h_build_cpp_ok); run_h_tc< ATF_TEST_CASE_NAME(h_build_cpp_ok) >(); - ATF_REQUIRE(grep_file("stdout", "-o.*test.p")); - ATF_REQUIRE(grep_file("stdout", "test.c")); *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-projects@FreeBSD.ORG Fri Nov 22 02:03:51 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7BB908F1; Fri, 22 Nov 2013 02:03:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6C4C62C52; Fri, 22 Nov 2013 02:03:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAM23pXU060990; Fri, 22 Nov 2013 02:03:51 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAM23p3b060989; Fri, 22 Nov 2013 02:03:51 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201311220203.rAM23p3b060989@svn.freebsd.org> From: Marcel Moolenaar Date: Fri, 22 Nov 2013 02:03:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258460 - projects/altix2/sys/dev/isp X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 02:03:51 -0000 Author: marcel Date: Fri Nov 22 02:03:50 2013 New Revision: 258460 URL: http://svnweb.freebsd.org/changeset/base/258460 Log: Update for busdma/mi. Modified: projects/altix2/sys/dev/isp/isp_freebsd.h Modified: projects/altix2/sys/dev/isp/isp_freebsd.h ============================================================================== --- projects/altix2/sys/dev/isp/isp_freebsd.h Fri Nov 22 01:32:01 2013 (r258459) +++ projects/altix2/sys/dev/isp/isp_freebsd.h Fri Nov 22 02:03:50 2013 (r258460) @@ -465,24 +465,22 @@ switch (type) { \ case SYNC_SFORDEV: \ { \ struct isp_fc *fc = ISP_FC_PC(isp, chan); \ - bus_dmamap_sync(fc->tdmat, fc->tdmap, \ - BUS_DMASYNC_PREWRITE); \ + busdma_sync(fc->tdmd, BUSDMA_SYNC_PREWRITE); \ break; \ } \ case SYNC_REQUEST: \ - bus_dmamap_sync(isp->isp_osinfo.cdmat, \ - isp->isp_osinfo.cdmap, BUS_DMASYNC_PREWRITE); \ + busdma_sync_range(isp->isp_osinfo.cdmd, BUSDMA_SYNC_PREWRITE, \ + isp->isp_rquest_dma + (offset * size), size); \ break; \ case SYNC_SFORCPU: \ { \ struct isp_fc *fc = ISP_FC_PC(isp, chan); \ - bus_dmamap_sync(fc->tdmat, fc->tdmap, \ - BUS_DMASYNC_POSTWRITE); \ + busdma_sync(fc->tdmd, BUSDMA_SYNC_POSTWRITE); \ break; \ } \ case SYNC_RESULT: \ - bus_dmamap_sync(isp->isp_osinfo.cdmat, \ - isp->isp_osinfo.cdmap, BUS_DMASYNC_POSTWRITE); \ + busdma_sync_range(isp->isp_osinfo.cdmd, BUSDMA_SYNC_POSTWRITE, \ + isp->isp_rquest_dma + (offset * size), size); \ break; \ case SYNC_REG: \ bus_space_barrier(isp->isp_osinfo.bus_tag, \ From owner-svn-src-projects@FreeBSD.ORG Fri Nov 22 21:13:07 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 35F996F1; Fri, 22 Nov 2013 21:13:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 231622EA0; Fri, 22 Nov 2013 21:13:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAMLD7rt054337; Fri, 22 Nov 2013 21:13:07 GMT (envelope-from emaste@svn.freebsd.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAMLD6I0054334; Fri, 22 Nov 2013 21:13:06 GMT (envelope-from emaste@svn.freebsd.org) Message-Id: <201311222113.rAMLD6I0054334@svn.freebsd.org> From: Ed Maste Date: Fri, 22 Nov 2013 21:13:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258486 - in projects/sv/sys: cam/scsi cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 contrib/dev/acpica/utilities dev/ixgbe dev/usb netinet netinet/cc netinet6 X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 21:13:07 -0000 Author: emaste Date: Fri Nov 22 21:13:06 2013 New Revision: 258486 URL: http://svnweb.freebsd.org/changeset/base/258486 Log: Add files missed in previous merge from HEAD r216259 was a merge from HEAD at r216258, but missed a number of files. Copy them from HEAD @216258. Sponsored by: The FreeBSD Foundation Added: - copied unchanged from r216258, head/sys/cam/scsi/smp_all.c - copied unchanged from r216258, head/sys/cam/scsi/smp_all.h - copied unchanged from r216258, head/sys/cddl/dev/dtrace/amd64/regset.h - copied unchanged from r216258, head/sys/cddl/dev/dtrace/i386/regset.h - copied unchanged from r216258, head/sys/contrib/dev/acpica/utilities/utosi.c - copied unchanged from r216258, head/sys/dev/ixgbe/ixgbe_mbx.c - copied unchanged from r216258, head/sys/dev/ixgbe/ixgbe_mbx.h - copied unchanged from r216258, head/sys/dev/ixgbe/ixgbe_vf.c - copied unchanged from r216258, head/sys/dev/ixgbe/ixgbe_vf.h - copied unchanged from r216258, head/sys/dev/ixgbe/ixv.c - copied unchanged from r216258, head/sys/dev/ixgbe/ixv.h - copied unchanged from r216258, head/sys/dev/usb/usb_pf.c - copied unchanged from r216258, head/sys/dev/usb/usb_pf.h - copied unchanged from r216258, head/sys/netinet/cc/cc_cubic.c - copied unchanged from r216258, head/sys/netinet/cc/cc_cubic.h - copied unchanged from r216258, head/sys/netinet/cc/cc_htcp.c - copied unchanged from r216258, head/sys/netinet/sctp_dtrace_declare.h - copied unchanged from r216258, head/sys/netinet/sctp_dtrace_define.h - copied unchanged from r216258, head/sys/netinet6/send.c - copied unchanged from r216258, head/sys/netinet6/send.h Directory Properties: projects/sv/sys/cam/scsi/smp_all.c (props changed) projects/sv/sys/cam/scsi/smp_all.h (props changed) projects/sv/sys/cddl/dev/dtrace/amd64/regset.h (props changed) projects/sv/sys/cddl/dev/dtrace/i386/regset.h (props changed) projects/sv/sys/contrib/dev/acpica/utilities/utosi.c (props changed) projects/sv/sys/dev/ixgbe/ixgbe_mbx.c (props changed) projects/sv/sys/dev/ixgbe/ixgbe_mbx.h (props changed) projects/sv/sys/dev/ixgbe/ixgbe_vf.c (props changed) projects/sv/sys/dev/ixgbe/ixgbe_vf.h (props changed) projects/sv/sys/dev/ixgbe/ixv.c (props changed) projects/sv/sys/dev/ixgbe/ixv.h (props changed) projects/sv/sys/dev/usb/usb_pf.c (props changed) projects/sv/sys/dev/usb/usb_pf.h (props changed) projects/sv/sys/netinet/cc/cc_cubic.c (props changed) projects/sv/sys/netinet/cc/cc_cubic.h (props changed) projects/sv/sys/netinet/cc/cc_htcp.c (props changed) projects/sv/sys/netinet/sctp_dtrace_declare.h (props changed) projects/sv/sys/netinet/sctp_dtrace_define.h (props changed) projects/sv/sys/netinet6/send.c (props changed) projects/sv/sys/netinet6/send.h (props changed) Copied: projects/sv/sys/cam/scsi/smp_all.c (from r216258, head/sys/cam/scsi/smp_all.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/sv/sys/cam/scsi/smp_all.c Fri Nov 22 21:13:06 2013 (r258486, copy of r216258, head/sys/cam/scsi/smp_all.c) @@ -0,0 +1,620 @@ +/*- + * Copyright (c) 2010 Spectra Logic Corporation + * 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, + * without modification. + * 2. Redistributions in binary form must reproduce at minimum a disclaimer + * substantially similar to the "NO WARRANTY" disclaimer below + * ("Disclaimer") and any redistribution must be conditioned upon + * including a substantially similar Disclaimer requirement for further + * binary redistribution. + * + * NO WARRANTY + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * HOLDERS OR CONTRIBUTORS BE LIABLE FOR 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 DAMAGES. + * + * $Id: //depot/users/kenm/FreeBSD-test/sys/cam/scsi/smp_all.c#4 $ + */ + +/* + * Serial Management Protocol helper functions. + */ + +#include +__FBSDID("$FreeBSD$"); + +#include +#include +#ifdef _KERNEL +#include +#include +#include +#else /* _KERNEL */ +#include +#include +#include +#include +#include +#endif /* _KERNEL */ + +#include +#include +#include +#include +#include + +#ifndef _KERNEL +#include +#endif + +static char *smp_yesno(int val); + +static char * +smp_yesno(int val) +{ + char *str; + + if (val) + str = "Yes"; + else + str = "No"; + + return (str); +} + +struct smp_error_table_entry { + uint8_t function_result; + const char *desc; +}; + +/* List current as of SPL Revision 7 */ +static struct smp_error_table_entry smp_error_table[] = { + {SMP_FR_ACCEPTED, "SMP Function Accepted"}, + {SMP_FR_UNKNOWN_FUNC, "Unknown SMP Function"}, + {SMP_FR_FUNCTION_FAILED, "SMP Function Failed"}, + {SMP_FR_INVALID_REQ_FRAME_LEN, "Invalid Request Frame Length"}, + {SMP_FR_INVALID_EXP_CHG_CNT, "Invalid Expander Change Count"}, + {SMP_FR_BUSY, "Busy"}, + {SMP_FR_INCOMPLETE_DESC_LIST, "Incomplete Descriptor List"}, + {SMP_FR_PHY_DOES_NOT_EXIST, "Phy Does Not Exist"}, + {SMP_FR_INDEX_DOES_NOT_EXIST, "Index Does Not Exist"}, + {SMP_FR_PHY_DOES_NOT_SUP_SATA, "Phy Does Not Support SATA"}, + {SMP_FR_UNKNOWN_PHY_OP, "Unknown Phy Operation"}, + {SMP_FR_UNKNOWN_PHY_TEST_FUNC, "Unknown Phy Test Function"}, + {SMP_FR_PHY_TEST_FUNC_INPROG, "Phy Test Function In Progress"}, + {SMP_FR_PHY_VACANT, "Phy Vacant"}, + {SMP_FR_UNKNOWN_PHY_EVENT_SRC, "Unknown Phy Event Source"}, + {SMP_FR_UNKNOWN_DESC_TYPE, "Unknown Descriptor Type"}, + {SMP_FR_UNKNOWN_PHY_FILTER, "Unknown Phy Filter"}, + {SMP_FR_AFFILIATION_VIOLATION, "Affiliation Violation"}, + {SMP_FR_SMP_ZONE_VIOLATION, "SMP Zone Violation"}, + {SMP_FR_NO_MGMT_ACCESS_RIGHTS, "No Management Access Rights"}, + {SMP_FR_UNKNOWN_ED_ZONING_VAL, "Unknown Enable Disable Zoning Value"}, + {SMP_FR_ZONE_LOCK_VIOLATION, "Zone Lock Violation"}, + {SMP_FR_NOT_ACTIVATED, "Not Activated"}, + {SMP_FR_ZG_OUT_OF_RANGE, "Zone Group Out of Range"}, + {SMP_FR_NO_PHYS_PRESENCE, "No Physical Presence"}, + {SMP_FR_SAVING_NOT_SUP, "Saving Not Supported"}, + {SMP_FR_SRC_ZONE_DNE, "Source Zone Group Does Not Exist"}, + {SMP_FR_DISABLED_PWD_NOT_SUP, "Disabled Password Not Supported"} +}; + +const char * +smp_error_desc(int function_result) +{ + int i; + + for (i = 0; i < (sizeof(smp_error_table)/sizeof(smp_error_table[0])); + i++){ + if (function_result == smp_error_table[i].function_result) + return (smp_error_table[i].desc); + } + return ("Reserved Function Result"); +} + +/* List current as of SPL Revision 7 */ +struct smp_cmd_table_entry { + uint8_t cmd_num; + const char *desc; +} smp_cmd_table[] = { + {SMP_FUNC_REPORT_GENERAL, "REPORT GENERAL"}, + {SMP_FUNC_REPORT_MANUF_INFO, "REPORT MANUFACTURER INFORMATION"}, + {SMP_FUNC_REPORT_SC_STATUS, "REPORT SELF-CONFIGURATION STATUS"}, + {SMP_FUNC_REPORT_ZONE_PERM_TBL, "REPORT ZONE PERMISSION TABLE"}, + {SMP_FUNC_REPORT_BROADCAST, "REPORT BROADCAST"}, + {SMP_FUNC_DISCOVER, "DISCOVER"}, + {SMP_FUNC_REPORT_PHY_ERR_LOG, "REPORT PHY ERROR LOG"}, + {SMP_FUNC_REPORT_PHY_SATA, "REPORT PHY SATA"}, + {SMP_FUNC_REPORT_ROUTE_INFO, "REPORT ROUTE INFORMATION"}, + {SMP_FUNC_REPORT_PHY_EVENT, "REPORT PHY EVENT"}, + {SMP_FUNC_DISCOVER_LIST, "DISCOVER LIST"}, + {SMP_FUNC_REPORT_PHY_EVENT_LIST, "REPORT PHY EVENT LIST"}, + {SMP_FUNC_REPORT_EXP_RTL, "REPORT EXPANDER ROUTE TABLE LIST"}, + {SMP_FUNC_CONFIG_GENERAL, "CONFIGURE GENERAL"}, + {SMP_FUNC_ENABLE_DISABLE_ZONING, "ENABLE DISABLE ZONING"}, + {SMP_FUNC_ZONED_BROADCAST, "ZONED BROADCAST"}, + {SMP_FUNC_ZONE_LOCK, "ZONE LOCK"}, + {SMP_FUNC_ZONE_ACTIVATE, "ZONE ACTIVATE"}, + {SMP_FUNC_ZONE_UNLOCK, "ZONE UNLOCK"}, + {SMP_FUNC_CONFIG_ZM_PWD, "CONFIGURE ZONE MANAGER PASSWORD"}, + {SMP_FUNC_CONFIG_ZONE_PHY_INFO, "CONFIGURE ZONE PHY INFORMATION"}, + {SMP_FUNC_CONFIG_ZONE_PERM_TBL, "CONFIGURE ZONE PERMISSION TABLE"}, + {SMP_FUNC_CONFIG_ROUTE_INFO, "CONFIGURE ROUTE INFORMATION"}, + {SMP_FUNC_PHY_CONTROL, "PHY CONTROL"}, + {SMP_FUNC_PHY_TEST_FUNC, "PHY TEST FUNCTION"}, + {SMP_FUNC_CONFIG_PHY_EVENT, "CONFIGURE PHY EVENT"} +}; + +const char * +smp_command_desc(uint8_t cmd_num) +{ + int i; + + for (i = 0; i < (sizeof(smp_cmd_table)/sizeof(smp_cmd_table[0])) && + smp_cmd_table[i].cmd_num <= cmd_num; i++) { + if (cmd_num == smp_cmd_table[i].cmd_num) + return (smp_cmd_table[i].desc); + } + + /* + * 0x40 to 0x7f and 0xc0 to 0xff are the vendor specific SMP + * command ranges. + */ + if (((cmd_num >= 0x40) && (cmd_num <= 0x7f)) + || (cmd_num >= 0xc0)) { + return ("Vendor Specific SMP Command"); + } else { + return ("Unknown SMP Command"); + } +} + +/* + * Decode a SMP request buffer into a string of hexadecimal numbers. + * + * smp_request: SMP request + * request_len: length of the SMP request buffer, may be reduced if the + * caller only wants part of the buffer printed + * sb: sbuf(9) buffer + * line_prefix: prefix for new lines, or an empty string ("") + * first_line_len: length left on first line + * line_len: total length of subsequent lines, 0 for no additional lines + * if there are no additional lines, first line will get ... + * at the end if there is additional data + */ +void +smp_command_decode(uint8_t *smp_request, int request_len, struct sbuf *sb, + char *line_prefix, int first_line_len, int line_len) +{ + int i, cur_len; + + for (i = 0, cur_len = first_line_len; i < request_len; i++) { + /* + * Each byte takes 3 characters. As soon as we go less + * than 6 (meaning we have at least 3 and at most 5 + * characters left), check to see whether the subsequent + * line length (line_len) is long enough to bother with. + * If the user set it to 0, or some other length that isn't + * enough to hold at least the prefix and one byte, put ... + * on the first line to indicate that there is more data + * and bail out. + */ + if ((cur_len < 6) + && (line_len < (strlen(line_prefix) + 3))) { + sbuf_printf(sb, "..."); + return; + } + if (cur_len < 3) { + sbuf_printf(sb, "\n%s", line_prefix); + cur_len = line_len - strlen(line_prefix); + } + sbuf_printf(sb, "%02x ", smp_request[i]); + cur_len = cur_len - 3; + } +} + +void +smp_command_sbuf(struct ccb_smpio *smpio, struct sbuf *sb, + char *line_prefix, int first_line_len, int line_len) +{ + sbuf_printf(sb, "%s. ", smp_command_desc(smpio->smp_request[1])); + + /* + * Acccount for the command description and the period and space + * after the command description. + */ + first_line_len -= strlen(smp_command_desc(smpio->smp_request[1])) + 2; + + smp_command_decode(smpio->smp_request, smpio->smp_request_len, sb, + line_prefix, first_line_len, line_len); +} + +/* + * Print SMP error output. For userland commands, we need the cam_device + * structure so we can get the path information from the CCB. + */ +#ifdef _KERNEL +void +smp_error_sbuf(struct ccb_smpio *smpio, struct sbuf *sb) +#else /* !_KERNEL*/ +void +smp_error_sbuf(struct cam_device *device, struct ccb_smpio *smpio, + struct sbuf *sb) +#endif /* _KERNEL/!_KERNEL */ +{ + char path_str[64]; + +#ifdef _KERNEL + xpt_path_string(smpio->ccb_h.path, path_str, sizeof(path_str)); +#else + cam_path_string(device, path_str, sizeof(path_str)); +#endif + smp_command_sbuf(smpio, sb, path_str, 80 - strlen(path_str), 80); + sbuf_printf(sb, "\n"); + + sbuf_cat(sb, path_str); + sbuf_printf(sb, "SMP Error: %s (0x%x)\n", + smp_error_desc(smpio->smp_response[2]), + smpio->smp_response[2]); +} + +/* + * Decode the SMP REPORT GENERAL response. The format is current as of SPL + * Revision 7, but the parsing should be backward compatible for older + * versions of the spec. + */ +void +smp_report_general_sbuf(struct smp_report_general_response *response, + int response_len, struct sbuf *sb) +{ + sbuf_printf(sb, "Report General\n"); + sbuf_printf(sb, "Response Length: %d words (%d bytes)\n", + response->response_len, + response->response_len * SMP_WORD_LEN); + sbuf_printf(sb, "Expander Change Count: %d\n", + scsi_2btoul(response->expander_change_count)); + sbuf_printf(sb, "Expander Route Indexes: %d\n", + scsi_2btoul(response->expander_route_indexes)); + sbuf_printf(sb, "Long Response: %s\n", + smp_yesno(response->long_response & + SMP_RG_LONG_RESPONSE)); + sbuf_printf(sb, "Number of Phys: %d\n", response->num_phys); + sbuf_printf(sb, "Table to Table Supported: %s\n", + smp_yesno(response->config_bits0 & + SMP_RG_TABLE_TO_TABLE_SUP)); + sbuf_printf(sb, "Zone Configuring: %s\n", + smp_yesno(response->config_bits0 & + SMP_RG_ZONE_CONFIGURING)); + sbuf_printf(sb, "Self Configuring: %s\n", + smp_yesno(response->config_bits0 & + SMP_RG_SELF_CONFIGURING)); + sbuf_printf(sb, "STP Continue AWT: %s\n", + smp_yesno(response->config_bits0 & + SMP_RG_STP_CONTINUE_AWT)); + sbuf_printf(sb, "Open Reject Retry Supported: %s\n", + smp_yesno(response->config_bits0 & + SMP_RG_OPEN_REJECT_RETRY_SUP)); + sbuf_printf(sb, "Configures Others: %s\n", + smp_yesno(response->config_bits0 & + SMP_RG_CONFIGURES_OTHERS)); + sbuf_printf(sb, "Configuring: %s\n", + smp_yesno(response->config_bits0 & + SMP_RG_CONFIGURING)); + sbuf_printf(sb, "Externally Configurable Route Table: %s\n", + smp_yesno(response->config_bits0 & + SMP_RG_CONFIGURING)); + sbuf_printf(sb, "Enclosure Logical Identifier: 0x%016jx\n", + (uintmax_t)scsi_8btou64(response->encl_logical_id)); + + /* + * If the response->response_len is 0, then we don't have the + * extended information. Also, if the user didn't allocate enough + * space for the full request, don't try to parse it. + */ + if ((response->response_len == 0) + || (response_len < (sizeof(struct smp_report_general_response) - + sizeof(response->crc)))) + return; + + sbuf_printf(sb, "STP Bus Inactivity Time Limit: %d\n", + scsi_2btoul(response->stp_bus_inact_time_limit)); + sbuf_printf(sb, "STP Maximum Connect Time Limit: %d\n", + scsi_2btoul(response->stp_max_conn_time_limit)); + sbuf_printf(sb, "STP SMP I_T Nexus Loss Time: %d\n", + scsi_2btoul(response->stp_smp_it_nexus_loss_time)); + + sbuf_printf(sb, "Number of Zone Groups: %d\n", + (response->config_bits1 & SMP_RG_NUM_ZONE_GROUPS_MASK) >> + SMP_RG_NUM_ZONE_GROUPS_SHIFT); + sbuf_printf(sb, "Zone Locked: %s\n", + smp_yesno(response->config_bits1 & SMP_RG_ZONE_LOCKED)); + sbuf_printf(sb, "Physical Presence Supported: %s\n", + smp_yesno(response->config_bits1 & SMP_RG_PP_SUPPORTED)); + sbuf_printf(sb, "Physical Presence Asserted: %s\n", + smp_yesno(response->config_bits1 & SMP_RG_PP_ASSERTED)); + sbuf_printf(sb, "Zoning Supported: %s\n", + smp_yesno(response->config_bits1 & + SMP_RG_ZONING_SUPPORTED)); + sbuf_printf(sb, "Zoning Enabled: %s\n", + smp_yesno(response->config_bits1 & SMP_RG_ZONING_ENABLED)); + + sbuf_printf(sb, "Saving: %s\n", + smp_yesno(response->config_bits2 & SMP_RG_SAVING)); + sbuf_printf(sb, "Saving Zone Manager Password Supported: %s\n", + smp_yesno(response->config_bits2 & + SMP_RG_SAVING_ZM_PWD_SUP)); + sbuf_printf(sb, "Saving Zone Phy Information Supported: %s\n", + smp_yesno(response->config_bits2 & + SMP_RG_SAVING_PHY_INFO_SUP)); + sbuf_printf(sb, "Saving Zone Permission Table Supported: %s\n", + smp_yesno(response->config_bits2 & + SMP_RG_SAVING_ZPERM_TAB_SUP)); + sbuf_printf(sb, "Saving Zoning Enabled Supported: %s\n", + smp_yesno(response->config_bits2 & + SMP_RG_SAVING_ZENABLED_SUP)); + + sbuf_printf(sb, "Maximum Number of Routed SAS Addresses: %d\n", + scsi_2btoul(response->max_num_routed_addrs)); + + sbuf_printf(sb, "Active Zone Manager SAS Address: 0x%016jx\n", + scsi_8btou64(response->active_zm_address)); + + sbuf_printf(sb, "Zone Inactivity Time Limit: %d\n", + scsi_2btoul(response->zone_lock_inact_time_limit)); + + sbuf_printf(sb, "First Enclosure Connector Element Index: %d\n", + response->first_encl_conn_el_index); + + sbuf_printf(sb, "Number of Enclosure Connector Element Indexes: %d\n", + response->num_encl_conn_el_indexes); + + sbuf_printf(sb, "Reduced Functionality: %s\n", + smp_yesno(response->reduced_functionality & + SMP_RG_REDUCED_FUNCTIONALITY)); + + sbuf_printf(sb, "Time to Reduced Functionality: %d\n", + response->time_to_reduced_func); + sbuf_printf(sb, "Initial Time to Reduced Functionality: %d\n", + response->initial_time_to_reduced_func); + sbuf_printf(sb, "Maximum Reduced Functionality Time: %d\n", + response->max_reduced_func_time); + + sbuf_printf(sb, "Last Self-Configuration Status Descriptor Index: %d\n", + scsi_2btoul(response->last_sc_stat_desc_index)); + + sbuf_printf(sb, "Maximum Number of Storated Self-Configuration " + "Status Descriptors: %d\n", + scsi_2btoul(response->max_sc_stat_descs)); + + sbuf_printf(sb, "Last Phy Event List Descriptor Index: %d\n", + scsi_2btoul(response->last_phy_evl_desc_index)); + + sbuf_printf(sb, "Maximum Number of Stored Phy Event List " + "Descriptors: %d\n", + scsi_2btoul(response->max_stored_pel_descs)); + + sbuf_printf(sb, "STP Reject to Open Limit: %d\n", + scsi_2btoul(response->stp_reject_to_open_limit)); +} + +/* + * Decode the SMP REPORT MANUFACTURER INFORMATION response. The format is + * current as of SPL Revision 7, but the parsing should be backward + * compatible for older versions of the spec. + */ +void +smp_report_manuf_info_sbuf(struct smp_report_manuf_info_response *response, + int response_len, struct sbuf *sb) +{ + char vendor[16], product[48], revision[16]; + char comp_vendor[16]; + + sbuf_printf(sb, "Report Manufacturer Information\n"); + sbuf_printf(sb, "Expander Change count: %d\n", + scsi_2btoul(response->expander_change_count)); + sbuf_printf(sb, "SAS 1.1 Format: %s\n", + smp_yesno(response->sas_11_format & SMP_RMI_SAS11_FORMAT)); + cam_strvis(vendor, response->vendor, sizeof(response->vendor), + sizeof(vendor)); + cam_strvis(product, response->product, sizeof(response->product), + sizeof(product)); + cam_strvis(revision, response->revision, sizeof(response->revision), + sizeof(revision)); + sbuf_printf(sb, "<%s %s %s>\n", vendor, product, revision); + + if ((response->sas_11_format & SMP_RMI_SAS11_FORMAT) == 0) { + uint8_t *curbyte; + int line_start, line_cursor; + + sbuf_printf(sb, "Vendor Specific Data:\n"); + + /* + * Print out the bytes roughly in the style of hd(1), but + * without the extra ASCII decoding. Hexadecimal line + * numbers on the left, and 16 bytes per line, with an + * extra space after the first 8 bytes. + * + * It would be nice if this sort of thing were available + * in a library routine. + */ + for (curbyte = (uint8_t *)&response->comp_vendor, line_start= 1, + line_cursor = 0; curbyte < (uint8_t *)&response->crc; + curbyte++, line_cursor++) { + if (line_start != 0) { + sbuf_printf(sb, "%08lx ", + (unsigned long)(curbyte - + (uint8_t *)response)); + line_start = 0; + line_cursor = 0; + } + sbuf_printf(sb, "%02x", *curbyte); + + if (line_cursor == 15) { + sbuf_printf(sb, "\n"); + line_start = 1; + } else + sbuf_printf(sb, " %s", (line_cursor == 7) ? + " " : ""); + } + if (line_cursor != 16) + sbuf_printf(sb, "\n"); + return; + } + + cam_strvis(comp_vendor, response->comp_vendor, + sizeof(response->comp_vendor), sizeof(comp_vendor)); + sbuf_printf(sb, "Component Vendor: %s\n", comp_vendor); + sbuf_printf(sb, "Component ID: %#x\n", scsi_2btoul(response->comp_id)); + sbuf_printf(sb, "Component Revision: %#x\n", response->comp_revision); + sbuf_printf(sb, "Vendor Specific: 0x%016jx\n", + (uintmax_t)scsi_8btou64(response->vendor_specific)); +} + +/* + * Compose a SMP REPORT GENERAL request and put it into a CCB. This is + * current as of SPL Revision 7. + */ +void +smp_report_general(struct ccb_smpio *smpio, uint32_t retries, + void (*cbfcnp)(struct cam_periph *, union ccb *), + struct smp_report_general_request *request, int request_len, + uint8_t *response, int response_len, int long_response, + uint32_t timeout) +{ + cam_fill_smpio(smpio, + retries, + cbfcnp, + /*flags*/CAM_DIR_BOTH, + (uint8_t *)request, + request_len - SMP_CRC_LEN, + response, + response_len, + timeout); + + bzero(request, sizeof(*request)); + + request->frame_type = SMP_FRAME_TYPE_REQUEST; + request->function = SMP_FUNC_REPORT_GENERAL; + request->response_len = long_response ? SMP_RG_RESPONSE_LEN : 0; + request->request_len = 0; +} + +/* + * Compose a SMP DISCOVER request and put it into a CCB. This is current + * as of SPL Revision 7. + */ +void +smp_discover(struct ccb_smpio *smpio, uint32_t retries, + void (*cbfcnp)(struct cam_periph *, union ccb *), + struct smp_discover_request *request, int request_len, + uint8_t *response, int response_len, int long_response, + int ignore_zone_group, int phy, uint32_t timeout) +{ + cam_fill_smpio(smpio, + retries, + cbfcnp, + /*flags*/CAM_DIR_BOTH, + (uint8_t *)request, + request_len - SMP_CRC_LEN, + response, + response_len, + timeout); + + bzero(request, sizeof(*request)); + request->frame_type = SMP_FRAME_TYPE_REQUEST; + request->function = SMP_FUNC_DISCOVER; + request->response_len = long_response ? SMP_DIS_RESPONSE_LEN : 0; + request->request_len = long_response ? SMP_DIS_REQUEST_LEN : 0; + if (ignore_zone_group != 0) + request->ignore_zone_group |= SMP_DIS_IGNORE_ZONE_GROUP; + request->phy = phy; +} + +/* + * Compose a SMP REPORT MANUFACTURER INFORMATION request and put it into a + * CCB. This is current as of SPL Revision 7. + */ +void +smp_report_manuf_info(struct ccb_smpio *smpio, uint32_t retries, + void (*cbfcnp)(struct cam_periph *, union ccb *), + struct smp_report_manuf_info_request *request, + int request_len, uint8_t *response, int response_len, + int long_response, uint32_t timeout) +{ + cam_fill_smpio(smpio, + retries, + cbfcnp, + /*flags*/CAM_DIR_BOTH, + (uint8_t *)request, + request_len - SMP_CRC_LEN, + response, + response_len, + timeout); + + bzero(request, sizeof(*request)); + + request->frame_type = SMP_FRAME_TYPE_REQUEST; + request->function = SMP_FUNC_REPORT_MANUF_INFO; + request->response_len = long_response ? SMP_RMI_RESPONSE_LEN : 0; + request->request_len = long_response ? SMP_RMI_REQUEST_LEN : 0; +} + +/* + * Compose a SMP PHY CONTROL request and put it into a CCB. This is + * current as of SPL Revision 7. + */ +void +smp_phy_control(struct ccb_smpio *smpio, uint32_t retries, + void (*cbfcnp)(struct cam_periph *, union ccb *), + struct smp_phy_control_request *request, int request_len, + uint8_t *response, int response_len, int long_response, + uint32_t expected_exp_change_count, int phy, int phy_op, + int update_pp_timeout_val, uint64_t attached_device_name, + int prog_min_prl, int prog_max_prl, int slumber_partial, + int pp_timeout_value, uint32_t timeout) +{ + cam_fill_smpio(smpio, + retries, + cbfcnp, + /*flags*/CAM_DIR_BOTH, + (uint8_t *)request, + request_len - SMP_CRC_LEN, + response, + response_len, + timeout); + + bzero(request, sizeof(*request)); + + request->frame_type = SMP_FRAME_TYPE_REQUEST; + request->function = SMP_FUNC_PHY_CONTROL; + request->response_len = long_response ? SMP_PC_RESPONSE_LEN : 0; + request->request_len = long_response ? SMP_PC_REQUEST_LEN : 0; + scsi_ulto2b(expected_exp_change_count, request->expected_exp_chg_cnt); + request->phy = phy; + request->phy_operation = phy_op; + + if (update_pp_timeout_val != 0) + request->update_pp_timeout |= SMP_PC_UPDATE_PP_TIMEOUT; + + scsi_u64to8b(attached_device_name, request->attached_device_name); + request->prog_min_phys_link_rate = (prog_min_prl << + SMP_PC_PROG_MIN_PL_RATE_SHIFT) & SMP_PC_PROG_MIN_PL_RATE_MASK; + request->prog_max_phys_link_rate = (prog_max_prl << + SMP_PC_PROG_MAX_PL_RATE_SHIFT) & SMP_PC_PROG_MAX_PL_RATE_MASK; + request->config_bits0 = slumber_partial; + request->pp_timeout_value = pp_timeout_value; +} + Copied: projects/sv/sys/cam/scsi/smp_all.h (from r216258, head/sys/cam/scsi/smp_all.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/sv/sys/cam/scsi/smp_all.h Fri Nov 22 21:13:06 2013 (r258486, copy of r216258, head/sys/cam/scsi/smp_all.h) @@ -0,0 +1,520 @@ +/*- + * Copyright (c) 2010 Spectra Logic Corporation + * 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, + * without modification. + * 2. Redistributions in binary form must reproduce at minimum a disclaimer + * substantially similar to the "NO WARRANTY" disclaimer below + * ("Disclaimer") and any redistribution must be conditioned upon + * including a substantially similar Disclaimer requirement for further + * binary redistribution. + * + * NO WARRANTY + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * HOLDERS OR CONTRIBUTORS BE LIABLE FOR 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 DAMAGES. + * + * $Id: //depot/users/kenm/FreeBSD-test/sys/cam/scsi/smp_all.h#4 $ + * $FreeBSD$ + */ + +/* + * Serial Management Protocol definitions. + */ + +#ifndef _SCSI_SMP_ALL_H +#define _SCSI_SMP_ALL_H 1 + +#define SMP_FRAME_TYPE_REQUEST 0x40 +#define SMP_FRAME_TYPE_RESPONSE 0x41 +#define SMP_WORD_LEN 4 +#define SMP_CRC_LEN 4 + +/* + * SMP Functions (current as of SPL Revision 7) + */ +/* 0x00 to 0x7f: SMP input functions */ +/* 0x00 to 0x0f: General SMP input functions */ +#define SMP_FUNC_REPORT_GENERAL 0x00 +#define SMP_FUNC_REPORT_MANUF_INFO 0x01 +#define SMP_FUNC_REPORT_SC_STATUS 0x03 +#define SMP_FUNC_REPORT_ZONE_PERM_TBL 0x04 +#define SMP_FUNC_REPORT_ZONE_MAN_PWD 0x05 +#define SMP_FUNC_REPORT_BROADCAST 0x06 + +/* 0x10 to 0x1f: Phy-based SMP input functions */ +#define SMP_FUNC_DISCOVER 0x10 +#define SMP_FUNC_REPORT_PHY_ERR_LOG 0x11 +#define SMP_FUNC_REPORT_PHY_SATA 0x12 +#define SMP_FUNC_REPORT_ROUTE_INFO 0x13 +#define SMP_FUNC_REPORT_PHY_EVENT 0x14 + +/* 0x20 to 0x2f: Descriptor list-based SMP input functions */ +#define SMP_FUNC_DISCOVER_LIST 0x20 +#define SMP_FUNC_REPORT_PHY_EVENT_LIST 0x21 +#define SMP_FUNC_REPORT_EXP_RTL 0x22 + +/* 0x30 to 0x3f: Reserved for SMP input functions */ +/* 0x40 to 0x7f: Vendor specific */ + +/* 0x80 to 0xff: SMP output functions */ +/* 0x80 to 0x8f: General SMP output functions */ +#define SMP_FUNC_CONFIG_GENERAL 0x80 +#define SMP_FUNC_ENABLE_DISABLE_ZONING 0x81 +#define SMP_FUNC_ZONED_BROADCAST 0x85 +#define SMP_FUNC_ZONE_LOCK 0x86 +#define SMP_FUNC_ZONE_ACTIVATE 0x87 +#define SMP_FUNC_ZONE_UNLOCK 0x88 +#define SMP_FUNC_CONFIG_ZM_PWD 0x89 +#define SMP_FUNC_CONFIG_ZONE_PHY_INFO 0x8a +#define SMP_FUNC_CONFIG_ZONE_PERM_TBL 0x8b + +/* 0x90 to 0x9f: Phy-based SMP output functions */ +#define SMP_FUNC_CONFIG_ROUTE_INFO 0x90 +#define SMP_FUNC_PHY_CONTROL 0x91 +#define SMP_FUNC_PHY_TEST_FUNC 0x92 +#define SMP_FUNC_CONFIG_PHY_EVENT 0x93 + +/* 0xa0 to 0xbf: Reserved for SMP output functions */ +/* 0xc0 to 0xff: Vendor specific */ + +/* + * Function Results (current as of SPL Revision 7) + */ +#define SMP_FR_ACCEPTED 0x00 +#define SMP_FR_UNKNOWN_FUNC 0x01 +#define SMP_FR_FUNCTION_FAILED 0x02 +#define SMP_FR_INVALID_REQ_FRAME_LEN 0x03 +#define SMP_FR_INVALID_EXP_CHG_CNT 0x04 +#define SMP_FR_BUSY 0x05 +#define SMP_FR_INCOMPLETE_DESC_LIST 0x06 +#define SMP_FR_PHY_DOES_NOT_EXIST 0x10 +#define SMP_FR_INDEX_DOES_NOT_EXIST 0x11 +#define SMP_FR_PHY_DOES_NOT_SUP_SATA 0x12 +#define SMP_FR_UNKNOWN_PHY_OP 0x13 +#define SMP_FR_UNKNOWN_PHY_TEST_FUNC 0x14 +#define SMP_FR_PHY_TEST_FUNC_INPROG 0x15 +#define SMP_FR_PHY_VACANT 0x16 +#define SMP_FR_UNKNOWN_PHY_EVENT_SRC 0x17 +#define SMP_FR_UNKNOWN_DESC_TYPE 0x18 +#define SMP_FR_UNKNOWN_PHY_FILTER 0x19 +#define SMP_FR_AFFILIATION_VIOLATION 0x1a +#define SMP_FR_SMP_ZONE_VIOLATION 0x20 +#define SMP_FR_NO_MGMT_ACCESS_RIGHTS 0x21 +#define SMP_FR_UNKNOWN_ED_ZONING_VAL 0x22 +#define SMP_FR_ZONE_LOCK_VIOLATION 0x23 +#define SMP_FR_NOT_ACTIVATED 0x24 +#define SMP_FR_ZG_OUT_OF_RANGE 0x25 +#define SMP_FR_NO_PHYS_PRESENCE 0x26 +#define SMP_FR_SAVING_NOT_SUP 0x27 +#define SMP_FR_SRC_ZONE_DNE 0x28 +#define SMP_FR_DISABLED_PWD_NOT_SUP 0x29 + +/* + * REPORT GENERAL request and response, current as of SPL Revision 7. + */ +struct smp_report_general_request +{ + uint8_t frame_type; + uint8_t function; + uint8_t response_len; + uint8_t request_len; + uint8_t crc[4]; +}; + +struct smp_report_general_response +{ + uint8_t frame_type; + uint8_t function; + uint8_t function_result; + uint8_t response_len; +#define SMP_RG_RESPONSE_LEN 0x11 + uint8_t expander_change_count[2]; + uint8_t expander_route_indexes[2]; + uint8_t long_response; +#define SMP_RG_LONG_RESPONSE 0x80 + uint8_t num_phys; + uint8_t config_bits0; +#define SMP_RG_TABLE_TO_TABLE_SUP 0x80 +#define SMP_RG_ZONE_CONFIGURING 0x40 +#define SMP_RG_SELF_CONFIGURING 0x20 +#define SMP_RG_STP_CONTINUE_AWT 0x10 +#define SMP_RG_OPEN_REJECT_RETRY_SUP 0x08 +#define SMP_RG_CONFIGURES_OTHERS 0x04 +#define SMP_RG_CONFIGURING 0x02 +#define SMP_RG_EXT_CONFIG_ROUTE_TABLE 0x01 + uint8_t reserved0; + uint8_t encl_logical_id[8]; + uint8_t reserved1[8]; + uint8_t reserved2[2]; + uint8_t stp_bus_inact_time_limit[2]; + uint8_t stp_max_conn_time_limit[2]; + uint8_t stp_smp_it_nexus_loss_time[2]; + uint8_t config_bits1; +#define SMP_RG_NUM_ZONE_GROUPS_MASK 0xc0 +#define SMP_RG_NUM_ZONE_GROUPS_SHIFT 6 +#define SMP_RG_ZONE_LOCKED 0x10 +#define SMP_RG_PP_SUPPORTED 0x08 +#define SMP_RG_PP_ASSERTED 0x04 +#define SMP_RG_ZONING_SUPPORTED 0x02 +#define SMP_RG_ZONING_ENABLED 0x01 + uint8_t config_bits2; +#define SMP_RG_SAVING 0x10 +#define SMP_RG_SAVING_ZM_PWD_SUP 0x08 +#define SMP_RG_SAVING_PHY_INFO_SUP 0x04 +#define SMP_RG_SAVING_ZPERM_TAB_SUP 0x02 +#define SMP_RG_SAVING_ZENABLED_SUP 0x01 + uint8_t max_num_routed_addrs[2]; + uint8_t active_zm_address[8]; + uint8_t zone_lock_inact_time_limit[2]; + uint8_t reserved3[2]; + uint8_t reserved4; + uint8_t first_encl_conn_el_index; + uint8_t num_encl_conn_el_indexes; + uint8_t reserved5; + uint8_t reduced_functionality; +#define SMP_RG_REDUCED_FUNCTIONALITY 0x80 + uint8_t time_to_reduced_func; + uint8_t initial_time_to_reduced_func; + uint8_t max_reduced_func_time; + uint8_t last_sc_stat_desc_index[2]; + uint8_t max_sc_stat_descs[2]; + uint8_t last_phy_evl_desc_index[2]; + uint8_t max_stored_pel_descs[2]; + uint8_t stp_reject_to_open_limit[2]; + uint8_t reserved6[2]; + uint8_t crc[4]; +}; + +/* + * REPORT MANUFACTURER INFORMATION request and response, current as of SPL + * Revision 7. + */ +struct smp_report_manuf_info_request +{ + uint8_t frame_type; + uint8_t function; + uint8_t response_len; + uint8_t request_len; +#define SMP_RMI_REQUEST_LEN 0x00 + uint8_t crc[4]; +}; + +struct smp_report_manuf_info_response +{ + uint8_t frame_type; + uint8_t function; + uint8_t function_result; + uint8_t response_len; +#define SMP_RMI_RESPONSE_LEN 0x0e + uint8_t expander_change_count[2]; + uint8_t reserved0[2]; + uint8_t sas_11_format; +#define SMP_RMI_SAS11_FORMAT 0x01 + uint8_t reserved1[3]; + uint8_t vendor[8]; + uint8_t product[16]; + uint8_t revision[4]; + uint8_t comp_vendor[8]; + uint8_t comp_id[2]; + uint8_t comp_revision; + uint8_t reserved2; + uint8_t vendor_specific[8]; + uint8_t crc[4]; +}; + +/* + * DISCOVER request and response, current as of SPL Revision 7. + */ +struct smp_discover_request +{ + uint8_t frame_type; + uint8_t function; + uint8_t response_len; + uint8_t request_len; +#define SMP_DIS_REQUEST_LEN 0x02 + uint8_t reserved0[4]; + uint8_t ignore_zone_group; +#define SMP_DIS_IGNORE_ZONE_GROUP 0x01 + uint8_t phy; + uint8_t reserved1[2]; + uint8_t crc[4]; +}; + +struct smp_discover_response +{ + uint8_t frame_type; + uint8_t function; + uint8_t function_result; + uint8_t response_len; +#define SMP_DIS_RESPONSE_LEN 0x20 + uint8_t expander_change_count[2]; + uint8_t reserved0[3]; + uint8_t phy; + uint8_t reserved1[2]; + uint8_t attached_device; +#define SMP_DIS_AD_TYPE_MASK 0x70 +#define SMP_DIS_AD_TYPE_NONE 0x00 +#define SMP_DIS_AD_TYPE_SAS_SATA 0x10 +#define SMP_DIS_AD_TYPE_EXP 0x20 +#define SMP_DIS_AD_TYPE_EXP_OLD 0x30 +#define SMP_DIS_ATTACH_REASON_MASK 0x0f + uint8_t neg_logical_link_rate; +#define SMP_DIS_LR_MASK 0x0f +#define SMP_DIS_LR_DISABLED 0x01 +#define SMP_DIS_LR_PHY_RES_PROB 0x02 +#define SMP_DIS_LR_SPINUP_HOLD 0x03 +#define SMP_DIS_LR_PORT_SEL 0x04 +#define SMP_DIS_LR_RESET_IN_PROG 0x05 +#define SMP_DIS_LR_UNSUP_PHY_ATTACHED 0x06 +#define SMP_DIS_LR_G1_15GBPS 0x08 +#define SMP_DIS_LR_G2_30GBPS 0x09 +#define SMP_DIS_LR_G3_60GBPS 0x0a + uint8_t config_bits0; +#define SMP_DIS_ATTACHED_SSP_INIT 0x08 +#define SMP_DIS_ATTACHED_STP_INIT 0x04 +#define SMP_DIS_ATTACHED_SMP_INIT 0x02 +#define SMP_DIS_ATTACHED_SATA_HOST 0x01 + uint8_t config_bits1; +#define SMP_DIS_ATTACHED_SATA_PORTSEL 0x80 +#define SMP_DIS_STP_BUFFER_TOO_SMALL 0x10 +#define SMP_DIS_ATTACHED_SSP_TARG 0x08 +#define SMP_DIS_ATTACHED_STP_TARG 0x04 +#define SMP_DIS_ATTACHED_SMP_TARG 0x02 +#define SMP_DIS_ATTACHED_SATA_DEV 0x01 + uint8_t sas_address[8]; + uint8_t attached_sas_address[8]; + uint8_t attached_phy_id; + uint8_t config_bits2; +#define SMP_DIS_ATT_SLUMB_CAP 0x10 +#define SMP_DIS_ATT_PAR_CAP 0x08 +#define SMP_DIS_ATT_IN_ZPSDS_PER 0x04 +#define SMP_DIS_ATT_REQ_IN_ZPSDS 0x02 +#define SMP_DIS_ATT_BREAK_RPL_CAP 0x01 + uint8_t reserved2[6]; + uint8_t link_rate0; +#define SMP_DIS_PROG_MIN_LR_MASK 0xf0 +#define SMP_DIS_PROG_MIN_LR_SHIFT 4 +#define SMP_DIS_HARD_MIN_LR_MASK 0x0f + uint8_t link_rate1; +#define SMP_DIS_PROG_MAX_LR_MAX 0xf0 +#define SMP_DIS_PROG_MAX_LR_SHIFT 4 +#define SMP_DIS_HARD_MAX_LR_MASK 0x0f + uint8_t phy_change_count; + uint8_t pp_timeout; +#define SMP_DIS_VIRTUAL_PHY 0x80 +#define SMP_DIS_PP_TIMEOUT_MASK 0x0f + uint8_t routing_attr; + uint8_t conn_type; + uint8_t conn_el_index; + uint8_t conn_phys_link; + uint8_t config_bits3; +#define SMP_DIS_PHY_POW_COND_MASK 0xc0 +#define SMP_DIS_PHY_POW_COND_SHIFT 6 +#define SMP_DIS_SAS_SLUMB_CAP 0x08 +#define SMP_DIS_SAS_PART_CAP 0x04 +#define SMP_DIS_SATA_SLUMB_CAP 0x02 +#define SMP_DIS_SATA_PART_CAP 0x01 + uint8_t config_bits4; +#define SMP_DIS_SAS_SLUMB_ENB 0x08 +#define SMP_DIS_SAS_PART_ENB 0x04 +#define SMP_DIS_SATA_SLUMB_ENB 0x02 +#define SMP_DIS_SATA_PART_ENB 0x01 + uint8_t vendor_spec[2]; + uint8_t attached_dev_name[8]; + uint8_t config_bits5; +#define SMP_DIS_REQ_IN_ZPSDS_CHG 0x40 +#define SMP_DIS_IN_ZPSDS_PER 0x20 +#define SMP_DIS_REQ_IN_ZPSDS 0x10 +#define SMP_DIS_ZG_PER 0x04 +#define SMP_DIS_IN_ZPSDS 0x02 +#define SMP_DIS_ZONING_ENB 0x01 + uint8_t reserved3[2]; + uint8_t zone_group; + uint8_t self_config_status; + uint8_t self_config_levels_comp; + uint8_t reserved4[2]; + uint8_t self_config_sas_addr[8]; + uint8_t prog_phy_cap[4]; + uint8_t current_phy_cap[4]; + uint8_t attached_phy_cap[4]; + uint8_t reserved5[6]; + uint8_t neg_phys_link_rate; +#define SMP_DIS_REASON_MASK 0xf0 +#define SMP_DIS_REASON_SHIFT 4 +#define SMP_DIS_PHYS_LR_MASK 0x0f + uint8_t config_bits6; +#define SMP_DIS_OPTICAL_MODE_ENB 0x04 +#define SMP_DIS_NEG_SSC 0x02 +#define SMP_DIS_HW_MUX_SUP 0x01 + uint8_t config_bits7; +#define SMP_DIS_DEF_IN_ZPSDS_PER 0x20 +#define SMP_DIS_DEF_REQ_IN_ZPSDS 0x10 +#define SMP_DIS_DEF_ZG_PER 0x04 +#define SMP_DIS_DEF_ZONING_ENB 0x01 + uint8_t reserved6; + uint8_t reserved7; + uint8_t default_zone_group; + uint8_t config_bits8; +#define SMP_DIS_SAVED_IN_ZPSDS_PER 0x20 +#define SMP_DIS_SAVED_REQ_IN_SPSDS 0x10 +#define SMP_DIS_SAVED_ZG_PER 0x04 *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-projects@FreeBSD.ORG Fri Nov 22 21:20:16 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F0BA286C; Fri, 22 Nov 2013 21:20:16 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E0DAE2ED7; Fri, 22 Nov 2013 21:20:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAMLKGeb055261; Fri, 22 Nov 2013 21:20:16 GMT (envelope-from emaste@svn.freebsd.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAMLKGsJ055260; Fri, 22 Nov 2013 21:20:16 GMT (envelope-from emaste@svn.freebsd.org) Message-Id: <201311222120.rAMLKGsJ055260@svn.freebsd.org> From: Ed Maste Date: Fri, 22 Nov 2013 21:20:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258487 - projects/sv/sys/dev/ixgbe X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 21:20:17 -0000 Author: emaste Date: Fri Nov 22 21:20:16 2013 New Revision: 258487 URL: http://svnweb.freebsd.org/changeset/base/258487 Log: Fix typo from r220148 Sponsored by: The FreeBSD Foundation Modified: projects/sv/sys/dev/ixgbe/ixgbe.c Modified: projects/sv/sys/dev/ixgbe/ixgbe.c ============================================================================== --- projects/sv/sys/dev/ixgbe/ixgbe.c Fri Nov 22 21:13:06 2013 (r258486) +++ projects/sv/sys/dev/ixgbe/ixgbe.c Fri Nov 22 21:20:16 2013 (r258487) @@ -47,7 +47,7 @@ } while (0) #define IXGBE_RX_UNLOCK_COND(rxr, locking) do { \ if ((locking) != 0) \ - IXGBE_RX_UNLOCK(rtxr); \ + IXGBE_RX_UNLOCK(rxr); \ } while (0) #define IXGBE_TX_LOCK_COND(txr, locking) do { \ if ((locking) != 0) \ From owner-svn-src-projects@FreeBSD.ORG Fri Nov 22 21:21:56 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CC3CB97A; Fri, 22 Nov 2013 21:21:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BC2232F11; Fri, 22 Nov 2013 21:21:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAMLLu10057471; Fri, 22 Nov 2013 21:21:56 GMT (envelope-from emaste@svn.freebsd.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAMLLu05057470; Fri, 22 Nov 2013 21:21:56 GMT (envelope-from emaste@svn.freebsd.org) Message-Id: <201311222121.rAMLLu05057470@svn.freebsd.org> From: Ed Maste Date: Fri, 22 Nov 2013 21:21:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258488 - projects/sv/sys/netinet X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 21:21:56 -0000 Author: emaste Date: Fri Nov 22 21:21:56 2013 New Revision: 258488 URL: http://svnweb.freebsd.org/changeset/base/258488 Log: Avoid alignment faults on ARM in netdump's ARP function Based on a patch submitted by Boris Astardzhiev. Sponsored by: The FreeBSD Foundation Modified: projects/sv/sys/netinet/netdump_client.c Modified: projects/sv/sys/netinet/netdump_client.c ============================================================================== --- projects/sv/sys/netinet/netdump_client.c Fri Nov 22 21:20:16 2013 (r258487) +++ projects/sv/sys/netinet/netdump_client.c Fri Nov 22 21:21:56 2013 (r258488) @@ -421,9 +421,9 @@ netdump_send_arp() ah->ar_pln = sizeof(struct in_addr); ah->ar_op = htons(ARPOP_REQUEST); memcpy(ar_sha(ah), IF_LLADDR(nd_ifp), ETHER_ADDR_LEN); - ((struct in_addr *)ar_spa(ah))->s_addr = nd_client.s_addr; + memcpy(ar_spa(ah), &nd_client.s_addr, sizeof(nd_client.s_addr)); bzero(ar_tha(ah), ETHER_ADDR_LEN); - ((struct in_addr *)ar_tpa(ah))->s_addr = nd_gw.s_addr; + memcpy(ar_tpa(ah), &nd_gw.s_addr, sizeof(nd_gw.s_addr)); return (netdump_ether_output(m, nd_ifp, bcast, ETHERTYPE_ARP)); } From owner-svn-src-projects@FreeBSD.ORG Fri Nov 22 22:12:12 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8385E7AF; Fri, 22 Nov 2013 22:12:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5927921BC; Fri, 22 Nov 2013 22:12:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAMMCCIB075683; Fri, 22 Nov 2013 22:12:12 GMT (envelope-from emaste@svn.freebsd.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAMMCCWq075682; Fri, 22 Nov 2013 22:12:12 GMT (envelope-from emaste@svn.freebsd.org) Message-Id: <201311222212.rAMMCCWq075682@svn.freebsd.org> From: Ed Maste Date: Fri, 22 Nov 2013 22:12:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258490 - projects/sv/tools/regression/fstest X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 22:12:12 -0000 Author: emaste Date: Fri Nov 22 22:12:11 2013 New Revision: 258490 URL: http://svnweb.freebsd.org/changeset/base/258490 Log: Remove extra copy of fstest (pjdfstest) The rename done in r211352 was not properly brought to this project branch, which had a copy in both fstest/ and pjdfstest/. Sponsored by: The FreeBSD Foundation Deleted: projects/sv/tools/regression/fstest/ From owner-svn-src-projects@FreeBSD.ORG Sat Nov 23 14:54:23 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 44FC4CC0; Sat, 23 Nov 2013 14:54:23 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 31FE42BC3; Sat, 23 Nov 2013 14:54:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rANEsNxv038805; Sat, 23 Nov 2013 14:54:23 GMT (envelope-from markm@svn.freebsd.org) Received: (from markm@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rANEsKJg038787; Sat, 23 Nov 2013 14:54:20 GMT (envelope-from markm@svn.freebsd.org) Message-Id: <201311231454.rANEsKJg038787@svn.freebsd.org> From: Mark Murray Date: Sat, 23 Nov 2013 14:54:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r258498 - in projects/random_number_generator: contrib/gcc contrib/gcc/config contrib/gcc/config/i386 contrib/gcc/config/rs6000 contrib/gcc/cp contrib/gcc/doc contrib/libexecinfo contri... X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Nov 2013 14:54:23 -0000 Author: markm Date: Sat Nov 23 14:54:20 2013 New Revision: 258498 URL: http://svnweb.freebsd.org/changeset/base/258498 Log: MFC - tracking commit. Added: projects/random_number_generator/contrib/gcc/cp/ChangeLog.gcc43 - copied unchanged from r258497, head/contrib/gcc/cp/ChangeLog.gcc43 projects/random_number_generator/tools/regression/bin/sh/execution/bg5.0 - copied unchanged from r258497, head/tools/regression/bin/sh/execution/bg5.0 projects/random_number_generator/tools/regression/bin/sh/execution/bg6.0 - copied unchanged from r258497, head/tools/regression/bin/sh/execution/bg6.0 projects/random_number_generator/tools/regression/bin/sh/execution/bg6.0.stdout - copied unchanged from r258497, head/tools/regression/bin/sh/execution/bg6.0.stdout Modified: projects/random_number_generator/contrib/gcc/ChangeLog.gcc43 projects/random_number_generator/contrib/gcc/Makefile.in projects/random_number_generator/contrib/gcc/builtin-types.def projects/random_number_generator/contrib/gcc/builtins.c projects/random_number_generator/contrib/gcc/builtins.def projects/random_number_generator/contrib/gcc/cgraphunit.c projects/random_number_generator/contrib/gcc/collect2.c projects/random_number_generator/contrib/gcc/config/i386/beos-elf.h projects/random_number_generator/contrib/gcc/config/i386/cygwin.h projects/random_number_generator/contrib/gcc/config/i386/i386.c projects/random_number_generator/contrib/gcc/config/i386/i386.h projects/random_number_generator/contrib/gcc/config/i386/i386.md projects/random_number_generator/contrib/gcc/config/i386/nto.h projects/random_number_generator/contrib/gcc/config/rs6000/aix.h projects/random_number_generator/contrib/gcc/config/rs6000/sysv4.h projects/random_number_generator/contrib/gcc/config/svr4.h projects/random_number_generator/contrib/gcc/configure projects/random_number_generator/contrib/gcc/configure.ac projects/random_number_generator/contrib/gcc/coverage.c projects/random_number_generator/contrib/gcc/cp/decl2.c projects/random_number_generator/contrib/gcc/cp/name-lookup.c projects/random_number_generator/contrib/gcc/cppdefault.c projects/random_number_generator/contrib/gcc/doc/extend.texi projects/random_number_generator/contrib/gcc/doc/libgcc.texi projects/random_number_generator/contrib/gcc/doc/rtl.texi projects/random_number_generator/contrib/gcc/dwarf2out.c projects/random_number_generator/contrib/gcc/expr.c projects/random_number_generator/contrib/gcc/fold-const.c projects/random_number_generator/contrib/gcc/gcc.c projects/random_number_generator/contrib/gcc/genattrtab.c projects/random_number_generator/contrib/gcc/genopinit.c projects/random_number_generator/contrib/gcc/libgcc-std.ver projects/random_number_generator/contrib/gcc/libgcc2.c projects/random_number_generator/contrib/gcc/libgcc2.h projects/random_number_generator/contrib/gcc/mips-tdump.c projects/random_number_generator/contrib/gcc/mips-tfile.c projects/random_number_generator/contrib/gcc/mklibgcc.in projects/random_number_generator/contrib/gcc/optabs.c projects/random_number_generator/contrib/gcc/optabs.h projects/random_number_generator/contrib/gcc/reload1.c projects/random_number_generator/contrib/gcc/rtl.def projects/random_number_generator/contrib/gcc/simplify-rtx.c projects/random_number_generator/contrib/gcc/tree-ssa-propagate.c projects/random_number_generator/contrib/gcc/tree.c projects/random_number_generator/contrib/gcc/tree.h projects/random_number_generator/contrib/libexecinfo/backtrace.c projects/random_number_generator/contrib/libstdc++/include/bits/basic_string.h projects/random_number_generator/contrib/libstdc++/include/bits/basic_string.tcc projects/random_number_generator/contrib/libstdc++/include/bits/stl_algobase.h projects/random_number_generator/contrib/libstdc++/include/bits/stl_tree.h projects/random_number_generator/contrib/libstdc++/include/bits/stl_vector.h projects/random_number_generator/contrib/libstdc++/include/ext/mt_allocator.h projects/random_number_generator/contrib/libstdc++/include/ext/throw_allocator.h projects/random_number_generator/contrib/libstdc++/libsupc++/eh_alloc.cc projects/random_number_generator/contrib/libstdc++/src/mt_allocator.cc projects/random_number_generator/contrib/mtree/compare.c projects/random_number_generator/contrib/mtree/create.c projects/random_number_generator/contrib/mtree/spec.c projects/random_number_generator/gnu/usr.bin/cc/Makefile.inc projects/random_number_generator/gnu/usr.bin/cc/cc_tools/freebsd-native.h projects/random_number_generator/lib/libc/amd64/SYS.h projects/random_number_generator/lib/libc/amd64/gen/_setjmp.S projects/random_number_generator/lib/libc/amd64/gen/setjmp.S projects/random_number_generator/lib/libc/amd64/gen/sigsetjmp.S projects/random_number_generator/lib/libc/amd64/sys/getcontext.S projects/random_number_generator/lib/libc/amd64/sys/pipe.S projects/random_number_generator/lib/libc/amd64/sys/reboot.S projects/random_number_generator/lib/libc/amd64/sys/setlogin.S projects/random_number_generator/lib/libc/amd64/sys/vfork.S projects/random_number_generator/lib/libc/i386/SYS.h projects/random_number_generator/lib/libc/i386/gen/_setjmp.S projects/random_number_generator/lib/libc/i386/gen/setjmp.S projects/random_number_generator/lib/libc/i386/gen/sigsetjmp.S projects/random_number_generator/lib/libc/i386/string/strchr.S projects/random_number_generator/lib/libc/i386/string/strrchr.S projects/random_number_generator/lib/libc/i386/sys/Ovfork.S projects/random_number_generator/lib/libc/i386/sys/getcontext.S projects/random_number_generator/lib/libkse/arch/i386/i386/thr_getcontext.S projects/random_number_generator/lib/libpam/libpam/Makefile projects/random_number_generator/lib/libvmmapi/vmmapi.c projects/random_number_generator/lib/libvmmapi/vmmapi.h projects/random_number_generator/release/doc/en_US.ISO8859-1/errata/article.xml projects/random_number_generator/release/doc/en_US.ISO8859-1/hardware/article.xml projects/random_number_generator/release/doc/en_US.ISO8859-1/readme/article.xml projects/random_number_generator/sbin/pfctl/pfctl.c projects/random_number_generator/sbin/swapon/swapon.8 projects/random_number_generator/share/man/man5/rc.conf.5 projects/random_number_generator/sys/amd64/amd64/machdep.c projects/random_number_generator/sys/amd64/include/asm.h projects/random_number_generator/sys/amd64/include/vmm_dev.h (contents, props changed) projects/random_number_generator/sys/amd64/vmm/io/vioapic.c projects/random_number_generator/sys/amd64/vmm/io/vioapic.h projects/random_number_generator/sys/amd64/vmm/vmm_dev.c projects/random_number_generator/sys/amd64/vmm/vmm_ktr.h projects/random_number_generator/sys/arm/arm/devmap.c projects/random_number_generator/sys/arm/at91/at91_machdep.c projects/random_number_generator/sys/arm/econa/econa_machdep.c projects/random_number_generator/sys/arm/s3c2xx0/s3c24x0_machdep.c projects/random_number_generator/sys/arm/sa11x0/assabet_machdep.c projects/random_number_generator/sys/arm/xscale/i80321/ep80219_machdep.c projects/random_number_generator/sys/arm/xscale/i80321/iq31244_machdep.c projects/random_number_generator/sys/arm/xscale/i8134x/crb_machdep.c projects/random_number_generator/sys/arm/xscale/ixp425/avila_machdep.c projects/random_number_generator/sys/arm/xscale/pxa/pxa_machdep.c projects/random_number_generator/sys/conf/options.arm projects/random_number_generator/sys/crypto/aesni/aesni.c projects/random_number_generator/sys/dev/cxgbe/t4_main.c projects/random_number_generator/sys/dev/nand/nand_cdev.c projects/random_number_generator/sys/dev/nand/nand_geom.c projects/random_number_generator/sys/geom/part/g_part_gpt.c projects/random_number_generator/sys/i386/i386/machdep.c projects/random_number_generator/sys/i386/include/asm.h projects/random_number_generator/sys/net/pfvar.h projects/random_number_generator/sys/netpfil/ipfw/dn_sched.h projects/random_number_generator/sys/netpfil/ipfw/ip_dn_io.c projects/random_number_generator/sys/netpfil/ipfw/ip_dn_private.h projects/random_number_generator/sys/netpfil/ipfw/ip_fw2.c projects/random_number_generator/sys/netpfil/ipfw/ip_fw_dynamic.c projects/random_number_generator/sys/netpfil/ipfw/ip_fw_log.c projects/random_number_generator/sys/netpfil/ipfw/ip_fw_pfil.c projects/random_number_generator/sys/netpfil/pf/pf.c projects/random_number_generator/sys/netpfil/pf/pf_ioctl.c projects/random_number_generator/sys/powerpc/aim/trap.c projects/random_number_generator/sys/powerpc/pseries/plpar_iommu.c projects/random_number_generator/sys/vm/uma_core.c projects/random_number_generator/usr.bin/from/from.c projects/random_number_generator/usr.sbin/acpi/acpidump/acpi.c projects/random_number_generator/usr.sbin/bhyve/pci_emul.c projects/random_number_generator/usr.sbin/bhyve/pci_emul.h projects/random_number_generator/usr.sbin/bhyve/pci_lpc.c projects/random_number_generator/usr.sbin/bhyve/pit_8254.c projects/random_number_generator/usr.sbin/bsdconfig/dot/dot projects/random_number_generator/usr.sbin/bsdconfig/includes/USAGE projects/random_number_generator/usr.sbin/bsdconfig/includes/includes projects/random_number_generator/usr.sbin/bsdconfig/networking/devices projects/random_number_generator/usr.sbin/bsdconfig/networking/share/device.subr projects/random_number_generator/usr.sbin/bsdconfig/share/device.subr projects/random_number_generator/usr.sbin/bsdconfig/share/media/tcpip.subr projects/random_number_generator/usr.sbin/mergemaster/mergemaster.sh projects/random_number_generator/usr.sbin/sysrc/sysrc.8 projects/random_number_generator/usr.sbin/wpa/ndis_events/ndis_events.8 Directory Properties: projects/random_number_generator/ (props changed) projects/random_number_generator/contrib/gcc/ (props changed) projects/random_number_generator/contrib/libexecinfo/ (props changed) projects/random_number_generator/contrib/libstdc++/ (props changed) projects/random_number_generator/contrib/mtree/ (props changed) projects/random_number_generator/gnu/usr.bin/cc/cc_tools/ (props changed) projects/random_number_generator/lib/libc/ (props changed) projects/random_number_generator/lib/libvmmapi/ (props changed) projects/random_number_generator/sbin/ (props changed) projects/random_number_generator/sys/ (props changed) projects/random_number_generator/sys/amd64/vmm/ (props changed) projects/random_number_generator/sys/conf/ (props changed) projects/random_number_generator/usr.sbin/bhyve/ (props changed) Modified: projects/random_number_generator/contrib/gcc/ChangeLog.gcc43 ============================================================================== --- projects/random_number_generator/contrib/gcc/ChangeLog.gcc43 Sat Nov 23 13:42:56 2013 (r258497) +++ projects/random_number_generator/contrib/gcc/ChangeLog.gcc43 Sat Nov 23 14:54:20 2013 (r258498) @@ -10,6 +10,12 @@ * doc/extend.texi: Document the 0b-prefixed binary integer constant extension. +2007-05-31 Eric Christopher + + * expr.c (convert_move): Assert that we don't have a BLKmode + operand. + (store_expr): Handle BLKmode moves by calling emit_block_move. + 2007-05-24 Richard Sandiford (r125037) * postreload-gcse.c (reg_changed_after_insn_p): New function. @@ -99,6 +105,12 @@ (dwarf2out_imported_module_or_decl): Suppress struct debug information using should_emit_struct_debug when appropriate. +2007-04-16 Ian Lance Taylor (r123906) + + * tree-ssa-propagate.c (cfg_blocks_add): Insert blocks with fewer + predecessors at head rather than tail. + + 2007-04-12 Richard Guenther (r123736) PR tree-optimization/24689 @@ -333,6 +345,28 @@ * doc/invoke.texi (Warning Options): Update -Wparentheses description. +2006-12-12 Geoffrey Keating (r119820) + + * mips-tdump.c: Replace CROSS_COMPILE with + CROSS_DIRECTORY_STRUCTURE. + * mips-tfile.c: Likewise. + * gcc.c: Likewise. + * configure.ac: Likewise. + * cppdefault.c: Likewise. + * Makefile.in: Likewise. + * config/alpha/osf.h: Likewise. + * config/i386/cygwin.h: Likewise. + * config/i386/beos-elf.h: Likewise. + * config/i386/nto.h: Likewise. + * config/svr4.h: Likewise. + * config/rs6000/aix.h: Likewise. + * config/rs6000/sysv4.h: Likewise. + * collect2.c: Likewise. + * configure: Regenerate. + + * doc/tm.texi (Alignment Output): Document that ASM_OUTPUT_SKIP + actually takes an unsigned HOST_WIDE_INT for its second parameter. + 2006-12-02 H.J. Lu (r119454 - partial) PR target/30040 @@ -371,6 +405,30 @@ (override_options): Add entries for Core2. (ix86_issue_rate): Add case for Core2. +2006-11-07 Eric Christopher (r118576) + + * libgcc2.c (__bswapdi2): Rename from bswapDI2. + (__bswapsi2): Ditto. + * libgcc2.h: Remove transformation of bswap routines. + * config/i386/i386.md (bswapsi2): New. + (bswapdi2): Ditto. + +2006-10-31 Geoffrey Keating (r118360) + + * coverage.c (coverage_checksum_string): Update comment. + * dwarf2out.c (switch_to_eh_frame_section): Update for removal + of get_file_function_name. + * cgraphunit.c (cgraph_build_static_cdtor): Update for rename + of get_file_function_name_long. + * tree.c (get_file_function_name): Rename from + get_file_function_name_long; improve comment; handle 'I' and 'D' + specially when the target has ctor/dtor support; remove special + handling for 'F'. + (get_file_function_name): Remove. + * tree.h (get_file_function_name): Rename from + get_file_function_name_long. + (get_file_function_name): Remove prototype. + 2006-10-31 Geoffrey Keating (r118356) * c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on @@ -521,3 +579,51 @@ * builtins.c (fold_builtin_classify): Fix typo. +2006-09-07 Eric Christopher (r118361) + Falk Hueffner + + * doc/extend.texi (__builtin_bswap32): Document. + (__builtin_bswap64): Ditto. + * doc/libgcc.texi (bswapsi2): Document. + (bswapdi2): Ditto. + * doc/rtl.texi (bswap): Document. + * optabs.c (expand_unop): Don't widen a bswap. + (init_optabs): Init bswap. Set libfuncs explicitly + for bswapsi2 and bswapdi2. + * optabs.h (OTI_bswap): New. + (bswap_optab): Ditto. + * genopinit.c (optabs): Handle bswap_optab. + * tree.h (tree_index): Add TI_UINT32_TYPE and + TI_UINT64_TYPE. + (uint32_type_node): New. + (uint64_type_node): Ditto. + * tree.c (build_common_tree_nodes_2): Initialize + uint32_type_node and uint64_type_node. + * builtins.c (expand_builtin_bswap): New. + (expand_builtin): Call. + (fold_builtin_bswap): New. + (fold_builtin_1): Call. + * fold-const.c (tree_expr_nonnegative_p): Return true + for bswap. + * builtin-types.def (BT_UINT32): New. + (BT_UINT64): Ditto. + (BT_FN_UINT32_UINT32): Ditto. + (BT_FN_UINT64_UINT64): Ditto. + * builtins.def (BUILT_IN_BSWAP32): New. + (BUILT_IN_BSWAP64): Ditto. + * rtl.def (BSWAP): New. + * genattrtab.c (check_attr_value): New. + * libgcc2.c (__bswapSI2): New. + (__bswapDI2): Ditto. + * libgcc2.h (__bswapSI2): Declare. + (__bswapDI2): Ditto. + * mklibgcc.in (lib2funcs): Add _bswapsi2 and _bswapdi2. + * simplify-rtx.c (simplify_const_unary_operation): Return + 0 for BSWAP. + * libgcc-std.ver (__bwapsi2): Add. + (__bswapdi2): Ditto. + * reload1.c (eliminate_regs_1): Add bswap. + (elimination_effects): Ditto. + * config/i386/i386.h (x86_bswap): New. + (TARGET_BSWAP): Use. + * config/i386/i386.c (x86_bswap): Set. Modified: projects/random_number_generator/contrib/gcc/Makefile.in ============================================================================== --- projects/random_number_generator/contrib/gcc/Makefile.in Sat Nov 23 13:42:56 2013 (r258497) +++ projects/random_number_generator/contrib/gcc/Makefile.in Sat Nov 23 14:54:20 2013 (r258498) @@ -822,7 +822,8 @@ REAL_H = real.h $(MACHMODE_H) # IN_GCC distinguishes between code compiled into GCC itself and other # programs built during a bootstrap. -# autoconf inserts -DCROSS_COMPILE if we are building a cross compiler. +# autoconf inserts -DCROSS_DIRECTORY_STRUCTURE if we are building a +# cross compiler which does not use the native headers and libraries. INTERNAL_CFLAGS = -DIN_GCC @CROSS@ # This is the variable actually used when we compile. If you change this, Modified: projects/random_number_generator/contrib/gcc/builtin-types.def ============================================================================== --- projects/random_number_generator/contrib/gcc/builtin-types.def Sat Nov 23 13:42:56 2013 (r258497) +++ projects/random_number_generator/contrib/gcc/builtin-types.def Sat Nov 23 14:54:20 2013 (r258498) @@ -75,6 +75,8 @@ DEF_PRIMITIVE_TYPE (BT_LONGLONG, long_lo DEF_PRIMITIVE_TYPE (BT_ULONGLONG, long_long_unsigned_type_node) DEF_PRIMITIVE_TYPE (BT_INTMAX, intmax_type_node) DEF_PRIMITIVE_TYPE (BT_UINTMAX, uintmax_type_node) +DEF_PRIMITIVE_TYPE (BT_UINT32, uint32_type_node) +DEF_PRIMITIVE_TYPE (BT_UINT64, uint64_type_node) DEF_PRIMITIVE_TYPE (BT_WORD, (*lang_hooks.types.type_for_mode) (word_mode, 0)) DEF_PRIMITIVE_TYPE (BT_FLOAT, float_type_node) DEF_PRIMITIVE_TYPE (BT_DOUBLE, double_type_node) @@ -204,6 +206,10 @@ DEF_FUNCTION_TYPE_1 (BT_FN_DFLOAT128_DFL DEF_FUNCTION_TYPE_1 (BT_FN_VOID_VPTR, BT_VOID, BT_VOLATILE_PTR) DEF_FUNCTION_TYPE_1 (BT_FN_VOID_PTRPTR, BT_VOID, BT_PTR_PTR) DEF_FUNCTION_TYPE_1 (BT_FN_UINT_UINT, BT_UINT, BT_UINT) +DEF_FUNCTION_TYPE_1 (BT_FN_ULONG_ULONG, BT_ULONG, BT_ULONG) +DEF_FUNCTION_TYPE_1 (BT_FN_ULONGLONG_ULONGLONG, BT_ULONGLONG, BT_ULONGLONG) +DEF_FUNCTION_TYPE_1 (BT_FN_UINT32_UINT32, BT_UINT32, BT_UINT32) +DEF_FUNCTION_TYPE_1 (BT_FN_UINT64_UINT64, BT_UINT64, BT_UINT64) DEF_POINTER_TYPE (BT_PTR_FN_VOID_PTR, BT_FN_VOID_PTR) @@ -435,4 +441,3 @@ DEF_FUNCTION_TYPE_VAR_5 (BT_FN_INT_STRIN DEF_POINTER_TYPE (BT_PTR_FN_VOID_VAR, BT_FN_VOID_VAR) DEF_FUNCTION_TYPE_3 (BT_FN_PTR_PTR_FN_VOID_VAR_PTR_SIZE, BT_PTR, BT_PTR_FN_VOID_VAR, BT_PTR, BT_SIZE) - Modified: projects/random_number_generator/contrib/gcc/builtins.c ============================================================================== --- projects/random_number_generator/contrib/gcc/builtins.c Sat Nov 23 13:42:56 2013 (r258497) +++ projects/random_number_generator/contrib/gcc/builtins.c Sat Nov 23 14:54:20 2013 (r258498) @@ -4589,6 +4589,30 @@ expand_builtin_alloca (tree arglist, rtx return result; } +/* Expand a call to a bswap builtin. The arguments are in ARGLIST. MODE + is the mode to expand with. */ + +static rtx +expand_builtin_bswap (tree arglist, rtx target, rtx subtarget) +{ + enum machine_mode mode; + tree arg; + rtx op0; + + if (!validate_arglist (arglist, INTEGER_TYPE, VOID_TYPE)) + return 0; + + arg = TREE_VALUE (arglist); + mode = TYPE_MODE (TREE_TYPE (arg)); + op0 = expand_expr (arg, subtarget, VOIDmode, 0); + + target = expand_unop (mode, bswap_optab, op0, target, 1); + + gcc_assert (target); + + return convert_to_mode (mode, target, 0); +} + /* Expand a call to a unary builtin. The arguments are in ARGLIST. Return 0 if a normal call should be emitted rather than expanding the function in-line. If convenient, the result should be placed in TARGET. @@ -5877,6 +5901,14 @@ expand_builtin (tree exp, rtx target, rt expand_stack_restore (TREE_VALUE (arglist)); return const0_rtx; + case BUILT_IN_BSWAP32: + case BUILT_IN_BSWAP64: + target = expand_builtin_bswap (arglist, target, subtarget); + + if (target) + return target; + break; + CASE_INT_FN (BUILT_IN_FFS): case BUILT_IN_FFSIMAX: target = expand_builtin_unop (target_mode, arglist, target, @@ -7539,6 +7571,67 @@ fold_builtin_bitop (tree fndecl, tree ar return NULL_TREE; } +/* Fold function call to builtin_bswap and the long and long long + variants. Return NULL_TREE if no simplification can be made. */ +static tree +fold_builtin_bswap (tree fndecl, tree arglist) +{ + tree arg; + + if (! validate_arglist (arglist, INTEGER_TYPE, VOID_TYPE)) + return 0; + + /* Optimize constant value. */ + arg = TREE_VALUE (arglist); + if (TREE_CODE (arg) == INTEGER_CST && ! TREE_CONSTANT_OVERFLOW (arg)) + { + HOST_WIDE_INT hi, width, r_hi = 0; + unsigned HOST_WIDE_INT lo, r_lo = 0; + tree type; + + type = TREE_TYPE (arg); + width = TYPE_PRECISION (type); + lo = TREE_INT_CST_LOW (arg); + hi = TREE_INT_CST_HIGH (arg); + + switch (DECL_FUNCTION_CODE (fndecl)) + { + case BUILT_IN_BSWAP32: + case BUILT_IN_BSWAP64: + { + int s; + + for (s = 0; s < width; s += 8) + { + int d = width - s - 8; + unsigned HOST_WIDE_INT byte; + + if (s < HOST_BITS_PER_WIDE_INT) + byte = (lo >> s) & 0xff; + else + byte = (hi >> (s - HOST_BITS_PER_WIDE_INT)) & 0xff; + + if (d < HOST_BITS_PER_WIDE_INT) + r_lo |= byte << d; + else + r_hi |= byte << (d - HOST_BITS_PER_WIDE_INT); + } + } + + break; + + default: + gcc_unreachable (); + } + + if (width < HOST_BITS_PER_WIDE_INT) + return build_int_cst (TREE_TYPE (TREE_TYPE (fndecl)), r_lo); + else + return build_int_cst_wide (TREE_TYPE (TREE_TYPE (fndecl)), r_lo, r_hi); + } + + return NULL_TREE; +} /* Return true if EXPR is the real constant contained in VALUE. */ static bool @@ -9053,6 +9146,10 @@ fold_builtin_1 (tree fndecl, tree arglis CASE_FLT_FN (BUILT_IN_LLRINT): return fold_fixed_mathfn (fndecl, arglist); + case BUILT_IN_BSWAP32: + case BUILT_IN_BSWAP64: + return fold_builtin_bswap (fndecl, arglist); + CASE_INT_FN (BUILT_IN_FFS): CASE_INT_FN (BUILT_IN_CLZ): CASE_INT_FN (BUILT_IN_CTZ): Modified: projects/random_number_generator/contrib/gcc/builtins.def ============================================================================== --- projects/random_number_generator/contrib/gcc/builtins.def Sat Nov 23 13:42:56 2013 (r258497) +++ projects/random_number_generator/contrib/gcc/builtins.def Sat Nov 23 14:54:20 2013 (r258498) @@ -594,6 +594,8 @@ DEF_EXT_LIB_BUILTIN (BUILT_IN_ALLOCA, DEF_GCC_BUILTIN (BUILT_IN_APPLY, "apply", BT_FN_PTR_PTR_FN_VOID_VAR_PTR_SIZE, ATTR_NULL) DEF_GCC_BUILTIN (BUILT_IN_APPLY_ARGS, "apply_args", BT_FN_PTR_VAR, ATTR_NULL) DEF_GCC_BUILTIN (BUILT_IN_ARGS_INFO, "args_info", BT_FN_INT_INT, ATTR_NULL) +DEF_GCC_BUILTIN (BUILT_IN_BSWAP32, "bswap32", BT_FN_UINT32_UINT32, ATTR_CONST_NOTHROW_LIST) +DEF_GCC_BUILTIN (BUILT_IN_BSWAP64, "bswap64", BT_FN_UINT64_UINT64, ATTR_CONST_NOTHROW_LIST) DEF_LIB_BUILTIN (BUILT_IN_CALLOC, "calloc", BT_FN_PTR_SIZE_SIZE, ATTR_MALLOC_NOTHROW_LIST) DEF_GCC_BUILTIN (BUILT_IN_CLASSIFY_TYPE, "classify_type", BT_FN_INT_VAR, ATTR_NULL) DEF_GCC_BUILTIN (BUILT_IN_CLZ, "clz", BT_FN_INT_UINT, ATTR_CONST_NOTHROW_LIST) Modified: projects/random_number_generator/contrib/gcc/cgraphunit.c ============================================================================== --- projects/random_number_generator/contrib/gcc/cgraphunit.c Sat Nov 23 13:42:56 2013 (r258497) +++ projects/random_number_generator/contrib/gcc/cgraphunit.c Sat Nov 23 14:54:20 2013 (r258498) @@ -1676,7 +1676,7 @@ cgraph_build_static_cdtor (char which, t tree decl, name, resdecl; sprintf (which_buf, "%c_%d", which, counter++); - name = get_file_function_name_long (which_buf); + name = get_file_function_name (which_buf); decl = build_decl (FUNCTION_DECL, name, build_function_type (void_type_node, void_list_node)); Modified: projects/random_number_generator/contrib/gcc/collect2.c ============================================================================== --- projects/random_number_generator/contrib/gcc/collect2.c Sat Nov 23 13:42:56 2013 (r258497) +++ projects/random_number_generator/contrib/gcc/collect2.c Sat Nov 23 14:54:20 2013 (r258498) @@ -53,7 +53,7 @@ Software Foundation, 51 Franklin Street, the utilities are not correct for a cross-compiler; we have to hope that cross-versions are in the proper directories. */ -#ifdef CROSS_COMPILE +#ifdef CROSS_DIRECTORY_STRUCTURE #undef OBJECT_FORMAT_COFF #undef MD_EXEC_PREFIX #undef REAL_LD_FILE_NAME @@ -553,7 +553,7 @@ is_ctor_dtor (const char *s) static struct path_prefix cpath, path; -#ifdef CROSS_COMPILE +#ifdef CROSS_DIRECTORY_STRUCTURE /* This is the name of the target machine. We use it to form the name of the files to execute. */ @@ -746,7 +746,7 @@ main (int argc, char **argv) static const char *const strip_suffix = "strip"; static const char *const gstrip_suffix = "gstrip"; -#ifdef CROSS_COMPILE +#ifdef CROSS_DIRECTORY_STRUCTURE /* If we look for a program in the compiler directories, we just use the short name, since these directories are already system-specific. But it we look for a program in the system directories, we need to @@ -775,7 +775,7 @@ main (int argc, char **argv) #endif const char *const full_strip_suffix = strip_suffix; const char *const full_gstrip_suffix = gstrip_suffix; -#endif /* CROSS_COMPILE */ +#endif /* CROSS_DIRECTORY_STRUCTURE */ const char *arg; FILE *outf; @@ -957,7 +957,7 @@ main (int argc, char **argv) c_file_name = getenv ("COLLECT_GCC"); if (c_file_name == 0) { -#ifdef CROSS_COMPILE +#ifdef CROSS_DIRECTORY_STRUCTURE c_file_name = concat (target_machine, "-gcc", NULL); #else c_file_name = "gcc"; Modified: projects/random_number_generator/contrib/gcc/config/i386/beos-elf.h ============================================================================== --- projects/random_number_generator/contrib/gcc/config/i386/beos-elf.h Sat Nov 23 13:42:56 2013 (r258497) +++ projects/random_number_generator/contrib/gcc/config/i386/beos-elf.h Sat Nov 23 14:54:20 2013 (r258498) @@ -135,7 +135,7 @@ Boston, MA 02110-1301, USA. */ for the BeOS include files relative to TOOL_INCLUDE_DIR. Yes, we use ANSI string concatenation here (FIXME) */ -#ifndef CROSS_COMPILE +#ifndef CROSS_DIRECTORY_STRUCTURE #undef INCLUDE_DEFAULTS #define INCLUDE_DEFAULTS \ { \ @@ -177,7 +177,7 @@ Boston, MA 02110-1301, USA. */ { "/boot/develop/headers", 0, 0, 0 }, \ { 0, 0, 0, 0 } \ } -#else /* CROSS_COMPILE */ +#else /* CROSS_DIRECTORY_STRUCTURE */ #undef INCLUDE_DEFAULTS #define INCLUDE_DEFAULTS \ { \ Modified: projects/random_number_generator/contrib/gcc/config/i386/cygwin.h ============================================================================== --- projects/random_number_generator/contrib/gcc/config/i386/cygwin.h Sat Nov 23 13:42:56 2013 (r258497) +++ projects/random_number_generator/contrib/gcc/config/i386/cygwin.h Sat Nov 23 14:54:20 2013 (r258498) @@ -146,7 +146,7 @@ char cygwin_tool_include_dir[sizeof (TOO #undef TOOL_INCLUDE_DIR #define TOOL_INCLUDE_DIR ((const char *) cygwin_tool_include_dir) -#ifndef CROSS_COMPILE +#ifndef CROSS_DIRECTORY_STRUCTURE #undef STANDARD_INCLUDE_DIR #define STANDARD_INCLUDE_DIR "/usr/include" char cygwin_standard_include_dir[sizeof (STANDARD_INCLUDE_DIR) + 1 Modified: projects/random_number_generator/contrib/gcc/config/i386/i386.c ============================================================================== --- projects/random_number_generator/contrib/gcc/config/i386/i386.c Sat Nov 23 13:42:56 2013 (r258497) +++ projects/random_number_generator/contrib/gcc/config/i386/i386.c Sat Nov 23 14:54:20 2013 (r258498) @@ -1089,6 +1089,8 @@ const int x86_cmpxchg = ~m_386; const int x86_cmpxchg8b = ~(m_386 | m_486); /* Exchange and add was added for 80486. */ const int x86_xadd = ~m_386; +/* Byteswap was added for 80486. */ +const int x86_bswap = ~m_386; const int x86_pad_returns = m_ATHLON_K8_AMDFAM10 | m_CORE2 | m_GENERIC; /* In case the average insn count for single function invocation is Modified: projects/random_number_generator/contrib/gcc/config/i386/i386.h ============================================================================== --- projects/random_number_generator/contrib/gcc/config/i386/i386.h Sat Nov 23 13:42:56 2013 (r258497) +++ projects/random_number_generator/contrib/gcc/config/i386/i386.h Sat Nov 23 14:54:20 2013 (r258498) @@ -168,6 +168,7 @@ extern const int x86_use_bt; extern const int x86_cmpxchg, x86_cmpxchg8b, x86_xadd; extern const int x86_use_incdec; extern const int x86_pad_returns; +extern const int x86_bswap; extern const int x86_partial_flag_reg_stall; extern int x86_prefetch_sse, x86_cmpxchg16b; @@ -243,6 +244,7 @@ extern int x86_prefetch_sse, x86_cmpxchg #define TARGET_CMPXCHG8B (x86_cmpxchg8b & (1 << ix86_arch)) #define TARGET_CMPXCHG16B (x86_cmpxchg16b) #define TARGET_XADD (x86_xadd & (1 << ix86_arch)) +#define TARGET_BSWAP (x86_bswap & (1 << ix86_arch)) #ifndef TARGET_64BIT_DEFAULT #define TARGET_64BIT_DEFAULT 0 Modified: projects/random_number_generator/contrib/gcc/config/i386/i386.md ============================================================================== --- projects/random_number_generator/contrib/gcc/config/i386/i386.md Sat Nov 23 13:42:56 2013 (r258497) +++ projects/random_number_generator/contrib/gcc/config/i386/i386.md Sat Nov 23 14:54:20 2013 (r258498) @@ -284,14 +284,14 @@ (const_int 0))) ;; Set when string REP prefix is used. -(define_attr "prefix_rep" "" +(define_attr "prefix_rep" "" (if_then_else (and (eq_attr "unit" "sse") (eq_attr "mode" "SF,DF")) (const_int 1) (const_int 0))) ;; Set when 0f opcode prefix is used. (define_attr "prefix_0f" "" - (if_then_else + (if_then_else (ior (eq_attr "type" "imovx,setcc,icmov,bitmanip") (eq_attr "unit" "sse,mmx")) (const_int 1) @@ -466,7 +466,7 @@ ;; All x87 floating point modes (define_mode_macro X87MODEF [SF DF XF]) - + ;; All integer modes handled by x87 fisttp operator. (define_mode_macro X87MODEI [HI SI DI]) @@ -475,7 +475,7 @@ ;; All SSE floating point modes (define_mode_macro SSEMODEF [SF DF]) - + ;; All integer modes handled by SSE cvtts?2si* operators. (define_mode_macro SSEMODEI24 [SI DI]) @@ -1098,7 +1098,7 @@ ;; Push/pop instructions. They are separate since autoinc/dec is not a ;; general_operand. ;; -;; %%% We don't use a post-inc memory reference because x86 is not a +;; %%% We don't use a post-inc memory reference because x86 is not a ;; general AUTO_INC_DEC host, which impacts how it is treated in flow. ;; Changing this impacts compiler performance on other non-AUTO_INC_DEC ;; targets without our curiosities, and it is just as easy to represent @@ -1160,7 +1160,7 @@ [(set_attr "type" "alu1") (set_attr "mode" "SI") (set_attr "length_immediate" "0")]) - + (define_insn "*movsi_or" [(set (match_operand:SI 0 "register_operand" "=r") (match_operand:SI 1 "immediate_operand" "i")) @@ -2308,7 +2308,7 @@ && (reload_in_progress || reload_completed || (ix86_cmodel == CM_MEDIUM || ix86_cmodel == CM_LARGE) || GET_CODE (operands[1]) != CONST_DOUBLE - || memory_operand (operands[0], SFmode))" + || memory_operand (operands[0], SFmode))" { switch (which_alternative) { @@ -2368,7 +2368,7 @@ (const_string "V4SF")) /* For architectures resolving dependencies on whole SSE registers use APS move to break dependency - chains, otherwise use short move to avoid extra work. + chains, otherwise use short move to avoid extra work. Do the same for architectures resolving dependencies on the parts. While in DF mode it is better to always handle @@ -2476,7 +2476,7 @@ && (reload_in_progress || reload_completed || (ix86_cmodel == CM_MEDIUM || ix86_cmodel == CM_LARGE) || GET_CODE (operands[1]) != CONST_DOUBLE - || memory_operand (operands[0], DFmode))" + || memory_operand (operands[0], DFmode))" { switch (which_alternative) { @@ -2596,7 +2596,7 @@ && (reload_in_progress || reload_completed || (ix86_cmodel == CM_MEDIUM || ix86_cmodel == CM_LARGE) || GET_CODE (operands[1]) != CONST_DOUBLE - || memory_operand (operands[0], DFmode))" + || memory_operand (operands[0], DFmode))" { switch (which_alternative) { @@ -2712,10 +2712,10 @@ (match_operand:DF 1 "general_operand" ""))] "reload_completed && (GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM) - && ! (ANY_FP_REG_P (operands[0]) || + && ! (ANY_FP_REG_P (operands[0]) || (GET_CODE (operands[0]) == SUBREG && ANY_FP_REG_P (SUBREG_REG (operands[0])))) - && ! (ANY_FP_REG_P (operands[1]) || + && ! (ANY_FP_REG_P (operands[1]) || (GET_CODE (operands[1]) == SUBREG && ANY_FP_REG_P (SUBREG_REG (operands[1]))))" [(const_int 0)] @@ -2807,7 +2807,7 @@ && (GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM) && (reload_in_progress || reload_completed || GET_CODE (operands[1]) != CONST_DOUBLE - || memory_operand (operands[0], XFmode))" + || memory_operand (operands[0], XFmode))" { switch (which_alternative) { @@ -2841,7 +2841,7 @@ && (GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM) && (reload_in_progress || reload_completed || GET_CODE (operands[1]) != CONST_DOUBLE - || memory_operand (operands[0], XFmode))" + || memory_operand (operands[0], XFmode))" { switch (which_alternative) { @@ -2875,10 +2875,10 @@ "reload_completed && (GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM) && GET_MODE (operands[0]) == XFmode - && ! (ANY_FP_REG_P (operands[0]) || + && ! (ANY_FP_REG_P (operands[0]) || (GET_CODE (operands[0]) == SUBREG && ANY_FP_REG_P (SUBREG_REG (operands[0])))) - && ! (ANY_FP_REG_P (operands[1]) || + && ! (ANY_FP_REG_P (operands[1]) || (GET_CODE (operands[1]) == SUBREG && ANY_FP_REG_P (SUBREG_REG (operands[1]))))" [(const_int 0)] @@ -3073,7 +3073,7 @@ [(set (match_operand:HI 0 "register_operand" "") (zero_extend:HI (match_operand:QI 1 "nonimmediate_operand" ""))) (clobber (reg:CC FLAGS_REG))] - "reload_completed + "reload_completed && (!TARGET_ZERO_EXTEND_WITH_AND || optimize_size) && (!REG_P (operands[1]) || ANY_QI_REG_P (operands[1]))" [(set (match_operand:HI 0 "register_operand" "") @@ -3143,7 +3143,7 @@ [(set (match_operand:SI 0 "register_operand" "") (zero_extend:SI (match_operand:QI 1 "nonimmediate_operand" ""))) (clobber (reg:CC FLAGS_REG))] - "reload_completed + "reload_completed && (!TARGET_ZERO_EXTEND_WITH_AND || optimize_size) && (!REG_P (operands[1]) || ANY_QI_REG_P (operands[1]))" [(set (match_dup 0) @@ -3220,7 +3220,7 @@ [(set (match_dup 4) (const_int 0))] "split_di (&operands[0], 1, &operands[3], &operands[4]);") -(define_split +(define_split [(set (match_operand:DI 0 "register_operand" "") (zero_extend:DI (match_operand:SI 1 "register_operand" ""))) (clobber (reg:CC FLAGS_REG))] @@ -3229,7 +3229,7 @@ [(set (match_dup 4) (const_int 0))] "split_di (&operands[0], 1, &operands[3], &operands[4]);") -(define_split +(define_split [(set (match_operand:DI 0 "nonimmediate_operand" "") (zero_extend:DI (match_operand:SI 1 "general_operand" ""))) (clobber (reg:CC FLAGS_REG))] @@ -3308,7 +3308,7 @@ (set_attr "mode" "DI")]) ;; Extend to memory case when source register does die. -(define_split +(define_split [(set (match_operand:DI 0 "memory_operand" "") (sign_extend:DI (match_operand:SI 1 "register_operand" ""))) (clobber (reg:CC FLAGS_REG)) @@ -3323,7 +3323,7 @@ "split_di (&operands[0], 1, &operands[3], &operands[4]);") ;; Extend to memory case when source register does not die. -(define_split +(define_split [(set (match_operand:DI 0 "memory_operand" "") (sign_extend:DI (match_operand:SI 1 "register_operand" ""))) (clobber (reg:CC FLAGS_REG)) @@ -3353,7 +3353,7 @@ ;; Extend to register case. Optimize case where source and destination ;; registers match and cases where we can use cltd. -(define_split +(define_split [(set (match_operand:DI 0 "register_operand" "") (sign_extend:DI (match_operand:SI 1 "register_operand" ""))) (clobber (reg:CC FLAGS_REG)) @@ -3482,7 +3482,7 @@ ;; These are all no-ops in the model used for the 80387. So just ;; emit moves. -;; %%% Kill these when call knows how to work out a DFmode push earlier. +;; %%% Kill these when call knows how to work out a DFmode push earlier. (define_insn "*dummy_extendsfdf2" [(set (match_operand:DF 0 "push_operand" "=<") (float_extend:DF (match_operand:SF 1 "nonimmediate_operand" "fY")))] @@ -4365,7 +4365,7 @@ (set_attr "i387_cw" "trunc") (set_attr "mode" "DI")]) -(define_split +(define_split [(set (match_operand:DI 0 "register_operand" "") (fix:DI (match_operand 1 "register_operand" ""))) (use (match_operand:HI 2 "memory_operand" "")) @@ -4380,7 +4380,7 @@ (set (match_dup 0) (match_dup 4))] "") -(define_split +(define_split [(set (match_operand:DI 0 "memory_operand" "") (fix:DI (match_operand 1 "register_operand" ""))) (use (match_operand:HI 2 "memory_operand" "")) @@ -4421,7 +4421,7 @@ (set_attr "i387_cw" "trunc") (set_attr "mode" "")]) -(define_split +(define_split [(set (match_operand:X87MODEI12 0 "register_operand" "") (fix:X87MODEI12 (match_operand 1 "register_operand" ""))) (use (match_operand:HI 2 "memory_operand" "")) @@ -4434,7 +4434,7 @@ (set (match_dup 0) (match_dup 4))] "") -(define_split +(define_split [(set (match_operand:X87MODEI12 0 "memory_operand" "") (fix:X87MODEI12 (match_operand 1 "register_operand" ""))) (use (match_operand:HI 2 "memory_operand" "")) @@ -4913,7 +4913,7 @@ (define_insn "*addsi3_carry_zext" [(set (match_operand:DI 0 "register_operand" "=r") - (zero_extend:DI + (zero_extend:DI (plus:SI (plus:SI (match_operand:SI 3 "ix86_carry_flag_operator" "") (match_operand:SI 1 "nonimmediate_operand" "%0")) (match_operand:SI 2 "general_operand" "rim")))) @@ -5222,7 +5222,7 @@ (compare (plus:DI (match_operand:DI 1 "nonimmediate_operand" "%0,0") (match_operand:DI 2 "x86_64_general_operand" "rme,re")) - (const_int 0))) + (const_int 0))) (set (match_operand:DI 0 "nonimmediate_operand" "=r,rm") (plus:DI (match_dup 1) (match_dup 2)))] "TARGET_64BIT && ix86_match_ccmode (insn, CCGOCmode) @@ -5369,7 +5369,7 @@ (compare (plus:DI (match_operand:DI 1 "nonimmediate_operand" "%0") (match_operand:DI 2 "x86_64_general_operand" "rme")) - (const_int 0))) + (const_int 0))) (clobber (match_scratch:DI 0 "=r"))] "TARGET_64BIT && ix86_match_ccmode (insn, CCGOCmode) @@ -5568,7 +5568,7 @@ (compare (plus:SI (match_operand:SI 1 "nonimmediate_operand" "%0,0") (match_operand:SI 2 "general_operand" "rmni,rni")) - (const_int 0))) + (const_int 0))) (set (match_operand:SI 0 "nonimmediate_operand" "=r,rm") (plus:SI (match_dup 1) (match_dup 2)))] "ix86_match_ccmode (insn, CCGOCmode) @@ -5616,7 +5616,7 @@ (compare (plus:SI (match_operand:SI 1 "nonimmediate_operand" "%0") (match_operand:SI 2 "general_operand" "rmni")) - (const_int 0))) + (const_int 0))) (set (match_operand:DI 0 "register_operand" "=r") (zero_extend:DI (plus:SI (match_dup 1) (match_dup 2))))] "TARGET_64BIT && ix86_match_ccmode (insn, CCGOCmode) @@ -5794,7 +5794,7 @@ (compare (plus:SI (match_operand:SI 1 "nonimmediate_operand" "%0") (match_operand:SI 2 "general_operand" "rmni")) - (const_int 0))) + (const_int 0))) (clobber (match_scratch:SI 0 "=r"))] "ix86_match_ccmode (insn, CCGOCmode) && (GET_CODE (operands[1]) != MEM || GET_CODE (operands[2]) != MEM) @@ -5934,7 +5934,7 @@ (compare (plus:HI (match_operand:HI 1 "nonimmediate_operand" "%0,0") (match_operand:HI 2 "general_operand" "rmni,rni")) - (const_int 0))) + (const_int 0))) (set (match_operand:HI 0 "nonimmediate_operand" "=r,rm") (plus:HI (match_dup 1) (match_dup 2)))] "ix86_match_ccmode (insn, CCGOCmode) @@ -6054,7 +6054,7 @@ (compare (plus:HI (match_operand:HI 1 "nonimmediate_operand" "%0") (match_operand:HI 2 "general_operand" "rmni")) - (const_int 0))) + (const_int 0))) (clobber (match_scratch:HI 0 "=r"))] "ix86_match_ccmode (insn, CCGOCmode) && (GET_CODE (operands[1]) != MEM || GET_CODE (operands[2]) != MEM)" @@ -7483,7 +7483,7 @@ (match_operand:DF 2 "nonimmediate_operand" "")))] "TARGET_80387 || (TARGET_SSE2 && TARGET_SSE_MATH)" "") - + (define_expand "divsf3" [(set (match_operand:SF 0 "register_operand" "") (div:SF (match_operand:SF 1 "register_operand" "") @@ -8161,7 +8161,7 @@ gcc_assert (INTVAL (operands[2]) == 0xffff); mode = HImode; } - + operands[1] = gen_lowpart (mode, operands[1]); if (mode == QImode) return "movz{bq|x}\t{%1,%0|%0, %1}"; @@ -8226,7 +8226,7 @@ gcc_assert (INTVAL (operands[2]) == 0xffff); mode = HImode; } - + operands[1] = gen_lowpart (mode, operands[1]); if (mode == QImode) return "movz{bl|x}\t{%1,%0|%0, %1}"; @@ -8270,7 +8270,7 @@ [(parallel [(set (zero_extract:SI (match_dup 0) (const_int 8) (const_int 8)) - (xor:SI + (xor:SI (zero_extract:SI (match_dup 0) (const_int 8) (const_int 8)) @@ -8458,7 +8458,7 @@ [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q") (const_int 8) (const_int 8)) - (and:SI + (and:SI (zero_extract:SI (match_operand 1 "ext_register_operand" "0") (const_int 8) @@ -8487,7 +8487,7 @@ (set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q") (const_int 8) (const_int 8)) - (and:SI + (and:SI (zero_extract:SI (match_dup 1) (const_int 8) @@ -8503,7 +8503,7 @@ [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q") (const_int 8) (const_int 8)) - (and:SI + (and:SI (zero_extract:SI (match_operand 1 "ext_register_operand" "0") (const_int 8) @@ -8521,7 +8521,7 @@ [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q") (const_int 8) (const_int 8)) - (and:SI + (and:SI (zero_extract:SI (match_operand 1 "ext_register_operand" "0") (const_int 8) @@ -8864,7 +8864,7 @@ [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q") (const_int 8) (const_int 8)) - (ior:SI + (ior:SI (zero_extract:SI (match_operand 1 "ext_register_operand" "0") (const_int 8) @@ -8881,7 +8881,7 @@ [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q") (const_int 8) (const_int 8)) - (ior:SI + (ior:SI (zero_extract:SI (match_operand 1 "ext_register_operand" "0") (const_int 8) @@ -8900,7 +8900,7 @@ [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q") (const_int 8) (const_int 8)) - (ior:SI + (ior:SI (zero_extract:SI (match_operand 1 "ext_register_operand" "0") (const_int 8) @@ -8919,7 +8919,7 @@ [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q") (const_int 8) (const_int 8)) - (ior:SI + (ior:SI (zero_extract:SI (match_operand 1 "ext_register_operand" "0") (const_int 8) (const_int 8)) @@ -9202,7 +9202,7 @@ [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q") (const_int 8) (const_int 8)) - (xor:SI + (xor:SI (zero_extract:SI (match_operand 1 "ext_register_operand" "0") (const_int 8) @@ -9219,7 +9219,7 @@ [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q") (const_int 8) (const_int 8)) - (xor:SI + (xor:SI (zero_extract:SI (match_operand 1 "ext_register_operand" "0") (const_int 8) @@ -9238,7 +9238,7 @@ [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q") (const_int 8) (const_int 8)) - (xor:SI + (xor:SI (zero_extract:SI (match_operand 1 "ext_register_operand" "0") (const_int 8) @@ -9257,7 +9257,7 @@ [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q") (const_int 8) (const_int 8)) - (xor:SI + (xor:SI (zero_extract:SI (match_operand 1 "ext_register_operand" "0") (const_int 8) (const_int 8)) @@ -9325,7 +9325,7 @@ (set (zero_extract:SI (match_operand 0 "ext_register_operand" "=q") (const_int 8) (const_int 8)) - (xor:SI + (xor:SI (zero_extract:SI (match_dup 1) (const_int 8) (const_int 8)) (match_dup 2)))] "!TARGET_64BIT && ix86_match_ccmode (insn, CCNOmode)" @@ -9346,7 +9346,7 @@ (set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q") (const_int 8) (const_int 8)) - (xor:SI + (xor:SI (zero_extract:SI (match_dup 1) (const_int 8) (const_int 8)) (match_dup 2)))] "TARGET_64BIT && ix86_match_ccmode (insn, CCNOmode)" @@ -9368,7 +9368,7 @@ (set (zero_extract:SI (match_operand 0 "ext_register_operand" "") (const_int 8) (const_int 8)) - (xor:SI + (xor:SI (zero_extract:SI (match_dup 1) (const_int 8) (const_int 8)) (match_dup 2)))])] "" @@ -9867,7 +9867,7 @@ enum machine_mode mode = GET_MODE (operands[0]); enum machine_mode vmode = GET_MODE (operands[2]); rtx tmp; - + operands[0] = simplify_gen_subreg (vmode, operands[0], mode, 0); operands[1] = simplify_gen_subreg (vmode, operands[1], mode, 0); if (operands_match_p (operands[0], operands[2])) @@ -9891,7 +9891,7 @@ "reload_completed" [(parallel [(set (match_dup 0) (match_dup 1)) (clobber (reg:CC FLAGS_REG))])] -{ +{ rtx tmp; operands[0] = gen_lowpart (SImode, operands[0]); if (GET_CODE (operands[1]) == ABS) @@ -9998,7 +9998,7 @@ operands[1] = tmp; }) -;; Conditionalize these after reload. If they match before reload, we +;; Conditionalize these after reload. If they match before reload, we ;; lose the clobber and ability to use integer instructions. (define_insn "*negsf2_1" @@ -11415,8 +11415,8 @@ && (TARGET_SHIFT1 || optimize_size)" "sar{q}\t%0" [(set_attr "type" "ishift") - (set (attr "length") - (if_then_else (match_operand:DI 0 "register_operand" "") + (set (attr "length") + (if_then_else (match_operand:DI 0 "register_operand" "") (const_string "2") (const_string "*")))]) @@ -11448,8 +11448,8 @@ && ix86_binary_operator_ok (ASHIFTRT, DImode, operands)" "sar{q}\t%0" [(set_attr "type" "ishift") - (set (attr "length") - (if_then_else (match_operand:DI 0 "register_operand" "") + (set (attr "length") + (if_then_else (match_operand:DI 0 "register_operand" "") (const_string "2") (const_string "*")))]) @@ -11628,8 +11628,8 @@ && (TARGET_SHIFT1 || optimize_size)" "sar{l}\t%0" [(set_attr "type" "ishift") - (set (attr "length") - (if_then_else (match_operand:SI 0 "register_operand" "") + (set (attr "length") + (if_then_else (match_operand:SI 0 "register_operand" "") (const_string "2") (const_string "*")))]) @@ -11684,8 +11684,8 @@ && ix86_binary_operator_ok (ASHIFTRT, SImode, operands)" "sar{l}\t%0" [(set_attr "type" "ishift") - (set (attr "length") - (if_then_else (match_operand:SI 0 "register_operand" "") + (set (attr "length") + (if_then_else (match_operand:SI 0 "register_operand" "") (const_string "2") (const_string "*")))]) @@ -11785,8 +11785,8 @@ && (TARGET_SHIFT1 || optimize_size)" "sar{w}\t%0" [(set_attr "type" "ishift") - (set (attr "length") - (if_then_else (match_operand 0 "register_operand" "") + (set (attr "length") + (if_then_else (match_operand 0 "register_operand" "") *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***