ia64/xen-unstable

view xen/include/asm-ia64/tlb.h @ 5704:9b73afea874e

Certain types of event channel are now auto-bound to vcpu0 by Xen.
Make sure that xenolinux agrees with this.
author sos22@douglas.cl.cam.ac.uk
date Fri Jul 08 15:35:43 2005 +0000 (2005-07-08)
parents 649cd37aa1ab
children 1ec2225aa8c6 8799d14bef77 9312a3e8a6f8 dfaf788ab18c
line source
1 #ifndef XEN_ASM_IA64_TLB_H
2 #define XEN_ASM_IA64_TLB_H
4 #define NITRS 8
5 #define NDTRS 8
7 typedef struct {
8 union {
9 struct {
10 unsigned long p : 1; // 0
11 unsigned long : 1; // 1
12 unsigned long ma : 3; // 2-4
13 unsigned long a : 1; // 5
14 unsigned long d : 1; // 6
15 unsigned long pl : 2; // 7-8
16 unsigned long ar : 3; // 9-11
17 unsigned long ppn : 38; // 12-49
18 unsigned long : 2; // 50-51
19 unsigned long ed : 1; // 52
20 };
21 unsigned long page_flags;
22 };
24 union {
25 struct {
26 unsigned long : 2; // 0-1
27 unsigned long ps : 6; // 2-7
28 unsigned long key : 24; // 8-31
29 unsigned long : 32; // 32-63
30 };
31 unsigned long itir;
32 };
34 unsigned long vadr;
35 unsigned long rid;
36 } TR_ENTRY;
38 #ifdef CONFIG_VTI
39 typedef union {
40 unsigned long value;
41 struct {
42 unsigned long ve : 1;
43 unsigned long rv1 : 1;
44 unsigned long ps : 6;
45 unsigned long rid : 24;
46 unsigned long rv2 : 32;
47 };
48 } rr_t;
49 #endif // CONFIG_VTI
51 #endif