Sean Cross
8be5855ea3
examples: shell: remove Log Server stuff
...
We don't have a log server yet, so remove this dependency.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 19:07:53 +08:00
Sean Cross
2aa6d1298f
shell: timer: add timer function
...
We're now a preemptive kernel, yay!
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 19:07:34 +08:00
Sean Cross
18129d575b
shell: add utra to Cargo.toml
...
This is required in order to get the timer address.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 19:07:06 +08:00
Sean Cross
81ff6afd66
shell: disable debug output for now
...
We don't have a serial console yet, so disable this.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 19:06:13 +08:00
Sean Cross
e73fe08a3e
graphics-server: bounds-check for negative coords
...
This prevents us from drawing pixels off the screen.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 19:04:24 +08:00
Sean Cross
8759f552f7
kernel: syscall: allow returning to the kernel
...
If nothing is running, don't crash when the timer hits.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 18:28:58 +08:00
Sean Cross
fa23cfa88b
kernel: services: update some debug comments
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 18:28:29 +08:00
Sean Cross
7843189c45
kernel: remove printing of "hello, world!"
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 18:28:02 +08:00
Sean Cross
a00151b4de
kernel: use IRQ 0 for UART
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 18:27:49 +08:00
Sean Cross
5f4ee01a0d
kernel: use fixed address for debug port
...
Don't use the hardware address, since it is not likely to be in
the universal address space.
Signed-off-by: Sean <xobs@ci.betrusted.io>
2020-10-04 18:13:58 +08:00
Sean
bbab52be7f
kernel: flush MMU when we rotate the SATP value
...
Signed-off-by: Sean <xobs@ci.betrusted.io>
2020-10-04 18:12:27 +08:00
Sean
ba320184b0
tools: create-image: print out error when csr.csv can't be opened
...
Signed-off-by: Sean <xobs@ci.betrusted.io>
2020-10-03 20:32:31 +08:00
bunnie
68ed82cb66
update submod
2020-10-02 05:12:52 +08:00
bunnie
711e5ea910
slot in utra references
2020-10-02 04:52:03 +08:00
bunnie
6be6975c77
update utra
2020-10-02 04:33:38 +08:00
bunnie
6fc83db9c0
Merge branch 'dvt-hardware' of github.com:betrusted-io/xous-core into dvt-hardware
2020-10-02 04:22:27 +08:00
bunnie
58bf06fd14
add utra module
2020-10-02 04:16:20 +08:00
bunnie
a077e49ec6
Update README.md
2020-09-26 02:01:48 +08:00
bunnie
0303b2ec8f
add a helper script to boot kernel gdb session
2020-09-26 01:41:55 +08:00
bunnie
1c78a339d4
update intermediate notes
2020-09-26 01:37:51 +08:00
bunnie
4cded404e3
fix offset of UART
2020-09-26 01:36:45 +08:00
bunnie
5deeebae3b
the loader seems to be working now.
2020-09-26 00:03:46 +08:00
bunnie
4760422162
add a xous-packaging script
2020-09-25 17:51:22 +08:00
bunnie
44f1a6b307
Merge branch 'master' of https://github.com/betrusted-io/xous-core into dvt-hardware
2020-09-25 17:50:24 +08:00
bunnie
8cc85f4e11
mods for running on DVT hardware
2020-09-25 17:50:02 +08:00
bunnie
6cb1aad93c
Update README.md
2020-09-25 17:49:05 +08:00
bunnie
b9f3c6c104
Update README.md
2020-09-25 17:48:54 +08:00
bunnie
b028167c5d
Update README.md
2020-09-25 17:38:11 +08:00
bunnie
a90728a7fa
Update README.md
2020-09-25 17:37:18 +08:00
bunnie
38172b2560
Update README.md
2020-09-25 17:31:44 +08:00
bunnie
49f4ab47eb
Update README.md
2020-09-25 17:16:44 +08:00
bunnie
a6cc63db53
Update README.md
2020-09-25 17:11:52 +08:00
Sean Cross
2575d13acd
cargo: update lock file
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-23 10:59:38 +08:00
Sean Cross
10526c6be9
examples: add blockingscalar to message types
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-23 10:59:12 +08:00
Sean Cross
4a8590d336
graphics-server: fix to change in send_message syntax
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-23 10:58:09 +08:00
Sean Cross
9010c07fe1
Merge branch 'master' of github.com:betrusted-io/xous-core into master
2020-09-23 10:54:42 +08:00
Sean Cross
e5583a7646
kernel: fix message sender parameter
...
The `sender` was, previously, somewhat mislabeled. It was a combination
of PID and TID, except when it wasn't.
Instead, make this value a combination of ConnectionID and queue index.
This makes it easier to reason about which connection we're responding
to.
Additionally, don't expose teh global Server Index Table to userspace
programs.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-23 10:52:22 +08:00
Sean Cross
ad154e998e
xous: add NewServerID return value
...
This is used when creating a new Server. In addition to the ServerID, it
also returns the ConnectionID. This is the ID that can be expected when
receiving messages.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-23 10:51:27 +08:00
bunnie
6838e6a1cc
Update README.md
2020-09-22 23:54:32 +08:00
Sean Cross
d8edcb8b9e
xous: implement ReturnScalar and ReturnScalar2
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-22 23:36:11 +08:00
Sean Cross
446fe17273
xous: add syscall for BlockingScalar
...
This enables this to be passed to the kernel.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-22 22:21:21 +08:00
Sean Cross
435612a370
kernel: syscall: use new is_blocking() call
...
This removes the need to manually specify whether a call is blocking.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-22 22:14:03 +08:00
Sean Cross
43002b8627
kernel: add blocking scalars
...
Add a new type: BlockingScalar, that can be used to do blocking scalar
calls such as sleep().
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-22 22:05:18 +08:00
Sean Cross
673577a10e
xous: syscall: add BlockingScalar to syscall handling
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-22 21:33:09 +08:00
Sean Cross
81a927e31f
xous: definitions: Message: add has_memory()
...
This function can be used to determine if a function has any memory
attached to the message.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-22 21:25:28 +08:00
Sean Cross
6c941855be
xous: definitions: add is_blocking() to Message
...
This function can be used to determine if a Message will block when sent
to the host.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-22 21:23:18 +08:00
Sean Cross
799c1c3822
xous: definitions: add Scalar1 and Scalar2 return values
...
These return values can be used to return something other than "Success"
from a blocking call.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-22 21:19:37 +08:00
Sean Cross
6d931ccc33
kernel: irq: disable irqs during handler
...
This fixes issue #1 , which correctly noted the comment was correct but
the code implementation was not correct.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-22 21:13:56 +08:00
Sean
f1353e8ff0
xous: hosted: free MemoryMessage::Move after send
...
This ensures that these messages aren't leaked. In a native system, this
memory would be "freed" by the kernel as it is attached to the new
memory space.
Signed-off-by: Sean <xobs@ci.betrusted.io>
2020-09-03 13:22:13 +08:00
Sean
5b45382489
xous: make SysCallNumber pub
...
Signed-off-by: Sean <xobs@ci.betrusted.io>
2020-09-03 13:21:52 +08:00