Author: blueswirl Date: 2009-01-07 16:58:33 +0100 (Wed, 07 Jan 2009) New Revision: 370
Modified: openbios-devel/arch/ppc/qemu/methods.c Log: Store opened "mmu" in "/chosen" (Laurent Vivier)
Modified: openbios-devel/arch/ppc/qemu/methods.c =================================================================== --- openbios-devel/arch/ppc/qemu/methods.c 2009-01-07 15:57:07 UTC (rev 369) +++ openbios-devel/arch/ppc/qemu/methods.c 2009-01-07 15:58:33 UTC (rev 370) @@ -305,7 +305,9 @@
chosen = find_dev("/chosen"); if (chosen) { - ph = find_dev(cpuname); + push_str(cpuname); + fword("open-dev"); + ph = POP(); set_int_property(chosen, "mmu", ph); } }