2.4 SMP support

Model Shell provides Symmetric MultiProcessing support. It can be simple or standard.

Simple

This is only suitable for model systems that have one SMP multiprocessor. The same application is loaded in all processors.

model_shell -m smp_model.so -a app.axf
Standard

This is suitable for all cases and uses the -a option to list the applications for each processor.

Use the full instance name of each processor.

model_shell -m smp_model.so -a multiprocessor.processor0=app1.axf -a multiprocessor.processor1=app2.axf

In addition to loading individual applications for each processor, the -a option also enables loading the same application in all processors.

Replace the index of the processor with *.

model_shell -m smp_model.so -a multiprocessor.processor*=app.axf
model_shell -m smp_model.so -a "multiprocessor.*"=app.axf

Note

On Unix, the * character requires escape quotes.
Non-ConfidentialPDF file icon PDF versionARM DUI0457J
Copyright © 2008-2013 ARM. All rights reserved.