svn commit: r243779 - head/lib/libc/gen

2012-12-01 Thread Marcel Moolenaar
Author: marcel Date: Sat Dec 1 21:26:46 2012 New Revision: 243779 URL: http://svnweb.freebsd.org/changeset/base/243779 Log: Protect against DoS attacks, such as being described in CVE-2010-2632. The changes were derived from what has been committed to NetBSD, with modifications. These are:

svn commit: r243664 - head/sys/conf

2012-11-28 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 29 03:48:39 2012 New Revision: 243664 URL: http://svnweb.freebsd.org/changeset/base/243664 Log: Fix LINT build for arm: NOTES defines LDFLAGS by way of a make option but LDFLAGS is not (yet) passed on to the linker (via SYSTEM_LD et al). Do so now. As such, any

svn commit: r243575 - head/sys/arm/at91

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Mon Nov 26 23:30:47 2012 New Revision: 243575 URL: http://svnweb.freebsd.org/changeset/base/243575 Log: Unbreak building a kernel with EHCI: there's no ehci_atmelarm.c. Modified: head/sys/arm/at91/files.at91 Modified: head/sys/arm/at91/files.at91

svn commit: r243576 - head/sys/arm/include

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 00:41:39 2012 New Revision: 243576 URL: http://svnweb.freebsd.org/changeset/base/243576 Log: Don't define intr_disable and intr_restore as macros. The macros interfere with structure fields of the same name in drivers, like the intr_disable function pointer

svn commit: r243578 - head/sys/arm/arm

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 01:05:07 2012 New Revision: 243578 URL: http://svnweb.freebsd.org/changeset/base/243578 Log: Remove print_kernel_section_addr(). All statements in that function expand to uncompilable code when the kernel configuration contains options DEBUG, such as it is

svn commit: r243579 - head/sys/arm/arm

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 01:08:05 2012 New Revision: 243579 URL: http://svnweb.freebsd.org/changeset/base/243579 Log: Don't include arm/xscale/i8134x/i81342reg.h when we're compiling LINT. The definitions in i81342reg.h clash with those in i80321reg.h. Modified:

svn commit: r243580 - head/sys/arm/mv

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 01:10:58 2012 New Revision: 243580 URL: http://svnweb.freebsd.org/changeset/base/243580 Log: Allow building LINT by defining both SAMPLE_AT_RESET on the one hand and SAMPLE_AT_RESET_{LO|HI} on the other. It doesn't matter which values they take, as long as

svn commit: r243581 - head/sys/arm/conf

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 01:17:50 2012 New Revision: 243581 URL: http://svnweb.freebsd.org/changeset/base/243581 Log: Add NOTES and Makefile in order to generate LINT. NOTES contains pretty much all the union of all the kernel configuration files, including all the CPU types, Marvell

svn commit: r243165 - head/share/mk

2012-11-16 Thread Marcel Moolenaar
Author: marcel Date: Sat Nov 17 00:07:28 2012 New Revision: 243165 URL: http://svnweb.freebsd.org/changeset/base/243165 Log: Install bsd.progs.mk, needed by bsd.test.mk and thus by atf.test.mk. Modified: head/share/mk/Makefile Modified: head/share/mk/Makefile

svn commit: r243050 - head/contrib/atf/doc

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:24:17 2012 New Revision: 243050 URL: http://svnweb.freebsd.org/changeset/base/243050 Log: Remove redundant text describing the cleanup routine. Upstreamed: http://code.google.com/p/kyua/issues/detail?id=43 Submitted by: Garrett Cooper

svn commit: r243051 - head/contrib/atf/atf-sh

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:29:12 2012 New Revision: 243051 URL: http://svnweb.freebsd.org/changeset/base/243051 Log: Fix typos in description for exp{err,out}_mismatch_head. Upstreamed: http://code.google.com/p/kyua/issues/detail?id=44 Submitted by: Garrett Cooper

svn commit: r243052 - head/contrib/atf/atf-run

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:32:55 2012 New Revision: 243052 URL: http://svnweb.freebsd.org/changeset/base/243052 Log: Add support for DragonFly and FreeBSD. Upstreamed: http://code.google.com/p/kyua/issues/detail?id=45 Submitted by: Garrett Cooper yaneg...@gmail.com

svn commit: r243053 - head/tools/build/mk

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:39:23 2012 New Revision: 243053 URL: http://svnweb.freebsd.org/changeset/base/243053 Log: Don't install atf.test.mk if MK_ATF == no. Submitted by: Garrett Cooper yaneg...@gmail.com Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified:

svn commit: r243054 - head/contrib/atf/atf-c

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:42:30 2012 New Revision: 243054 URL: http://svnweb.freebsd.org/changeset/base/243054 Log: The *_STR* macros use strcmp() to check their arguments. Include string.h to have this definition available. Upstream commit:

