ia64/xen-unstable

diff xen/include/asm-ia64/xenprocessor.h @ 9756:14a34d811e81

[IA64] introduce P2M conversion

introduce P2M conversion functions necessary for dom0vp model.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@ldap.hp.com
date Tue Apr 25 13:06:57 2006 -0600 (2006-04-25)
parents e45666b8b05f
children 59e05ddfd0ad
line diff
     1.1 --- a/xen/include/asm-ia64/xenprocessor.h	Tue Apr 25 10:54:45 2006 -0700
     1.2 +++ b/xen/include/asm-ia64/xenprocessor.h	Tue Apr 25 13:06:57 2006 -0600
     1.3 @@ -221,4 +221,20 @@ typedef union {
     1.4  
     1.5  DECLARE_PER_CPU(cpu_kr_ia64_t, cpu_kr);
     1.6  
     1.7 +typedef union {
     1.8 +    struct {
     1.9 +        u64 rv3  :  2; // 0-1
    1.10 +        u64 ps   :  6; // 2-7
    1.11 +        u64 key  : 24; // 8-31
    1.12 +        u64 rv4  : 32; // 32-63
    1.13 +    };
    1.14 +    struct {
    1.15 +        u64 __rv3  : 32; // 0-31
    1.16 +        // next extension to rv4
    1.17 +        u64 rid  : 24;  // 32-55
    1.18 +        u64 __rv4  : 8; // 56-63
    1.19 +    };
    1.20 +    u64 itir;
    1.21 +} ia64_itir_t;
    1.22 +
    1.23  #endif // _ASM_IA64_XENPROCESSOR_H