RFC: Remove BSP_Configuration

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Thu Oct 20 15:54:20 UTC 2005


Eric Norum wrote:
> Joel Sherrill wrote:
> 
> On Oct 20, 2005, at 10:06 AM, gregory.menke at gsfc.nasa.gov 
> <mailto:gregory.menke at gsfc.nasa.gov> wrote:
> 
>>
>> "Joel Sherrill <joel at OARcorp.com <mailto:joel at OARcorp.com>>" 
>> <joel.sherrill at OARcorp.com <mailto:joel.sherrill at OARcorp.com>> writes:
>>
>>> gregory.menke at gsfc.nasa.gov <mailto:gregory.menke at gsfc.nasa.gov> wrote:
>>>
>>>> "Joel Sherrill <joel at OARcorp.com <mailto:joel at OARcorp.com>>" 
>>>> <joel.sherrill at OARcorp.com <mailto:joel.sherrill at OARcorp.com>> writes:
>>>>
>>>>> My proposal would be to:
>>>>>
>>>>> (1) Eliminate BSP_Configuration entirely.  Do not copy
>>>>>      the generated Configuration to BSP_Configuration and
>>>>>      modified Cofniguration as required in the BSP.
>>>>>
>>>>
>>>> We have found BSP_Configuration to be useful at runtime, having a
>>>> well-defined struct to pull footprint info out of is nicer than defining
>>>> symbols in the linker script.
>>>>
>>>
>>> You would still have the structure -- it would just be called 
>>> Configuration.
> 
> 
> I agree with the proposal but in the interest of namespace pollution 
> reduction could the name be changed to rtemsConfiguration or something 
> like that?   

I don't see why not.  Pretty much everything that looks in a 
configuration table will change anyway in a minor way to really 
implement this correctly.

I expect this will shrink executables a bit but I can't guess how much.

> -- 
> 
> Eric Norum <norume at aps.anl.gov <mailto:norume at aps.anl.gov>>
> 
> Advanced Photon Source
> 
> Argonne National Laboratory
> 
> (630) 252-4793
> 
> 
> 


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985




More information about the users mailing list