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

2011-06-24 Thread Marcel Moolenaar
== --- head/sys/ia64/ia64/clock.c Sat Jun 25 02:49:47 2011(r223527) +++ head/sys/ia64/ia64/clock.c Sat Jun 25 03:37:40 2011(r223528) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2005 Marcel Moolenaar + * Copyright (c) 2005, 2009-2011 Marcel Moolenaar * All rights reserved

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

2011-06-24 Thread Marcel Moolenaar
(r223529) @@ -1,41 +1,33 @@ -/* $FreeBSD$ */ -/* $NetBSD: interrupt.c,v 1.23 1998/02/24 07:38:01 thorpej Exp $ */ - /*- - * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. + * Copyright (c) 2010-2011 Marcel Moolenaar * All rights reserved. * - * Authors: Keith Bostic, Chris G

Re: svn commit: r223426 - in head/sys: dev/acpica kern sys x86/x86

2011-06-23 Thread Marcel Moolenaar
On Jun 22, 2011, at 6:36 PM, Alexander Motin wrote: Marcel Moolenaar wrote: On Jun 22, 2011, at 5:30 PM, Alexander Motin wrote: Marcel Moolenaar wrote: On Jun 22, 2011, at 4:24 PM, Jung-uk Kim wrote: I just realized kern_clocksource.c was excluded for arm and ia64. Here is updated patch

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

2011-06-23 Thread Marcel Moolenaar
Author: marcel Date: Thu Jun 23 16:21:43 2011 New Revision: 223478 URL: http://svn.freebsd.org/changeset/base/223478 Log: Unblock the outgoing thread after we performed pmap_switch() to switch the region registers. pmap_switch() returns the pmap for which the region register are currently

Re: svn commit: r223426 - in head/sys: dev/acpica kern sys x86/x86

2011-06-22 Thread Marcel Moolenaar
On Jun 22, 2011, at 4:24 PM, Jung-uk Kim wrote: I just realized kern_clocksource.c was excluded for arm and ia64. Here is updated patch. Please ignore the previous one. Any reason why we're not adding kern_clocksource.c for them? -- Marcel Moolenaar mar...@xcllnt.net

Re: svn commit: r223426 - in head/sys: dev/acpica kern sys x86/x86

2011-06-22 Thread Marcel Moolenaar
On Jun 22, 2011, at 5:30 PM, Alexander Motin wrote: Marcel Moolenaar wrote: On Jun 22, 2011, at 4:24 PM, Jung-uk Kim wrote: I just realized kern_clocksource.c was excluded for arm and ia64. Here is updated patch. Please ignore the previous one. Any reason why we're not adding

svn commit: r223306 - in head/usr.sbin/makefs: . cd9660

2011-06-19 Thread Marcel Moolenaar
(empty, because file is newly added) +++ head/usr.sbin/makefs/mtree.cSun Jun 19 18:34:49 2011 (r223306) @@ -0,0 +1,1051 @@ +/*- + * Copyright (c) 2011 Marcel Moolenaar + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without

svn commit: r223155 - head/sys/kern

2011-06-16 Thread Marcel Moolenaar
Author: marcel Date: Thu Jun 16 17:41:21 2011 New Revision: 223155 URL: http://svn.freebsd.org/changeset/base/223155 Log: Even if the loaded module has no symbols, we still need to notify MD code about it and update the link map for GDB's use. Modified: head/sys/kern/link_elf.c Modified:

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

2011-06-16 Thread Marcel Moolenaar
Author: marcel Date: Fri Jun 17 04:26:03 2011 New Revision: 223170 URL: http://svn.freebsd.org/changeset/base/223170 Log: Properly serialize the global shootdown with the instruction stream of the local processor. Also explicitly invalidate the ALAT. This is done on the other CPUs in the

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

2011-06-16 Thread Marcel Moolenaar
Author: marcel Date: Fri Jun 17 05:30:12 2011 New Revision: 223171 URL: http://svn.freebsd.org/changeset/base/223171 Log: Improve on style(9) Modified: head/sys/ia64/ia64/busdma_machdep.c Modified: head/sys/ia64/ia64/busdma_machdep.c

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

2011-06-10 Thread Marcel Moolenaar
Author: marcel Date: Sat Jun 11 02:22:11 2011 New Revision: 222971 URL: http://svn.freebsd.org/changeset/base/222971 Log: Add the model number for the Montvale processor (marketed as Itanium 2 9100). At this time we're missing just one: Tukwila (Itanium 2 9300). Modified:

svn commit: r222766 - head/release/ia64

2011-06-06 Thread Marcel Moolenaar
Author: marcel Date: Mon Jun 6 18:25:11 2011 New Revision: 222766 URL: http://svn.freebsd.org/changeset/base/222766 Log: Don't clobber the hosts /etc/fstab. $1 is empty at this point. Modified: head/release/ia64/mkisoimages.sh Modified: head/release/ia64/mkisoimages.sh

svn commit: r222769 - in head/sys/ia64: acpica ia64

2011-06-06 Thread Marcel Moolenaar
Author: marcel Date: Mon Jun 6 19:06:15 2011 New Revision: 222769 URL: http://svn.freebsd.org/changeset/base/222769 Log: Improve cpu_idle(): o cpu_idle_hook is expected to be called with interrupts disabled and re-enables interrupts on return. o sync with x86: don't idle when the

svn commit: r222798 - head/sys/boot/ia64/common

2011-06-06 Thread Marcel Moolenaar
) 2011 Marcel Moolenaar + * 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

svn commit: r222799 - head/sys/boot/ia64/efi

2011-06-06 Thread Marcel Moolenaar
Author: marcel Date: Tue Jun 7 00:59:31 2011 New Revision: 222799 URL: http://svn.freebsd.org/changeset/base/222799 Log: o Bump the EFI loader version to 3.1. o Add the about, pbvm and reboot commands. o Trim the banner (suppress maker and date). Modified:

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

2011-06-06 Thread Marcel Moolenaar
Author: marcel Date: Tue Jun 7 01:06:49 2011 New Revision: 222800 URL: http://svn.freebsd.org/changeset/base/222800 Log: Call set_cputicker() to have the time counter use the ITC register. Note that the ITC frequency is fixed. Modified: head/sys/ia64/ia64/machdep.c Modified:

svn commit: r222803 - head/usr.sbin/rtsold

2011-06-06 Thread Marcel Moolenaar
Author: marcel Date: Tue Jun 7 04:38:33 2011 New Revision: 222803 URL: http://svn.freebsd.org/changeset/base/222803 Log: Lower WARNS level to 3 to eliminate alignment warnings related to casting inherent in CMSG_DATA(). Modified: head/usr.sbin/rtsold/Makefile Modified:

svn commit: r222726 - head/release/ia64

2011-06-05 Thread Marcel Moolenaar
Author: marcel Date: Mon Jun 6 01:52:15 2011 New Revision: 222726 URL: http://svn.freebsd.org/changeset/base/222726 Log: Fix ia64 ISO creation: o boot/mfsroot.gz is no more. Copy it only when it exists so as still to be compatible with Makefile.sysinstall. o while here, make

Re: svn commit: r222726 - head/release/ia64

2011-06-05 Thread Marcel Moolenaar
On Jun 5, 2011, at 8:40 PM, Nathan Whitehorn wrote: On 06/05/11 20:52, Marcel Moolenaar wrote: Author: marcel Date: Mon Jun 6 01:52:15 2011 New Revision: 222726 URL: http://svn.freebsd.org/changeset/base/222726 Log: Fix ia64 ISO creation: o boot/mfsroot.gz is no more. Copy

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

2011-05-28 Thread Marcel Moolenaar
Author: marcel Date: Sat May 28 16:30:24 2011 New Revision: 222426 URL: http://svn.freebsd.org/changeset/base/222426 Log: Remove unused defines. They're distracting... Modified: head/sys/powerpc/mpc85xx/mpc85xx.h Modified: head/sys/powerpc/mpc85xx/mpc85xx.h

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

2011-05-28 Thread Marcel Moolenaar
Author: marcel Date: Sat May 28 19:14:16 2011 New Revision: 222428 URL: http://svn.freebsd.org/changeset/base/222428 Log: o Determine the number of LAWs in a way the is future proof. Only the MPC8555(E) has 8 LAWs, so don't make that the default case. Current processors have 12

svn commit: r222433 - in head/sys/powerpc: booke include

2011-05-28 Thread Marcel Moolenaar
Author: marcel Date: Sun May 29 00:27:42 2011 New Revision: 222433 URL: http://svn.freebsd.org/changeset/base/222433 Log: o Add system versions for the P4040(E) and P4080(E). o In bare_probe(), change the logic that determines the maximum number of processors/cores into a switch

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

2011-05-28 Thread Marcel Moolenaar
Author: marcel Date: Sun May 29 00:40:59 2011 New Revision: 222434 URL: http://svn.freebsd.org/changeset/base/222434 Log: The P4080 has 8 cores. Bump MAXCPU to 8 to match. Modified: head/sys/powerpc/include/param.h Modified: head/sys/powerpc/include/param.h

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

2011-05-28 Thread Marcel Moolenaar
On May 28, 2011, at 5:42 PM, Nathan Whitehorn wrote: On 05/28/11 19:40, Marcel Moolenaar wrote: Author: marcel Date: Sun May 29 00:40:59 2011 New Revision: 222434 URL: http://svn.freebsd.org/changeset/base/222434 Log: The P4080 has 8 cores. Bump MAXCPU to 8 to match. Can we just

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

2011-05-27 Thread Marcel Moolenaar
Author: marcel Date: Fri May 27 23:09:12 2011 New Revision: 222391 URL: http://svn.freebsd.org/changeset/base/222391 Log: Wire the kernel using TLB1 entry 0 rather than entry 1. A more recent U-Boot as found on the P1020RDB doesn't like it when we use entry 1 (for some reason) whereas an

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

2011-05-27 Thread Marcel Moolenaar
Author: marcel Date: Fri May 27 23:18:41 2011 New Revision: 222392 URL: http://svn.freebsd.org/changeset/base/222392 Log: o The P1020(E) P2020(E) also have two cores. This conditional has a tendency to grow unwieldy so we may want to revisit this in due time. o Simplify the

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

2011-05-27 Thread Marcel Moolenaar
Author: marcel Date: Sat May 28 04:10:44 2011 New Revision: 222400 URL: http://svn.freebsd.org/changeset/base/222400 Log: Better support different kernel hand-offs. When loaded directly from U-Boot, the kernel is passed a standard argc/argv pair. The Juniper loader passes the metadata

svn commit: r222317 - head/sys/dev/uart

2011-05-26 Thread Marcel Moolenaar
Author: marcel Date: Thu May 26 17:02:56 2011 New Revision: 222317 URL: http://svn.freebsd.org/changeset/base/222317 Log: Ignore MCR[6] during the probe to fix a false negative. Bit 6 of the MCR register on the Sunix Sun1699 chip tends to be set but doesn't seem to have a function. That is,

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

2011-05-26 Thread Marcel Moolenaar
Author: marcel Date: Thu May 26 20:47:05 2011 New Revision: 222327 URL: http://svn.freebsd.org/changeset/base/222327 Log: Don't assume we have a valid bootinfo pointer. Modified: head/sys/powerpc/booke/platform_bare.c Modified: head/sys/powerpc/booke/platform_bare.c

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

2011-05-26 Thread Marcel Moolenaar
Author: marcel Date: Fri May 27 05:58:10 2011 New Revision: 222340 URL: http://svn.freebsd.org/changeset/base/222340 Log: o Swap the SVR numbers for MPC8533 MPC8533E o Add SVR defines for P1011(E), P1020(E), P2010(E) P2020(E) Modified: head/sys/powerpc/include/spr.h Modified:

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Marcel Moolenaar
reject the MBR out of pedanticism? Rather than just calling it a bad idea, why not come up with something constructive? -- Marcel Moolenaar mar...@xcllnt.net ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src

Re: svn commit: r221952 - head/sbin/geom/class/part

2011-05-16 Thread Marcel Moolenaar
this change? No. If you think it's ok, then I'm fine with it. FYI, -- 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

Re: svn commit: r221952 - head/sbin/geom/class/part

2011-05-15 Thread Marcel Moolenaar
should probably determine the impact before you MFC this. Let me know and I'll dig up the details. FYI, -- Marcel Moolenaar mar...@xcllnt.net ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head

Re: svn commit: r221952 - head/sbin/geom/class/part

2011-05-15 Thread Marcel Moolenaar
On May 15, 2011, at 11:27 AM, Andrey V. Elsukov wrote: On 15.05.2011 19:09, Marcel Moolenaar wrote: Simplify the code a bit. For own providers GEOM_PART always provides start and end config attributes. MFC after: 1 week Just to make sure: the code deals with backward compatibility

Re: svn commit: r221952 - head/sbin/geom/class/part

2011-05-15 Thread Marcel Moolenaar
On May 15, 2011, at 12:59 PM, Marcel Moolenaar wrote: /* ... paging in non-commit details ... */ The point is that this is what's happening *now*. This is not what happened before. With support for logical partitions (i.e. the EBR scheme), the total partition bounds and the effective

