[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix 'acpi' command loading tables from disk

From: xose
Subject: [PATCH] Fix 'acpi' command loading tables from disk
Date: Thu, 10 Sep 2009 14:21:14 +0200

The 'acpi' command currently fails to add ACPI tables loaded from
disk. The files are read and parsed correctly, but the tables are
never actually added to the tables list.

The following patch fixes this bug:

diff --git a/commands/acpi.c b/commands/acpi.c
index d903d44..e7cb9e6 100644
--- a/commands/acpi.c
+++ b/commands/acpi.c
@@ -681,6 +681,9 @@ grub_cmd_acpi (struct grub_extcmd *cmd,
          table->size = size;
          table->addr = buf;
          playground_size += table->size;
+         table->next = acpi_tables;
+         acpi_tables = table;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]