Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2010 11:08:28 -0800
From:      Oleksandr Tymoshenko <gonzo@bluezbox.com>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-mips@FreeBSD.org
Subject:   Re: option KERNVIRTADDR - ok to remove?
Message-ID:  <4B7D902C.1040007@bluezbox.com>
In-Reply-To: <20100218.085959.167578749289907151.imp@bsdimp.com>
References:  <dffe84831002172224o4b594592p2693907951180352@mail.gmail.com>	<4B7CED35.5@bluezbox.com> <20100218.085959.167578749289907151.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh wrote:
> In message: <4B7CED35.5@bluezbox.com>
>             Oleksandr Tymoshenko <gonzo@bluezbox.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B7D902C.1040007>