Index: arch/ppc/qemu/init.c
===================================================================
--- arch/ppc/qemu/init.c (revision 1041)
+++ arch/ppc/qemu/init.c (working copy)
@@ -250,12 +250,14 @@
push_str("icache-block-size");
fword("property");
- PUSH(fw_cfg_read_i32(FW_CFG_PPC_TBFREQ));
+ /* XXX - Mac OS X needs valid values for timebase-frequency and clock-frequency
+ for scheduling to work. These are just temporary values and shouldn't be hardcoded here. */
+ PUSH(16600000);
fword("encode-int");
push_str("timebase-frequency");
fword("property");
- PUSH(fw_cfg_read_i32(FW_CFG_PPC_CPUFREQ));
+ PUSH(266000000);
fword("encode-int");
push_str("clock-frequency");
fword("property");