configs: Create a basic ObjectList
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Tue, 3 Sep 2019 09:57:44 +0000 (11:57 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Mon, 30 Sep 2019 21:00:49 +0000 (21:00 +0000)
commit3fee716f5626b19c53744fb4fdf67d061d3dd470
tree0d066e797fffe501a01e20ce2bcccf2cedd9f948
parent32a7c0f51f9a3bb8e9cc297466b67d0caa1fe9ca
configs: Create a basic ObjectList

There are multiple files that reimplement the same functionality
of listing and getting available modules for class instantiation.
Create a base class that can be derived and reduce code duplication.

Change-Id: I96bf47b1ffd10893691b0b95591969b38894dd65
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20588
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
configs/common/ObjectList.py [new file with mode: 0644]