Skip to contentSkip to conversation

Is FW_CFG_PPC_CPUFREQ deprecated?

Qemu-devel Mark Cave-Ayland 2 participants 3 messages Apr 12, 2013 – Apr 20, 2013

lore
Share & tools
lore
#0 lore raw

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?

ATB,

Mark.

#1 lore raw
Quoted 3 lines · Mark Cave-Ayland

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

Alex

#2 lore raw
Quoted 5 lines · Alexander Graf
Quoted 3 lines

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.