Skip to content

Conversation

@Patater
Copy link
Contributor

@Patater Patater commented Sep 27, 2016

Now that the RTOS integration has completed and RPC is available, how
the Box ID API works has changed a bit. Update the documentation to
reflect how the Box ID API works now.

@AlessandroA @niklas-arm @meriac

Preview https://github.com/Patater/uvisor/blob/box-id-api-doc/docs/api/API.md#box-identity

docs/api/API.md Outdated
<td>Return value</td>
<td colspan="2">The ID of the caller box, or -1 if there is no secure gateway calling box</td>
<td>`box_id_caller` value</td>
<td colspan="2">After a call, `box_id_caller` is set to the box ID of the calling box (the source box of the RPC). This is set before the RPC is dispatched, so that the RPC target function can read from this location to determine the calling box ID. This parameter is optional. PROTIP: When deciding which memory to provide for rpc_fncall_waitfor to use when writing box_id_caller, strongly prefer thread local storage when multiple threads in a box can handle incomign RPC.</td>
Copy link
Contributor

@meriac meriac Sep 27, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Patater Please don't use PROTIP, but blockquotes instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@Patater Patater force-pushed the box-id-api-doc branch 2 times, most recently from 2e1513b to d787a8d Compare September 27, 2016 10:06
Now that the RTOS integration has completed and RPC is available, how
the Box ID API works has changed a bit. Update the documentation to
reflect how the Box ID API works now.
@meriac meriac merged commit bd3ec19 into ARMmbed:master Sep 27, 2016
@mazimkhan
Copy link

retest uvisor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants