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

2008-02-16 Thread Mike Frysinger
On Friday 15 February 2008, Wolfgang Denk wrote: > > + return (*img)(r[0], r[1], r[2], r[3], r[4], r[5], r[6], r[7]); > > I see no difference between this call and what "go" does. well there's an obvious difference. go passes argc/argv[] as parameters where as this passes everything as paramet

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

2008-02-15 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> 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 th

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

2008-02-14 Thread Kumar Gala
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