summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-12-03 10:17:28 +0100
committerErwan Velu <erwan.velu@free.fr>2009-12-04 10:19:01 +0100
commitc2a92cf4ba8adf13e2274803617dfb0cf6dce5e0 (patch)
tree98b9f052e4e0beb7918b54a4aabfaa2d1c2e5740
parente680227c469e46d72692200d0e4492714f7e9828 (diff)
downloadsyslinux-c2a92cf4ba8adf13e2274803617dfb0cf6dce5e0.tar.gz
hdt: Adding ACPI SBST
impact: Adding SBST Adding SBST display
-rw-r--r--com32/hdt/hdt-cli-acpi.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/com32/hdt/hdt-cli-acpi.c b/com32/hdt/hdt-cli-acpi.c
index b705cbaf..eb5d6e04 100644
--- a/com32/hdt/hdt-cli-acpi.c
+++ b/com32/hdt/hdt-cli-acpi.c
@@ -40,9 +40,9 @@ static void show_header_32(uint32_t address, s_acpi_description_header * h)
h->oem_revision, h->creator_id, h->creator_revision, address)
}
-static void show_header(uint32_t address, s_acpi_description_header * h)
+static void show_header(uint64_t address, s_acpi_description_header * h)
{
- more_printf("%-4s v%03x %-6s %-7s 0x%08x %-4s 0x%08x @ 0x%016lx\n",
+ more_printf("%-4s v%03x %-6s %-7s 0x%08x %-4s 0x%08x @ 0x%016llx\n",
h->signature, h->revision, h->oem_id, h->oem_table_id,
h->oem_revision, h->creator_id, h->creator_revision, address)
}
@@ -85,6 +85,9 @@ void main_show_acpi(int argc __unused, char **argv __unused,
show_header(hardware->acpi.ssdt[i]->address, &hardware->acpi.ssdt[i]->header);
}
+ if (hardware->acpi.sbst.valid)
+ show_header(hardware->acpi.sbst.address, &hardware->acpi.sbst.header);
+
}
struct cli_module_descr acpi_show_modules = {