From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RvFxQ-0004jD-Ts for mharc-grub-devel@gnu.org; Wed, 08 Feb 2012 17:25:44 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvFxN-0004hZ-UU for grub-devel@gnu.org; Wed, 08 Feb 2012 17:25:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvFxM-0007ck-LL for grub-devel@gnu.org; Wed, 08 Feb 2012 17:25:41 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:56837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvFxM-0007cf-9s for grub-devel@gnu.org; Wed, 08 Feb 2012 17:25:40 -0500 Received: by wibhj13 with SMTP id hj13so979159wib.0 for ; Wed, 08 Feb 2012 14:25:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=TAhWWxLEOFD88nUW1p5tj2+OOkdcQs9MEKJE8keEOTI=; b=t8xdCYixpuDKbZVcygt9kFKc47PKac/TFlWUSNT9Cp2Zer2/IZ5zBf0IASnP9YMD6b TbM9d8MMtKtsymrYSC3wTwVDDjP2JBxysiCQCViofHb1D4S2Dga1GuQFBNQdaqk/HsMO blqtEkGHW0jyxeYGolT592g4osoHVzj78KgyE= Received: by 10.216.136.68 with SMTP id v46mr10936713wei.31.1328739939690; Wed, 08 Feb 2012 14:25:39 -0800 (PST) Received: from debian.x201.phnet (62-62.203-62.cust.bluewin.ch. [62.203.62.62]) by mx.google.com with ESMTPS id eq5sm1771465wib.2.2012.02.08.14.25.37 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Feb 2012 14:25:38 -0800 (PST) Message-ID: <4F32F660.7080409@gmail.com> Date: Wed, 08 Feb 2012 23:25:36 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120104 Icedove/8.0 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: [PATCH V3 2/3] Add support for avoiding firmware in relocations References: <1328720102-4914-1-git-send-email-mjg@redhat.com> <1328720102-4914-2-git-send-email-mjg@redhat.com> In-Reply-To: <1328720102-4914-2-git-send-email-mjg@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.169 Cc: Matthew Garrett X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2012 22:25:43 -0000 On 08.02.2012 17:55, Matthew Garrett wrote: > EFI and OF both support firmware regions which may be in use during loading. > Add support for avoiding these. Also Seth Goldberg noticed that using chunk_align with start=end=target does exactly what we want (as if avoid=1). You may need to modify efi/relocator.c though as to which regions it considers available. -- Regards Vladimir 'φ-coder/phcoder' Serbinenko