sparrow-kata-full/apps/system
Sam Leffler f9ea7c196e SDKRuntime: overhaul rpc mechanism
Simplify the rpc mechanism and make it more robust. Instead of serializing
the request token at the front of the slice assigned to request arguments,
write the token to the label field of the MessageInfo. Likewise instead
of incorporating the status in the response data return that in the
label field.  This noticeably simplifies the code and properly handles
the case where the receiver fails to map the page frame associated with
rpc (previously it kinda punted, now the caller get a proper status
result). While here extend the request/reswponse enum's to give each
error a distinct value.

Note that requsst/response tokens are passed as raw numbers under the
assumption sender + receiver are on the same machine so are using the
same byte order.

NB: this adds the num_enum crate to handle enum<>primitive conversions.

Change-Id: I536a23c7bddc43c686cc4335f22524debeeedf4f
GitOrigin-RevId: 8a9fa009dc65605b8d160330edcde02dcfa2172b
2022-10-18 15:36:40 -07:00
..
components SDKRuntime: overhaul rpc mechanism 2022-10-18 15:36:40 -07:00
interfaces SDKRuntime: plumb application access 2022-10-06 19:04:02 +00:00
CMakeLists.txt Remove StorageManager. 2022-10-06 19:01:09 +00:00
rust.cmake rust.cmake: add comment pointing to CAmkES setting of --tls-model 2022-10-06 18:57:25 +00:00
system.camkes SDKRuntime: add key-val store api's 2022-10-06 19:04:25 +00:00