Initialize ds before accessing data in trampoline area, or else 0xA5 is written to wrong place. Signed-off-by Kevin Tian <kevin.tian@intel.com> diff -r de47ca8be7fe xen/arch/x86/boot/trampoline.S --- a/xen/arch/x86/boot/trampoline.S Mon Jun 11 15:50:35 2007 +0100 +++ b/xen/arch/x86/boot/trampoline.S Mon Jun 11 22:49:36 2007 -0400 @@ -6,6 +6,8 @@ .globl trampoline_realmode_entry trampoline_realmode_entry: + mov %cs, %ax + mov %ax, %ds movb $0xA5,bootsym(trampoline_cpu_started) cld cli Thanks, Kevin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel