19
19
#define __MBED_SPM_SERVER_H__
20
20
21
21
/** @addtogroup SPM
22
- * The SPM ( Secure Partition Manager) is responsible for isolating software in partitions,@n
23
- * managing the execution of software within partitions, and providing IPC between partitions.
22
+ * The Secure Partition Manager (SPM ) is responsible for isolating software in partitions,@n
23
+ * managing the execution of software within partitions and providing IPC between partitions.
24
24
* @{
25
25
*/
26
26
@@ -35,7 +35,7 @@ extern "C" {
35
35
#endif
36
36
37
37
/** @addtogroup RoT-Service-API
38
- * The C interface for a Root of Trust Service in a Partition .
38
+ * The C interface for a Root of Trust Service in a partition .
39
39
* @{
40
40
*/
41
41
@@ -50,7 +50,7 @@ extern "C" {
50
50
uint32_t psa_wait_any (uint32_t timeout );
51
51
52
52
/**
53
- * Return interrupt/ doorbell signals that have been asserted based on the bitmask provided.@n
53
+ * Return interrupt and doorbell signals that have been asserted based on the bitmask provided.@n
54
54
* The mask contains a set of signals the caller is interested in handling and must be a subset
55
55
* of combined interrupt and doorbell mask for the calling partition.
56
56
*
@@ -63,7 +63,7 @@ uint32_t psa_wait_any(uint32_t timeout);
63
63
uint32_t psa_wait_interrupt (uint32_t interrupt_mask , uint32_t timeout );
64
64
65
65
/**
66
- * Return the Partition ID of the caller.
66
+ * Return the partition ID of the caller.
67
67
*
68
68
* @note Bit[31] is set if the caller is from the NSPE.
69
69
*
@@ -73,7 +73,7 @@ uint32_t psa_wait_interrupt(uint32_t interrupt_mask, uint32_t timeout);
73
73
int32_t psa_identity (psa_handle_t msg_handle );
74
74
75
75
/**
76
- * Get the message which corresponds to a given signal.
76
+ * Get the message that corresponds to a given signal.
77
77
*
78
78
* @param[in] signum an asserted signal returned from psa_wait().
79
79
* @param[out] msg pointer to a psa_msg structure.
@@ -108,7 +108,7 @@ size_t psa_read(psa_handle_t msg_handle, uint32_t invec_idx, void *buf, size_t n
108
108
/**
109
109
* Advance the current read offset by skipping @a num_bytes bytes for input vector
110
110
* indexed by @а invec_idx.@n
111
- * If @a num_bytes is greater than the remaining number of bytes in the vector then
111
+ * If @a num_bytes is greater than the remaining number of bytes in the vector, then
112
112
* all the remaining bytes are skipped.
113
113
*
114
114
* @param[in] msg_handle Handle for the client's message.
@@ -134,8 +134,8 @@ void psa_write(psa_handle_t msg_handle, uint32_t outvec_idx, const void *buffer,
134
134
/**
135
135
* Complete handling of specific message and unblocks the client.
136
136
*
137
- * A return code must be specified, which will be sent to the client.@n
138
- * Negative return code represent errors, Positive integers are application-specific.
137
+ * A return code must be specified, which is sent to the client.@n
138
+ * Negative return code represent errors; positive integers are application-specific.
139
139
*
140
140
* @param[in] msg_handle Handle for the client's message.
141
141
* @param[in] status Message result value to be reported to the client.
0 commit comments