# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 72c8bc5d88f4e77061f474be51d94709d730bb52
# Parent 1445a5a7397df8f31e1b57b60bfa1199ced04251
[ppc] zImages need to have the xen_guest section with all the magic strings
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
arch/powerpc/boot/Makefile | 3 +++
arch/powerpc/boot/xen_guest.S | 7 +++++++
2 files changed, 10 insertions(+)
diff -r 1445a5a7397d -r 72c8bc5d88f4 arch/powerpc/boot/Makefile
--- a/arch/powerpc/boot/Makefile Thu Jun 29 13:03:32 2006 -0400
+++ b/arch/powerpc/boot/Makefile Thu Jun 29 13:04:30 2006 -0400
@@ -36,8 +36,11 @@ zliblinuxheader := zlib.h zconf.h zutil.
$(addprefix $(obj)/,$(zlib) main.o): $(addprefix $(obj)/,$(zliblinuxheader))
$(addprefix $(obj)/,$(zlibheader))
#$(addprefix $(obj)/,main.o): $(addprefix $(obj)/,zlib.h)
+xen_guest-y = xen_guest.S
+
src-boot := crt0.S string.S prom.c stdio.c main.c div64.S
src-boot += $(zlib)
+src-boot += $(xen_guest-$(CONFIG_XEN))
src-boot := $(addprefix $(obj)/, $(src-boot))
obj-boot := $(addsuffix .o, $(basename $(src-boot)))
diff -r 1445a5a7397d -r 72c8bc5d88f4 arch/powerpc/boot/xen_guest.S
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/arch/powerpc/boot/xen_guest.S Thu Jun 29 13:04:30 2006 -0400
@@ -0,0 +1,7 @@
+ .section __xen_guest
+ .ascii "GUEST_OS=linux"
+ .ascii ",GUEST_VER=xen-3.0"
+ .ascii ",XEN_VER=xen-3.0"
+ .ascii ",VIRT_BASE=0x0"
+ .ascii ",LOADER=generic"
+ .byte 0
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|