svn commit: r221889 - head/sys/ia64/include

2011-05-14 Thread Marcel Moolenaar
Author: marcel Date: Sat May 14 14:36:08 2011 New Revision: 221889 URL: http://svn.freebsd.org/changeset/base/221889 Log: Turn ia64_srlz() and ia64_srlz_i() into defines so that the code is still correct when inlining is disabled. Modified: head/sys/ia64/include/ia64_cpu.h Modified:

svn commit: r221890 - head/sys/ia64/include

2011-05-14 Thread Marcel Moolenaar
Author: marcel Date: Sat May 14 14:40:24 2011 New Revision: 221890 URL: http://svn.freebsd.org/changeset/base/221890 Log: Be pedantic: mark the pcpu pointer (= register r13) itself as volatile. Modified: head/sys/ia64/include/pcpu.h Modified: head/sys/ia64/include/pcpu.h

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

2011-05-14 Thread Marcel Moolenaar
Author: marcel Date: Sat May 14 14:47:19 2011 New Revision: 221893 URL: http://svn.freebsd.org/changeset/base/221893 Log: Sharpening the saw: o Clobber the register that holds the restart token immediately after crossing the restart point. This prevents false positives (i.e. a

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

2011-05-14 Thread Marcel Moolenaar
Author: marcel Date: Sat May 14 14:55:15 2011 New Revision: 221894 URL: http://svn.freebsd.org/changeset/base/221894 Log: Prefer switching the memory stack from user to kernel *before* switching the register stack. While the ordering doesn't matter, it creates an invariant not previously

