mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-24 15:55:38 +00:00
30 lines
583 B
C
30 lines
583 B
C
|
#ifndef SYSEMU_H
|
||
|
#define SYSEMU_H
|
||
|
/* Misc. things related to the system emulator. */
|
||
|
|
||
|
#include "qemu/main-loop.h"
|
||
|
|
||
|
#include "qemu/timer.h"
|
||
|
#include "qapi/error.h"
|
||
|
|
||
|
/* vl.c */
|
||
|
|
||
|
struct uc_struct;
|
||
|
|
||
|
int runstate_is_running(void);
|
||
|
typedef struct vm_change_state_entry VMChangeStateEntry;
|
||
|
|
||
|
#define VMRESET_SILENT false
|
||
|
#define VMRESET_REPORT true
|
||
|
|
||
|
void vm_start(struct uc_struct*);
|
||
|
|
||
|
void qemu_system_reset_request(struct uc_struct*);
|
||
|
void qemu_system_shutdown_request(void);
|
||
|
void qemu_system_powerdown_request(void);
|
||
|
void qemu_system_reset(bool report);
|
||
|
|
||
|
extern int smp_cpus;
|
||
|
|
||
|
#endif
|