W dniu 31 stycznia 2010 00:14 użytkownik Rafał Miłecki
I have one more question about AtomBIOS commands. Could you explain paramspace, please?
I dumped SetEngineClock operation from my AtomBIOS and it uses: param[00] param[01] param[02]
AFAIU each param is 4 dwords, so 32bit. But it seems we pass only one ULONG as argument (param):
/****************************************************************************/ // Structures used by SetEngineClockTable /****************************************************************************/ typedef struct _SET_ENGINE_CLOCK_PARAMETERS { ULONG ulTargetEngineClock; //In 10Khz unit }SET_ENGINE_CLOCK_PARAMETERS;
typedef struct _SET_ENGINE_CLOCK_PS_ALLOCATION { ULONG ulTargetEngineClock; //In 10Khz unit COMPUTE_MEMORY_ENGINE_PLL_PARAMETERS_PS_ALLOCATION sReserved; }SET_ENGINE_CLOCK_PS_ALLOCATION;
does it mean param[01] and param[02] are there just like workspace variables?
Ahh, it reads only param[00] from but computes other params that are used in subcalls like: 000e: 523c CALL_TABLE 3c (ComputeMemoryEnginePLL) :) -- Rafał -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org