Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mh70Z-0004W8-BP for mharc-grub-devel@gnu.org; Fri, 28 Aug 2009 15:21:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mh70W-0004U0-Jp for grub-devel@gnu.org; Fri, 28 Aug 2009 15:21:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mh70R-0004Pw-U1 for grub-devel@gnu.org; Fri, 28 Aug 2009 15:21:07 -0400 Received: from [199.232.76.173] (port=58467 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh70R-0004Po-Kw for grub-devel@gnu.org; Fri, 28 Aug 2009 15:21:03 -0400 Received: from mail-fx0-f226.google.com ([209.85.220.226]:49043) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mh70R-0002KB-8i for grub-devel@gnu.org; Fri, 28 Aug 2009 15:21:03 -0400 Received: by fxm26 with SMTP id 26so2130754fxm.42 for ; Fri, 28 Aug 2009 12:21:02 -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=6GRCNloFdHXo4He1KwiCd2vNzEyrvg3l80lEVC2wYBA=; b=NlWnqFcwfj/5PFohigIkhtCx8J42267G5UDLYj8LQih7KnsCjviWK/EBoItl949xv0 RD47dmYnAL4BW/zw6wjeHK4YbqwC+PmiNnUo+SonXt1ioJp1Izd7bU3pq02FtEUDpsC2 rgiZDc14CjDrw2WtYYz4YS/S9XeIkLPNRIXb4= 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=QYtIfc8cpm0ARKXsnOcRCALttcNnIsyKC1PH0QS2Zqxp5SLlYWTuXmqJK5P8Y9omsa ii2VPa8LdfFClEtzmmAaQHzfz9fsqd6H80m9IuF8uvFhXZEAKKGeuSKTH/plXe3lYfYz eSAmLXSfNEXFGCNz8gdWAQBwDPIVlt2rzgRgQ= MIME-Version: 1.0 Received: by 10.204.153.13 with SMTP id i13mr1207674bkw.161.1251487262117; Fri, 28 Aug 2009 12:21:02 -0700 (PDT) In-Reply-To: <20090725162438.GI12326@thorin> References: <1248384717.2661.109.camel@mj> <20090725162438.GI12326@thorin> Date: Fri, 28 Aug 2009 21:21:02 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] zero-fill entry before asking BIOS for memory map 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: Fri, 28 Aug 2009 19:21:09 -0000 >> + =A0 =A0 /* clear the request area, buggy BIOSes may not clear it */ >> + =A0 =A0 xor =A0 =A0 %edi, %edi >> + =A0 =A0 movl =A0 =A0%edi, 4(%eax) >> + =A0 =A0 movl =A0 =A0%edi, 8(%eax) >> + =A0 =A0 movl =A0 =A0%edi, 12(%eax) >> + =A0 =A0 movl =A0 =A0%edi, 16(%eax) >> + =A0 =A0 movl =A0 =A0%edi, 20(%eax) > > This effectively hardcodes sizeof(entry). =A0Can we avoid it? Can one or another version be merge for release? --=20 Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git