fixed messages that should be debug only
@@ -456,19 +456,19 @@ initAcpiTables()
{
if (EFI_ERROR(load_table_from_file(REC_FILE_ACPI_NFIT, &PtrNfitTable)))
{
- Print(L"Failed to load the NFIT table from the record file.\n");
+ NVDIMM_WARN(L"Failed to load the NFIT table from the record file.\n");
failures++;
}
if (EFI_ERROR(load_table_from_file(REC_FILE_ACPI_PCAT, &PtrPcatTable)))
{
- Print(L"Failed to load the PCAT table from the record file.\n");
+ NVDIMM_WARN(L"Failed to load the PCAT table from the record file.\n");
failures++;
}
if (EFI_ERROR(load_table_from_file(REC_FILE_ACPI_PMTT, &PtrPMTTTable)))
{
- //Print(L"Failed to load the PMTT table from the record file.\n");
+ //NVDIMM_WARN(L"Failed to load the PMTT table from the record file.\n");
//failures++;
}
}
@@ -476,17 +476,17 @@ initAcpiTables()
{
if (EFI_ERROR(get_nfit_table(&PtrNfitTable)))
{
- Print(L"Failed to get the NFIT table.\n");
+ NVDIMM_WARN(L"Failed to get the NFIT table.\n");
failures++;
}
if (EFI_ERROR(get_pcat_table(&PtrPcatTable)))
{
- Print(L"Failed to get the PCAT table.\n");
+ NVDIMM_WARN(L"Failed to get the PCAT table.\n");
failures++;
}
if (EFI_ERROR(get_pmtt_table(&PtrPMTTTable)))
{
- //Print(L"Failed to get the PMTT table.\n");
+ //NVDIMM_WARN(L"Failed to get the PMTT table.\n");
//failures++;
}
@@ -494,17 +494,17 @@ initAcpiTables()
{
if (EFI_ERROR(save_table_to_file(REC_FILE_ACPI_NFIT, PtrNfitTable)))
{
- Print(L"Failed to save the NFIT table to the record file.\n");
+ NVDIMM_WARN(L"Failed to save the NFIT table to the record file.\n");
failures++;
}
if (EFI_ERROR(save_table_to_file(REC_FILE_ACPI_PCAT, PtrPcatTable)))
{
- Print(L"Failed to save the PCAT table to the record file.\n");
+ NVDIMM_WARN(L"Failed to save the PCAT table to the record file.\n");
failures++;
}
if (EFI_ERROR(save_table_to_file(REC_FILE_ACPI_PMTT, PtrPMTTTable)))
{
- //Print(L"Failed to save the PMTT table to the record file.\n");
+ //NVDIMM_WARN(L"Failed to save the PMTT table to the record file.\n");
//failures++;
}
}
@@ -512,7 +512,6 @@ initAcpiTables()
if (failures > 0)
{
- Print(L"Encountered %d failures.\n", failures);
NVDIMM_WARN("Encountered %d failures.", failures);
return EFI_NOT_FOUND;
}
