[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-ia64-devel] [PATCH][Open GFW] Fix windows guest panic in INIT handler



Hi Tristan,

I found that the Windows guest panics when an INIT event is received.
The following patch fixes it. We need to set ar.rsc = 0.

Thanks,
KAZ

Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
# HG changeset patch
# User Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
# Date 1207294804 -32400
# Node ID 7433c80d83e71f29868ff7f923815ab2351a0c14
# Parent  c51f419011fd0a6319c8527ecf75c028ff1089a2
Add ar.rsc = 0 so that the Windows guest should not panic when an INIT event
is received.

Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>

diff -r c51f419011fd -r 7433c80d83e7 edk2-sparse/EdkXenPkg/SecMain/Ipf/startup.s
--- a/edk2-sparse/EdkXenPkg/SecMain/Ipf/startup.s       Tue Apr 01 04:04:02 
2008 +0200
+++ b/edk2-sparse/EdkXenPkg/SecMain/Ipf/startup.s       Fri Apr 04 16:40:04 
2008 +0900
@@ -1172,6 +1172,7 @@ load_slave_entry_point:
        movl    r2=slave_init_handler
 1:
        movl    r12=_init_return        // Set return address
+       mov     ar.rsc=0                // lazy mode, 0 dirty bytes.
        ;; 
        ld8     r3=[r2],8               // Load init handler entry point
        ;;
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.