Fix 'acpi' command loading tables from disk
PATCH 1/1 Fix 'acpi' command loading tables from disk
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:
commands/acpi.c +3 -0
@@ -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; } }
-xose
Quoted 12 lines · xose
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:
commands/acpi.c +0
-0
commands/acpi.c grub_cmd_acpi (struct grub_extcmd *cmd, · line 688
Quoted 8 lines
commands/acpi.c +3
-0@@ -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; } }
According to Vladimir, this patch is fine. Please, could you provide a ChangeLog entry? Then it can be committed.
Thanks
Signature · 5 lines
Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."
Quoted 8 lines · Robert Millan
Quoted 7 lines · xose
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:
Quoted 16 lines
commands/acpi.c grub_cmd_acpi (struct grub_extcmd *cmd, · line 688
Quoted 13 lines
commands/acpi.c +3
-0@@ -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; } }According to Vladimir, this patch is fine. Please, could you provide a ChangeLog entry? Then it can be committed.
Sure, I forgot it the first time, sorry about that.
2009-09-13 José Martínez <[email protected]>
* commands/acpi.c (grub_cmd_acpi): Fix loading ACPI tables from file.
Quoted 15 lines
Thanks
--
Robert MillanThe DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
Quoted 26 lines · xose
Quoted 8 lines · Robert Millan
Quoted 7 lines · xose
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:
Quoted 16 lines
commands/acpi.c grub_cmd_acpi (struct grub_extcmd *cmd, · line 688
Quoted 13 lines
commands/acpi.c +3
-0@@ -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; } }According to Vladimir, this patch is fine. Please, could you provide a ChangeLog entry? Then it can be committed.
Quoted 6 lines
Sure, I forgot it the first time, sorry about that.
2009-09-13 José Martínez <[email protected]>
*
commands/acpi.c(grub_cmd_acpi): Fix loading ACPI tables from file.
I checked this in. Btw, in the future please include patches as plain text attachments.
Thanks!
Signature · 5 lines
Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."