Skip to main content

libarch/x86/
mod.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
5mod apic_id;
6mod bug;
7mod cache;
8pub mod cpuid;
9mod extension;
10mod feature;
11#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
12mod intrin;
13mod speculation;
14mod system;
15
16pub use apic_id::*;
17pub use bug::*;
18pub use cache::*;
19pub use extension::*;
20pub use feature::*;
21#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
22pub use intrin::*;
23pub use speculation::*;
24pub use system::*;
25
26/// Enumeration of vendors.
27#[derive(Copy, Clone, Debug, Eq, PartialEq)]
28pub enum Vendor {
29    Intel,
30    Amd,
31    Unknown,
32}