I have a platform that can be build with 32 or 64Meg of RAM.

I would like to build just one image that will support them both (i.e.
available ram determined at run time).

I seem to recall there may be an API call that could do this.
Basically I would build the image for 32M and upon startup it would sense if
64M is available and if so expand available RAM.

I think the call was made in OALInit function.

Does anyone know the call and were and how to use it?

Re: Expanding RAM at runtime startup by Valter

Valter
Mon Dec 17 06:54:53 PST 2007

"Skin Diver" <me@home.com> wrote in
news:OhDYtvLQIHA.4740@TK2MSFTNGP02.phx.gbl:

> I have a platform that can be build with 32 or 64Meg of RAM.
>
> I would like to build just one image that will support them both
> (i.e. available ram determined at run time).
>
> I seem to recall there may be an API call that could do this.
> Basically I would build the image for 32M and upon startup it
> would sense if 64M is available and if so expand available RAM.
>
> I think the call was made in OALInit function.
>
> Does anyone know the call and were and how to use it?

You should implement OEMGetExtensionDRAM inside your OAL.


--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)

Re: Expanding RAM at runtime startup by Bruce

Bruce
Mon Dec 17 06:56:49 PST 2007

pNKEnumExtensionDRAM or OEMGetExtensionDRAM

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"Skin Diver" <me@home.com> wrote in message
news:OhDYtvLQIHA.4740@TK2MSFTNGP02.phx.gbl...
>I have a platform that can be build with 32 or 64Meg of RAM.
>
> I would like to build just one image that will support them both (i.e.
> available ram determined at run time).
>
> I seem to recall there may be an API call that could do this.
> Basically I would build the image for 32M and upon startup it would sense
> if 64M is available and if so expand available RAM.
>
> I think the call was made in OALInit function.
>
> Does anyone know the call and were and how to use it?
>
>
>



Re: Expanding RAM at runtime startup by Dean

Dean
Mon Dec 17 07:26:41 PST 2007

And note that *you* are responsible for determining if there really is
additional RAM available. You implement one of these calls, and use it to
tell the OS how much RAM there is. The function doesn't figure it out on
it's own.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Bruce Eitman [eMVP]" <beitman.nospam@applieddata.net.nospam> wrote in
message news:uecUu0LQIHA.748@TK2MSFTNGP04.phx.gbl...
> pNKEnumExtensionDRAM or OEMGetExtensionDRAM
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
> "Skin Diver" <me@home.com> wrote in message
> news:OhDYtvLQIHA.4740@TK2MSFTNGP02.phx.gbl...
>>I have a platform that can be build with 32 or 64Meg of RAM.
>>
>> I would like to build just one image that will support them both (i.e.
>> available ram determined at run time).
>>
>> I seem to recall there may be an API call that could do this.
>> Basically I would build the image for 32M and upon startup it would sense
>> if 64M is available and if so expand available RAM.
>>
>> I think the call was made in OALInit function.
>>
>> Does anyone know the call and were and how to use it?
>>
>>
>>
>
>



Re: Expanding RAM at runtime startup by Skin

Skin
Mon Dec 17 09:01:53 PST 2007

Thanks ...thas just what I was looking for.

"Dean Ramsier" <ramsiernospam@nospam.com> wrote in message
news:OXU7mDMQIHA.3516@TK2MSFTNGP02.phx.gbl...
> And note that *you* are responsible for determining if there really is
> additional RAM available. You implement one of these calls, and use it to
> tell the OS how much RAM there is. The function doesn't figure it out on
> it's own.
>
> --
> Dean Ramsier - eMVP
> BSQUARE Corporation
>
>
> "Bruce Eitman [eMVP]" <beitman.nospam@applieddata.net.nospam> wrote in
> message news:uecUu0LQIHA.748@TK2MSFTNGP04.phx.gbl...
>> pNKEnumExtensionDRAM or OEMGetExtensionDRAM
>>
>> --
>> Bruce Eitman (eMVP)
>> Senior Engineer
>> beitman AT applieddata DOT net
>>
>> Applied Data Systems
>> www.applieddata.net
>> An ISO 9001:2000 Registered Company
>> Microsoft WEP Gold-level Member
>>
>> "Skin Diver" <me@home.com> wrote in message
>> news:OhDYtvLQIHA.4740@TK2MSFTNGP02.phx.gbl...
>>>I have a platform that can be build with 32 or 64Meg of RAM.
>>>
>>> I would like to build just one image that will support them both (i.e.
>>> available ram determined at run time).
>>>
>>> I seem to recall there may be an API call that could do this.
>>> Basically I would build the image for 32M and upon startup it would
>>> sense if 64M is available and if so expand available RAM.
>>>
>>> I think the call was made in OALInit function.
>>>
>>> Does anyone know the call and were and how to use it?
>>>
>>>
>>>
>>
>>
>
>