summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2022-01-03 13:00:44 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2022-01-03 13:00:44 +0530
commit9ff1c58eee141b912fd39c36ae3919398d33ce4c (patch)
tree6f58bc5d3d323160710fd1abc07118f1a08d90aa
parenteead365e2da5a984c1b477098c97b8fcfcffd4c3 (diff)
updates
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
-rw-r--r--boot_constraint/.boot_constraint_orig.txt.swpbin0 -> 16384 bytes
-rw-r--r--rust/.gpio.txt.swpbin0 -> 36864 bytes
-rw-r--r--rust/gpio.txt31
3 files changed, 31 insertions, 0 deletions
diff --git a/boot_constraint/.boot_constraint_orig.txt.swp b/boot_constraint/.boot_constraint_orig.txt.swp
new file mode 100644
index 0000000..17df0f4
--- /dev/null
+++ b/boot_constraint/.boot_constraint_orig.txt.swp
Binary files differ
diff --git a/rust/.gpio.txt.swp b/rust/.gpio.txt.swp
new file mode 100644
index 0000000..6239ba2
--- /dev/null
+++ b/rust/.gpio.txt.swp
Binary files differ
diff --git a/rust/gpio.txt b/rust/gpio.txt
new file mode 100644
index 0000000..354931c
--- /dev/null
+++ b/rust/gpio.txt
@@ -0,0 +1,31 @@
+Rust based Virtio I2C backend
+=============================
+
+There is a growing trend towards virtualization in areas other than the
+traditional server environment. The server environment is uniform in nature, but
+as we move towards a richer ecosystem in automotive, medical, general mobile and
+the IoT spaces, more device abstractions and way richer organizations are
+needed. link:https://www.linaro.org/projects/#automotive_STR[Linaro's project
+Stratos] is working towards developing hypervisor agnostic abstract devices
+leveraging virtio and extending hypervisor interfaces and standards to allow all
+architectures.
+
+The Virtual Input/Output device (Virtio) standard provides an open interface for
+guest virtual machines (VMs) to access simplified "virtual" devices, such as
+network adapters and block devices, in a paravirtualized environment. Virtio
+provides a straightforward, efficient, standard and extensible mechanism for
+virtual devices, rather than a per-environment or per-OS mechanism.
+
+The back-end (BE) virtio driver, implemented in the hypervisor running on the host,
+exposes the virtio device to the guest OS through a transport method, like PCI
+or MMIO. The virtio device, by design, looks like a physical device to the guest
+OS, which implements a front-end (FE) virtio driver compatible with the virtio
+device exposed by the hypervisor. The virtio device and driver communicate based
+on set of predefined protocols as defined in the
+link:https://github.com/oasis-tcs/virtio-spec[virtio specification], which is
+maintained by link:https://www.oasis-open.org/org/[OASIS]. The FE driver can
+implement zero or more Virtual queues ("virtqueues"), as defined by the virtio
+specification. The virtqueues are the mechanism of bulk data transport between
+FE (guest) and BE (host) drivers. These are normally implemented as standard
+ring buffers in the guest physical memory by the FE drivers. The BE drivers only
+need to parse the virtqueue structures to obtain the requests and process them.