Verified Commit 641feb01 authored by 4lDO2's avatar 4lDO2 🖖

Print parsed tables only with debug verbosity.

parent c6efa649
......@@ -455,7 +455,7 @@ impl Fadt {
.expect("expected any given u32 to fit within usize")
};
log::info!(" FACP: {:X}", {dsdt_ptr});
log::debug!("FACP at {:X}", {dsdt_ptr});
let dsdt_sdt = match Sdt::load_from_physical(fadt.dsdt as usize) {
Ok(dsdt) => dsdt,
......
......@@ -51,7 +51,7 @@ pub fn parse_aml_with_scope(acpi_ctx: &AcpiContext, sdt: impl AmlContainingTable
fn init_aml_table(acpi_ctx: &AcpiContext, sdt: impl AmlContainingTable) {
match parse_aml_table(acpi_ctx, &sdt) {
Ok(_) => log::info!("Table {} parsed successfully", sdt.header().signature()),
Ok(_) => log::debug!("Table {} parsed successfully", sdt.header().signature()),
Err(AmlError::AmlParseError(e)) => log::error!("Table {} got parse error: {}", sdt.header().signature(), e),
Err(AmlError::AmlInvalidOpCode) => log::error!("Table {} got invalid opcode", sdt.header().signature()),
Err(AmlError::AmlValueError) => log::error!("For table {}: type constraints or value bounds not met", sdt.header().signature()),
......@@ -69,7 +69,7 @@ fn init_aml_table(acpi_ctx: &AcpiContext, sdt: impl AmlContainingTable) {
pub fn init_namespace(context: &AcpiContext) {
let dsdt = context.dsdt().expect("could not find any DSDT");
log::info!("Found DSDT.");
log::debug!("Found DSDT.");
init_aml_table(context, dsdt);
let ssdts = context.ssdts();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment