In rtl22xx bsp,why .text in sdram in link cmd
Chris Johns
chrisj at rtems.org
Sat Sep 29 21:52:38 UTC 2007
invent-lwj wrote:
>
> (3)int boot_card(int argc, char **argv, char **envp)
>
> what's the three parameter means about? did the envp is from r2(in
> start.S) pass to here?
>
It is kinda based on the execve type call found in the SUS:
http://opengroup.org/onlinepubs/007908799/xsh/execve.html
It is a way for a boot monitor or what-ever to provide an initial
environment or command line options. If the boot monitor does not
provide such a thing then typically the BSP will not support it. If the
boot monitor does and you can set a command line or environment
variables the BSP can then load the application's environment or pass
the options to the application.
Regards
Chris
More information about the users
mailing list