Commit graph

19 commits

Author SHA1 Message Date
nworbnhoj
00af36d6de
Pass thru buffer serialize Err
It is more helpful to pass thru the error because "couldn't serialize" does not help the developer to resolve the issue.
2022-04-23 13:11:52 +10:00
Sean Cross
5992d40e67 xous-ipc: use 0.9.7 of xous-rs
Signed-off-by: Sean Cross <sean@xobs.io>
2022-02-07 13:48:02 +08:00
bunnie
13de52fa8d TcpListener debugging, just a little bit
Spent a couple hours chasing down a "bug" which is acutally just
something about how http works that I don't understand. TCP was
working just fine but there is ... idk some sort of keep alive
thing that occupies a socket so the "web server" blocks waiting
for a read. Anyways, I guess the "right" way to solve that would
be to make a multi-threaded web server

OH GOD STOP

right. it's just a demo to prove that TCP works. done.

Open an issue if you find a problem with TCP kthx!
2022-02-02 00:23:14 +08:00
bunnie
b3788a54af clarify the dependency policy 2022-01-10 16:50:10 +08:00
bunnie
995915ed4e nail down a couple more dependencies, and add a policy note to Cargo.toml
Each Cargo.toml now includes a comment which remnids maintainers
of the dependency policy for Xous (that is, nail down every dependency
to the minor number).
2022-01-10 15:54:27 +08:00
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
Sean Cross
11955ba6b1 xous-ipc: utilize published xous 0.8.0
This uses the published version of `libxous`.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-07 16:38:36 +08:00
Sean Cross
e2996935cf 0.8.0: tag release
This bumps version numbers to 0.8.0, indicating we're nearing final
release.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-07 16:34:16 +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