Skip to main content

regio/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 cpuid;
6mod cr;
7mod msr;
8mod pio;
9
10pub use cpuid::{Cpuid, CpuidRawResult, CpuidValue, DirectCpuid};
11pub use cr::{Cr, CrIo, Xcr, XcrIo};
12pub use msr::{Msr, MsrIo};
13pub use pio::{Port, PortIo};
14
15/// Represents the EAX register.
16pub const EAX: u8 = 0;
17
18/// Represents the EBX register.
19pub const EBX: u8 = 1;
20
21/// Represents the ECX register.
22pub const ECX: u8 = 2;
23
24/// Represents the EDX register.
25pub const EDX: u8 = 3;