[OpenBIOS] [PATCH] adds reservation-grandule-size property to cpu's node

Programmingkid programmingkidx at gmail.com
Sat Apr 18 23:55:02 CEST 2015


Recent results have indicated that the cpu's node needs a 
reservation-granule-size property. This patch adds one. The
value of 0x20 is used because it is the value found on real
hardware. 

Signed-Off-By: John Arbuckle <programmingkidx at gmail.com>

Index: arch/ppc/qemu/init.c
===================================================================
--- arch/ppc/qemu/init.c	(revision 1334)
+++ arch/ppc/qemu/init.c	(working copy)
@@ -287,6 +287,11 @@
     fword("encode-int");
     push_str("timebase-frequency");
     fword("property");
+    
+    PUSH(0x20);
+    fword("encode-int");
+    push_str("reservation-granule-size");
+    fword("property");
 
     PUSH(fw_cfg_read_i32(FW_CFG_PPC_CLOCKFREQ));
     fword("encode-int");

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.openfirmware.info/pipermail/openbios/attachments/20150418/df11be8c/attachment.html>


More information about the OpenBIOS mailing list