Author: stepan Date: 2007-04-24 21:19:58 +0200 (Tue, 24 Apr 2007) New Revision: 127
Modified: openbios-devel/arch/sparc32/romvec.c openbios-devel/forth/device/package.fs Log: Fix for interpose problem.
Modified: openbios-devel/arch/sparc32/romvec.c =================================================================== --- openbios-devel/arch/sparc32/romvec.c 2007-04-21 19:47:16 UTC (rev 126) +++ openbios-devel/arch/sparc32/romvec.c 2007-04-24 19:19:58 UTC (rev 127) @@ -389,7 +389,7 @@ int ret;
PUSH(dev_desc); - fword("ihandle>phandle"); + fword("ihandle>non-interposed-phandle"); ret = POP();
DPRINTF("obp_inst2pkg(fd 0x%x) = 0x%x\n", dev_desc, ret);
Modified: openbios-devel/forth/device/package.fs =================================================================== --- openbios-devel/forth/device/package.fs 2007-04-21 19:47:16 UTC (rev 126) +++ openbios-devel/forth/device/package.fs 2007-04-24 19:19:58 UTC (rev 127) @@ -25,10 +25,18 @@ ?my-self >in.my-parent @ ;
+: ihandle>non-interposed-phandle ( ihandle -- phandle ) + begin dup >in.interposed @ while + >in.my-parent @ + repeat + >in.device-node @ +; + : ihandle>phandle ( ihandle -- phandle )
in.device-node @
;
+ \ next-property \ defined in property.c