ia64/xen-unstable

view xen/include/asm-ia64/xenkregs.h @ 6457:d34925e4144b

Stil more cleanup and moving to 2.6.13 base
author djm@kirby.fc.hp.com
date Thu Sep 01 11:09:27 2005 -0600 (2005-09-01)
parents
children 7f9acc83ffcd 06d84bf87159
line source
1 #ifndef _ASM_IA64_XENKREGS_H
2 #define _ASM_IA64_XENKREGS_H
4 /*
5 * Translation registers:
6 */
7 #define IA64_TR_SHARED_INFO 3 /* dtr3: page shared with domain */
8 #define IA64_TR_VHPT 4 /* dtr4: vhpt */
9 #define IA64_TR_ARCH_INFO 5
11 #ifdef CONFIG_VTI
12 #define IA64_TR_VHPT_IN_DOM 5 /* dtr5: Double mapping for vhpt table in domain space */
13 #define IA64_TR_XEN_IN_DOM 6 /* itr6, dtr6: Double mapping for xen image in domain space */
14 #define IA64_TR_RR7_SWITCH_STUB 7 /* dtr7: mapping for rr7 switch stub */
15 #define IA64_TEMP_PHYSICAL 8 /* itr8, dtr8: temp mapping for guest physical memory 256M */
16 #endif // CONFIG_VTI
18 /* Processor status register bits: */
19 #define IA64_PSR_VM_BIT 46
20 #define IA64_PSR_VM (__IA64_UL(1) << IA64_PSR_VM_BIT)
22 /* Interruption Function State */
23 #define IA64_IFS_V_BIT 63
24 #define IA64_IFS_V (__IA64_UL(1) << IA64_IFS_V_BIT)
26 /* Page Table Address */
27 #define IA64_PTA_VE_BIT 0
28 #define IA64_PTA_SIZE_BIT 2
29 #define IA64_PTA_VF_BIT 8
30 #define IA64_PTA_BASE_BIT 15
32 #define IA64_PTA_VE (__IA64_UL(1) << IA64_PTA_VE_BIT)
33 #define IA64_PTA_SIZE (__IA64_UL(0x3f) << IA64_PTA_SIZE_BIT)
34 #define IA64_PTA_VF (__IA64_UL(1) << IA64_PTA_VF_BIT)
35 #define IA64_PTA_BASE (__IA64_UL(0) - ((__IA64_UL(1) << IA64_PTA_BASE_BIT)))
37 #endif /* _ASM_IA64_XENKREGS_H */