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

[Xen-changelog] [xen-unstable] [IA64] Increase NITRS/NDTRS to 12



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1193764648 21600
# Node ID 9e0fe6aaac49a8187c4491fa16a333f367a8f4ed
# Parent  c30eff01402a2e0adc913f014d5c9dcfe4486d09
[IA64] Increase NITRS/NDTRS to 12

Bump NITRS/NDTRS to 12.
(VMS needs at least 9 DTRS).

Signed-off-by: Tristan Gingold <tgingold@xxxxxxx>
---
 xen/include/asm-ia64/tlb.h                |    4 ++--
 xen/include/public/arch-ia64.h            |    7 ++++---
 xen/include/public/foreign/reference.size |    6 +++---
 3 files changed, 9 insertions(+), 8 deletions(-)

diff -r c30eff01402a -r 9e0fe6aaac49 xen/include/asm-ia64/tlb.h
--- a/xen/include/asm-ia64/tlb.h        Tue Oct 30 11:15:23 2007 -0600
+++ b/xen/include/asm-ia64/tlb.h        Tue Oct 30 11:17:28 2007 -0600
@@ -1,8 +1,8 @@
 #ifndef XEN_ASM_IA64_TLB_H
 #define XEN_ASM_IA64_TLB_H
 
-#define        NITRS   8
-#define NDTRS  8
+#define NITRS  12
+#define NDTRS  12
 
 union pte_flags {
     struct {
diff -r c30eff01402a -r 9e0fe6aaac49 xen/include/public/arch-ia64.h
--- a/xen/include/public/arch-ia64.h    Tue Oct 30 11:15:23 2007 -0600
+++ b/xen/include/public/arch-ia64.h    Tue Oct 30 11:17:28 2007 -0600
@@ -297,8 +297,8 @@ DEFINE_XEN_GUEST_HANDLE(ia64_tr_entry_t)
 DEFINE_XEN_GUEST_HANDLE(ia64_tr_entry_t);
 
 struct vcpu_tr_regs {
-    struct ia64_tr_entry itrs[8];
-    struct ia64_tr_entry dtrs[8];
+    struct ia64_tr_entry itrs[12];
+    struct ia64_tr_entry dtrs[12];
 };
 
 union vcpu_ar_regs {
@@ -402,6 +402,7 @@ struct vcpu_guest_context_regs {
 
         /* Physical registers in case of debug event.  */
         unsigned long excp_iipa;
+        unsigned long excp_ifa;
         unsigned long excp_isr;
         unsigned int excp_vector;
 
@@ -421,7 +422,7 @@ struct vcpu_guest_context_regs {
 };
 
 struct vcpu_guest_context {
-#define VGCF_EXTRA_REGS (1UL << 1)     /* Get/Set extra regs.  */
+#define VGCF_EXTRA_REGS (1UL << 1)     /* Set extra regs.  */
     unsigned long flags;       /* VGCF_* flags */
 
     struct vcpu_guest_context_regs regs;
diff -r c30eff01402a -r 9e0fe6aaac49 xen/include/public/foreign/reference.size
--- a/xen/include/public/foreign/reference.size Tue Oct 30 11:15:23 2007 -0600
+++ b/xen/include/public/foreign/reference.size Tue Oct 30 11:17:28 2007 -0600
@@ -7,9 +7,9 @@ cpu_user_regs             |      68     
 cpu_user_regs             |      68     200       -
 xen_ia64_boot_param       |       -       -      96
 ia64_tr_entry             |       -       -      32
-vcpu_tr_regs              |       -       -     512
-vcpu_guest_context_regs   |       -       -   21904
-vcpu_guest_context        |    2800    5168   21936
+vcpu_tr_regs              |       -       -     768
+vcpu_guest_context_regs   |       -       -   22176
+vcpu_guest_context        |    2800    5168   22208
 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®.