/hafnium-2.8-rc0/test/vmapi/primary_with_secondaries/ |
A D | indirect_messaging.c | 33 struct mailbox_buffers mb; in TEST() local 39 mb = set_up_mailbox(); in TEST() 57 echo = (struct ffa_partition_msg *)mb.recv; in TEST() 69 struct mailbox_buffers mb; in TEST() local 73 mb = set_up_mailbox(); in TEST() 88 struct mailbox_buffers mb; in TEST() local 92 mb = set_up_mailbox(); in TEST() 109 struct mailbox_buffers mb; in TEST() local 113 mb = set_up_mailbox(); in TEST() 131 struct mailbox_buffers mb; in msg_send2_invalid_parameters() local [all …]
|
A D | unmapped.c | 27 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 29 SERVICE_SELECT(SERVICE_VM1, "data_unmapped", mb.send); in TEST() 32 EXPECT_EQ(exception_handler_receive_exception_count(&run_res, mb.recv), in TEST() 42 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 44 SERVICE_SELECT(SERVICE_VM1, "straddling_data_unmapped", mb.send); in TEST() 47 EXPECT_EQ(exception_handler_receive_exception_count(&run_res, mb.recv), in TEST() 57 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 59 SERVICE_SELECT(SERVICE_VM1, "instruction_unmapped", mb.send); in TEST() 62 EXPECT_EQ(exception_handler_receive_exception_count(&run_res, mb.recv), in TEST()
|
A D | ffa.c | 38 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 40 SERVICE_SELECT(SERVICE_VM1, "ffa_check", mb.send); in TEST() 59 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 76 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 92 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 111 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 125 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 157 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 196 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 222 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local [all …]
|
A D | run_race.c | 24 struct mailbox_buffers *mb; member 32 static bool run_loop(struct mailbox_buffers *mb) in run_loop() argument 56 ok = *(bool *)mb->recv; in run_loop() 77 run_loop(state->mb); in vm_cpu_entry() 97 static struct mailbox_buffers mb; in TEST_LONG_RUNNING() local 100 mb = set_up_mailbox(); in TEST_LONG_RUNNING() 102 SERVICE_SELECT(SERVICE_VM1, "check_state", mb.send); in TEST_LONG_RUNNING() 105 state.mb = &mb; in TEST_LONG_RUNNING() 112 EXPECT_TRUE(run_loop(&mb)); in TEST_LONG_RUNNING()
|
A D | interrupts.c | 33 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 64 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 100 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 122 EXPECT_EQ(memcmp(mb.recv, expected_response_2, in TEST() 139 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 169 EXPECT_EQ(memcmp(mb.recv, expected_response_2, in TEST() 185 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 221 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 248 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 250 SERVICE_SELECT(SERVICE_VM1, "wfi", mb.send); in TEST() [all …]
|
A D | memory_sharing.c | 31 struct mailbox_buffers mb, in check_cannot_send_memory() argument 73 mb.send, in check_cannot_send_memory() 106 mb.send, in check_cannot_send_memory() 690 EXPECT_EQ(retrieve_memory_from_message(mb.recv, mb.send, run_res, NULL, in TEST() 756 mb.send); in TEST() 845 EXPECT_EQ(retrieve_memory_from_message(mb.recv, mb.send, run_res, NULL, in TEST() 1625 mb.send); in TEST() 2329 mb.send); in TEST() 2486 mb.send); in TEST() 2692 mb.send); in TEST() [all …]
|
A D | boot.c | 29 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 31 SERVICE_SELECT(SERVICE_VM1, "boot_memory", mb.send); in TEST() 43 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 45 SERVICE_SELECT(SERVICE_VM1, "boot_memory_overrun", mb.send); in TEST() 48 EXPECT_EQ(exception_handler_receive_exception_count(&run_res, mb.recv), in TEST() 58 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 60 SERVICE_SELECT(SERVICE_VM1, "boot_memory_underrun", mb.send); in TEST() 63 EXPECT_EQ(exception_handler_receive_exception_count(&run_res, mb.recv), in TEST()
|
A D | mailbox_common.c | 80 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 82 SERVICE_SELECT(SERVICE_VM1, "echo", mb.send); in TEST() 97 EXPECT_EQ(memcmp(mb.recv, message, sizeof(message)), 0); in TEST() 109 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 111 SERVICE_SELECT(SERVICE_VM1, "echo", mb.send); in TEST() 121 memcpy_s(mb.send, FFA_MSG_PAYLOAD_MAX, message, in TEST() 130 EXPECT_EQ(memcmp(mb.recv, message, sizeof(message)), 0); in TEST() 143 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 145 SERVICE_SELECT(SERVICE_VM1, "relay", mb.send); in TEST() 146 SERVICE_SELECT(SERVICE_VM2, "relay", mb.send); in TEST() [all …]
|
A D | floating_point.c | 36 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 39 SERVICE_SELECT(SERVICE_VM1, "fp_fill", mb.send); in TEST() 58 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 62 SERVICE_SELECT(SERVICE_VM1, "fp_fpcr", mb.send); in TEST()
|
A D | smp.c | 33 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 35 SERVICE_SELECT(SERVICE_VM3, "smp", mb.send); in TEST() 48 EXPECT_EQ(memcmp(mb.recv, expected_response_1, in TEST() 58 EXPECT_EQ(memcmp(mb.recv, expected_response_0, in TEST()
|
A D | no_services.c | 49 struct mailbox_buffers mb; in TEST() local 67 mb = set_up_mailbox(); in TEST() 68 partitions = mb.recv; in TEST() 102 struct mailbox_buffers mb; in TEST() local 122 mb = set_up_mailbox(); in TEST() 123 partitions = mb.recv; in TEST()
|
A D | debug_el1.c | 28 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 30 SERVICE_SELECT(SERVICE_VM1, "debug_el1_secondary_basic", mb.send); in TEST()
|
A D | perfmon.c | 24 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 26 SERVICE_SELECT(SERVICE_VM1, "perfmon_secondary_basic", mb.send); in TEST()
|
/hafnium-2.8-rc0/test/vmapi/el0_partitions/ |
A D | memory_sharing.c | 31 struct mailbox_buffers mb, in check_cannot_send_memory() argument 74 mb.send, in check_cannot_send_memory() 107 mb.send, in check_cannot_send_memory() 625 EXPECT_EQ(retrieve_memory_from_message(mb.recv, mb.send, run_res, NULL, in TEST() 687 mb.send); in TEST() 775 EXPECT_EQ(retrieve_memory_from_message(mb.recv, mb.send, run_res, NULL, in TEST() 810 EXPECT_EQ(retrieve_memory_from_message(mb.recv, mb.send, run_res, NULL, in TEST() 978 EXPECT_EQ(retrieve_memory_from_message(mb.recv, mb.send, run_res, NULL, in TEST() 1545 mb.send); in TEST() 2231 mb.send); in TEST() [all …]
|
A D | interrupts.c | 33 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 64 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 100 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 122 EXPECT_EQ(memcmp(mb.recv, expected_response_2, in TEST() 139 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 169 EXPECT_EQ(memcmp(mb.recv, expected_response_2, in TEST() 185 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 221 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 247 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 275 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local [all …]
|
A D | boot.c | 29 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 31 SERVICE_SELECT(SERVICE_VM1, "boot_memory", mb.send); in TEST() 43 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 45 SERVICE_SELECT(SERVICE_VM1, "boot_memory_overrun", mb.send); in TEST() 57 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 59 SERVICE_SELECT(SERVICE_VM1, "boot_memory_underrun", mb.send); in TEST() 68 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 69 SERVICE_SELECT(SERVICE_VM1, "ffa_mem_perm_get", mb.send); in TEST() 92 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 93 SERVICE_SELECT(SERVICE_VM1, "ffa_mem_perm_set", mb.send); in TEST()
|
/hafnium-2.8-rc0/test/vmapi/arch/aarch64/trusty/ |
A D | trusty.c | 26 struct mailbox_buffers mb, in init_and_send() argument 36 mb.send, HF_MAILBOX_SIZE, HF_PRIMARY_VM_ID, in init_and_send() 68 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 91 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 103 mb.send, HF_MAILBOX_SIZE, HF_PRIMARY_VM_ID, in TEST() 120 ffa_memory_fragment_init(mb.send, HF_MAILBOX_SIZE, in TEST() 142 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 173 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 201 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 245 mb.send, HF_MAILBOX_SIZE, in TEST() [all …]
|
/hafnium-2.8-rc0/test/vmapi/ffa_secure_partitions/ |
A D | setup_and_discovery.c | 50 struct mailbox_buffers mb; in TEST() local 56 mb = set_up_mailbox(); in TEST() 57 partitions = mb.recv; in TEST() 111 struct mailbox_buffers mb; in TEST() local 117 mb = set_up_mailbox(); in TEST() 118 partitions = mb.recv; in TEST() 176 struct mailbox_buffers mb; in TEST() local 187 mb = set_up_mailbox(); in TEST() 196 partitions_v1_0 = mb.recv; in TEST() 233 partitions_v1_1 = mb.recv; in TEST()
|
A D | indirect_msg.c | 40 struct mailbox_buffers mb = set_up_mailbox(); in TEST() local 45 ret = send_indirect_message(own_id, receiver_id, mb.send, &payload, in TEST() 61 message = (struct ffa_partition_msg *)mb.recv; in TEST()
|
/hafnium-2.8-rc0/test/hftest/ |
A D | service_common.c | 75 struct mailbox_buffers mb = set_up_mailbox(); in hftest_service_main() local 77 struct ffa_partition_msg *message = (struct ffa_partition_msg *)mb.recv; in hftest_service_main() 117 ctx->send = mb.send; in hftest_service_main() 118 ctx->recv = mb.recv; in hftest_service_main()
|
/hafnium-2.8-rc0/test/vmapi/ffa_secure_partitions/services/ |
A D | partition_services.c | 78 struct mailbox_buffers mb = set_up_mailbox(); in sp_indirect_msg_cmd() local 83 ret = send_indirect_message(own_id, receiver_id, mb.send, &payload, in sp_indirect_msg_cmd() 103 message = (struct ffa_partition_msg *)mb.recv; in sp_indirect_msg_cmd() 142 struct mailbox_buffers mb = set_up_mailbox(); in sp_echo_indirect_msg_cmd() local 159 message = (struct ffa_partition_msg *)mb.recv; in sp_echo_indirect_msg_cmd() 169 send_indirect_message(target_vm_id, source_vm_id, mb.send, payload, in sp_echo_indirect_msg_cmd()
|
/hafnium-2.8-rc0/test/vmapi/primary_only/ |
A D | primary_only.c | 312 struct mailbox_buffers mb; in TEST() local 330 mb = set_up_mailbox(); in TEST() 331 partitions = mb.recv; in TEST()
|