All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Compilation PowerPC64
@ 2008-11-24 19:58 Manoel
  2008-11-24 21:30 ` Pavel Roskin
  2008-11-28 19:56 ` Robert Millan
  0 siblings, 2 replies; 10+ messages in thread
From: Manoel @ 2008-11-24 19:58 UTC (permalink / raw)
  To: The development of GRUB 2; +Cc: Carlos Roberto do Nascimento Costa

[-- Attachment #1: Type: text/plain, Size: 173 bytes --]

This patch corrects compilation in PowerPC64 due to some recent changes.
-- 
Best Regards,

Manoel Abranches <mrabran@linux.vnet.ibm.com>
IBM Linux Technology Center Brazil

[-- Attachment #2: compilation_powerpc64.patch --]
[-- Type: text/x-patch, Size: 1866 bytes --]

Index: conf/powerpc-ieee1275.rmk
===================================================================
--- conf/powerpc-ieee1275.rmk	(revision 1928)
+++ conf/powerpc-ieee1275.rmk	(working copy)
@@ -79,7 +79,7 @@
 	kern/ieee1275/init.c term/ieee1275/ofconsole.c 		\
 	kern/ieee1275/openfw.c disk/ieee1275/ofdisk.c 		\
 	kern/parser.c kern/partition.c kern/env.c kern/powerpc/dl.c 	\
-	kern/generic/millisleep.c kern/time.c                            \
+	kern/generic/millisleep.c kern/time.c   kern/ieee1275/mmap.c     \
 	symlist.c kern/powerpc/cache.S
 kernel_elf_HEADERS = grub/powerpc/ieee1275/ieee1275.h
 kernel_elf_CFLAGS = $(COMMON_CFLAGS)
Index: include/grub/powerpc/ieee1275/memory.h
===================================================================
--- include/grub/powerpc/ieee1275/memory.h	(revision 0)
+++ include/grub/powerpc/ieee1275/memory.h	(revision 0)
@@ -0,0 +1,25 @@
+/* memory.h - describe the memory map */
+/*
+ *  GRUB  --  GRand Unified Bootloader
+ *  Copyright (C) 2002,2007  Free Software Foundation, Inc.
+ *
+ *  GRUB is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation, either version 3 of the License, or
+ *  (at your option) any later version.
+ *
+ *  GRUB is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef _GRUB_MEMORY_MACHINE_LB_HEADER
+#define _GRUB_MEMORY_MACHINE_LB_HEADER      1
+
+#define GRUB_MACHINE_MEMORY_AVAILABLE		1
+
+#endif /* ! _GRUB_MEMORY_MACHINE_HEADER */

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-12-04  6:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24 19:58 [PATCH] Compilation PowerPC64 Manoel
2008-11-24 21:30 ` Pavel Roskin
2008-11-25  2:22   ` peter cros
2008-11-28 13:54   ` Manoel Rebelo Abranches
2008-11-28 19:40   ` Robert Millan
2008-12-03 16:20     ` Pavel Roskin
2008-12-03 17:29       ` Pavel Roskin
2008-12-03 17:50         ` Manoel Rebelo Abranches
2008-12-04  6:11           ` Pavel Roskin
2008-11-28 19:56 ` Robert Millan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.