svn commit: r243055 - head/contrib/atf

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:51:37 2012 New Revision: 243055 URL: http://svnweb.freebsd.org/changeset/base/243055 Log: Add ATF update instructions and file exclude list. Submitted by: Garrett Cooper yaneg...@gmail.com Added: head/contrib/atf/FREEBSD-Xlist (contents, props

svn commit: r242683 - head/etc/atf

2012-11-06 Thread Marcel Moolenaar
Author: marcel Date: Wed Nov 7 00:19:30 2012 New Revision: 242683 URL: http://svnweb.freebsd.org/changeset/base/242683 Log: The first line must contain Content-Type:. Move the $FreeBSD$ keyword line to the comment block underneath. Submitted by: Garrett Cooper yaneg...@gmail.com

svn commit: r242684 - head/lib/atf/libatf-c++

2012-11-06 Thread Marcel Moolenaar
Author: marcel Date: Wed Nov 7 00:23:51 2012 New Revision: 242684 URL: http://svnweb.freebsd.org/changeset/base/242684 Log: Remove -Lpath from LDADD, it doesn't belong there. Add it to LDFLAGS instead. Submitted by: Garrett Cooper yaneg...@gmail.com Modified:

svn commit: r242628 - in head/sys/dev/usb: . quirk storage

2012-11-05 Thread Marcel Moolenaar
Author: marcel Date: Mon Nov 5 21:03:38 2012 New Revision: 242628 URL: http://svnweb.freebsd.org/changeset/base/242628 Log: Add the UQ_MSC_NO_PREVENT_ALLOW quirk to handle devices that do not support the 'PREVENT/ALLOW MEDIUM REMOVAL' SCSI command. An example of such a device is the

svn commit: r242522 - head

2012-11-03 Thread Marcel Moolenaar
Author: marcel Date: Sat Nov 3 20:43:12 2012 New Revision: 242522 URL: http://svn.freebsd.org/changeset/base/242522 Log: Add the buildLINT convenience target, handy for build automation. The automation can set TARGET_ARCH and TARGET and then make various top-level targets, including

svn commit: r242523 - head/sys/dev/usb/controller

2012-11-03 Thread Marcel Moolenaar
Author: marcel Date: Sat Nov 3 21:05:32 2012 New Revision: 242523 URL: http://svn.freebsd.org/changeset/base/242523 Log: Allow using the embedded EHCI host controller in Freescale SoCs by adding the missing bits. See ehci_fsl.c for their use. Modified: head/sys/dev/usb/controller/ehci.c

svn commit: r242524 - head/sys/conf

2012-11-03 Thread Marcel Moolenaar
Author: marcel Date: Sat Nov 3 21:08:27 2012 New Revision: 242524 URL: http://svn.freebsd.org/changeset/base/242524 Log: Add the bus attachment for the embedded EHCI HC. Modified: head/sys/conf/files.powerpc Modified: head/sys/conf/files.powerpc

svn commit: r242525 - in head/sys: conf dev/md

2012-11-03 Thread Marcel Moolenaar
Author: marcel Date: Sat Nov 3 21:20:55 2012 New Revision: 242525 URL: http://svn.freebsd.org/changeset/base/242525 Log: Add a MD_ROOT_FSTYPE kernel option. The option specifies the file system part for the MD_ROOT mount string. Hardcoding the the file system type as ufs is too

svn commit: r242526 - head/sys/powerpc/booke

2012-11-03 Thread Marcel Moolenaar
Author: marcel Date: Sat Nov 3 22:02:12 2012 New Revision: 242526 URL: http://svn.freebsd.org/changeset/base/242526 Log: 1. Have the APs initialize the TLB1 entries from what has been programmed on the BSP during (early) boot. This makes sure that the APs get configured the same

svn commit: r241823 - in head: . etc etc/atf etc/mtree lib lib/atf lib/atf/libatf-c lib/atf/libatf-c++ libexec libexec/atf libexec/atf/atf-check share share/atf share/doc share/doc/atf share/exampl...

2012-10-21 Thread Marcel Moolenaar
Author: marcel Date: Mon Oct 22 01:18:41 2012 New Revision: 241823 URL: http://svn.freebsd.org/changeset/base/241823 Log: Add ATF to the build. This is may be a bit rought around the egdes, but committing it helps to get everyone on the same page and makes sure we make progress.

svn commit: r241790 - head/share/mk

2012-10-20 Thread Marcel Moolenaar
Author: marcel Date: Sat Oct 20 22:44:22 2012 New Revision: 241790 URL: http://svn.freebsd.org/changeset/base/241790 Log: Revert r241752. The claim that it's more correct while at the same time causing a build breakage is interesting to say the least. Modified: head/share/mk/bsd.dep.mk

