Am 02.08.2017 um 15:54 schrieb Sebastian Huber: > On 01/08/17 22:14, Andreas Kölbl wrote: > >> At the moment I didn't implement smp functionality. I will implement it >> directly after implementing SMP. > > You can use arm_cortex_a9_get_multiprocessor_cpu_id() in all > configurations. > > Please try to use the functions in <libcpu/arm-cp15.h> in your BSP. If > missing, then add them. > I've tried this approach. The cortex-a15 manual states:
"CPU ID Indicates the processor number in a Cortex-A15 multiprocessor system. For: one processor, the CPU ID is 0x0 [1]." In the Jailhouse single processor configuration this method does not work. [1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0438d/BABCBFDF.html >> >> 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? > _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel