Update ACPI print format

This commit is contained in:
EnderIce2 2024-02-29 00:28:34 +02:00
parent 7a6483aea8
commit c967e94187
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ namespace ACPI
if (i == 3) if (i == 3)
{ {
#ifdef DEBUG #ifdef DEBUG
KPrint("ACPI: %s [%s:%s] found at address %#lx", KPrint("ACPI: %.4s [%.6s:%.8s] found at address %#lx",
Signature, Signature,
SDTHdr->OEMID, SDTHdr->OEMID,
SDTHdr->OEMTableID, SDTHdr->OEMTableID,

View File

@ -29,7 +29,7 @@ void cmd_lsacpi(const char *)
ACPI::ACPI *acpi = (ACPI::ACPI *)PowerManager->GetACPI(); ACPI::ACPI *acpi = (ACPI::ACPI *)PowerManager->GetACPI();
foreach (auto Table in acpi->Tables) foreach (auto Table in acpi->Tables)
{ {
KPrint("%#lx: %s [%s:%s]", KPrint("%#lx: %.4s [%.6s:%.8s]",
Table.second, Table.second,
Table.second->Signature, Table.second->Signature,
Table.second->OEMID, Table.second->OEMID,