debuggers.hg

view xen/include/asm-ia64/tlb.h @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children
line source
1 #ifndef XEN_ASM_IA64_TLB_H
2 #define XEN_ASM_IA64_TLB_H
4 #define NITRS 12
5 #define NDTRS 12
7 union pte_flags {
8 struct {
9 unsigned long p : 1; // 0
10 unsigned long : 1; // 1
11 unsigned long ma : 3; // 2-4
12 unsigned long a : 1; // 5
13 unsigned long d : 1; // 6
14 unsigned long pl : 2; // 7-8
15 unsigned long ar : 3; // 9-11
16 unsigned long ppn : 38; // 12-49
17 unsigned long : 2; // 50-51
18 unsigned long ed : 1; // 52
19 };
20 unsigned long val;
21 };
23 typedef struct {
24 volatile union pte_flags pte;
25 union {
26 struct {
27 unsigned long : 2; // 0-1
28 unsigned long ps : 6; // 2-7
29 unsigned long key : 24; // 8-31
30 unsigned long : 32; // 32-63
31 };
32 unsigned long itir;
33 };
35 unsigned long vadr;
36 unsigned long rid;
37 } TR_ENTRY;
39 #endif