mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
Merge "refactor(cpufeat): add FGT2 and Debugv8p9 to realm state" into integration
This commit is contained in:
commit
722efeaa8c
1 changed files with 10 additions and 0 deletions
|
@ -191,6 +191,16 @@ static void setup_realm_context(cpu_context_t *ctx, const struct entry_point_inf
|
||||||
}
|
}
|
||||||
|
|
||||||
write_ctx_reg(state, CTX_SCR_EL3, scr_el3);
|
write_ctx_reg(state, CTX_SCR_EL3, scr_el3);
|
||||||
|
|
||||||
|
if (is_feat_fgt2_supported()) {
|
||||||
|
fgt2_enable(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (is_feat_debugv8p9_supported()) {
|
||||||
|
debugv8p9_extended_bp_wp_enable(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
#endif /* ENABLE_RME */
|
#endif /* ENABLE_RME */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue