Skip to main content

starnix_kernel_runner/
lib.rs

1// Copyright 2023 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#![recursion_limit = "512"]
6use starnix_types as _;
7
8mod component_runner;
9mod container;
10mod features;
11mod mounts;
12mod serve_protocols;
13
14pub use component_runner::*;
15pub use container::*;
16pub use features::*;
17pub use mounts::*;
18pub use serve_protocols::*;
19
20/// Configure `starnix_core` with callbacks that are only available from this library's "higher
21/// level" within the Starnix build graph.
22pub fn initialize() {
23    starnix_core::execution::initialize_syscall_loop(starnix_syscall_loop::enter);
24}