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

[Xen-changelog] [linux-2.6.18-xen] [IA64] Update arch-ia64.h



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1183387338 21600
# Node ID ad87b0f9d5ca37200899dbf6a2c56d5e60828fed
# Parent  3df04f34c4aa7679bf30a7fe6b46d8ccc0a004da
[IA64] Update arch-ia64.h

Update to match removal of IA64_GUEST_CONTEXT_RBS_OFFSET

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 include/xen/interface/arch-ia64.h            |   17 ++++++++++++-----
 include/xen/interface/foreign/reference.size |    4 ++--
 2 files changed, 14 insertions(+), 7 deletions(-)

diff -r 3df04f34c4aa -r ad87b0f9d5ca include/xen/interface/arch-ia64.h
--- a/include/xen/interface/arch-ia64.h Mon Jun 18 13:59:27 2007 -0600
+++ b/include/xen/interface/arch-ia64.h Mon Jul 02 08:42:18 2007 -0600
@@ -470,17 +470,24 @@ struct vcpu_guest_context_regs {
 
         struct vcpu_tr_regs tr;
 
+        /* Physical registers in case of debug event.  */
+        unsigned long excp_iipa;
+        unsigned long excp_isr;
+        unsigned int excp_vector;
+
         /*
          * The rbs is intended to be the image of the stacked registers still
          * in the cpu (not yet stored in memory).  It is laid out as if it
-         * were written in memory at an 512 (64*8) * aligned address + offset.
-         * The offset is IA64_RBS_OFFSET % 512.
-         * rbs_nat contains NaT bits for the remaining rbs registers.
+         * were written in memory at a 512 (64*8) aligned address + offset.
+         * rbs_voff is (offset / 8).  rbs_nat contains NaT bits for the
+         * remaining rbs registers.  rbs_rnat contains NaT bits for in memory
+         * rbs registers.
+         * Note: loadrs is 2**14 bytes == 2**11 slots.
          */
-        /* Note: loadrs is 2**14 bytes == 2**11 slots.  */
-#define IA64_GUEST_CONTEXT_RBS_OFFSET 448
+        unsigned int rbs_voff;
         unsigned long rbs[2048];
         unsigned long rbs_nat;
+        unsigned long rbs_rnat;
 };
 
 struct vcpu_guest_context {
diff -r 3df04f34c4aa -r ad87b0f9d5ca 
include/xen/interface/foreign/reference.size
--- a/include/xen/interface/foreign/reference.size      Mon Jun 18 13:59:27 
2007 -0600
+++ b/include/xen/interface/foreign/reference.size      Mon Jul 02 08:42:18 
2007 -0600
@@ -8,8 +8,8 @@ xen_ia64_boot_param       |       -     
 xen_ia64_boot_param       |       -       -      96
 ia64_tr_entry             |       -       -      32
 vcpu_tr_regs              |       -       -     512
-vcpu_guest_context_regs   |       -       -   21872
-vcpu_guest_context        |    2800    5168   21904
+vcpu_guest_context_regs   |       -       -   21904
+vcpu_guest_context        |    2800    5168   21936
 arch_vcpu_info            |      24      16       0
 vcpu_time_info            |      32      32      32
 vcpu_info                 |      64      64      48

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


 


Rackspace

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