Skip to content

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

2 participants