sparrow-kata-full/apps
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
..
c Merge "apps: Extract crt0 from C apps" 2022-10-06 19:01:17 +00:00
repl kata: add directory for repl scripts 2022-10-18 15:36:09 -07:00
rust kata: rename kata-sdk-interface to sdk-interface 2022-10-06 19:04:47 +00:00
system SDKRuntime: overhaul rpc mechanism 2022-10-18 15:36:40 -07:00