bunnie
838fa25bad
get rid of the awful dummy arg hack and use #used directive to keep font maps in loader
2021-02-27 14:52:21 +08:00
bunnie
0dc40f4185
attempt to separate fontmaps and loader out of kernel
2021-02-27 02:12:19 +08:00
Sean Cross
50e72bf837
loader: disable interrupts in the kernel
...
This disables interrupts when the kernel is running.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 16:49:38 +08:00
Sean Cross
47e0b85b1b
loader: fix kernel text section ownership
...
The text section of the kernel should be owned by the kernel itself. Due
to a typo, only the last page of the text section was being marked as
owned by the text section.
This marks the remainder of the section as being owned by the kernel.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-08 19:37:15 +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
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
hasheddan
0a6f63a129
Update loader README.md links to other docs
...
Fixes links in loader directory README.md to top-level documentation.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-12-06 10:43:07 -06:00
bunnie
2d5bd20c16
bouncing ball "招财猫"-like totem now working
2020-11-23 03:18:43 +08:00
bunnie
1d23d2c1f7
unify debug.rs and move to UTRA format
2020-10-14 03:40:44 +08:00
bunnie
cab4c7d4a9
fix more UTRA issues; migrate to dual-UART for kernel/console messages
2020-10-13 05:22:19 +08:00
bunnie
10aacd76c4
move to utra
2020-10-13 04:38:21 +08:00
Sean Cross
5687dcc292
loader: enable fat lto mode
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-11 09:16:16 +08:00
bunnie
5deeebae3b
the loader seems to be working now.
2020-09-26 00:03:46 +08:00
Sean Cross
0ca7fe6f12
kernel/loader: fix build arguments
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-18 12:10:46 +08:00
Sean Cross
8920ab57cf
xtask: remove loader, kernel from workspace to fix rebuilds
...
These packages modify RUSTFLAGS, which causes some packages to be
rebuilt every time. Move them out of the workspace so as to ensure they
don't use the same `target` directory.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-18 10:51:29 +08:00
Sean Cross
723529ba20
wip: working on getting message passing working
...
The goal is to get a basic message passing engine working that will also
function as a device that works on real hardware.
This is still reworking it to function correctly on a desktop system.
Once that is working, it will be reworked to function once again on
hardware.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-06-15 18:13:10 +08:00
Sean Cross
c1c31dbfe4
loader: fix most clippy warnings
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-06-15 12:03:59 +08:00
Sean Cross
aec047b944
loader: add test for minielf spanning a page
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-06 15:34:18 +08:00
Sean Cross
73ad16d367
loader: fix loading when init spans pages
...
Due to an issue withow MiniELF files were loaded, one page was mapped to
two addresses rather than having two adjacent addresses mapped. This
occurred when a small section spanned two pages.
This has now been corrected, and an additional test binary will be added
to demonstrate the issue.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-06 15:29:37 +08:00
Sean Cross
8c3f931445
messaging: first message passing example
...
THis commit allows us to pass Scalar messages between processes.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-30 16:07:58 +08:00
Sean Cross
1b83177b8a
loader: implement byte-addressing for init elf files
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-12 15:29:10 +08:00
Sean Cross
e1d97d88ca
loader: use all 24 bits for IniE size
...
Because ELF files can operate at byte offsets, we must use the full
byte-addressible address for sections.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-12 15:04:07 +08:00
Sean Cross
45656b36cd
loader: correct comment on init section
...
This assert is getting triggered due to a bug. The error message is
missing a closing ")".
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-10 17:31:30 +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