aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/shutdown.h
blob: 2bee74889f51f574fa2402ac9ee64aaf9c96d506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __XEN_SHUTDOWN_H__
#define __XEN_SHUTDOWN_H__

/* opt_noreboot: If true, machine will need manual reset on error. */
extern bool_t opt_noreboot;

void dom0_shutdown(u8 reason);

void machine_restart(unsigned int delay_millisecs);
void machine_halt(void);
void machine_power_off(void);

#endif /* __XEN_SHUTDOWN_H__ */