|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] DS init in trampoline code
Initialize ds before accessing data in trampoline area, or
else 0xA5 is written to wrong place.
Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>
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
tramp_ds.patch
Description: tramp_ds.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] DS init in trampoline code,
Tian, Kevin <=
|
|
|
|
|