On 19/04/13 16:31, Alexander Graf wrote:

Hi everyone,

Has FW_CFG_PPC_CPUFREQ been removed from QEMU for some reason? I noticed that 
the value always comes back as 0 in OpenBIOS, and it looks as if the 
FW_CFG_PPC_CPUFREQ constant (FW_CFG_ARCH_LOCAL + 0x4) has been removed from 
hw/ppc.h?

In fact, it simply never got introduced :)

Yes - I see now from the archives that there was disagreement as to how to obtain the CPU frequency to pass to OpenBIOS, and while the FW_CFG_PPC_CPUFREQ value was removed from the final QEMU commit, it still remains in the related OpenBIOS commit.

Well at least it explains why when booting an PPC OS in QEMU/OpenBIOS all the CPU speeds appear as 0MHz ;)


ATB,

Mark.

Reply via email to