Re: svn commit: r223485 - in head/sys/powerpc: aim booke include ofw powerpc

2011-06-24 Thread Marcel Moolenaar
and then do a load. Is curthread the only field that needs to be atomically accessed or are other fields in the PCPU susceptible to race conditions? -- Marcel Moolenaar mar...@xcllnt.net ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org

Re: svn commit: r223485 - in head/sys/powerpc: aim booke include ofw powerpc

2011-06-24 Thread Marcel Moolenaar
On Jun 24, 2011, at 9:18 AM, Nathan Whitehorn wrote: On 06/24/11 11:11, Marcel Moolenaar wrote: On Jun 23, 2011, at 3:21 PM, Nathan Whitehorn wrote: Author: nwhitehorn Date: Thu Jun 23 22:21:28 2011 New Revision: 223485 URL: http://svn.freebsd.org/changeset/base/223485 Log: Use

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

2011-06-24 Thread Marcel Moolenaar
Author: marcel Date: Sat Jun 25 02:15:14 2011 New Revision: 223526 URL: http://svn.freebsd.org/changeset/base/223526 Log: Switch to the event timers infrastructure. This includes: o Setting td_intr_frame to the XIVs trap frame because it's referenced by the ET event handler. o

svn commit: r223527 - head/sys/dev/acpica

2011-06-24 Thread Marcel Moolenaar
Author: marcel Date: Sat Jun 25 02:49:47 2011 New Revision: 223527 URL: http://svn.freebsd.org/changeset/base/223527 Log: Now that ia64 has been switched to the event timers, remove the conditional compilation work-arounds. Modified: head/sys/dev/acpica/acpi_cpu.c Modified:

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

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: 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: r222801 - in head/sys: ddb kern sys

2011-06-06 Thread Marcel Moolenaar
Author: marcel Date: Tue Jun 7 01:28:12 2011 New Revision: 222801 URL: http://svn.freebsd.org/changeset/base/222801 Log: Fix making kernel dumps from the debugger by creating a command for it. Do not not expect a developer to call doadump(). Calling doadump does not necessarily work when

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: r222501 - stable/8/sys/dev/uart

2011-05-30 Thread Marcel Moolenaar
Author: marcel Date: Mon May 30 16:10:15 2011 New Revision: 222501 URL: http://svn.freebsd.org/changeset/base/222501 Log: MFC r222317: Ignore MCR[6] during the probe to fix a false negative. PR: kern/129663 Modified: stable/8/sys/dev/uart/uart_dev_ns8250.c Directory

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-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all

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-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-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-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all

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

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

2011-05-07 Thread Marcel Moolenaar
Author: marcel Date: Sat May 7 17:23:13 2011 New Revision: 221606 URL: http://svn.freebsd.org/changeset/base/221606 Log: In pmap_kextract(), return the physical address for PBVM virtual addresses as well (incl. the PBVM page table). Modified: head/sys/ia64/ia64/pmap.c Modified:

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-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe

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: r221242 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-04-29 Thread Marcel Moolenaar
Author: marcel Date: Sat Apr 30 05:28:54 2011 New Revision: 221242 URL: http://svn.freebsd.org/changeset/base/221242 Log: Unbreak non-x86 and in particular ia64, The default stack size on ia64 is 32KB. Unconditionally hardcoding a 16KB stack for reasons of increasing the stack size on i386

svn commit: r221112 - head/sys/cddl/contrib/opensolaris/common/atomic/ia64

2011-04-26 Thread Marcel Moolenaar
Author: marcel Date: Wed Apr 27 04:03:04 2011 New Revision: 221112 URL: http://svn.freebsd.org/changeset/base/221112 Log: Fix copy-paste bug. Modified: head/sys/cddl/contrib/opensolaris/common/atomic/ia64/opensolaris_atomic.S Modified:

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: r220311 - in head/sys/boot: common pc98/loader

2011-04-03 Thread Marcel Moolenaar
Author: marcel Date: Sun Apr 3 22:31:51 2011 New Revision: 220311 URL: http://svn.freebsd.org/changeset/base/220311 Log: Add 2 new archsw interfaces: 1. arch_loadaddr - used by platform code to adjust the address at which the object gets loaded. Implement PC98 using this new interface

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

2011-04-03 Thread Marcel Moolenaar
Author: marcel Date: Sun Apr 3 23:49:20 2011 New Revision: 220313 URL: http://svn.freebsd.org/changeset/base/220313 Log: Use the new arch_loadaddr I/F to align ELF objects to PBVM page boundaries. For good measure, align all other objects to cache lines boundaries. Use the new

svn commit: r220283 - head/sys/boot/ia64/ski

2011-04-02 Thread Marcel Moolenaar
Author: marcel Date: Sun Apr 3 03:26:12 2011 New Revision: 220283 URL: http://svn.freebsd.org/changeset/base/220283 Log: Make the ski loader functional again after the previous set of changes. Modified: head/sys/boot/ia64/ski/efi_stub.c head/sys/boot/ia64/ski/skimd.c Modified:

svn commit: r220290 - in head/sys/boot: common sparc64/loader

2011-04-02 Thread Marcel Moolenaar
Author: marcel Date: Sun Apr 3 05:09:25 2011 New Revision: 220290 URL: http://svn.freebsd.org/changeset/base/220290 Log: Revert rev 165325. The arch_maphint interface hasn't been in use for more than 4 years. Modified: head/sys/boot/common/bootstrap.h head/sys/boot/sparc64/loader/main.c

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: r219756 - head/sys/ia64/ia64

2011-03-18 Thread Marcel Moolenaar
Author: marcel Date: Fri Mar 18 22:33:19 2011 New Revision: 219756 URL: http://svn.freebsd.org/changeset/base/219756 Log: Remove inclusion of unneeded bootinfo.h header. Modified: head/sys/ia64/ia64/autoconf.c Modified: head/sys/ia64/ia64/autoconf.c

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: 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: r218495 - head/sys/dev/md

2011-02-09 Thread Marcel Moolenaar
Author: marcel Date: Wed Feb 9 19:31:10 2011 New Revision: 218495 URL: http://svn.freebsd.org/changeset/base/218495 Log: Use the preload_fetch_addr() and preload_fetch_size() convenience functions and only create the MD device when we have a non-zero pointer and size. Sponsored by:

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: r218077 - head/sys/dev/fdt

2011-01-29 Thread Marcel Moolenaar
Author: marcel Date: Sat Jan 29 21:14:29 2011 New Revision: 218077 URL: http://svn.freebsd.org/changeset/base/218077 Log: Don't operate on the parent of the PCI node. It's the PCI node itself that represents the host controller. This makes the FDT PCI support working an a bare-bones manner.

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

Re: svn commit: r217851 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2011-01-25 Thread Marcel Moolenaar
executable stacks. Thanks for all the fixes! -- Marcel Moolenaar xcl...@mac.com ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org

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

2011-01-24 Thread Marcel Moolenaar
Author: marcel Date: Mon Jan 24 18:34:16 2011 New Revision: 217800 URL: http://svn.freebsd.org/changeset/base/217800 Log: In uart_tty_outwakeup(), check CTS/RTS flow control settings and prevent sending data when CTS is de-asserted. In uart_tty_intr(), call uart_tty_outwakeup() when the CTS

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

<    3   4   5   6   7   8   9   10   11   12   >