WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] linux/x86-64: remove non-native entry point name

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] linux/x86-64: remove non-native entry point name
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Tue, 12 Jun 2007 09:05:44 +0200
Delivery-date: Tue, 12 Jun 2007 00:02:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Index: head-2007-05-31/arch/x86_64/Makefile
===================================================================
--- head-2007-05-31.orig/arch/x86_64/Makefile   2007-06-05 08:05:31.000000000 
+0200
+++ head-2007-05-31/arch/x86_64/Makefile        2007-06-01 17:02:16.000000000 
+0200
@@ -81,7 +81,7 @@ PHONY += bzImage bzlilo install archmrpr
 ifdef CONFIG_XEN
 CPPFLAGS := -Iinclude$(if $(KBUILD_SRC),2)/asm/mach-xen $(CPPFLAGS)
 head-y := arch/x86_64/kernel/head-xen.o arch/x86_64/kernel/head64-xen.o 
arch/x86_64/kernel/init_task.o
-LDFLAGS_vmlinux := -e _start
+LDFLAGS_vmlinux := -e startup_64
 boot := arch/i386/boot-xen
 .PHONY: vmlinuz
 #Default target when executing "make"
Index: head-2007-05-31/arch/x86_64/kernel/head-xen.S
===================================================================
--- head-2007-05-31.orig/arch/x86_64/kernel/head-xen.S  2007-06-05 
08:09:43.000000000 +0200
+++ head-2007-05-31/arch/x86_64/kernel/head-xen.S       2007-06-05 
08:10:34.000000000 +0200
@@ -27,11 +27,8 @@
 
        .section .bootstrap.text, "ax", @progbits
        .code64
-#define VIRT_ENTRY_OFFSET 0x0
-.org VIRT_ENTRY_OFFSET
        .globl startup_64
 startup_64:
-ENTRY(_start)
        movq $(init_thread_union+THREAD_SIZE-8),%rsp
 
        /* rsi is pointer to startup info structure.
@@ -175,7 +172,7 @@ ENTRY(empty_zero_page)
        .ascii  ",ELF_PADDR_OFFSET=0x"
                utoh __START_KERNEL_map
        .ascii  ",VIRT_ENTRY=0x"
-               utoh (__START_KERNEL_map + __PHYSICAL_START + VIRT_ENTRY_OFFSET)
+               utoh (__START_KERNEL_map + __PHYSICAL_START)
        .ascii  ",HYPERCALL_PAGE=0x"
                utoh (phys_hypercall_page >> PAGE_SHIFT)
        .ascii  ",FEATURES=writable_page_tables"




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] linux/x86-64: remove non-native entry point name, Jan Beulich <=