Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve project build process #19

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

Improve project build process #19

wants to merge 19 commits into from

Conversation

diodesign
Copy link
Owner

  • Remove the need for the external build script Mason by using Rust's new assembly code macros. We use global_asm!() for now to import assembly files during compilation though in future, we could switch to asm!() to inline assembly code within platform-specific source. The benefit of this is that we let the Rust toolchain handle the assembly and linking of .s files

  • Fix zeroing of supervisor-level code BSS areas. We zeroed too much, overwriting data needed for dynamic relocation.

  • Automatically use Rust's nightly toolchain release channel

Chris Williams added 6 commits March 24, 2021 02:34
* Hand-assembling and linking code breaks builds depending on the toolchain
* Include assembly code directly
* Include dmfs image file directly
* Repnop's pure Rust RISC-V microkernel looks interesting
* Fix up heading level for system console section
@diodesign diodesign added bug Non-critical bug enhancement Request to enhance project labels Apr 4, 2021
@diodesign diodesign self-assigned this Apr 4, 2021
@diodesign diodesign linked an issue Apr 7, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Non-critical bug enhancement Request to enhance project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Diosix fails to build
1 participant