option KERNVIRTADDR - ok to remove?
gonzo at bluezbox.com
Thu Feb 18 19:09:09 UTC 2010
M. Warner Losh wrote:
> In message: <4B7CED35.5 at bluezbox.com>
> Oleksandr Tymoshenko <gonzo at 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.
More information about the freebsd-mips