Re: Initialized variables are not working when built using PB



Second stage bootloader? What is that?

The initialized global variables cannot be accessed until after calling
KernelRelocate().

--
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

"Manjunath" <Manjunath@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2B6F4923-4378-4B10-8454-1DC5830F22D4@xxxxxxxxxxxxxxxx
Yes, it is second stage bootloader.
--
Regards
Manjunath


"Bruce Eitman [eMVP]" wrote:

Is this in the bootloader?

--
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

"Manjunath" <Manjunath@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CD782120-C21B-4689-BEA9-95EDD2FF0A6D@xxxxxxxxxxxxxxxx
Hello

Initialized variables are not working when built using Platform Builder
for
WinCE 5.0.
Variables intialized at declaration for e.g.
UINT32 test = 0x12345678;

Variable "test" is initialized with value 0x12345678 is not working
when
compared with same value.
When I saw the map file it is in initialized data section at say "x"
address
but when I saw after dumping is at "x+length of .pdata section".

Can anybody help in this regard?
Thanks.

--
Regards
Manjunath





.



Relevant Pages