From owner-cvs-all@FreeBSD.ORG Mon Mar 1 22:13:09 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E703116A4CE; Mon, 1 Mar 2004 22:13:09 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E19F343D2D; Mon, 1 Mar 2004 22:13:09 -0800 (PST) (envelope-from grehan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i226D9Ge003464; Mon, 1 Mar 2004 22:13:09 -0800 (PST) (envelope-from grehan@repoman.freebsd.org) Received: (from grehan@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i226D9HA003463; Mon, 1 Mar 2004 22:13:09 -0800 (PST) (envelope-from grehan) Message-Id: <200403020613.i226D9HA003463@repoman.freebsd.org> From: Peter Grehan Date: Mon, 1 Mar 2004 22:13:09 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/powerpc/include ucontext.hsrc/sys/powerpc/powerpc copyinout.c machdep.c vm_machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 06:13:10 -0000 grehan 2004/03/01 22:13:09 PST FreeBSD src repository Modified files: sys/powerpc/include ucontext.h sys/powerpc/powerpc copyinout.c machdep.c vm_machdep.c Log: Kernel changes for libthr (and probably libpthread). include/ucontext.h - remove trapframe and switch over to 'generic' description of machine state. Include version field to help with future modifications. Include floating point and altivec state, and hopefully align correctly powerpc/copyinout.c - fill out casuptr() sync primitive, required by kern_umtx.c powerpc/machdep.c - shifted proc0/thread0/pcpu setup to before cninit, since syscons -> make_dev -> devlock requires a valid curthread - implemented get_mcontext/set_mcontext - recast sendsig/sigreturn to use get/set_mcontext and new ucontext struct. floating point now saved - TODO: save/restore altivec state powerpc/vm_machdep.c - implemented cpu_thread_setup/cpu_set_upcall/cpu_set_upcall_kse - eliminated trailing whitespace Submitted by: Suleiman Souhlal , ucontext by grehan Revision Changes Path 1.3 +32 -6 src/sys/powerpc/include/ucontext.h 1.10 +27 -0 src/sys/powerpc/powerpc/copyinout.c 1.69 +127 -60 src/sys/powerpc/powerpc/machdep.c 1.97 +60 -12 src/sys/powerpc/powerpc/vm_machdep.c