Skip to content

Commit 628ef9b

Browse files
Alexander ZilberkantOren Cohen
authored andcommitted
spm_internal.h - add missing function docs
1 parent 773ac8d commit 628ef9b

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

components/TARGET_PSA/spm/COMPONENT_SPE/spm_internal.h

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const mem_region_t *get_mem_regions(int32_t partition_id, uint32_t *region_count
170170

171171
// Platform dependent APIs
172172

173-
/**
173+
/*
174174
* Validates a memory block is accessable from a specific partition
175175
*
176176
* @param[in] ptr pointer to the beggining of the memory block.
@@ -227,7 +227,21 @@ void validate_iovec(
227227
const uint32_t out_len
228228
);
229229

230+
/*
231+
* Assert and modify PSA IPC channel state machine state
232+
*
233+
* @param[in,out] current_state - current state
234+
* @param[in] expected_state - expected state
235+
* @param[in] new_state - new state
236+
*/
230237
void channel_state_switch(uint8_t *current_state, uint8_t expected_state, uint8_t new_state);
238+
239+
/*
240+
* Assert PSA IPC channel state machine state
241+
*
242+
* @param[in] current_state - current state
243+
* @param[in] expected_state - expected state
244+
*/
231245
void channel_state_assert(uint8_t *current_state, uint8_t expected_state);
232246

233247
#ifdef __cplusplus

0 commit comments

Comments
 (0)