Changeset 3ccd9de5 in rtems


Ignore:
Timestamp:
Oct 20, 2009, 6:00:47 PM (10 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, master
Children:
c7880448
Parents:
5eccbac
Message:

2009-10-20 Till Straumann <strauman@…>

  • startup/bspstart.c: let 'save_boot_params()' return a pointer to the commandline saved by the BSP which is NULL in this case. This pointer could be passed on to 'boot_card()' as it is done by other BSPs. This 'start/start.S' file however, passes a NULL pointer directly to boot_card() (w/o ever calling save_boot_params()).
Location:
c/src/lib/libbsp/powerpc/ep1a
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ep1a/ChangeLog

    r5eccbac r3ccd9de5  
     12009-10-20      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * startup/bspstart.c:
     4        let 'save_boot_params()' return a pointer to the commandline
     5        saved by the BSP which is NULL in this case. This pointer could
     6        be passed on to 'boot_card()' as it is done by other BSPs.
     7        This 'start/start.S' file however, passes a NULL pointer
     8        directly to boot_card() (w/o ever calling save_boot_params()).
     9
    1102009-10-20      Ralf Corsépius <ralf.corsepius@rtems.org>
    211
  • c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c

    r5eccbac r3ccd9de5  
    169169}
    170170
    171 void save_boot_params(RESIDUAL* r3, void *r4, void* r5, char *additional_boot_options)
     171char * save_boot_params(RESIDUAL* r3, void *r4, void* r5, char *additional_boot_options)
    172172{
    173173#if 0 
     
    175175  strncpy(loaderParam, additional_boot_options, MAX_LOADER_ADD_PARM);
    176176  loaderParam[MAX_LOADER_ADD_PARM - 1] ='\0';
    177 #endif
     177  return loaderParam;
     178#endif
     179  return 0;
    178180}
    179181
Note: See TracChangeset for help on using the changeset viewer.