[OpenBIOS] [PATCH 1/4] Changes for MorphOS

BALATON Zoltan balaton at eik.bme.hu
Thu Mar 6 19:34:25 CET 2014


arch/ppc/qemu: Fix cache parameter property names to match the standard.

Signed-off-by: BALATON Zoltan <balaton at eik.bme.hu>

Index: openbios-devel/arch/ppc/qemu/init.c
===================================================================
--- openbios-devel/arch/ppc/qemu/init.c	(revision 1272)
+++ openbios-devel/arch/ppc/qemu/init.c	(working copy)
@@ -241,32 +241,32 @@

     PUSH(cpu->dcache_size);
     fword("encode-int");
-    push_str("dcache-size");
+    push_str("d-cache-size");
     fword("property");

     PUSH(cpu->icache_size);
     fword("encode-int");
-    push_str("icache-size");
+    push_str("i-cache-size");
     fword("property");

     PUSH(cpu->dcache_sets);
     fword("encode-int");
-    push_str("dcache-sets");
+    push_str("d-cache-sets");
     fword("property");

     PUSH(cpu->icache_sets);
     fword("encode-int");
-    push_str("icache-sets");
+    push_str("i-cache-sets");
     fword("property");

     PUSH(cpu->dcache_block_size);
     fword("encode-int");
-    push_str("dcache-block-size");
+    push_str("d-cache-block-size");
     fword("property");

     PUSH(cpu->icache_block_size);
     fword("encode-int");
-    push_str("icache-block-size");
+    push_str("i-cache-block-size");
     fword("property");

     PUSH(fw_cfg_read_i32(FW_CFG_PPC_TBFREQ));



More information about the OpenBIOS mailing list