[OpenBIOS] Patch:Add 7447a support.

Jd Lyons lyons_dj at yahoo.com
Sat Jan 20 15:38:21 CET 2018


This patch should get all 7447a cpus working with openbios, needs a corresponding patch to Qemu-ppc for the v1.5

diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c
index 5ce080c..09b2db4 100644
--- a/arch/ppc/qemu/init.c
+++ b/arch/ppc/qemu/init.c
@@ -550,6 +550,18 @@ static const struct cpudef ppc_defs[] = {
         .tlb_size = 0x80,
         .initfn = cpu_g4_init,
     },
+    .iu_version = 0x80030000,
+    .name = "PowerPC,G4",
+    .icache_size = 0x8000,
+    .dcache_size = 0x8000,
+    .icache_sets = 0x80,
+    .dcache_sets = 0x80,
+    .icache_block_size = 0x20,
+    .dcache_block_size = 0x20,
+    .tlb_sets = 0x40,
+    .tlb_size = 0x80,
+    .initfn = cpu_g4_init,
+},
     {
         .iu_version = 0x00390000,
         .name = "PowerPC,970", 


More information about the OpenBIOS mailing list