2008-03-25 Till Straumann <strauman@slac.stanford.edu>

* include/bsp.h: declare BSP_commandline_string.
This commit is contained in:
Till Straumann
2008-03-26 01:35:51 +00:00
parent 03c6b7748e
commit 10a926022f
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
2008-03-25 Till Straumann <strauman@slac.stanford.edu>
* include/bsp.h: declare BSP_commandline_string.
2008-03-20 Till Straumann <strauman@slac.stanford.edu>
* include/bsp.h, startup/bspstart.c: confdefs.h now wants

View File

@@ -291,6 +291,10 @@ extern unsigned int BSP_processor_frequency;
* Time base divisior (how many tick for 1 second).
*/
extern unsigned int BSP_time_base_divisor;
/*
* The commandline as passed from 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)))