Commit graph

11 commits

Author SHA1 Message Date
Sean Cross
834c637783 examples: go to sleep when we panic
This prevents this process from constantly hogging the CPU.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-01 13:20:31 +08:00
Sean Cross
bdb8eac9ad MemoryRange: move to using this struct for memory ranges
This is a combination of MemoryAddress and MemorySize.  This is
guaranteed to be not null.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-01 10:28:36 +08:00
Sean Cross
94459c8d43 examples: add log strings
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 18:37:40 +08:00
Sean Cross
abce9eb0c1 message::move: implement movable messages
This is the first implementation of message passing with moving memory.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 18:03:19 +08:00
Sean Cross
8b54ebff35 examples: the beginnings of message passing and receiving
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-19 17:26:16 +08:00
Sean Cross
4597e5291c log: print out received message
The syscall isn't hooked up yet, but we're ready for when it is.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-19 09:06:21 +08:00
Sean Cross
2abf3c8600 examples: remove memory checks
These take a long time to start up.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-16 19:04:26 +08:00
Sean Cross
1730cb377b examples: log: use name when creating server
The create_server call now takes a name.  Provide this name.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-16 19:02:40 +08:00
Sean Cross
4cd6a5d64d log: call create_server syscall
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-14 15:58:22 +08:00
Sean Cross
672896a1a3 log: use claim_interrupt wrapper
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-14 15:42:11 +08:00
Sean Cross
5ce653882e log: add log example
Note: does not currently log

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-13 20:32:44 +08:00