[U-Boot] Use of the go command
Wolfgang Denk
wd at denx.de
Wed Sep 11 11:44:33 UTC 2019
Dear Gregor,
In message <42665f37f2da4296b1c923f92ac30661 at 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: wd at 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
More information about the U-Boot
mailing list