Commit graph

650 commits

Author SHA1 Message Date
bunnie
8a8d675ebf add the names.rs 2021-01-07 22:30:54 +08:00
bunnie
ab6fa7ae1c another intermediate checkout 2021-01-07 22:30:26 +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
Sean Cross
147100fa38 graphics-server: minifb: use iterators for drawing the screen
This removes the bounds checks that were being performed, and goes for a
pure iterator approach.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-07 20:30:42 +08:00
Sean Cross
e12a02b1c5 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:28:20 +08:00
Sean Cross
e8f85c7373 graphics-server: minifb: use iterators for drawing the screen
This removes the bounds checks that were being performed, and goes for a
pure iterator approach.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-07 19:28:37 +08:00
Sean Cross
037bbdc430 xtask: emulation: add nameserver to renode image
Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-07 18:51:57 +08:00
Sean Cross
f6bfd61cce 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 18:51:14 +08:00
Sean Cross
b16ad82e56 kernel: riscv: print out allocated address
This will aid in debugging.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-07 18:50:48 +08:00
Sean Cross
05464b945b kernel: print out panic messages
This enables `println!()` but avoids the excessive debug spew

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-07 18:50:19 +08:00
Sean Cross
2d33c3903d emulation: sync renode addresses
The addresses of the target system have changed. Update the platform
definition file to keep these addresses in sync.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-07 18:49:01 +08:00
bunnie
323c11f554 commit a version that exhausts the kernel allocation 2021-01-07 16:58:13 +08:00
Sean Cross
b884c8ed4f kernel: riscv: use page base addr when allocating pages
When allocating a page, it is only assigned a physical address once it
is actually needed. This on-demand paging works well, however we were
assuming that the first address of a page was accessed first.

This fixes an issue where a Message is allocated but the first byte
isn't accessed first.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-07 13:40:21 +08:00
Sean Cross
6cbec94953 kernel: riscv: use page base addr when allocating pages
When allocating a page, it is only assigned a physical address once it
is actually needed. This on-demand paging works well, however we were
assuming that the first address of a page was accessed first.

This fixes an issue where a Message is allocated but the first byte
isn't accessed first.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-07 13:34:42 +08:00
bunnie
dcdd33e594 copy svd file to renode emulation every time on build 2021-01-06 22:08:29 +08:00
bunnie
0ad4377586 update emulation.svd 2021-01-06 13:13:53 +08:00
Sean Cross
655a5b1c59
Merge pull request #27 from hasheddan/syscall-create-server-typo
Fix server typos in syscall doc comments
2021-01-06 09:31:55 +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
73c4be0457 upgrade name length to 64 characters 2021-01-05 16:53:19 +08:00
bunnie
0d869870ae this code works in hosted mode but fails on hardware 2021-01-05 15:48:51 +08:00
bunnie
ec675eefb4 cleanup warnings 2021-01-05 04:45:23 +08:00
bunnie
bdbe8f8288 intermediate checkin 2021-01-05 04:40:34 +08:00
bunnie
61409bb94c update README on xous-names, and refine the API a bit 2021-01-05 02:28:27 +08:00
bunnie
1075dff559 the name server itself 2021-01-04 23:34:36 +08:00
bunnie
cce89395f6 test framework for xous-names 2021-01-04 23:34:18 +08:00
bunnie
2beddd745e missed one merge conflict fix 2021-01-04 03:24:27 +08:00
bunnie
b7263f7ef0 Merge remote-tracking branch 'origin/master' into hardware 2021-01-04 03:19:23 +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
bunnie
f2873e3514 some final notes for testing prep 2021-01-03 17:32:21 +08:00
bunnie
8336eb22f3 add notes on the agent 2021-01-03 17:26:17 +08:00
bunnie
1359db06f4 add repeat command for stand-alone emissions testing 2021-01-03 03:04:25 +08:00
bunnie
63234411e2 get fcc test working 2021-01-02 03:04:28 +08:00
bunnie
3ceb41208c checkpoint: problems with pds send line (borrowed memory) 2021-01-01 03:44:42 +08:00
bunnie
17156e483c check in a version that breaks 2021-01-01 00:50:13 +08:00
bunnie
534fb5373a intermediate checkin for sharing 2021-01-01 00:45:07 +08:00
bunnie
9d63d39cae add the agent itself 2020-12-31 19:31:30 +08:00
bunnie
b9a31f7d99 try to layer in the fcc agent 2020-12-31 19:31:12 +08:00
bunnie
886f48ba61 make base field pub so we can initialize
needed for static debug structs
2020-12-31 19:30:48 +08:00
Sean Cross
a36ceb00c2 kernel: use crossbeam for tests
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-30 16:51:21 +08:00
Sean Cross
c9cb50b579 kernel: use crossbeam-channel internally
This provides better performance than MPSC.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-30 16:50:28 +08:00
Sean Cross
12def62858 gitattributes: add more types to attribute list
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-30 16:48:53 +08:00
Sean Cross
036d4776b5 gitattributes: add rs, toml, and lock files
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-30 16:45:41 +08:00
Sean Cross
e88b4cae7c emulation: update renode models to include trng
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-23 22:12:28 +08:00
bunnie
3ab7c322d7 commit adjustment and testing tweaks 2020-12-21 02:33:22 +08:00
bunnie
957c065f41 push mods for modnoise eval etc. 2020-12-18 04:35:39 +08:00
bunnie
fdd474fa89 get the trng-tester server working 2020-12-15 22:37:06 +08:00
bunnie
270c796585 Merge branch 'master' into hardware 2020-12-15 00:54:26 +08:00