From owner-p4-projects@FreeBSD.ORG Tue Aug 3 11:18:35 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id EB61816A4CE; Tue, 3 Aug 2004 11:18:34 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE0E716A4CE for ; Tue, 3 Aug 2004 11:18:34 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A002A43D39 for ; Tue, 3 Aug 2004 11:18:34 +0000 (GMT) (envelope-from dfr@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i73BIY3k067536 for ; Tue, 3 Aug 2004 11:18:34 GMT (envelope-from dfr@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i73BIXTg067533 for perforce@freebsd.org; Tue, 3 Aug 2004 11:18:33 GMT (envelope-from dfr@freebsd.org) Date: Tue, 3 Aug 2004 11:18:33 GMT Message-Id: <200408031118.i73BIXTg067533@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to dfr@freebsd.org using -f From: Doug Rabson To: Perforce Change Reviews Subject: PERFORCE change 58772 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2004 11:18:35 -0000 http://perforce.freebsd.org/chv.cgi?CH=58772 Change 58772 by dfr@dfr_home on 2004/08/03 11:18:24 IFC 58770 Affected files ... .. //depot/projects/kse/include/Makefile#8 integrate .. //depot/projects/kse/lib/libc/amd64/gen/makecontext.c#2 integrate .. //depot/projects/kse/lib/libc/gen/Makefile.inc#10 integrate .. //depot/projects/kse/lib/libc/gen/_pthread_stubs.c#4 integrate .. //depot/projects/kse/lib/libc/gen/ftw.c#3 integrate .. //depot/projects/kse/lib/libc/gen/unvis.c#3 integrate .. //depot/projects/kse/lib/libc/locale/isalnum.3#3 integrate .. //depot/projects/kse/lib/libc/locale/isalpha.3#3 integrate .. //depot/projects/kse/lib/libc/locale/isblank.3#3 integrate .. //depot/projects/kse/lib/libc/locale/iscntrl.3#3 integrate .. //depot/projects/kse/lib/libc/locale/isdigit.3#3 integrate .. //depot/projects/kse/lib/libc/locale/isgraph.3#3 integrate .. //depot/projects/kse/lib/libc/locale/islower.3#3 integrate .. //depot/projects/kse/lib/libc/locale/isprint.3#3 integrate .. //depot/projects/kse/lib/libc/locale/ispunct.3#3 integrate .. //depot/projects/kse/lib/libc/locale/isspace.3#3 integrate .. //depot/projects/kse/lib/libc/locale/isupper.3#3 integrate .. //depot/projects/kse/lib/libc/locale/isxdigit.3#4 integrate .. //depot/projects/kse/lib/libc/stdlib/getopt.3#4 integrate .. //depot/projects/kse/lib/libkvm/kvm_getswapinfo.3#4 integrate .. //depot/projects/kse/lib/libkvm/kvm_getswapinfo.c#5 integrate .. //depot/projects/kse/lib/libpthread/arch/amd64/amd64/context.S#3 integrate .. //depot/projects/kse/lib/libpthread/arch/amd64/amd64/enter_uts.S#2 integrate .. //depot/projects/kse/lib/libpthread/arch/amd64/include/pthread_md.h#5 integrate .. //depot/projects/kse/lib/libpthread/thread/thr_kern.c#5 integrate .. //depot/projects/kse/lib/libpthread/thread/thr_priority_queue.c#3 integrate .. //depot/projects/kse/lib/libpthread/thread/thr_private.h#4 integrate .. //depot/projects/kse/lib/libthr/thread/thr_mutex.c#4 integrate .. //depot/projects/kse/lib/libthr/thread/thr_rwlock.c#2 integrate .. //depot/projects/kse/lib/libthr/thread/thr_setschedparam.c#3 integrate .. //depot/projects/kse/libexec/rtld-elf/alpha/reloc.c#5 integrate .. //depot/projects/kse/libexec/rtld-elf/alpha/rtld_machdep.h#4 integrate .. //depot/projects/kse/libexec/rtld-elf/amd64/reloc.c#6 integrate .. //depot/projects/kse/libexec/rtld-elf/amd64/rtld_machdep.h#4 integrate .. //depot/projects/kse/libexec/rtld-elf/i386/reloc.c#12 integrate .. //depot/projects/kse/libexec/rtld-elf/i386/rtld_machdep.h#7 integrate .. //depot/projects/kse/libexec/rtld-elf/ia64/reloc.c#8 integrate .. //depot/projects/kse/libexec/rtld-elf/ia64/rtld_machdep.h#4 integrate .. //depot/projects/kse/libexec/rtld-elf/map_object.c#5 integrate .. //depot/projects/kse/libexec/rtld-elf/rtld.c#14 integrate .. //depot/projects/kse/libexec/rtld-elf/rtld.h#9 integrate .. //depot/projects/kse/libexec/rtld-elf/sparc64/reloc.c#5 integrate .. //depot/projects/kse/libexec/rtld-elf/sparc64/rtld_machdep.h#5 integrate .. //depot/projects/kse/sys/alpha/alpha/mem.c#11 integrate .. //depot/projects/kse/sys/alpha/alpha/pmap.c#41 integrate .. //depot/projects/kse/sys/alpha/conf/GENERIC#20 integrate .. //depot/projects/kse/sys/alpha/include/memdev.h#1 branch .. //depot/projects/kse/sys/alpha/include/param.h#11 integrate .. //depot/projects/kse/sys/amd64/amd64/io.c#1 branch .. //depot/projects/kse/sys/amd64/amd64/machdep.c#5 integrate .. //depot/projects/kse/sys/amd64/amd64/mem.c#5 integrate .. //depot/projects/kse/sys/amd64/amd64/pmap.c#7 integrate .. //depot/projects/kse/sys/amd64/conf/GENERIC#6 integrate .. //depot/projects/kse/sys/amd64/conf/NOTES#3 integrate .. //depot/projects/kse/sys/amd64/include/cpufunc.h#3 integrate .. //depot/projects/kse/sys/amd64/include/elf.h#2 integrate .. //depot/projects/kse/sys/amd64/include/iodev.h#1 branch .. //depot/projects/kse/sys/amd64/include/memdev.h#1 branch .. //depot/projects/kse/sys/amd64/include/param.h#4 integrate .. //depot/projects/kse/sys/amd64/include/profile.h#5 integrate .. //depot/projects/kse/sys/arm/arm/machdep.c#4 integrate .. //depot/projects/kse/sys/arm/arm/pmap.c#5 integrate .. //depot/projects/kse/sys/arm/include/endian.h#4 integrate .. //depot/projects/kse/sys/arm/include/vmparam.h#2 integrate .. //depot/projects/kse/sys/boot/common/help.common#5 integrate .. //depot/projects/kse/sys/boot/forth/loader.conf#17 integrate .. //depot/projects/kse/sys/boot/i386/boot2/Makefile#7 integrate .. //depot/projects/kse/sys/boot/i386/boot2/boot2.c#15 integrate .. //depot/projects/kse/sys/boot/ofw/common/main.c#4 integrate .. //depot/projects/kse/sys/boot/ofw/libofw/libofw.h#5 integrate .. //depot/projects/kse/sys/boot/ofw/libofw/ofw_memory.c#4 integrate .. //depot/projects/kse/sys/boot/pc98/boot2/boot.h#5 integrate .. //depot/projects/kse/sys/boot/pc98/boot2/disk.c#4 integrate .. //depot/projects/kse/sys/boot/pc98/boot2/io.c#4 integrate .. //depot/projects/kse/sys/boot/pc98/boot2/sys.c#3 integrate .. //depot/projects/kse/sys/boot/powerpc/loader/Makefile#9 integrate .. //depot/projects/kse/sys/coda/coda_vfsops.c#13 integrate .. //depot/projects/kse/sys/compat/ndis/hal_var.h#3 integrate .. //depot/projects/kse/sys/compat/ndis/kern_ndis.c#5 integrate .. //depot/projects/kse/sys/compat/ndis/ndis_var.h#5 integrate .. //depot/projects/kse/sys/compat/ndis/ntoskrnl_var.h#3 integrate .. //depot/projects/kse/sys/compat/ndis/pe_var.h#3 integrate .. //depot/projects/kse/sys/compat/ndis/subr_hal.c#3 integrate .. //depot/projects/kse/sys/compat/ndis/subr_ndis.c#5 integrate .. //depot/projects/kse/sys/compat/ndis/subr_ntoskrnl.c#5 integrate .. //depot/projects/kse/sys/conf/NOTES#26 integrate .. //depot/projects/kse/sys/conf/files#58 integrate .. //depot/projects/kse/sys/conf/files.alpha#22 integrate .. //depot/projects/kse/sys/conf/files.amd64#4 integrate .. //depot/projects/kse/sys/conf/files.i386#36 integrate .. //depot/projects/kse/sys/conf/files.ia64#19 integrate .. //depot/projects/kse/sys/conf/files.pc98#35 integrate .. //depot/projects/kse/sys/conf/files.sparc64#25 integrate .. //depot/projects/kse/sys/conf/options#35 integrate .. //depot/projects/kse/sys/dev/acpica/acpi.c#35 integrate .. //depot/projects/kse/sys/dev/an/if_an.c#18 integrate .. //depot/projects/kse/sys/dev/arl/if_arl.c#3 integrate .. //depot/projects/kse/sys/dev/arl/if_arl_isa.c#3 integrate .. //depot/projects/kse/sys/dev/arl/if_arlreg.h#3 integrate .. //depot/projects/kse/sys/dev/asr/asr.c#14 integrate .. //depot/projects/kse/sys/dev/ata/ata-all.c#27 integrate .. //depot/projects/kse/sys/dev/ata/ata-chipset.c#6 integrate .. //depot/projects/kse/sys/dev/ath/if_ath.c#4 integrate .. //depot/projects/kse/sys/dev/eisa/eisaconf.c#5 integrate .. //depot/projects/kse/sys/dev/en/midway.c#6 integrate .. //depot/projects/kse/sys/dev/esp/esp_sbus.c#3 integrate .. //depot/projects/kse/sys/dev/esp/lsi64854.c#2 integrate .. //depot/projects/kse/sys/dev/esp/lsi64854var.h#2 integrate .. //depot/projects/kse/sys/dev/esp/ncr53c9x.c#2 integrate .. //depot/projects/kse/sys/dev/esp/ncr53c9xreg.h#2 integrate .. //depot/projects/kse/sys/dev/esp/ncr53c9xvar.h#2 integrate .. //depot/projects/kse/sys/dev/hme/if_hme.c#10 integrate .. //depot/projects/kse/sys/dev/if_ndis/if_ndis.c#5 integrate .. //depot/projects/kse/sys/dev/io/iodev.c#1 branch .. //depot/projects/kse/sys/dev/mem/memdev.c#1 branch .. //depot/projects/kse/sys/dev/null/null.c#8 integrate .. //depot/projects/kse/sys/dev/random/randomdev.c#12 integrate .. //depot/projects/kse/sys/dev/syscons/syscons.c#23 integrate .. //depot/projects/kse/sys/dev/usb/ehci.c#5 integrate .. //depot/projects/kse/sys/dev/usb/ehci_pci.c#5 integrate .. //depot/projects/kse/sys/dev/usb/ehcireg.h#4 integrate .. //depot/projects/kse/sys/dev/usb/ehcivar.h#2 integrate .. //depot/projects/kse/sys/dev/usb/ohci.c#20 integrate .. //depot/projects/kse/sys/dev/usb/ohci_pci.c#3 integrate .. //depot/projects/kse/sys/dev/usb/ohcivar.h#6 integrate .. //depot/projects/kse/sys/dev/usb/uhci.c#23 integrate .. //depot/projects/kse/sys/dev/usb/uhci_pci.c#3 integrate .. //depot/projects/kse/sys/dev/usb/uhcivar.h#7 integrate .. //depot/projects/kse/sys/dev/usb/uhub.c#16 integrate .. //depot/projects/kse/sys/dev/usb/usb.c#21 integrate .. //depot/projects/kse/sys/dev/usb/usb_mem.c#2 integrate .. //depot/projects/kse/sys/dev/wi/if_wi.c#29 integrate .. //depot/projects/kse/sys/fs/devfs/devfs_vfsops.c#11 integrate .. //depot/projects/kse/sys/fs/fdescfs/fdesc_vfsops.c#12 integrate .. //depot/projects/kse/sys/fs/hpfs/hpfs_vfsops.c#16 integrate .. //depot/projects/kse/sys/fs/msdosfs/msdosfs_vfsops.c#16 integrate .. //depot/projects/kse/sys/fs/ntfs/ntfs_vfsops.c#17 integrate .. //depot/projects/kse/sys/fs/nullfs/null_vfsops.c#11 integrate .. //depot/projects/kse/sys/fs/nwfs/nwfs_vfsops.c#10 integrate .. //depot/projects/kse/sys/fs/portalfs/portal_vfsops.c#12 integrate .. //depot/projects/kse/sys/fs/pseudofs/pseudofs.c#15 integrate .. //depot/projects/kse/sys/fs/pseudofs/pseudofs.h#16 integrate .. //depot/projects/kse/sys/fs/smbfs/smbfs_vfsops.c#13 integrate .. //depot/projects/kse/sys/fs/udf/udf_vfsops.c#7 integrate .. //depot/projects/kse/sys/fs/umapfs/umap_vfsops.c#10 integrate .. //depot/projects/kse/sys/fs/unionfs/union_vfsops.c#15 integrate .. //depot/projects/kse/sys/geom/geom_mbr.c#9 integrate .. //depot/projects/kse/sys/geom/geom_mirror.c#3 delete .. //depot/projects/kse/sys/geom/mirror/g_mirror.c#1 branch .. //depot/projects/kse/sys/geom/mirror/g_mirror.h#1 branch .. //depot/projects/kse/sys/geom/mirror/g_mirror_ctl.c#1 branch .. //depot/projects/kse/sys/geom/nop/g_nop.c#5 integrate .. //depot/projects/kse/sys/geom/nop/g_nop.h#3 integrate .. //depot/projects/kse/sys/geom/vinum/geom_vinum.c#4 integrate .. //depot/projects/kse/sys/geom/vinum/geom_vinum.h#2 integrate .. //depot/projects/kse/sys/geom/vinum/geom_vinum_plex.c#3 integrate .. //depot/projects/kse/sys/geom/vinum/geom_vinum_subr.c#3 integrate .. //depot/projects/kse/sys/gnu/ext2fs/ext2_vfsops.c#16 integrate .. //depot/projects/kse/sys/i386/conf/GENERIC#30 integrate .. //depot/projects/kse/sys/i386/conf/NOTES#46 integrate .. //depot/projects/kse/sys/i386/i386/intr_machdep.c#5 integrate .. //depot/projects/kse/sys/i386/i386/io.c#1 branch .. //depot/projects/kse/sys/i386/i386/io_apic.c#4 integrate .. //depot/projects/kse/sys/i386/i386/mem.c#13 integrate .. //depot/projects/kse/sys/i386/i386/pmap.c#51 integrate .. //depot/projects/kse/sys/i386/include/elf.h#5 integrate .. //depot/projects/kse/sys/i386/include/intr_machdep.h#3 integrate .. //depot/projects/kse/sys/i386/include/iodev.h#1 branch .. //depot/projects/kse/sys/i386/include/memdev.h#1 branch .. //depot/projects/kse/sys/i386/include/param.h#16 integrate .. //depot/projects/kse/sys/i386/isa/atpic.c#3 integrate .. //depot/projects/kse/sys/ia64/conf/GENERIC#21 integrate .. //depot/projects/kse/sys/ia64/conf/SKI#10 integrate .. //depot/projects/kse/sys/ia64/ia64/mem.c#12 integrate .. //depot/projects/kse/sys/ia64/ia64/pmap.c#39 integrate .. //depot/projects/kse/sys/ia64/include/cpufunc.h#10 integrate .. //depot/projects/kse/sys/ia64/include/memdev.h#1 branch .. //depot/projects/kse/sys/isa/psm.c#16 integrate .. //depot/projects/kse/sys/isofs/cd9660/cd9660_vfsops.c#15 integrate .. //depot/projects/kse/sys/kern/kern_exit.c#70 integrate .. //depot/projects/kse/sys/kern/kern_kse.c#4 integrate .. //depot/projects/kse/sys/kern/kern_mbuf.c#2 integrate .. //depot/projects/kse/sys/kern/kern_proc.c#94 integrate .. //depot/projects/kse/sys/kern/kern_shutdown.c#39 integrate .. //depot/projects/kse/sys/kern/kern_sig.c#75 integrate .. //depot/projects/kse/sys/kern/kern_thread.c#118 integrate .. //depot/projects/kse/sys/kern/sys_pipe.c#20 integrate .. //depot/projects/kse/sys/kern/vfs_init.c#11 integrate .. //depot/projects/kse/sys/kern/vfs_mount.c#9 integrate .. //depot/projects/kse/sys/kern/vfs_subr.c#52 integrate .. //depot/projects/kse/sys/modules/Makefile#39 integrate .. //depot/projects/kse/sys/modules/geom/Makefile#4 integrate .. //depot/projects/kse/sys/modules/geom/geom_mirror/Makefile#1 branch .. //depot/projects/kse/sys/modules/io/Makefile#1 branch .. //depot/projects/kse/sys/modules/mem/Makefile#1 branch .. //depot/projects/kse/sys/netgraph/ng_l2tp.c#6 integrate .. //depot/projects/kse/sys/netgraph/ng_l2tp.h#3 integrate .. //depot/projects/kse/sys/netgraph/ng_ppp.c#10 integrate .. //depot/projects/kse/sys/netgraph/ng_pppoe.c#14 integrate .. //depot/projects/kse/sys/netgraph/ng_socket.c#17 integrate .. //depot/projects/kse/sys/netinet/ip_mroute.c#17 integrate .. //depot/projects/kse/sys/nfs4client/nfs4_vfsops.c#4 integrate .. //depot/projects/kse/sys/nfsclient/nfs_vfsops.c#20 integrate .. //depot/projects/kse/sys/pc98/conf/GENERIC#24 integrate .. //depot/projects/kse/sys/pc98/conf/NOTES#7 integrate .. //depot/projects/kse/sys/pci/if_vr.c#13 integrate .. //depot/projects/kse/sys/powerpc/conf/GENERIC#13 integrate .. //depot/projects/kse/sys/powerpc/include/critical.h#5 integrate .. //depot/projects/kse/sys/powerpc/include/reg.h#6 integrate .. //depot/projects/kse/sys/powerpc/powerpc/machdep.c#30 integrate .. //depot/projects/kse/sys/powerpc/powerpc/pmap.c#27 integrate .. //depot/projects/kse/sys/powerpc/powerpc/trap.c#22 integrate .. //depot/projects/kse/sys/security/mac/mac_label.c#2 integrate .. //depot/projects/kse/sys/sparc64/conf/GENERIC#25 integrate .. //depot/projects/kse/sys/sparc64/include/memdev.h#1 branch .. //depot/projects/kse/sys/sparc64/sparc64/mem.c#6 integrate .. //depot/projects/kse/sys/sparc64/sparc64/pmap.c#42 integrate .. //depot/projects/kse/sys/sys/gpt.h#5 integrate .. //depot/projects/kse/sys/sys/kse.h#25 integrate .. //depot/projects/kse/sys/sys/mbuf.h#21 integrate .. //depot/projects/kse/sys/sys/mount.h#21 integrate .. //depot/projects/kse/sys/sys/mouse.h#3 integrate .. //depot/projects/kse/sys/sys/param.h#32 integrate .. //depot/projects/kse/sys/sys/proc.h#142 integrate .. //depot/projects/kse/sys/ufs/ffs/ffs_extern.h#12 integrate .. //depot/projects/kse/sys/ufs/ffs/ffs_vfsops.c#31 integrate .. //depot/projects/kse/sys/vm/device_pager.c#11 integrate .. //depot/projects/kse/sys/vm/uma.h#11 integrate .. //depot/projects/kse/sys/vm/uma_core.c#21 integrate .. //depot/projects/kse/sys/vm/uma_dbg.c#8 integrate .. //depot/projects/kse/sys/vm/uma_dbg.h#4 integrate .. //depot/projects/kse/sys/vm/uma_int.h#10 integrate .. //depot/projects/kse/sys/vm/vm_glue.c#45 integrate .. //depot/projects/kse/sys/vm/vm_map.c#33 integrate .. //depot/projects/kse/sys/vm/vm_map.h#23 integrate .. //depot/projects/kse/sys/vm/vm_mmap.c#25 integrate .. //depot/projects/kse/sys/vm/vm_object.c#23 integrate .. //depot/projects/kse/sys/vm/vm_page.c#23 integrate .. //depot/projects/kse/tools/regression/geom_mirror/Makefile#1 branch .. //depot/projects/kse/tools/regression/geom_mirror/runtests.sh#1 branch .. //depot/projects/kse/tools/regression/geom_mirror/test-1.sh#1 branch .. //depot/projects/kse/tools/regression/geom_mirror/test-2.sh#1 branch .. //depot/projects/kse/tools/regression/geom_mirror/test-3.sh#1 branch .. //depot/projects/kse/tools/regression/geom_mirror/test-4.sh#1 branch .. //depot/projects/kse/tools/regression/geom_mirror/test-5.sh#1 branch .. //depot/projects/kse/tools/regression/geom_mirror/test-6.sh#1 branch Differences ... ==== //depot/projects/kse/include/Makefile#8 (text+ko) ==== @@ -1,5 +1,5 @@ # @(#)Makefile 8.2 (Berkeley) 1/4/94 -# $FreeBSD: src/include/Makefile,v 1.217 2004/07/15 03:43:18 davidxu Exp $ +# $FreeBSD: src/include/Makefile,v 1.218 2004/07/30 23:18:52 pjd Exp $ # # Doing a "make install" builds /usr/include. @@ -36,7 +36,7 @@ dev/ofw dev/ppbus dev/smbus dev/usb dev/wi dev/utopia fs/devfs \ fs/fdescfs fs/fifofs fs/msdosfs fs/ntfs fs/nullfs fs/nwfs fs/portalfs \ fs/procfs fs/smbfs fs/udf fs/umapfs fs/unionfs \ - geom/concat geom/gate geom/label geom/nop geom/stripe \ + geom/concat geom/gate geom/label geom/mirror geom/nop geom/stripe \ isofs/cd9660 netatm/ipatm netatm/sigpvc netatm/spans netatm/uni \ netgraph/atm security/mac_biba security/mac_bsdextended \ security/mac_lomac security/mac_mls security/mac_partition \ ==== //depot/projects/kse/lib/libc/amd64/gen/makecontext.c#2 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/lib/libc/amd64/gen/makecontext.c,v 1.3 2004/03/31 07:27:31 peter Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/amd64/gen/makecontext.c,v 1.4 2004/07/31 01:41:41 davidxu Exp $"); #include #include @@ -65,7 +65,7 @@ /* Align the stack to 16 bytes. */ sp = (uint64_t *)(ucp->uc_stack.ss_sp + ucp->uc_stack.ss_size); - sp = (uint64_t *)((uint64_t)sp & -15UL); + sp = (uint64_t *)((uint64_t)sp & ~15UL); /* Allocate space for a maximum of 6 arguments on the stack. */ args = sp - 6; @@ -88,7 +88,7 @@ ucp->uc_mcontext.mc_rdi = (register_t)ucp; ucp->uc_mcontext.mc_rsi = (register_t)start; ucp->uc_mcontext.mc_rdx = (register_t)args; - ucp->uc_mcontext.mc_rbp = (register_t)sp; + ucp->uc_mcontext.mc_rbp = 0; ucp->uc_mcontext.mc_rbx = (register_t)sp; ucp->uc_mcontext.mc_rsp = (register_t)sp; ucp->uc_mcontext.mc_rip = (register_t)makectx_wrapper; ==== //depot/projects/kse/lib/libc/gen/Makefile.inc#10 (text+ko) ==== @@ -1,5 +1,5 @@ # @(#)Makefile.inc 8.6 (Berkeley) 5/4/95 -# $FreeBSD: src/lib/libc/gen/Makefile.inc,v 1.115 2004/07/25 11:17:54 tjr Exp $ +# $FreeBSD: src/lib/libc/gen/Makefile.inc,v 1.116 2004/08/03 08:54:01 dfr Exp $ # machine-independent gen sources .PATH: ${.CURDIR}/${MACHINE_ARCH}/gen ${.CURDIR}/gen ==== //depot/projects/kse/lib/libc/gen/_pthread_stubs.c#4 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/lib/libc/gen/_pthread_stubs.c,v 1.10 2002/11/13 21:55:22 deischen Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/gen/_pthread_stubs.c,v 1.11 2004/07/29 18:07:08 kan Exp $"); #include #include @@ -97,8 +97,8 @@ #define FUNC_EXP(name) __CONCAT(name, _exp) #define STUB_FUNC(name, idx, ret) \ - static ret FUNC_EXP(name)(void) __unused; \ - static ret FUNC_INT(name)(void) __unused; \ + static ret FUNC_EXP(name)(void) __used; \ + static ret FUNC_INT(name)(void) __used; \ WEAK_REF(FUNC_EXP(name), name); \ WEAK_REF(FUNC_INT(name), __CONCAT(_, name)); \ typedef ret (*FUNC_TYPE(name))(void); \ @@ -116,8 +116,8 @@ } #define STUB_FUNC1(name, idx, ret, p0_type) \ - static ret FUNC_EXP(name)(p0_type) __unused; \ - static ret FUNC_INT(name)(p0_type) __unused; \ + static ret FUNC_EXP(name)(p0_type) __used; \ + static ret FUNC_INT(name)(p0_type) __used; \ WEAK_REF(FUNC_EXP(name), name); \ WEAK_REF(FUNC_INT(name), __CONCAT(_, name)); \ typedef ret (*FUNC_TYPE(name))(p0_type); \ @@ -135,8 +135,8 @@ } #define STUB_FUNC2(name, idx, ret, p0_type, p1_type) \ - static ret FUNC_EXP(name)(p0_type, p1_type) __unused; \ - static ret FUNC_INT(name)(p0_type, p1_type) __unused; \ + static ret FUNC_EXP(name)(p0_type, p1_type) __used; \ + static ret FUNC_INT(name)(p0_type, p1_type) __used; \ WEAK_REF(FUNC_EXP(name), name); \ WEAK_REF(FUNC_INT(name), __CONCAT(_, name)); \ typedef ret (*FUNC_TYPE(name))(p0_type, p1_type); \ @@ -154,8 +154,8 @@ } #define STUB_FUNC3(name, idx, ret, p0_type, p1_type, p2_type) \ - static ret FUNC_EXP(name)(p0_type, p1_type, p2_type) __unused; \ - static ret FUNC_INT(name)(p0_type, p1_type, p2_type) __unused; \ + static ret FUNC_EXP(name)(p0_type, p1_type, p2_type) __used; \ + static ret FUNC_INT(name)(p0_type, p1_type, p2_type) __used; \ WEAK_REF(FUNC_EXP(name), name); \ WEAK_REF(FUNC_INT(name), __CONCAT(_, name)); \ typedef ret (*FUNC_TYPE(name))(p0_type, p1_type, p2_type); \ ==== //depot/projects/kse/lib/libc/gen/ftw.c#3 (text+ko) ==== @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/lib/libc/gen/ftw.c,v 1.2 2004/07/23 06:01:00 das Exp $ + * $FreeBSD: src/lib/libc/gen/ftw.c,v 1.3 2004/08/02 08:18:43 stefanf Exp $ */ #include /* Because fts(3) says so */ @@ -48,7 +48,7 @@ /* Prototype this so that we can have it later */ -static int __ftw_core(const char *, void *, int, int, enum __ftw_modes); +static int __ftw_core(const char *, void (*)(), int, int, enum __ftw_modes); /* * The external function calls are really just wrappers around __ftw_core, @@ -56,11 +56,11 @@ */ int ftw (const char *dir, __ftw_func_t func, int descr) { - return __ftw_core(dir, func, descr, 0, MODE_FTW); + return __ftw_core(dir, (void (*)())func, descr, 0, MODE_FTW); } int nftw (const char *dir, __nftw_func_t func, int descr, int flags) { - return __ftw_core(dir, func, descr, flags, MODE_NFTW); + return __ftw_core(dir, (void (*)())func, descr, flags, MODE_NFTW); } /* @@ -70,7 +70,7 @@ (const char *file, const struct stat status, int flag, struct FTW detail); */ -static int __ftw_core(const char *dir, void *func, int descr, int flags, +static int __ftw_core(const char *dir, void (*func)(), int descr, int flags, enum __ftw_modes mode) { FTS *hierarchy; FTSENT *entry; ==== //depot/projects/kse/lib/libc/gen/unvis.c#3 (text+ko) ==== @@ -35,7 +35,7 @@ static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ #include -__FBSDID("$FreeBSD: src/lib/libc/gen/unvis.c,v 1.8 2003/02/16 17:29:09 nectar Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/gen/unvis.c,v 1.9 2004/08/02 08:46:23 stefanf Exp $"); #include #include @@ -62,9 +62,7 @@ * unvis - decode characters previously encoded by vis */ int -unvis(cp, c, astate, flag) - char *cp; - int c, *astate, flag; +unvis(char *cp, int c, int *astate, int flag) { if (flag & UNVIS_END) { @@ -241,9 +239,7 @@ */ int -strunvis(dst, src) - char *dst; - const char *src; +strunvis(char *dst, const char *src) { char c; char *start = dst; @@ -272,9 +268,7 @@ } int -strunvisx(dst, src, flag) - char *dst; - const char *src; +strunvisx(char *dst, const char *src, int flag) { char c; char *start = dst; ==== //depot/projects/kse/lib/libc/locale/isalnum.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isalnum.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isalnum.3,v 1.17 2002/10/06 10:15:38 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isalnum.3,v 1.18 2004/07/29 23:32:41 tjr Exp $ .\" -.Dd October 6, 2002 +.Dd July 30, 2004 .Dt ISALNUM 3 .Os .Sh NAME @@ -89,14 +89,12 @@ function returns zero if the character tests false and returns non-zero if the character tests true. .Sh COMPATIBILITY -Although -.Fn isalnum -accepts arguments outside of the range of the +The +.Bx 4.4 +extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets, -this is a -.Bx 4.4 -extension and the +type in locales with large character sets is deprecated. +The .Fn iswalnum function should be used instead for maximum portability. .Sh SEE ALSO ==== //depot/projects/kse/lib/libc/locale/isalpha.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isalpha.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isalpha.3,v 1.16 2002/10/06 10:15:38 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isalpha.3,v 1.17 2004/07/29 23:32:41 tjr Exp $ .\" -.Dd October 6, 2002 +.Dd July 30, 2004 .Dt ISALPHA 3 .Os .Sh NAME @@ -87,14 +87,12 @@ function returns zero if the character tests false and returns non-zero if the character tests true. .Sh COMPATIBILITY -Although -.Fn isalpha -accepts arguments outside of the range of the +The +.Bx 4.4 +extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets, -this is a -.Bx 4.4 -extension and the +type in locales with large character sets is deprecated. +The .Fn iswalpha function should be used instead for maximum portability. .Sh SEE ALSO ==== //depot/projects/kse/lib/libc/locale/isblank.3#3 (text+ko) ==== @@ -30,9 +30,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isblank.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isblank.3,v 1.17 2002/12/18 12:45:08 ru Exp $ +.\" $FreeBSD: src/lib/libc/locale/isblank.3,v 1.18 2004/07/29 23:32:41 tjr Exp $ .\" -.Dd October 6, 2002 +.Dd July 30, 2004 .Dt ISBLANK 3 .Os .Sh NAME @@ -67,14 +67,12 @@ or the value of .Dv EOF . .Sh COMPATIBILITY -Although -.Fn isblank -accepts arguments outside of the range of the +The +.Bx 4.4 +extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets, -this is a -.Bx 4.4 -extension and the +type in locales with large character sets is deprecated. +The .Fn iswblank function should be used instead for maximum portability. .Sh RETURN VALUES ==== //depot/projects/kse/lib/libc/locale/iscntrl.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)iscntrl.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/iscntrl.3,v 1.15 2002/12/05 08:50:00 ru Exp $ +.\" $FreeBSD: src/lib/libc/locale/iscntrl.3,v 1.16 2004/07/29 23:32:41 tjr Exp $ .\" -.Dd October 6, 2002 +.Dd July 30, 2004 .Dt ISCNTRL 3 .Os .Sh NAME @@ -79,15 +79,13 @@ function returns zero if the character tests false and returns non-zero if the character tests true. .Sh COMPATIBILITY -Although -.Fn iscntrl -accepts arguments outside of the range of the +The +.Bx 4.4 +extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets, -this is a -.Bx 4.4 -extension and the -.Fn iwcntrl +type in locales with large character sets is deprecated. +The +.Fn iswcntrl function should be used instead for maximum portability. .Sh SEE ALSO .Xr ctype 3 , ==== //depot/projects/kse/lib/libc/locale/isdigit.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isdigit.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isdigit.3,v 1.17 2004/03/30 07:02:04 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isdigit.3,v 1.18 2004/07/29 23:32:41 tjr Exp $ .\" -.Dd March 30, 2004 +.Dd July 30, 2004 .Dt ISDIGIT 3 .Os .Sh NAME @@ -85,14 +85,12 @@ functions return zero if the character tests false and returns non-zero if the character tests true. .Sh COMPATIBILITY -Although -.Fn isdigit -accepts arguments outside of the range of the +The +.Bx 4.4 +extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets, -this is a -.Bx 4.4 -extension and the +type in locales with large character sets is deprecated. +The .Fn iswdigit function should be used instead for maximum portability. .Sh SEE ALSO ==== //depot/projects/kse/lib/libc/locale/isgraph.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isgraph.3 8.2 (Berkeley) 12/11/93 -.\" $FreeBSD: src/lib/libc/locale/isgraph.3,v 1.17 2002/10/06 10:15:38 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isgraph.3,v 1.18 2004/07/29 23:32:41 tjr Exp $ .\" -.Dd October 6, 2002 +.Dd July 30, 2004 .Dt ISGRAPH 3 .Os .Sh NAME @@ -94,14 +94,12 @@ function returns zero if the character tests false and returns non-zero if the character tests true. .Sh COMPATIBILITY -Although -.Fn isgraph -accepts arguments outside of the range of the +The +.Bx 4.4 +extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets, -this is a -.Bx 4.4 -extension and the +type in locales with large character sets is deprecated. +The .Fn iswgraph function should be used instead for maximum portability. .Sh SEE ALSO ==== //depot/projects/kse/lib/libc/locale/islower.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)islower.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/islower.3,v 1.15 2002/10/06 10:15:38 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/islower.3,v 1.16 2004/07/29 23:32:41 tjr Exp $ .\" -.Dd October 6, 2002 +.Dd July 30, 2004 .Dt ISLOWER 3 .Os .Sh NAME @@ -78,14 +78,12 @@ function returns zero if the character tests false and returns non-zero if the character tests true. .Sh COMPATIBILITY -Although -.Fn islower -accepts arguments outside of the range of the +The +.Bx 4.4 +extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets, -this is a -.Bx 4.4 -extension and the +type in locales with large character sets is deprecated. +The .Fn iswlower function should be used instead for maximum portability. .Sh SEE ALSO ==== //depot/projects/kse/lib/libc/locale/isprint.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isprint.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isprint.3,v 1.18 2002/10/06 10:15:38 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isprint.3,v 1.19 2004/07/29 23:32:41 tjr Exp $ .\" -.Dd October 6, 2002 +.Dd July 30, 2004 .Dt ISPRINT 3 .Os .Sh NAME @@ -92,14 +92,12 @@ function returns zero if the character tests false and returns non-zero if the character tests true. .Sh COMPATIBILITY -Although -.Fn isprint -accepts arguments outside of the range of the +The +.Bx 4.4 +extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets, -this is a -.Bx 4.4 -extension and the +type in locales with large character sets is deprecated. +The .Fn iswprint function should be used instead for maximum portability. .Sh SEE ALSO ==== //depot/projects/kse/lib/libc/locale/ispunct.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)ispunct.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/ispunct.3,v 1.16 2002/10/06 10:15:38 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/ispunct.3,v 1.17 2004/07/29 23:32:41 tjr Exp $ .\" -.Dd October 6, 2002 +.Dd July 30, 2004 .Dt ISPUNCT 3 .Os .Sh NAME @@ -84,14 +84,12 @@ function returns zero if the character tests false and returns non-zero if the character tests true. .Sh COMPATIBILITY -Although -.Fn ispunct -accepts arguments outside of the range of the +The +.Bx 4.4 +extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets, -this is a -.Bx 4.4 -extension and the +type in locales with large character sets is deprecated. +The .Fn iswpunct function should be used instead for maximum portability. .Sh SEE ALSO ==== //depot/projects/kse/lib/libc/locale/isspace.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isspace.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isspace.3,v 1.15 2002/10/06 10:15:38 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isspace.3,v 1.16 2004/07/29 23:32:41 tjr Exp $ .\" -.Dd October 6, 2002 +.Dd July 30, 2004 .Dt ISSPACE 3 .Os .Sh NAME @@ -76,14 +76,12 @@ function returns zero if the character tests false and returns non-zero if the character tests true. .Sh COMPATIBILITY -Although -.Fn isspace -accepts arguments outside of the range of the +The +.Bx 4.4 +extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets, -this is a -.Bx 4.4 -extension and the +type in locales with large character sets is deprecated. +The .Fn iswspace function should be used instead for maximum portability. .Sh SEE ALSO ==== //depot/projects/kse/lib/libc/locale/isupper.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isupper.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isupper.3,v 1.16 2002/10/06 10:15:38 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isupper.3,v 1.17 2004/07/29 23:32:41 tjr Exp $ .\" -.Dd October 6, 2002 +.Dd July 30, 2004 .Dt ISUPPER 3 .Os .Sh NAME @@ -78,14 +78,12 @@ function returns zero if the character tests false and returns non-zero if the character tests true. .Sh COMPATIBILITY -Although -.Fn isupper -accepts arguments outside of the range of the +The +.Bx 4.4 +extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets, -this is a -.Bx 4.4 -extension and the +type in locales with large character sets is deprecated. +The .Fn iswupper function should be used instead for maximum portability. .Sh SEE ALSO ==== //depot/projects/kse/lib/libc/locale/isxdigit.3#4 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isxdigit.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isxdigit.3,v 1.18 2004/06/21 19:54:56 mpp Exp $ +.\" $FreeBSD: src/lib/libc/locale/isxdigit.3,v 1.19 2004/07/29 23:32:41 tjr Exp $ .\" -.Dd March 30, 2004 +.Dd July 30, 2004 .Dt ISXDIGIT 3 .Os .Sh NAME @@ -86,15 +86,13 @@ function returns zero if the character tests false and returns non-zero if the character tests true. .Sh COMPATIBILITY -Although -.Fn isxdigit -accepts arguments outside of the range of the +The +.Bx 4.4 +extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets, -this is a -.Bx 4.4 -extension and the -.Fn isxwdigit +type in locales with large character sets is deprecated. +The +.Fn iswxdigit function should be used instead for maximum portability. .Sh SEE ALSO .Xr ctype 3 , ==== //depot/projects/kse/lib/libc/stdlib/getopt.3#4 (text+ko) ==== @@ -32,7 +32,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)getopt.3 8.5 (Berkeley) 4/27/95 -.\" $FreeBSD: src/lib/libc/stdlib/getopt.3,v 1.24 2004/07/03 22:30:09 ru Exp $ +.\" $FreeBSD: src/lib/libc/stdlib/getopt.3,v 1.25 2004/07/31 01:00:50 imp Exp $ .\" .Dd April 27, 1995 .Dt GETOPT 3 @@ -164,8 +164,7 @@ function returns \-1 when the argument list is exhausted. .Sh EXAMPLES .Bd -literal -compact -extern char *optarg; -extern int optind; +#include int bflag, ch, fd; bflag = 0; ==== //depot/projects/kse/lib/libkvm/kvm_getswapinfo.3#4 (text+ko) ==== @@ -1,10 +1,27 @@ -.\" Copyright (c) 1999, Matthew Dillon. All rights reserved. +.\" Copyright (C) 1999 Matthew Dillon. All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided under the terms of the BSD -.\" Copyright as found in /usr/src/COPYRIGHT in the FreeBSD source tree. +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libkvm/kvm_getswapinfo.3,v 1.12 2004/07/02 23:52:16 ru Exp $ +.\" $FreeBSD: src/lib/libkvm/kvm_getswapinfo.3,v 1.13 2004/07/31 18:49:53 imp Exp $ .\" .Dd January 22, 1999 .Dt KVM_SWAPINFO 3 ==== //depot/projects/kse/lib/libkvm/kvm_getswapinfo.c#5 (text+ko) ==== @@ -1,14 +1,31 @@ /* * Copyright (c) 1999, Matthew Dillon. All Rights Reserved. - * Copyright (c) 2001, Thomas Moestl + * Copyright (c) 2001, Thomas Moestl. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided under the terms of the BSD - * Copyright as found in /usr/src/COPYRIGHT in the FreeBSD source tree. + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. */ #include -__FBSDID("$FreeBSD: src/lib/libkvm/kvm_getswapinfo.c,v 1.25 2003/07/31 21:42:12 phk Exp $"); +__FBSDID("$FreeBSD: src/lib/libkvm/kvm_getswapinfo.c,v 1.26 2004/07/31 18:49:53 imp Exp $"); #include #include ==== //depot/projects/kse/lib/libpthread/arch/amd64/amd64/context.S#3 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/lib/libpthread/arch/amd64/amd64/context.S,v 1.6 2004/06/07 21:25:16 tjr Exp $"); +__FBSDID("$FreeBSD: src/lib/libpthread/arch/amd64/amd64/context.S,v 1.7 2004/07/31 14:18:26 davidxu Exp $"); /* * The following notes ("cheat sheet") was provided by Peter Wemm. @@ -106,15 +106,17 @@ #define MC_R15 (15 * 8) #define MC_FLAGS (18 * 8) #define MC_RIP (20 * 8) +#define MC_CS (21 * 8) #define MC_RFLAGS (22 * 8) #define MC_RSP (23 * 8) +#define MC_SS (24 * 8) #define REDZONE 128 /* size of the red zone */ >>> TRUNCATED FOR MAIL (1000 lines) <<<