opensbi/platform/qemu/virt
Damien Le Moal aa68f0252f Refine platform features control
Allow a platform to report its supported features in more details.
The new features defined are:
* SBI_PLATFORM_HAS_PMP
* SBI_PLATFORM_HAS_SCOUNTEREN
* SBI_PLATFORM_HAS_MCOUNTEREN

In addition, define the macro SBI_PLATFORM_DEFAULT_FEATURES as the set
of features that are generally expected to be supported by a Linux
capable platform.

Operations touching the features controlled with these falgs are not
executed if the platform does not set the corresponding feature flags.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
2018-12-21 15:09:13 +09:00
..
config.mk top: Rename "plat" to "platform" everywhere 2018-12-21 10:35:04 +05:30
objects.mk top: Rename "plat" to "platform" everywhere 2018-12-21 10:35:04 +05:30
platform.c Refine platform features control 2018-12-21 15:09:13 +09:00