openbios/forth
Igor V. Kovalenko 91857d3a8c pathres: consistently encode unit address on 64bit target
This change fixes node unit address matching on arch
where cell is not 4 byte integer (tested with sparc64.)

Since we encode "reg" property chunks with encode-int
we need to use the same encoding while preparing unit
phys addr for comparison at path resolution time.

- (exact-match): calculate phys addr length using 4 byte
  member encoding with /l* not cells

- find-child: encode phys addr components similar to
  encode-int with 4 byte stores

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@674 f158a5a8-5612-0410-a976-696ce0be7e32
2010-02-03 17:54:14 +00:00
..
admin Make auto-boot default again 2010-01-03 08:58:56 +00:00
bootstrap Revert r638, apply previous patch to extend control flow stack items to 2 data stack items, and fix the Fcode evaluator to use 2009-12-09 01:09:48 +00:00
debugging Add Fcode as a suitable executable payload for init-program. 2010-01-03 03:44:01 +00:00
device pathres: consistently encode unit address on 64bit target 2010-02-03 17:54:14 +00:00
lib - drop commented out functions, they're in others.fs already 2009-11-20 18:54:38 +00:00
packages Change the new-device word so that subsequent words within a new device are added to the public wordlist and not 2010-01-01 18:17:15 +00:00
system Change the new-device word so that subsequent words within a new device are added to the public wordlist and not 2010-01-01 18:17:15 +00:00
testsuite Remove unnecessary trailing newlines 2008-12-13 09:26:41 +00:00
util Fully decode PCI unit name attribute. 2009-11-10 21:39:42 +00:00
Kconfig initial import of openbios--main--1.0--patch-26 2006-04-26 15:08:19 +00:00
build.xml Remove unnecessary trailing newlines 2008-12-13 09:26:41 +00:00