Skip to content

Commit

Permalink
refactor(processor): migrate CPUID access to raw_cpuid crate
Browse files Browse the repository at this point in the history
  • Loading branch information
mkroening committed Jan 3, 2025
1 parent 30afafb commit 953fd04
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ features = [
[target.'cfg(target_arch = "x86_64")'.dependencies]
free-list = { version = "0.3", features = ["x86_64"] }
multiboot = "0.8"
raw-cpuid = "10"
uart_16550 = "0.3"
x86 = { version = "0.52", default-features = false }
x86_64 = "0.15"
Expand Down
2 changes: 1 addition & 1 deletion src/arch/x86_64/kernel/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use core::{fmt, ptr};

use hermit_entry::boot_info::PlatformInfo;
use hermit_sync::Lazy;
use x86::cpuid::*;
use raw_cpuid::*;
use x86::msr::*;
use x86_64::instructions::interrupts::int3;
use x86_64::instructions::port::Port;
Expand Down

0 comments on commit 953fd04

Please sign in to comment.