@@ -43,7 +43,6 @@ pub(crate) fn parse_hpet(
// Make sure the HPET's in system memory
assert_eq!(hpet.base_address.address_space, 0);
- info!("HPET address: {:#?}", hpet.base_address);
acpi.hpet = Some(HpetInfo {
event_timer_block_id: hpet.event_timer_block_id,
base_address: hpet.base_address.address as usize,
@@ -26,16 +26,11 @@
#![feature(alloc)]
#![feature(exclusive_range_pattern)]
+extern crate alloc;
#[cfg_attr(test, macro_use)]
#[cfg(test)]
extern crate std;
-#[macro_use]
-extern crate log;
-extern crate alloc;
-extern crate bit_field;
-extern crate typenum;
-
mod fadt;
pub mod handler;
mod hpet;
@@ -1,5 +1,6 @@
use crate::{parse_validated_rsdp, rsdp::Rsdp, Acpi, AcpiError, AcpiHandler};
use core::{mem, ops::RangeInclusive};
+use log::warn;
/// The pointer to the EBDA (Extended Bios Data Area) start segment pointer
const EBDA_START_SEGMENT_PTR: usize = 0x40e;
use crate::{fadt::Fadt, hpet::HpetTable, madt::Madt, Acpi, AcpiError, AcpiHandler};
use core::{marker::PhantomData, mem, str};
+use log::{trace, warn};
use typenum::Unsigned;
/// A union that represents a field that is not necessarily present and is only present in a later