Re: What is the corresponding function calls for "GetTickCount()" by eg_yskaa
eg_yskaa
Wed Nov 29 21:58:25 CST 2006
Hi K.S. Huang,
Yes, I did try to build without BINFS, not define "IMGMULTIXIP" and
"IMGMULTIBIN"(that is the original one) and the system can boot-up
correctly. I tried to switch to debug build and the problem seems to be
resolved (The reason why I guess GetTickCount will call SC_GetTickCount
is because I try to step GetTickCount and it passes some assembly lines
then jump to SC_GetTickCount).
Another observation is that if I enable XIP but physically disconnect
Nand flash, the system can boot-up and run correctly.
Do you have any advice on this problem? Thanks for your help.
Regards
Nicholas
K. S. Huang wrote:
> It is quite interested...
> Have you try to build a simple OS Image without BINFS support to see if the
> GetTickCount could work well or not.
> It seems that with unknow reason the coredll might be corrupted or something
> wrong so that the GetTickCount API will not redirect to kernel.
>
> <eg_yskaa@yahoo.com.hk>
> ???????:1164704060.609274.320240@l12g2000cwl.googlegroups.com...
> > Hi K.S. Huang
> >
> > Thanks for the reply! I also tried to add code there. I found out that
> > if i ouput the value in the function "SC_GetTickCount"(that is the
> > value CurMSec), it did change. But if i output the value
> > GetTickCount(), the value is a constant. Do you have any idea about
> > that? Thanks.
> >
> > Regards,
> > Nicholas
> >
> >
> > K. S. Huang wrote:
> >> The GetTickCount is implemented in kernel (OAL) known as the
> >> SC_GetTickCount
> >> function.
> >> <eg_yskaa@yahoo.com.hk>
> >> ???????:1164685574.828026.48810@14g2000cws.googlegroups.com...
> >> > Hi all,
> >> >
> >> > I don't know why when I try to enable multi-binFS and XIP, the return
> >> > value of GetTickCount() is always a constant. Can anyone please tell
> >> > what is the final OAL function that "GetTickCount()" will call finally?
> >> > Thanks for the infomation.
> >> >
> >> > Regards,
> >> > Nicholas
> >> >
> >