[IA64] Increase NITRS/NDTRS to 12
authorAlex Williamson <alex.williamson@hp.com>
Tue, 30 Oct 2007 17:17:28 +0000 (11:17 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Tue, 30 Oct 2007 17:17:28 +0000 (11:17 -0600)
Bump NITRS/NDTRS to 12.
(VMS needs at least 9 DTRS).

Signed-off-by: Tristan Gingold <tgingold@free.fr>
xen/include/asm-ia64/tlb.h
xen/include/public/arch-ia64.h
xen/include/public/foreign/reference.size

index 4a70123945a3f93f6eaf94df2ec7ae9bae562566..3ccfaff3972fa09a0ccd5d2428604c5e84b9327a 100644 (file)
@@ -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 {
index 511998bca00ede6eeccd949b23788f925975d0ae..02d2ebd005abc2e3a6124bc1cf278cb22f95a305 100644 (file)
@@ -297,8 +297,8 @@ typedef struct ia64_tr_entry 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;
index 853e8194ace00e8e308afb7b5aaa67b77c74780b..ead6cd1559583dbe4a54fa913f4f448a5f049e36 100644 (file)
@@ -7,9 +7,9 @@ pt_fpreg                  |       -       -      16
 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