Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
manage.c File Reference
#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/reboot.h>
#include <linux/sysrq.h>
#include <linux/stop_machine.h>
#include <linux/freezer.h>
#include <linux/syscore_ops.h>
#include <linux/export.h>
#include <xen/xen.h>
#include <xen/xenbus.h>
#include <xen/grant_table.h>
#include <xen/events.h>
#include <xen/hvc-console.h>
#include <xen/xen-ops.h>
#include <asm/xen/hypercall.h>
#include <asm/xen/page.h>
#include <asm/xen/hypervisor.h>

Go to the source code of this file.

Data Structures

struct  suspend_info
 
struct  shutdown_handler
 

Enumerations

enum  shutdown_state { SHUTDOWN_INVALID = -1, SHUTDOWN_POWEROFF = 0, SHUTDOWN_SUSPEND = 2, SHUTDOWN_HALT = 4 }
 

Functions

int xen_setup_shutdown_event (void)
 
 EXPORT_SYMBOL_GPL (xen_setup_shutdown_event)
 
 subsys_initcall (xen_setup_shutdown_event)
 

Enumeration Type Documentation

Enumerator:
SHUTDOWN_INVALID 
SHUTDOWN_POWEROFF 
SHUTDOWN_SUSPEND 
SHUTDOWN_HALT 

Definition at line 25 of file manage.c.

Function Documentation

EXPORT_SYMBOL_GPL ( xen_setup_shutdown_event  )
subsys_initcall ( xen_setup_shutdown_event  )
int xen_setup_shutdown_event ( void  )

Definition at line 325 of file manage.c.