sim: kernelExtras if no kernel provided
authorAdrian Herrera <adrian.herrera@arm.com>
Thu, 14 Nov 2019 09:57:13 +0000 (09:57 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 16 Dec 2019 10:33:56 +0000 (10:33 +0000)
commit0e8ce8b12e614925fdbbf306522e24aa8b05ac91
tree3f9565dddfd6386308877a39e768ff4ce6ef16c1
parent55c5b66ae48a3a20cf55bbe41048c0c2d217488c
sim: kernelExtras if no kernel provided

kernelExtras facilitates a way for users to provide additional
blobs to load into memory. As of now, the creation of the extra
images is done independently of the kernel being provided, but
the loading is only done if the kernel is present.

This patch refactors the loading of extra images to be committed
if no kernel is present.

Change-Id: I900542e1034ade8d757d01823cfd4a30f0b36734
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22850
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/sim/system.cc