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] x86-64: access only 4 bytes a the reset vector locat

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] x86-64: access only 4 bytes a the reset vector location
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Thu, 22 Nov 2007 12:41:28 +0000
Delivery-date: Thu, 22 Nov 2007 04:40:43 -0800
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
Apparently the code was taken unmodified from 32-bit Linux...

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Index: 2007-11-13/xen/include/asm-x86/mach-default/smpboot_hooks.h
===================================================================
--- 2007-11-13.orig/xen/include/asm-x86/mach-default/smpboot_hooks.h    
2007-10-22 16:06:02.000000000 +0200
+++ 2007-11-13/xen/include/asm-x86/mach-default/smpboot_hooks.h 2007-11-20 
14:22:19.000000000 +0100
@@ -30,7 +30,7 @@ static inline void smpboot_restore_warm_
         */
        CMOS_WRITE(0, 0xf);
 
-       *((volatile long *) maddr_to_virt(0x467)) = 0;
+       *((volatile int *) maddr_to_virt(0x467)) = 0;
 }
 
 static inline void smpboot_setup_io_apic(void)




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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] x86-64: access only 4 bytes a the reset vector location, Jan Beulich <=