forked from Imagelibrary/rtems
2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* bspcmdline01/init.c: Do not violate visibility.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* bspcmdline01/init.c: Do not violate visibility.
|
||||||
|
|
||||||
2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* bspcmdline01/bspcmdline01.scn, bspcmdline01/init.c: Add rtems_ as
|
* bspcmdline01/bspcmdline01.scn, bspcmdline01/init.c: Add rtems_ as
|
||||||
|
|||||||
@@ -114,13 +114,16 @@ rtems_task Init(
|
|||||||
rtems_task_argument ignored
|
rtems_task_argument ignored
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
const char *bspcmdline;
|
||||||
|
|
||||||
puts( "\n\n*** TEST OF PARSING BOOT COMMAND STRING ***" );
|
puts( "\n\n*** TEST OF PARSING BOOT COMMAND STRING ***" );
|
||||||
|
|
||||||
if ( rtems_bsp_cmdline_get() ) {
|
bspcmdline = rtems_bsp_cmdline_get();
|
||||||
|
if ( bspcmdline ) {
|
||||||
printf(
|
printf(
|
||||||
"BSP has a boot command line:\n"
|
"BSP has a boot command line:\n"
|
||||||
"%s\n",
|
"%s\n",
|
||||||
bsp_boot_cmdline
|
bspcmdline
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
puts( "BSP does not have a boot command line" );
|
puts( "BSP does not have a boot command line" );
|
||||||
|
|||||||
Reference in New Issue
Block a user