Re: svn commit: r241298 - in head: . gnu/usr.bin/cc/cc_int gnu/usr.bin/cc/include kerberos5 kerberos5/tools/asn1_compile kerberos5/tools/slc lib/clang/include share/mk tools/build/make_check usr.sbin/

2012-10-08 Thread Marcel Moolenaar
On Oct 8, 2012, at 1:08 AM, Bruce Evans b...@optusnet.com.au wrote: On Sun, 7 Oct 2012, Marcel Moolenaar wrote: On Oct 6, 2012, at 10:31 PM, Bruce Evans b...@optusnet.com.au wrote: On Sat, 6 Oct 2012, Marcel Moolenaar wrote: Log: Add support for bmake. This includes: Modified

svn commit: r241311 - head

2012-10-07 Thread Marcel Moolenaar
Author: marcel Date: Sun Oct 7 16:45:38 2012 New Revision: 241311 URL: http://svn.freebsd.org/changeset/base/241311 Log: Fix 32-bit library builds after the removal of adding -E to make for AS, CC, CXX and LD. This fix implements the intended as it should have been implemented all along:

svn commit: r241312 - head

2012-10-07 Thread Marcel Moolenaar
Author: marcel Date: Sun Oct 7 17:48:38 2012 New Revision: 241312 URL: http://svn.freebsd.org/changeset/base/241312 Log: Fix the showconfig target. bmake sends debug output to stderr. Submitted by: Simon Garrety s...@juniper.net Modified: head/Makefile.inc1 Modified:

Re: svn commit: r241298 - in head: . gnu/usr.bin/cc/cc_int gnu/usr.bin/cc/include kerberos5 kerberos5/tools/asn1_compile kerberos5/tools/slc lib/clang/include share/mk tools/build/make_check usr.sbin/

2012-10-07 Thread Marcel Moolenaar
On Oct 6, 2012, at 10:31 PM, Bruce Evans b...@optusnet.com.au wrote: On Sat, 6 Oct 2012, Marcel Moolenaar wrote: Log: Add support for bmake. This includes: Modified: head/share/mk/bsd.dep.mk == --- head

svn commit: r241279 - in head: share/mk tools/build/options usr.bin usr.bin/bmake usr.bin/bmake/unit-tests

2012-10-06 Thread Marcel Moolenaar
Author: marcel Date: Sat Oct 6 19:19:21 2012 New Revision: 241279 URL: http://svn.freebsd.org/changeset/base/241279 Log: Add bmake to the build and allow it to be installed as make(1) instead of FreeBSD's make by setting WITH_BMAKE. The WITH_BMAKE build makes it easy for people to switch

svn commit: r241285 - head/share/man/man5

2012-10-06 Thread Marcel Moolenaar
Author: marcel Date: Sat Oct 6 19:28:19 2012 New Revision: 241285 URL: http://svn.freebsd.org/changeset/base/241285 Log: Update to include WITH_BMAKE. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r241298 - in head: . gnu/usr.bin/cc/cc_int gnu/usr.bin/cc/include kerberos5 kerberos5/tools/asn1_compile kerberos5/tools/slc lib/clang/include share/mk tools/build/make_check usr.sbin/c...

2012-10-06 Thread Marcel Moolenaar
Author: marcel Date: Sat Oct 6 20:01:05 2012 New Revision: 241298 URL: http://svn.freebsd.org/changeset/base/241298 Log: Add support for bmake. This includes: 1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE, there's a bootstrap complication in ths respect.

Re: svn commit: r241298 - in head: . gnu/usr.bin/cc/cc_int gnu/usr.bin/cc/include kerberos5 kerberos5/tools/asn1_compile kerberos5/tools/slc lib/clang/include share/mk tools/build/make_check usr.sbin/

2012-10-06 Thread Marcel Moolenaar
On Oct 6, 2012, at 2:39 PM, Dimitry Andric d...@freebsd.org wrote: On 2012-10-06 22:01, Marcel Moolenaar wrote: 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any

svn commit: r241146 - head/contrib/bmake

2012-10-02 Thread Marcel Moolenaar
Author: marcel Date: Wed Oct 3 00:41:46 2012 New Revision: 241146 URL: http://svn.freebsd.org/changeset/base/241146 Log: Merge bmake-20120831 from vendor/NetBSD/bmake/dist. Provenance: ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg Added: head/contrib/bmake/ - copied from r241077,

svn commit: r240120 - head/contrib/atf

2012-09-04 Thread Marcel Moolenaar
Author: marcel Date: Tue Sep 4 23:16:58 2012 New Revision: 240120 URL: http://svn.freebsd.org/changeset/base/240120 Log: Merge ATF 0.16 from vendor/atf/dist. Provenance: http://code.google.com/p/kyua Discussed with: gibbs, gnn, keramida, mdf, mlaier, Discussed with: Garrett Cooper

