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-changelog

[Xen-changelog] More syntactic changes for preparation of vcpu_info merg

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] More syntactic changes for preparation of vcpu_info merge
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 03 Aug 2005 05:26:16 -0400
Delivery-date: Wed, 03 Aug 2005 09:27:34 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User fred@xxxxxxxxxxxxxxxxxxxxx
# Node ID 8fc64b82dd35f0b8ed91ef677f496b92a43b02f7
# Parent  a64dae7a0344db63f33c9403fa7f2fd59dde32cd
More syntactic changes for preparation of vcpu_info merge

Signed-off-by Kevin Tian <Kevin.Tian@xxxxxxxxx>

diff -r a64dae7a0344 -r 8fc64b82dd35 xen/arch/ia64/domain.c
--- a/xen/arch/ia64/domain.c    Thu Jul 28 09:26:30 2005
+++ b/xen/arch/ia64/domain.c    Thu Jul 28 09:48:15 2005
@@ -312,9 +312,9 @@
 
        // this should be in userspace
        regs->r28 = dom_fw_setup(v->domain,"nomca nosmp xencons=tty0 
console=tty0 root=/dev/hda1",256L);  //FIXME
-       v->vcpu_info->arch.banknum = 1;
-       v->vcpu_info->arch.metaphysical_mode = 1;
        v->arch.domain_itm_last = -1L;
+       VCPU(v, banknum) = 1;
+       VCPU(v, metaphysical_mode) = 1;
 
        v->domain->shared_info->arch = c->shared;
        return 0;
@@ -450,8 +450,8 @@
                VPD_CR(v, dcr) = 0;
        } else {
                regs->r28 = dom_fw_setup(d,saved_command_line,256L);
-               v->vcpu_info->arch.banknum = 1;
-               v->vcpu_info->arch.metaphysical_mode = 1;
+               VCPU(v, banknum) = 1;
+               VCPU(v, metaphysical_mode) = 1;
                d->shared_info->arch.flags = (d == dom0) ? 
(SIF_INITDOMAIN|SIF_PRIVILEGED|SIF_BLK_BE_DOMAIN|SIF_NET_BE_DOMAIN|SIF_USB_BE_DOMAIN)
 : 0;
        }
 }
@@ -483,8 +483,8 @@
        regs->ar_fpsr = FPSR_DEFAULT;
        init_all_rr(v);
        regs->r28 = dom_fw_setup(d,saved_command_line,256L);  //FIXME
-       v->vcpu_info->arch.banknum = 1;
-       v->vcpu_info->arch.metaphysical_mode = 1;
+       VCPU(v, banknum) = 1;
+       VCPU(v, metaphysical_mode) = 1;
        d->shared_info->arch.flags = (d == dom0) ? 
(SIF_INITDOMAIN|SIF_PRIVILEGED|SIF_BLK_BE_DOMAIN|SIF_NET_BE_DOMAIN|SIF_USB_BE_DOMAIN)
 : 0;
 }
 #endif // CONFIG_VTI
@@ -1073,12 +1073,12 @@
 #endif
     serial_input_init();
     if (d == dom0) {
-       v->vcpu_info->arch.delivery_mask[0] = -1L;
-       v->vcpu_info->arch.delivery_mask[1] = -1L;
-       v->vcpu_info->arch.delivery_mask[2] = -1L;
-       v->vcpu_info->arch.delivery_mask[3] = -1L;
+       VCPU(v, delivery_mask[0]) = -1L;
+       VCPU(v, delivery_mask[1]) = -1L;
+       VCPU(v, delivery_mask[2]) = -1L;
+       VCPU(v, delivery_mask[3]) = -1L;
     }
-    else __set_bit(0x30,v->vcpu_info->arch.delivery_mask);
+    else __set_bit(0x30,VCPU(v, delivery_mask));
 
     return 0;
 }
@@ -1234,12 +1234,12 @@
 #endif
        serial_input_init();
        if (d == dom0) {
-               v->vcpu_info->arch.delivery_mask[0] = -1L;
-               v->vcpu_info->arch.delivery_mask[1] = -1L;
-               v->vcpu_info->arch.delivery_mask[2] = -1L;
-               v->vcpu_info->arch.delivery_mask[3] = -1L;
-       }
-       else __set_bit(0x30,v->vcpu_info->arch.delivery_mask);
+               VCPU(v, delivery_mask[0]) = -1L;
+               VCPU(v, delivery_mask[1]) = -1L;
+               VCPU(v, delivery_mask[2]) = -1L;
+               VCPU(v, delivery_mask[3]) = -1L;
+       }
+       else __set_bit(0x30, VCPU(v, delivery_mask));
 
        return 0;
 }
@@ -1286,7 +1286,7 @@
 #endif
        new_thread(v, pkern_entry, 0, 0);
        printk("new_thread returns\n");
-       __set_bit(0x30,v->vcpu_info->arch.delivery_mask);
+       __set_bit(0x30, VCPU(v, delivery_mask));
 
        return 0;
 }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] More syntactic changes for preparation of vcpu_info merge, Xen patchbot -unstable <=