Correctly encode strings of bootpath and bootargs properties.

Signed-off-by: Laurent Vivier <Laurent@vivier.eu>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@602 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Laurent Vivier
2009-11-10 21:34:21 +00:00
parent a1cc7db948
commit 92e6599c92

View File

@@ -282,11 +282,11 @@ variable bootinfo-size
; ;
: (encode-bootpath) ( "{params}<cr>" -- bootpath-str bootpath-len) : (encode-bootpath) ( "{params}<cr>" -- bootpath-str bootpath-len)
bl parse 2dup bl parse 2dup encode-string
" /chosen" (find-dev) if " /chosen" (find-dev) if
" bootpath" rot (property) " bootpath" rot (property)
then then
linefeed parse linefeed parse encode-string
" /chosen" (find-dev) if " /chosen" (find-dev) if
" bootargs" rot (property) " bootargs" rot (property)
then then