Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <asm/xen/interface.h>
Go to the source code of this file.
Macros | |
#define | XSI_BASE 0xfffffffffff00000 |
#define | XMAPPEDREGS_BASE (XSI_BASE + XSI_SIZE) |
#define | XEN_MAPPEDREGS ((struct mapped_regs *)XMAPPEDREGS_BASE) |
#define | XSI_PSR_I (*XEN_MAPPEDREGS->interrupt_mask_addr) |
#define | xen_get_virtual_psr_i() (!XSI_PSR_I) |
#define | xen_set_virtual_psr_i(_val) ({ XSI_PSR_I = (uint8_t)(_val) ? 0 : 1; }) |
#define | xen_set_virtual_psr_ic(_val) ({ XEN_MAPPEDREGS->interrupt_collection_enabled = _val ? 1 : 0; }) |
#define | xen_get_virtual_pend() (*(((uint8_t *)XEN_MAPPEDREGS->interrupt_mask_addr) - 1)) |
Functions | |
void | xen_fc (void *addr) |
unsigned long | xen_thash (unsigned long addr) |
unsigned long | xen_get_cpuid (int index) |
unsigned long | xen_get_pmd (int index) |
unsigned long | xen_get_eflag (void) |
void | xen_set_eflag (unsigned long) |
unsigned long | xen_get_psr (void) |
unsigned long | xen_get_ivr (void) |
unsigned long | xen_get_tpr (void) |
void | xen_hyper_ssm_i (void) |
void | xen_set_itm (unsigned long) |
void | xen_set_tpr (unsigned long) |
void | xen_eoi (unsigned long) |
unsigned long | xen_get_rr (unsigned long index) |
void | xen_set_rr (unsigned long index, unsigned long val) |
void | xen_set_rr0_to_rr4 (unsigned long val0, unsigned long val1, unsigned long val2, unsigned long val3, unsigned long val4) |
void | xen_set_kr (unsigned long index, unsigned long val) |
void | xen_ptcga (unsigned long addr, unsigned long size) |
#define xen_get_virtual_pend | ( | ) | (*(((uint8_t *)XEN_MAPPEDREGS->interrupt_mask_addr) - 1)) |
#define XEN_MAPPEDREGS ((struct mapped_regs *)XMAPPEDREGS_BASE) |
#define xen_set_virtual_psr_ic | ( | _val | ) | ({ XEN_MAPPEDREGS->interrupt_collection_enabled = _val ? 1 : 0; }) |
#define XSI_PSR_I (*XEN_MAPPEDREGS->interrupt_mask_addr) |
void xen_eoi | ( | unsigned | long | ) |
void xen_set_eflag | ( | unsigned | long | ) |
void xen_set_itm | ( | unsigned | long | ) |
void xen_set_rr0_to_rr4 | ( | unsigned long | val0, |
unsigned long | val1, | ||
unsigned long | val2, | ||
unsigned long | val3, | ||
unsigned long | val4 | ||
) |
void xen_set_tpr | ( | unsigned | long | ) |