/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/rss_comms/ |
D | rss_comms_queue.c | 21 static struct queue_t queue; variable 34 return queue.head == queue.tail; in is_empty() 39 return advance(queue.head) == queue.tail; in is_full() 48 queue.buf[queue.head] = entry; in queue_enqueue() 49 queue.head = advance(queue.head); in queue_enqueue() 60 *entry = queue.buf[queue.tail]; in queue_dequeue() 61 queue.tail = advance(queue.tail); in queue_dequeue()
|
/trusted-firmware-m-3.4.0/interface/src/multi_core/ |
D | tfm_ns_mailbox_thread.c | 61 *mailbox_queue_ptr->queue[idx].reply.woken_flag = WOKEN_UP; in set_queue_slot_woken() 65 static uint8_t acquire_empty_slot(struct ns_mailbox_queue_t *queue) in acquire_empty_slot() argument 72 status = queue->empty_slots; in acquire_empty_slot() 80 queue->is_full = true; in acquire_empty_slot() 86 queue->is_full = false; in acquire_empty_slot() 96 clear_queue_slot_empty(queue, idx); in acquire_empty_slot() 119 msg_ptr = &mailbox_queue_ptr->queue[idx].msg; in mailbox_tx_client_call_msg() 125 reply_ptr = &mailbox_queue_ptr->queue[idx].reply; in mailbox_tx_client_call_msg() 150 int32_t *reply_ptr = mailbox_queue_ptr->queue[idx].reply.reply; in ns_mailbox_set_reply_isr() 153 *reply_ptr = mailbox_queue_ptr->queue[idx].reply.return_val; in ns_mailbox_set_reply_isr() [all …]
|
D | tfm_ns_mailbox.c | 30 mailbox_queue_ptr->queue[idx].reply.is_woken = true; in set_queue_slot_woken() 37 return mailbox_queue_ptr->queue[idx].reply.is_woken; in is_queue_slot_woken() 46 mailbox_queue_ptr->queue[idx].reply.is_woken = false; in clear_queue_slot_woken() 68 static uint8_t acquire_empty_slot(struct ns_mailbox_queue_t *queue) in acquire_empty_slot() argument 74 status = queue->empty_slots; in acquire_empty_slot() 89 clear_queue_slot_empty(queue, idx); in acquire_empty_slot() 98 mailbox_queue_ptr->queue[idx].reply.owner = owner; in set_msg_owner() 121 msg_ptr = &mailbox_queue_ptr->queue[idx].msg; in mailbox_tx_client_req() 147 *reply = mailbox_queue_ptr->queue[idx].reply.return_val; in mailbox_rx_client_reply() 241 mailbox_queue_ptr->queue[idx].reply.owner); in tfm_ns_mailbox_wake_reply_owner_isr() [all …]
|
/trusted-firmware-m-3.4.0/docs/technical_references/design_docs/dual-cpu/ |
D | mailbox_design_on_dual_core_system.rst | 108 NSPE Mailbox queue 111 NSPE mailbox maintains a mailbox queue in non-secure memory. Please refer to the 112 structure definition in `NSPE mailbox queue structure`_. 114 NSPE mailbox queue contains one or more slots. The number of slots should be 115 aligned with that in SPE mailbox queue. 117 Each slot in NSPE mailbox queue consists of a pair of a mailbox message 136 queue slot for the PSA Client request. The parameters of that PSA Client request 150 SPE Mailbox queue 153 SPE mailbox maintains a mailbox queue to store SPE mailbox objects. 154 Please refer to the structure definition in `SPE mailbox queue structure`_. [all …]
|
D | communication_prototype_between_nspe_and_spe_in_dual_core_systems.rst | 136 in dual-core systems, an optional queue can be maintained in TF-M core to store 256 If a queue is maintained inside TF-M core, SPE mailbox can fetch multiple 257 PSA client calls together into the queue, to save the time of synchronization
|
/trusted-firmware-m-3.4.0/secure_fw/spm/cmsis_psa/ |
D | tfm_spe_mailbox.c | 141 spm_memset(&spe_mailbox_queue.queue[idx], 0, in mailbox_clean_queue_slot() 142 sizeof(spe_mailbox_queue.queue[idx])); in mailbox_clean_queue_slot() 154 ns_slot_idx = spe_mailbox_queue.queue[idx].ns_slot_idx; in get_nspe_reply_addr() 156 return &spe_mailbox_queue.ns_queue->queue[ns_slot_idx].reply; in get_nspe_reply_addr() 224 spe_mailbox_queue.queue[idx].ns_slot_idx = idx; in tfm_mailbox_handle_msg() 226 msg_ptr = &spe_mailbox_queue.queue[idx].msg; in tfm_mailbox_handle_msg() 227 spm_memcpy(msg_ptr, &ns_queue->queue[idx].msg, sizeof(*msg_ptr)); in tfm_mailbox_handle_msg() 235 &spe_mailbox_queue.queue[idx].msg_handle); in tfm_mailbox_handle_msg() 366 return (const void *)&spe_mailbox_queue.queue[idx].msg_handle; in mailbox_get_caller_data()
|
D | tfm_spe_mailbox.h | 29 struct secure_mailbox_slot_t queue[NUM_MAILBOX_QUEUE_SLOT]; member
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/ |
D | platform_ns_mailbox.c | 14 int32_t tfm_ns_mailbox_hal_init(struct ns_mailbox_queue_t *queue) in tfm_ns_mailbox_hal_init() argument 16 (void)queue; in tfm_ns_mailbox_hal_init()
|
/trusted-firmware-m-3.4.0/platform/ext/target/cypress/psoc64/mailbox/ |
D | platform_ns_mailbox.c | 54 int32_t tfm_ns_mailbox_hal_init(struct ns_mailbox_queue_t *queue) in tfm_ns_mailbox_hal_init() argument 58 if (!queue) { in tfm_ns_mailbox_hal_init() 84 platform_mailbox_send_msg_ptr(queue); in tfm_ns_mailbox_hal_init()
|
/trusted-firmware-m-3.4.0/interface/include/multi_core/ |
D | tfm_ns_mailbox.h | 35 int32_t tfm_ns_mailbox_init(struct ns_mailbox_queue_t *queue); 80 int32_t tfm_ns_mailbox_hal_init(struct ns_mailbox_queue_t *queue);
|
D | tfm_mailbox.h | 134 struct ns_mailbox_slot_t queue[NUM_MAILBOX_QUEUE_SLOT]; member
|
D | tfm_mailbox_config.h.in | 15 /* Get number of mailbox queue slots from build configuration */
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/mbedtls/ |
D | poly1305_alt.h | 25 uint8_t queue[16]; /** The current partial block of data. */ member
|
/trusted-firmware-m-3.4.0/platform/ext/target/cypress/psoc64/ |
D | config.cmake | 20 set(NUM_MAILBOX_QUEUE_SLOT 4 CACHE BOOL "Number of mailbox queue slots")
|
D | CMakeLists.txt | 168 # device_cfg.h defines the number of mailbox queue slots to support multiple
|
/trusted-firmware-m-3.4.0/docs/technical_references/design_docs/ |
D | tfm_psa_inter_process_communication.rst | 45 has its own information like message queue, SID and priority. 82 messages are available in the queue. 160 parameter in the message body and pushes the message into service queue to
|
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/Native_Driver/components/serial_manager/ |
D | fsl_component_serial_manager.c | 229 static void SerialManager_AddTail(list_label_t *queue, serial_manager_write_handle_t *node) in SerialManager_AddTail() argument 231 (void)LIST_AddTail(queue, &node->link); in SerialManager_AddTail() 234 static void SerialManager_RemoveHead(list_label_t *queue) in SerialManager_RemoveHead() argument 236 (void)LIST_RemoveHead(queue); in SerialManager_RemoveHead()
|
/trusted-firmware-m-3.4.0/platform/ext/target/cypress/psoc64/libs/core-lib/docs/html/ |
D | jquery.js | 44 …queue:function(bv,e,bx){var bw;if(bv){e=(e||"fx")+"queue";bw=b._data(bv,e);if(bx){if(!bw||b.isArra… 89 …queue=d.queue&&d.axis.length>1;if(d.queue){e/=2}d.offset=b(d.offset);d.over=b(d.over);return this.… 96 …ue);O.queue(function R(T){H(S);T()})}function H(S){var U;if(!S.data(e)){return}if(c.isTipOpen){if(…
|
D | navtree.js | 301 n.addClass('glow').delay(duration).queue(function(next){
|
/trusted-firmware-m-3.4.0/config/ |
D | config_base.cmake | 66 set(NUM_MAILBOX_QUEUE_SLOT 1 CACHE BOOL "Number of mailbox queue slots")
|
/trusted-firmware-m-3.4.0/docs/security/threat_models/ |
D | generic_threat_model.rst | 865 On dual-cpu platforms, TF-M writes the return code to NSPE mailbox message queue
|