diff options
author | Shruti Gupta <shruti.gupta@arm.com> | 2023-10-02 13:21:37 +0100 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2023-10-31 02:57:53 +0000 |
commit | 6bb95105b289a4d9015d74af7cb7254455b2344e (patch) | |
tree | faf71d64251c88b5aa5caa5512a76eff62601851 /include | |
parent | 24597d136cc199d8399be2291fda2efb0a652741 (diff) |
feat(rmm) : add api for rec force exit
add api to force exit a rec
added testcase for force exit rec
Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
Change-Id: I56c70234e236c7d3615237d11c773bdb970012e3
Diffstat (limited to 'include')
3 files changed, 3 insertions, 0 deletions
diff --git a/include/runtime_services/host_realm_managment/host_realm_helper.h b/include/runtime_services/host_realm_managment/host_realm_helper.h index b0a9e59..407c8e8 100644 --- a/include/runtime_services/host_realm_managment/host_realm_helper.h +++ b/include/runtime_services/host_realm_managment/host_realm_helper.h @@ -21,6 +21,7 @@ bool host_create_shared_mem( u_register_t ns_shared_mem_adr, u_register_t ns_shared_mem_size); bool host_destroy_realm(void); +void host_rec_send_sgi(unsigned int sgi, unsigned int rec_num); bool host_enter_realm_execute(uint8_t cmd, struct realm **realm_ptr, int test_exit_reason, unsigned int rec_num); test_result_t host_cmp_result(void); diff --git a/include/runtime_services/host_realm_managment/host_realm_rmi.h b/include/runtime_services/host_realm_managment/host_realm_rmi.h index 842ccb5..b1e54dd 100644 --- a/include/runtime_services/host_realm_managment/host_realm_rmi.h +++ b/include/runtime_services/host_realm_managment/host_realm_rmi.h @@ -508,6 +508,7 @@ struct realm { u_register_t run[MAX_REC_COUNT]; u_register_t rec_flag[MAX_REC_COUNT]; u_register_t mpidr[MAX_REC_COUNT]; + u_register_t host_mpidr[MAX_REC_COUNT]; u_register_t num_aux; u_register_t rmm_feat_reg0; u_register_t ipa_ns_buffer; diff --git a/include/runtime_services/host_realm_managment/host_shared_data.h b/include/runtime_services/host_realm_managment/host_shared_data.h index 83b21bf..b561fc5 100644 --- a/include/runtime_services/host_realm_managment/host_shared_data.h +++ b/include/runtime_services/host_realm_managment/host_shared_data.h @@ -41,6 +41,7 @@ typedef struct host_shared_data { */ enum realm_cmd { REALM_SLEEP_CMD = 1U, + REALM_LOOP_CMD, REALM_MULTIPLE_REC_PSCI_DENIED_CMD, REALM_GET_RSI_VERSION, REALM_PMU_CYCLE, |