Hi,
I would like to update regarding my question.
We analyzed the OALCalibrateSysClik" funciton. According to our analyzation, this function make "g_dwMeasuredSysClkFreq" valuables. And this valuables is used for "s_Frequency".
And "s_Frequency" valuables is used in "OEMProfileTimerEnable(DWORD dwUSecInterval)"....
As the end reslut, "s_Frequency" valuables is used for "g_pOemGlobal" valuables. "pfnProfileTimerEnable", it is the member valuables of "g_pOemGlobal" struct , it is used for profiler timer interrupt.
According to MSDN information, the "profiler timer interrupt" in OAL is an option. But this is helpful for timer accuracy increasing.
So as a result, "OALCalibrateSysClk" function should not be removed. Is my understanding right?
If it is so, I would like to know how to enable the cache for "OALCalibrateSysClk" funciton.
My customer succeeded to cache enable for "OALCalibrateSysClk" function as the below.
OALCalibrateSysClk() function is moved to the inside of "OALPowerPostInit" of oem_pm.c
They confirmed this modification makes 100ms wait time by "OALStall" function. Is this modification no problem to other funcition and valuables?
Please advise me.
Best regards,
Michi