From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VqPjp-0000l1-Re for mharc-grub-devel@gnu.org; Tue, 10 Dec 2013 11:00:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqPjg-0000ew-Hl for grub-devel@gnu.org; Tue, 10 Dec 2013 11:00:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqPjb-0008FP-7C for grub-devel@gnu.org; Tue, 10 Dec 2013 11:00:36 -0500 Received: from mail-ee0-x229.google.com ([2a00:1450:4013:c00::229]:52048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqPjb-0008FB-0r for grub-devel@gnu.org; Tue, 10 Dec 2013 11:00:31 -0500 Received: by mail-ee0-f41.google.com with SMTP id t10so2353100eei.0 for ; Tue, 10 Dec 2013 08:00:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=gvzvYCRz8ccfZRK7T3wipEI77t907O3Sf5k/B1XxRDY=; b=CfgWy/qZh4FMIIP70wIFfb1Clrk+32QZkUjWi00gOtp712v8Cq27a1MNQTvgZuEEwD NkSzAGuOhC/0kjMa+FXU3M4twmRioRj41qzgwB1ODmxZsqTvcytHPMPVc/YcMmib3800 lyHVOmNaaBVsNqfgW7GhCbvdf+yZ0XaJUNpws9EejmvCfRc4AiUvkEpy3ByNbuiDJH2h KQovfoX+OYO8b3wa8bm+micMS4d9X1LftKNQ9UHyZsekjH2y0Q6x7x7XBUq5TFC1iieo 9R6DMIP+6LjcDx5aV4DCWBTV3bpaNU//kKPVVqnqo7k+/pvacj+B6W9CQATnLZ8As0D5 JrJQ== X-Received: by 10.15.45.135 with SMTP id b7mr12597952eew.88.1386691230120; Tue, 10 Dec 2013 08:00:30 -0800 (PST) Received: from [192.168.1.16] (85-188.196-178.cust.bluewin.ch. [178.196.188.85]) by mx.google.com with ESMTPSA id e3sm42735283eeg.11.2013.12.10.08.00.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Dec 2013 08:00:29 -0800 (PST) Message-ID: <52A73A9C.8090901@gmail.com> Date: Tue, 10 Dec 2013 17:00:28 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: kern/efi/mm.c - MAX_USABLE_ADDRESS References: <20131209173036.GK24997@rocoto.smurfnet.nu> <52A61537.7030407@gmail.com> <20131209211720.GA22356@rocoto.smurfnet.nu> <20131210145940.GF22356@rocoto.smurfnet.nu> In-Reply-To: <20131210145940.GF22356@rocoto.smurfnet.nu> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="D1wdL9Wb9DauHPkbTX6fpb0vE77il1Rpn" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::229 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: Tue, 10 Dec 2013 16:00:42 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --D1wdL9Wb9DauHPkbTX6fpb0vE77il1Rpn Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10.12.2013 15:59, Leif Lindholm wrote: > On Mon, Dec 09, 2013 at 10:17:20PM +0100, Leif Lindholm wrote: >> On Mon, Dec 09, 2013 at 08:08:39PM +0100, Vladimir '=CF=86-coder/phcod= er' Serbinenko wrote: >>>> A simple fix would be to just stack the ifdefs, but a better one mig= ht >>>> be to move the define to one of (which is current= ly >>>> a dummy for all platforms, simply including ) or types= =2Eh. >>>> >>> cpu/efi/memory.h is a possibility. cpu/types.h isn't because it's, at= >>> least partially, EFI limitation (due to EFI bugs), not CPU. >> >> Ah, ok - that makes sense then. >=20 > How about the attached? >=20 You need to prefix define with GRUB_EFI_ as soon as it's a global define and not limited to one file. Otherwise patch looks good. Can you send corrected version? > Compile tested for arm/arm64/i386/x86_64, runtime tested on arm64. >=20 > / > Leif >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --D1wdL9Wb9DauHPkbTX6fpb0vE77il1Rpn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlKnOpwACgkQmBXlbbo5nOswBgD/RqQ+HZzou6VoTCqzxIGeJrmd RnqyZ+cXoT9zA0wvQPAA/0D06eDGAPL0YMiQGmtRs97C37klcm17Igt7SSYpDrAg =awXz -----END PGP SIGNATURE----- --D1wdL9Wb9DauHPkbTX6fpb0vE77il1Rpn--