In rtl22xx bsp,why .text in sdram in link cmd
chrisj at rtems.org
Sat Sep 29 21:52:38 UTC 2007
> (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:
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.
More information about the users