kernel/types.rs
1// Copyright 2026 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#[repr(transparent)]
6#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
7pub struct PAddr(pub usize);
8
9#[repr(transparent)]
10#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
11pub struct VAddr(pub usize);