summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2018-12-21 19:19:54 +0900
committerAnup Patel <[email protected]>2018-12-21 16:32:30 +0530
commit27332e63faaf6d3220a9d56bcfb280921114f012 (patch)
tree10ab1d82fc03f31c851e2b38dab15929bd6be8b8 /platform
parentdb6c1fe78bebc103670becba39e1c34bcdc48185 (diff)
Introduce HAS_MFAULTS_DELEGATION feature
Conditionnally delegate page fault exceptions from M mode to S mode based on the platform features. Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'platform')
-rw-r--r--platform/sifive/hifive_u540/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/sifive/hifive_u540/platform.c b/platform/sifive/hifive_u540/platform.c
index 46613e60..338cc2cc 100644
--- a/platform/sifive/hifive_u540/platform.c
+++ b/platform/sifive/hifive_u540/platform.c
@@ -105,7 +105,7 @@ static int sifive_u_system_down(u32 type)
struct sbi_platform platform = {
.name = STRINGIFY(PLAT_NAME),
- .features = SBI_PLATFORM_DEFAULT_FEATURES;
+ .features = SBI_PLATFORM_DEFAULT_FEATURES,
.hart_count = PLAT_HART_COUNT,
.hart_stack_size = PLAT_HART_STACK_SIZE,
.pmp_region_count = sifive_u_pmp_region_count,