Skip to content

Commit 2b9c41d

Browse files
Oren Cohenadbridge
authored andcommitted
More fixes by Melinda
1 parent 93cdd59 commit 2b9c41d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

components/TARGET_PSA/spm/COMPONENT_SPE/handles_manager.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
/* -------------------------------- Handle Manager Module ---------------------------- */
2828

2929
/*
30-
* It generates and exposes a unique handle identifier (handle) per
31-
* handle memory (handle_mem) it receives from the user.
30+
* The Handle Manager module generates and exposes a unique handle
31+
* identifier (handle) per handle memory (handle_mem) it receives from the user.
3232
* Then users can use the exposed handle identifier to relate to the "registered"
3333
* handle memory.
3434
*
@@ -40,8 +40,7 @@
4040
*
4141
* Note:
4242
* Handle generation is done exclusively.
43-
* Once you got a handle, removing a handle or getting its memory can be
44-
* done non-exclusive.
43+
* Once you have a handle, you can remove or get its memory non-exclusively.
4544
* The assumption is that only one context is dealing with a handle after it was
4645
* generated.
4746
*/
@@ -121,7 +120,7 @@ handles_pool
121120
*
122121
* @param[in] handle_mgr A pointer to the handle manager object.
123122
* @param[in] handle_mem A pointer to a pre-allocated handle memory to get a handle identifier for
124-
* @param[in] friend_pid The partition id which is allowed to `get_mem()` and `destroy()` in addition to the handle owner.
123+
* @param[in] friend_pid The partition ID which is allowed to `get_mem()` and `destroy()` in addition to the handle owner.
125124
* Use PSA_HANDLE_MGR_INVALID_FRIEND_OWNER to denote there is no friend partition.
126125
* @return The created handle identifier
127126
*/

0 commit comments

Comments
 (0)