linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Hardcoded Hash_base?
@ 2003-03-13 17:22 Kent Borg
  0 siblings, 0 replies; 3+ messages in thread
From: Kent Borg @ 2003-03-13 17:22 UTC (permalink / raw)
  To: linuxppc-embedded


In arch/ppc/mm/hashtable.S Hash_base is hardcoded at 0xc0180000, with
a comment suggesting that that value is "just an example".  It seems
to be colliding with my initrd, so I am thinking I want to move it.

What restrictions are there for where it goes?  Why doesn't it get
defined from the link?  How is it that other things are supposed to be
kept clear of it?  (Because it is in an mm-directory, does that mean
that the memory manager knows not to allocate that RAM?)

Thanks for any help,

-kb


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Hardcoded Hash_base?
@ 2003-03-13 17:44 Jean-Denis Boyer
  2003-03-13 22:06 ` Kent Borg
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Denis Boyer @ 2003-03-13 17:44 UTC (permalink / raw)
  To: Kent Borg; +Cc: linuxppc-embedded


> In arch/ppc/mm/hashtable.S Hash_base is hardcoded at 0xc0180000, with
> a comment suggesting that that value is "just an example".  It seems
> to be colliding with my initrd, so I am thinking I want to move it.

As the comment says, this code is patched at runtime.
It is done by MMU_init_hw, in arch/ppc/mm/ppc_mmu.c.
The value of Hash_base could be anything, it doesn't matter.

Regards,
--------------------------------------------
 Jean-Denis Boyer, B.Eng., Technical Leader
 Mediatrix Telecom Inc.
 4229 Garlock Street
 Sherbrooke (Québec)
 J1L 2C8  CANADA
 (819)829-8749 x241
--------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Hardcoded Hash_base?
  2003-03-13 17:44 Hardcoded Hash_base? Jean-Denis Boyer
@ 2003-03-13 22:06 ` Kent Borg
  0 siblings, 0 replies; 3+ messages in thread
From: Kent Borg @ 2003-03-13 22:06 UTC (permalink / raw)
  To: Jean-Denis Boyer; +Cc: linuxppc-embedded


On Thu, Mar 13, 2003 at 12:44:50PM -0500, Jean-Denis Boyer wrote:
>
> > In arch/ppc/mm/hashtable.S Hash_base is hardcoded at 0xc0180000, with
> > a comment suggesting that that value is "just an example".  It seems
> > to be colliding with my initrd, so I am thinking I want to move it.
>
> As the comment says, this code is patched at runtime.
> It is done by MMU_init_hw, in arch/ppc/mm/ppc_mmu.c.
> The value of Hash_base could be anything, it doesn't matter.

I guess it does say that.  I my eyes glazed over the several times I
tried to understand the comment right before that.

Thanks,

-kb


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-13 22:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-13 17:44 Hardcoded Hash_base? Jean-Denis Boyer
2003-03-13 22:06 ` Kent Borg
  -- strict thread matches above, loose matches on Subject: below --
2003-03-13 17:22 Kent Borg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).