|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [PATCH 7/12]MCA handler support for Xen/ia64 TAKE 2
[7/12] Add lid and percpu paddr table.[mca-mm_init.patch]
Signed-off-by: Yutaka Ezaki <yutaka.ezaki@xxxxxxxxxxxxxx>
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
diff -r 3e4fa8b5b245 xen/arch/ia64/xen/mm_init.c
--- a/xen/arch/ia64/xen/mm_init.c Tue Sep 12 11:43:22 2006 -0600
+++ b/xen/arch/ia64/xen/mm_init.c Fri Sep 22 09:26:49 2006 +0900
@@ -10,6 +10,11 @@
#include <xen/sched.h>
#include <asm/vhpt.h>
+#include <asm/xenmca.h>
+#include <asm/meminit.h>
+#include <asm/page.h>
+
+struct ia64_mca_tlb_info ia64_mca_tlb_list[NR_CPUS];
extern void ia64_tlb_init (void);
@@ -105,7 +110,10 @@ ia64_mmu_init (void *my_cpu_data)
ia64_mca_tlb_list[cpu].ptce_count[1] = local_cpu_data->ptce_count[1];
ia64_mca_tlb_list[cpu].ptce_stride[0] = local_cpu_data->ptce_stride[0];
ia64_mca_tlb_list[cpu].ptce_stride[1] = local_cpu_data->ptce_stride[1];
-#endif
+#else /* XEN */
+ ia64_mca_tlb_list[cpu].cr_lid = ia64_getreg(_IA64_REG_CR_LID);
+ ia64_mca_tlb_list[cpu].percpu_paddr = __pa(my_cpu_data);
+#endif /* XEN */
}
void
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-ia64-devel] [PATCH 1/12]MCA handler support for Xen/ia64 TAKE 2, (continued)
- [Xen-ia64-devel] [PATCH 4/12]MCA handler support for Xen/ia64 TAKE 2, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 2/12]MCA handler support for Xen/ia64 TAKE 2, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 3/12]MCA handler support for Xen/ia64 TAKE 2, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 5/12]MCA handler support for Xen/ia64 TAKE 2, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 8/12]MCA handler support for Xen/ia64 TAKE 2, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 7/12]MCA handler support for Xen/ia64 TAKE 2,
SUZUKI Kazuhiro <=
- [Xen-ia64-devel] [PATCH 10/12]MCA handler support for Xen/ia64 TAKE 2, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 6/12]MCA handler support for Xen/ia64 TAKE 2, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 9/12]MCA handler support for Xen/ia64 TAKE 2, SUZUKI Kazuhiro
- [Xen-ia64-devel] [PATCH 12/12]MCA handler support for Xen/ia64 TAKE 2, SUZUKI Kazuhiro
|
|
|
|
|