Dear Gregor,

In message <42665f37f2da4296b1c923f92ac30...@tq-group.com> you wrote:
> 
> i use the go command from the hush shell to execute a function
> from environment. That function has been initially compiled in
> U-Boot and was first called in board_late_init().

Urg...

> I call the function by using 
> go #address

Go is supposed to be used with standalone programs only.

> My question is now: Is it safe to use the go command to execute
> U-boot functions or do I miss something here?

You are invoking undefined behaviour.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
"No proper program contains  an  indication  which  as  an  operator-
applied  occurrence  identifies an operator-defining occurrence which
as an indication-applied occurrence identifies an indication-defining
occurrence different from the one identified by the given  indication
as an indication-applied occurrence."               - ALGOL 68 Report
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to