Fix for interpose problem.

git-svn-id: svn://coreboot.org/openbios/openbios-devel@127 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Stefan Reinauer
2007-04-24 19:19:58 +00:00
parent a389f6e924
commit 247c616971
2 changed files with 9 additions and 1 deletions

View File

@@ -389,7 +389,7 @@ static int obp_inst2pkg(int dev_desc)
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);

View File

@@ -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