[PATCH 4/6] cmdline: Add cmdline support

Chris Johns chrisj at rtems.org
Wed Aug 2 23:37:45 UTC 2017


On 02/08/2017 23:54, Sebastian Huber wrote:
> On 01/08/17 22:14, Andreas Kölbl wrote:
>> Am 01.08.2017 um 13:08 schrieb Sebastian Huber:
>>> Why can't you use_CPU_SMP_Get_current_processor() instead of
>>> bsp_get_boot_cpu().
>>>
>>> Why do you have to use the linker command file to allocate memory for
>>> the command line?
>>>
>> I thought, it would be a good idea to reserve memory for it on a defined
>> place. This should ensure that a misconfiguration leads to an error.
> 
> Who defines the memory location for the command line? Is this read-only memory?
> 

It is usually an arrangement between the bootloader and the BSP. Something need
to break the command line up into argc/argv.

Chris


More information about the devel mailing list