ostd/arch/x86/vm/mod.rs
1// SPDX-License-Identifier: MPL-2.0
2
3//! Hardware virtualization support for x86.
4
5mod context;
6pub(crate) mod ept;
7mod types;
8pub(crate) mod vmx;
9
10/// Initializes hardware-virtualization state on the current CPU.
11pub(super) fn init() {
12 vmx::init_feature_control();
13}
14
15pub use self::{
16 context::GuestContext,
17 types::{VcpuDescTable, VcpuMsrs, VcpuRegs, VcpuSegment, VcpuSregs},
18};