From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1WV2HP-0002xq-I8 for mharc-grub-devel@gnu.org; Tue, 01 Apr 2014 13:15:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV2HI-0002qW-1s for grub-devel@gnu.org; Tue, 01 Apr 2014 13:15:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WV2HC-0000iL-8M for grub-devel@gnu.org; Tue, 01 Apr 2014 13:15:11 -0400 Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:37226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV2HC-0000fZ-1L for grub-devel@gnu.org; Tue, 01 Apr 2014 13:15:06 -0400 Received: by mail-la0-f53.google.com with SMTP id b8so7161528lan.40 for ; Tue, 01 Apr 2014 10:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=5cQRgcklopNhnYqqRtWHzyeBMRTjoHvhvMSsGFKoGtM=; b=rWzNvbBhoJw3fTQhqeBAmqdN34bTlAg+K+WGIxb0GdPY/fWROnCkquhplAtHjr32G8 fyVv8xIfllxeKxtPYEABg9kPu6qKcIRHKBd3hL4ncxIhqCcSF8qu32kRWeEThb6oBwwe xfHkapVoHExEwbcNyGX/UWJPR/8aRwDU1JEc6hf1kURpgsUDDS0VizLM4P23EfagOOyd qkJTnZ6MJj6LJ9EhF6+YHMKrEcb8/x5PtK30+4W1Knf8Kcy2YRlwKEcxWBM0zwFE+dR2 3WIStRS47aJ/zpFhppQsAdQ8cSQ9lT10Uz6ebqH9+1AAc9yS7/WDGalyPUqicT4jCT9d 4F/Q== X-Received: by 10.152.23.169 with SMTP id n9mr1656829laf.45.1396372505011; Tue, 01 Apr 2014 10:15:05 -0700 (PDT) Received: from opensuse.site (ppp37-190-15-130.pppoe.spdop.ru. [37.190.15.130]) by mx.google.com with ESMTPSA id d4sm12507405lbr.27.2014.04.01.10.15.03 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Apr 2014 10:15:04 -0700 (PDT) Date: Tue, 1 Apr 2014 21:15:03 +0400 From: Andrey Borzenkov To: The development of GNU GRUB Subject: Re: [RFC PATCH 08/23] Add powerpc64 types Message-ID: <20140401211503.37824ba0@opensuse.site> In-Reply-To: <1393439482-20341-9-git-send-email-linuxram@us.ibm.com> References: <1393439482-20341-1-git-send-email-linuxram@us.ibm.com> <1393439482-20341-9-git-send-email-linuxram@us.ibm.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::235 Cc: tlfalcon@linux.vnet.ibm.com, tbberry@us.ibm.com, anton@au1.ibm.com, linuxram@us.ibm.com, tonyb@au1.ibm.com, Anton Blanchard 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, 01 Apr 2014 17:15:17 -0000 В Wed, 26 Feb 2014 10:31:07 -0800 Ram Pai пишет: > From: Anton Blanchard > > Add powerpc64 types > > Signed-off-by: Ram Pai > From: Anton Blanchard > --- > include/grub/powerpc/types.h | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/include/grub/powerpc/types.h b/include/grub/powerpc/types.h > index a098ae6..7a2fc6b 100644 > --- a/include/grub/powerpc/types.h > +++ b/include/grub/powerpc/types.h > @@ -19,11 +19,19 @@ > #ifndef GRUB_TYPES_CPU_HEADER > #define GRUB_TYPES_CPU_HEADER 1 > > +#ifdef __powerpc64le__ > +/* The size of void *. */ > +#define GRUB_TARGET_SIZEOF_VOID_P 8 > + > +/* The size of long. */ > +#define GRUB_TARGET_SIZEOF_LONG 8 > +#else > /* The size of void *. */ > #define GRUB_TARGET_SIZEOF_VOID_P 4 > > /* The size of long. */ > #define GRUB_TARGET_SIZEOF_LONG 4 > +#endif > > /* powerpc is big-endian. */ > #define GRUB_TARGET_WORDS_BIGENDIAN 1 This sure can't be right on LE platform?