sparrow-kata-full/apps/system/components
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
..
DebugConsole DebugConsole: add autostart script support & make uart optional 2022-10-18 15:36:33 -07:00
kata-os-common sel4-sys: fixup MCS-affected syscall wrappers for aarch64 2022-10-06 19:04:55 +00:00
MailboxDriver MailboxDriver: fix debug build breakage 2022-10-06 19:00:43 +00:00
MemoryManager kata-memory-interface: improve portability 2022-10-18 15:35:45 -07:00
MlCoordinator kata: compile-out debug & trace log calls in release builds 2022-10-06 19:00:28 +00:00
OpenTitanUARTDriver OpenTitanUARTDriver: fix missing unlock 2022-10-06 18:54:26 +00:00
ProcessManager SDKRuntime: plumb application access 2022-10-06 19:04:02 +00:00
SDKRuntime SDKRuntime: overhaul rpc mechanism 2022-10-18 15:36:40 -07:00
SecurityCoordinator kata-security-coordinator: move test_mailbox to the real impl 2022-10-18 15:35:53 -07:00
TimerService kata: compile-out debug & trace log calls in release builds 2022-10-06 19:00:28 +00:00