From owner-freebsd-mips@FreeBSD.ORG Mon Apr 22 20:57:44 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C2390913 for ; Mon, 22 Apr 2013 20:57:44 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by mx1.freebsd.org (Postfix) with ESMTP id 4873014E5 for ; Mon, 22 Apr 2013 20:57:44 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id y8so16186lbh.21 for ; Mon, 22 Apr 2013 13:57:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=efR0AU04dgr4lXxgKnoImv5NvK7b5v0/RxlEm27bsBA=; b=VsX8/GuwtW+Jk3hckLIQz416Ug5cZy4zoPtPVsLoTDnPE5I9JCV4MC2i71PIv3+bYk hcJLCj1qfcllelavGUj61CkkVn9aWC/jQjFJPryF9+Hm/3qpOiMewEvxUw2WWzB77Bb0 /d63LZNj1C+9gyONPpklpUl5F981jx6zgVr9Jp151OIsy+BjhQL2AjWSdj1/rgIkU8B0 wR/62CGTxO2P/loW5gN7knD3eP3zdYtakr3mqehz4LxcVpEP3FJzYSRAQHezv8wrRA+s OFoPYmhH0VG/dnS5V1YZrW0cu9fgKQr/l+1RiO9ErjTGBZvdbMAkyzh/T4KIhYR8NIcs lFmA== X-Received: by 10.112.162.40 with SMTP id xx8mr14042843lbb.30.1366664262878; Mon, 22 Apr 2013 13:57:42 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.152.28.196 with HTTP; Mon, 22 Apr 2013 13:57:22 -0700 (PDT) In-Reply-To: References: <201304220300.r3M301iY093070@freefall.freebsd.org> <51753506.3070901@rewt.org.uk> From: Juli Mallett Date: Mon, 22 Apr 2013 13:57:22 -0700 X-Google-Sender-Auth: ElXrlg0fiheW7JCHMthGgyzvCOg Message-ID: Subject: Re: kern/177876: [mips] kernel stack overflow panic on mips64, EdgeRouter Lite To: Warner Losh Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQk7e5hYtvfcJg6zRBDhfBmncZP1/eI2khNJ6994P0kammPn+E00DVMurvdMvS6Bl79tR/wJ Cc: Joe Holden , "freebsd-mips@FreeBSD.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Apr 2013 20:57:44 -0000 On Mon, Apr 22, 2013 at 1:42 PM, Warner Losh wrote: >> If the header gets nuked, we'll find out fast :) (And I really do >> think that's the right way forward...) > > "the" here is which one of the three different headers that list the registers? regnum.h, although I guess some other bits may be harder to fix. Still, the header explicitly mentioned needing to keep in sync with trapframe; it's a list of offsets into struct trapframe, not a list of registers. So it should just go away. Probably much of the rest of the header should go away, too; like, why on earth do we need PREG_S0 and friends?