PERFORCE change 160318 for review
Marko Zec
zec at FreeBSD.org
Tue Apr 7 06:55:07 PDT 2009
http://perforce.freebsd.org/chv.cgi?CH=160318
Change 160318 by zec at zec_amdx2 on 2009/04/07 13:54:05
IFC @ 160308
(first pass only, branch currently unusable...)
Affected files ...
.. //depot/projects/vimage/src/share/man/man3/pthread.3#3 integrate
.. //depot/projects/vimage/src/share/man/man4/Makefile#7 integrate
.. //depot/projects/vimage/src/share/man/man4/fla.4#2 delete
.. //depot/projects/vimage/src/share/man/man4/ppp.4#2 delete
.. //depot/projects/vimage/src/share/man/man4/sl.4#2 delete
.. //depot/projects/vimage/src/share/man/man4/uath.4#1 branch
.. //depot/projects/vimage/src/share/man/man5/src.conf.5#3 integrate
.. //depot/projects/vimage/src/share/man/man9/vm_map_lock.9#2 integrate
.. //depot/projects/vimage/src/sys/amd64/acpica/acpi_switch.S#2 integrate
.. //depot/projects/vimage/src/sys/amd64/acpica/acpi_wakecode.S#2 integrate
.. //depot/projects/vimage/src/sys/amd64/acpica/acpi_wakeup.c#3 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/apic_vector.S#4 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/cpu_switch.S#14 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/db_interface.c#2 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/db_trace.c#6 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/elf_machdep.c#6 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/exception.S#10 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/genassym.c#13 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/machdep.c#16 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/mp_machdep.c#18 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/sys_machdep.c#2 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/trap.c#13 integrate
.. //depot/projects/vimage/src/sys/amd64/amd64/vm_machdep.c#10 integrate
.. //depot/projects/vimage/src/sys/amd64/ia32/ia32_exception.S#3 integrate
.. //depot/projects/vimage/src/sys/amd64/ia32/ia32_misc.c#1 branch
.. //depot/projects/vimage/src/sys/amd64/ia32/ia32_reg.c#2 integrate
.. //depot/projects/vimage/src/sys/amd64/ia32/ia32_signal.c#7 integrate
.. //depot/projects/vimage/src/sys/amd64/ia32/ia32_sigtramp.S#3 integrate
.. //depot/projects/vimage/src/sys/amd64/include/asmacros.h#3 integrate
.. //depot/projects/vimage/src/sys/amd64/include/frame.h#2 integrate
.. //depot/projects/vimage/src/sys/amd64/include/md_var.h#7 integrate
.. //depot/projects/vimage/src/sys/amd64/include/pcb.h#8 integrate
.. //depot/projects/vimage/src/sys/amd64/include/pcpu.h#8 integrate
.. //depot/projects/vimage/src/sys/amd64/include/proc.h#3 integrate
.. //depot/projects/vimage/src/sys/amd64/include/reg.h#2 integrate
.. //depot/projects/vimage/src/sys/amd64/include/segments.h#4 integrate
.. //depot/projects/vimage/src/sys/amd64/include/signal.h#2 integrate
.. //depot/projects/vimage/src/sys/amd64/include/sysarch.h#2 integrate
.. //depot/projects/vimage/src/sys/amd64/include/ucontext.h#2 integrate
.. //depot/projects/vimage/src/sys/amd64/linux32/linux32_locore.s#5 integrate
.. //depot/projects/vimage/src/sys/amd64/linux32/linux32_machdep.c#17 integrate
.. //depot/projects/vimage/src/sys/amd64/linux32/linux32_sysvec.c#14 integrate
.. //depot/projects/vimage/src/sys/arm/arm/elf_machdep.c#7 integrate
.. //depot/projects/vimage/src/sys/arm/at91/files.at91#5 integrate
.. //depot/projects/vimage/src/sys/arm/include/vmparam.h#7 integrate
.. //depot/projects/vimage/src/sys/boot/forth/loader.conf#19 integrate
.. //depot/projects/vimage/src/sys/cam/cam_xpt.c#17 integrate
.. //depot/projects/vimage/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c#4 integrate
.. //depot/projects/vimage/src/sys/compat/freebsd32/freebsd32.h#4 integrate
.. //depot/projects/vimage/src/sys/compat/freebsd32/freebsd32_proto.h#19 integrate
.. //depot/projects/vimage/src/sys/compat/freebsd32/freebsd32_syscall.h#19 integrate
.. //depot/projects/vimage/src/sys/compat/freebsd32/freebsd32_syscalls.c#19 integrate
.. //depot/projects/vimage/src/sys/compat/freebsd32/freebsd32_sysent.c#19 integrate
.. //depot/projects/vimage/src/sys/compat/freebsd32/syscalls.master#20 integrate
.. //depot/projects/vimage/src/sys/compat/ia32/ia32_signal.h#2 integrate
.. //depot/projects/vimage/src/sys/compat/ia32/ia32_sysvec.c#10 integrate
.. //depot/projects/vimage/src/sys/compat/ndis/subr_usbd.c#7 integrate
.. //depot/projects/vimage/src/sys/conf/files#60 integrate
.. //depot/projects/vimage/src/sys/conf/files.amd64#23 integrate
.. //depot/projects/vimage/src/sys/conf/files.ia64#10 integrate
.. //depot/projects/vimage/src/sys/conf/files.powerpc#20 integrate
.. //depot/projects/vimage/src/sys/contrib/dev/uath/ar5523.bin.uu#1 branch
.. //depot/projects/vimage/src/sys/dev/acpi_support/acpi_asus.c#11 integrate
.. //depot/projects/vimage/src/sys/dev/ata/chipsets/ata-serverworks.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/dcons/dcons_os.c#10 integrate
.. //depot/projects/vimage/src/sys/dev/drm/drm_pciids.h#8 integrate
.. //depot/projects/vimage/src/sys/dev/drm/r600_cp.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/drm/radeon_cp.c#9 integrate
.. //depot/projects/vimage/src/sys/dev/ed/dl100xxreg.h#2 integrate
.. //depot/projects/vimage/src/sys/dev/ed/if_ed.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/ed/if_ed_cbus.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/ed/if_ed_isa.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/ed/if_ed_pccard.c#8 integrate
.. //depot/projects/vimage/src/sys/dev/ed/if_ed_pci.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/ed/if_edvar.h#3 integrate
.. //depot/projects/vimage/src/sys/dev/firewire/firewire.c#21 integrate
.. //depot/projects/vimage/src/sys/dev/firewire/sbp.h#2 integrate
.. //depot/projects/vimage/src/sys/dev/pccard/pccarddevs#12 integrate
.. //depot/projects/vimage/src/sys/dev/pccbb/pccbb_pci.c#10 integrate
.. //depot/projects/vimage/src/sys/dev/pci/pci.c#21 integrate
.. //depot/projects/vimage/src/sys/dev/powermac_nvram/powermac_nvram.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/sound/pci/hda/hdac.c#31 integrate
.. //depot/projects/vimage/src/sys/dev/sound/usb/uaudio.c#11 integrate
.. //depot/projects/vimage/src/sys/dev/uart/uart_cpu_powerpc.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/bluetooth/ng_ubt.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/bluetooth/ubtbcmfw.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/at91dci.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/at91dci.h#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/at91dci_atmelarm.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/atmegadci.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/atmegadci.h#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/atmegadci_atmelarm.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/ehci.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/ehci.h#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/ehci_ixp4xx.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/ehci_mbus.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/ehci_pci.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/musb_otg.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/musb_otg.h#3 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/musb_otg_atmelarm.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/ohci.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/ohci.h#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/ohci_atmelarm.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/ohci_pci.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/uhci.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/uhci.h#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/uhci_pci.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/usb_controller.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/uss820dci.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/uss820dci.h#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/controller/uss820dci_atmelarm.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/input/uhid.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/input/ukbd.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/input/ums.c#7 integrate
.. //depot/projects/vimage/src/sys/dev/usb/misc/udbp.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/net/if_aue.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/net/if_axe.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/net/if_cdce.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/net/if_cdcereg.h#3 integrate
.. //depot/projects/vimage/src/sys/dev/usb/net/if_cue.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/net/if_kue.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/net/if_rue.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/net/if_udav.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/u3g.c#7 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/uark.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/ubsa.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/ubser.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/uchcom.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/ucycom.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/ufoma.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/uftdi.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/ugensa.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/uipaq.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/ulpt.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/umct.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/umodem.c#7 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/umoscom.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/uplcom.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/usb_serial.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/usb_serial.h#3 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/uslcom.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/uvisor.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/serial/uvscom.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/storage/umass.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/storage/urio.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/storage/ustorage_fs.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb.h#8 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_bus.h#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_compat_linux.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_controller.h#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_core.h#7 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_dev.c#7 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_device.c#7 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_device.h#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_endian.h#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_generic.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_handle_request.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_hid.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_hid.h#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_hub.c#7 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_hub.h#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_msctest.c#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_parse.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_parse.h#3 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_request.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_request.h#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_sw_transfer.c#4 delete
.. //depot/projects/vimage/src/sys/dev/usb/usb_sw_transfer.h#3 delete
.. //depot/projects/vimage/src/sys/dev/usb/usb_transfer.c#5 integrate
.. //depot/projects/vimage/src/sys/dev/usb/usb_transfer.h#4 integrate
.. //depot/projects/vimage/src/sys/dev/usb/wlan/if_rum.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/wlan/if_uath.c#1 branch
.. //depot/projects/vimage/src/sys/dev/usb/wlan/if_uathreg.h#1 branch
.. //depot/projects/vimage/src/sys/dev/usb/wlan/if_uathvar.h#1 branch
.. //depot/projects/vimage/src/sys/dev/usb/wlan/if_ural.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/usb/wlan/if_zyd.c#6 integrate
.. //depot/projects/vimage/src/sys/dev/xen/balloon/balloon.c#3 integrate
.. //depot/projects/vimage/src/sys/dev/xen/console/console.c#7 integrate
.. //depot/projects/vimage/src/sys/geom/geom.h#5 integrate
.. //depot/projects/vimage/src/sys/geom/geom_disk.c#8 integrate
.. //depot/projects/vimage/src/sys/geom/geom_disk.h#3 integrate
.. //depot/projects/vimage/src/sys/geom/geom_subr.c#8 integrate
.. //depot/projects/vimage/src/sys/geom/journal/g_journal.c#11 integrate
.. //depot/projects/vimage/src/sys/geom/mirror/g_mirror.c#4 integrate
.. //depot/projects/vimage/src/sys/geom/part/g_part.c#17 integrate
.. //depot/projects/vimage/src/sys/geom/part/g_part_ebr.c#4 integrate
.. //depot/projects/vimage/src/sys/geom/raid3/g_raid3.c#4 integrate
.. //depot/projects/vimage/src/sys/i386/i386/elf_machdep.c#6 integrate
.. //depot/projects/vimage/src/sys/i386/i386/machdep.c#19 integrate
.. //depot/projects/vimage/src/sys/i386/include/signal.h#2 integrate
.. //depot/projects/vimage/src/sys/i386/include/ucontext.h#2 integrate
.. //depot/projects/vimage/src/sys/i386/include/vmparam.h#9 integrate
.. //depot/projects/vimage/src/sys/i386/include/xen/xenpmap.h#5 integrate
.. //depot/projects/vimage/src/sys/i386/include/xen/xenvar.h#4 integrate
.. //depot/projects/vimage/src/sys/i386/linux/linux_sysvec.c#10 integrate
.. //depot/projects/vimage/src/sys/i386/xen/pmap.c#8 integrate
.. //depot/projects/vimage/src/sys/i386/xen/xen_machdep.c#14 integrate
.. //depot/projects/vimage/src/sys/ia64/ia32/ia32_misc.c#1 branch
.. //depot/projects/vimage/src/sys/ia64/ia64/elf_machdep.c#7 integrate
.. //depot/projects/vimage/src/sys/kern/imgact_elf.c#14 integrate
.. //depot/projects/vimage/src/sys/kern/kern_shutdown.c#11 integrate
.. //depot/projects/vimage/src/sys/kern/vfs_cache.c#22 integrate
.. //depot/projects/vimage/src/sys/kern/vfs_lookup.c#21 integrate
.. //depot/projects/vimage/src/sys/kern/vfs_mount.c#30 integrate
.. //depot/projects/vimage/src/sys/mips/mips/elf64_machdep.c#3 integrate
.. //depot/projects/vimage/src/sys/mips/mips/elf_machdep.c#6 integrate
.. //depot/projects/vimage/src/sys/modules/nfsclient/Makefile#4 integrate
.. //depot/projects/vimage/src/sys/modules/usb/Makefile#9 integrate
.. //depot/projects/vimage/src/sys/modules/usb/uath/Makefile#1 branch
.. //depot/projects/vimage/src/sys/modules/usb/usb/Makefile#2 integrate
.. //depot/projects/vimage/src/sys/net/bpf.h#9 integrate
.. //depot/projects/vimage/src/sys/net/bsd_comp.c#4 delete
.. //depot/projects/vimage/src/sys/net/if.c#72 integrate
.. //depot/projects/vimage/src/sys/net/if_gif.c#24 integrate
.. //depot/projects/vimage/src/sys/net/if_loop.c#40 integrate
.. //depot/projects/vimage/src/sys/net/if_ppp.c#12 delete
.. //depot/projects/vimage/src/sys/net/if_ppp.h#2 delete
.. //depot/projects/vimage/src/sys/net/if_pppvar.h#3 delete
.. //depot/projects/vimage/src/sys/net/if_sl.c#4 delete
.. //depot/projects/vimage/src/sys/net/if_slvar.h#2 delete
.. //depot/projects/vimage/src/sys/net/ppp_comp.h#2 delete
.. //depot/projects/vimage/src/sys/net/ppp_deflate.c#3 delete
.. //depot/projects/vimage/src/sys/net/ppp_tty.c#3 delete
.. //depot/projects/vimage/src/sys/net/route.c#42 integrate
.. //depot/projects/vimage/src/sys/net/slip.h#2 delete
.. //depot/projects/vimage/src/sys/net/vnet.h#22 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_freebsd.h#16 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_output.c#20 integrate
.. //depot/projects/vimage/src/sys/net80211/ieee80211_wds.c#8 integrate
.. //depot/projects/vimage/src/sys/netinet/if_ether.c#38 integrate
.. //depot/projects/vimage/src/sys/netinet/igmp.c#30 integrate
.. //depot/projects/vimage/src/sys/netinet/in_mcast.c#23 integrate
.. //depot/projects/vimage/src/sys/netinet/ip_fw.h#28 integrate
.. //depot/projects/vimage/src/sys/netinet/ip_fw2.c#70 integrate
.. //depot/projects/vimage/src/sys/netinet/ip_fw_pfil.c#20 integrate
.. //depot/projects/vimage/src/sys/netinet/ip_input.c#50 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_indata.c#31 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_input.c#34 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_output.c#40 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_pcb.c#38 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_structs.h#21 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_sysctl.c#16 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_sysctl.h#12 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_uio.h#22 integrate
.. //depot/projects/vimage/src/sys/netinet/sctp_usrreq.c#37 integrate
.. //depot/projects/vimage/src/sys/netinet/sctputil.c#38 integrate
.. //depot/projects/vimage/src/sys/netinet/tcp_reass.c#13 integrate
.. //depot/projects/vimage/src/sys/netinet/tcp_sack.c#19 integrate
.. //depot/projects/vimage/src/sys/netinet/tcp_subr.c#77 integrate
.. //depot/projects/vimage/src/sys/netinet/tcp_timewait.c#29 integrate
.. //depot/projects/vimage/src/sys/netinet/vinet.h#54 integrate
.. //depot/projects/vimage/src/sys/netinet6/frag6.c#27 integrate
.. //depot/projects/vimage/src/sys/netinet6/in6_src.c#37 integrate
.. //depot/projects/vimage/src/sys/netinet6/ip6_input.c#50 integrate
.. //depot/projects/vimage/src/sys/netinet6/scope6.c#24 integrate
.. //depot/projects/vimage/src/sys/netipsec/ipsec.c#40 integrate
.. //depot/projects/vimage/src/sys/netipsec/key.c#39 integrate
.. //depot/projects/vimage/src/sys/netipsec/xform_ah.c#23 integrate
.. //depot/projects/vimage/src/sys/netipsec/xform_esp.c#22 integrate
.. //depot/projects/vimage/src/sys/netipsec/xform_ipcomp.c#18 integrate
.. //depot/projects/vimage/src/sys/netipsec/xform_ipip.c#26 integrate
.. //depot/projects/vimage/src/sys/nfs4client/nfs4_socket.c#4 integrate
.. //depot/projects/vimage/src/sys/nfsclient/nfs.h#8 integrate
.. //depot/projects/vimage/src/sys/nfsclient/nfs_krpc.c#3 integrate
.. //depot/projects/vimage/src/sys/nfsclient/nfs_socket.c#15 integrate
.. //depot/projects/vimage/src/sys/nfsclient/nfs_subs.c#10 integrate
.. //depot/projects/vimage/src/sys/powerpc/aim/machdep.c#9 integrate
.. //depot/projects/vimage/src/sys/powerpc/aim/mmu_oea.c#8 integrate
.. //depot/projects/vimage/src/sys/powerpc/aim/mmu_oea64.c#1 branch
.. //depot/projects/vimage/src/sys/powerpc/aim/mp_cpudep.c#3 integrate
.. //depot/projects/vimage/src/sys/powerpc/aim/ofw_machdep.c#5 integrate
.. //depot/projects/vimage/src/sys/powerpc/aim/swtch.S#5 integrate
.. //depot/projects/vimage/src/sys/powerpc/aim/trap_subr.S#6 integrate
.. //depot/projects/vimage/src/sys/powerpc/aim/uio_machdep.c#2 delete
.. //depot/projects/vimage/src/sys/powerpc/aim/uma_machdep.c#2 integrate
.. //depot/projects/vimage/src/sys/powerpc/aim/vm_machdep.c#4 integrate
.. //depot/projects/vimage/src/sys/powerpc/booke/machdep.c#7 integrate
.. //depot/projects/vimage/src/sys/powerpc/booke/pmap.c#8 integrate
.. //depot/projects/vimage/src/sys/powerpc/booke/uio_machdep.c#2 delete
.. //depot/projects/vimage/src/sys/powerpc/include/hid.h#4 integrate
.. //depot/projects/vimage/src/sys/powerpc/include/intr.h#2 integrate
.. //depot/projects/vimage/src/sys/powerpc/include/md_var.h#7 integrate
.. //depot/projects/vimage/src/sys/powerpc/include/pmap.h#6 integrate
.. //depot/projects/vimage/src/sys/powerpc/include/sf_buf.h#3 integrate
.. //depot/projects/vimage/src/sys/powerpc/include/spr.h#7 integrate
.. //depot/projects/vimage/src/sys/powerpc/include/sysarch.h#1 branch
.. //depot/projects/vimage/src/sys/powerpc/include/vmparam.h#7 integrate
.. //depot/projects/vimage/src/sys/powerpc/ofw/ofw_real.c#1 branch
.. //depot/projects/vimage/src/sys/powerpc/ofw/ofw_syscons.c#6 integrate
.. //depot/projects/vimage/src/sys/powerpc/powermac/cpcht.c#1 branch
.. //depot/projects/vimage/src/sys/powerpc/powermac/cpchtvar.h#1 branch
.. //depot/projects/vimage/src/sys/powerpc/powerpc/bus_machdep.c#2 integrate
.. //depot/projects/vimage/src/sys/powerpc/powerpc/cpu.c#9 integrate
.. //depot/projects/vimage/src/sys/powerpc/powerpc/dump_machdep.c#1 branch
.. //depot/projects/vimage/src/sys/powerpc/powerpc/elf_machdep.c#6 integrate
.. //depot/projects/vimage/src/sys/powerpc/powerpc/mem.c#3 integrate
.. //depot/projects/vimage/src/sys/powerpc/powerpc/mmu_if.m#5 integrate
.. //depot/projects/vimage/src/sys/powerpc/powerpc/pmap_dispatch.c#9 integrate
.. //depot/projects/vimage/src/sys/sparc64/sparc64/elf_machdep.c#8 integrate
.. //depot/projects/vimage/src/sys/sys/imgact_elf.h#4 integrate
.. //depot/projects/vimage/src/sys/sys/kerneldump.h#4 integrate
.. //depot/projects/vimage/src/sys/sys/param.h#46 integrate
.. //depot/projects/vimage/src/sys/sys/systm.h#18 integrate
.. //depot/projects/vimage/src/sys/sys/vimage.h#83 integrate
.. //depot/projects/vimage/src/sys/ufs/ffs/ffs_softdep.c#13 integrate
.. //depot/projects/vimage/src/sys/vm/vm_mmap.c#18 integrate
.. //depot/projects/vimage/src/sys/xen/evtchn/evtchn.c#8 integrate
.. //depot/projects/vimage/src/sys/xen/reboot.c#2 integrate
Differences ...
==== //depot/projects/vimage/src/share/man/man3/pthread.3#3 (text+ko) ====
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/share/man/man3/pthread.3,v 1.32 2009/04/01 07:13:21 trhodes Exp $
+.\" $FreeBSD: src/share/man/man3/pthread.3,v 1.33 2009/04/01 08:08:25 trhodes Exp $
.\"
.Dd April 1, 2009
.Dt PTHREAD 3
@@ -470,7 +470,7 @@
The current
.Fx
POSIX thread implementation is built into the
-.Lb libthr ,
+.Lb libthr
library.
It contains thread-safe versions of
.Lb libc
==== //depot/projects/vimage/src/share/man/man4/Makefile#7 (text+ko) ====
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 6/18/93
-# $FreeBSD: src/share/man/man4/Makefile,v 1.444 2009/03/19 20:33:26 thompsa Exp $
+# $FreeBSD: src/share/man/man4/Makefile,v 1.447 2009/04/06 12:47:09 weongyo Exp $
MAN= aac.4 \
acpi.4 \
@@ -96,7 +96,6 @@
fd.4 \
fdc.4 \
firewire.4 \
- fla.4 \
fpa.4 \
fwe.4 \
fwip.4 \
@@ -291,7 +290,6 @@
ppbus.4 \
ppc.4 \
ppi.4 \
- ppp.4 \
psm.4 \
pst.4 \
pt.4 \
@@ -326,7 +324,6 @@
sio.4 \
sis.4 \
sk.4 \
- sl.4 \
smb.4 \
smbus.4 \
smp.4 \
@@ -392,6 +389,7 @@
u3g.4 \
uark.4 \
uart.4 \
+ uath.4 \
ubsa.4 \
ubsec.4 \
ubser.4 \
@@ -534,7 +532,6 @@
MLINKS+=pcm.4 snd.4 \
pcm.4 sound.4
MLINKS+=pcn.4 if_pcn.4
-MLINKS+=ppp.4 if_ppp.4
MLINKS+=ral.4 if_ral.4
MLINKS+=re.4 if_re.4
MLINKS+=rl.4 if_rl.4
@@ -547,7 +544,6 @@
MLINKS+=sf.4 if_sf.4
MLINKS+=sis.4 if_sis.4
MLINKS+=sk.4 if_sk.4
-MLINKS+=sl.4 if_sl.4
MLINKS+=smp.4 SMP.4
MLINKS+=sn.4 if_sn.4
MLINKS+=snd_envy24.4 snd_ak452x.4
@@ -568,6 +564,7 @@
MLINKS+=tx.4 if_tx.4
MLINKS+=txp.4 if_txp.4
MLINKS+=u3g.4 u3gstub.4
+MLINKS+=uath.4 if_uath.4
MLINKS+=udav.4 if_udav.4
MLINKS+=upgt.4 if_upgt.4
MLINKS+=ural.4 if_ural.4
==== //depot/projects/vimage/src/share/man/man5/src.conf.5#3 (text) ====
@@ -1,7 +1,7 @@
.\" DO NOT EDIT-- this file is automatically generated.
-.\" from FreeBSD: head/tools/build/options/makeman 174548 2007-12-12 16:39:32Z ru
-.\" $FreeBSD: src/share/man/man5/src.conf.5,v 1.32 2009/02/19 13:45:25 mtm Exp $
-.Dd September 23, 2008
+.\" from FreeBSD: head/tools/build/options/makeman 188848 2009-02-20 11:09:55Z mtm
+.\" $FreeBSD: src/share/man/man5/src.conf.5,v 1.33 2009/04/05 22:15:35 ed Exp $
+.Dd April 5, 2009
.Dt SRC.CONF 5
.Os
.Sh NAME
@@ -462,7 +462,7 @@
.Nm ld-elf32.so.1
runtime linker.
.It Va WITHOUT_LIBPTHREAD
-.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBPTHREAD 172498 2007-10-09 17:53:33Z obrien
+.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBPTHREAD 188848 2009-02-20 11:09:55Z mtm
Set to not build the
.Nm libpthread
providing library,
@@ -721,11 +721,6 @@
Set to not build the
.Bx 4.4
legacy docs.
-.It Va WITHOUT_SLIP
-.\" from FreeBSD: head/tools/build/options/WITHOUT_SLIP 183242 2008-09-21 22:02:26Z sam
-Set to not build
-.Xr sliplogin 8
-and related programs.
.It Va WITHOUT_SSP
.\" from FreeBSD: head/tools/build/options/WITHOUT_SSP 180012 2008-06-25 21:33:28Z ru
Set to not build world with propolice stack smashing protection.
==== //depot/projects/vimage/src/share/man/man9/vm_map_lock.9#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/share/man/man9/vm_map_lock.9,v 1.4 2005/06/28 20:15:18 hmp Exp $
+.\" $FreeBSD: src/share/man/man9/vm_map_lock.9,v 1.5 2009/04/03 23:52:47 trhodes Exp $
.\"
.Dd July 19, 2003
.Dt VM_MAP_LOCK 9
@@ -73,7 +73,6 @@
.Fn vm_map_lock_read
macro obtains a read-lock on
.Fa map .
-Currently this is implemented as an exclusive lock.
.Pp
The
.Fn vm_map_unlock_read
@@ -93,23 +92,18 @@
.Fa map .
It returns FALSE if the lock cannot be immediately acquired;
otherwise return TRUE with the lock acquired.
-Currently this is implemented as an exclusive lock.
.Pp
The
.Fn vm_map_lock_upgrade
macro attempts to atomically upgrade a read-lock on
.Fa map
to an exclusive lock.
-As read-locks are currently implemented as exclusive locks,
-this macro is a no-op.
.Pp
The
.Fn vm_map_lock_downgrade
macro attempts to downgrade an exclusive lock on
.Fa map
to a read-lock.
-As read-locks are currently implemented as exclusive locks,
-this macro is a no-op.
.Sh IMPLEMENTATION NOTES
Currently, all of the locking macros implement their locks as sleep locks.
.Sh SEE ALSO
==== //depot/projects/vimage/src/sys/amd64/acpica/acpi_switch.S#2 (text+ko) ====
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: src/sys/amd64/acpica/acpi_switch.S,v 1.1 2009/03/17 00:48:11 jkim Exp $
+ * $FreeBSD: src/sys/amd64/acpica/acpi_switch.S,v 1.4 2009/04/02 01:46:57 jkim Exp $
*/
#include <machine/asmacros.h>
@@ -64,12 +64,15 @@
/* Fetch PCB. */
movq WAKEUP_CTX(xpcb), %r11
- /* Restore segment registers. */
- mov WAKEUP_PCB(DS), %ds
- mov WAKEUP_PCB(ES), %es
- mov WAKEUP_XPCB(SS), %ss
- mov WAKEUP_PCB(FS), %fs
- mov WAKEUP_PCB(GS), %gs
+ /* Force kernel segment registers. */
+ movl $KDSEL, %eax
+ movw %ax, %ds
+ movw %ax, %es
+ movw %ax, %ss
+ movl $KUF32SEL, %eax
+ movw %ax, %fs
+ movl $KUG32SEL, %eax
+ movw %ax, %gs
movl $MSR_FSBASE, %ecx
movl WAKEUP_PCB(FSBASE), %eax
@@ -123,9 +126,19 @@
/* Restore descriptor tables. */
lidt WAKEUP_XPCB(IDT)
lldt WAKEUP_XPCB(LDT)
+
+#define SDT_SYSTSS 9
+#define SDT_SYSBSY 11
+
+ /* Clear "task busy" bit and reload TR. */
+ movq PCPU(TSS), %rax
+ andb $(~SDT_SYSBSY | SDT_SYSTSS), 5(%rax)
movw WAKEUP_XPCB(TR), %ax
ltr %ax
+#undef SDT_SYSTSS
+#undef SDT_SYSBSY
+
/* Restore other callee saved registers. */
movq WAKEUP_PCB(R15), %r15
movq WAKEUP_PCB(R14), %r14
==== //depot/projects/vimage/src/sys/amd64/acpica/acpi_wakecode.S#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/acpica/acpi_wakecode.S,v 1.2 2009/03/23 22:35:30 jkim Exp $
+ * $FreeBSD: src/sys/amd64/acpica/acpi_wakecode.S,v 1.3 2009/04/02 00:23:56 jkim Exp $
*/
#define LOCORE
@@ -223,6 +223,12 @@
bootgdt:
.long 0x00000000
.long 0x00000000
+ .long 0x00000000
+ .long 0x00000000
+ .long 0x00000000
+ .long 0x00000000
+ .long 0x00000000
+ .long 0x00000000
bootcode64:
.long 0x0000ffff
@@ -261,6 +267,8 @@
wakeup_gdt:
.word 0
.quad 0
+
+ ALIGN_DATA
wakeup_efer:
.quad 0
wakeup_pat:
==== //depot/projects/vimage/src/sys/amd64/acpica/acpi_wakeup.c#3 (text+ko) ====
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sys/amd64/acpica/acpi_wakeup.c,v 1.24 2009/03/23 22:35:30 jkim Exp $");
+__FBSDID("$FreeBSD: src/sys/amd64/acpica/acpi_wakeup.c,v 1.25 2009/04/02 00:23:56 jkim Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -78,7 +78,6 @@
int acpi_restorecpu(struct xpcb *, vm_offset_t);
int acpi_savecpu(struct xpcb *);
-static void acpi_reset_tss(int cpu);
static void acpi_alloc_wakeup_handler(void);
static void acpi_stop_beep(void *);
@@ -116,8 +115,6 @@
stopxpcbs[cpu].xpcb_gdt.rd_base);
WAKECODE_FIXUP(wakeup_cpu, int, cpu);
- acpi_reset_tss(cpu);
-
/* do an INIT IPI: assert RESET */
lapic_ipi_raw(APIC_DEST_DESTFLD | APIC_TRIGMOD_EDGE |
APIC_LEVEL_ASSERT | APIC_DESTMODE_PHY | APIC_DELMODE_INIT, apic_id);
@@ -220,19 +217,6 @@
}
#endif
-static void
-acpi_reset_tss(int cpu)
-{
- uint32_t *tss;
-
- /*
- * We have to clear "task busy" bit in TSS to restore
- * task register later. Otherwise, ltr causes GPF.
- */
- tss = (uint32_t *)&gdt[NGDT * cpu + GPROC0_SEL] + 1;
- *tss &= ~((SDT_SYSBSY ^ SDT_SYSTSS) << 8);
-}
-
int
acpi_sleep_machdep(struct acpi_softc *sc, int state)
{
@@ -289,8 +273,6 @@
stopxpcbs[0].xpcb_gdt.rd_base);
WAKECODE_FIXUP(wakeup_cpu, int, 0);
- acpi_reset_tss(0);
-
/* Call ACPICA to enter the desired sleep state */
if (state == ACPI_STATE_S4 && sc->acpi_s4bios)
status = AcpiEnterSleepStateS4bios();
==== //depot/projects/vimage/src/sys/amd64/amd64/apic_vector.S#4 (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.111 2009/03/17 00:48:11 jkim Exp $
+ * $FreeBSD: src/sys/amd64/amd64/apic_vector.S,v 1.112 2009/04/01 13:09:26 kib Exp $
*/
/*
@@ -219,10 +219,8 @@
movl $0, LA_EOI(%rax) /* End Of Interrupt to APIC */
call cpustop_handler
+ jmp doreti
- POP_FRAME
- iretq
-
/*
* Executed by a CPU when it receives an IPI_SUSPEND from another CPU.
*/
@@ -251,6 +249,5 @@
call smp_rendezvous_action
movq lapic, %rax
movl $0, LA_EOI(%rax) /* End Of Interrupt to APIC */
- POP_FRAME /* Why not doreti? */
- iretq
+ jmp doreti
#endif /* SMP */
==== //depot/projects/vimage/src/sys/amd64/amd64/cpu_switch.S#14 (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.167 2009/03/17 00:48:11 jkim Exp $
+ * $FreeBSD: src/sys/amd64/amd64/cpu_switch.S,v 1.168 2009/04/01 13:09:26 kib Exp $
*/
#include <machine/asmacros.h>
@@ -75,8 +75,6 @@
1:
movq TD_PCB(%rdi),%r8 /* Old pcb */
movl PCPU(CPUID), %eax
- movq PCB_FSBASE(%r8),%r9
- movq PCB_GSBASE(%r8),%r10
/* release bit from old pm_active */
movq TD_PROC(%rdi), %rdx /* oldtd->td_proc */
movq P_VMSPACE(%rdx), %rdx /* proc->p_vmspace */
@@ -110,28 +108,6 @@
movq %rbx,PCB_RBX(%r8)
movq %rax,PCB_RIP(%r8)
- /*
- * Reread fs and gs bases. Explicit fs segment register load
- * by the usermode code may change actual fs base without
- * updating pcb_{fs,gs}base.
- *
- * %rdx still contains the mtx, save %rdx around rdmsr.
- */
- movq %rdx,%r11
- movl $MSR_FSBASE,%ecx
- rdmsr
- shlq $32,%rdx
- leaq (%rax,%rdx),%r9
- movl $MSR_KGSBASE,%ecx
- rdmsr
- shlq $32,%rdx
- leaq (%rax,%rdx),%r10
- movq %r11,%rdx
-
- testl $PCB_32BIT,PCB_FLAGS(%r8)
- jnz store_seg
-done_store_seg:
-
testl $PCB_DBREGS,PCB_FLAGS(%r8)
jnz store_dr /* static predict not taken */
done_store_dr:
@@ -192,36 +168,47 @@
testl $TDP_KTHREAD,TD_PFLAGS(%rsi)
jnz do_kthread
- testl $PCB_32BIT,PCB_FLAGS(%r8)
- jnz load_seg
-done_load_seg:
+ /*
+ * Load ldt register
+ */
+ movq TD_PROC(%rsi),%rcx
+ cmpq $0, P_MD+MD_LDT(%rcx)
+ jne do_ldt
+ xorl %eax,%eax
+ld_ldt: lldt %ax
- cmpq PCB_FSBASE(%r8),%r9
- jz 1f
- /* Restore userland %fs */
-restore_fsbase:
- movl $MSR_FSBASE,%ecx
+ /* Restore fs base in GDT */
movl PCB_FSBASE(%r8),%eax
- movl PCB_FSBASE+4(%r8),%edx
- wrmsr
-1:
- cmpq PCB_GSBASE(%r8),%r10
- jz 2f
- /* Restore userland %gs */
- movl $MSR_KGSBASE,%ecx
+ movq PCPU(FS32P),%rdx
+ movw %ax,2(%rdx)
+ shrl $16,%eax
+ movb %al,4(%rdx)
+ shrl $8,%eax
+ movb %al,7(%rdx)
+
+ /* Restore gs base in GDT */
movl PCB_GSBASE(%r8),%eax
- movl PCB_GSBASE+4(%r8),%edx
- wrmsr
-2:
+ movq PCPU(GS32P),%rdx
+ movw %ax,2(%rdx)
+ shrl $16,%eax
+ movb %al,4(%rdx)
+ shrl $8,%eax
+ movb %al,7(%rdx)
-do_tss:
+do_kthread:
+ /* Do we need to reload tss ? */
+ movq PCPU(TSSP),%rax
+ movq PCB_TSSP(%r8),%rdx
+ testq %rdx,%rdx
+ cmovzq PCPU(COMMONTSSP),%rdx
+ cmpq %rax,%rdx
+ jne do_tss
+done_tss:
+ movq %r8,PCPU(RSP0)
+ movq %r8,PCPU(CURPCB)
/* Update the TSS_RSP0 pointer for the next interrupt */
- movq PCPU(TSSP), %rax
- movq %r8, PCPU(RSP0)
- movq %r8, PCPU(CURPCB)
- addq $COMMON_TSS_RSP0, %rax
- movq %rsi, PCPU(CURTHREAD) /* into next thread */
- movq %r8, (%rax)
+ movq %r8,COMMON_TSS_RSP0(%rdx)
+ movq %rsi,PCPU(CURTHREAD) /* into next thread */
/* Test if debug registers should be restored. */
testl $PCB_DBREGS,PCB_FLAGS(%r8)
@@ -250,45 +237,6 @@
* We use jumps rather than call in order to avoid the stack.
*/
-do_kthread:
- /*
- * Copy old fs/gsbase to new kthread pcb for future switches
- * This maintains curpcb->pcb_[fg]sbase as caches of the MSR
- */
- movq %r9,PCB_FSBASE(%r8)
- movq %r10,PCB_GSBASE(%r8)
- jmp do_tss
-
-store_seg:
- mov %gs,PCB_GS(%r8)
- testl $PCB_GS32BIT,PCB_FLAGS(%r8)
- jnz 2f
-1: mov %ds,PCB_DS(%r8)
- mov %es,PCB_ES(%r8)
- mov %fs,PCB_FS(%r8)
- jmp done_store_seg
-2: movq PCPU(GS32P),%rax
- movq (%rax),%rax
- movq %rax,PCB_GS32SD(%r8)
- jmp 1b
-
-load_seg:
- testl $PCB_GS32BIT,PCB_FLAGS(%r8)
- jnz 2f
-1: movl $MSR_GSBASE,%ecx
- rdmsr
- mov PCB_GS(%r8),%gs
- wrmsr
- mov PCB_DS(%r8),%ds
- mov PCB_ES(%r8),%es
- mov PCB_FS(%r8),%fs
- jmp restore_fsbase
- /* Restore userland %gs while preserving kernel gsbase */
-2: movq PCPU(GS32P),%rax
- movq PCB_GS32SD(%r8),%rcx
- movq %rcx,(%rax)
- jmp 1b
-
store_dr:
movq %dr7,%rax /* yes, do the save */
movq %dr0,%r15
@@ -325,6 +273,29 @@
movq %r11,%dr6
movq %rax,%dr7
jmp done_load_dr
+
+do_tss: movq %rdx,PCPU(TSSP)
+ movq %rdx,%rcx
+ movq PCPU(TSS),%rax
+ movw %rcx,2(%rax)
+ shrq $16,%rcx
+ movb %cl,4(%rax)
+ shrq $8,%rcx
+ movb %cl,7(%rax)
+ shrq $8,%rcx
+ movl %ecx,8(%rax)
+ movb $0x89,5(%rax) /* unset busy */
+ movl $TSSSEL,%eax
+ ltr %ax
+ jmp done_tss
+
+do_ldt: movq PCPU(LDT),%rax
+ movq P_MD+MD_LDT_SD(%rcx),%rdx
+ movq %rdx,(%rax)
+ movq P_MD+MD_LDT_SD+8(%rcx),%rdx
+ movq %rdx,8(%rax)
+ movl $LDTSEL,%eax
+ jmp ld_ldt
END(cpu_switch)
/*
@@ -398,12 +369,6 @@
movq (%rsp),%rax
movq %rax,PCB_RIP(%r8)
- mov %ds,PCB_DS(%r8)
- mov %es,PCB_ES(%r8)
- mov %ss,XPCB_SS(%r8)
- mov %fs,PCB_FS(%r8)
- mov %gs,PCB_GS(%r8)
-
movq %rbx,PCB_RBX(%r8)
movq %rsp,PCB_RSP(%r8)
movq %rbp,PCB_RBP(%r8)
==== //depot/projects/vimage/src/sys/amd64/amd64/db_interface.c#2 (text+ko) ====
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sys/amd64/amd64/db_interface.c,v 1.81 2005/01/05 20:17:20 imp Exp $");
+__FBSDID("$FreeBSD: src/sys/amd64/amd64/db_interface.c,v 1.82 2009/04/01 13:09:26 kib Exp $");
/*
* Interface to new debugger.
@@ -139,7 +139,11 @@
db_show_mdpcpu(struct pcpu *pc)
{
-#if 0
- db_printf("currentldt = 0x%x\n", pc->pc_currentldt);
-#endif
+ db_printf("curpmap = %p\n", pc->pc_curpmap);
+ db_printf("tssp = %p\n", pc->pc_tssp);
+ db_printf("commontssp = %p\n", pc->pc_commontssp);
+ db_printf("rsp0 = 0x%lx\n", pc->pc_rsp0);
+ db_printf("gs32p = %p\n", pc->pc_gs32p);
+ db_printf("ldt = %p\n", pc->pc_ldt);
+ db_printf("tss = %p\n", pc->pc_tss);
}
==== //depot/projects/vimage/src/sys/amd64/amd64/db_trace.c#6 (text+ko) ====
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sys/amd64/amd64/db_trace.c,v 1.84 2009/03/17 00:48:11 jkim Exp $");
+__FBSDID("$FreeBSD: src/sys/amd64/amd64/db_trace.c,v 1.85 2009/04/01 13:09:26 kib Exp $");
#include "opt_compat.h"
@@ -69,12 +69,10 @@
#define DB_OFFSET(x) (db_expr_t *)offsetof(struct trapframe, x)
struct db_variable db_regs[] = {
{ "cs", DB_OFFSET(tf_cs), db_frame },
-#if 0
{ "ds", DB_OFFSET(tf_ds), db_frame },
{ "es", DB_OFFSET(tf_es), db_frame },
{ "fs", DB_OFFSET(tf_fs), db_frame },
{ "gs", DB_OFFSET(tf_gs), db_frame },
-#endif
{ "ss", NULL, db_ss },
{ "rax", DB_OFFSET(tf_rax), db_frame },
{ "rcx", DB_OFFSET(tf_rcx), db_frame },
@@ -94,7 +92,7 @@
{ "r15", DB_OFFSET(tf_r15), db_frame },
{ "rip", DB_OFFSET(tf_rip), db_frame },
{ "rflags", DB_OFFSET(tf_rflags), db_frame },
-#define DB_N_SHOW_REGS 20 /* Don't show registers after here. */
+#define DB_N_SHOW_REGS 24 /* Don't show registers after here. */
{ "dr0", NULL, db_dr0 },
{ "dr1", NULL, db_dr1 },
{ "dr2", NULL, db_dr2 },
@@ -357,7 +355,7 @@
rbp = tf->tf_rbp;
switch (frame_type) {
case TRAP:
- db_printf("--- trap %#lr", tf->tf_trapno);
+ db_printf("--- trap %#r", tf->tf_trapno);
break;
case SYSCALL:
db_printf("--- syscall");
==== //depot/projects/vimage/src/sys/amd64/amd64/elf_machdep.c#6 (text+ko) ====
@@ -24,7 +24,7 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sys/amd64/amd64/elf_machdep.c,v 1.29 2009/03/13 16:40:51 dchagin Exp $");
+__FBSDID("$FreeBSD: src/sys/amd64/amd64/elf_machdep.c,v 1.30 2009/04/05 09:27:19 dchagin Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -85,7 +85,7 @@
.sysvec = &elf64_freebsd_sysvec,
.interp_newpath = NULL,
.brand_note = &elf64_freebsd_brandnote,
- .flags = BI_CAN_EXEC_DYN
+ .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE
};
SYSINIT(elf64, SI_SUB_EXEC, SI_ORDER_ANY,
@@ -101,7 +101,7 @@
.sysvec = &elf64_freebsd_sysvec,
.interp_newpath = NULL,
.brand_note = &elf64_freebsd_brandnote,
- .flags = BI_CAN_EXEC_DYN
+ .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE
};
SYSINIT(oelf64, SI_SUB_EXEC, SI_ORDER_ANY,
==== //depot/projects/vimage/src/sys/amd64/amd64/exception.S#10 (text+ko) ====
@@ -31,7 +31,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.137 2009/02/03 09:01:45 jkoshy Exp $
+ * $FreeBSD: src/sys/amd64/amd64/exception.S,v 1.138 2009/04/01 13:09:26 kib Exp $
*/
#include "opt_atpic.h"
@@ -42,6 +42,7 @@
#include <machine/asmacros.h>
#include <machine/psl.h>
#include <machine/trap.h>
+#include <machine/specialreg.h>
#include "assym.s"
@@ -99,7 +100,7 @@
/* Traps that we leave interrupts disabled for.. */
#define TRAP_NOEN(a) \
subq $TF_RIP,%rsp; \
- movq $(a),TF_TRAPNO(%rsp) ; \
+ movl $(a),TF_TRAPNO(%rsp) ; \
>>> TRUNCATED FOR MAIL (1000 lines) <<<
More information about the p4-projects
mailing list