Function first_application::start
source · pub fn start() -> Result<(), &'static str>
Expand description
Starts the first applications that run in Theseus +
Function first_application::start
source · pub fn start() -> Result<(), &'static str>
Expand description
Starts the first applications that run in Theseus
by creating a new “default” application namespace
and spawning the first application Task
(s).
Currently this only spawns a shell (terminal), diff --git a/doc/first_application/index.html b/doc/first_application/index.html index 00948771ac..b1edef203e 100644 --- a/doc/first_application/index.html +++ b/doc/first_application/index.html @@ -1,4 +1,4 @@ -
Crate first_application
source ·Expand description
This crate contains a simple routine to start the first application (or set of applications).
+Crate first_application
source ·Expand description
This crate contains a simple routine to start the first application (or set of applications).
This should be invoked at or towards the end of the kernel initialization procedure.
Important Dependency Note
In general, Theseus kernel crates cannot depend on application crates. diff --git a/doc/src/first_application/lib.rs.html b/doc/src/first_application/lib.rs.html index 3e770e064f..b1c040ac46 100644 --- a/doc/src/first_application/lib.rs.html +++ b/doc/src/first_application/lib.rs.html @@ -57,6 +57,7 @@ 57 58 59 +60
//! This crate contains a simple routine to start the first application (or set of applications).
//!
//! This should be invoked at or towards the end of the kernel initialization procedure.
@@ -87,7 +88,8 @@
/// See the crate-level docs and this crate's `Cargo.toml` for more.
const FIRST_APPLICATION_CRATE_NAME: &str = {
- #[cfg(target_arch = "x86_64")] { "shell-" }
+ #[cfg(all(target_arch = "x86_64", feature = "qemu_test"))] { "qemu_test-" }
+ #[cfg(all(target_arch = "x86_64", not(feature = "qemu_test")))] { "shell-" }
#[cfg(target_arch = "aarch64")] { "hello-" }
};