From owner-freebsd-mips@FreeBSD.ORG Mon Sep 13 05:02:07 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F415106564A for ; Mon, 13 Sep 2010 05:02:07 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 237A98FC1A for ; Mon, 13 Sep 2010 05:02:06 +0000 (UTC) Received: by wwb18 with SMTP id 18so6817862wwb.31 for ; Sun, 12 Sep 2010 22:02:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2mam7sdtLdxXiDtwd6MPEsuVr/Z1RWt/wbNSZvFpuEg=; b=HFuTnmRCQ1obhl+aHrFuVV4GPWsU5AX64fLOIxmokXwGHVGAY7c8GQQsvV3gTJb9XF YsNxYrQQZCwOXtD9hm6ftTU9nPqFjchURRKNLWLp11+jPK72wld8NqvSOvctTplVkdeq hS0hLJvdZaHfph5CNsvI8+A0P1A58GS/hDRu4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=J13Q/hZ9XzlWihy2N90pXI9F8XttdM4ZSK3b9H1FaudJTJw9adrQNCTDCPdUmP7cQK w9BlTxnQZzIiivadX6Q1IhB5qi541htI0eqe3OOyIC1DigwF0maiC/kKIJTLVbLBwkCf T+n401fFoaEU36vlSWpMbUTDo3RSWSI6yfuUA= MIME-Version: 1.0 Received: by 10.216.184.19 with SMTP id r19mr3900674wem.36.1284354125951; Sun, 12 Sep 2010 22:02:05 -0700 (PDT) Received: by 10.216.171.12 with HTTP; Sun, 12 Sep 2010 22:02:05 -0700 (PDT) In-Reply-To: References: Date: Mon, 13 Sep 2010 10:32:05 +0530 Message-ID: From: "Jayachandran C." To: Neel Natu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org Subject: Re: patch - remove psracccess.S X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2010 05:02:07 -0000 On Mon, Sep 13, 2010 at 8:01 AM, Neel Natu wrote: > Hi JC, > > On Sun, Sep 12, 2010 at 4:20 AM, Jayachandran C. > wrote: >> The functions in sys/mips/mips/psraccess.S can be implemented with >> mips_rd_status/mips_wr_status. Here's patch that does that. =A0 If there >> are no objections, I will commit this some time tomorrow. >> > > Your patch looks fine. > > I don't see anybody making use of get_intr_mask() so you could choose > to nuke it. There are a couple of places in which it can be used, that is why I thought I would leave it in. JC.