svn commit: r239376 - in head/sys: conf ia64/conf ia64/ia64

2012-08-18 Thread Marcel Moolenaar
Author: marcel Date: Sat Aug 18 22:59:06 2012 New Revision: 239376 URL: http://svn.freebsd.org/changeset/base/239376 Log: Remove support for SKI: HP's Itanium simulator. It's pretty much not used, serves very little value given that FreeBSD runs on real H/W for a long time. Note that SKI

svn commit: r239377 - head/sys/boot/ia64

2012-08-18 Thread Marcel Moolenaar
Author: marcel Date: Sat Aug 18 23:17:42 2012 New Revision: 239377 URL: http://svn.freebsd.org/changeset/base/239377 Log: Don't build the ski loader anymore. The code is not deleted just yet, as it explains the distinction between the common and the platform- specific code. Modified:

svn commit: r239378 - head/sys/boot

2012-08-18 Thread Marcel Moolenaar
Author: marcel Date: Sat Aug 18 23:23:14 2012 New Revision: 239378 URL: http://svn.freebsd.org/changeset/base/239378 Log: Build zfs on ia64 as well. We don't build a loader with zfs support just yet, but building it makes sure we catch (build) regressions. Modified:

svn commit: r239379 - head/sys/ia64/ia64

2012-08-18 Thread Marcel Moolenaar
Author: marcel Date: Sat Aug 18 23:28:34 2012 New Revision: 239379 URL: http://svn.freebsd.org/changeset/base/239379 Log: Use pmap_kextract(x) rather than pmap_extract(kernel_pmap, x). The former knows about all the special mappings, like PBVM. The kernel text and data are in the PBVM.

Re: svn commit: r238933 - head/sys/dev/puc

2012-08-04 Thread Marcel Moolenaar
puc_config_moxa for Moxa boards that need d_ofs greater than 0x7f Thanks, I appreciate it. -- Marcel Moolenaar mar...@xcllnt.net ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn

svn commit: r238301 - head/sys/dev/agp

2012-07-09 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 9 16:23:59 2012 New Revision: 238301 URL: http://svn.freebsd.org/changeset/base/238301 Log: Revert revision 238172 of agp_i810.c. Correctness is considered more important than avoiding confusion. Feedback from: kib, jhb Modified:

svn commit: r238256 - head/sys/ia64/ia64

2012-07-08 Thread Marcel Moolenaar
Author: marcel Date: Sun Jul 8 17:43:25 2012 New Revision: 238256 URL: http://svn.freebsd.org/changeset/base/238256 Log: Unleash the APs at SI_SUB_KICK_SCHEDULER so that we have them all up and running to service interrupts. This is especially important when the firmware has bound

svn commit: r238257 - in head/sys/ia64: ia64 include

2012-07-08 Thread Marcel Moolenaar
Author: marcel Date: Sun Jul 8 18:00:22 2012 New Revision: 238257 URL: http://svn.freebsd.org/changeset/base/238257 Log: Move PCPU initialization to a new function called cpu_pcpu_setup(). This makes it easier to add additional CPU or platform information to the per-CPU structure without

Re: svn commit: r238172 - head/sys/dev/agp

2012-07-07 Thread Marcel Moolenaar
On Jul 7, 2012, at 1:35 AM, Konstantin Belousov wrote: On Fri, Jul 06, 2012 at 06:11:56PM -0700, Marcel Moolenaar wrote: On Jul 6, 2012, at 11:12 AM, Konstantin Belousov wrote: agp_i810.c: While arguably the use of Maxmem can be considered correct, replace its use with realmem anyway

svn commit: r238172 - head/sys/dev/agp

2012-07-06 Thread Marcel Moolenaar
Author: marcel Date: Fri Jul 6 15:57:03 2012 New Revision: 238172 URL: http://svn.freebsd.org/changeset/base/238172 Log: agp.c: Don't use Maxmem when the amount of memory is meant. Use realmem instead. Maxmem is not only a MD variable, it represents the highest physical memory address in

svn commit: r238184 - in head/sys: conf ia64/ia64 ia64/include

