From owner-freebsd-mips@FreeBSD.ORG Thu Feb 18 19:09:09 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 6D44F1065670 for ; Thu, 18 Feb 2010 19:09:09 +0000 (UTC) (envelope-from gonzo@launchpad.bluezbox.com) Received: from launchpad.bluezbox.com (launchpad.bluezbox.com [195.137.202.161]) by mx1.freebsd.org (Postfix) with ESMTP id 20FA58FC13 for ; Thu, 18 Feb 2010 19:09:08 +0000 (UTC) Received: from [76.77.86.2] (helo=[10.80.5.136]) by launchpad.bluezbox.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NiBkC-0007Gf-Ph; Thu, 18 Feb 2010 19:09:04 +0000 Message-ID: <4B7D902C.1040007@bluezbox.com> Date: Thu, 18 Feb 2010 11:08:28 -0800 From: Oleksandr Tymoshenko User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: "M. Warner Losh" References: <4B7CED35.5@bluezbox.com> <20100218.085959.167578749289907151.imp@bsdimp.com> In-Reply-To: <20100218.085959.167578749289907151.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gonzo@launchpad.bluezbox.com X-Spam-Level: ---- X-Spam-Report: -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] -0.4 AWL AWL: From: address is in the auto white-list Cc: freebsd-mips@FreeBSD.org Subject: Re: option KERNVIRTADDR - ok to remove? 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: Thu, 18 Feb 2010 19:09:09 -0000 M. Warner Losh wrote: > In message: <4B7CED35.5@bluezbox.com> > Oleksandr Tymoshenko writes: > : Neel Natu wrote: > : > Hi everybody, > : > > : > This kernel option is set by all kernel config files but there is no > : > code that makes use of it. > : > > : > I think it is safe to remove but since it affects all kernel configs I > : > wanted to give people a chance to chime in. > : > > : Go for it. And while you're there :) - KERNPHYSADDR is unrefernced > : too. I believe it's > : safe to delete both of them. > > IIRC, they may be a carry over from ARM. Maybe for the compression > stuff? Anyway, if they are unused, we can delete them. Yes, they are ARM-isms that were blindly copied from ARM source tree. When making trampoline stuff I used KERNLOADADDR and TRAMPLOADADDR variables because KERNPHYSADDR/KERNVIRTADD naming semantics is not applicable for MIPS memory layout.