2007-12-04 Till Straumann <strauman@slac.stanford.edu>

* export BSP_commandline_string variable.
This commit is contained in:
Till Straumann
2007-12-05 06:39:17 +00:00
parent 1be7c55f75
commit 1051054f84
4 changed files with 16 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2007-12-04 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/bspstart.c: export BSP_commandline_string
variable.
2007-12-04 Till Straumann <strauman@slac.stanford.edu>
* shared/flash/flash.c: added lazy init of driver

View File

@@ -1,3 +1,7 @@
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* include/bsp.h: declare BSP_commandline_string variable.
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, include/bsp.h: Move interrupt_stack_size field from CPU

View File

@@ -180,6 +180,11 @@ extern unsigned int BSP_processor_frequency;
*/
extern unsigned int BSP_time_base_divisor;
/*
* String passed by the bootloader.
*/
extern char *BSP_commandline_string;
#define BSP_Convert_decrementer( _value ) \
((unsigned long long) ((((unsigned long long)BSP_time_base_divisor) * 1000000ULL) /((unsigned long long) BSP_bus_frequency)) * ((unsigned long long) (_value)))

View File

@@ -67,6 +67,8 @@ RESIDUAL residualCopy;
*/
#define MAX_LOADER_ADD_PARM 80
char loaderParam[MAX_LOADER_ADD_PARM];
char *BSP_commandline_string = loaderParam;
/*
* Vital Board data Start using DATA RESIDUAL
*/