<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">As an addition to my post at qemu-ppc, I’d like to add support for a few more cpus to Openbios, so when I get KVM to support -cpu host: openbios will be able to boot from the cpu’s I have.<div class=""><br class=""></div><div class="">Right now I have a Powerbook6,8 with a 7447a ( PRV 80030105 ) I think this CPU is V1.5.</div><div class=""><br class=""></div><div class="">I also have a iBook with a 750fx ( PVR 70000112 ).</div><div class=""><br class=""></div><div class="">Soon I will have a Quicksilver with Dual 1Ghz G4’s, and an iBook G4 with a 7447a, not sure of the PVR’s yet.</div><div class=""><br class=""></div><div class="">So, I see that I need to edit the init.c, and I noticed we might need some real values from some of the chips.</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 132, 0); background-color: rgb(255, 255, 255);" class=""><span style="color: #000000" class="">{ </span>// XXX find out real values</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">        .iu_version = <span style="color: #272ad8" class="">0x800c0000</span>,</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">        .name = <span style="color: #d12f1b" class="">"PowerPC,74xx"</span>,</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">        .icache_size = <span style="color: #272ad8" class="">0x8000</span>,</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">        .dcache_size = <span style="color: #272ad8" class="">0x8000</span>,</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">        .icache_sets = <span style="color: #272ad8" class="">0x80</span>,</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">        .dcache_sets = <span style="color: #272ad8" class="">0x80</span>,</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">        .icache_block_size = <span style="color: #272ad8" class="">0x20</span>,</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">        .dcache_block_size = <span style="color: #272ad8" class="">0x20</span>,</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">        .tlb_sets = <span style="color: #272ad8" class="">0x40</span>,</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">        .tlb_size = <span style="color: #272ad8" class="">0x80</span>,</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">        .initfn = cpu_750_init,</div></div><div class=""><br class=""></div><div class="">Mark, how can I get the values needed from my CPU’s?</div><div class=""><br class=""></div><div class="">I’m assuming we need the values for the .icach_size etc.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""> </div></body></html>