From owner-cvs-src@FreeBSD.ORG Wed Jun 25 20:55:59 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4940837B401; Wed, 25 Jun 2003 20:55:59 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB11943FD7; Wed, 25 Jun 2003 20:55:58 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5Q3tw0U080181; Wed, 25 Jun 2003 20:55:58 -0700 (PDT) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5Q3twp9080180; Wed, 25 Jun 2003 20:55:58 -0700 (PDT) Message-Id: <200306260355.h5Q3twp9080180@repoman.freebsd.org> From: Marcel Moolenaar Date: Wed, 25 Jun 2003 20:55:58 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libpthread/arch/ia64/include pthread_md.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2003 03:55:59 -0000 marcel 2003/06/25 20:55:58 PDT FreeBSD src repository Modified files: lib/libpthread/arch/ia64/include pthread_md.h Log: Implement _thr_enter_uts() and _thr_switch() as inline functions to minimize the amount and complexity of assembly code that needs to be written. This way the core functionality is spread over 3 elementary functions that don't have to do anything that can more easily and more safely be done in C. As such, assembly code will only have to know about the definition of mcontext_t. The runtime cost of not having these functions being inlined is less important than the cleanliness and maintainability of the code at this stage of the implementation. Revision Changes Path 1.3 +30 -0 src/lib/libpthread/arch/ia64/include/pthread_md.h