kernel: warnings
This commit is contained in:
parent
83fd782c46
commit
9dcc22c7de
|
|
@ -24,8 +24,8 @@ pub fn cpuid(eax: u32, ecx: u32) -> CpuidResult {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct CpuId {
|
pub struct CpuId {
|
||||||
max_eax: u32,
|
pub max_eax: u32,
|
||||||
vendor_id: [u8; 12],
|
pub vendor_id: [u8; 12],
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct Leaf1(CpuidResult);
|
pub struct Leaf1(CpuidResult);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
use core::{arch::asm, fmt::Debug, ops::Index};
|
use core::{arch::asm, fmt::Debug};
|
||||||
|
|
||||||
use bit_field::BitField;
|
use bit_field::BitField;
|
||||||
use bitflags::bitflags;
|
use bitflags::bitflags;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue