misc: Add support for switching multiple cores in SystemC
misc: Add support for switching multiple cores in SystemC

This patch adds a '-n' flag to the gem5 SystemC driver which allows
multiple CPUs to be switched out to a new CPU. Primarily this involves
appending CPU numbers to the objects searched for in the config
manager if there are multiple CPUs in the system.

Note that an equivalent change should be made to the util/cxx_config driver,
but I wanted to get input on this first before making the same change over
there

Signed-off-by: Jason Lowe-Power <68c46a606457643eab92053c1c05574abb26f861@lowepower.com>

TUD-OS/gem5-dtu,KuroeKurose/gem5,rallylee/gem5,gedare/gem5,TUD-OS/gem5-dtu,rallylee/gem5,rallylee/gem5,HwisooSo/gemV-update,gem5/gem5,gedare/gem5,KuroeKurose/gem5,Weil0ng/gem5,sobercoder/gem5,KuroeKurose/gem5,gedare/gem5,rallylee/gem5,HwisooSo/gemV-update,Weil0ng/gem5,powerjg/gem5-ci-test,gem5/gem5,HwisooSo/gemV-update,sobercoder/gem5,gedare/gem5,sobercoder/gem5,Weil0ng/gem5,gedare/gem5,gem5/gem5,TUD-OS/gem5-dtu,powerjg/gem5-ci-test,powerjg/gem5-ci-test,rallylee/gem5,KuroeKurose/gem5,sobercoder/gem5,Weil0ng/gem5,HwisooSo/gemV-update,gedare/gem5,HwisooSo/gemV-update,rallylee/gem5,powerjg/gem5-ci-test,KuroeKurose/gem5,TUD-OS/gem5-dtu,sobercoder/gem5,sobercoder/gem5,gedare/gem5,KuroeKurose/gem5,powerjg/gem5-ci-test,gem5/gem5,rallylee/gem5,gem5/gem5,sobercoder/gem5,TUD-OS/gem5-dtu,TUD-OS/gem5-dtu,HwisooSo/gemV-update,Weil0ng/gem5,KuroeKurose/gem5,gem5/gem5,gem5/gem5,Weil0ng/gem5,powerjg/gem5-ci-test,Weil0ng/gem5,TUD-OS/gem5-dtu,powerjg/gem5-ci-test,HwisooSo/gemV-update