[U-Boot-Users] [PATCH] Add call command on PPC

Wolfgang Denk wd at denx.de
Fri Feb 15 09:42:36 CET 2008


In message <Pine.LNX.4.64.0802142341250.31987 at blarg.am.freescale.net> you wrote:
> The call command tries to mimic a function call in that the 'arg's to
> the command are passed in registers according to the PPC ABI.
> 
> The prototype that call mimics is some variation of the following
> depending on how many arguments are passed to the command:
> 
> void func(void)
> void func(unsigned long r3)
> void func(unsigned long r3, unsigned long r4)
> ...
> void func(unsigned long r3, unsigned long r4, ... unsigned long r10)
> 
> The maximum number of 'arg's is 8.  There are no arguments passed on
> a stack, no floating point or vector arguments.

Sorry, but this looks still broken to me.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
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
A Puritan is someone who is deathly afraid that  someone,  somewhere,
is having fun.




More information about the U-Boot mailing list