Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
enlighten.c File Reference
#include <xen/xen.h>
#include <xen/events.h>
#include <xen/grant_table.h>
#include <xen/hvm.h>
#include <xen/interface/xen.h>
#include <xen/interface/memory.h>
#include <xen/interface/hvm/params.h>
#include <xen/features.h>
#include <xen/platform_pci.h>
#include <xen/xenbus.h>
#include <asm/xen/hypervisor.h>
#include <asm/xen/hypercall.h>
#include <linux/interrupt.h>
#include <linux/irqreturn.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux/of_address.h>

Go to the source code of this file.

Macros

#define GRANT_TABLE_PHYSADDR   0
 

Functions

 EXPORT_SYMBOL_GPL (xen_start_info)
 
 EXPORT_SYMBOL_GPL (xen_domain_type)
 
 DEFINE_PER_CPU (struct vcpu_info *, xen_vcpu)
 
 EXPORT_SYMBOL_GPL (xen_have_vector_callback)
 
 EXPORT_SYMBOL_GPL (xen_platform_pci_unplug)
 
int xen_remap_domain_mfn_range (struct vm_area_struct *vma, unsigned long addr, unsigned long mfn, int nr, pgprot_t prot, unsigned domid)
 
 EXPORT_SYMBOL_GPL (xen_remap_domain_mfn_range)
 
 core_initcall (xen_guest_init)
 
 postcore_initcall (xen_init_events)
 
int alloc_xenballooned_pages (int nr_pages, struct page **pages, bool highmem)
 
 EXPORT_SYMBOL_GPL (alloc_xenballooned_pages)
 
void free_xenballooned_pages (int nr_pages, struct page **pages)
 
 EXPORT_SYMBOL_GPL (free_xenballooned_pages)
 
 EXPORT_SYMBOL_GPL (HYPERVISOR_event_channel_op)
 
 EXPORT_SYMBOL_GPL (HYPERVISOR_grant_table_op)
 
 EXPORT_SYMBOL_GPL (HYPERVISOR_xen_version)
 
 EXPORT_SYMBOL_GPL (HYPERVISOR_console_io)
 
 EXPORT_SYMBOL_GPL (HYPERVISOR_sched_op)
 
 EXPORT_SYMBOL_GPL (HYPERVISOR_hvm_op)
 
 EXPORT_SYMBOL_GPL (HYPERVISOR_memory_op)
 
 EXPORT_SYMBOL_GPL (HYPERVISOR_physdev_op)
 
 EXPORT_SYMBOL_GPL (privcmd_call)
 

Variables

struct start_info _xen_start_info
 
struct start_infoxen_start_info = &_xen_start_info
 
enum xen_domain_type xen_domain_type = XEN_NATIVE
 
struct shared_info xen_dummy_shared_info
 
struct shared_infoHYPERVISOR_shared_info = (void *)&xen_dummy_shared_info
 
__read_mostly int xen_have_vector_callback
 
int xen_platform_pci_unplug = XEN_UNPLUG_ALL
 

Macro Definition Documentation

#define GRANT_TABLE_PHYSADDR   0

Definition at line 54 of file enlighten.c.

Function Documentation

int alloc_xenballooned_pages ( int  nr_pages,
struct page **  pages,
bool  highmem 
)

Definition at line 153 of file enlighten.c.

core_initcall ( xen_guest_init  )
DEFINE_PER_CPU ( struct vcpu_info ,
xen_vcpu   
)
EXPORT_SYMBOL_GPL ( xen_start_info  )
EXPORT_SYMBOL_GPL ( xen_domain_type  )
EXPORT_SYMBOL_GPL ( xen_have_vector_callback  )
EXPORT_SYMBOL_GPL ( xen_platform_pci_unplug  )
EXPORT_SYMBOL_GPL ( xen_remap_domain_mfn_range  )
EXPORT_SYMBOL_GPL ( alloc_xenballooned_pages  )
EXPORT_SYMBOL_GPL ( free_xenballooned_pages  )
EXPORT_SYMBOL_GPL ( HYPERVISOR_event_channel_op  )
EXPORT_SYMBOL_GPL ( HYPERVISOR_grant_table_op  )
EXPORT_SYMBOL_GPL ( HYPERVISOR_xen_version  )
EXPORT_SYMBOL_GPL ( HYPERVISOR_console_io  )
EXPORT_SYMBOL_GPL ( HYPERVISOR_sched_op  )
EXPORT_SYMBOL_GPL ( HYPERVISOR_hvm_op  )
EXPORT_SYMBOL_GPL ( HYPERVISOR_memory_op  )
EXPORT_SYMBOL_GPL ( HYPERVISOR_physdev_op  )
EXPORT_SYMBOL_GPL ( privcmd_call  )
void free_xenballooned_pages ( int  nr_pages,
struct page **  pages 
)

Definition at line 163 of file enlighten.c.

postcore_initcall ( xen_init_events  )
int xen_remap_domain_mfn_range ( struct vm_area_struct vma,
unsigned long  addr,
unsigned long  mfn,
int  nr,
pgprot_t  prot,
unsigned  domid 
)

Definition at line 41 of file enlighten.c.

Variable Documentation

struct start_info _xen_start_info

Definition at line 20 of file enlighten.c.

struct shared_info* HYPERVISOR_shared_info = (void *)&xen_dummy_shared_info

Definition at line 28 of file enlighten.c.

Definition at line 24 of file enlighten.c.

struct shared_info xen_dummy_shared_info

Definition at line 27 of file enlighten.c.

__read_mostly int xen_have_vector_callback

Definition at line 33 of file enlighten.c.

int xen_platform_pci_unplug = XEN_UNPLUG_ALL

Definition at line 36 of file enlighten.c.

struct start_info* xen_start_info = &_xen_start_info

Definition at line 21 of file enlighten.c.