Skip to content

Commit bcba7d2

Browse files
AnotherButlerAnotherButler
authored andcommitted
Copy edit QUICKSTART.md
Edit new section for minor grammar changes. NO CONTENT REVIEW NECESSARY.
1 parent 5ee821b commit bcba7d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/api/QUICKSTART.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,13 +310,13 @@ If the LED is blinking, the app is running correctly. If you press the `SW2` but
310310
## Expose public secure entry points to the secure box
311311
[Go to top](#overview)
312312

313-
So far the code in the secure box cannot communicate to other boxes. To let other boxes call functions in our secure box you can define public secure entry points. These entry points can map to private functions within the context of a secure box, and the arguments and return values are automatically serialized using an RPC protocol to ensure no private memory can be leaked to external boxes.
313+
So far, the code in the secure box cannot communicate to other boxes. To let other boxes call functions in our secure box you can define public secure entry points. These entry points can map to private functions within the context of a secure box, and the arguments and return values are automatically serialized using an RPC protocol to ensure no private memory can be leaked to external boxes.
314314

315315
You can define a public secure entry point to retrieve the index value from the secure box. This index value is increased every time the `SW2` button is pressed.
316316

317317
### Defining a secure entry point
318318

319-
Create a new source file, `~/code/uvisor-example/source/secure_box.h`. In here we will define the functions that can be called through RPC.
319+
Create a new source file, `~/code/uvisor-example/source/secure_box.h`, where we will define the functions that can be called through RPC.
320320

321321
```cpp
322322
/* ~/code/uvisor-example/source/secure_box.h */
@@ -351,7 +351,7 @@ UVISOR_BOX_RPC_GATEWAY_SYNC (private_button, secure_get_index, get_index, int, v
351351
352352
### Listening for RPC messages
353353
354-
To receive RPC messages you will need to spin up a new thread, running in the secure box context. You can do this in the main thread of the secure box. In `~/code/uvisor-example/source/secure_box.cpp`, replace the first five lines of `private_button_main_thread` with:
354+
To receive RPC messages, you need to spin up a new thread, running in the secure box context. You can do this in the main thread of the secure box. In `~/code/uvisor-example/source/secure_box.cpp`, replace the first five lines of `private_button_main_thread` with:
355355
356356
```cpp
357357
/* ~/code/uvisor-example/source/secure_box.cpp */

0 commit comments

Comments
 (0)