Subject: Re: [wrstuden@netbsd.org: CVS commit: src/sys/arch/macppc/conf]
To: Chris Tribo <ctribo@college.dtcc.edu>
From: Tim Kelly <hockey@dialectronics.com>
List: port-macppc
Date: 10/25/2004 02:08:07
Hi Chris,
> Cool! That was a lot of info. I don't understand all of it since I
> don't know much about ABIs and compilers, but you did a great job of
> explaining it! For future reference:
Thanks! If you let me know what parts you didn't understand, please let
me know and I will attempt to expand/clarify.
> Here's an Open Firmware 2.0f1 Beige G3/DT/233 with the "B rev" ROM
> DIMM load-base is 600000 and
> real-base is F00000 and
> 384 MB of RAM, reports relative addressing mode
>
> 0 > dev /memory .properties ok
> name memory
> device_type memory
> reg 00000000 18000000
> available 00000000 00F00000 01000000 17000000
>
> and a PDQ PowerBook G3 with 512 MB of RAM, same real and load base
> settings. Open Firmware 2.0.1 (reports relative addressing mode)
>
> reg 00000000 10000000
> available 00000000 00F00000 01000000 0F000000
In both case, as we see, there is a discontinuity in the available
memory. There are 15M of memory available starting at 0x0, and then xM
of memory available at 16M. Both add up to the "reg" value. In the
second case, only 256M of memory are showing up in OF, but all 384M show
up in the first case.
Can you post the values after
setenv real-base ffffffff
so that I could see where OF gets loaded in a default real-base?
thanks,
tim