-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc: miscellaneous improvements (#60)
* update GH workflows and commands * update documentation * cleanup code - resolved many TODOs - moved linker script - added timeout when running tests * bump version
- Loading branch information
1 parent
60e3420
commit 9ece62e
Showing
36 changed files
with
405 additions
and
281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
/// TODO | ||
// #[cfg(target_arch = "riscv64")] | ||
mod risc_v; | ||
// #[cfg(target_arch = "riscv64")] | ||
use risc_v as architecture; | ||
//! This module contains all architecture-specific functionality. The trick to having a | ||
//! uniform interface is to use `pub use architecture::{stuff, to, re-export}` where | ||
//! `architecture` is a local re-export of a specific architecture (.e.g, `use risc_v as | ||
//! architecture`) guarded by conditional compilation (e.g., `#[cfg(target_arch = | ||
//! "riscv64`) so that only one architecture is enabled at any given time. | ||
|
||
/// Re-exported intra-kernel API that any implementation of an architecture must satisfy. | ||
pub use architecture::{ | ||
drivers, | ||
heap, | ||
exit_kernel, | ||
initialize, | ||
}; | ||
|
||
#[cfg(target_arch = "riscv64")] | ||
mod risc_v; | ||
#[cfg(target_arch = "riscv64")] use risc_v as architecture; |
Oops, something went wrong.