diff options
| author | Damien Le Moal <[email protected]> | 2018-12-21 09:13:37 +0900 |
|---|---|---|
| committer | Damien Le Moal <[email protected]> | 2018-12-21 15:09:13 +0900 |
| commit | aa68f0252f2a0749dee35bda309c397f79ae26a0 (patch) | |
| tree | 1edc7262e0c70f0a391abbc4c009e42f8a303aad /firmware | |
| parent | f003787455709a1a6c69c1b6ab6a02d4d767c325 (diff) | |
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 <[email protected]>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions
