Revision a1014f25
b/hw/ppc/mac_newworld.c | ||
---|---|---|
449 | 449 |
} else { |
450 | 450 |
fw_cfg_add_i32(fw_cfg, FW_CFG_PPC_TBFREQ, get_ticks_per_sec()); |
451 | 451 |
} |
452 |
/* Mac OS X requires a "known good" clock-frequency value; pass it one. */ |
|
453 |
fw_cfg_add_i32(fw_cfg, FW_CFG_PPC_CLOCKFREQ, 266000000); |
|
452 | 454 |
|
453 | 455 |
qemu_register_boot_set(fw_cfg_boot_set, fw_cfg); |
454 | 456 |
} |
b/hw/ppc/mac_oldworld.c | ||
---|---|---|
333 | 333 |
} else { |
334 | 334 |
fw_cfg_add_i32(fw_cfg, FW_CFG_PPC_TBFREQ, get_ticks_per_sec()); |
335 | 335 |
} |
336 |
/* Mac OS X requires a "known good" clock-frequency value; pass it one. */ |
|
337 |
fw_cfg_add_i32(fw_cfg, FW_CFG_PPC_CLOCKFREQ, 266000000); |
|
336 | 338 |
|
337 | 339 |
qemu_register_boot_set(fw_cfg_boot_set, fw_cfg); |
338 | 340 |
} |
b/include/hw/ppc/ppc.h | ||
---|---|---|
87 | 87 |
#define FW_CFG_PPC_HEIGHT (FW_CFG_ARCH_LOCAL + 0x01) |
88 | 88 |
#define FW_CFG_PPC_DEPTH (FW_CFG_ARCH_LOCAL + 0x02) |
89 | 89 |
#define FW_CFG_PPC_TBFREQ (FW_CFG_ARCH_LOCAL + 0x03) |
90 |
#define FW_CFG_PPC_CLOCKFREQ (FW_CFG_ARCH_LOCAL + 0x04) |
|
90 | 91 |
#define FW_CFG_PPC_IS_KVM (FW_CFG_ARCH_LOCAL + 0x05) |
91 | 92 |
#define FW_CFG_PPC_KVM_HC (FW_CFG_ARCH_LOCAL + 0x06) |
92 | 93 |
#define FW_CFG_PPC_KVM_PID (FW_CFG_ARCH_LOCAL + 0x07) |
Also available in: Unified diff