bunnie
8a8c1e6a66
foundations for predictive text display
2021-03-08 00:57:50 +08:00
bunnie
49d6018e5e
new feature: backspace (*gasp* iknowrite?)
...
harder than it looks with utf8 and variable-width characters
2021-03-06 19:37:22 +08:00
bunnie
161b1943eb
fix push() function on string
...
didn't hnadle variable length encoding of the utf8 correctly
2021-03-06 02:55:14 +08:00
bunnie
5ea2a21d2d
tighten up APIs, implement a very 0th-order input loop
...
this is where the debugging begins of the beginning of
the API. it's like finally finding the start of a roll
of clear tape.
2021-03-04 19:02:56 +08:00
Sean Cross
5a0533d6bc
xous: definitions: add Display to MemoryType
...
Useful in debugging and error messages.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-03 21:16:45 +08:00
bunnie
8f809c2a51
start layering in the IME front end and prediction APIs
2021-03-03 14:53:33 +08:00
bunnie
d1609d2a31
another commit checkpoint. somehow, i have a race condition now.
2021-03-01 15:08:08 +08:00
bunnie
66902b6bfb
cleanup minor formatting detail
2021-03-01 13:47:06 +08:00
bunnie
4640dc404f
make panic messages a bit more helpful
2021-03-01 13:45:36 +08:00
bunnie
c5e6391e22
remove mention of Sendable and the ipc.rs module
2021-02-18 02:01:11 +08:00
bunnie
0af72ffb6d
clean up Sendable references and warnings
2021-02-17 23:29:20 +08:00
Sean Cross
14f661f565
xous: remove id field from lend()
...
This argument is no longer used.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:54:08 +08:00
Sean Cross
c349345ce8
xous: get rid of most warnings
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:40:27 +08:00
Sean Cross
f361bd6e7e
xous: buffer: impl Drop for Buffer
...
This will release a Buffer to the kernel when it goes out of scope.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:31:02 +08:00
bunnie
2b003f8a7d
intermediate checkin
2021-02-16 00:28:44 +08:00
bunnie
2a46f541f2
add PID identification facility to help with debugging
2021-02-15 19:15:58 +08:00
bunnie
af012c48dc
getting a little further with the port, but still crashing on a borrow message
2021-02-15 04:42:30 +08:00
bunnie
fc8290cdb4
futzing around and something is kind of working on xous-string port to rkyv
2021-02-15 00:05:42 +08:00
bunnie
7e0902344c
move XousBuffer to xous-rs
2021-02-13 01:42:31 +08:00
bunnie
9f79367d1c
Merge branch 'hardware-rkyv' into hardware
2021-02-12 01:56:50 +08:00
Sean Cross
f98c8cc07c
xous: make thread IDs u32
...
This keeps them consistent across platforms.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-01 17:18:24 +08:00
bunnie
8ed37a0dcb
add API framework for LLIO
2021-01-27 13:33:03 +08:00
bunnie
31e58c3337
add benchmarks. this commit exhibits a mysterious problem with Lookup API
2021-01-22 04:11:02 +08:00
bunnie
4406f73539
remove usize from xous::String structure
2021-01-22 01:33:06 +08:00
bunnie
8da2601b42
other minor changes
2021-01-21 03:57:57 +08:00
bunnie
f247e557e8
now to the point of testing the general message flow in hosted mode
2021-01-19 18:58:57 +08:00
bunnie
82e7855b24
add some new error codes
...
maybe they don't belong here?? they are error codes for
the GAM.
2021-01-19 00:04:55 +08:00
bunnie
73286828c8
more GAM API fleshing out; now to the point of updating a TextView
2021-01-18 04:12:40 +08:00
bunnie
b6efb15488
add debug trait to xous-string
2021-01-17 17:00:57 +08:00
bunnie
cc66c3911a
starting to lay out initial framework for the graphical abstraction manager (GAM)
2021-01-17 04:02:08 +08:00
bunnie
8a1991876f
add basic TRNG service
2021-01-13 15:04:14 +08:00
bunnie
aeadbfb1b5
fix up keyboard API to use scalars, add demo connection
...
also fix a bunch of other idiomatic weirdnesses
2021-01-12 00:00:57 +08:00
bunnie
f166073954
first draft of keyboard server
2021-01-11 06:11:15 +08:00
bunnie
ea78de8014
convert all services to use xous-names server
2021-01-09 02:12:01 +08:00
bunnie
4ef581a266
riddled with race conditions, but...sort of works
2021-01-08 05:20:53 +08:00
bunnie
8a8d675ebf
add the names.rs
2021-01-07 22:30:54 +08:00
bunnie
95d4f03591
intermediate checkin
2021-01-07 21:53:08 +08:00
bunnie
9716eba039
Merge remote-tracking branch 'origin/master' into hardware
2021-01-07 20:34:04 +08:00
Sean Cross
6ccbacf65f
loader: assign sections to process ownership
...
This ensures these addresses aren't re-used and handed out again by
memory allocation.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-07 20:33:21 +08:00
hasheddan
666be8db7f
Fix server typos in syscall doc comments
...
Fixes a few minor typos in the sycall documentation comments.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-01-05 16:28:08 -06:00
bunnie
cce89395f6
test framework for xous-names
2021-01-04 23:34:18 +08:00
Sean Cross
f6c3d955ea
xous: add ipc module
...
This module is a stopgap to allow for transferring structs and enums
between modules.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-03 18:57:46 +08:00
Sean Cross
7b50d00eb8
repo: run cargo fmt
...
This reformats line endings to be consistent, and reinforces the
contents of `.gitattributes`.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-03 18:31:51 +08:00
Sean Cross
1875126dba
xous: connect_for_process: add wrapper function
...
This provides a functional call around the raw syscall.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 22:50:49 +08:00
Sean Cross
06daa06921
xous: add syscall definition for ConnectForProcess
...
This call allows one process to establish a connection on behalf of
another process.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 22:47:01 +08:00
Sean Cross
b094f1147b
xous: implement sender.pid()
...
This is mostly an implementation detail, but appears to work.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 22:38:35 +08:00
Sean Cross
1fa83d1d94
xous: make MessageSender a struct
...
This is now an object instead of an alias for `usize`, in preparation
for adding a `.pid()` function.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 22:16:24 +08:00
Sean Cross
f165130931
xous: add CreateServer syscall
...
This syscall has not yet been wired up.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 20:44:45 +08:00
Sean Cross
25e4d16de3
xous-os: rename CreateServer to CreateServerWithAddress
...
Servers will, by default, get randomly-assigned SIDs. Certain servers
will want to have well-known SIDs, such as the log server or the
nameserver. These will use a separate call in order to perform this
priveledged operation.
A subsequent patch will add `CreateServer`.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 20:33:33 +08:00
Sean Cross
322051e8c1
xous-rs: log panics to log-server
...
When a process panics, log the contents of the panic to the log server.
This removes the dependency on a `println!()` implementation needing to
be defined in a project.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-27 13:55:36 +08:00