Commit graph

461 commits

Author SHA1 Message Date
Sean Cross
c2008e5fe8 syscall: implement map_memory wrapper
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-13 20:33:08 +08:00
Sean Cross
08e416c776 kernel: support omitting virtual address when mapping
This forms the basis for message passing.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-13 12:44:23 +08:00
Sean Cross
967464df93 kernel: mem: rename last memory address variable
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-13 09:52:53 +08:00
Sean Cross
fb3da7294c mem: turn function comment into rustdoc
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-13 08:32:44 +08:00
Sean Cross
4bb3f6db68 Merge branch 'master' of github.com:betrusted-io/xous-core 2020-03-13 08:30:55 +08:00
Sean Cross
f0d4e44254 kernel: processtable: add "last_default_address"
This will be used to accelerate allocations for ranges.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-12 17:02:03 +08:00
Sean Cross
87676c0fc5 mem: start implementing find_virtual_address()
Right now it just returns the address, which is exactly what we had
before.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-12 17:01:40 +08:00
Sean Cross
c1b575507d mem: better handling of memory alloc failures
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-12 16:51:14 +08:00
Sean Cross
36faa8354f riscv: mem: silence warnings when print-debug is disabled
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-12 16:50:55 +08:00
Sean Cross
09890a2ca3 riscv: use upstream riscv module
Still pulling from git, as the version number hasn't been bumped yet.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-11 17:49:03 +08:00
Sean Cross
f50ec67553 initial commit
This pulls together many disparate repositories into one xous-core
repository.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-10 12:13:05 +08:00