Received: from list by lists.gnu.org with archive (Exim 4.71) id 1fxucl-00077E-2F for mharc-grub-devel@gnu.org; Thu, 06 Sep 2018 09:47:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxuci-000770-3n for grub-devel@gnu.org; Thu, 06 Sep 2018 09:47:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fxuce-0007dw-PI for grub-devel@gnu.org; Thu, 06 Sep 2018 09:47:03 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:40820) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fxuce-0007Yd-Bo for grub-devel@gnu.org; Thu, 06 Sep 2018 09:47:00 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w86DgELQ080376; Thu, 6 Sep 2018 13:46:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2018-07-02; bh=eV4rcheTUdL2QgnIMi0p85tpIEs4bpRfCzmkyHODbYY=; b=f38Sx494gzj7+WUZMd0df0/5JJvTdyA7R0YX8BlQeY2e48/mmjwU7UhHkO6A+SmfpHpz q21DgdwRPIWgxoaDMqrkWJoS8prMv9M3ZZ/PSgxAT7gouQavF6RqJBIhV5P2F6VFRiu+ 9dwv28UV3QP04oR53992OkncD8MI7bob75ITE1Uha9aUWnXsEKxsThzUf4WriDbHpcEA wNO8mfGqN/MW7ZC1Xpamr3cVd0jERN4kB/Bm7nN8xcjVYJi9P50ZwJOIa1n+zPeabsDv 0FSJWDm5nXGL7Ik5L2O9C5voTSBVmeJIZwQh2rigNAsyadxi539j/I38eieBosShJH0z ng== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2130.oracle.com with ESMTP id 2m7j6tv8pp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 06 Sep 2018 13:46:56 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w86DktqP032708 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 6 Sep 2018 13:46:55 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w86Dkt6V012509; Thu, 6 Sep 2018 13:46:55 GMT Received: from olila.i.net-space.pl (/10.175.193.48) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 06 Sep 2018 06:46:54 -0700 Date: Thu, 6 Sep 2018 15:46:51 +0200 From: Daniel Kiper To: Leif Lindholm Cc: grub-devel@gnu.org Subject: Re: [PATCH 0/3] use central copy of grub_efi_find_mmap_size Message-ID: <20180906134651.GB4521@olila.i.net-space.pl> References: <20180713163445.29478-1-leif.lindholm@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180713163445.29478-1-leif.lindholm@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9007 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809060138 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 156.151.31.86 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2018 13:47:05 -0000 On Fri, Jul 13, 2018 at 05:34:42PM +0100, Leif Lindholm wrote: > There were multiple local implementations of functions to determine the > size of buffer required to hold a UEFI memory map. Drop these and switch to > grub_efi_find_mmap_size() in kern/efi/mm.c. > > I'm not going to lie. I no longer have an ia64 cross-toolchain, so that one > is not even compile tested. > > Leif Lindholm (3): > loader/i386/linux: use central copy of grub_efi_find_mmap_size > loader/ia64/linux: use central copy of grub_efi_find_mmap_size > loader/multiboot_mbi2: use central copy of grub_efi_find_mmap_size > > grub-core/loader/i386/linux.c | 51 +-------------------------------------- > grub-core/loader/ia64/efi/linux.c | 46 ++--------------------------------- > grub-core/loader/multiboot_mbi2.c | 38 +---------------------------- > 3 files changed, 4 insertions(+), 131 deletions(-) Reviewed-by: Daniel Kiper for whole patch series. Daniel