Re: svn commit: r221497 - head/release/ia64

2011-05-06 Thread Marcel Moolenaar
On May 6, 2011, at 6:50 AM, Nathan Whitehorn wrote: On 05/06/11 00:21, Marcel Moolenaar wrote: On May 5, 2011, at 8:29 PM, Nathan Whitehorn wrote: On 05/05/11 16:18, Marcel Moolenaar wrote: On May 5, 2011, at 7:16 AM, Nathan Whitehorn wrote: @@ -84,15 +63,13 @@ if [ $bootable = yes

Re: svn commit: r221497 - head/release/ia64

2011-05-05 Thread Marcel Moolenaar
-boot else BOOTOPTS= fi Thanks! Can you explain what this particular change does or why it's done? -- Marcel Moolenaar mar...@xcllnt.net ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head

Re: svn commit: r221497 - head/release/ia64

2011-05-05 Thread Marcel Moolenaar
On May 5, 2011, at 8:29 PM, Nathan Whitehorn wrote: On 05/05/11 16:18, Marcel Moolenaar wrote: On May 5, 2011, at 7:16 AM, Nathan Whitehorn wrote: @@ -84,15 +63,13 @@ if [ $bootable = yes ]; then mv $MNT/boot/loader.efi $MNT/efi/boot/bootia64.efi umount $MNT mdconfig -d -u

svn commit: r221334 - head/sys/ia64/include

2011-05-02 Thread Marcel Moolenaar
Author: marcel Date: Mon May 2 17:49:05 2011 New Revision: 221334 URL: http://svn.freebsd.org/changeset/base/221334 Log: Don't use the whole region 5 for KVA, because the CPU may not implement all of the 61 bits available within the region for virtual addressing. Since there's no good way

svn commit: r221356 - head/sys/boot/ia64/common

2011-05-02 Thread Marcel Moolenaar
Author: marcel Date: Tue May 3 01:43:04 2011 New Revision: 221356 URL: http://svn.freebsd.org/changeset/base/221356 Log: Fix corner case where the size is a power of two. Modified: head/sys/boot/ia64/common/exec.c Modified: head/sys/boot/ia64/common/exec.c

svn commit: r221269 - in head/sys/boot/ia64: common efi

2011-04-30 Thread Marcel Moolenaar
Author: marcel Date: Sat Apr 30 20:16:49 2011 New Revision: 221269 URL: http://svn.freebsd.org/changeset/base/221269 Log: Turn PBVM page table entries into PTEs so that they can be inserted into the TLB as-is. While here, have ia64_platform_alloc() return ~0UL on failure. Modified:

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

2011-04-30 Thread Marcel Moolenaar
Marcel Moolenaar * Copyright (c) 1998 Doug Rabson * All rights reserved. * @@ -26,12 +27,10 @@ * $FreeBSD$ */ -#include sys/syscall.h #include machine/asm.h #include machine/ia64_cpu.h #include machine/intrcnt.h #include machine/pte.h -#include machine/intrcnt.h #include assym.s

svn commit: r221035 - head/sys/ia64/include

2011-04-25 Thread Marcel Moolenaar
Author: marcel Date: Mon Apr 25 22:38:09 2011 New Revision: 221035 URL: http://svn.freebsd.org/changeset/base/221035 Log: Remove prototypes of non-existent functions. Modified: head/sys/ia64/include/pmap.h Modified: head/sys/ia64/include/pmap.h

svn commit: r220332 - head/sys/boot/common

2011-04-04 Thread Marcel Moolenaar
Author: marcel Date: Mon Apr 4 16:59:46 2011 New Revision: 220332 URL: http://svn.freebsd.org/changeset/base/220332 Log: Fix a long standing bug where file_load() passes down the global loadaddr to the l_load() method in the file_formats structure, while being passed an address as an

svn commit: r219875 - head/gnu/usr.bin/binutils/ld

2011-03-22 Thread Marcel Moolenaar
Author: marcel Date: Tue Mar 22 17:02:33 2011 New Revision: 219875 URL: http://svn.freebsd.org/changeset/base/219875 Log: Branch from contrib/binutils/ld/emulparams/elf64_ia64_fbsd.s so that we can modify it. Added: head/gnu/usr.bin/binutils/ld/elf64_ia64_fbsd.sh - copied unchanged

svn commit: r219876 - head/gnu/usr.bin/binutils/ld

2011-03-22 Thread Marcel Moolenaar
Author: marcel Date: Tue Mar 22 17:19:35 2011 New Revision: 219876 URL: http://svn.freebsd.org/changeset/base/219876 Log: Change the load address from offset 0 in region 1 to offset 4G in region 0. This (almost) gives us the address space back (at the bottom) that we lost at the top.

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

2011-03-21 Thread Marcel Moolenaar
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/ia64/ia64/physical.S Mon Mar 21 18:20:53 2011 (r219841) @@ -0,0 +1,258 @@ +/*- + * Copyright (c) 2011 Marcel Moolenaar + * All rights reserved. + * + * Redistribution and use

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

2011-03-20 Thread Marcel Moolenaar
Author: marcel Date: Mon Mar 21 01:09:50 2011 New Revision: 219808 URL: http://svn.freebsd.org/changeset/base/219808 Log: Change region 4 to be part of the kernel. This serves 2 purposes: 1. The PBVM is in region 4, so if we want to make use of it, we need region 4 freed up. 2.

svn commit: r219811 - head/gnu/usr.bin/binutils/ld

2011-03-20 Thread Marcel Moolenaar
Author: marcel Date: Mon Mar 21 04:03:55 2011 New Revision: 219811 URL: http://svn.freebsd.org/changeset/base/219811 Log: Fix typo: s/LIBSERACHPATH/LIBSEARCHPATH/g Modified: head/gnu/usr.bin/binutils/ld/Makefile head/gnu/usr.bin/binutils/ld/Makefile.amd64

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

2011-03-18 Thread Marcel Moolenaar
Author: marcel Date: Fri Mar 18 15:36:28 2011 New Revision: 219741 URL: http://svn.freebsd.org/changeset/base/219741 Log: Use VM_MAXUSER_ADDRESS rather than VM_MAX_ADDRESS when we talk about the bounds of user space. Redefine VM_MAX_ADDRESS as ~0UL, even though it's not used anywhere in the

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

2011-03-18 Thread Marcel Moolenaar
Author: marcel Date: Fri Mar 18 22:45:43 2011 New Revision: 219758 URL: http://svn.freebsd.org/changeset/base/219758 Log: o Move the IVT and supporting functions to the front of the text segment so that it's always mapped by the loader. o Change the alternate fault handlers to

svn commit: r219709 - head/lib/libc/stdlib

2011-03-16 Thread Marcel Moolenaar
Author: marcel Date: Thu Mar 17 04:30:43 2011 New Revision: 219709 URL: http://svn.freebsd.org/changeset/base/219709 Log: Don't add sigwait.c to MISRCS here when sigwait.c lives under ../sys and it's already added to SRCS there. Modified: head/lib/libc/stdlib/Makefile.inc Modified:

svn commit: r219710 - head/lib/libc/sys

2011-03-16 Thread Marcel Moolenaar
Author: marcel Date: Thu Mar 17 04:40:37 2011 New Revision: 219710 URL: http://svn.freebsd.org/changeset/base/219710 Log: When building libc with the syscall compatibility, don't also generate the syscall assembly files. This results in conflicting dependencies and can cause unexpected

svn commit: r219683 - head/sys/boot/efi/libefi

2011-03-15 Thread Marcel Moolenaar
Author: marcel Date: Wed Mar 16 00:08:10 2011 New Revision: 219683 URL: http://svn.freebsd.org/changeset/base/219683 Log: Revert previous commit: EFI_STATUS is a 64-bit integral on ia64. Fix the compile warning on i386 (where EFI_STATUS is a 32-bit integral) by casting the status argument

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

2011-03-15 Thread Marcel Moolenaar
Author: marcel Date: Wed Mar 16 00:42:15 2011 New Revision: 219684 URL: http://svn.freebsd.org/changeset/base/219684 Log: Fix mv_gpio_in() for pin numbers that occupy bits 8-31 in GPIO registers. The compiler will truncate the 32-bit return value of mv_gpio_value_get() to match the 8-bit

svn commit: r219691 - in head/sys: boot/common boot/efi/libefi boot/ia64/common boot/ia64/efi boot/ia64/ski ia64/include

2011-03-15 Thread Marcel Moolenaar
Author: marcel Date: Wed Mar 16 03:53:18 2011 New Revision: 219691 URL: http://svn.freebsd.org/changeset/base/219691 Log: MFaltix: Add support for Pre-Boot Virtual Memory (PBVM) to the loader. PBVM allows us to link the kernel at a fixed virtual address without having to make any

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

2011-02-17 Thread Marcel Moolenaar
Author: marcel Date: Thu Feb 17 19:31:21 2011 New Revision: 218780 URL: http://svn.freebsd.org/changeset/base/218780 Log: Fix the R_ARM_ABS32 relocation implementation. The memory address contains the addend that we need to include. Obtained from: Juniper Networks. Fixed by:

svn commit: r218660 - head/sys/dev/acpica/Osd

2011-02-13 Thread Marcel Moolenaar
Author: marcel Date: Sun Feb 13 19:24:04 2011 New Revision: 218660 URL: http://svn.freebsd.org/changeset/base/218660 Log: Use the preload_fetch_addr() and preload_fetch_size() convenience functions to obtain the address and size of the overriding DSDT. Sponsored by: Juniper Networks.

svn commit: r218661 - head/sys/dev/fb

2011-02-13 Thread Marcel Moolenaar
Author: marcel Date: Sun Feb 13 19:25:48 2011 New Revision: 218661 URL: http://svn.freebsd.org/changeset/base/218661 Log: Use the preload_fetch_addr() and preload_fetch_size() convenience functions to obtain the address and size of the bitmap splash image. Sponsored by: Juniper Networks.

svn commit: r218662 - head/sys/dev/pci

2011-02-13 Thread Marcel Moolenaar
Author: marcel Date: Sun Feb 13 19:26:51 2011 New Revision: 218662 URL: http://svn.freebsd.org/changeset/base/218662 Log: Use the preload_fetch_addr() and preload_fetch_size() convenience functions to obtain the address and size of the PCI vendor data. Sponsored by: Juniper Networks.

svn commit: r218663 - head/sys/geom/eli

2011-02-13 Thread Marcel Moolenaar
Author: marcel Date: Sun Feb 13 19:34:48 2011 New Revision: 218663 URL: http://svn.freebsd.org/changeset/base/218663 Log: Use the preload_fetch_addr() and preload_fetch_size() convenience functions to obtain the address and size of the preloaded key files. Sponsored by: Juniper Networks.

svn commit: r218665 - head/sys/cddl/compat/opensolaris/kern

2011-02-13 Thread Marcel Moolenaar
Author: marcel Date: Sun Feb 13 19:46:55 2011 New Revision: 218665 URL: http://svn.freebsd.org/changeset/base/218665 Log: Use the preload_fetch_addr() and preload_fetch_size() convenience functions to obtain the address and size of the preloaded pool configuration file/repository.

svn commit: r218494 - in head/sys: kern sys

2011-02-09 Thread Marcel Moolenaar
Author: marcel Date: Wed Feb 9 19:08:21 2011 New Revision: 218494 URL: http://svn.freebsd.org/changeset/base/218494 Log: Provide convenience function for obtaining MODINFO_ADDR and MODINFO_SIZE attributes for preloaded modules/images. In particular, MODINFO_ADDR has the added complexity of

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

2011-02-08 Thread Marcel Moolenaar
Author: marcel Date: Tue Feb 8 22:16:29 2011 New Revision: 218461 URL: http://svn.freebsd.org/changeset/base/218461 Log: Improve the error interrupt handler. In particular, read the error address on a decoding error to unlatch it and to allow us to print a better diagnostics message. This

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

2011-02-07 Thread Marcel Moolenaar
Author: marcel Date: Tue Feb 8 01:43:45 2011 New Revision: 218426 URL: http://svn.freebsd.org/changeset/base/218426 Log: o Make sure to mask off timer1 interrupts. It's not necessarily masked-off by the firmware. o In DELAY(). Make sure we have an inner-loop body that the compiler

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

2011-02-07 Thread Marcel Moolenaar
Author: marcel Date: Tue Feb 8 01:49:30 2011 New Revision: 218427 URL: http://svn.freebsd.org/changeset/base/218427 Log: In arm_get_next_irq(), use the last IRQ argument in order to prevent a hard hang due to an interrupt storm or stuck interrupt pin. We return the next IRQ that is larger

svn commit: r218382 - head/sys/ia64/conf

2011-02-06 Thread Marcel Moolenaar
Author: marcel Date: Sun Feb 6 22:18:37 2011 New Revision: 218382 URL: http://svn.freebsd.org/changeset/base/218382 Log: Comment-out FLOWTABLE. It causes a kernel panic due to a misaligned memory access related to an IPv6 route update. PR: kern/148018 Modified:

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

2011-02-06 Thread Marcel Moolenaar
Author: marcel Date: Mon Feb 7 05:36:32 2011 New Revision: 218388 URL: http://svn.freebsd.org/changeset/base/218388 Log: Remove use_high from the softc and simply check the number of GPIO pins to determine whether there's a high register set or not. This allows platform_gpio_init() to work

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

2011-02-03 Thread Marcel Moolenaar
Author: marcel Date: Thu Feb 3 17:35:16 2011 New Revision: 218227 URL: http://svn.freebsd.org/changeset/base/218227 Log: Accept r1 as having the metadata pointer argument if r0 is 0. This provides backward compatibility with Juniper loaders. Sponsored by: Juniper Networks Modified:

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

2011-02-03 Thread Marcel Moolenaar
Author: marcel Date: Thu Feb 3 18:07:05 2011 New Revision: 218228 URL: http://svn.freebsd.org/changeset/base/218228 Log: The FDT describes the host controller directly. There's no need to get properties from the parent. The parent is in fact the FDT bus itself and will therefore not have

svn commit: r218246 - head/sys/boot/fdt/dts

2011-02-03 Thread Marcel Moolenaar
Author: marcel Date: Fri Feb 4 01:09:02 2011 New Revision: 218246 URL: http://svn.freebsd.org/changeset/base/218246 Log: Add PEX0 and select the first serial port as console. Modified: head/sys/boot/fdt/dts/db78100.dts Modified: head/sys/boot/fdt/dts/db78100.dts

svn commit: r218184 - in head/sys/powerpc: include mpc85xx ofw powermac powerpc

2011-02-01 Thread Marcel Moolenaar
Author: marcel Date: Wed Feb 2 05:58:51 2011 New Revision: 218184 URL: http://svn.freebsd.org/changeset/base/218184 Log: Rename INTR_VEC to MAP_IRQ. From the OFW or FDT we obtain a PIC handle with interrupt pin. This we map to the resource called SYS_RES_IRQ. Modified:

svn commit: r218073 - in head/sys: arm/include dev/fdt powerpc/include

2011-01-29 Thread Marcel Moolenaar
Author: marcel Date: Sat Jan 29 20:25:20 2011 New Revision: 218073 URL: http://svn.freebsd.org/changeset/base/218073 Log: Introduce macro FDT_MAP_IRQ to map from an interrupt controller and interrupt pin pair to a global IRQ number. When multiple PICs exist on a board, the interrupt pin

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

2011-01-29 Thread Marcel Moolenaar
Author: marcel Date: Sat Jan 29 20:28:17 2011 New Revision: 218074 URL: http://svn.freebsd.org/changeset/base/218074 Log: Have nexus behave the same as the one on ARM (marvell SoCs), so as to prevent warnings during boot WRT to the fdtbus attachment. Modified:

svn commit: r218075 - in head/sys/powerpc: include mambo mpc85xx powermac powerpc ps3 psim

2011-01-29 Thread Marcel Moolenaar
Author: marcel Date: Sat Jan 29 20:58:38 2011 New Revision: 218075 URL: http://svn.freebsd.org/changeset/base/218075 Log: Fix the interrupt code, broken 7 months ago. The interrupt framework already supported nested PICs, but was limited to having a nested AT-PIC only. With G5 support the

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

2011-01-29 Thread Marcel Moolenaar
Author: marcel Date: Sat Jan 29 21:08:03 2011 New Revision: 218076 URL: http://svn.freebsd.org/changeset/base/218076 Log: Call newbus_device_create() for PCI devices. Call pci_from_fdt_node() for the newly created device_t, rather than the parent. Modified: head/sys/dev/fdt/fdtbus.c

svn commit: r218050 - head/sys/dev/tsec

2011-01-28 Thread Marcel Moolenaar
Author: marcel Date: Fri Jan 28 23:40:13 2011 New Revision: 218050 URL: http://svn.freebsd.org/changeset/base/218050 Log: Don't use the MAC address in the device tree if it's all zeroes (i.e. 00-00-00-00-00-00). Use the currently programmed address instead. While here, simplify the

svn commit: r217726 - head/sbin/growfs

2011-01-22 Thread Marcel Moolenaar
Author: marcel Date: Sat Jan 22 21:27:17 2011 New Revision: 217726 URL: http://svn.freebsd.org/changeset/base/217726 Log: s/utime/modtime/g -- utime shadows utime(3). Submitted by: Garrett Cooper Modified: head/sbin/growfs/growfs.c Modified: head/sbin/growfs/growfs.c

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

2011-01-21 Thread Marcel Moolenaar
Author: marcel Date: Sat Jan 22 00:32:12 2011 New Revision: 217708 URL: http://svn.freebsd.org/changeset/base/217708 Log: Fix backtraces by defining ksym_start ksym_end if DDB is defined. The kernel linker doesn't deal with symbols of type NOTYPE and typically gives the wrong symbol ($a)

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

2011-01-21 Thread Marcel Moolenaar
Author: marcel Date: Sat Jan 22 01:31:59 2011 New Revision: 217709 URL: http://svn.freebsd.org/changeset/base/217709 Log: Fix r217688. We need to call init_param1() before we use msgbufsize, now that the size of the message buffer is a tunable. Modified: head/sys/arm/mv/mv_machdep.c

svn commit: r217520 - head/sys/dev/uart

2011-01-17 Thread Marcel Moolenaar
Author: marcel Date: Mon Jan 17 23:34:36 2011 New Revision: 217520 URL: http://svn.freebsd.org/changeset/base/217520 Log: Check the environment for system devices before using the FDT. This allows overriding the FDT, and allows specifying a debug port. Modified:

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

2011-01-17 Thread Marcel Moolenaar
Author: marcel Date: Mon Jan 17 23:54:50 2011 New Revision: 217523 URL: http://svn.freebsd.org/changeset/base/217523 Log: Support booting non FDT-capable loaders: 1. Allow embedding the FDT into the kernel, just like PowerPC/book-E. 2. If the loader passes us a pointer to the bootinfo

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

2011-01-15 Thread Marcel Moolenaar
Author: marcel Date: Sat Jan 15 20:18:08 2011 New Revision: 217459 URL: http://svn.freebsd.org/changeset/base/217459 Log: Don't redefine MODINFOMD_BOOTINFO as MODINFOMD_DTBP. This breaks support for older loaders. Add MODINFOMD_DTBP as a new tag instead. Modified:

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

2011-01-11 Thread Marcel Moolenaar
Author: marcel Date: Tue Jan 11 22:07:39 2011 New Revision: 217290 URL: http://svn.freebsd.org/changeset/base/217290 Log: Don't re-use MODINFOMD_BOOTINFO as MODINFOMD_DTBP. It breaks compatibility without any means for the kernel to work with an older loader. Modified:

svn commit: r217067 - head/sys/boot/efi/libefi

2011-01-06 Thread Marcel Moolenaar
Author: marcel Date: Thu Jan 6 20:50:16 2011 New Revision: 217067 URL: http://svn.freebsd.org/changeset/base/217067 Log: Help static analysis by initializing variables that we know cannot be used uninitialized, but which cannot be inferred from the code itself. Modified:

svn commit: r214194 - in head/libexec/rtld-elf: . ia64

2010-10-21 Thread Marcel Moolenaar
Author: marcel Date: Fri Oct 22 04:43:04 2010 New Revision: 214194 URL: http://svn.freebsd.org/changeset/base/214194 Log: Unbreak ia64. With r169630 I disabled symbol versioning because it broke rtld. With r211706 rtld got broken for ia64 powerpc64. It was fixed for powerpc64 with

svn commit: r214003 - head/sys/dev/md

2010-10-17 Thread Marcel Moolenaar
Author: marcel Date: Mon Oct 18 04:26:32 2010 New Revision: 214003 URL: http://svn.freebsd.org/changeset/base/214003 Log: Allow the MDIOCATTACH ioctl operation to originate from within the kernel. To protect against malicious software, we demand that the file name is at a particular

svn commit: r213365 - in head/sys: conf kern

2010-10-02 Thread Marcel Moolenaar
Author: marcel Date: Sat Oct 2 19:44:13 2010 New Revision: 213365 URL: http://svn.freebsd.org/changeset/base/213365 Log: Split the root mount logic from the (generic) mount code and move it (the root mount code) into a new file called vfs_mountroot.c The split is almost trivial, as the

Re: svn commit: r212886 - head/sbin/growfs

2010-09-20 Thread Marcel Moolenaar
On Sep 19, 2010, at 11:55 PM, Bruce Evans wrote: On Mon, 20 Sep 2010, Marcel Moolenaar wrote: Log: Unbreak the build on strong-aligned architectures (arm, ia64). Casting from (char *) to (struct ufs1_dinode *) changes the alignment requirement of the pointer and GCC does not know

Re: svn commit: r212614 - in head: sbin/geom/class/part sys/geom/part

2010-09-14 Thread Marcel Moolenaar
needed. - Reorganize code a little bit. Please revert. The gpart ctlreq interface is ASCII only by design. This change is unnecessary as nothing was broken and on top of that breaks compatibility with user-space -- again entirely without merit. Thanks, -- Marcel Moolenaar xcl...@mac.com

svn commit: r210103 - head/lib/liblzma

2010-07-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Jul 15 03:11:04 2010 New Revision: 210103 URL: http://svn.freebsd.org/changeset/base/210103 Log: Unbreak xz (liblzma) on strong-aligned architectures (and without emulation of misaligned memory accesses). We cannot map the unaligned memory access functions to the

svn commit: r209774 - in head/sys/boot/ia64: common efi

2010-07-07 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 7 19:06:53 2010 New Revision: 209774 URL: http://svn.freebsd.org/changeset/base/209774 Log: Use the kernel's start address to determine what to map. This allows us to link the kernel at different addresses without needing to build a corresponding loader.

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

2010-07-07 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 7 19:34:48 2010 New Revision: 209775 URL: http://svn.freebsd.org/changeset/base/209775 Log: Remove pointless BOOTP conditional. Modified: head/sys/ia64/ia64/autoconf.c Modified: head/sys/ia64/ia64/autoconf.c

svn commit: r209779 - in head/sys/ia64: acpica include

2010-07-07 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 7 20:07:33 2010 New Revision: 209779 URL: http://svn.freebsd.org/changeset/base/209779 Log: Add acpi_find_table() -- a convenience function for looking up an ACPI table given the signature. Modified: head/sys/ia64/acpica/acpi_machdep.c

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

2010-07-06 Thread Marcel Moolenaar
Author: marcel Date: Tue Jul 6 23:13:21 2010 New Revision: 209749 URL: http://svn.freebsd.org/changeset/base/209749 Log: Provide more examples for error injection. Modified: head/sys/ia64/ia64/mca.c Modified: head/sys/ia64/ia64/mca.c

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

2010-07-03 Thread Marcel Moolenaar
Author: marcel Date: Sat Jul 3 20:19:20 2010 New Revision: 209671 URL: http://svn.freebsd.org/changeset/base/209671 Log: Allocate and setup an interrupt vector for corrected machine checks. For now, just print when we get the interrupt, but eventually we need to collect the details and

<    2   3   4   5   6   7   8   >