From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1WIjHI-0001nG-7U for mharc-grub-devel@gnu.org; Wed, 26 Feb 2014 13:32:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIjH6-0001Q8-8t for grub-devel@gnu.org; Wed, 26 Feb 2014 13:32:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIjGy-00017k-D1 for grub-devel@gnu.org; Wed, 26 Feb 2014 13:32:08 -0500 Received: from e38.co.us.ibm.com ([32.97.110.159]:33810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIjGy-00017c-4S for grub-devel@gnu.org; Wed, 26 Feb 2014 13:32:00 -0500 Received: from /spool/local by e38.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 26 Feb 2014 11:31:59 -0700 Received: from d03dlp01.boulder.ibm.com (9.17.202.177) by e38.co.us.ibm.com (192.168.1.138) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 26 Feb 2014 11:31:57 -0700 Received: from b03cxnp07029.gho.boulder.ibm.com (b03cxnp07029.gho.boulder.ibm.com [9.17.130.16]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 454CA1FF004F for ; Wed, 26 Feb 2014 11:31:57 -0700 (MST) Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by b03cxnp07029.gho.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s1QGTG067668196 for ; Wed, 26 Feb 2014 17:29:16 +0100 Received: from d03av02.boulder.ibm.com (localhost [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s1QIVuhZ016518 for ; Wed, 26 Feb 2014 11:31:57 -0700 Received: from ram.oc3035372033.ibm.com.com (sig-9-65-83-23.mts.ibm.com [9.65.83.23]) by d03av02.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s1QIVZLX014663; Wed, 26 Feb 2014 11:31:54 -0700 From: Ram Pai To: grub-devel@gnu.org Subject: [RFC PATCH 08/23] Add powerpc64 types Date: Wed, 26 Feb 2014 10:31:07 -0800 Message-Id: <1393439482-20341-9-git-send-email-linuxram@us.ibm.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1393439482-20341-1-git-send-email-linuxram@us.ibm.com> References: <1393439482-20341-1-git-send-email-linuxram@us.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14022618-1344-0000-0000-000006173DCF X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 32.97.110.159 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: Wed, 26 Feb 2014 18:32:16 -0000 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 -- 1.8.5.3