Author: wmb Date: Mon Jun 13 19:20:35 2011 New Revision: 2268 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2268
Log: OLPC XO-1.75 trac #10892 - added random-byte for use in UUID generation.
Modified: cpu/arm/mmp2/hash.fth
Modified: cpu/arm/mmp2/hash.fth ============================================================================== --- cpu/arm/mmp2/hash.fth Mon Jun 13 11:51:27 2011 (r2267) +++ cpu/arm/mmp2/hash.fth Mon Jun 13 19:20:35 2011 (r2268) @@ -146,6 +146,7 @@ begin h# d4292c04 l@ dup 0>= while drop repeat h# ffff and ; +: random-byte ( -- b ) random-short 2/ h# ff and ; : random-long ( -- l ) random-short random-short wljoin ;