Skip to main content

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 atomic;
7pub mod augmented;
8pub mod convert;
9pub mod futex_address;
10pub mod math;
11pub mod ownership;
12pub mod stats;
13pub mod string;
14pub mod thread_start_info;
15pub mod time;
16pub mod user_buffer;
17pub mod vfs;
18
19mod errors;
20
21use std::sync::LazyLock;
22
23pub static PAGE_SIZE: LazyLock<u64> = LazyLock::new(|| zx::system_get_page_size() as u64);