[okl4-developer] Getting initial virtual and physical memory information within a cell

Geoffrey Lee glee at ok-labs.com
Thu Nov 20 14:51:49 EST 2008


On Wed, Nov 19, 2008 at 02:06:33PM +0900, Alexandre Courbot wrote:
> > There are some examples in the source tarball, look in
> > okl4_3.0/examples/.
> 
> Ah right, the pds_zones examples was not included in the SDK, that's
> why I missed it. This is definitely what I need to get started.
> Thanks!
> 
> Any reason why this example is not included in the SDK? Also, I tried
> to compile it with the SDK (just took the singlecell example and
> copy/pasted the code in hello.c). I had to add a -DENDIAN_LITTLE to
> the compile flags, just to figure out that the
> okl4_pd_attr_setconstructrootpd function that is used in the example
> and referenced in the OKL4 Library Reference Manual does not exist,
> neither in the SDK or in OKL4 source code. Not sure about whether this
> function is needed or not (need to dig into the documentation
> further), but just to let you know...


I'm not sure why this example is not included in the SDK.  However,
your point about the missing sample code in the SDK for
the relevant APIs is noted.  Thanks for the report concering
okl4_pd_attr_setconstructrootpd() - we'll make a note of that
if the pd_zones example is actually released as official sample
code on the SDK.

	-gl

> 
> Anyway, thanks for pointing me to the pds_zones example.
> 
> Alex.
> 

-- 




More information about the Developer mailing list