starnix_types/lib.rs
1// Copyright 2024 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
5pub mod arch;
6pub mod augmented;
7pub mod convert;
8pub mod futex_address;
9pub mod math;
10pub mod ownership;
11pub mod stats;
12pub mod thread_start_info;
13pub mod time;
14pub mod user_buffer;
15pub mod vfs;
16
17mod errors;
18
19use std::sync::LazyLock;
20
21pub static PAGE_SIZE: LazyLock<u64> = LazyLock::new(|| zx::system_get_page_size() as u64);