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
bunnie
8d36974a86
add trng-tester crate (just the beginning)
2020-12-14 23:30:58 +08:00
bunnie
21b54a5033
get rid of an unnecessary &mut that makes svd2utra a bit difficult to use
2020-12-14 23:30:18 +08:00
bunnie
ed5624635b
Merge branch 'master' of https://github.com/betrusted-io/xous-core into hardware
2020-12-14 17:58:39 +08:00
bunnie
c9a18125df
add hardware TRNG support to kernel (issue #16 )
2020-12-14 17:57:29 +08:00
Sean Cross
ddd57c30bd
kernel: fix compile error when debug-print enabled
...
This tracks a variable that has been renamed, and was preventing the
kernel from compiling when debug printing is enabled.
This fixes #19 .
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-14 17:02:58 +08:00
Sean Cross
ed433c6011
Merge pull request #18 from ayshen/emulation-wdt
...
Copy WDT into emulator to fix build break
2020-12-13 14:04:23 +08:00
Andrew Shen
432a4467c3
Copy WDT into emulator to fix build break
...
Quick fix a build break in ticktimer-server by copying the WDT
from the SoC into the emulator so that it can reference
utra::wdt::WATCHDOG_RESET_CODE .
Signed-off-by: Andrew Shen <Andrew.Y.Shen@jacobs.ucsd.edu>
2020-12-12 21:06:05 -08:00
bunnie
09f3390524
update soc.svd to have latest perihperals
2020-12-13 02:24:41 +08:00
bunnie
fdf3f6860a
ugh fix more CI issues on "run" variant
2020-12-13 02:22:52 +08:00
bunnie
6b39946d31
fix git refs for push to master
2020-12-13 02:10:44 +08:00