Commit graph

12 commits

Author SHA1 Message Date
bunnie
c0ce66ee51 fix permissions. windows is sort of stupid and makes everything +x 2021-08-19 23:34:29 +08:00
bunnie
2a2c75f420 add a rustfmt.toml and run rust fmt on the project
notably directories written by bunnie are excluded.
2021-08-19 23:33:23 +08:00
Sean Cross
9b48c0a2ee xous-ipc: remove most clippy warnings
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-06 12:21:42 +08:00
bunnie
1fc8cd969e add from_raw_parts and to_raw_parts methods
this is for sending buffers across thread boundaries to
help with argument initializaions
2021-07-28 17:34:51 +08:00
bunnie
4affdabc73 password modal box now nominally works 2021-07-27 17:30:37 +08:00
bunnie
42a1193522 add volatile_clear() to xous_ipc::String for password fields
Call this on Drop() to ensure that the string is cleared.
Written using volatile pointers and compiler fences to ensure
the clear is not optimized out or re-ordered.
2021-07-26 18:12:13 +08:00
Sean Cross
a99839ecd6 xous: mark MemoryRange fields as private
Mark the private fields in a `MemoryRange` struct as being private. This
allows us to perform operations on the memory range armed with the
knowledge that the entire range is valid and unaliased.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-24 17:41:16 +08:00
bunnie
d17ae106f1 kernel panic on memory lend 2021-05-05 00:58:48 +08:00
bunnie
7210f100f4 upgrade log server to pass rich message types 2021-04-02 01:54:17 +08:00
bunnie
aab0bf459c update API to more compliant names 2021-04-01 16:43:22 +08:00
bunnie
dc2519c5ef trying out new API names 2021-04-01 03:47:10 +08:00
Sean Cross
7bbcd951fe xous-ipc: add an initial implementation
This adds a first draft of `xous-ipc`, which specializes the IPC
features of Xous.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 20:22:06 +08:00