Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
platform_pci.h File Reference

Go to the source code of this file.

Macros

#define XEN_IOPORT_MAGIC_VAL   0x49d2
 
#define XEN_IOPORT_LINUX_PRODNUM   0x0003
 
#define XEN_IOPORT_LINUX_DRVVER   0x0001
 
#define XEN_IOPORT_BASE   0x10
 
#define XEN_IOPORT_PLATFLAGS   (XEN_IOPORT_BASE + 0) /* 1 byte access (R/W) */
 
#define XEN_IOPORT_MAGIC   (XEN_IOPORT_BASE + 0) /* 2 byte access (R) */
 
#define XEN_IOPORT_UNPLUG   (XEN_IOPORT_BASE + 0) /* 2 byte access (W) */
 
#define XEN_IOPORT_DRVVER   (XEN_IOPORT_BASE + 0) /* 4 byte access (W) */
 
#define XEN_IOPORT_SYSLOG   (XEN_IOPORT_BASE + 2) /* 1 byte access (W) */
 
#define XEN_IOPORT_PROTOVER   (XEN_IOPORT_BASE + 2) /* 1 byte access (R) */
 
#define XEN_IOPORT_PRODNUM   (XEN_IOPORT_BASE + 2) /* 2 byte access (W) */
 
#define XEN_UNPLUG_ALL_IDE_DISKS   (1<<0)
 
#define XEN_UNPLUG_ALL_NICS   (1<<1)
 
#define XEN_UNPLUG_AUX_IDE_DISKS   (1<<2)
 
#define XEN_UNPLUG_ALL
 
#define XEN_UNPLUG_UNNECESSARY   (1<<16)
 
#define XEN_UNPLUG_NEVER   (1<<17)
 

Variables

int xen_platform_pci_unplug
 

Macro Definition Documentation

#define XEN_IOPORT_BASE   0x10

Definition at line 8 of file platform_pci.h.

#define XEN_IOPORT_DRVVER   (XEN_IOPORT_BASE + 0) /* 4 byte access (W) */

Definition at line 13 of file platform_pci.h.

#define XEN_IOPORT_LINUX_DRVVER   0x0001

Definition at line 6 of file platform_pci.h.

#define XEN_IOPORT_LINUX_PRODNUM   0x0003

Definition at line 5 of file platform_pci.h.

#define XEN_IOPORT_MAGIC   (XEN_IOPORT_BASE + 0) /* 2 byte access (R) */

Definition at line 11 of file platform_pci.h.

#define XEN_IOPORT_MAGIC_VAL   0x49d2

Definition at line 4 of file platform_pci.h.

#define XEN_IOPORT_PLATFLAGS   (XEN_IOPORT_BASE + 0) /* 1 byte access (R/W) */

Definition at line 10 of file platform_pci.h.

#define XEN_IOPORT_PRODNUM   (XEN_IOPORT_BASE + 2) /* 2 byte access (W) */

Definition at line 17 of file platform_pci.h.

#define XEN_IOPORT_PROTOVER   (XEN_IOPORT_BASE + 2) /* 1 byte access (R) */

Definition at line 16 of file platform_pci.h.

#define XEN_IOPORT_SYSLOG   (XEN_IOPORT_BASE + 2) /* 1 byte access (W) */

Definition at line 15 of file platform_pci.h.

#define XEN_IOPORT_UNPLUG   (XEN_IOPORT_BASE + 0) /* 2 byte access (W) */

Definition at line 12 of file platform_pci.h.

#define XEN_UNPLUG_ALL
Value:
XEN_UNPLUG_ALL_NICS|\
XEN_UNPLUG_AUX_IDE_DISKS)

Definition at line 22 of file platform_pci.h.

#define XEN_UNPLUG_ALL_IDE_DISKS   (1<<0)

Definition at line 19 of file platform_pci.h.

#define XEN_UNPLUG_ALL_NICS   (1<<1)

Definition at line 20 of file platform_pci.h.

#define XEN_UNPLUG_AUX_IDE_DISKS   (1<<2)

Definition at line 21 of file platform_pci.h.

#define XEN_UNPLUG_NEVER   (1<<17)

Definition at line 27 of file platform_pci.h.

#define XEN_UNPLUG_UNNECESSARY   (1<<16)

Definition at line 26 of file platform_pci.h.

Variable Documentation

int xen_platform_pci_unplug

Definition at line 36 of file enlighten.c.