Author: blueswirl Date: 2009-05-23 18:03:20 +0200 (Sat, 23 May 2009) New Revision: 496
Modified: trunk/openbios-devel/arch/sparc64/lib.c Log: Add claim and release client methods
Modified: trunk/openbios-devel/arch/sparc64/lib.c =================================================================== --- trunk/openbios-devel/arch/sparc64/lib.c 2009-05-23 15:31:31 UTC (rev 495) +++ trunk/openbios-devel/arch/sparc64/lib.c 2009-05-23 16:03:20 UTC (rev 496) @@ -325,6 +325,7 @@ align = POP(); size = POP(); virt = POP(); + printk("claim virt = %lx size = %lx align = %lx\n", virt, size, align); PUSH(virt); // XXX }
@@ -339,6 +340,7 @@
size = POP(); virt = POP(); + printk("release virt = %lx size = %lx\n", virt, size); // XXX }
@@ -504,4 +506,9 @@
push_str("translations"); fword("property"); + + push_str("/openprom/client-services"); + fword("find-device"); + bind_func("claim", mmu_claim); + bind_func("release", mmu_release); }