Revision 1ad2134f sysemu.h

b/sysemu.h
38 38
int qemu_shutdown_requested(void);
39 39
int qemu_reset_requested(void);
40 40
int qemu_powerdown_requested(void);
41
#ifdef NEED_CPU_H
41 42
#if !defined(TARGET_SPARC) && !defined(TARGET_I386)
42 43
// Please implement a power failure function to signal the OS
43 44
#define qemu_system_powerdown() do{}while(0)
44 45
#else
45 46
void qemu_system_powerdown(void);
46 47
#endif
48
#endif
47 49
void qemu_system_reset(void);
48 50

  
49 51
void do_savevm(Monitor *mon, const char *name);
......
117 119
extern const char *option_rom[MAX_OPTION_ROMS];
118 120
extern int nb_option_roms;
119 121

  
122
#ifdef NEED_CPU_H
120 123
#if defined(TARGET_SPARC) || defined(TARGET_PPC)
121 124
#define MAX_PROM_ENVS 128
122 125
extern const char *prom_envs[MAX_PROM_ENVS];
123 126
extern unsigned int nb_prom_envs;
124 127
#endif
128
#endif
125 129

  
126 130
typedef enum {
127 131
    IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD, IF_VIRTIO, IF_XEN,

Also available in: Unified diff