~ubuntu-branches/ubuntu/lucid/linux-rt/lucid

« back to all changes in this revision

Viewing changes to arch/ia64/include/asm/xen/privop.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-08-05 23:00:52 UTC
  • Revision ID: james.westby@ubuntu.com-20090805230052-7xedvqcyk9dnnxb2
Tags: 2.6.31-1.1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
#define XSI_BANK1_R16                   (XSI_BASE + XSI_BANK1_R16_OFS)
56
56
#define XSI_BANKNUM                     (XSI_BASE + XSI_BANKNUM_OFS)
57
57
#define XSI_IHA                         (XSI_BASE + XSI_IHA_OFS)
 
58
#define XSI_ITC_OFFSET                  (XSI_BASE + XSI_ITC_OFFSET_OFS)
 
59
#define XSI_ITC_LAST                    (XSI_BASE + XSI_ITC_LAST_OFS)
58
60
#endif
59
61
 
60
62
#ifndef __ASSEMBLY__
67
69
 *  may have different semantics depending on whether they are executed
68
70
 *  at PL0 vs PL!=0.  When paravirtualized, these instructions mustn't
69
71
 *  be allowed to execute directly, lest incorrect semantics result. */
70
 
extern void xen_fc(unsigned long addr);
 
72
extern void xen_fc(void *addr);
71
73
extern unsigned long xen_thash(unsigned long addr);
72
74
 
73
75
/* Note that "ttag" and "cover" are also privilege-sensitive; "ttag"
80
82
extern unsigned long xen_get_cpuid(int index);
81
83
extern unsigned long xen_get_pmd(int index);
82
84
 
 
85
#ifndef ASM_SUPPORTED
83
86
extern unsigned long xen_get_eflag(void);       /* see xen_ia64_getreg */
84
87
extern void xen_set_eflag(unsigned long);       /* see xen_ia64_setreg */
 
88
#endif
85
89
 
86
90
/************************************************/
87
91
/* Instructions paravirtualized for performance */
106
110
#define xen_get_virtual_pend()          \
107
111
        (*(((uint8_t *)XEN_MAPPEDREGS->interrupt_mask_addr) - 1))
108
112
 
 
113
#ifndef ASM_SUPPORTED
109
114
/* Although all privileged operations can be left to trap and will
110
115
 * be properly handled by Xen, some are frequent enough that we use
111
116
 * hyperprivops for performance. */
123
128
                               unsigned long val4);
124
129
extern void xen_set_kr(unsigned long index, unsigned long val);
125
130
extern void xen_ptcga(unsigned long addr, unsigned long size);
 
131
#endif /* !ASM_SUPPORTED */
126
132
 
127
133
#endif /* !__ASSEMBLY__ */
128
134