2012-07-06 Thread Marcel Moolenaar
file is newly added) +++ head/sys/ia64/ia64/physmem.cSat Jul 7 00:25:17 2012 (r238184) @@ -0,0 +1,195 @@ +/*- + * Copyright (c) 2012 Marcel Moolenaar + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted

Re: svn commit: r238172 - head/sys/dev/agp

2012-07-06 Thread Marcel Moolenaar
Maxmem to be spelled as realmem seems to change nothing right now, but I do argue that this is wrong, and commit message makes future archeology quite confusing. The commit log states it all, including how one can arguably call the change wrong. What exactly is confusing? -- Marcel Moolenaar mar

svn commit: r238190 - in head/sys/ia64: ia64 include

2012-07-06 Thread Marcel Moolenaar
Author: marcel Date: Sat Jul 7 05:17:43 2012 New Revision: 238190 URL: http://svn.freebsd.org/changeset/base/238190 Log: Implement ia64_physmem_alloc() and use it consistently to get memory before VM has been initialized. This includes: 1. Replacing pmap_steal_memory(), 2. Replace the

svn commit: r238130 - head/sys/arm/mv

2012-07-05 Thread Marcel Moolenaar
Author: marcel Date: Thu Jul 5 15:23:45 2012 New Revision: 238130 URL: http://svn.freebsd.org/changeset/base/238130 Log: Fix LINT. Obtained from:Juniper Networks, Inc. Modified: head/sys/arm/mv/mv_machdep.c Modified: head/sys/arm/mv/mv_machdep.c

Re: svn commit: r237997 - in head: tools/build/mk tools/build/options usr.sbin

2012-07-02 Thread Marcel Moolenaar
to fix it? -- Marcel Moolenaar mar...@xcllnt.net ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

Re: svn commit: r237997 - in head: tools/build/mk tools/build/options usr.sbin

2012-07-02 Thread Marcel Moolenaar
would, because they are still your patches and you're bound to overlook stuff, but at least you may catch some of the boneheaded stuff. HTH, -- Marcel Moolenaar mar...@xcllnt.net ___ svn-src-head@freebsd.org mailing list http

Re: svn commit: r237997 - in head: tools/build/mk tools/build/options usr.sbin

2012-07-02 Thread Marcel Moolenaar
On Jul 2, 2012, at 9:33 AM, Baptiste Daroussin wrote: On Mon, Jul 02, 2012 at 09:24:56AM -0700, Marcel Moolenaar wrote: On Jul 2, 2012, at 8:28 AM, Baptiste Daroussin wrote: Author: bapt Date: Mon Jul 2 15:28:50 2012 New Revision: 237997 URL: http://svn.freebsd.org/changeset/base

Re: svn commit: r237883 - in head/sys/arm: at91 conf

2012-07-02 Thread Marcel Moolenaar
definition for initarm (and all the others that follow the same model) and we're good to go. Maybe the dummy function could be used as a trampoline even that resolves at runtime which of the SoC-specific initarm functions is to be called based on the SoC Id? -- Marcel Moolenaar mar...@xcllnt.net

Re: svn commit: r237997 - in head: tools/build/mk tools/build/options usr.sbin

2012-07-02 Thread Marcel Moolenaar
to be renamed. Thanks Gleb. I'll take care of that one then and re-generate the man page. -- Marcel Moolenaar mar...@xcllnt.net ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail

svn commit: r238018 - head/tools/build/options

2012-07-02 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 2 20:01:48 2012 New Revision: 238018 URL: http://svn.freebsd.org/changeset/base/238018 Log: Fix typo in option description file (using svn move). Added: head/tools/build/options/WITHOUT_PKGBOOTSTRAP - copied unchanged from r238017,

svn commit: r238021 - head/tools/build/options

2012-07-02 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 2 20:24:01 2012 New Revision: 238021 URL: http://svn.freebsd.org/changeset/base/238021 Log: Add description for INSTALL_AS_USER Added: head/tools/build/options/WITH_INSTALL_AS_USER (contents, props changed) Added: head/tools/build/options/WITH_INSTALL_AS_USER

svn commit: r238023 - head/tools/build/options

2012-07-02 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 2 20:26:11 2012 New Revision: 238023 URL: http://svn.freebsd.org/changeset/base/238023 Log: A cross-reference takes a man page section as well. Assume pkg(1), based on pkg_add(1). Modified: head/tools/build/options/WITHOUT_PKGBOOTSTRAP Modified:

svn commit: r238025 - head/share/man/man5

2012-07-02 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 2 20:28:12 2012 New Revision: 238025 URL: http://svn.freebsd.org/changeset/base/238025 Log: Added options: WITH_INSTALL_AS_USER WITHOUT_PKGBOOTSTRAP Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r238026 - in head/sys: dev/filemon modules

2012-07-02 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 2 20:36:26 2012 New Revision: 238026 URL: http://svn.freebsd.org/changeset/base/238026 Log: There's no need to make filemon specific to i386 and amd64. All LP64 architectures define elf64_freebsd_sysvec and all ILP32 architectures define elf32_freebsd_sysvec.

svn commit: r238030 - head/sys/powerpc/booke

2012-07-02 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 2 21:11:01 2012 New Revision: 238030 URL: http://svn.freebsd.org/changeset/base/238030 Log: Implement cpu_flush_dcache(). This allows us to optimize __syncicache() for the common case in chich D-caches are coherent by virtue of busdma. Modified:

svn commit: r238031 - head/sys/powerpc/booke

2012-07-02 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 2 21:15:56 2012 New Revision: 238031 URL: http://svn.freebsd.org/changeset/base/238031 Log: Invalidate any TLB1 entries we don't need. The firmware (e.g. U-Boot) may have added entries that conflict with TLB0 entries. Modified: head/sys/powerpc/booke/pmap.c

svn commit: r238032 - head/sys/powerpc/booke

2012-07-02 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 2 21:18:09 2012 New Revision: 238032 URL: http://svn.freebsd.org/changeset/base/238032 Log: Handle traps from the debugger. We need to catch them and re-enter the debugger where they're being taken care of. Modified: head/sys/powerpc/booke/trap.c Modified:

svn commit: r238033 - head/sys/powerpc/booke

2012-07-02 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 2 21:21:12 2012 New Revision: 238033 URL: http://svn.freebsd.org/changeset/base/238033 Log: Fix a typo that resulted in or-ing PTE_UW twice whrn PTE_SW was needed. Note that setting the PTE_MODIFIED bit based on whether write is possible is incorrect. We should

svn commit: r238034 - head/sys/powerpc/conf

2012-07-02 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 2 21:25:24 2012 New Revision: 238034 URL: http://svn.freebsd.org/changeset/base/238034 Log: Remove device uart_z8530 and options GEOM_PART_APM from DEFAULTS and instead add them to GENERIC and GENERIC64. They are applicable to Apple H/W and not at all for

svn commit: r238042 - head/sys/powerpc/mpc85xx

2012-07-02 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 2 23:41:56 2012 New Revision: 238042 URL: http://svn.freebsd.org/changeset/base/238042 Log: Properly implement the bus_config_intr, bus_setup_intr and bus_teardown_intr methods so that MI drvers can depend on us doing the right thing instead of having to go

svn commit: r238043 - head/sys/dev/fdt

2012-07-02 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 2 23:49:29 2012 New Revision: 238043 URL: http://svn.freebsd.org/changeset/base/238043 Log: Properly implement bus_setup_intr so that it handles the configuration of interrupts of direct children. Have the bus_config_intr and bus_teardown_intr methods

svn commit: r238044 - head/sys/dev/fdt

2012-07-02 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 2 23:53:08 2012 New Revision: 238044 URL: http://svn.freebsd.org/changeset/base/238044 Log: Simplify simplebus_setup_intr and don't call MD code directly. We can (and have to) trust our parent to handle interrupt configuration. Modified:

svn commit: r238046 - in head/sys: conf dev/nand

2012-07-02 Thread Marcel Moolenaar
Author: marcel Date: Tue Jul 3 01:00:29 2012 New Revision: 238046 URL: http://svn.freebsd.org/changeset/base/238046 Log: Add a driver for the Freescale FCM module in the localbus controller. This driver does not yet handle multiple chip selects properly. Note that the NAND

Re: svn commit: r237883 - in head/sys/arm: at91 conf

2012-07-01 Thread Marcel Moolenaar
understand does not boot. It's good coverage with a single kernel and can help to bring the make universe time down by only building LINT for ARM. I can port that to FreeBSD. Shall I make some patches for people to look at? -- Marcel Moolenaar mar...@xcllnt.net

Re: svn commit: r237350 - head/sys/dev/puc

2012-06-23 Thread Marcel Moolenaar
the uncommonly large offset by extending the existing moxa configuration file. It's the precedence that should have been followed anyway. Thanks, -- Marcel Moolenaar mar...@xcllnt.net ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Marcel Moolenaar
, -- Marcel Moolenaar mar...@xcllnt.net ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

Re: svn commit: r236621 - head/sys/modules

2012-06-05 Thread Marcel Moolenaar
On Jun 5, 2012, at 10:44 AM, David E. O'Brien wrote: Author: obrien Date: Tue Jun 5 17:44:54 2012 New Revision: 236621 URL: http://svn.freebsd.org/changeset/base/236621 Log: Only build filemon(4) on x86. Why? -- Marcel Moolenaar mar...@xcllnt.net

svn commit: r236188 - head/sys/fs/nandfs

2012-05-28 Thread Marcel Moolenaar
Author: marcel Date: Mon May 28 16:33:58 2012 New Revision: 236188 URL: http://svn.freebsd.org/changeset/base/236188 Log: Catch a corner case where ssegs could be 0 and thus i would be 0 and we index suinfo out of bounds (i.e. -1). Approved by: gber Modified:

svn commit: r236006 - head/lib/libc/powerpc

2012-05-25 Thread Marcel Moolenaar
Author: marcel Date: Fri May 25 16:30:42 2012 New Revision: 236006 URL: http://svn.freebsd.org/changeset/base/236006 Log: Doh... Don't add __eabi to an old version tag (i.e. FBSD_1.0). Add it to the current one (= FBSD_1.3). Pointed out by: kib Modified:

svn commit: r236023 - in head/sys: geom/part sys

2012-05-25 Thread Marcel Moolenaar
Author: marcel Date: Fri May 25 20:33:34 2012 New Revision: 236023 URL: http://svn.freebsd.org/changeset/base/236023 Log: Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes. The gpart alias for these partition types is freebsd-nandfs. Modified:

svn commit: r235927 - head/bin/sh

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 19:48:15 2012 New Revision: 235927 URL: http://svn.freebsd.org/changeset/base/235927 Log: Work better with how make/bmake works: 1. Avoid a cd back into ${.CURDIR} to run mkbuiltins when we know make will first cd into ${.OBJDIR}. Keep the cwd to what

svn commit: r235928 - head/share/mk

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:00:58 2012 New Revision: 235928 URL: http://svn.freebsd.org/changeset/base/235928 Log: Fix an inconsistency I just ran into for LDADD and DPADD. The description for both of them use different, and presumably wrong, variables in the example. They set

svn commit: r235929 - in head/lib/libc/powerpc: . gen

2012-05-24 Thread Marcel Moolenaar
/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libc/powerpc/gen/eabi.SThu May 24 20:12:46 2012 (r235929) @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2011 Marcel Moolenaar + * All rights reserved. + * + * Redistribution and use in source and binary forms

svn commit: r235930 - head/sys/dev/fdt

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:24:49 2012 New Revision: 235930 URL: http://svn.freebsd.org/changeset/base/235930 Log: Preset (clear) the ranges we're supposed to fill from the FDT. If a particular range (either I/O memory or I/O port) is not defined in the FDT, we're not handing

svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:45:44 2012 New Revision: 235931 URL: http://svn.freebsd.org/changeset/base/235931 Log: Fix the memory barriers for CPUs that do not like lwsync and wedge or cause exceptions early enough during boot that the kernel will do ithe same. Use lwsync only when

svn commit: r235932 - head/sys/powerpc/booke

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:58:40 2012 New Revision: 235932 URL: http://svn.freebsd.org/changeset/base/235932 Log: o Rename kernload_ap to bp_kernelload. This to introduce a common prefix for variables that live in the boot page. o Add bp_trace (yes, it's in the boot page)

svn commit: r235933 - head/sys/powerpc/mpc85xx

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 21:01:35 2012 New Revision: 235933 URL: http://svn.freebsd.org/changeset/base/235933 Log: Either the I/O port range or the memory mapped I/O range may not be defined in the FDT. The range will have a zero size in that case. Modified:

svn commit: r235934 - head/sys/powerpc/mpc85xx

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 21:07:10 2012 New Revision: 235934 URL: http://svn.freebsd.org/changeset/base/235934 Log: Just return if the size of the window is 0. This can happen when the FDT does not define all ranges possible for a particular node (e.g. PCI). While here, only update

svn commit: r235935 - head/sys/powerpc/mpc85xx

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 21:09:38 2012 New Revision: 235935 URL: http://svn.freebsd.org/changeset/base/235935 Log: Remove Semihakf-ism. DEBUG is a kernel configuration option. It should not be defined in source files. Modified: head/sys/powerpc/mpc85xx/i2c.c Modified:

svn commit: r235937 - head/sys/powerpc/mpc85xx

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 21:23:13 2012 New Revision: 235937 URL: http://svn.freebsd.org/changeset/base/235937 Log: A few improvements: 1. Define all registers. These definitions are needed to support the FCM driver for direct-connect NAND. 2. Repurpose lbc_read_reg() and

svn commit: r235942 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 22:06:00 2012 New Revision: 235942 URL: http://svn.freebsd.org/changeset/base/235942 Log: Revert isync for ILP32 to sync as per my original change that I discussed with Nathan. Leave __ATOMIC_ACQ as an isync as per Nathan. Modified:

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
On May 24, 2012, at 2:13 PM, Nathan Whitehorn wrote: On 05/24/12 15:45, Marcel Moolenaar wrote: Author: marcel Date: Thu May 24 20:45:44 2012 New Revision: 235931 URL: http://svn.freebsd.org/changeset/base/235931 Log: Fix the memory barriers for CPUs that do not like lwsync and wedge

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
() needed to also be isync on ppc64, so I've fixed that up. Things should be good now. Ok. I didn't change wmb() to eieio as I wanted to avoid a pendulum effect. I'll reread our emails and make sure wmb() is what we think it is and if so I'll do a followup commit. FYI, -- Marcel Moolenaar mar

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
On May 24, 2012, at 3:46 PM, Nathan Whitehorn wrote: On 05/24/12 17:22, Marcel Moolenaar wrote: On May 24, 2012, at 3:15 PM, Nathan Whitehorn wrote: Summary: 1. *mb() must be lwsync or sync on all machines, except for wmb() which could be eieio 2. __ATOMIC_ACQ() must be isync (though

Re: svn commit: r235797 - head/contrib/gcc

2012-05-22 Thread Marcel Moolenaar
to the FreeBSD repository. I think such would make support for external (i.e. non-FreeBSD) toolchains even more problematic. Our format extensions are a big hurdle already. I think we should not tweak the compiler. -- Marcel Moolenaar mar...@xcllnt.net ___ svn

svn commit: r235727 - head/gnu/lib

2012-05-21 Thread Marcel Moolenaar
Author: marcel Date: Mon May 21 16:03:44 2012 New Revision: 235727 URL: http://svn.freebsd.org/changeset/base/235727 Log: Don't recurse into libssp when MK_SSP is set to no. Modified: head/gnu/lib/Makefile Modified: head/gnu/lib/Makefile

svn commit: r235652 - head/sys/dev/iicbus

2012-05-19 Thread Marcel Moolenaar
Author: marcel Date: Sat May 19 17:42:11 2012 New Revision: 235652 URL: http://svn.freebsd.org/changeset/base/235652 Log: Don't include MIPS machine headers. There's no need for it. Modified: head/sys/dev/iicbus/ds1374.c Modified: head/sys/dev/iicbus/ds1374.c

svn commit: r235653 - head/lib/libc

2012-05-19 Thread Marcel Moolenaar
Author: marcel Date: Sat May 19 17:49:20 2012 New Revision: 235653 URL: http://svn.freebsd.org/changeset/base/235653 Log: Don't link against libssp if MK_SSP is set to no. Note that this still misses a proper dependency at this time. Modified: head/lib/libc/Makefile Modified:

svn commit: r235654 - in head: bin/ed share/mk

2012-05-19 Thread Marcel Moolenaar
Author: marcel Date: Sat May 19 17:55:49 2012 New Revision: 235654 URL: http://svn.freebsd.org/changeset/base/235654 Log: Add build option MK_ED_CRYPTO to control whether ed(1) is to have the ability to encrypt/decrypt files. Embedded systems can typically have OpenSSL, but not for ed(1) to

svn commit: r235655 - in head: bin/ls share/mk

2012-05-19 Thread Marcel Moolenaar
Author: marcel Date: Sat May 19 18:05:00 2012 New Revision: 235655 URL: http://svn.freebsd.org/changeset/base/235655 Log: Add build opton MK_LS_COLORS to control whether ls(1) supports colors (and thus needs to depend on libtermcap). Embedded systems may not want or need colors.

svn commit: r235656 - head/sys/arm/mv

2012-05-19 Thread Marcel Moolenaar
Author: marcel Date: Sat May 19 18:16:49 2012 New Revision: 235656 URL: http://svn.freebsd.org/changeset/base/235656 Log: Unbreak LINT for ARM: DEBUG is a kernel configuration option. Modified: head/sys/arm/mv/mv_localbus.c Modified: head/sys/arm/mv/mv_localbus.c

svn commit: r235660 - head/tools/build/options

2012-05-19 Thread Marcel Moolenaar
Author: marcel Date: Sat May 19 20:05:27 2012 New Revision: 235660 URL: http://svn.freebsd.org/changeset/base/235660 Log: Document the ED_CRYPTO and LS_COLORS options. Obtained from:Juniper Networks, Inc. Added: head/tools/build/options/WITHOUT_ED_CRYPTO (contents, props

svn commit: r235662 - head/share/man/man5

2012-05-19 Thread Marcel Moolenaar
Author: marcel Date: Sat May 19 21:29:18 2012 New Revision: 235662 URL: http://svn.freebsd.org/changeset/base/235662 Log: Regenerate after the additions of: WITHOUT_ED_CRYPTO WITHOUT_LS_COLORS WITH_NAND Pointed out by: Garrett Cooper Modified:

svn commit: r235637 - head

2012-05-18 Thread Marcel Moolenaar
Author: marcel Date: Sat May 19 02:08:52 2012 New Revision: 235637 URL: http://svn.freebsd.org/changeset/base/235637 Log: Fix bootstrapping from FreeBSD 7.x: we also need to build ar. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r235638 - head/lib/libmagic

2012-05-18 Thread Marcel Moolenaar
Author: marcel Date: Sat May 19 02:30:10 2012 New Revision: 235638 URL: http://svn.freebsd.org/changeset/base/235638 Log: Don't depend on getline being on the build machine. That's not the case for FreeBSD 7.x machines. Modified: head/lib/libmagic/Makefile head/lib/libmagic/config.h

<    1   2   3   4   5   6   7   8   >