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-ppc-devel

[XenPPC] [pushed][ppc] define arch_event_deiliverable() to use the MSR_E

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed][ppc] define arch_event_deiliverable() to use the MSR_EE bit
From: jimix@xxxxxxxxxxxxxx
Date: Mon, 27 Mar 2006 16:58:09 -0500
Delivery-date: Mon, 27 Mar 2006 21:57:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
changeset:   9654:981d6e85e898
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Mon Mar 27 13:55:29 2006 -0500
summary:     [ppc] define arch_event_deiliverable() to use the MSR_EE bit

diff -r f54c3813a5f7 -r 981d6e85e898 xen/include/asm-ppc/domain.h
--- a/xen/include/asm-ppc/domain.h      Mon Mar 27 13:53:57 2006 -0500
+++ b/xen/include/asm-ppc/domain.h      Mon Mar 27 13:55:29 2006 -0500
@@ -107,4 +107,6 @@ extern void save_float(struct vcpu *);
 extern void save_float(struct vcpu *);
 extern void load_float(struct vcpu *);
 
+#define arch_event_deliverable (!!((guest_cpu_user_regs())->msr & MSR_EE))
+
 #endif



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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [pushed][ppc] define arch_event_deiliverable() to use the MSR_EE bit, jimix <=