mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-25 22:14:37 +00:00
Update lsacpi command to print table length
This commit is contained in:
parent
e02bcf8e0d
commit
fbb59f2187
@ -29,10 +29,11 @@ void cmd_lsacpi(const char *)
|
||||
ACPI::ACPI *acpi = (ACPI::ACPI *)PowerManager->GetACPI();
|
||||
foreach (auto Table in acpi->Tables)
|
||||
{
|
||||
KPrint("%#lx: %.4s [%.6s:%.8s]",
|
||||
Table.second,
|
||||
printf("%#lx: %.4s [%.6s:%.8s] %d bytes\n",
|
||||
(uintptr_t)Table.second,
|
||||
Table.second->Signature,
|
||||
Table.second->OEMID,
|
||||
Table.second->OEMTableID);
|
||||
Table.second->OEMTableID,
|
||||
Table.second->Length);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user