The graphics server has been observed to explode stack. This increases
the start size of the stack to prevent this from happening.
Signed-off-by: Sean Cross <sean@xobs.io>
Due to an error in how small regions were loaded, memory was mapped to
the wrong offset. This didn't affect us for the most part, since these
small regions were mostly in the backtrace report which we don't usually
hit.
With this patch, we now can verify that processes are loaded correctly.
For example:
(gdb) compare-sections
Section .rodata, range 0x100e0 -- 0x13bdc: matched.
Section .eh_frame, range 0x13bdc -- 0x15040: matched.
Section .text, range 0x16040 -- 0x2dd6e: matched.
Section .sdata, range 0x2ed70 -- 0x2ed78: matched.
Section .data, range 0x2ed78 -- 0x2eda4: matched.
(gdb)
Signed-off-by: Sean Cross <sean@xobs.io>
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>
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>
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>
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>