From owner-p4-projects@FreeBSD.ORG Wed Dec 27 15:04:34 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id F064216A415; Wed, 27 Dec 2006 15:04:33 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD7A316A407 for ; Wed, 27 Dec 2006 15:04:33 +0000 (UTC) (envelope-from zec@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id AB59A13C478 for ; Wed, 27 Dec 2006 15:04:33 +0000 (UTC) (envelope-from zec@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kBRF4XFu032682 for ; Wed, 27 Dec 2006 15:04:33 GMT (envelope-from zec@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kBRF3ah0032511 for perforce@freebsd.org; Wed, 27 Dec 2006 15:03:36 GMT (envelope-from zec@FreeBSD.org) Date: Wed, 27 Dec 2006 15:03:36 GMT Message-Id: <200612271503.kBRF3ah0032511@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to zec@FreeBSD.org using -f From: Marko Zec To: Perforce Change Reviews Cc: Subject: PERFORCE change 112165 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Dec 2006 15:04:34 -0000 http://perforce.freebsd.org/chv.cgi?CH=112165 Change 112165 by zec@zec_tca51 on 2006/12/27 15:02:57 IFC @ 112154 Affected files ... .. //depot/projects/vimage/src/sys/amd64/amd64/apic_vector.S#2 integrate .. //depot/projects/vimage/src/sys/amd64/amd64/cpu_switch.S#2 integrate .. //depot/projects/vimage/src/sys/amd64/amd64/exception.S#2 integrate .. //depot/projects/vimage/src/sys/amd64/amd64/genassym.c#2 integrate .. //depot/projects/vimage/src/sys/amd64/amd64/intr_machdep.c#2 integrate .. //depot/projects/vimage/src/sys/amd64/amd64/local_apic.c#2 integrate .. //depot/projects/vimage/src/sys/amd64/amd64/machdep.c#3 integrate .. //depot/projects/vimage/src/sys/amd64/amd64/mptable_pci.c#2 integrate .. //depot/projects/vimage/src/sys/amd64/amd64/trap.c#2 integrate .. //depot/projects/vimage/src/sys/amd64/conf/GENERIC#3 integrate .. //depot/projects/vimage/src/sys/amd64/ia32/ia32_exception.S#2 integrate .. //depot/projects/vimage/src/sys/amd64/ia32/ia32_syscall.c#2 integrate .. //depot/projects/vimage/src/sys/amd64/include/apicvar.h#2 integrate .. //depot/projects/vimage/src/sys/amd64/include/intr_machdep.h#2 integrate .. //depot/projects/vimage/src/sys/amd64/isa/atpic.c#2 integrate .. //depot/projects/vimage/src/sys/amd64/isa/atpic_vector.S#2 integrate .. //depot/projects/vimage/src/sys/amd64/isa/icu.h#2 integrate .. //depot/projects/vimage/src/sys/amd64/linux32/linux.h#2 integrate .. //depot/projects/vimage/src/sys/amd64/linux32/linux32_machdep.c#2 integrate .. //depot/projects/vimage/src/sys/amd64/pci/pci_bus.c#2 integrate .. //depot/projects/vimage/src/sys/arm/at91/at91_st.c#2 integrate .. //depot/projects/vimage/src/sys/arm/xscale/i80321/i80321_wdog.c#2 integrate .. //depot/projects/vimage/src/sys/boot/arm/at91/Makefile.inc#2 integrate .. //depot/projects/vimage/src/sys/boot/arm/at91/boot0spi/main.c#2 integrate .. //depot/projects/vimage/src/sys/boot/arm/at91/libat91/arm_init.S#2 integrate .. //depot/projects/vimage/src/sys/boot/arm/at91/libat91/at91rm9200_lowlevel.h#2 integrate .. //depot/projects/vimage/src/sys/boot/arm/at91/libat91/eeprom.c#2 integrate .. //depot/projects/vimage/src/sys/boot/arm/at91/libat91/emac.c#2 integrate .. //depot/projects/vimage/src/sys/boot/arm/at91/libat91/emac_init.c#2 integrate .. //depot/projects/vimage/src/sys/boot/arm/at91/libat91/lib.h#2 integrate .. //depot/projects/vimage/src/sys/boot/arm/at91/libat91/spi_flash.c#2 integrate .. //depot/projects/vimage/src/sys/boot/arm/at91/libat91/spi_flash.h#2 integrate .. //depot/projects/vimage/src/sys/boot/common/bootstrap.h#2 integrate .. //depot/projects/vimage/src/sys/boot/forth/loader.conf#2 integrate .. //depot/projects/vimage/src/sys/boot/sparc64/loader/main.c#2 integrate .. //depot/projects/vimage/src/sys/cam/cam_xpt.c#3 integrate .. //depot/projects/vimage/src/sys/compat/freebsd32/freebsd32_misc.c#2 integrate .. //depot/projects/vimage/src/sys/compat/freebsd32/freebsd32_proto.h#2 integrate .. //depot/projects/vimage/src/sys/compat/freebsd32/freebsd32_syscall.h#2 integrate .. //depot/projects/vimage/src/sys/compat/freebsd32/freebsd32_syscalls.c#2 integrate .. //depot/projects/vimage/src/sys/compat/freebsd32/freebsd32_sysent.c#2 integrate .. //depot/projects/vimage/src/sys/compat/freebsd32/syscalls.master#2 integrate .. //depot/projects/vimage/src/sys/compat/linux/linux_ipc.c#2 integrate .. //depot/projects/vimage/src/sys/compat/linux/linux_ipc.h#2 integrate .. //depot/projects/vimage/src/sys/compat/linux/linux_time.c#2 integrate .. //depot/projects/vimage/src/sys/compat/ndis/subr_ntoskrnl.c#2 integrate .. //depot/projects/vimage/src/sys/conf/NOTES#3 integrate .. //depot/projects/vimage/src/sys/conf/files#4 integrate .. //depot/projects/vimage/src/sys/conf/files.amd64#2 integrate .. //depot/projects/vimage/src/sys/conf/files.arm#2 integrate .. //depot/projects/vimage/src/sys/conf/files.i386#2 integrate .. //depot/projects/vimage/src/sys/conf/files.pc98#2 integrate .. //depot/projects/vimage/src/sys/conf/files.powerpc#2 integrate .. //depot/projects/vimage/src/sys/conf/files.sparc64#2 integrate .. //depot/projects/vimage/src/sys/conf/files.sun4v#2 integrate .. //depot/projects/vimage/src/sys/conf/options#4 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/ah.h#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/ah_desc.h#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/ah_devid.h#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/alpha-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/alpha-elf.inc#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/ap30.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/ap43.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/ap51.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/ap61.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/arm9-le-thumb-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/arm9-le-thumb-elf.inc#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/armv4-be-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/armv4-be-elf.inc#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/armv4-le-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/armv4-le-elf.inc#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/i386-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/mips-be-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/mips-le-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/mips1-be-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/mips1-le-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/mipsisa32-be-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/mipsisa32-le-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/powerpc-be-eabi.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/powerpc-be-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/powerpc-le-eabi.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/sh4-le-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/sparc-be-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/sparc64-be-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/wackelf.c#1 branch .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/x86_64-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/xscale-be-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/xscale-be-elf.inc#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/xscale-le-elf.hal.o.uu#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/public/xscale-le-elf.inc#2 integrate .. //depot/projects/vimage/src/sys/contrib/dev/ath/version.h#2 integrate .. //depot/projects/vimage/src/sys/contrib/ipfilter/netinet/ip_state.c#2 integrate .. //depot/projects/vimage/src/sys/dev/aac/aac_linux.c#2 integrate .. //depot/projects/vimage/src/sys/dev/acpica/acpi_battery.c#2 integrate .. //depot/projects/vimage/src/sys/dev/acpica/acpi_pcib_acpi.c#2 integrate .. //depot/projects/vimage/src/sys/dev/arcmsr/arcmsr.c#3 integrate .. //depot/projects/vimage/src/sys/dev/arcmsr/arcmsr.h#2 integrate .. //depot/projects/vimage/src/sys/dev/ata/ata-all.c#2 integrate .. //depot/projects/vimage/src/sys/dev/ata/ata-queue.c#2 integrate .. //depot/projects/vimage/src/sys/dev/ath/ath_rate/amrr/amrr.c#2 integrate .. //depot/projects/vimage/src/sys/dev/ath/ath_rate/onoe/onoe.c#2 integrate .. //depot/projects/vimage/src/sys/dev/ath/ath_rate/sample/sample.c#2 integrate .. //depot/projects/vimage/src/sys/dev/ath/ath_rate/sample/sample.h#2 integrate .. //depot/projects/vimage/src/sys/dev/ath/if_ath.c#2 integrate .. //depot/projects/vimage/src/sys/dev/ath/if_athrate.h#2 integrate .. //depot/projects/vimage/src/sys/dev/ath/if_athvar.h#2 integrate .. //depot/projects/vimage/src/sys/dev/atkbdc/psm.c#2 integrate .. //depot/projects/vimage/src/sys/dev/bge/if_bge.c#3 integrate .. //depot/projects/vimage/src/sys/dev/bge/if_bgereg.h#3 integrate .. //depot/projects/vimage/src/sys/dev/dc/if_dc.c#3 integrate .. //depot/projects/vimage/src/sys/dev/ichwd/ichwd.c#2 integrate .. //depot/projects/vimage/src/sys/dev/ipmi/ipmi.c#3 integrate .. //depot/projects/vimage/src/sys/dev/isp/isp.c#3 integrate .. //depot/projects/vimage/src/sys/dev/isp/isp_freebsd.c#3 integrate .. //depot/projects/vimage/src/sys/dev/isp/isp_pci.c#3 integrate .. //depot/projects/vimage/src/sys/dev/isp/isp_sbus.c#3 integrate .. //depot/projects/vimage/src/sys/dev/isp/ispmbox.h#3 integrate .. //depot/projects/vimage/src/sys/dev/md/md.c#2 integrate .. //depot/projects/vimage/src/sys/dev/mfi/mfi.c#2 integrate .. //depot/projects/vimage/src/sys/dev/mfi/mfi_ioctl.h#2 integrate .. //depot/projects/vimage/src/sys/dev/mfi/mfireg.h#2 integrate .. //depot/projects/vimage/src/sys/dev/mii/brgphy.c#3 integrate .. //depot/projects/vimage/src/sys/dev/mii/rgephy.c#3 integrate .. //depot/projects/vimage/src/sys/dev/mk48txx/mk48txx.c#2 integrate .. //depot/projects/vimage/src/sys/dev/mpt/mpt_cam.c#3 integrate .. //depot/projects/vimage/src/sys/dev/msk/if_msk.c#1 branch .. //depot/projects/vimage/src/sys/dev/msk/if_mskreg.h#1 branch .. //depot/projects/vimage/src/sys/dev/pci/pci.c#2 integrate .. //depot/projects/vimage/src/sys/dev/pci/pci_private.h#2 integrate .. //depot/projects/vimage/src/sys/dev/pci/pcib_private.h#2 integrate .. //depot/projects/vimage/src/sys/dev/pci/pcireg.h#2 integrate .. //depot/projects/vimage/src/sys/dev/pci/pcivar.h#2 integrate .. //depot/projects/vimage/src/sys/dev/ral/rt2560.c#3 integrate .. //depot/projects/vimage/src/sys/dev/ral/rt2560var.h#2 integrate .. //depot/projects/vimage/src/sys/dev/ral/rt2661.c#3 integrate .. //depot/projects/vimage/src/sys/dev/ral/rt2661var.h#2 integrate .. //depot/projects/vimage/src/sys/dev/re/if_re.c#2 integrate .. //depot/projects/vimage/src/sys/dev/sk/if_sk.c#2 integrate .. //depot/projects/vimage/src/sys/dev/sk/if_skreg.h#2 integrate .. //depot/projects/vimage/src/sys/dev/sound/pci/envy24.c#2 integrate .. //depot/projects/vimage/src/sys/dev/sound/pci/envy24ht.c#2 integrate .. //depot/projects/vimage/src/sys/dev/sound/pci/envy24ht.h#2 integrate .. //depot/projects/vimage/src/sys/dev/sound/pci/hda/hdac.c#3 integrate .. //depot/projects/vimage/src/sys/dev/sound/pci/ich.c#2 integrate .. //depot/projects/vimage/src/sys/dev/usb/if_aue.c#3 integrate .. //depot/projects/vimage/src/sys/dev/usb/if_auereg.h#3 integrate .. //depot/projects/vimage/src/sys/dev/usb/uplcom.c#2 integrate .. //depot/projects/vimage/src/sys/dev/watchdog/watchdog.c#2 integrate .. //depot/projects/vimage/src/sys/fs/msdosfs/bpb.h#2 integrate .. //depot/projects/vimage/src/sys/fs/udf/udf_vnops.c#2 integrate .. //depot/projects/vimage/src/sys/i386/conf/GENERIC#3 integrate .. //depot/projects/vimage/src/sys/i386/i386/apic_vector.s#2 integrate .. //depot/projects/vimage/src/sys/i386/i386/elan-mmcr.c#2 integrate .. //depot/projects/vimage/src/sys/i386/i386/exception.s#2 integrate .. //depot/projects/vimage/src/sys/i386/i386/genassym.c#2 integrate .. //depot/projects/vimage/src/sys/i386/i386/intr_machdep.c#2 integrate .. //depot/projects/vimage/src/sys/i386/i386/local_apic.c#2 integrate .. //depot/projects/vimage/src/sys/i386/i386/machdep.c#3 integrate .. //depot/projects/vimage/src/sys/i386/i386/mptable_pci.c#2 integrate .. //depot/projects/vimage/src/sys/i386/i386/swtch.s#2 integrate .. //depot/projects/vimage/src/sys/i386/i386/trap.c#2 integrate .. //depot/projects/vimage/src/sys/i386/i386/vm86.c#2 integrate .. //depot/projects/vimage/src/sys/i386/i386/vm86bios.s#2 integrate .. //depot/projects/vimage/src/sys/i386/include/apicvar.h#2 integrate .. //depot/projects/vimage/src/sys/i386/include/intr_machdep.h#2 integrate .. //depot/projects/vimage/src/sys/i386/isa/atpic.c#2 integrate .. //depot/projects/vimage/src/sys/i386/isa/atpic_vector.s#2 integrate .. //depot/projects/vimage/src/sys/i386/isa/icu.h#2 integrate .. //depot/projects/vimage/src/sys/i386/linux/linux.h#2 integrate .. //depot/projects/vimage/src/sys/i386/linux/linux_proto.h#2 integrate .. //depot/projects/vimage/src/sys/i386/linux/linux_syscall.h#2 integrate .. //depot/projects/vimage/src/sys/i386/linux/linux_sysent.c#2 integrate .. //depot/projects/vimage/src/sys/i386/linux/syscalls.master#2 integrate .. //depot/projects/vimage/src/sys/i386/pci/pci_bus.c#2 integrate .. //depot/projects/vimage/src/sys/i386/pci/pci_cfgreg.c#2 integrate .. //depot/projects/vimage/src/sys/ia64/ia64/machdep.c#3 integrate .. //depot/projects/vimage/src/sys/kern/kern_clock.c#3 integrate .. //depot/projects/vimage/src/sys/kern/kern_condvar.c#2 integrate .. //depot/projects/vimage/src/sys/kern/kern_intr.c#3 integrate .. //depot/projects/vimage/src/sys/kern/kern_ktrace.c#2 integrate .. //depot/projects/vimage/src/sys/kern/kern_mac.c#2 integrate .. //depot/projects/vimage/src/sys/kern/kern_mutex.c#2 integrate .. //depot/projects/vimage/src/sys/kern/kern_sig.c#2 integrate .. //depot/projects/vimage/src/sys/kern/kern_synch.c#3 integrate .. //depot/projects/vimage/src/sys/kern/kern_thread.c#3 integrate .. //depot/projects/vimage/src/sys/kern/kern_umtx.c#3 integrate .. //depot/projects/vimage/src/sys/kern/sched_4bsd.c#3 integrate .. //depot/projects/vimage/src/sys/kern/subr_sleepqueue.c#2 integrate .. //depot/projects/vimage/src/sys/kern/sys_pipe.c#2 integrate .. //depot/projects/vimage/src/sys/kern/sysv_ipc.c#2 integrate .. //depot/projects/vimage/src/sys/kern/sysv_msg.c#2 integrate .. //depot/projects/vimage/src/sys/kern/tty.c#4 integrate .. //depot/projects/vimage/src/sys/kern/uipc_mbuf.c#2 integrate .. //depot/projects/vimage/src/sys/kern/uipc_socket.c#4 integrate .. //depot/projects/vimage/src/sys/kern/vfs_bio.c#2 integrate .. //depot/projects/vimage/src/sys/kern/vfs_export.c#3 integrate .. //depot/projects/vimage/src/sys/kern/vfs_extattr.c#1 branch .. //depot/projects/vimage/src/sys/kern/vfs_mount.c#2 integrate .. //depot/projects/vimage/src/sys/kern/vfs_syscalls.c#2 integrate .. //depot/projects/vimage/src/sys/modules/Makefile#3 integrate .. //depot/projects/vimage/src/sys/modules/acpi/Makefile#2 integrate .. //depot/projects/vimage/src/sys/modules/acpi/acpi/Makefile#2 integrate .. //depot/projects/vimage/src/sys/modules/msk/Makefile#1 branch .. //depot/projects/vimage/src/sys/modules/ufs/Makefile#2 integrate .. //depot/projects/vimage/src/sys/net/if_ethersubr.c#5 integrate .. //depot/projects/vimage/src/sys/net/if_spppsubr.c#3 integrate .. //depot/projects/vimage/src/sys/netgraph/ng_nat.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/ip_fw2.c#3 integrate .. //depot/projects/vimage/src/sys/netinet/ip_input.c#6 edit .. //depot/projects/vimage/src/sys/netinet/libalias/alias.c#3 integrate .. //depot/projects/vimage/src/sys/netinet/libalias/alias_db.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/libalias/alias_local.h#2 integrate .. //depot/projects/vimage/src/sys/netinet/libalias/alias_mod.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/libalias/alias_proxy.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/libalias/alias_util.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_asconf.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_constants.h#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_indata.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_input.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_lock_bsd.h#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_os_bsd.h#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_output.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_pcb.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_pcb.h#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_peeloff.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_structs.h#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_timer.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_uio.h#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctp_usrreq.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctputil.c#2 integrate .. //depot/projects/vimage/src/sys/netinet/sctputil.h#2 integrate .. //depot/projects/vimage/src/sys/netinet/tcp_hostcache.c#6 integrate .. //depot/projects/vimage/src/sys/netinet/tcp_input.c#4 integrate .. //depot/projects/vimage/src/sys/netinet/tcp_syncache.c#5 integrate .. //depot/projects/vimage/src/sys/netinet/tcp_syncache.h#2 edit .. //depot/projects/vimage/src/sys/netinet6/frag6.c#2 integrate .. //depot/projects/vimage/src/sys/netinet6/icmp6.c#3 integrate .. //depot/projects/vimage/src/sys/netinet6/in6.c#3 integrate .. //depot/projects/vimage/src/sys/netinet6/in6_gif.c#2 integrate .. //depot/projects/vimage/src/sys/netinet6/in6_src.c#3 integrate .. //depot/projects/vimage/src/sys/netinet6/in6_var.h#2 integrate .. //depot/projects/vimage/src/sys/netinet6/ip6_forward.c#2 integrate .. //depot/projects/vimage/src/sys/netinet6/ip6_input.c#4 integrate .. //depot/projects/vimage/src/sys/netinet6/ip6_mroute.c#3 integrate .. //depot/projects/vimage/src/sys/netinet6/ipsec.c#2 integrate .. //depot/projects/vimage/src/sys/netinet6/mld6.c#3 integrate .. //depot/projects/vimage/src/sys/netinet6/nd6.c#6 integrate .. //depot/projects/vimage/src/sys/netinet6/nd6_nbr.c#3 integrate .. //depot/projects/vimage/src/sys/netinet6/nd6_rtr.c#3 integrate .. //depot/projects/vimage/src/sys/netinet6/scope6.c#5 integrate .. //depot/projects/vimage/src/sys/netinet6/sctp6_usrreq.c#2 integrate .. //depot/projects/vimage/src/sys/netinet6/udp6_usrreq.c#5 integrate .. //depot/projects/vimage/src/sys/netipsec/ipsec.c#2 integrate .. //depot/projects/vimage/src/sys/netipsec/ipsec_input.c#2 integrate .. //depot/projects/vimage/src/sys/nfsserver/nfs_syscalls.c#2 integrate .. //depot/projects/vimage/src/sys/pci/if_rl.c#3 integrate .. //depot/projects/vimage/src/sys/powerpc/include/bus.h#2 integrate .. //depot/projects/vimage/src/sys/powerpc/powerpc/mmu_oea.c#3 integrate .. //depot/projects/vimage/src/sys/powerpc/powerpc/ofw_machdep.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_framework.h#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_inet.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_internal.h#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_label.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_net.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_pipe.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_policy.h#1 branch .. //depot/projects/vimage/src/sys/security/mac/mac_posix_sem.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_priv.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_process.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_socket.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_system.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_sysv_msg.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_sysv_sem.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_sysv_shm.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac/mac_vfs.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac_biba/mac_biba.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac_bsdextended/mac_bsdextended.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac_ifoff/mac_ifoff.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac_lomac/mac_lomac.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac_mls/mac_mls.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac_none/mac_none.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac_partition/mac_partition.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac_portacl/mac_portacl.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac_seeotheruids/mac_seeotheruids.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac_stub/mac_stub.c#2 integrate .. //depot/projects/vimage/src/sys/security/mac_test/mac_test.c#2 integrate .. //depot/projects/vimage/src/sys/sparc64/include/param.h#2 integrate .. //depot/projects/vimage/src/sys/sparc64/sparc64/genassym.c#2 integrate .. //depot/projects/vimage/src/sys/sun4v/include/cddl/mdesc.h#2 integrate .. //depot/projects/vimage/src/sys/sun4v/include/pcpu.h#3 integrate .. //depot/projects/vimage/src/sys/sun4v/include/smp.h#2 integrate .. //depot/projects/vimage/src/sys/sun4v/include/trap.h#2 integrate .. //depot/projects/vimage/src/sys/sun4v/mdesc/mdesc_init.c#3 integrate .. //depot/projects/vimage/src/sys/sun4v/mdesc/mdesc_vdevfindnode.c#1 branch .. //depot/projects/vimage/src/sys/sun4v/sun4v/exception.S#2 integrate .. //depot/projects/vimage/src/sys/sun4v/sun4v/hcall.S#2 integrate .. //depot/projects/vimage/src/sys/sun4v/sun4v/interrupt.S#2 integrate .. //depot/projects/vimage/src/sys/sun4v/sun4v/mp_machdep.c#3 integrate .. //depot/projects/vimage/src/sys/sun4v/sun4v/pmap.c#3 integrate .. //depot/projects/vimage/src/sys/sun4v/sun4v/tick.c#2 integrate .. //depot/projects/vimage/src/sys/sun4v/sun4v/trap.c#3 integrate .. //depot/projects/vimage/src/sys/sun4v/sun4v/tsb.c#3 integrate .. //depot/projects/vimage/src/sys/sun4v/sun4v/tte.c#2 integrate .. //depot/projects/vimage/src/sys/sun4v/sun4v/tte_hash.c#2 integrate .. //depot/projects/vimage/src/sys/sun4v/sun4v/vm_machdep.c#2 integrate .. //depot/projects/vimage/src/sys/sun4v/sun4v/wbuf.S#2 integrate .. //depot/projects/vimage/src/sys/sys/interrupt.h#2 integrate .. //depot/projects/vimage/src/sys/sys/lock_profile.h#2 integrate .. //depot/projects/vimage/src/sys/sys/mac_policy.h#2 delete .. //depot/projects/vimage/src/sys/sys/mount.h#2 integrate .. //depot/projects/vimage/src/sys/sys/mouse.h#2 integrate .. //depot/projects/vimage/src/sys/sys/mutex.h#2 integrate .. //depot/projects/vimage/src/sys/sys/param.h#2 integrate .. //depot/projects/vimage/src/sys/sys/pcpu.h#2 integrate .. //depot/projects/vimage/src/sys/sys/proc.h#4 integrate .. //depot/projects/vimage/src/sys/sys/sleepqueue.h#2 integrate .. //depot/projects/vimage/src/sys/sys/syscallsubr.h#2 integrate .. //depot/projects/vimage/src/sys/sys/sysent.h#2 integrate .. //depot/projects/vimage/src/sys/sys/systm.h#2 integrate .. //depot/projects/vimage/src/sys/sys/umtx.h#3 integrate .. //depot/projects/vimage/src/sys/sys/vnode.h#2 integrate .. //depot/projects/vimage/src/sys/sys/watchdog.h#2 integrate .. //depot/projects/vimage/src/sys/vm/vm_object.c#2 integrate Differences ... ==== //depot/projects/vimage/src/sys/amd64/amd64/apic_vector.S#2 (text+ko) ==== @@ -28,7 +28,7 @@ * SUCH DAMAGE. * * from: vector.s, 386BSD 0.1 unknown origin - * $FreeBSD: src/sys/amd64/amd64/apic_vector.S,v 1.109 2006/05/01 21:36:46 jhb Exp $ + * $FreeBSD: src/sys/amd64/amd64/apic_vector.S,v 1.110 2006/12/17 06:48:39 kmacy Exp $ */ /* @@ -60,6 +60,7 @@ jz 2f ; \ addl $(32 * index),%eax ; \ 1: ; \ + movq %rsp, %rsi ; \ movl %eax, %edi ; /* pass the IRQ */ \ call lapic_handle_intr ; \ MEXITCOUNT ; \ @@ -98,7 +99,7 @@ IDTVEC(timerint) PUSH_FRAME FAKE_MCOUNT(TF_RIP(%rsp)) - + movq %rsp, %rdi call lapic_handle_timer MEXITCOUNT jmp doreti ==== //depot/projects/vimage/src/sys/amd64/amd64/cpu_switch.S#2 (text+ko) ==== @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/amd64/amd64/cpu_switch.S,v 1.154 2005/10/17 23:10:31 davidxu Exp $ + * $FreeBSD: src/sys/amd64/amd64/cpu_switch.S,v 1.155 2006/12/20 04:40:38 davidxu Exp $ */ #include @@ -206,6 +206,11 @@ movq %rbx, (%rax) movq %rbx, PCPU(RSP0) + movl TD_TID(%rsi), %eax + movq %r8, PCPU(CURPCB) + movl %eax, PCPU(CURTID) + movq %rsi, PCPU(CURTHREAD) /* into next thread */ + /* Restore context. */ movq PCB_RBX(%r8),%rbx movq PCB_RSP(%r8),%rsp @@ -217,9 +222,6 @@ movq PCB_RIP(%r8),%rax movq %rax,(%rsp) - movq %r8, PCPU(CURPCB) - movq %rsi, PCPU(CURTHREAD) /* into next thread */ - /* Test if debug registers should be restored. */ testl $PCB_DBREGS,PCB_FLAGS(%r8) jz 1f ==== //depot/projects/vimage/src/sys/amd64/amd64/exception.S#2 (text+ko) ==== @@ -27,7 +27,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/amd64/amd64/exception.S,v 1.127 2005/08/27 16:03:40 jkoshy Exp $ + * $FreeBSD: src/sys/amd64/amd64/exception.S,v 1.129 2006/12/23 03:30:50 davidxu Exp $ */ #include "opt_atpic.h" @@ -165,6 +165,7 @@ .globl calltrap .type calltrap,@function calltrap: + movq %rsp, %rdi call trap MEXITCOUNT jmp doreti /* Handle any pending ASTs */ @@ -267,6 +268,7 @@ movq %r14,TF_R14(%rsp) /* C preserved */ movq %r15,TF_R15(%rsp) /* C preserved */ FAKE_MCOUNT(TF_RIP(%rsp)) + movq %rsp, %rdi call syscall movq PCPU(CURPCB),%rax testq $PCB_FULLCTX,PCB_FLAGS(%rax) @@ -363,6 +365,7 @@ /* Note: this label is also used by ddb and gdb: */ nmi_calltrap: FAKE_MCOUNT(TF_RIP(%rsp)) + movq %rsp, %rdi call trap MEXITCOUNT testl %ebx,%ebx ==== //depot/projects/vimage/src/sys/amd64/amd64/genassym.c#2 (text+ko) ==== @@ -33,7 +33,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/amd64/amd64/genassym.c,v 1.159 2006/11/30 04:17:04 jb Exp $"); +__FBSDID("$FreeBSD: src/sys/amd64/amd64/genassym.c,v 1.160 2006/12/20 04:40:38 davidxu Exp $"); #include "opt_compat.h" #include "opt_kstack_pages.h" @@ -79,6 +79,7 @@ ASSYM(TD_FLAGS, offsetof(struct thread, td_flags)); ASSYM(TD_PCB, offsetof(struct thread, td_pcb)); ASSYM(TD_PROC, offsetof(struct thread, td_proc)); +ASSYM(TD_TID, offsetof(struct thread, td_tid)); ASSYM(TDF_ASTPENDING, TDF_ASTPENDING); ASSYM(TDF_NEEDRESCHED, TDF_NEEDRESCHED); @@ -190,6 +191,7 @@ ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpmap)); ASSYM(PC_TSSP, offsetof(struct pcpu, pc_tssp)); ASSYM(PC_RSP0, offsetof(struct pcpu, pc_rsp0)); +ASSYM(PC_CURTID, offsetof(struct pcpu, pc_curtid)); ASSYM(LA_VER, offsetof(struct LAPIC, version)); ASSYM(LA_TPR, offsetof(struct LAPIC, tpr)); ==== //depot/projects/vimage/src/sys/amd64/amd64/intr_machdep.c#2 (text+ko) ==== @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/amd64/amd64/intr_machdep.c,v 1.26 2006/11/17 16:41:03 jhb Exp $ + * $FreeBSD: src/sys/amd64/amd64/intr_machdep.c,v 1.27 2006/12/12 19:20:18 jhb Exp $ */ /* @@ -190,13 +190,13 @@ int intr_remove_handler(void *cookie) { + struct intsrc *isrc; int error; + isrc = intr_handler_source(cookie); error = intr_event_remove_handler(cookie); -#ifdef XXX if (error == 0) - intrcnt_updatename(/* XXX */); -#endif + intrcnt_updatename(isrc); return (error); } ==== //depot/projects/vimage/src/sys/amd64/amd64/local_apic.c#2 (text+ko) ==== @@ -32,7 +32,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/amd64/amd64/local_apic.c,v 1.33 2006/11/13 22:23:32 jhb Exp $"); +__FBSDID("$FreeBSD: src/sys/amd64/amd64/local_apic.c,v 1.34 2006/12/17 06:48:39 kmacy Exp $"); #include "opt_hwpmc_hooks.h" @@ -610,18 +610,18 @@ } void -lapic_handle_intr(int vector, struct trapframe frame) +lapic_handle_intr(int vector, struct trapframe *frame) { struct intsrc *isrc; if (vector == -1) panic("Couldn't get vector from ISR!"); isrc = intr_lookup_source(apic_idt_to_irq(vector)); - intr_execute_handlers(isrc, &frame); + intr_execute_handlers(isrc, frame); } void -lapic_handle_timer(struct trapframe frame) +lapic_handle_timer(struct trapframe *frame) { struct lapic *la; @@ -654,16 +654,16 @@ if (la->la_hard_ticks >= lapic_timer_hz) { la->la_hard_ticks -= lapic_timer_hz; if (PCPU_GET(cpuid) == 0) - hardclock(TRAPF_USERMODE(&frame), TRAPF_PC(&frame)); + hardclock(TRAPF_USERMODE(frame), TRAPF_PC(frame)); else - hardclock_cpu(TRAPF_USERMODE(&frame)); + hardclock_cpu(TRAPF_USERMODE(frame)); } /* Fire statclock at stathz. */ la->la_stat_ticks += stathz; if (la->la_stat_ticks >= lapic_timer_hz) { la->la_stat_ticks -= lapic_timer_hz; - statclock(TRAPF_USERMODE(&frame)); + statclock(TRAPF_USERMODE(frame)); } /* Fire profclock at profhz, but only when needed. */ @@ -671,7 +671,7 @@ if (la->la_prof_ticks >= lapic_timer_hz) { la->la_prof_ticks -= lapic_timer_hz; if (profprocs != 0) - profclock(TRAPF_USERMODE(&frame), TRAPF_PC(&frame)); + profclock(TRAPF_USERMODE(frame), TRAPF_PC(frame)); } critical_exit(); } ==== //depot/projects/vimage/src/sys/amd64/amd64/machdep.c#3 (text+ko) ==== @@ -39,7 +39,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/amd64/amd64/machdep.c,v 1.666 2006/12/06 18:27:17 sobomax Exp $"); +__FBSDID("$FreeBSD: src/sys/amd64/amd64/machdep.c,v 1.667 2006/12/20 04:40:38 davidxu Exp $"); #include "opt_atalk.h" #include "opt_atpic.h" @@ -1164,6 +1164,7 @@ PCPU_SET(prvspace, pc); PCPU_SET(curthread, &thread0); PCPU_SET(curpcb, thread0.td_pcb); + PCPU_SET(curtid, thread0.td_tid); PCPU_SET(tssp, &common_tss[0]); /* ==== //depot/projects/vimage/src/sys/amd64/amd64/mptable_pci.c#2 (text+ko) ==== @@ -33,7 +33,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/amd64/amd64/mptable_pci.c,v 1.5 2006/11/13 22:23:32 jhb Exp $"); +__FBSDID("$FreeBSD: src/sys/amd64/amd64/mptable_pci.c,v 1.6 2006/12/12 19:27:00 jhb Exp $"); #include #include @@ -72,6 +72,27 @@ return (bus_generic_attach(dev)); } +/* Pass MSI alloc requests up to the nexus. */ +static int +mptable_hostb_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, + int *irqs) +{ + device_t bus; + + bus = device_get_parent(pcib); + return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, + irqs)); +} + +static int +mptable_hostb_alloc_msix(device_t pcib, device_t dev, int index, int *irq) +{ + device_t bus; + + bus = device_get_parent(pcib); + return (PCIB_ALLOC_MSIX(device_get_parent(bus), dev, index, irq)); +} + static device_method_t mptable_hostb_methods[] = { /* Device interface */ DEVMETHOD(device_probe, mptable_hostb_probe), @@ -96,9 +117,9 @@ DEVMETHOD(pcib_read_config, legacy_pcib_read_config), DEVMETHOD(pcib_write_config, legacy_pcib_write_config), DEVMETHOD(pcib_route_interrupt, mptable_pci_route_interrupt), - DEVMETHOD(pcib_alloc_msi, pcib_alloc_msi), + DEVMETHOD(pcib_alloc_msi, mptable_hostb_alloc_msi), DEVMETHOD(pcib_release_msi, pcib_release_msi), - DEVMETHOD(pcib_alloc_msix, pcib_alloc_msix), + DEVMETHOD(pcib_alloc_msix, mptable_hostb_alloc_msix), DEVMETHOD(pcib_release_msix, pcib_release_msix), { 0, 0 } @@ -165,4 +186,3 @@ DEFINE_CLASS_0(pcib, mptable_pcib_driver, mptable_pcib_pci_methods, sizeof(struct pcib_softc)); DRIVER_MODULE(mptable_pcib, pci, mptable_pcib_driver, pcib_devclass, 0, 0); - ==== //depot/projects/vimage/src/sys/amd64/amd64/trap.c#2 (text+ko) ==== @@ -38,7 +38,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/amd64/amd64/trap.c,v 1.312 2006/11/28 20:04:00 ru Exp $"); +__FBSDID("$FreeBSD: src/sys/amd64/amd64/trap.c,v 1.313 2006/12/17 06:48:39 kmacy Exp $"); /* * AMD64 Trap and System call handling @@ -94,8 +94,8 @@ #endif #include -extern void trap(struct trapframe frame); -extern void syscall(struct trapframe frame); +extern void trap(struct trapframe *frame); +extern void syscall(struct trapframe *frame); static int trap_pfault(struct trapframe *, int); static void trap_fatal(struct trapframe *, vm_offset_t); @@ -155,8 +155,7 @@ */ void -trap(frame) - struct trapframe frame; +trap(struct trapframe *frame) { struct thread *td = curthread; struct proc *p = td->td_proc; @@ -165,7 +164,7 @@ ksiginfo_t ksi; PCPU_LAZY_INC(cnt.v_trap); - type = frame.tf_trapno; + type = frame->tf_trapno; #ifdef SMP #ifdef STOP_NMI @@ -192,12 +191,12 @@ * the NMI was handled by it and we can return immediately. */ if (type == T_NMI && pmc_intr && - (*pmc_intr)(PCPU_GET(cpuid), (uintptr_t) frame.tf_rip, - TRAPF_USERMODE(&frame))) + (*pmc_intr)(PCPU_GET(cpuid), (uintptr_t) frame->tf_rip, + TRAPF_USERMODE(frame))) goto out; #endif - if ((frame.tf_rflags & PSL_I) == 0) { + if ((frame->tf_rflags & PSL_I) == 0) { /* * Buggy application or kernel code has disabled * interrupts and then trapped. Enabling interrupts @@ -205,7 +204,7 @@ * interrupts disabled until they are accidentally * enabled later. */ - if (ISPL(frame.tf_cs) == SEL_UPL) + if (ISPL(frame->tf_cs) == SEL_UPL) printf( "pid %ld (%s): trap %d with interrupts disabled\n", (long)curproc->p_pid, curproc->p_comm, type); @@ -226,7 +225,7 @@ } } - code = frame.tf_err; + code = frame->tf_err; if (type == T_PAGEFLT) { /* * If we get a page fault while in a critical section, then @@ -245,15 +244,15 @@ if (td->td_critnest != 0 || WITNESS_CHECK(WARN_SLEEPOK | WARN_GIANTOK, NULL, "Kernel page fault") != 0) - trap_fatal(&frame, frame.tf_addr); + trap_fatal(frame, frame->tf_addr); } - if (ISPL(frame.tf_cs) == SEL_UPL) { + if (ISPL(frame->tf_cs) == SEL_UPL) { /* user trap */ td->td_pticks = 0; - td->td_frame = &frame; - addr = frame.tf_rip; + td->td_frame = frame; + addr = frame->tf_rip; if (td->td_ucred != p->p_ucred) cred_update_thread(td); @@ -266,7 +265,7 @@ case T_BPTFLT: /* bpt instruction fault */ case T_TRCTRAP: /* trace trap */ enable_intr(); - frame.tf_rflags &= ~PSL_T; + frame->tf_rflags &= ~PSL_T; i = SIGTRAP; ucode = (type == T_TRCTRAP ? TRAP_TRACE : TRAP_BRKPT); break; @@ -298,12 +297,12 @@ break; case T_PAGEFLT: /* page fault */ - addr = frame.tf_addr; + addr = frame->tf_addr; #ifdef KSE if (td->td_pflags & TDP_SA) thread_user_enter(td); #endif - i = trap_pfault(&frame, TRUE); + i = trap_pfault(frame, TRUE); if (i == -1) goto userout; if (i == 0) @@ -334,7 +333,7 @@ */ if (kdb_on_nmi) { printf ("NMI ... going to debugger\n"); - kdb_trap(type, 0, &frame); + kdb_trap(type, 0, frame); } #endif /* KDB */ goto userout; @@ -380,7 +379,7 @@ ("kernel trap doesn't have ucred")); switch (type) { case T_PAGEFLT: /* page fault */ - (void) trap_pfault(&frame, FALSE); + (void) trap_pfault(frame, FALSE); goto out; case T_DNA: @@ -413,12 +412,12 @@ * selectors and pointers when the user changes * them. */ - if (frame.tf_rip == (long)doreti_iret) { - frame.tf_rip = (long)doreti_iret_fault; + if (frame->tf_rip == (long)doreti_iret) { + frame->tf_rip = (long)doreti_iret_fault; goto out; } if (PCPU_GET(curpcb)->pcb_onfault != NULL) { - frame.tf_rip = + frame->tf_rip = (long)PCPU_GET(curpcb)->pcb_onfault; goto out; } @@ -434,8 +433,8 @@ * problem here and not every time the kernel is * entered. */ - if (frame.tf_rflags & PSL_NT) { - frame.tf_rflags &= ~PSL_NT; + if (frame->tf_rflags & PSL_NT) { + frame->tf_rflags &= ~PSL_NT; goto out; } break; @@ -470,7 +469,7 @@ */ #ifdef KDB /* XXX Giant */ - if (kdb_trap(type, 0, &frame)) + if (kdb_trap(type, 0, frame)) goto out; #endif break; @@ -487,7 +486,7 @@ */ if (kdb_on_nmi) { printf ("NMI ... going to debugger\n"); - kdb_trap(type, 0, &frame); + kdb_trap(type, 0, frame); } #endif /* KDB */ goto out; @@ -497,7 +496,7 @@ #endif /* DEV_ISA */ } - trap_fatal(&frame, 0); + trap_fatal(frame, 0); goto out; } @@ -517,13 +516,13 @@ uprintf("fatal process exception: %s", trap_msg[type]); if ((type == T_PAGEFLT) || (type == T_PROTFLT)) - uprintf(", fault VA = 0x%lx", frame.tf_addr); + uprintf(", fault VA = 0x%lx", frame->tf_addr); uprintf("\n"); } #endif user: - userret(td, &frame); + userret(td, frame); mtx_assert(&Giant, MA_NOTOWNED); userout: out: @@ -723,8 +722,7 @@ * A system call is essentially treated as a trap. */ void -syscall(frame) - struct trapframe frame; +syscall(struct trapframe *frame) { caddr_t params; struct sysent *callp; @@ -746,7 +744,7 @@ PCPU_LAZY_INC(cnt.v_syscall); #ifdef DIAGNOSTIC - if (ISPL(frame.tf_cs) != SEL_UPL) { + if (ISPL(frame->tf_cs) != SEL_UPL) { mtx_lock(&Giant); /* try to stabilize the system XXX */ panic("syscall"); /* NOT REACHED */ @@ -757,25 +755,25 @@ reg = 0; regcnt = 6; td->td_pticks = 0; - td->td_frame = &frame; + td->td_frame = frame; if (td->td_ucred != p->p_ucred) cred_update_thread(td); #ifdef KSE if (p->p_flag & P_SA) thread_user_enter(td); #endif - params = (caddr_t)frame.tf_rsp + sizeof(register_t); - code = frame.tf_rax; - orig_tf_rflags = frame.tf_rflags; + params = (caddr_t)frame->tf_rsp + sizeof(register_t); + code = frame->tf_rax; + orig_tf_rflags = frame->tf_rflags; if (p->p_sysent->sv_prepsyscall) { /* * The prep code is MP aware. */ - (*p->p_sysent->sv_prepsyscall)(&frame, (int *)args, &code, ¶ms); + (*p->p_sysent->sv_prepsyscall)(frame, (int *)args, &code, ¶ms); } else { if (code == SYS_syscall || code == SYS___syscall) { - code = frame.tf_rdi; + code = frame->tf_rdi; reg++; regcnt--; } @@ -797,7 +795,7 @@ KASSERT(narg <= sizeof(args) / sizeof(args[0]), ("Too many syscall arguments!")); error = 0; - argp = &frame.tf_rdi; + argp = &frame->tf_rdi; argp += reg; bcopy(argp, args, sizeof(args[0]) * regcnt); if (narg > regcnt) { @@ -817,7 +815,7 @@ if (error == 0) { td->td_retval[0] = 0; - td->td_retval[1] = frame.tf_rdx; + td->td_retval[1] = frame->tf_rdx; STOPEVENT(p, S_SCE, narg); @@ -830,9 +828,9 @@ switch (error) { case 0: - frame.tf_rax = td->td_retval[0]; - frame.tf_rdx = td->td_retval[1]; - frame.tf_rflags &= ~PSL_C; + frame->tf_rax = td->td_retval[0]; + frame->tf_rdx = td->td_retval[1]; + frame->tf_rflags &= ~PSL_C; break; case ERESTART: @@ -842,8 +840,8 @@ * (which was holding the value of %rcx) is restored for * the next iteration. */ - frame.tf_rip -= frame.tf_err; - frame.tf_r10 = frame.tf_rcx; + frame->tf_rip -= frame->tf_err; + frame->tf_r10 = frame->tf_rcx; td->td_pcb->pcb_flags |= PCB_FULLCTX; break; @@ -857,8 +855,8 @@ else error = p->p_sysent->sv_errtbl[error]; } - frame.tf_rax = error; - frame.tf_rflags |= PSL_C; + frame->tf_rax = error; + frame->tf_rflags |= PSL_C; break; } @@ -866,11 +864,11 @@ * Traced syscall. */ if (orig_tf_rflags & PSL_T) { - frame.tf_rflags &= ~PSL_T; + frame->tf_rflags &= ~PSL_T; ksiginfo_init_trap(&ksi); ksi.ksi_signo = SIGTRAP; ksi.ksi_code = TRAP_TRACE; - ksi.ksi_addr = (void *)frame.tf_rip; + ksi.ksi_addr = (void *)frame->tf_rip; trapsignal(td, &ksi); } @@ -890,7 +888,7 @@ /* * Handle reschedule and other end-of-syscall issues */ - userret(td, &frame); + userret(td, frame); CTR4(KTR_SYSC, "syscall exit thread %p pid %d proc %s code %d", td, td->td_proc->p_pid, td->td_proc->p_comm, code); ==== //depot/projects/vimage/src/sys/amd64/conf/GENERIC#3 (text+ko) ==== @@ -16,7 +16,7 @@ # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # -# $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.470 2006/12/03 21:02:09 netchild Exp $ +# $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.471 2006/12/13 03:41:47 yongari Exp $ cpu HAMMER ident GENERIC @@ -195,6 +195,7 @@ device dc # DEC/Intel 21143 and various workalikes device fxp # Intel EtherExpress PRO/100B (82557, 82558) device lge # Level 1 LXT1001 gigabit Ethernet +device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet device nge # NatSemi DP83820 gigabit Ethernet device nve # nVidia nForce MCP on-board Ethernet Networking device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le') ==== //depot/projects/vimage/src/sys/amd64/ia32/ia32_exception.S#2 (text+ko) ==== @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/amd64/ia32/ia32_exception.S,v 1.4 2004/05/24 11:28:11 bde Exp $ + * $FreeBSD: src/sys/amd64/ia32/ia32_exception.S,v 1.5 2006/12/17 06:48:39 kmacy Exp $ */ #include @@ -61,6 +61,7 @@ movq %r14,TF_R14(%rsp) movq %r15,TF_R15(%rsp) FAKE_MCOUNT(TF_RIP(%rsp)) + movq %rsp, %rdi call ia32_syscall >>> TRUNCATED FOR MAIL (1000 lines) <<<