tock / libtock-rs

Rust userland library for Tock
Apache License 2.0
163 stars 109 forks source link

Add key-value support #488

Closed bradjc closed 8 months ago

bradjc commented 1 year ago

This adds the api and an example app for key-value.

This is blocked on two things:

  1. 487 - we need the new upcall conversion types

  2. https://github.com/tock/tock/pull/3551 - we should wait until the kernel settles down before actually merging this. The userspace code won't change that much, and I wanted to open this PR to get any feedback.
jrvanwhy commented 1 year ago

Are you planning to add a fake version of the key-value syscall driver once https://github.com/tock/tock/pull/3551 is stabilized? If so, great. If not, then we should probably have a discussion on whether we want to require unit tests for all API implementations.

bradjc commented 8 months ago

I added a unittest implementation.

bradjc commented 8 months ago

This should be ready to go.