kernel: warnings

This commit is contained in:
janis 2026-08-03 00:28:48 +02:00
parent 83fd782c46
commit 9dcc22c7de
Signed by: janis
SSH key fingerprint: SHA256:bB1qbbqmDXZNT0KKD5c2Dfjg53JGhj7B3CFcLIzSqq8
2 changed files with 3 additions and 3 deletions

View file

@ -24,8 +24,8 @@ pub fn cpuid(eax: u32, ecx: u32) -> CpuidResult {
}
pub struct CpuId {
max_eax: u32,
vendor_id: [u8; 12],
pub max_eax: u32,
pub vendor_id: [u8; 12],
}
pub struct Leaf1(CpuidResult);

View file

@ -1,4 +1,4 @@
use core::{arch::asm, fmt::Debug, ops::Index};
use core::{arch::asm, fmt::Debug};
use bit_field::BitField;
use bitflags::bitflags;