Skip to content

Commit b87ab25

Browse files
Amanda ButlerOren Cohen
authored andcommitted
Edit spm_server.h
Make minor edits, mostly for consistent capitalization and style.
1 parent 25239a4 commit b87ab25

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

components/TARGET_PSA/spm/COMPONENT_SPE/spm_server.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#define __MBED_SPM_SERVER_H__
2020

2121
/** @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.
2424
* @{
2525
*/
2626

@@ -35,7 +35,7 @@ extern "C" {
3535
#endif
3636

3737
/** @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.
3939
* @{
4040
*/
4141

@@ -50,7 +50,7 @@ extern "C" {
5050
uint32_t psa_wait_any(uint32_t timeout);
5151

5252
/**
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
5454
* The mask contains a set of signals the caller is interested in handling and must be a subset
5555
* of combined interrupt and doorbell mask for the calling partition.
5656
*
@@ -63,7 +63,7 @@ uint32_t psa_wait_any(uint32_t timeout);
6363
uint32_t psa_wait_interrupt(uint32_t interrupt_mask, uint32_t timeout);
6464

6565
/**
66-
* Return the Partition ID of the caller.
66+
* Return the partition ID of the caller.
6767
*
6868
* @note Bit[31] is set if the caller is from the NSPE.
6969
*
@@ -73,7 +73,7 @@ uint32_t psa_wait_interrupt(uint32_t interrupt_mask, uint32_t timeout);
7373
int32_t psa_identity(psa_handle_t msg_handle);
7474

7575
/**
76-
* Get the message which corresponds to a given signal.
76+
* Get the message that corresponds to a given signal.
7777
*
7878
* @param[in] signum an asserted signal returned from psa_wait().
7979
* @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
108108
/**
109109
* Advance the current read offset by skipping @a num_bytes bytes for input vector
110110
* 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
112112
* all the remaining bytes are skipped.
113113
*
114114
* @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,
134134
/**
135135
* Complete handling of specific message and unblocks the client.
136136
*
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.
139139
*
140140
* @param[in] msg_handle Handle for the client's message.
141141
* @param[in] status Message result value to be reported to the client.

0 commit comments

Comments
 (0)