Skip to content

Commit

Permalink
Update kernel/src/init/init.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Dai <[email protected]>
  • Loading branch information
BrahmaMantra and Samuka007 authored Dec 13, 2024
1 parent 743656b commit 51bd4d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/src/init/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ fn do_start_kernel() {
// #[cfg(all(target_arch = "x86_64", feature = "kvm"))]
// crate::virt::kvm::kvm_init();
#[cfg(all(target_arch = "x86_64", feature = "kvm"))]
vmx_init().unwrap();
crate::arch::vm::vmx::vmx_init().unwrap();
}

/// 在内存管理初始化之前,执行的初始化
Expand Down

0 comments on commit 51bd4d5

Please sign in to comment.