capsules_extra

Module kv_driver

Source
Expand description

KV Store Userspace Driver.

Provides userspace access to key-value store. Access is restricted based on StoragePermissions so processes must have the required permissions in their TBF headers to use this interface.

+===============+
||  Userspace  ||
+===============+

-----Syscall Interface-----

+-------------------------+
|  KV Driver (this file)  |
+-------------------------+

   hil::kv::KVPermissions

+-------------------------+
| Virtualizer             |
+-------------------------+

   hil::kv::KVPermissions

+-------------------------+
|  K-V store Permissions  |
+-------------------------+

   hil::kv::KV

+-------------------------+
|  K-V library            |
+-------------------------+

   hil::flash

Structs§

  • Contents of the grant for each app.
  • Capsule that provides userspace access to a key-value store.

Constants§