Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mmdnm-00069t-Qg for mharc-grub-devel@gnu.org; Sat, 12 Sep 2009 21:22:50 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mmdnl-000682-F9 for grub-devel@gnu.org; Sat, 12 Sep 2009 21:22:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mmdng-0005xs-DH for grub-devel@gnu.org; Sat, 12 Sep 2009 21:22:49 -0400 Received: from [199.232.76.173] (port=36293 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mmdng-0005xM-7R for grub-devel@gnu.org; Sat, 12 Sep 2009 21:22:44 -0400 Received: from mail-bw0-f220.google.com ([209.85.218.220]:55819) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mmdnf-0006Ix-QN for grub-devel@gnu.org; Sat, 12 Sep 2009 21:22:44 -0400 Received: by bwz20 with SMTP id 20so1527038bwz.42 for ; Sat, 12 Sep 2009 18:22:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=KUnWlUdFu0tv55kVlnY6Jxc6z9L6RXUwpIN7/yjDTMM=; b=xT9q1UyquPuCE/igCNcuHOXvvbtQ6C55AmI82FX7WSFpCpCG4wT7XtkTFvSJqERNhg G4R+tFqMBDw50FODIzHZITmdF06TMbEMQYuD2cNzgYI0pPrgMVlrYBPknyrMa0UVScD+ BfcEuqV6awCOwbcrjAwc+Py8L/JnD+NUr+2M0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=VhCyiOj9nYofnX9kwMyPPP063osfvJudmfsMNPzOIwi1VoEhw0I+p1xBS9IwJSzAVC UCmpr8dUlkFyq/6TjLOijqIYe8/HlyO9P/Q32cmnIi3jkoJ6FrUTiasVh3AT8KVvljNA GooJhIiQxL227fRBlkHNqdtvCjjP2Dot/H8es= MIME-Version: 1.0 Received: by 10.204.21.4 with SMTP id h4mr3656134bkb.58.1252804961632; Sat, 12 Sep 2009 18:22:41 -0700 (PDT) In-Reply-To: <20090913002754.GA21002@thorin> References: <66be81dd0909100521p4b9c113ctd3b7e8827dc3fde7@mail.gmail.com> <20090913002754.GA21002@thorin> Date: Sun, 13 Sep 2009 03:22:41 +0200 Message-ID: <66be81dd0909121822t23546ffas927851a214ced8a8@mail.gmail.com> From: xose To: The development of GRUB 2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] Fix 'acpi' command loading tables from disk X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2009 01:22:49 -0000 On Sun, Sep 13, 2009 at 2:27 AM, Robert Millan wrote: > On Thu, Sep 10, 2009 at 02:21:14PM +0200, xose wrote: >> 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, >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 table->size =3D size; >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 table->addr =3D buf; >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 playground_size +=3D table->size; >> + >> + =C2=A0 =C2=A0 =C2=A0 table->next =3D acpi_tables; >> + =C2=A0 =C2=A0 =C2=A0 acpi_tables =3D table; >> =C2=A0 =C2=A0 =C2=A0 } >> =C2=A0 =C2=A0 =C2=A0} > > According to Vladimir, this patch is fine. =C2=A0Please, could you provid= e a > ChangeLog entry? =C2=A0Then it can be committed. Sure, I forgot it the first time, sorry about that. 2009-09-13 Jos=C3=A9 Mart=C3=ADnez * commands/acpi.c (grub_cmd_acpi): Fix loading ACPI tables from file. > Thanks > > -- > Robert Millan > > =C2=A0The DRM opt-in fallacy: "Your data belongs to us. We will decide wh= en (and > =C2=A0how) you may access your data; but nobody's threatening your freedo= m: we > =C2=A0still allow you to remove your data and not access it at all." > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >