bunnie
76684c89fc
refactor the traits to have a default implementation
...
probably should be the *only* implementation because these are
only concerned with IPC calls that really require changes in
two separate crates, but I feel unconfident enough about the API
that for now I want the flexibility to experiment with non-default
APIs until I'm ready to freeze things.
2021-03-04 04:48:22 +08:00
bunnie
f565fdaf6f
refactor API into a separate crate with traits
2021-03-04 04:33:20 +08:00
bunnie
92ca22c38c
refactor IME plugin API into a common crate
...
This will allow other APIs to just include the API crate
to define all the gazintas and gozoutas.
2021-03-04 03:14:26 +08:00
bunnie
2b768e9b86
fix warnings in initial API
2021-03-03 23:27:30 +08:00
bunnie
e62256b3df
clean up hosted mode warnings
2021-03-03 22:50:46 +08:00
bunnie
313f12acbb
clean up warnings
2021-03-03 22:38:20 +08:00
bunnie
50b521266f
Merge remote-tracking branch 'origin/hardware' into hardware
2021-03-03 22:09:57 +08:00
bunnie
b04e57f5a4
prepare for a merg
2021-03-03 22:09:45 +08:00
Sean Cross
0c6cb9135e
services: add kernel-test
...
This was used to demonstrate the message passing bug.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-03 21:22:26 +08:00
Sean Cross
83da8c4e7d
syscall: remove commented-out pid code
...
This isn't used.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-03 21:20:21 +08:00
Sean Cross
f5a678e36f
kernel: services: remove extra debugging prints
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-03 21:20:03 +08:00
Sean Cross
8c599a3080
kernel: mem: remove unused debugging prints
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-03 21:19:45 +08:00
Sean Cross
db8e814cb7
kernel: services: fix sending messages within a process
...
This fixes the case where there is only one process active and it tries
to send messages to itself, or it yields to itself.
This closes issue #42 .
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-03 21:18:58 +08:00
Sean Cross
cc4c0f3c58
kernel: services: implement Debug for ProcessState
...
This gives us prettier and more useful displays for ProcessState.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-03 21:18:01 +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
Sean Cross
506bd381b2
kernel: debug: don't print out if not initialized
...
This allows us to use println early on even before it's initialized,
which will allow us to ignore prints to an uninitialized port.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-03 21:13:03 +08:00
Sean Cross
93d295b93b
kernel: riscv: fix memory reuse bug
...
Memory that was marked as reserved-but-not-in-use could get reallocated.
Practically speaking, this caused threads to share stack, which makes
things spooky.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-03 21:12:09 +08:00
bunnie
8f809c2a51
start layering in the IME front end and prediction APIs
2021-03-03 14:53:33 +08:00
bunnie
9804290854
add some primers to the status loop
...
this helps the screen-up time appear faster, so we aren't
waiting for a full poll interval for new data to appear before
the system apears to be powered on
2021-03-02 21:57:52 +08:00
bunnie
61b609d705
Merge branch 'master' of github.com:betrusted-io/xous-core
2021-03-02 21:51:59 +08:00
bunnie
0889e83401
Merge remote-tracking branch 'betrusted/hardware'
2021-03-02 21:51:41 +08:00
bunnie
9a2bce24cb
clean up timing and cosmetic issues on status updates
2021-03-02 21:47:23 +08:00
bunnie
2d59adbe0e
fix thread scheduling bug
...
the code originally would pick the same thread over and over again
this fix starts the thread search at one plus the current thread
wrapping around to one plus the current thread, so we always try
to pick a new thread compared to the current one, instead of
generally picking the same thread most of the time.
2021-03-02 21:46:14 +08:00
bunnie
4b0f50293f
another intermediate commit
2021-03-02 21:15:40 +08:00
bunnie
96a19baa8d
state before refactor of status to own process
2021-03-02 19:25:41 +08:00
bunnie
c9d7b1c504
add parsing for the <constants> extensions most recently added into Litex
2021-03-02 02:05:34 +08:00
bunnie
d1609d2a31
another commit checkpoint. somehow, i have a race condition now.
2021-03-01 15:08:08 +08:00
bunnie
70aa5b792b
check in for inspection
2021-03-01 14:40:39 +08:00
bunnie
66902b6bfb
cleanup minor formatting detail
2021-03-01 13:47:06 +08:00
bunnie
93a7567618
ticktimer prints its PID now
2021-03-01 13:46:02 +08:00
bunnie
4640dc404f
make panic messages a bit more helpful
2021-03-01 13:45:36 +08:00
bunnie
5917ff4664
add object drawing to the GAM abstraction layer
2021-03-01 04:01:33 +08:00
bunnie
ce59bea2fa
add function to extract canvas dimensions from GAM
...
gfx_conn should be exclusive from GAM to gfx_conn, so
need to refactor out all the errant calls that are
scattered about.
2021-03-01 02:33:13 +08:00
bunnie
bee1f796ee
add rounded rectangle drawing
2021-03-01 01:49:22 +08:00
bunnie
e2c0ea7589
Merge pull request #40 from betrusted-io/hardware
...
Merge in blitstr changes
2021-02-27 15:55:04 +08:00
bunnie
75b01ae400
ignore .map file outputs
2021-02-27 15:54:07 +08:00
bunnie
1ee538cda8
clean up test hanzi characters now that we have the planes built in
2021-02-27 15:53:31 +08:00
bunnie
2744bf5678
fix warnings
2021-02-27 15:53:23 +08:00
bunnie
0c20f1dac1
add a test character for hanzi plane
2021-02-27 15:53:10 +08:00
bunnie
2795dc4d8a
creepy Heapless bug cropping up again...this time u32s aren't being stored right
2021-02-27 15:52:40 +08:00
bunnie
838fa25bad
get rid of the awful dummy arg hack and use #used directive to keep font maps in loader
2021-02-27 14:52:21 +08:00
bunnie
d7e1959fed
disintegrated fonts working
2021-02-27 14:35:53 +08:00
bunnie
0dc40f4185
attempt to separate fontmaps and loader out of kernel
2021-02-27 02:12:19 +08:00
bunnie
cfa63cb574
integrate latest blitstr (v0.5.0)
2021-02-26 05:01:20 +08:00
bunnie
463e2ad77d
fixup GAM APIs to latest rkyv standard, fix drawable computation
2021-02-26 03:37:48 +08:00
bunnie
5b80b3fb42
get fcc-agent working again
2021-02-23 04:01:01 +08:00
bunnie
6528bc77d4
refactor GAM to use rkyv
2021-02-19 04:02:29 +08:00
bunnie
e175d922f0
Merge branch 'hardware'
2021-02-18 02:35:40 +08:00
bunnie
5cdf597a5b
fixup tests
2021-02-18 02:35:11 +08:00
bunnie
cb77dde6d8
Merge pull request #39 from betrusted-io/hardware
...
Synchronize in the rkyv changes
2021-02-18 02:07:13 +08:00